// File: /workspace/github_c_makefile_star2_O1/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, %rbp
movq (%rdi), %rax
movq 0x8(%rdi), %r12
movq %rax, 0x8(%r12)
cmpb $0x0, 0x21(%r12)
je 0x2a4e94
movq %rdi, %r15
movq 0x10(%r12), %rcx
testq %rcx, %rcx
je 0x2a4e43
andb $-0x5, 0x1(%rcx)
movq 0x28(%rcx), %rcx
jmp 0x2a4e34
movq %rax, 0x8(%r12)
movq 0x18(%r12), %rax
movq 0x50(%rax), %rax
movl 0x34(%rax), %edi
bswapl %edi
movl %edi, 0x14(%rsp)
cmpl 0x40(%r12), %edi
jbe 0x2a4ec1
leaq 0x13a4b7(%rip), %rsi    # 0x3df31f
leaq 0x13a5c1(%rip), %rdx    # 0x3df430
leaq 0x13a30f(%rip), %r8     # 0x3df185
xorl %ebx, %ebx
movl $0xb, %r13d
movl $0xb, %edi
movl $0x11f92, %ecx          # imm = 0x11F92
xorl %eax, %eax
callq 0x27e637
jmp 0x2a5044
leaq 0x8(%rsp), %rsi
leaq 0x14(%rsp), %rdx
movq %r12, %rdi
movl $0x1, %ecx
xorl %r8d, %r8d
callq 0x298417
movl %eax, %r13d
movl %eax, (%rsp)
testl %eax, %eax
jne 0x2a5078
jmp 0x2a5048
movl 0x221bf9(%rip), %ecx    # 0x4c6ac0
movl $0xcccccccd, %r8d       # imm = 0xCCCCCCCD
movl %edi, %ebx
leal 0x1(%rbx), %edi
movl $0x0, %eax
cmpl $0x2, %edi
jb 0x2a4f14
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 0x2a4ecd
movl %ecx, %eax
xorl %edx, %edx
divl 0x34(%r12)
cmpl %eax, %ebx
je 0x2a4ecd
movq %rbp, 0x18(%rsp)
leal 0x1(%rbx), %ebp
movl %ebp, 0x14(%rsp)
leaq 0x28(%rsp), %rsi
leaq 0x24(%rsp), %rdx
movq %r12, %rdi
movl %ebp, %ecx
movl $0x1, %r8d
callq 0x298417
movl %eax, (%rsp)
testl %eax, %eax
je 0x2a4f61
movl %eax, %r13d
xorl %ebx, %ebx
movq 0x18(%rsp), %rbp
jmp 0x2a5044
movl 0x24(%rsp), %ecx
leal -0x1(%rcx), %eax
cmpl %ebx, %eax
jne 0x2a4f78
movq 0x28(%rsp), %rax
movq %rax, 0x8(%rsp)
jmp 0x2a4ff1
movq %rcx, 0x30(%rsp)
movb $0x0, 0x7(%rsp)
movl $0x0, 0x20(%rsp)
movq 0x10(%r12), %rdi
testq %rdi, %rdi
je 0x2a4fa2
xorl %esi, %esi
xorl %edx, %edx
callq 0x297c7e
movl %eax, %r13d
jmp 0x2a4fa5
xorl %r13d, %r13d
movl %r13d, (%rsp)
movq 0x28(%rsp), %rax
testq %rax, %rax
je 0x2a4fbc
movq 0x70(%rax), %rdi
callq 0x2949b7
testl %r13d, %r13d
je 0x2a4fc5
xorl %ebx, %ebx
jmp 0x2a4fe6
leaq 0x8(%rsp), %rdx
xorl %ebx, %ebx
movq %r12, %rdi
movl %ebp, %esi
xorl %ecx, %ecx
callq 0x296bb1
movl %eax, (%rsp)
testl %eax, %eax
je 0x2a5094
movl %eax, %r13d
testb %bl, %bl
je 0x2a4f55
movl %r13d, %ebx
movq %rsp, %r13
movq %r12, %rdi
movl %ebp, %esi
movl $0x1, %edx
xorl %ecx, %ecx
movq %r13, %r8
callq 0x2991c1
movl (%r13), %r13d
testl %r13d, %r13d
jne 0x2a502a
movq %r15, %rdi
movl $0x4, %esi
movl %ebp, %edx
callq 0x280cc4
movl %eax, (%rsp)
testl %eax, %eax
je 0x2a508a
movl %eax, %r13d
movq 0x8(%rsp), %rax
testq %rax, %rax
movq 0x18(%rsp), %rbp
je 0x2a5042
movq 0x70(%rax), %rdi
callq 0x2949b7
xorl %ebx, %ebx
testb %bl, %bl
je 0x2a5078
andl $0x1, %r14d
leal (%r14,%r14,2), %esi
addl $0xa, %esi
movq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x296f6d
movq 0x70(%r14), %rdi
testq %rdi, %rdi
je 0x2a506e
callq 0x2949b7
movl 0x14(%rsp), %eax
movl %eax, (%rbp)
xorl %r13d, %r13d
movl %r13d, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl %ebx, %r13d
movb $0x1, %bl
jmp 0x2a4f57
leaq 0x7(%rsp), %r13
leaq 0x20(%rsp), %rcx
movq %r12, %rdi
movl %ebp, %esi
movq %r13, %rdx
callq 0x298318
movl %eax, (%rsp)
movb (%r13), %bl
leal -0x1(%rbx), %eax
cmpb $0x1, %al
ja 0x2a50e6
leaq 0x13a25f(%rip), %rsi    # 0x3df31f
leaq 0x13a369(%rip), %rdx    # 0x3df430
leaq 0x13a0b7(%rip), %r8     # 0x3df185
movl $0xb, %edi
movl $0x11fc2, %ecx          # imm = 0x11FC2
xorl %eax, %eax
callq 0x27e637
movl $0xb, (%rsp)
movl (%rsp), %r13d
movq 0x8(%rsp), %rax
testl %r13d, %r13d
je 0x2a510e
testq %rax, %rax
je 0x2a4fc1
addq $0x70, %rax
movq (%rax), %rdi
callq 0x2949b7
jmp 0x2a4fc1
movl 0x20(%rsp), %ecx
movzbl %bl, %edx
movq %r12, %rdi
movq %rax, %rbx
movq %rax, %rsi
movq 0x30(%rsp), %r8
xorl %r9d, %r9d
callq 0x298d6f
movl %eax, %r13d
movl %eax, (%rsp)
testq %rbx, %rbx
je 0x2a513f
movq 0x70(%rbx), %rdi
callq 0x2949b7
testl %r13d, %r13d
jne 0x2a4fc1
leaq 0x8(%rsp), %rdx
xorl %ebx, %ebx
movq %r12, %rdi
movl %ebp, %esi
xorl %ecx, %ecx
callq 0x296bb1
movl %eax, (%rsp)
testl %eax, %eax
jne 0x2a4fe3
movq 0x8(%rsp), %rax
movq %rax, %rbx
movq 0x70(%rax), %rdi
callq 0x280e3a
movl %eax, (%rsp)
testl %eax, %eax
je 0x2a5192
movl %eax, %r13d
testq %rbx, %rbx
je 0x2a4fc1
movq %rbx, %rax
jmp 0x2a50fd
movb $0x1, %bl
jmp 0x2a4fe6