// File: /workspace/github_c_makefile_star2_O2/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:
xorl %eax, %eax
testq %rdi, %rdi
je 0x32a27
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x118, %rsp            # imm = 0x118
movq %rdi, %r15
movq 0x18(%rdi), %rbx
movq %rbx, %rdi
callq 0x2b42e
testl %eax, %eax
jne 0x32a16
cmpl $0x2, 0x1f0(%rbx)
jne 0x32980
cmpl $0x0, 0x1fc(%rbx)
jne 0x32976
cmpl $0x0, 0x204(%rbx)
je 0x32baa
movl $0x3, 0x1f0(%rbx)
cmpl $0x80, 0x240(%rbx)
jb 0x329a5
leaq -0x2c(%rbp), %rsi
andl $0x0, (%rsi)
movq %rbx, %rdi
xorl %edx, %edx
callq 0x33d76
testl %eax, %eax
je 0x32a28
cmpl $0x0, 0x1fc(%rbx)
jne 0x329d8
cmpl $0x0, 0x204(%rbx)
jne 0x329d8
movq 0x10(%r15), %r12
cmpq 0x48(%rbx), %r12
jae 0x329d8
movq 0x198(%rbx), %rdi
movq %r12, %rsi
callq 0x33f81
testl %eax, %eax
je 0x32cb8
movq %rbx, %rdi
movq %r15, %rsi
callq 0x340da
movq 0x10(%r15), %rax
incq %rax
cmpq 0x40(%rbx), %rax
jbe 0x32a14
movq %rax, 0x40(%rbx)
cmpq $-0x1, %rax
movl $0x0, %eax
jne 0x32a16
movq 0x8(%rbx), %rdi
leaq 0x3137e(%rip), %rsi     # 0x63d88
callq 0x2a542
pushq $-0x7
popq %rax
jmp 0x32a16
xorl %eax, %eax
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpq $0x0, 0x238(%rbx)
je 0x329a5
leaq -0x140(%rbp), %rdi
movl $0x100, %esi            # imm = 0x100
callq 0x27aea
movq 0x238(%rbx), %rsi
testq %rsi, %rsi
je 0x32aa7
movq 0x60(%rsi), %r14
andq $0x0, 0x60(%rsi)
xorl %r12d, %r12d
cmpq $0x1f, %r12
je 0x32a88
movq -0x140(%rbp,%r12,8), %rdi
testq %rdi, %rdi
je 0x32a9a
callq 0x33e5d
movq %rax, %rsi
andq $0x0, -0x140(%rbp,%r12,8)
incq %r12
jmp 0x32a5f
movq -0x48(%rbp), %rdi
callq 0x33e5d
movq %rax, -0x48(%rbp)
movq %r14, %rsi
jmp 0x32a4e
movq %rsi, -0x140(%rbp,%r12,8)
movq %r14, %rsi
jmp 0x32a4e
pushq $0x1
popq %r14
movq -0x140(%rbp), %r12
cmpq $0x20, %r14
je 0x32ad0
movq -0x140(%rbp,%r14,8), %rsi
movq %r12, %rdi
callq 0x33e5d
movq %rax, %r12
incq %r14
jmp 0x32ab2
andq $0x0, 0x58(%r12)
cmpl $0x0, -0x2c(%rbp)
je 0x32aef
pushq $0x4
popq %rsi
movq %rbx, %rdi
callq 0x336d2
testl %eax, %eax
jne 0x329a5
movq %r15, -0x38(%rbp)
orb $0x2, 0x1f8(%rbx)
leaq 0x220(%rbx), %r13
leaq 0x218(%rbx), %r15
testq %r12, %r12
je 0x32bf5
movq 0x60(%r12), %r14
movl 0x20(%r12), %eax
testb $0x8, %al
jne 0x32b5e
movq %r14, -0x40(%rbp)
movq %r15, %r14
movq %r13, %r15
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 0x32d79
movl 0x20(%r12), %eax
movq %r15, %r13
movq %r14, %r15
movq -0x40(%rbp), %r14
andl $-0x6f, %eax
movl %eax, 0x20(%r12)
movq 0x38(%r12), %rax
movq 0x40(%r12), %rcx
leaq 0x38(%rcx), %rdx
testq %rcx, %rcx
cmoveq %r13, %rdx
movq %rax, (%rdx)
leaq 0x40(%rax), %rdx
testq %rax, %rax
cmoveq %r15, %rdx
movq %rcx, (%rdx)
movq %rbx, %rdi
movq %r12, %rsi
callq 0x33ed0
movq %rbx, %rdi
movq %r12, %rsi
callq 0x33f42
movq %r14, %r12
jmp 0x32b08
movq 0x20(%rbx), %rsi
movq 0x28(%rbx), %rdi
pushq $0x1
popq %rdx
callq *0x20(%rdi)
movq 0x28(%rbx), %rdi
movq (%rbx), %rsi
movq 0x20(%rbx), %rdx
leaq 0x38(%rbx), %rcx
pushq $0x6
popq %r8
callq 0x33642
testl %eax, %eax
je 0x32c0f
movl %eax, %r12d
movq 0x8(%rbx), %rdi
movq 0x20(%rbx), %rdx
leaq 0x31109(%rip), %rsi     # 0x63cef
xorl %eax, %eax
callq 0x32836
movl %r12d, %eax
jmp 0x32a16
xorps %xmm0, %xmm0
movups %xmm0, 0x230(%rbx)
andl $0x0, 0x240(%rbx)
movq -0x38(%rbp), %r15
jmp 0x329a5
movq (%rbx), %rdi
movl 0x20c(%rbx), %esi
callq 0x2ca19
testq %rax, %rax
je 0x32da5
movq %rax, %r12
leaq 0x2ff86(%rip), %rdi     # 0x62bb6
pushq $0x8
popq %rdx
movq %rax, %rsi
callq 0x2d3b0
andl $0x0, 0x8(%r12)
movl 0x168(%rbx), %eax
bswapl %eax
movl %eax, 0xc(%r12)
movq %r12, %rdi
addq $0x10, %rdi
movq 0x48(%rbx), %rsi
callq 0x2f66d
movl 0x20c(%rbx), %eax
bswapl %eax
movl %eax, 0x18(%r12)
movl 0x208(%rbx), %eax
bswapl %eax
movl %eax, 0x1c(%r12)
movq 0x38(%rbx), %rdi
movslq 0x20c(%rbx), %rdx
movq (%rdi), %rax
movq %r12, %rsi
xorl %ecx, %ecx
callq *0x18(%rax)
movl %eax, %r13d
movslq 0x20c(%rbx), %rax
movq %rax, 0x170(%rbx)
movq (%rbx), %rdi
movq %r12, %rsi
callq 0x2d420
testl %r13d, %r13d
jne 0x32da9
jmp 0x32976
cmpl $-0x1, 0x60(%rbx)
je 0x32dcf
movq 0x38(%rbx), %rdi
bswapq %r12
movq 0x170(%rbx), %rcx
leaq -0x140(%rbp), %rsi
movq %r12, (%rsi)
movq (%rdi), %rax
pushq $0x8
popq %rdx
callq *0x18(%rax)
testl %eax, %eax
jne 0x32a16
movq (%r15), %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 0x32a16
movq (%r15), %rsi
movq %rbx, %rdi
callq 0x33cfe
movq 0x38(%rbx), %rdi
movq 0x170(%rbx), %rcx
movslq 0x208(%rbx), %rdx
addq %rcx, %rdx
addq $0x8, %rdx
movl %eax, %esi
callq 0x33e37
testl %eax, %eax
jne 0x32a16
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(%r15), %rsi
callq 0x33fdc
jmp 0x329d8
movl %eax, %r13d
orb $0x1, 0x1f8(%rbx)
movq 0x8(%rbx), %rdi
leaq 0x30f89(%rip), %rsi     # 0x63d17
callq 0x2a542
movq 0x8(%rbx), %rdi
leaq 0x30f37(%rip), %rsi     # 0x63cd5
callq 0x2a542
jmp 0x32dc7
pushq $-0x1
popq %r13
movq (%rbx), %rdi
movq 0x38(%rbx), %rsi
callq 0x33c59
movq 0x20(%rbx), %rsi
movq 0x28(%rbx), %rdi
xorl %edx, %edx
callq *0x20(%rdi)
andq $0x0, 0x38(%rbx)
movl %r13d, %eax
jmp 0x32a16
movq 0x8(%rbx), %rdi
leaq 0x30f7c(%rip), %rsi     # 0x63d56
jmp 0x32a0a