// File: /workspace/github_c_makefile_star2_O1/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: unqliteKvIopageWrite
static int unqliteKvIopageWrite(unqlite_page *pPage)
{
	int rc;
	if( pPage == 0 ){
		/* TICKET 1433-0348 */
		return UNQLITE_OK;
	}
	rc = unqlitePageWrite(pPage);
	return rc;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x118, %rsp            # imm = 0x118
testq %rdi, %rdi
je 0x3b25c
movq %rdi, %r14
movq 0x18(%rdi), %rbx
movq %rbx, %rdi
callq 0x32cfc
movl %eax, %r15d
testl %eax, %eax
jne 0x3b25f
cmpl $0x2, 0x1f0(%rbx)
jne 0x3ae58
xorl %r15d, %r15d
cmpl $0x0, 0x1fc(%rbx)
jne 0x3adb8
cmpl $0x0, 0x204(%rbx)
je 0x3ae04
testl %r15d, %r15d
je 0x3adf5
movq 0x38(%rbx), %r12
testq %r12, %r12
je 0x3adde
movq (%rbx), %r13
movq (%r12), %rax
movq %r12, %rdi
callq *0x8(%rax)
movq %r13, %rdi
movq %r12, %rsi
callq 0x3503f
movq 0x20(%rbx), %rsi
movq 0x28(%rbx), %rdi
xorl %edx, %edx
callq *0x20(%rdi)
movq $0x0, 0x38(%rbx)
jmp 0x3ae4f
movl $0x3, 0x1f0(%rbx)
xorl %r15d, %r15d
jmp 0x3ae4f
movq 0x20(%rbx), %rsi
movq 0x28(%rbx), %rdi
movl $0x1, %edx
callq *0x20(%rdi)
movq 0x28(%rbx), %rdi
movq (%rbx), %rsi
movq 0x20(%rbx), %rdx
leaq 0x38(%rbx), %rcx
movl $0x6, %r8d
callq 0x3bd28
testl %eax, %eax
je 0x3b121
movl %eax, %r15d
movq 0x8(%rbx), %rdi
movq 0x20(%rbx), %rdx
leaq 0x3aebf(%rip), %rsi     # 0x75d07
xorl %eax, %eax
callq 0x3ac51
testl %r15d, %r15d
jne 0x3b25f
cmpl $0x80, 0x240(%rbx)
jb 0x3ae94
leaq -0x2c(%rbp), %rsi
movl $0x0, (%rsi)
xorl %r15d, %r15d
movq %rbx, %rdi
xorl %edx, %edx
callq 0x3c54f
testl %eax, %eax
je 0x3af8d
testl %r15d, %r15d
je 0x3ae94
leaq 0x3ae5e(%rip), %rsi     # 0x75ced
jmp 0x3b251
cmpl $0x0, 0x1fc(%rbx)
jne 0x3b1e4
cmpl $0x0, 0x204(%rbx)
jne 0x3b1e4
movq 0x10(%r14), %r15
cmpq 0x48(%rbx), %r15
jae 0x3b1e4
movq 0x198(%rbx), %rdi
movq %r15, %rsi
callq 0x3c7bd
testl %eax, %eax
jne 0x3b1e4
cmpl $-0x1, 0x60(%rbx)
je 0x3b1c8
movq 0x38(%rbx), %rdi
movq 0x170(%rbx), %rdx
movq %r15, %rsi
callq 0x3c818
testl %eax, %eax
jne 0x3af85
movq (%r14), %rsi
movslq 0x208(%rbx), %rdx
movq 0x38(%rbx), %rdi
movq 0x170(%rbx), %rcx
addq $0x8, %rcx
movq (%rdi), %rax
callq *0x18(%rax)
testl %eax, %eax
jne 0x3af85
movl 0x168(%rbx), %eax
movslq 0x208(%rbx), %rcx
cmpq $0xc9, %rcx
jl 0x3af55
movq (%r14), %rdx
leaq 0xc8(%rcx), %rsi
movzbl -0x190(%rdx,%rsi), %edi
addl %edi, %eax
addq $-0xc8, %rsi
cmpq $0x190, %rsi            # imm = 0x190
jg 0x3af3b
movq 0x38(%rbx), %rdi
movq 0x170(%rbx), %rdx
addq %rdx, %rcx
addq $0x8, %rcx
bswapl %eax
leaq -0x140(%rbp), %rsi
movl %eax, (%rsi)
movq (%rdi), %rax
movl $0x4, %edx
callq *0x18(%rax)
testl %eax, %eax
je 0x3b274
movl %eax, %r15d
jmp 0x3b1de
movq 0x238(%rbx), %r12
xorl %r15d, %r15d
testq %r12, %r12
je 0x3b050
leaq -0x140(%rbp), %rdi
movl $0x100, %edx            # imm = 0x100
xorl %esi, %esi
callq 0xc360
movq %r12, %rax
movq 0x60(%r12), %r12
movq $0x0, 0x60(%rax)
xorl %r13d, %r13d
movq -0x140(%rbp,%r13,8), %rdi
testq %rdi, %rdi
je 0x3aff4
movq %rax, %rsi
callq 0x3c660
movq $0x0, -0x140(%rbp,%r13,8)
incq %r13
cmpq $0x1f, %r13
jne 0x3afc6
movb $0x1, %cl
jmp 0x3b003
movq %rax, -0x140(%rbp,%r13,8)
cmpq $0x1f, %r13
sete %cl
testb %cl, %cl
je 0x3b017
movq -0x48(%rbp), %rdi
movq %rax, %rsi
callq 0x3c660
movq %rax, -0x48(%rbp)
testq %r12, %r12
jne 0x3afb3
movl $0x1, %r13d
movq -0x140(%rbp), %r12
movq -0x140(%rbp,%r13,8), %rsi
movq %r12, %rdi
callq 0x3c660
movq %rax, %r12
incq %r13
cmpq $0x20, %r13
jne 0x3b029
movq $0x0, 0x58(%r12)
jmp 0x3b053
xorl %r12d, %r12d
testq %r12, %r12
je 0x3ae83
cmpl $0x0, -0x2c(%rbp)
je 0x3b077
movq %rbx, %rdi
movl $0x4, %esi
callq 0x3bdf4
testl %eax, %eax
jne 0x3ae83
orb $0x2, 0x1f8(%rbx)
leaq 0x220(%rbx), %rax
movq %rax, -0x40(%rbp)
leaq 0x218(%rbx), %rax
movq %rax, -0x38(%rbp)
movq 0x60(%r12), %r13
testb $0x8, 0x20(%r12)
jne 0x3b0c7
movq 0x30(%rbx), %rdi
movq (%r12), %rsi
movslq 0x208(%rbx), %rdx
movq 0x10(%r12), %rcx
imulq %rdx, %rcx
movq (%rdi), %rax
callq *0x18(%rax)
testl %eax, %eax
jne 0x3b17d
andb $-0x6f, 0x20(%r12)
movq 0x40(%r12), %rax
leaq 0x38(%rax), %rcx
testq %rax, %rax
cmoveq -0x40(%rbp), %rcx
movq 0x38(%r12), %rdx
movq %rdx, (%rcx)
movq 0x38(%r12), %rcx
leaq 0x40(%rcx), %rdx
testq %rcx, %rcx
cmoveq -0x38(%rbp), %rdx
movq %rax, (%rdx)
movq %rbx, %rdi
movq %r12, %rsi
callq 0x3c701
movq %rbx, %rdi
movq %r12, %rsi
callq 0x3c77b
movq %r13, %r12
testq %r13, %r13
jne 0x3b094
xorl %r15d, %r15d
jmp 0x3b180
movq (%rbx), %rdi
movl 0x20c(%rbx), %esi
callq 0x343ed
testq %rax, %rax
je 0x3b1bd
movq %rax, %r12
movq %rbx, %rdi
movq %rax, %rsi
callq 0x3c4f6
movq 0x38(%rbx), %rdi
movslq 0x20c(%rbx), %rdx
movq (%rdi), %rax
movq %r12, %rsi
xorl %ecx, %ecx
callq *0x18(%rax)
movl %eax, %r15d
movslq 0x20c(%rbx), %rax
movq %rax, 0x170(%rbx)
movq (%rbx), %rdi
movq %r12, %rsi
callq 0x3503f
jmp 0x3adb8
movl %eax, %r15d
testl %r15d, %r15d
je 0x3b1a1
orb $0x1, 0x1f8(%rbx)
movq 0x8(%rbx), %rdi
leaq 0x3ab98(%rip), %rsi     # 0x75d2f
callq 0x31af5
jmp 0x3ae83
xorps %xmm0, %xmm0
movups %xmm0, 0x230(%rbx)
movl $0x0, 0x240(%rbx)
xorl %r15d, %r15d
jmp 0x3ae83
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
jmp 0x3adbd
movq 0x8(%rbx), %rdi
leaq 0x3ab9b(%rip), %rsi     # 0x75d6e
callq 0x31af5
movl $0xfffffff9, %r15d      # imm = 0xFFFFFFF9
xorl %eax, %eax
testb %al, %al
je 0x3b25f
movl 0x20(%r14), %eax
testb $0x2, %al
jne 0x3b227
orl $0x26, %eax
movl %eax, 0x20(%r14)
movq $0x0, 0x40(%r14)
movq 0x220(%rbx), %rax
movq %rax, 0x38(%r14)
testq %rax, %rax
je 0x3b20f
movq %r14, 0x40(%rax)
movq %r14, 0x220(%rbx)
cmpq $0x0, 0x218(%rbx)
jne 0x3b227
movq %r14, 0x218(%rbx)
movq 0x10(%r14), %rax
incq %rax
cmpq 0x40(%rbx), %rax
jbe 0x3b25c
movq %rax, 0x40(%rbx)
movl $0x0, %r15d
cmpq $-0x1, %rax
jne 0x3b25f
movl $0xfffffff9, %r15d      # imm = 0xFFFFFFF9
leaq 0x3ab4f(%rip), %rsi     # 0x75da0
movq 0x8(%rbx), %rdi
callq 0x31af5
jmp 0x3b25f
xorl %r15d, %r15d
movl %r15d, %eax
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movslq 0x208(%rbx), %rax
movq 0x170(%rbx), %rcx
movq 0x198(%rbx), %rdi
addq %rcx, %rax
addq $0xc, %rax
movq %rax, 0x170(%rbx)
incl 0x60(%rbx)
movq 0x10(%r14), %rsi
callq 0x3c842
movb $0x1, %al
jmp 0x3b1e0