// File: /workspace/github_cpp_makefile_star2_O1/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 0x18b69
movl $0x4, %ebp
movl %r14d, %eax
cmpl $0x63, %eax
jbe 0x18b62
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x18b67
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x18b69
movl %eax, %ecx
imulq %r15, %rcx
shrq $0x2d, %rcx
addl $0x4, %ebp
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x18b34
addl $-0x3, %ebp
jmp 0x18b69
addl $-0x2, %ebp
jmp 0x18b69
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 0x1606c
movl $0xc, %r8d
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x397e(%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 0x18bdd
movq %rdx, 0x10(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x20(%rsp)
jmp 0x18be5
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 0x35ba(%rip), %rsi      # 0x1c1be
callq 0x56f0
movq %rbp, 0x118(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x18c35
movq %rdx, 0x118(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x128(%rsp)
jmp 0x18c3c
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 0x18c8e
movq 0x128(%rsp), %rsi
incq %rsi
callq 0x5390
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x18caa
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x5390
movq 0x30(%rsp), %rdi
cmpq %rbx, %rdi
je 0x18cc1
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x5390
cmpl $-0x1, %ebp
je 0x1921c
movl $0x468, %edi            # imm = 0x468
callq 0x5380
movl $0x1, %ebp
cmpl $0xa, %r14d
jb 0x18d1f
movl $0x4, %ebp
movl %r14d, %edx
cmpl $0x63, %edx
jbe 0x18d18
cmpl $0x3e7, %edx            # imm = 0x3E7
jbe 0x18d1d
cmpl $0x2710, %edx           # imm = 0x2710
jb 0x18d1f
movl %edx, %ecx
imulq %r15, %rcx
shrq $0x2d, %rcx
addl $0x4, %ebp
cmpl $0x1869f, %edx          # imm = 0x1869F
movl %ecx, %edx
ja 0x18ce7
addl $-0x3, %ebp
jmp 0x18d1f
addl $-0x2, %ebp
jmp 0x18d1f
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 0x1606c
movl $0xc, %r8d
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x37bc(%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 0x18d9e
movq %rdx, 0x138(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x148(%rsp)
jmp 0x18da5
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 0x33ef(%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 0x18e08
movq %rdx, 0x98(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xa8(%rsp)
jmp 0x18e0e
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 0x18e79
movl $0x4, %ebp
movl %r14d, %eax
cmpl $0x63, %eax
jbe 0x18e72
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x18e77
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x18e79
movl %eax, %ecx
imulq %r15, %rcx
shrq $0x2d, %rcx
addl $0x4, %ebp
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x18e44
addl $-0x3, %ebp
jmp 0x18e79
addl $-0x2, %ebp
jmp 0x18e79
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 0x1606c
movl $0x10, %r8d
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x3670(%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 0x18eee
movq %rdx, 0x30(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x40(%rsp)
jmp 0x18ef4
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 0x32a6(%rip), %rsi      # 0x1c1be
callq 0x56f0
movq %rbp, 0x78(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x18f43
movq %rdx, 0x78(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x88(%rsp)
jmp 0x18f4a
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 0x18fb5
movl $0x4, %ebp
movl %r14d, %eax
cmpl $0x63, %eax
jbe 0x18fae
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x18fb3
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x18fb5
movl %eax, %ecx
imulq %r15, %rcx
shrq $0x2d, %rcx
addl $0x4, %ebp
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x18f80
addl $-0x3, %ebp
jmp 0x18fb5
addl $-0x2, %ebp
jmp 0x18fb5
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 0x1606c
movl $0xc, %r8d
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x3527(%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 0x19035
movq %rdx, 0xd8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xe8(%rsp)
jmp 0x1903d
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 0x34d8(%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 0x19094
movq %rdx, 0x58(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x68(%rsp)
jmp 0x1909a
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 0x1757c
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x190e8
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x5390
movq 0xd8(%rsp), %rdi
cmpq %r12, %rdi
je 0x19105
movq 0xe8(%rsp), %rsi
incq %rsi
callq 0x5390
movq 0xb8(%rsp), %rdi
leaq 0xc8(%rsp), %rax
cmpq %rax, %rdi
je 0x1912a
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x5390
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x1914c
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x5390
movq 0x30(%rsp), %rdi
cmpq %rbx, %rdi
je 0x19163
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x5390
movq 0xf8(%rsp), %rdi
leaq 0x108(%rsp), %rax
cmpq %rax, %rdi
je 0x19188
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x5390
movq 0x98(%rsp), %rdi
leaq 0xa8(%rsp), %rax
cmpq %rax, %rdi
je 0x191ad
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x5390
movq 0x138(%rsp), %rdi
leaq 0x148(%rsp), %rax
cmpq %rax, %rdi
je 0x191d2
movq 0x148(%rsp), %rsi
incq %rsi
callq 0x5390
movq 0x10(%rsp), %rdi
cmpq %rbp, %rdi
je 0x191e9
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 0x18b21
movl $0x4, %edi
callq 0x54d0
movq 0x50(%rsp), %rcx
movq %rax, (%rcx)
movl %r14d, (%rax)
movq 0xcd88(%rip), %rdi      # 0x25fc0
leaq 0x330b(%rip), %rsi      # 0x1c54a
movl $0x7, %edx
callq 0x5430
movq 0xcd70(%rip), %rdi      # 0x25fc0
movl %r14d, %esi
callq 0x5650
movq %rax, %r14
leaq 0x32f0(%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 0x194b1
movq %rax, %r14
leaq 0x20(%rsp), %r15
movq (%rsp), %r12
movq 0x8(%rsp), %r13
jmp 0x19421
movq %rax, %r14
leaq 0x20(%rsp), %r15
leaq 0x148(%rsp), %rbp
movq (%rsp), %r12
movq 0x8(%rsp), %r13
jmp 0x193fc
movq %rax, %r14
leaq 0x20(%rsp), %r15
leaq 0x148(%rsp), %rbp
movq (%rsp), %r12
movq 0x8(%rsp), %r13
jmp 0x193d7
movq %rax, %r14
jmp 0x193aa
movq %rax, %r14
jmp 0x19388
movq %rax, %r14
jmp 0x19363
movq %rax, %r14
jmp 0x19346
movq %rax, %r14
movq (%rsp), %r12
movq 0x8(%rsp), %r13
jmp 0x19468
movq %rax, %r14
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x19346
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x5390
movq 0xd8(%rsp), %rdi
cmpq %r12, %rdi
je 0x19363
movq 0xe8(%rsp), %rsi
incq %rsi
callq 0x5390
movq 0xb8(%rsp), %rdi
leaq 0xc8(%rsp), %rax
cmpq %rax, %rdi
je 0x19388
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x5390
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x193aa
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 0x193d7
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x5390
movq 0xf8(%rsp), %rdi
leaq 0x108(%rsp), %rax
cmpq %rax, %rdi
je 0x193fc
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x5390
movq 0x98(%rsp), %rdi
leaq 0xa8(%rsp), %rax
cmpq %rax, %rdi
je 0x19421
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x5390
movq 0x138(%rsp), %rdi
cmpq %rbp, %rdi
je 0x19451
movq 0x148(%rsp), %rsi
incq %rsi
callq 0x5390
jmp 0x19451
movq %rax, %r14
leaq 0x20(%rsp), %r15
movq (%rsp), %r12
movq 0x8(%rsp), %r13
movq 0x10(%rsp), %rdi
cmpq %r15, %rdi
je 0x19468
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x5390
movl $0x468, %esi            # imm = 0x468
movq %r13, %rdi
callq 0x5390
jmp 0x194b8
jmp 0x194b1
movq %rax, %r14
jmp 0x19498
movq %rax, %r14
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x19498
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x5390
movq 0x30(%rsp), %rdi
cmpq %rbx, %rdi
je 0x194b4
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x5390
jmp 0x194b4
movq %rax, %r14
movq (%rsp), %r12
movq (%r12), %rdi
cmpq %r12, %rdi
je 0x194d6
movq (%rdi), %r15
movl $0x18, %esi
callq 0x5390
movq %r15, %rdi
cmpq %r12, %r15
jne 0x194c1
movq %r14, %rdi
callq 0x5670