// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/external/sqlite-3.33.0/sqlite3.c
// Function: sqlite3BtreeCreateTable
SQLITE_PRIVATE int sqlite3BtreeCreateTable(Btree *p, Pgno *piTable, int flags){
  int rc;
  sqlite3BtreeEnter(p);
  rc = btreeCreateTable(p, piTable, flags);
  sqlite3BtreeLeave(p);
  return rc;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movl %edx, %r14d
movq %rsi, %r13
movq (%rdi), %rax
movq 0x8(%rdi), %r12
movq %rax, 0x8(%r12)
cmpb $0x0, 0x21(%r12)
je 0x29bd99
movq %rdi, %r15
movq 0x10(%r12), %rcx
testq %rcx, %rcx
je 0x29bd4b
andb $-0x5, 0x1(%rcx)
movq 0x28(%rcx), %rcx
jmp 0x29bd3c
movq %rax, 0x8(%r12)
movq 0x18(%r12), %rax
movq 0x50(%rax), %rax
movl 0x34(%rax), %edi
bswapl %edi
cmpl 0x40(%r12), %edi
jbe 0x29bdf6
leaq 0x139e5b(%rip), %rsi    # 0x3d5bcb
leaq 0x139f65(%rip), %rdx    # 0x3d5cdc
leaq 0x139cb3(%rip), %r8     # 0x3d5a31
movl $0xb, %ebp
movl $0xb, %edi
movl $0x11f92, %ecx          # imm = 0x11F92
xorl %eax, %eax
callq 0x274d08
jmp 0x29be8d
leaq 0x10(%rsp), %rsi
leaq 0x20(%rsp), %rdx
movq %r12, %rdi
movl $0x1, %ecx
xorl %r8d, %r8d
callq 0x28e798
movl %eax, %ebp
movl %eax, 0xc(%rsp)
testl %eax, %eax
jne 0x29be8d
movq 0x10(%rsp), %rbx
andl $0x1, %r14d
leal (%r14,%r14,2), %esi
addl $0xa, %esi
movq %rbx, %rdi
callq 0x28d2a2
movq 0x70(%rbx), %rdi
testq %rdi, %rdi
je 0x29bde7
callq 0x28ab87
movl 0x20(%rsp), %eax
movl %eax, (%r13)
xorl %ebp, %ebp
jmp 0x29be8d
movl 0x21fcc4(%rip), %ecx    # 0x4bbac0
movl $0xcccccccd, %r8d       # imm = 0xCCCCCCCD
movl %edi, %ebx
leal 0x1(%rbx), %edi
movl $0x0, %eax
cmpl $0x2, %edi
jb 0x29be49
movl 0x38(%r12), %r9d
imulq %r8, %r9
shrq $0x22, %r9
incl %r9d
leal -0x1(%rbx), %esi
movl %esi, %eax
xorl %edx, %edx
divl %r9d
subl %edx, %esi
movl %ecx, %eax
xorl %edx, %edx
divl 0x34(%r12)
leal 0x1(%rsi), %edx
xorl %r9d, %r9d
cmpl %eax, %edx
sete %r9b
leal (%rsi,%r9), %eax
addl $0x2, %eax
cmpl %eax, %edi
je 0x29be02
movl %ecx, %eax
xorl %edx, %edx
divl 0x34(%r12)
cmpl %eax, %ebx
je 0x29be02
movq %r13, 0x30(%rsp)
leal 0x1(%rbx), %r13d
movl %r13d, 0x20(%rsp)
leaq 0x28(%rsp), %rsi
leaq 0x24(%rsp), %rdx
movq %r12, %rdi
movl %r13d, %ecx
movl $0x1, %r8d
callq 0x28e798
movl %eax, %ebp
movl %eax, 0xc(%rsp)
testl %eax, %eax
je 0x29be9e
movl %ebp, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl 0x24(%rsp), %ecx
leal -0x1(%rcx), %eax
cmpl %ebx, %eax
jne 0x29bf02
movq 0x28(%rsp), %rbx
movq %rbx, 0x10(%rsp)
leaq 0xc(%rsp), %rbp
movq %r12, %rdi
movl %r13d, %esi
movl $0x1, %edx
xorl %ecx, %ecx
movq %rbp, %r8
callq 0x28f455
movl (%rbp), %ebp
testl %ebp, %ebp
jne 0x29bef2
movq (%r15), %rdi
movq 0x8(%r15), %rsi
movl $0x4, %edx
movl %r13d, %ecx
callq 0x27732a
movl %eax, 0xc(%rsp)
testl %eax, %eax
je 0x29bf63
movl %eax, %ebp
testq %rbx, %rbx
je 0x29be8d
movq 0x70(%rbx), %rdi
callq 0x28ab87
jmp 0x29be8d
movq %rcx, %rbx
movb $0x0, 0xb(%rsp)
movl $0x0, 0x1c(%rsp)
movq 0x10(%r12), %rdi
testq %rdi, %rdi
je 0x29bf29
xorl %esi, %esi
xorl %edx, %edx
callq 0x28e021
movl %eax, %ebp
jmp 0x29bf2b
xorl %ebp, %ebp
movq 0x28(%rsp), %rax
testq %rax, %rax
je 0x29bf3e
movq 0x70(%rax), %rdi
callq 0x28ab87
testl %ebp, %ebp
jne 0x29be8d
leaq 0x10(%rsp), %rdx
movq %r12, %rdi
movl %r13d, %esi
xorl %ecx, %ecx
callq 0x28ced9
testl %eax, %eax
je 0x29bf6d
movl %eax, %ebp
jmp 0x29be8d
movq 0x30(%rsp), %r13
jmp 0x29bdc6
leaq 0xb(%rsp), %rdx
leaq 0x1c(%rsp), %rcx
movq %r12, %rdi
movl %r13d, %esi
callq 0x28e6a5
movl %eax, %ebp
leaq 0xb(%rsp), %rax
movb (%rax), %al
leal -0x1(%rax), %ecx
cmpb $0x1, %cl
ja 0x29bfc0
leaq 0x139c31(%rip), %rsi    # 0x3d5bcb
leaq 0x139d3b(%rip), %rdx    # 0x3d5cdc
leaq 0x139a89(%rip), %r8     # 0x3d5a31
movl $0xb, %ebp
movl $0xb, %edi
movl $0x11fc2, %ecx          # imm = 0x11FC2
xorl %eax, %eax
callq 0x274d08
jmp 0x29bfc4
testl %ebp, %ebp
je 0x29bfde
movq 0x10(%rsp), %rbx
testq %rbx, %rbx
je 0x29be8d
addq $0x70, %rbx
movq (%rbx), %rdi
jmp 0x29befb
movq 0x10(%rsp), %rbp
movl 0x1c(%rsp), %ecx
movzbl %al, %edx
movq %r12, %rdi
movq %rbp, %rsi
movl %ebx, %r8d
xorl %r9d, %r9d
callq 0x28f049
movq %rbp, %rcx
movl %eax, %ebp
testq %rcx, %rcx
je 0x29c00e
movq 0x70(%rcx), %rdi
callq 0x28ab87
testl %ebp, %ebp
jne 0x29be8d
leaq 0x10(%rsp), %rdx
movq %r12, %rdi
movl %r13d, %esi
xorl %ecx, %ecx
callq 0x28ced9
testl %eax, %eax
jne 0x29bf5c
movq 0x10(%rsp), %rbx
movq 0x70(%rbx), %rdi
callq 0x2774a1
movl %eax, 0xc(%rsp)
testl %eax, %eax
je 0x29beb3
movl %eax, %ebp
jmp 0x29bfd2