// File: /workspace/github_c_makefile_star2_O1/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 0x2e417
movq %rdx, %r15
movl %esi, %r13d
movq %rdi, %rbx
leaq -0x30(%rbp), %rdx
movq %r14, %rdi
xorl %ecx, %ecx
callq 0x2035c
testl %eax, %eax
je 0x2e321
movl %eax, %r12d
jmp 0x2e417
movq %rbx, %rdi
movl %r13d, %esi
xorl %edx, %edx
callq 0x2e5d8
movl %eax, %r12d
testl %eax, %eax
je 0x2e34b
movq -0x30(%rbp), %rax
testq %rax, %rax
je 0x2e417
movq 0x68(%rax), %rdi
jmp 0x2e412
movl $0x0, (%r15)
cmpl $0x2, %r13d
jb 0x2e3e0
cmpb $0x0, 0x21(%r14)
je 0x2e3f3
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 0x2e429
movq -0x30(%rbp), %r15
movq 0x48(%r15), %rdi
movl 0x70(%r15), %edx
movq %r15, %rsi
callq 0x32647
movl %eax, %r12d
testq %r15, %r15
je 0x2e3d6
movq 0x68(%r15), %rdi
callq 0xdcd4
testl %r12d, %r12d
jne 0x2e417
jmp 0x2e4ec
movq -0x30(%rbp), %rbx
movq %rbx, %rdi
movl $0x9, %esi
callq 0x20900
jmp 0x2e409
movq -0x30(%rbp), %rbx
movq 0x48(%rbx), %rdi
movl 0x70(%rbx), %edx
movq %rbx, %rsi
callq 0x32647
movl %eax, %r12d
testq %rbx, %rbx
je 0x2e417
movq 0x68(%rbx), %rdi
callq 0xdcd4
movl %r12d, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq -0x30(%rbp), %rax
testq %rax, %rax
je 0x2e43b
movq 0x68(%rax), %rdi
callq 0xdcd4
leaq -0x40(%rbp), %rdx
movq %r14, %rdi
movl %r12d, %esi
xorl %ecx, %ecx
callq 0x2035c
testl %eax, %eax
je 0x2e458
movl %eax, %r12d
jmp 0x2e4e2
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 0x22773
movq %r12, %rcx
movl %eax, %r12d
testq %rcx, %rcx
je 0x2e48c
movq 0x68(%rcx), %rdi
callq 0xdcd4
testl %r12d, %r12d
jne 0x2e4e2
leaq -0x40(%rbp), %r13
movq $0x0, (%r13)
movq %r14, %rdi
movl -0x34(%rbp), %esi
movq %r13, %rdx
xorl %ecx, %ecx
callq 0x2035c
movl %eax, %r12d
movq (%r13), %r13
testl %eax, %eax
jne 0x2e4cb
movq 0x48(%r13), %rdi
movl 0x70(%r13), %edx
movq %r13, %rsi
callq 0x32647
movl %eax, %r12d
testq %r13, %r13
je 0x2e4d9
movq 0x68(%r13), %rdi
callq 0xdcd4
testl %r12d, %r12d
je 0x2e581
xorl %eax, %eax
testb %al, %al
je 0x2e417
movl 0x6634e(%rip), %eax     # 0x94840
xorl %edx, %edx
divl 0x30(%r14)
movl %eax, %ecx
movq -0x58(%rbp), %rax
addl -0x50(%rbp), %eax
addl -0x38(%rbp), %eax
movq -0x48(%rbp), %rdx
leal (%rdx,%rax), %r8d
decl %r8d
movl $0xfffffffe, %edi       # imm = 0xFFFFFFFE
subl %ecx, %edi
movl $0xcccccccd, %r9d       # imm = 0xCCCCCCCD
leal (%rdi,%r8), %eax
cmpl $-0x1, %eax
je 0x2e55e
xorl %eax, %eax
cmpl $0x2, %r8d
jb 0x2e559
movl 0x34(%r14), %r10d
imulq %r9, %r10
shrq $0x22, %r10
incl %r10d
leal -0x2(%r8), %esi
movl %esi, %eax
xorl %edx, %edx
divl %r10d
subl %edx, %esi
leal 0x1(%rsi), %eax
xorl %edx, %edx
cmpl %ecx, %eax
sete %dl
leal (%rsi,%rdx), %eax
addl $0x2, %eax
cmpl %eax, %r8d
jne 0x2e563
decl %r8d
jmp 0x2e51c
movq %rbx, %rdi
movl $0x4, %esi
movl %r8d, %edx
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xdd57
movl -0x34(%rbp), %eax
movl %eax, (%r15)
movb $0x1, %al
jmp 0x2e4e4