// File: /workspace/github_c_makefile_star2_O2/barabo[P]advanced-shell-history/src/sqlite3.c
// Function: sqlite3BtreeCreateTable
SQLITE_PRIVATE int sqlite3BtreeCreateTable(Btree *p, int *piTable, int flags){
  int rc;
  sqlite3BtreeEnter(p);
  rc = btreeCreateTable(p, piTable, flags);
  sqlite3BtreeLeave(p);
  return rc;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movl %edx, %r13d
movq %rsi, %r14
movq (%rdi), %rax
movq 0x8(%rdi), %r12
movq %rax, 0x8(%r12)
cmpb $0x0, 0x21(%r12)
je 0x2a43e
movq %rdi, %r15
movq %r13, -0x68(%rbp)
movq %r12, %rdi
callq 0x1dfb7
pushq $0x4
popq %rsi
leaq -0x3c(%rbp), %rbx
movq %r15, %rdi
movq %rbx, %rdx
callq 0xca45
movl (%rbx), %r13d
movl 0x5d4ac(%rip), %ebx     # 0x87840
incl %r13d
movq %r12, %rdi
movl %r13d, %esi
callq 0x1dfda
cmpl %eax, %r13d
je 0x2a394
leal -0x1(%r13), %ecx
movl %ebx, %eax
xorl %edx, %edx
divl 0x30(%r12)
cmpl %eax, %ecx
je 0x2a394
movl %r13d, -0x3c(%rbp)
leaq -0x58(%rbp), %rsi
leaq -0x44(%rbp), %rdx
pushq $0x1
popq %r8
movq %r12, %rdi
movl %r13d, %ecx
callq 0x1ec5e
movl %eax, %ebx
movl %eax, -0x30(%rbp)
testl %eax, %eax
jne 0x2a4c6
movq %r14, -0x50(%rbp)
movl -0x44(%rbp), %r14d
cmpl %r13d, %r14d
jne 0x2a48c
movq -0x58(%rbp), %r14
movq %r14, -0x38(%rbp)
pushq $0x1
popq %rdx
leaq -0x30(%rbp), %rbx
movq %r12, %rdi
movl %r13d, %esi
xorl %ecx, %ecx
movq %rbx, %r8
callq 0x1f801
movl (%rbx), %ebx
testl %ebx, %ebx
jne 0x2a431
pushq $0x4
popq %rsi
movq %r15, %rdi
movl %r13d, %edx
callq 0xcfd5
movl %eax, -0x30(%rbp)
testl %eax, %eax
je 0x2a4d7
movl %eax, %ebx
movq %r14, %rdi
callq 0x1d90e
jmp 0x2a4c6
leaq -0x38(%rbp), %rsi
leaq -0x3c(%rbp), %rdx
pushq $0x1
popq %rcx
movq %r12, %rdi
xorl %r8d, %r8d
callq 0x1ec5e
movl %eax, %ebx
movl %eax, -0x30(%rbp)
testl %eax, %eax
jne 0x2a4c6
movq %r14, -0x50(%rbp)
movq -0x38(%rbp), %r14
andl $0x1, %r13d
leal 0xa(%r13,%r13,2), %esi
movq %r14, %rdi
callq 0x1db70
movq 0x68(%r14), %rdi
callq 0xcf6e
movl -0x3c(%rbp), %eax
movq -0x50(%rbp), %rcx
movl %eax, (%rcx)
xorl %ebx, %ebx
jmp 0x2a4c6
movb $0x0, -0x29(%rbp)
andl $0x0, -0x40(%rbp)
movq %r12, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x1e0b8
movl %eax, %ebx
movq -0x58(%rbp), %rdi
callq 0x1d90e
testl %ebx, %ebx
jne 0x2a4c6
leaq -0x38(%rbp), %rdx
movq %r12, %rdi
movl %r13d, %esi
xorl %ecx, %ecx
callq 0x1d84e
testl %eax, %eax
je 0x2a4dd
movl %eax, %ebx
movl %ebx, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq -0x68(%rbp), %r13
jmp 0x2a465
leaq -0x29(%rbp), %rdx
leaq -0x40(%rbp), %rcx
movq %r12, %rdi
movl %r13d, %esi
callq 0x1ebb8
movl %eax, %ebx
leaq -0x29(%rbp), %rax
movb (%rax), %al
leal -0x1(%rax), %ecx
cmpb $0x1, %cl
ja 0x2a50f
movl $0xde2d, %edi           # imm = 0xDE2D
callq 0x1a1fc
pushq $0xb
popq %rbx
jmp 0x2a513
testl %ebx, %ebx
je 0x2a51c
movq -0x38(%rbp), %rdi
jmp 0x2a434
movq -0x38(%rbp), %rsi
movq %rsi, -0x60(%rbp)
movl -0x40(%rbp), %ecx
movzbl %al, %edx
movq %r12, %rdi
movl %r14d, %r8d
xorl %r9d, %r9d
callq 0x1f3c2
movl %eax, %ebx
movq -0x60(%rbp), %rdi
callq 0x1d90e
testl %ebx, %ebx
jne 0x2a4c6
leaq -0x38(%rbp), %rdx
movq %r12, %rdi
movl %r13d, %esi
xorl %ecx, %ecx
callq 0x1d84e
testl %eax, %eax
jne 0x2a4c4
movq -0x38(%rbp), %r14
movq 0x68(%r14), %rdi
callq 0xd10b
movl %eax, -0x30(%rbp)
testl %eax, %eax
jne 0x2a42f
jmp 0x2a3f9