// File: /workspace/github_c_makefile_star2_O1/skeeto[P]flappy/sqlite3.c
// Function: sqlite3_load_extension
SQLITE_API int sqlite3_load_extension(
  sqlite3 *db,          /* Load the extension into this database connection */
  const char *zFile,    /* Name of the shared library containing extension */
  const char *zProc,    /* Entry point.  Use "sqlite3_extension_init" if 0 */
  char **pzErrMsg       /* Put error message here if not 0 */
){
  int rc;
  sqlite3_mutex_enter(db->mutex);
  rc = sqlite3LoadExtension(db, zFile, zProc, pzErrMsg);
  rc = sqlite3ApiExit(db, rc);
  sqlite3_mutex_leave(db->mutex);
  return rc;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rcx, %r14
movq %rdx, %rbx
movq %rsi, %r12
movq %rdi, %rbp
movq 0x18(%rdi), %rdi
testq %rdi, %rdi
je 0x132ba
callq *0x7605e(%rip)          # 0x89318
movq (%rbp), %rax
movq %rax, (%rsp)
movq $0x0, 0x8(%rsp)
testq %r12, %r12
je 0x132ee
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
movq %r12, %rax
incl %r15d
cmpb $0x0, (%rax)
leaq 0x1(%rax), %rax
jne 0x132d9
andl $0x3fffffff, %r15d      # imm = 0x3FFFFFFF
jmp 0x132f1
xorl %r15d, %r15d
testq %r14, %r14
je 0x132fd
movq $0x0, (%r14)
testb $0x40, 0x2e(%rbp)
jne 0x13327
movl $0x1, %ebx
testq %r14, %r14
je 0x1374f
leaq 0x5e5a6(%rip), %rdi     # 0x718be
xorl %eax, %eax
callq 0xb7df
movq %rax, (%r14)
jmp 0x1374f
movq %r14, 0x18(%rsp)
movq %rbp, 0x28(%rsp)
leal 0x12c(%r15), %eax
movl %eax, 0x14(%rsp)
testq %rbx, %rbx
leaq 0x5e587(%rip), %rax     # 0x718cd
movq %rbx, 0x30(%rsp)
cmovneq %rbx, %rax
movq %rax, 0x20(%rsp)
movq (%rsp), %rdi
movq %r12, %rsi
callq *0x48(%rdi)
movq %rax, %r13
movb $0x1, %al
leaq 0x5e47b(%rip), %rbp     # 0x717e5
leaq 0x5e54a(%rip), %rbx     # 0x718bb
testb $0x1, %al
je 0x133c2
testq %r13, %r13
jne 0x133c2
movq %rbp, %rdi
movq %r12, %rsi
movq %rbx, %rdx
xorl %eax, %eax
callq 0xb7df
movq %rax, %r14
testq %rax, %rax
je 0x133a9
movq (%rsp), %rdi
movq %r14, %rsi
callq *0x48(%rdi)
movq %rax, %r13
movq %r14, %rdi
callq 0xa3cf
jmp 0x133ac
xorl %r13d, %r13d
xorl %eax, %eax
testq %r14, %r14
jne 0x13371
movl $0x7, %ebx
movq 0x28(%rsp), %rbp
jmp 0x1374f
testq %r13, %r13
je 0x13414
movq (%rsp), %rdi
movq %r13, %rsi
movq 0x20(%rsp), %rdx
callq *0x58(%rdi)
xorl %r14d, %r14d
orq %rax, 0x30(%rsp)
movq 0x28(%rsp), %rbp
jne 0x13440
testq %r12, %r12
je 0x13406
movl $0xffffffff, %r14d      # imm = 0xFFFFFFFF
movq %r12, %rax
incl %r14d
cmpb $0x0, (%rax)
leaq 0x1(%rax), %rax
jne 0x133f3
andl $0x3fffffff, %r14d      # imm = 0x3FFFFFFF
callq 0x9c6c
testl %eax, %eax
je 0x13450
xorl %r15d, %r15d
jmp 0x1345c
movl $0x1, %ebx
movq 0x18(%rsp), %r14
testq %r14, %r14
movq 0x28(%rsp), %rbp
je 0x1374f
callq 0x9c6c
testl %eax, %eax
je 0x134f9
xorl %esi, %esi
jmp 0x13505
movq %rax, %rbx
xorl %r15d, %r15d
movq 0x20(%rsp), %rax
jmp 0x135e0
leal 0x1e(%r14), %edi
callq 0xa35e
movq %rax, %r15
testq %r15, %r15
je 0x13489
movabsq $0x5f336574696c7173, %rax # imm = 0x5F336574696C7173
movq %rax, (%r15)
movl %r14d, %eax
testq %rax, %rax
jle 0x1349f
leaq -0x1(%rax), %rcx
cmpb $0x2f, -0x1(%r12,%rax)
movq %rcx, %rax
jne 0x13471
incl %ecx
jmp 0x134a1
movq (%rsp), %rdi
movq %r13, %rsi
callq *0x60(%rdi)
xorl %ebx, %ebx
movq 0x20(%rsp), %rax
jmp 0x135d7
xorl %ecx, %ecx
movl %ecx, %eax
leaq (%r12,%rax), %rdx
leaq (%r12,%rax), %r9
addq $0x3, %r9
movl $0x3, %esi
leaq 0x5e44c(%rip), %r8      # 0x71907
xorl %r10d, %r10d
leaq 0x59ecb(%rip), %rax     # 0x6d390
leaq 0x5e43e(%rip), %rdi     # 0x7190a
movq %r8, %r11
movzbl (%rdx), %ebx
testq %rbx, %rbx
je 0x13546
movb (%rbx,%rax), %bl
movzbl (%r11), %r14d
cmpb (%r14,%rax), %bl
jne 0x1354e
incq %rdx
incq %r10
incq %r11
decq %rsi
jne 0x134cf
xorl %esi, %esi
movq %r9, %rdx
jmp 0x13551
movl 0x14(%rsp), %edi
callq 0xa35e
movq %rax, %rsi
movq %rsi, 0x8(%rsp)
movq %rsi, (%r14)
testq %rsi, %rsi
je 0x1374f
leaq 0x5e3c7(%rip), %rdx     # 0x718e4
movl 0x14(%rsp), %edi
movq %r12, %rcx
xorl %eax, %eax
callq 0xb8ca
addl $0x12b, %r15d           # imm = 0x12B
movq 0x8(%rsp), %rdx
movq (%rsp), %rdi
movl %r15d, %esi
callq *0x50(%rdi)
jmp 0x1374f
addq %r10, %r8
movq %r8, %rdi
jmp 0x13551
movq %r11, %rdi
testl %esi, %esi
jle 0x13566
movzbl (%rdx), %edx
movb (%rdx,%rax), %dl
movzbl (%rdi), %esi
cmpb (%rsi,%rax), %dl
sete %dl
jmp 0x13568
movb $0x1, %dl
leal 0x3(%rcx), %esi
testb %dl, %dl
cmovel %ecx, %esi
movslq %esi, %rcx
addq %r12, %rcx
movl $0x8, %edx
leaq 0x59d0e(%rip), %rsi     # 0x6d290
movzbl (%rcx), %edi
testl %edi, %edi
je 0x135b1
cmpl $0x2e, %edi
je 0x135b1
movzbl %dil, %r8d
testb $0x2, (%r8,%rsi)
je 0x135ac
movsbq %dil, %rdi
movl %edi, %edi
movb (%rdi,%rax), %dil
movslq %edx, %r8
incl %edx
movb %dil, (%r15,%r8)
incq %rcx
jmp 0x13582
movslq %edx, %rax
movw $0x74, 0x4(%r15,%rax)
movl $0x696e695f, (%r15,%rax) # imm = 0x696E695F
movq (%rsp), %rdi
movq %r13, %rsi
movq %r15, %rdx
callq *0x58(%rdi)
movq %rax, %rbx
movq %r15, %rax
testq %r15, %r15
je 0x136ef
testq %rbx, %rbx
je 0x1363b
movq %r15, %rdi
callq 0xa3cf
leaq 0x748b4(%rip), %rdx     # 0x87ea8
leaq 0x8(%rsp), %rsi
movq %rbp, %rdi
callq *%rbx
testl %eax, %eax
je 0x13676
movq 0x18(%rsp), %rbx
testq %rbx, %rbx
je 0x13622
movq 0x8(%rsp), %rsi
leaq 0x5e31e(%rip), %rdi     # 0x71936
xorl %eax, %eax
callq 0xb7df
movq %rax, (%rbx)
movq 0x8(%rsp), %rdi
callq 0xa3cf
movq (%rsp), %rdi
movq %r13, %rsi
callq *0x60(%rdi)
jmp 0x1374a
cmpq $0x0, 0x18(%rsp)
je 0x13738
xorl %ebx, %ebx
cmpb $0x0, (%rax,%rbx)
leaq 0x1(%rbx), %rbx
jne 0x13649
movq %rax, %r14
decl %ebx
andl $0x3fffffff, %ebx       # imm = 0x3FFFFFFF
addl 0x14(%rsp), %ebx
callq 0x9c6c
testl %eax, %eax
je 0x136f6
xorl %esi, %esi
jmp 0x13700
movl 0xac(%rbp), %eax
leal 0x8(,%rax,8), %ebx
movq %rbp, %rdi
movl %ebx, %esi
callq 0x11af4
testq %rax, %rax
je 0x136ef
movq %rax, %r14
movslq %ebx, %rdx
xorl %ebx, %ebx
movq %rax, %rdi
xorl %esi, %esi
callq 0x7180
movslq 0xac(%rbp), %rdx
testq %rdx, %rdx
jle 0x136c3
movq 0xb0(%rbp), %rsi
shlq $0x3, %rdx
movq %r14, %rdi
callq 0x7230
movq 0xb0(%rbp), %rsi
movq %rbp, %rdi
callq 0x9b58
movq %r14, 0xb0(%rbp)
movslq 0xac(%rbp), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0xac(%rbp)
movq %r13, (%r14,%rax,8)
jmp 0x1374f
movl $0x7, %ebx
jmp 0x1374f
movl %ebx, %edi
callq 0xa35e
movq %rax, %rsi
movq %rsi, 0x8(%rsp)
movq 0x18(%rsp), %rax
movq %rsi, (%rax)
testq %rsi, %rsi
je 0x13738
movq %r14, %rcx
leaq 0x5e1ef(%rip), %rdx     # 0x7190b
movl %ebx, %edi
movq %r12, %r8
xorl %eax, %eax
callq 0xb8ca
decl %ebx
movq 0x8(%rsp), %rdx
movq (%rsp), %rdi
movl %ebx, %esi
callq *0x50(%rdi)
movq (%rsp), %rdi
movq %r13, %rsi
callq *0x60(%rdi)
movq %r15, %rdi
callq 0xa3cf
movl $0x1, %ebx
movq %rbp, %rdi
movl %ebx, %esi
callq 0xee48
movl %eax, %ebx
movq 0x18(%rbp), %rdi
testq %rdi, %rdi
je 0x1376a
callq *0x75bbe(%rip)          # 0x89328
movl %ebx, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq