// File: /workspace/github_c_makefile_star2_O1/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 0x2d923
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)
movl $0xfffffffc, %ebx       # imm = 0xFFFFFFFC
cmpl $0xea1495ba, 0x68ea6(%rip) # imm = 0xEA1495BA
jne 0x2d944
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)
decl %edi
cmpl $0x7, %edi
ja 0x2dd1b
leaq 0x46ba9(%rip), %rax     # 0x74520
movslq (%rax,%rdi,4), %rcx
addq %rax, %rcx
jmpq *%rcx
movl -0x30(%rbp), %ecx
cmpq $0x28, %rcx
ja 0x2db99
movq %rcx, %rax
addq -0x20(%rbp), %rax
addl $0x8, %ecx
movl %ecx, -0x30(%rbp)
jmp 0x2dba5
movl $0x2, 0x68ddf(%rip)     # 0x96788
xorl %ebx, %ebx
movl $0x5, %edi
jmp 0x2d9e2
movl -0x30(%rbp), %ecx
cmpq $0x28, %rcx
ja 0x2da6a
movq %rcx, %rax
addq -0x20(%rbp), %rax
addl $0x8, %ecx
movl %ecx, -0x30(%rbp)
jmp 0x2da76
movl $0x1, 0x68dad(%rip)     # 0x96788
xorl %ebx, %ebx
movl $0x4, %edi
xorl %eax, %eax
callq 0x3382e
jmp 0x2d934
movl -0x30(%rbp), %ecx
cmpq $0x28, %rcx
ja 0x2db2c
movq %rcx, %rax
addq -0x20(%rbp), %rax
addl $0x8, %ecx
movl %ecx, -0x30(%rbp)
jmp 0x2db38
movl -0x30(%rbp), %ecx
cmpq $0x28, %rcx
ja 0x2dbd8
movq %rcx, %rax
addq -0x20(%rbp), %rax
addl $0x8, %ecx
movl %ecx, -0x30(%rbp)
jmp 0x2dbe4
movl -0x30(%rbp), %ecx
cmpq $0x28, %rcx
ja 0x2dc23
movq %rcx, %rax
addq -0x20(%rbp), %rax
addl $0x8, %ecx
movl %ecx, -0x30(%rbp)
jmp 0x2dc2f
movl -0x30(%rbp), %ecx
cmpq $0x28, %rcx
ja 0x2dc49
movq %rcx, %rax
addq -0x20(%rbp), %rax
addl $0x8, %ecx
movl %ecx, -0x30(%rbp)
jmp 0x2dc55
movq -0x28(%rbp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, -0x28(%rbp)
movq (%rax), %r14
cmpq $0x0, 0x20(%r14)
je 0x2dd1b
cmpq $0x0, 0x30(%r14)
je 0x2dd1b
cmpq $0x0, 0x10(%r14)
je 0x2dd1b
movq 0x68cd7(%rip), %rax     # 0x96778
testq %rax, %rax
je 0x2dada
movq 0x68cd3(%rip), %rdi     # 0x96780
testq %rdi, %rdi
je 0x2dabd
movq 0x18(%rax), %rax
testq %rax, %rax
je 0x2dabd
callq *%rax
movq 0x68cb4(%rip), %rax     # 0x96778
movq 0x8(%rax), %rax
testq %rax, %rax
je 0x2dacf
callq *%rax
movq $0x0, 0x68ca6(%rip) # 0x96780
movq (%r14), %rax
testq %rax, %rax
je 0x2daee
callq *%rax
movl %eax, %ebx
testl %eax, %eax
jne 0x2d934
movl $0x1, %edi
callq *0x10(%r14)
movq %rax, 0x68c82(%rip)     # 0x96780
testq %rax, %rax
je 0x2dd10
movq %r14, 0x68c6a(%rip)     # 0x96778
xorl %ebx, %ebx
cmpl $0x0, 0x68c71(%rip)     # 0x96788
jne 0x2d934
movl $0x2, 0x68c61(%rip)     # 0x96788
jmp 0x2d934
movq -0x28(%rbp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, -0x28(%rbp)
movl (%rax), %eax
leal -0x200(%rax), %ecx
movl $0xfffffff7, %ebx       # imm = 0xFFFFFFF7
cmpl $0xfe00, %ecx           # imm = 0xFE00
ja 0x2d934
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 0x2d934
movl %eax, 0x68c24(%rip)     # 0x967b8
jmp 0x2dc1c
movq -0x28(%rbp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, -0x28(%rbp)
movq (%rax), %rsi
movq 0x68b31(%rip), %r15     # 0x966e0
movq 0x68b32(%rip), %r14     # 0x966e8
leaq 0x68b03(%rip), %rdi     # 0x966c0
testq %rsi, %rsi
je 0x2dce1
movq %r15, %rdx
movq %r14, %rcx
callq 0x337c4
movl %eax, %ebx
jmp 0x2d934
movq -0x28(%rbp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, -0x28(%rbp)
movq (%rax), %rax
movl -0x30(%rbp), %edx
cmpq $0x28, %rdx
ja 0x2dbff
movq %rdx, %rcx
addq -0x20(%rbp), %rcx
addl $0x8, %edx
movl %edx, -0x30(%rbp)
jmp 0x2dc0b
movq -0x28(%rbp), %rcx
leaq 0x8(%rcx), %rdx
movq %rdx, -0x28(%rbp)
movq (%rcx), %rcx
movq %rax, 0x68acb(%rip)     # 0x966e0
movq %rcx, 0x68acc(%rip)     # 0x966e8
xorl %ebx, %ebx
jmp 0x2d934
movq -0x28(%rbp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, -0x28(%rbp)
movq (%rax), %rax
xorl %ebx, %ebx
testq %rax, %rax
je 0x2d934
movq %rax, 0x68b7c(%rip)     # 0x967c0
jmp 0x2d934
movq -0x28(%rbp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, -0x28(%rbp)
movq (%rax), %rax
movq %rax, -0x38(%rbp)
movl $0xfffffff7, %ebx       # imm = 0xFFFFFFF7
testq %rax, %rax
je 0x2d934
movq (%rax), %rcx
testq %rcx, %rcx
je 0x2d934
cmpb $0x0, (%rcx)
je 0x2d934
cmpq $0x0, 0x50(%rax)
je 0x2d934
cmpq $0x0, 0xa0(%rax)
je 0x2d934
cmpq $0x0, 0x90(%rax)
je 0x2d934
cmpq $0x0, 0x98(%rax)
je 0x2d934
cmpq $0x0, 0x88(%rax)
je 0x2d934
cmpl $0x8, 0x8(%rax)
jl 0x2d934
leaq 0x68abd(%rip), %rdi     # 0x96790
leaq -0x38(%rbp), %rsi
callq 0x336fc
jmp 0x2dbd1
xorl %ebx, %ebx
movl $0xb8, %edx
xorl %esi, %esi
callq 0xc360
movq %r15, 0x689ea(%rip)     # 0x966e0
movq %r14, 0x689eb(%rip)     # 0x966e8
leaq 0x64f3c(%rip), %rax     # 0x92c40
movq %rax, 0x689bd(%rip)     # 0x966c8
jmp 0x2d934
movq 0x8(%r14), %rax
testq %rax, %rax
je 0x2dd1b
callq *%rax
movl $0xffffffe8, %ebx       # imm = 0xFFFFFFE8
jmp 0x2d934