// File: /workspace/github_c_makefile_star2_O2/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, %r15
movq %rdx, %rbx
movq %rsi, (%rsp)
movq %rdi, %rbp
movq 0x18(%rdi), %rdi
testq %rdi, %rdi
je 0x11f21
callq *0x6e407(%rip)          # 0x80328
movq (%rbp), %r14
andq $0x0, 0x28(%rsp)
movq (%rsp), %rdi
callq 0x90a2
pushq $0x1
popq %rsi
testq %r15, %r15
je 0x11f60
andq $0x0, (%r15)
testb $0x40, 0x2e(%rbp)
jne 0x11f6a
leaq 0x52991(%rip), %rdi     # 0x648de
xorl %eax, %eax
movl %esi, %ebx
callq 0xb326
movl %ebx, %esi
movq %rax, (%r15)
jmp 0x1225f
testb $0x40, 0x2e(%rbp)
je 0x1225f
movq %r15, 0x18(%rsp)
movq %rbp, 0x20(%rsp)
movq %rax, 0x30(%rsp)
leal 0x12c(%rax), %r12d
testq %rbx, %rbx
leaq 0x52963(%rip), %rax     # 0x648ed
movq %rbx, 0x8(%rsp)
cmovneq %rbx, %rax
movq %rax, 0x10(%rsp)
movq %r14, %rdi
movq (%rsp), %rsi
callq *0x48(%r14)
movq %rax, %r15
movb $0x1, %al
leaq 0x52856(%rip), %rbp     # 0x64805
leaq 0x52925(%rip), %rbx     # 0x648db
testb $0x1, %al
je 0x11ffb
testq %r15, %r15
jne 0x11ffb
movl %r12d, %r13d
movq %rbp, %rdi
movq (%rsp), %rsi
movq %rbx, %rdx
xorl %eax, %eax
callq 0xb326
testq %rax, %rax
je 0x12071
movq %rax, %r12
movq %r14, %rdi
movq %rax, %rsi
callq *0x48(%r14)
movq %rax, %r15
movq %r12, %rdi
callq 0xa0b5
xorl %eax, %eax
movl %r13d, %r12d
jmp 0x11fb6
testq %r15, %r15
je 0x1207e
movq %r14, %rdi
movq %r15, %rsi
movq 0x10(%rsp), %rdx
callq *0x58(%r14)
orq %rax, 0x8(%rsp)
movq 0x20(%rsp), %rbp
jne 0x120da
movq (%rsp), %rdi
callq 0x90a2
movl %eax, %ebx
leal 0x1e(%rbx), %edi
callq 0xa032
testq %rax, %rax
je 0x120e5
movabsq $0x5f336574696c7173, %rcx # imm = 0x5F336574696C7173
movq %rcx, (%rax)
movl %ebx, %edx
movq %rax, 0x8(%rsp)
movq (%rsp), %rcx
testq %rdx, %rdx
jle 0x120f6
leaq -0x1(%rdx), %rbx
cmpb $0x2f, -0x1(%rcx,%rdx)
movq %rbx, %rdx
jne 0x12053
incl %ebx
jmp 0x120f8
pushq $0x7
popq %rsi
movq 0x20(%rsp), %rbp
jmp 0x1225f
movq 0x18(%rsp), %r15
testq %r15, %r15
movq 0x20(%rsp), %rbp
je 0x1225c
movl %r12d, %edi
callq 0xa032
movq %rax, (%r15)
testq %rax, %rax
je 0x1225c
movq %rax, %rbx
leaq 0x52855(%rip), %rdx     # 0x64904
movl %r12d, %edi
movq %rax, %rsi
movq (%rsp), %rcx
xorl %eax, %eax
callq 0xb40d
movq 0x30(%rsp), %rsi
addl $0x12b, %esi            # imm = 0x12B
movq %r14, %rdi
movq %rbx, %rdx
callq *0x50(%r14)
jmp 0x1225c
movq %rax, %rbx
xorl %r13d, %r13d
jmp 0x1218e
movq %r14, %rdi
movq %r15, %rsi
callq *0x60(%r14)
pushq $0x7
jmp 0x1225e
xorl %ebx, %ebx
movl %ebx, %edi
movq (%rsp), %r13
addq %r13, %rdi
leaq 0x5281f(%rip), %rsi     # 0x64927
pushq $0x3
popq %rdx
callq 0x905e
leal 0x3(%rbx), %ecx
testl %eax, %eax
cmovnel %ebx, %ecx
movslq %ecx, %rax
addq %r13, %rax
pushq $0x8
popq %rsi
leaq 0x4e168(%rip), %rcx     # 0x60290
leaq 0x4e261(%rip), %rdx     # 0x60390
movq 0x8(%rsp), %r13
movzbl (%rax), %r8d
movslq %esi, %rdi
testl %r8d, %r8d
je 0x12168
cmpl $0x2e, %r8d
je 0x12168
movzbl %r8b, %r9d
testb $0x2, (%r9,%rcx)
je 0x12163
movsbq %r8b, %rsi
movl %esi, %esi
movb (%rsi,%rdx), %r8b
leal 0x1(%rdi), %esi
movb %r8b, (%r13,%rdi)
incq %rax
jmp 0x12134
movw $0x74, 0x4(%r13,%rdi)
movl $0x696e695f, (%r13,%rdi) # imm = 0x696E695F
movq %r14, %rdi
movq %r15, %rsi
movq %r13, %rdx
callq *0x58(%r14)
movq %rax, %rbx
movq %r13, 0x10(%rsp)
testq %rbx, %rbx
je 0x121ea
movq %r13, %rdi
callq 0xa0b5
leaq 0x6cd26(%rip), %rdx     # 0x7eec8
leaq 0x28(%rsp), %rsi
movq %rbp, %rdi
callq *%rbx
testl %eax, %eax
je 0x12289
movq 0x18(%rsp), %rbx
testq %rbx, %rbx
je 0x121d4
movq 0x28(%rsp), %rsi
leaq 0x5278c(%rip), %rdi     # 0x64956
xorl %eax, %eax
callq 0xb326
movq %rax, (%rbx)
movq 0x28(%rsp), %rdi
callq 0xa0b5
movq %r14, %rdi
movq %r15, %rsi
callq *0x60(%r14)
jmp 0x1225c
movq %r13, 0x8(%rsp)
movl %r12d, %r13d
movq 0x18(%rsp), %r12
testq %r12, %r12
je 0x12248
movq 0x10(%rsp), %rdi
callq 0x90a2
movl %eax, %ebx
addl %r13d, %ebx
movl %ebx, %edi
callq 0xa032
movq %rax, (%r12)
testq %rax, %rax
je 0x12248
movq %rax, %r13
leaq 0x52706(%rip), %rdx     # 0x6492b
movl %ebx, %edi
movq %rax, %rsi
movq 0x10(%rsp), %rcx
movq (%rsp), %r8
xorl %eax, %eax
callq 0xb40d
decl %ebx
movq %r14, %rdi
movl %ebx, %esi
movq %r13, %rdx
callq *0x50(%r14)
movq %r14, %rdi
movq %r15, %rsi
callq *0x60(%r14)
movq 0x8(%rsp), %rdi
callq 0xa0b5
pushq $0x1
popq %rsi
movq %rbp, %rdi
callq 0xe358
movl %eax, %ebx
movq 0x18(%rbp), %rdi
testq %rdi, %rdi
je 0x12278
callq *0x6e0c0(%rip)          # 0x80338
movl %ebx, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl 0xac(%rbp), %eax
leal 0x8(,%rax,8), %esi
movq %rbp, %rdi
callq 0xfabf
pushq $0x7
popq %rsi
testq %rax, %rax
je 0x1225f
movq %rax, %rbx
movslq 0xac(%rbp), %rdx
testq %rdx, %rdx
jle 0x122c8
movq 0xb0(%rbp), %rsi
shlq $0x3, %rdx
movq %rbx, %rdi
callq 0x7240
movq 0xb0(%rbp), %rsi
movq %rbp, %rdi
callq 0x9805
movq %rbx, 0xb0(%rbp)
movslq 0xac(%rbp), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0xac(%rbp)
movq %r15, (%rbx,%rax,8)
xorl %esi, %esi
jmp 0x1225f