// File: /workspace/github_cpp_makefile_star2_O3/prakhar2808[P]DBEngine/dbengine/sstableWrapper.cc
// Function: sstableWrapper::sstableWrapper()
sstableWrapper::sstableWrapper() {
  int i = 0;
  while(true) {
    if(!SSTableExists("SSTablesDir/" + std::to_string(i) + ".txt")) {
      break;
    }
    sstable* sstableObjRef = new sstable(
        "SSTablesDir/" + std::to_string(i) + ".txt",
        "bloomFiltersDir/" + std::to_string(i) + ".txt",
        "SSTablesDir/" + std::to_string(i) + ".txt.index");
    sstableObjRefList.push_back(sstableObjRef);
    ++i;
  }
  sstable_no = (int*)malloc(sizeof(int));
  *sstable_no = i;
  std::cout << "Loaded " << i << " SSTables from the disk!" << std::endl;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1c8, %rsp            # imm = 0x1C8
leaq 0x8(%rdi), %rax
movq %rax, 0x10(%rdi)
movq %rax, (%rsp)
movq %rax, 0x8(%rdi)
movq %rdi, 0x50(%rsp)
movq $0x0, 0x18(%rdi)
leaq 0x40(%rsp), %rdx
leaq 0xe8(%rsp), %r12
xorl %r14d, %r14d
leaq 0x30(%rsp), %r13
movl $0xd1b71759, %r15d      # imm = 0xD1B71759
movl $0x1, %ebp
cmpl $0xa, %r14d
jb 0x18bc9
movl $0x4, %ebp
movl %r14d, %eax
cmpl $0x63, %eax
jbe 0x18bc2
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x18bc7
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x18bc9
movl %eax, %ecx
imulq %r15, %rcx
shrq $0x2d, %rcx
addl $0x4, %ebp
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x18b94
addl $-0x3, %ebp
jmp 0x18bc9
addl $-0x2, %ebp
jmp 0x18bc9
decl %ebp
movl %ebp, %esi
movq %rdx, %rbx
movq %rdx, 0x30(%rsp)
movq %r13, %rdi
movl $0x2d, %edx
callq 0x5450
movq 0x30(%rsp), %rdi
movl %ebp, %esi
movl %r14d, %edx
callq 0x160d0
movl $0xc, %r8d
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x391e(%rip), %rcx      # 0x1c521
callq 0x5400
leaq 0x20(%rsp), %r13
movq %r13, 0x10(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
leaq 0x128(%rsp), %rbp
leaq 0x10(%rsp), %rdi
je 0x18c3d
movq %rdx, 0x10(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x20(%rsp)
jmp 0x18c45
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, 0x18(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x355a(%rip), %rsi      # 0x1c1be
callq 0x56f0
movq %rbp, 0x118(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x18c95
movq %rdx, 0x118(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x128(%rsp)
jmp 0x18c9c
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq %rbp, %r13
movq 0x8(%rax), %rdx
movq %rdx, 0x120(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x118(%rsp), %rdi
leaq 0x138(%rsp), %rsi
callq 0x5340
movl %eax, %ebp
movq 0x118(%rsp), %rdi
cmpq %r13, %rdi
je 0x18cee
movq 0x128(%rsp), %rsi
incq %rsi
callq 0x5390
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x18d0a
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x5390
movq 0x30(%rsp), %rdi
cmpq %rbx, %rdi
je 0x18d21
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x5390
cmpl $-0x1, %ebp
je 0x1927c
movl $0x468, %edi            # imm = 0x468
callq 0x5380
movl $0x1, %ebp
cmpl $0xa, %r14d
jb 0x18d7f
movl $0x4, %ebp
movl %r14d, %edx
cmpl $0x63, %edx
jbe 0x18d78
cmpl $0x3e7, %edx            # imm = 0x3E7
jbe 0x18d7d
cmpl $0x2710, %edx           # imm = 0x2710
jb 0x18d7f
movl %edx, %ecx
imulq %r15, %rcx
shrq $0x2d, %rcx
addl $0x4, %ebp
cmpl $0x1869f, %edx          # imm = 0x1869F
movl %ecx, %edx
ja 0x18d47
addl $-0x3, %ebp
jmp 0x18d7f
addl $-0x2, %ebp
jmp 0x18d7f
decl %ebp
movq %rax, 0x8(%rsp)
movl %ebp, %esi
leaq 0x20(%rsp), %rax
movq %rax, 0x10(%rsp)
leaq 0x10(%rsp), %r13
movq %r13, %rdi
movl $0x2d, %edx
callq 0x5450
movq 0x10(%rsp), %rdi
movl %ebp, %esi
movl %r14d, %edx
callq 0x160d0
movl $0xc, %r8d
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x375c(%rip), %rcx      # 0x1c521
callq 0x5400
leaq 0x148(%rsp), %rbp
movq %rbp, 0x138(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x18dfe
movq %rdx, 0x138(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x148(%rsp)
jmp 0x18e05
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
movq %rdx, 0x140(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x138(%rsp), %rdi
leaq 0x338f(%rip), %rsi      # 0x1c1be
callq 0x56f0
leaq 0xa8(%rsp), %rsi
movq %rsi, 0x98(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x18e68
movq %rdx, 0x98(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xa8(%rsp)
jmp 0x18e6e
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0xa0(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movl $0x1, %ebp
cmpl $0xa, %r14d
leaq 0xf8(%rsp), %rdi
jb 0x18ed9
movl $0x4, %ebp
movl %r14d, %eax
cmpl $0x63, %eax
jbe 0x18ed2
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x18ed7
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x18ed9
movl %eax, %ecx
imulq %r15, %rcx
shrq $0x2d, %rcx
addl $0x4, %ebp
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x18ea4
addl $-0x3, %ebp
jmp 0x18ed9
addl $-0x2, %ebp
jmp 0x18ed9
decl %ebp
movl %ebp, %esi
leaq 0x108(%rsp), %rax
movq %rax, 0xf8(%rsp)
movq %rdi, %r13
movl $0x2d, %edx
callq 0x5450
movq 0xf8(%rsp), %rdi
movl %ebp, %esi
movl %r14d, %edx
callq 0x160d0
movl $0x10, %r8d
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x3610(%rip), %rcx      # 0x1c52e
callq 0x5400
movq %rbx, 0x30(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
leaq 0x88(%rsp), %rbp
je 0x18f4e
movq %rdx, 0x30(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x40(%rsp)
jmp 0x18f54
movups (%rcx), %xmm0
movups %xmm0, (%rbx)
movq 0x8(%rax), %rdx
movq %rdx, 0x38(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x30(%rsp), %rdi
leaq 0x3246(%rip), %rsi      # 0x1c1be
callq 0x56f0
movq %rbp, 0x78(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x18fa3
movq %rdx, 0x78(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x88(%rsp)
jmp 0x18faa
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
movq %rdx, 0x80(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movl $0x1, %ebp
cmpl $0xa, %r14d
leaq 0xb8(%rsp), %rdi
jb 0x19015
movl $0x4, %ebp
movl %r14d, %eax
cmpl $0x63, %eax
jbe 0x1900e
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x19013
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x19015
movl %eax, %ecx
imulq %r15, %rcx
shrq $0x2d, %rcx
addl $0x4, %ebp
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x18fe0
addl $-0x3, %ebp
jmp 0x19015
addl $-0x2, %ebp
jmp 0x19015
decl %ebp
movl %ebp, %esi
leaq 0xc8(%rsp), %rax
movq %rax, 0xb8(%rsp)
movq %rdi, %r13
movl $0x2d, %edx
callq 0x5450
movq 0xb8(%rsp), %rdi
movl %ebp, %esi
movl %r14d, %edx
callq 0x160d0
movl $0xc, %r8d
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x34c7(%rip), %rcx      # 0x1c521
callq 0x5400
movq %r12, 0xd8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
leaq 0x20(%rsp), %rbp
movq 0x8(%rsp), %r13
je 0x19095
movq %rdx, 0xd8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xe8(%rsp)
jmp 0x1909d
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, 0xe0(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xd8(%rsp), %rdi
leaq 0x3478(%rip), %rsi      # 0x1c53f
callq 0x56f0
leaq 0x68(%rsp), %rsi
movq %rsi, 0x58(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x190f4
movq %rdx, 0x58(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x68(%rsp)
jmp 0x190fa
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x60(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %r13, %rdi
leaq 0x98(%rsp), %rsi
leaq 0x78(%rsp), %rdx
leaq 0x58(%rsp), %rcx
callq 0x175c8
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x19148
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x5390
movq 0xd8(%rsp), %rdi
cmpq %r12, %rdi
je 0x19165
movq 0xe8(%rsp), %rsi
incq %rsi
callq 0x5390
movq 0xb8(%rsp), %rdi
leaq 0xc8(%rsp), %rax
cmpq %rax, %rdi
je 0x1918a
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x5390
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x191ac
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x5390
movq 0x30(%rsp), %rdi
cmpq %rbx, %rdi
je 0x191c3
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x5390
movq 0xf8(%rsp), %rdi
leaq 0x108(%rsp), %rax
cmpq %rax, %rdi
je 0x191e8
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x5390
movq 0x98(%rsp), %rdi
leaq 0xa8(%rsp), %rax
cmpq %rax, %rdi
je 0x1920d
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x5390
movq 0x138(%rsp), %rdi
leaq 0x148(%rsp), %rax
cmpq %rax, %rdi
je 0x19232
movq 0x148(%rsp), %rsi
incq %rsi
callq 0x5390
movq 0x10(%rsp), %rdi
cmpq %rbp, %rdi
je 0x19249
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x5390
movl $0x18, %edi
callq 0x5380
movq %r13, 0x10(%rax)
movq %rax, %rdi
movq (%rsp), %rsi
callq 0x5080
movq 0x50(%rsp), %rax
incq 0x18(%rax)
incl %r14d
movq %rbx, %rdx
leaq 0x30(%rsp), %r13
jmp 0x18b81
movl $0x4, %edi
callq 0x54d0
movq 0x50(%rsp), %rcx
movq %rax, (%rcx)
movl %r14d, (%rax)
movq 0xcd28(%rip), %rdi      # 0x25fc0
leaq 0x32ab(%rip), %rsi      # 0x1c54a
movl $0x7, %edx
callq 0x5430
movq 0xcd10(%rip), %rdi      # 0x25fc0
movl %r14d, %esi
callq 0x5650
movq %rax, %r14
leaq 0x3290(%rip), %rsi      # 0x1c552
movl $0x18, %edx
movq %rax, %rdi
callq 0x5430
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x5370
movsbl %al, %esi
movq %r14, %rdi
callq 0x5050
movq %rax, %rdi
callq 0x5280
addq $0x1c8, %rsp            # imm = 0x1C8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x19511
movq %rax, %r14
leaq 0x20(%rsp), %r15
movq (%rsp), %r12
movq 0x8(%rsp), %r13
jmp 0x19481
movq %rax, %r14
leaq 0x20(%rsp), %r15
leaq 0x148(%rsp), %rbp
movq (%rsp), %r12
movq 0x8(%rsp), %r13
jmp 0x1945c
movq %rax, %r14
leaq 0x20(%rsp), %r15
leaq 0x148(%rsp), %rbp
movq (%rsp), %r12
movq 0x8(%rsp), %r13
jmp 0x19437
movq %rax, %r14
jmp 0x1940a
movq %rax, %r14
jmp 0x193e8
movq %rax, %r14
jmp 0x193c3
movq %rax, %r14
jmp 0x193a6
movq %rax, %r14
movq (%rsp), %r12
movq 0x8(%rsp), %r13
jmp 0x194c8
movq %rax, %r14
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x193a6
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x5390
movq 0xd8(%rsp), %rdi
cmpq %r12, %rdi
je 0x193c3
movq 0xe8(%rsp), %rsi
incq %rsi
callq 0x5390
movq 0xb8(%rsp), %rdi
leaq 0xc8(%rsp), %rax
cmpq %rax, %rdi
je 0x193e8
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x5390
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x1940a
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x5390
leaq 0x20(%rsp), %r15
leaq 0x148(%rsp), %rbp
movq (%rsp), %r12
movq 0x8(%rsp), %r13
movq 0x30(%rsp), %rdi
cmpq %rbx, %rdi
je 0x19437
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x5390
movq 0xf8(%rsp), %rdi
leaq 0x108(%rsp), %rax
cmpq %rax, %rdi
je 0x1945c
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x5390
movq 0x98(%rsp), %rdi
leaq 0xa8(%rsp), %rax
cmpq %rax, %rdi
je 0x19481
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x5390
movq 0x138(%rsp), %rdi
cmpq %rbp, %rdi
je 0x194b1
movq 0x148(%rsp), %rsi
incq %rsi
callq 0x5390
jmp 0x194b1
movq %rax, %r14
leaq 0x20(%rsp), %r15
movq (%rsp), %r12
movq 0x8(%rsp), %r13
movq 0x10(%rsp), %rdi
cmpq %r15, %rdi
je 0x194c8
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x5390
movl $0x468, %esi            # imm = 0x468
movq %r13, %rdi
callq 0x5390
jmp 0x19518
jmp 0x19511
movq %rax, %r14
jmp 0x194f8
movq %rax, %r14
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x194f8
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x5390
movq 0x30(%rsp), %rdi
cmpq %rbx, %rdi
je 0x19514
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x5390
jmp 0x19514
movq %rax, %r14
movq (%rsp), %r12
movq (%r12), %rdi
cmpq %r12, %rdi
je 0x19536
movq (%rdi), %r15
movl $0x18, %esi
callq 0x5390
movq %r15, %rdi
cmpq %r12, %r15
jne 0x19521
movq %r14, %rdi
callq 0x5670