// File: /workspace/github_c_makefile_star2_O3/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 0x3a5bf
movq %rdi, %r14
movq 0x18(%rdi), %rbx
movq %rbx, %rdi
callq 0x326c5
testl %eax, %eax
je 0x3a4bc
movl %eax, %r15d
jmp 0x3a5c2
cmpl $0x2, 0x1f0(%rbx)
jne 0x3a4e5
cmpl $0x0, 0x1fc(%rbx)
jne 0x3a4db
cmpl $0x0, 0x204(%rbx)
je 0x3a775
movl $0x3, 0x1f0(%rbx)
cmpl $0x80, 0x240(%rbx)
jb 0x3a50d
leaq -0x2c(%rbp), %rsi
movl $0x0, (%rsi)
movq %rbx, %rdi
xorl %edx, %edx
callq 0x3bbd4
testl %eax, %eax
je 0x3a5d7
cmpl $0x0, 0x1fc(%rbx)
jne 0x3a547
cmpl $0x0, 0x204(%rbx)
jne 0x3a547
movq 0x10(%r14), %r15
cmpq 0x48(%rbx), %r15
jae 0x3a547
movq 0x198(%rbx), %rax
movl 0xc(%rax), %edi
movq 0x10(%rax), %rsi
movq %r15, %rdx
callq 0x3be36
testl %eax, %eax
je 0x3a829
movl 0x20(%r14), %eax
testb $0x2, %al
jne 0x3a58a
orl $0x26, %eax
movl %eax, 0x20(%r14)
movq $0x0, 0x40(%r14)
movq 0x220(%rbx), %rax
movq %rax, 0x38(%r14)
testq %rax, %rax
je 0x3a572
movq %r14, 0x40(%rax)
movq %r14, 0x220(%rbx)
cmpq $0x0, 0x218(%rbx)
jne 0x3a58a
movq %r14, 0x218(%rbx)
movq 0x10(%r14), %rax
incq %rax
cmpq 0x40(%rbx), %rax
jbe 0x3a5bf
movq %rax, 0x40(%rbx)
movl $0x0, %r15d
cmpq $-0x1, %rax
jne 0x3a5c2
movq 0x8(%rbx), %rdi
leaq 0x397f6(%rip), %rsi     # 0x73da8
callq 0x31537
movl $0xfffffff9, %r15d      # imm = 0xFFFFFFF9
jmp 0x3a5c2
xorl %r15d, %r15d
movl %r15d, %eax
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x238(%rbx), %r15
testq %r15, %r15
je 0x3a50d
leaq -0x140(%rbp), %rdi
movl $0x100, %edx            # imm = 0x100
xorl %esi, %esi
callq 0xc360
movq %r15, %rax
movq 0x60(%r15), %r15
movq $0x0, 0x60(%rax)
xorl %r12d, %r12d
movq -0x140(%rbp,%r12,8), %rdi
testq %rdi, %rdi
je 0x3a648
movq %rax, %rsi
callq 0x3bce1
movq $0x0, -0x140(%rbp,%r12,8)
incq %r12
cmpq $0x1f, %r12
jne 0x3a60c
movq -0x48(%rbp), %rdi
movq %rax, %rsi
callq 0x3bce1
movq %rax, -0x48(%rbp)
jmp 0x3a650
movq %rax, -0x140(%rbp,%r12,8)
testq %r15, %r15
jne 0x3a5fa
movl $0x1, %r15d
movq -0x140(%rbp), %r12
movq -0x140(%rbp,%r15,8), %rsi
movq %r12, %rdi
callq 0x3bce1
movq %rax, %r12
incq %r15
cmpq $0x20, %r15
jne 0x3a662
movq $0x0, 0x58(%r12)
cmpl $0x0, -0x2c(%rbp)
je 0x3a6a2
movq %rbx, %rdi
movl $0x4, %esi
callq 0x3b475
testl %eax, %eax
jne 0x3a50d
movq %r14, -0x38(%rbp)
orb $0x2, 0x1f8(%rbx)
leaq 0x220(%rbx), %r15
leaq 0x218(%rbx), %r14
movq 0x60(%r12), %r13
movl 0x20(%r12), %eax
testb $0x8, %al
jne 0x3a708
movq %r13, -0x40(%rbp)
movq %r14, %r13
movq %r15, %r14
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 0x3a913
movl 0x20(%r12), %eax
movq %r14, %r15
movq %r13, %r14
movq -0x40(%rbp), %r13
andl $-0x6f, %eax
movl %eax, 0x20(%r12)
movq 0x38(%r12), %rax
movq 0x40(%r12), %rcx
leaq 0x38(%rcx), %rdx
testq %rcx, %rcx
cmoveq %r15, %rdx
movq %rax, (%rdx)
leaq 0x40(%rax), %rdx
testq %rax, %rax
cmoveq %r14, %rdx
movq %rcx, (%rdx)
movq %rbx, %rdi
movq %r12, %rsi
callq 0x3bd82
movq %rbx, %rdi
movq %r12, %rsi
callq 0x3bdf4
movq %r13, %r12
testq %r13, %r13
jne 0x3a6bb
xorps %xmm0, %xmm0
movups %xmm0, 0x230(%rbx)
movl $0x0, 0x240(%rbx)
movq -0x38(%rbp), %r14
jmp 0x3a50d
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), %r12
movq %r12, %rcx
movl $0x6, %r8d
callq 0x3b3a9
testl %eax, %eax
je 0x3a7c4
movl %eax, %r15d
movq 0x8(%rbx), %rdi
movq 0x20(%rbx), %rdx
leaq 0x39557(%rip), %rsi     # 0x73d0f
xorl %eax, %eax
callq 0x3a376
jmp 0x3a5c2
movq (%rbx), %rdi
movl 0x20c(%rbx), %esi
callq 0x33d86
testq %rax, %rax
je 0x3a942
movq %rax, %r13
movq %rbx, %rdi
movq %rax, %rsi
callq 0x3bb7b
movq 0x38(%rbx), %rdi
movslq 0x20c(%rbx), %rdx
movq (%rdi), %rax
movq %r13, %rsi
xorl %ecx, %ecx
callq *0x18(%rax)
movl %eax, %r15d
movslq 0x20c(%rbx), %rax
movq %rax, 0x170(%rbx)
movq (%rbx), %rdi
movq %r13, %rsi
callq 0x3490d
testl %r15d, %r15d
jne 0x3a948
jmp 0x3a4db
cmpl $-0x1, 0x60(%rbx)
je 0x3a982
movq 0x38(%rbx), %rdi
movq 0x170(%rbx), %rdx
movq %r15, %rsi
callq 0x3be8d
testl %eax, %eax
jne 0x3a4b4
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 0x3a4b4
movl 0x168(%rbx), %eax
movslq 0x208(%rbx), %rcx
cmpq $0xc9, %rcx
jl 0x3a8af
movq (%r14), %rdx
leaq 0xc8(%rcx), %rsi
movzbl -0x190(%rdx,%rsi), %edi
addl %edi, %eax
addq $-0xc8, %rsi
cmpq $0x190, %rsi            # imm = 0x190
ja 0x3a895
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
jne 0x3a4b4
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 0x3beb7
jmp 0x3a547
movl %eax, %r15d
orb $0x1, 0x1f8(%rbx)
movq 0x8(%rbx), %rdi
leaq 0x3940f(%rip), %rsi     # 0x73d37
callq 0x31537
movq 0x8(%rbx), %rdi
leaq 0x393bd(%rip), %rsi     # 0x73cf5
callq 0x31537
jmp 0x3a5c2
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
movq (%r12), %r14
testq %r14, %r14
je 0x3a968
movq (%rbx), %r12
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
movq %r12, %rdi
movq %r14, %rsi
callq 0x3490d
movq 0x20(%rbx), %rsi
movq 0x28(%rbx), %rdi
xorl %edx, %edx
callq *0x20(%rdi)
movq $0x0, 0x38(%rbx)
jmp 0x3a5c2
movq 0x8(%rbx), %rdi
leaq 0x393e9(%rip), %rsi     # 0x73d76
jmp 0x3a5b2