// File: /workspace/github_c_makefile_star2_O2/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: unqlite_lib_config
int unqlite_lib_config(int nConfigOp,...)
{
	va_list ap;
	int rc;
	if( sUnqlMPGlobal.nMagic == UNQLITE_LIB_MAGIC ){
		/* Library is already initialized, this operation is forbidden */
		return UNQLITE_LOCKED;
	}
	va_start(ap,nConfigOp);
	rc = unqliteCoreConfigure(nConfigOp,ap);
	va_end(ap);
	return rc;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0xd8, %rsp
movq %rsi, -0xe8(%rbp)
movq %rdx, -0xe0(%rbp)
movq %rcx, -0xd8(%rbp)
movq %r8, -0xd0(%rbp)
movq %r9, -0xc8(%rbp)
testb %al, %al
je 0x26bb7
movaps %xmm0, -0xc0(%rbp)
movaps %xmm1, -0xb0(%rbp)
movaps %xmm2, -0xa0(%rbp)
movaps %xmm3, -0x90(%rbp)
movaps %xmm4, -0x80(%rbp)
movaps %xmm5, -0x70(%rbp)
movaps %xmm6, -0x60(%rbp)
movaps %xmm7, -0x50(%rbp)
cmpl $0xea1495ba, 0x60c37(%rip) # imm = 0xEA1495BA
jne 0x26bd6
pushq $-0x4
popq %rbx
movl %ebx, %eax
addq $0xd8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq -0xf0(%rbp), %rax
movq %rax, -0x20(%rbp)
leaq 0x10(%rbp), %rax
movq %rax, -0x28(%rbp)
movabsq $0x3000000008, %rax     # imm = 0x3000000008
movq %rax, -0x30(%rbp)
pushq $-0x18
popq %r14
decl %edi
cmpl $0x7, %edi
ja 0x26f7f
leaq 0x3b903(%rip), %rax     # 0x62510
movslq (%rax,%rdi,4), %rcx
addq %rax, %rcx
jmpq *%rcx
movl -0x30(%rbp), %ecx
cmpq $0x28, %rcx
ja 0x26e3a
movq %rcx, %rax
addq -0x20(%rbp), %rax
addl $0x8, %ecx
movl %ecx, -0x30(%rbp)
jmp 0x26e46
movl $0x2, 0x60b69(%rip)     # 0x877a8
xorl %ebx, %ebx
pushq $0x5
jmp 0x26c72
movl -0x30(%rbp), %ecx
cmpq $0x28, %rcx
ja 0x26d12
movq %rcx, %rax
addq -0x20(%rbp), %rax
addl $0x8, %ecx
movl %ecx, -0x30(%rbp)
jmp 0x26d1e
movl $0x1, 0x60b3a(%rip)     # 0x877a8
xorl %ebx, %ebx
pushq $0x4
popq %rdi
xorl %eax, %eax
callq 0x2bf6b
jmp 0x26bc6
movl -0x30(%rbp), %ecx
cmpq $0x28, %rcx
ja 0x26dcf
movq %rcx, %rax
addq -0x20(%rbp), %rax
addl $0x8, %ecx
movl %ecx, -0x30(%rbp)
jmp 0x26ddb
movl -0x30(%rbp), %edx
cmpq $0x29, %rdx
jae 0x26e73
movq -0x20(%rbp), %rax
movq %rdx, %rsi
addq $0x8, %rsi
movl %esi, -0x30(%rbp)
movq (%rax,%rdx), %rcx
cmpl $0x21, %edx
jae 0x26f50
addq %rsi, %rax
addl $0x10, %edx
movl %edx, -0x30(%rbp)
jmp 0x26f5c
movl -0x30(%rbp), %ecx
cmpq $0x28, %rcx
ja 0x26e87
movq %rcx, %rax
addq -0x20(%rbp), %rax
addl $0x8, %ecx
movl %ecx, -0x30(%rbp)
jmp 0x26e93
movl -0x30(%rbp), %ecx
cmpq $0x28, %rcx
ja 0x26ead
movq %rcx, %rax
addq -0x20(%rbp), %rax
addl $0x8, %ecx
movl %ecx, -0x30(%rbp)
jmp 0x26eb9
movq -0x28(%rbp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, -0x28(%rbp)
movq (%rax), %r15
cmpq $0x0, 0x20(%r15)
je 0x26f7f
cmpq $0x0, 0x30(%r15)
je 0x26f7f
cmpq $0x0, 0x10(%r15)
je 0x26f7f
movq 0x60a4f(%rip), %rax     # 0x87798
testq %rax, %rax
je 0x26d7f
movq 0x60a4b(%rip), %rdi     # 0x877a0
testq %rdi, %rdi
je 0x26d6c
movq 0x18(%rax), %rcx
testq %rcx, %rcx
je 0x26d6c
callq *%rcx
movq 0x60a2c(%rip), %rax     # 0x87798
movq 0x8(%rax), %rax
testq %rax, %rax
je 0x26d77
callq *%rax
andq $0x0, 0x60a21(%rip)     # 0x877a0
movq (%r15), %rax
testq %rax, %rax
je 0x26d93
callq *%rax
movl %eax, %ebx
testl %eax, %eax
jne 0x26bc6
pushq $0x1
popq %rdi
callq *0x10(%r15)
movq %rax, 0x609ff(%rip)     # 0x877a0
testq %rax, %rax
je 0x26f74
movq %r15, 0x609e7(%rip)     # 0x87798
xorl %ebx, %ebx
cmpl $0x0, 0x609ee(%rip)     # 0x877a8
jne 0x26bc6
movl $0x2, 0x609de(%rip)     # 0x877a8
jmp 0x26bc6
movq -0x28(%rbp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, -0x28(%rbp)
movl (%rax), %eax
leal -0x200(%rax), %ecx
pushq $-0x9
popq %rbx
cmpl $0xfe00, %ecx           # imm = 0xFE00
ja 0x26bc6
movl %eax, %ecx
shrl %ecx
andl $0x55555555, %ecx       # imm = 0x55555555
movl %eax, %edx
subl %ecx, %edx
movl $0x33333333, %ecx       # imm = 0x33333333
movl %edx, %esi
andl %ecx, %esi
shrl $0x2, %edx
andl %ecx, %edx
addl %esi, %edx
movl %edx, %ecx
shrl $0x4, %ecx
addl %edx, %ecx
andl $0xf0f0f0f, %ecx        # imm = 0xF0F0F0F
imull $0x1010101, %ecx, %ecx  # imm = 0x1010101
shrl $0x18, %ecx
cmpl $0x1, %ecx
ja 0x26bc6
movl %eax, 0x609a3(%rip)     # 0x877d8
jmp 0x26f6d
movq -0x28(%rbp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, -0x28(%rbp)
movq (%rax), %rsi
movq 0x608b0(%rip), %rdx     # 0x87700
movq 0x608b1(%rip), %rcx     # 0x87708
leaq 0x60882(%rip), %rdi     # 0x876e0
testq %rsi, %rsi
je 0x26f43
callq 0x2befd
movl %eax, %ebx
jmp 0x26bc6
movq -0x28(%rbp), %rcx
leaq 0x8(%rcx), %rax
movq %rax, -0x28(%rbp)
movq (%rcx), %rcx
jmp 0x26f54
movq -0x28(%rbp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, -0x28(%rbp)
movq (%rax), %rax
xorl %ebx, %ebx
testq %rax, %rax
je 0x26bc6
movq %rax, 0x60938(%rip)     # 0x877e0
jmp 0x26bc6
movq -0x28(%rbp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, -0x28(%rbp)
movq (%rax), %rax
movq %rax, -0x38(%rbp)
pushq $-0x9
popq %rbx
testq %rax, %rax
je 0x26bc6
movq (%rax), %rcx
testq %rcx, %rcx
je 0x26bc6
cmpb $0x0, (%rcx)
je 0x26bc6
cmpq $0x0, 0x50(%rax)
je 0x26bc6
cmpq $0x0, 0xa0(%rax)
je 0x26bc6
cmpq $0x0, 0x90(%rax)
je 0x26bc6
cmpq $0x0, 0x98(%rax)
je 0x26bc6
cmpq $0x0, 0x88(%rax)
je 0x26bc6
cmpl $0x8, 0x8(%rax)
jl 0x26bc6
leaq 0x6087b(%rip), %rdi     # 0x877b0
leaq -0x38(%rbp), %rsi
callq 0x2be00
jmp 0x26e6c
movq %rdx, %rsi
movq %rcx, %rdx
callq 0x2bec2
jmp 0x26f6d
movq -0x28(%rbp), %rax
leaq 0x8(%rax), %rdx
movq %rdx, -0x28(%rbp)
movq (%rax), %rax
movq %rcx, 0x6079a(%rip)     # 0x87700
movq %rax, 0x6079b(%rip)     # 0x87708
xorl %ebx, %ebx
jmp 0x26bc6
movq 0x8(%r15), %rax
testq %rax, %rax
je 0x26f7f
callq *%rax
movl %r14d, %ebx
jmp 0x26bc6