// File: /workspace/github_c_makefile_star2_O3/barabo[P]advanced-shell-history/src/sqlite3.c
// Function: sqlite3BtreeDropTable
SQLITE_PRIVATE int sqlite3BtreeDropTable(Btree *p, int iTable, int *piMoved){
  int rc;
  sqlite3BtreeEnter(p);
  rc = btreeDropTable(p, iTable, piMoved);
  sqlite3BtreeLeave(p);
  return rc;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq (%rdi), %rax
movq 0x8(%rdi), %r14
movq %rax, 0x8(%r14)
movq $0x0, -0x30(%rbp)
movl $0x106, %r12d           # imm = 0x106
cmpq $0x0, 0x10(%r14)
jne 0x2ecf7
movq %rdx, %r15
movl %esi, %r13d
movq %rdi, %rbx
leaq -0x30(%rbp), %rdx
movq %r14, %rdi
xorl %ecx, %ecx
callq 0x20068
testl %eax, %eax
je 0x2eba2
movl %eax, %r12d
jmp 0x2ecf7
movq %rbx, %rdi
movl %r13d, %esi
xorl %edx, %edx
callq 0x2ee63
testl %eax, %eax
je 0x2ebcc
movl %eax, %r12d
movq -0x30(%rbp), %rax
testq %rax, %rax
je 0x2ecf7
movq 0x68(%rax), %rdi
jmp 0x2ecf2
movl $0x0, (%r15)
cmpl $0x2, %r13d
jb 0x2ecd5
cmpb $0x0, 0x21(%r14)
je 0x2ed09
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
movq %rax, 0x8(%rcx)
movq 0x18(%rcx), %rax
movq 0x50(%rax), %rax
movzbl 0x34(%rax), %ecx
shll $0x18, %ecx
movzbl 0x35(%rax), %edx
shll $0x10, %edx
movq %rcx, -0x58(%rbp)
movq %rdx, -0x50(%rbp)
leal (%rdx,%rcx), %r12d
movzbl 0x36(%rax), %ecx
shll $0x8, %ecx
movl %ecx, -0x38(%rbp)
orl %ecx, %r12d
movzbl 0x37(%rax), %eax
movq %rax, -0x48(%rbp)
orl %eax, %r12d
cmpl %r13d, %r12d
jne 0x2ed2d
movq -0x30(%rbp), %r15
movq 0x48(%r15), %rdi
movl 0x70(%r15), %edx
movq %r15, %rsi
callq 0x32d90
movl %eax, %r12d
movq 0x68(%r15), %rdi
callq 0xddd3
testl %r12d, %r12d
jne 0x2ecf7
movl 0x65bdb(%rip), %eax     # 0x94840
xorl %edx, %edx
divl 0x30(%r14)
movl %eax, %esi
movq -0x58(%rbp), %rax
addl -0x50(%rbp), %eax
addl -0x38(%rbp), %eax
movq -0x48(%rbp), %rcx
addl %eax, %ecx
decl %ecx
movl $0xfffffffe, %r8d       # imm = 0xFFFFFFFE
subl %esi, %r8d
movl $0xcccccccd, %r9d       # imm = 0xCCCCCCCD
leal (%r8,%rcx), %eax
cmpl $-0x1, %eax
je 0x2ecd1
xorl %eax, %eax
cmpl $0x2, %ecx
jb 0x2ecc9
movl 0x34(%r14), %r10d
imulq %r9, %r10
shrq $0x22, %r10
incl %r10d
leal -0x2(%rcx), %edi
movl %edi, %eax
xorl %edx, %edx
divl %r10d
subl %edx, %edi
leal 0x1(%rdi), %eax
xorl %edx, %edx
cmpl %esi, %eax
sete %dl
leal (%rdi,%rdx), %eax
addl $0x2, %eax
cmpl %eax, %ecx
jne 0x2edce
decl %ecx
jmp 0x2ec8e
movq -0x30(%rbp), %rbx
movq %rbx, %rdi
movl $0x9, %esi
callq 0x20600
xorl %r12d, %r12d
testq %rbx, %rbx
je 0x2ecf7
movq 0x68(%rbx), %rdi
callq 0xddd3
movl %r12d, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq -0x30(%rbp), %rbx
movq 0x48(%rbx), %rdi
movl 0x70(%rbx), %edx
movq %rbx, %rsi
callq 0x32d90
movl %eax, %r14d
movq 0x68(%rbx), %rdi
callq 0xddd3
movl %r14d, %eax
jmp 0x2ecfa
movq -0x30(%rbp), %rax
testq %rax, %rax
je 0x2ed3f
movq 0x68(%rax), %rdi
callq 0xddd3
leaq -0x40(%rbp), %rdx
movq %r14, %rdi
movl %r12d, %esi
xorl %ecx, %ecx
callq 0x20068
testl %eax, %eax
jne 0x2eb9a
movl %r12d, -0x34(%rbp)
movq -0x40(%rbp), %r12
movq %r14, %rdi
movq %r12, %rsi
movl $0x1, %edx
xorl %ecx, %ecx
movl %r13d, %r8d
xorl %r9d, %r9d
callq 0x22377
movq %r12, %rcx
movl %eax, %r12d
testq %rcx, %rcx
je 0x2ed8c
movq 0x68(%rcx), %rdi
callq 0xddd3
testl %r12d, %r12d
jne 0x2ecf7
leaq -0x40(%rbp), %r13
movq $0x0, (%r13)
movq %r14, %rdi
movl -0x34(%rbp), %esi
movq %r13, %rdx
xorl %ecx, %ecx
callq 0x20068
movq (%r13), %r13
testl %eax, %eax
je 0x2eded
movl %eax, %r12d
testq %r13, %r13
je 0x2ecf7
movq 0x68(%r13), %rdi
jmp 0x2ecf2
movq (%rbx), %rdi
movq 0x8(%rbx), %rsi
movl $0x4, %edx
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xde56
movq 0x48(%r13), %rdi
movl 0x70(%r13), %edx
movq %r13, %rsi
callq 0x32d90
movl %eax, %r12d
movq 0x68(%r13), %rdi
callq 0xddd3
testl %r12d, %r12d
jne 0x2ecf7
movl -0x34(%rbp), %eax
movl %eax, (%r15)
jmp 0x2ec5f