LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9_new_array
JX9_PRIVATE jx9_value * jx9_new_array(jx9_vm *pVm)
{
	jx9_hashmap *pMap;
	jx9_value *pObj;
	/* Ticket 1433-002: NULL VM is harmless operation */
	if ( JX9_VM_MISUSE(pVm) ){
		return 0;
	}
	/* Create a new hashmap first */
	pMap = jx9NewHashmap(&(*pVm), 0, 0);
	if( pMap == 0 ){
		return 0;
	}
	/* Associate a new jx9_value with this hashmap */
	pObj = (jx9_value *)SyMemBackendPoolAlloc(&pVm->sAllocator, sizeof(jx9_value));
	if( pObj == 0 ){
		jx9HashmapRelease(pMap, TRUE);
		return 0;
	}
	jx9MemObjInitFromArray(pVm, pObj, pMap);
	return pObj;
}

// Assembly:
testq %rdi, %rdi
je 0x30d75
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
cmpl $0xdead2bad, 0x6e8(%rdi) # imm = 0xDEAD2BAD
je 0x30d85
movq %rbx, %rdi
callq 0x3ee3d
testq %rax, %rax
je 0x30d85
movq %rax, %r14
movq %rbx, %rdi
movl $0x40, %esi
callq 0x2e481
testq %rax, %rax
je 0x30d78
xorps %xmm0, %xmm0
movups %xmm0, 0xc(%rax)
movups %xmm0, 0x2c(%rax)
movups %xmm0, 0x1c(%rax)
movl $0x0, 0x3c(%rax)
movq %rbx, 0x10(%rax)
movups %xmm0, 0x20(%rax)
movq %rbx, 0x18(%rax)
movl $0x40, 0x8(%rax)
movq %r14, (%rax)
jmp 0x30d87
xorl %eax, %eax
retq
movq %r14, %rdi
movl $0x1, %esi
callq 0x3e379
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: unqlite_vm_release_value
int unqlite_vm_release_value(unqlite_vm *pVm,unqlite_value *pValue)
{
	int rc;
	if( UNQLITE_VM_MISUSE(pVm) ){
		return UNQLITE_CORRUPT;
	}
#if defined(UNQLITE_ENABLE_THREADS)
	 /* Acquire VM mutex */
	 SyMutexEnter(sUnqlMPGlobal.pMutexMethods, pVm->pMutex); /* NO-OP if sUnqlMPGlobal.nThreadingLevel != UNQLITE_THREAD_LEVEL_MULTI */
	 if( sUnqlMPGlobal.nThreadingLevel > UNQLITE_THREAD_LEVEL_SINGLE && 
		 UNQLITE_THRD_VM_RELEASE(pVm) ){
			 return UNQLITE_ABORT; /* Another thread have released this instance */
	 }
#endif
	 rc = jx9_release_value(pVm->pJx9Vm,pValue);
#if defined(UNQLITE_ENABLE_THREADS)
	 /* Leave DB mutex */
	 SyMutexLeave(sUnqlMPGlobal.pMutexMethods,pVm->pMutex); /* NO-OP if sUnqlMPGlobal.nThreadingLevel != UNQLITE_THREAD_LEVEL_MULTI */
#endif
	return rc;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl $0xffffffe8, %r15d      # imm = 0xFFFFFFE8
testq %rdi, %rdi
je 0x30e0c
movq %rdi, %rbx
cmpl $0xdead2bad, 0xf8(%rdi) # imm = 0xDEAD2BAD
je 0x30e0c
movq %rsi, %r14
movq 0xc0(%rbx), %rdi
testq %rdi, %rdi
je 0x30dc9
movq 0x639b2(%rip), %rax     # 0x94778
callq *0x20(%rax)
cmpl $0x2, 0x639b8(%rip)     # 0x94788
jb 0x30de4
movl $0xfffffff6, %r15d      # imm = 0xFFFFFFF6
cmpl $0xdead2bad, 0xf8(%rbx) # imm = 0xDEAD2BAD
je 0x30e0c
movq 0xe0(%rbx), %rdi
movq %r14, %rsi
callq 0x30e1a
movl %eax, %r15d
movq 0xc0(%rbx), %rdi
testq %rdi, %rdi
je 0x30e0c
movq 0x6396f(%rip), %rax     # 0x94778
callq *0x30(%rax)
movl %r15d, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9_release_value
JX9_PRIVATE int jx9_release_value(jx9_vm *pVm, jx9_value *pValue)
{
	/* Ticket 1433-002: NULL VM is a harmless operation */
	if ( JX9_VM_MISUSE(pVm) ){
		return JX9_CORRUPT;
	}
	if( pValue ){
		/* Release the value */
		jx9MemObjRelease(pValue);
		SyMemBackendPoolFree(&pVm->sAllocator, pValue);
	}
	return JX9_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl $0xffffffe8, %ebx       # imm = 0xFFFFFFE8
testq %rdi, %rdi
je 0x30e5a
movq %rdi, %r15
cmpl $0xdead2bad, 0x6e8(%rdi) # imm = 0xDEAD2BAD
je 0x30e5a
movq %rsi, %r14
xorl %ebx, %ebx
testq %rsi, %rsi
je 0x30e5a
movq %r14, %rdi
callq 0x30465
movq %r15, %rdi
movq %r14, %rsi
callq 0x2e659
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9_context_output
JX9_PRIVATE int jx9_context_output(jx9_context *pCtx, const char *zString, int nLen)
{
	SyString sData;
	int rc;
	if( nLen < 0 ){
		nLen = (int)SyStrlen(zString);
	}
	SyStringInitFromBuf(&sData, zString, nLen);
	rc = jx9VmOutputConsume(pCtx->pVm, &sData);
	return rc;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movl %edx, %ebx
testl %edx, %edx
jns 0x30eb8
cmpb $0x0, (%rsi)
movq %rsi, %rbx
je 0x30eb6
leaq 0x2(%rsi), %rbx
cmpb $0x0, -0x1(%rbx)
je 0x30eae
cmpb $0x0, (%rbx)
je 0x30eb6
cmpb $0x0, 0x1(%rbx)
je 0x30eb3
leaq 0x4(%rbx), %rax
cmpb $0x0, 0x2(%rbx)
movq %rax, %rbx
jne 0x30e87
addq $-0x2, %rax
movq %rax, %rbx
jmp 0x30eb6
decq %rbx
jmp 0x30eb6
incq %rbx
subl %esi, %ebx
testl %ebx, %ebx
je 0x30edc
movq 0x60(%rdi), %r14
movq 0x500(%r14), %rdx
movq %rsi, %rdi
movl %ebx, %esi
callq *0x4f8(%r14)
addl %ebx, 0x4f4(%r14)
jmp 0x30ede
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: unqlite_context_output_format
int unqlite_context_output_format(unqlite_context *pCtx,const char *zFormat, ...)
{
	va_list ap;
	int rc;
	va_start(ap, zFormat);
	rc = jx9VmOutputConsumeAp(pCtx->pVm,zFormat, ap);
	va_end(ap);
	return rc;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movq %rsi, %r10
leaq -0x110(%rbp), %rsi
movq %rdx, 0x10(%rsi)
movq %rcx, 0x18(%rsi)
movq %r8, 0x20(%rsi)
movq %r9, 0x28(%rsi)
testb %al, %al
je 0x30f43
movaps %xmm0, -0xe0(%rbp)
movaps %xmm1, -0xd0(%rbp)
movaps %xmm2, -0xc0(%rbp)
movaps %xmm3, -0xb0(%rbp)
movaps %xmm4, -0xa0(%rbp)
movaps %xmm5, -0x90(%rbp)
movaps %xmm6, -0x80(%rbp)
movaps %xmm7, -0x70(%rbp)
leaq -0x60(%rbp), %rax
movq %rsi, 0x10(%rax)
leaq 0x10(%rbp), %rcx
movq %rcx, 0x8(%rax)
movabsq $0x3000000010, %rcx     # imm = 0x3000000010
movq %rcx, (%rax)
movq 0x60(%rdi), %r14
xorps %xmm0, %xmm0
leaq -0x40(%rbp), %rbx
movups %xmm0, 0x8(%rbx)
movq %r14, (%rbx)
movl $0x0, 0x18(%rbx)
movq %rax, (%rsp)
xorl %r15d, %r15d
leaq -0x1c(%rbp), %r8
movl $0x6, %edi
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
movq %r10, %r9
callq 0x34a80
movl 0x10(%rbx), %esi
movl $0x0, %ebx
testl %esi, %esi
je 0x30fbc
movq -0x38(%rbp), %rdi
movq 0x500(%r14), %rdx
callq *0x4f8(%r14)
movl %eax, %ebx
movl -0x30(%rbp), %r15d
addl %r15d, 0x4f4(%r14)
testb $0x6, -0x28(%rbp)
jne 0x30fdc
cmpl $0x0, -0x2c(%rbp)
je 0x30fdc
movq -0x40(%rbp), %rdi
movq -0x38(%rbp), %rsi
callq 0x3490d
movl %ebx, %eax
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9_context_new_scalar
JX9_PRIVATE jx9_value * jx9_context_new_scalar(jx9_context *pCtx)
{
	jx9_value *pVal;
	pVal = jx9_new_scalar(pCtx->pVm);
	if( pVal ){
		/* Record value address so it can be freed automatically
		 * when the calling function returns. 
		 */
		SySetPut(&pCtx->sVar, (const void *)&pVal);
	}
	return pVal;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movq 0x60(%rdi), %rdi
callq 0x30c37
movq %rax, %r14
movq %rax, -0x18(%rbp)
testq %rax, %rax
je 0x3121e
addq $0x10, %rbx
leaq -0x18(%rbp), %rsi
movq %rbx, %rdi
callq 0x33094
movq %r14, %rax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9_context_new_array
JX9_PRIVATE jx9_value * jx9_context_new_array(jx9_context *pCtx)
{
	jx9_value *pVal;
	pVal = jx9_new_array(pCtx->pVm);
	if( pVal ){
		/* Record value address so it can be freed automatically
		 * when the calling function returns. 
		 */
		SySetPut(&pCtx->sVar, (const void *)&pVal);
	}
	return pVal;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movq 0x60(%rdi), %rdi
callq 0x30d0a
movq %rax, %r14
movq %rax, -0x18(%rbp)
testq %rax, %rax
je 0x31264
addq $0x10, %rbx
leaq -0x18(%rbp), %rsi
movq %rbx, %rdi
callq 0x33094
movq %r14, %rax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9_context_release_value
JX9_PRIVATE void jx9VmReleaseContextValue(
	jx9_context *pCtx, /* Call context */
	jx9_value *pValue  /* Release this value */
	)
{
	if( pValue == 0 ){
		/* NULL value is a harmless operation */
		return;
	}
	if( SySetUsed(&pCtx->sVar) > 0 ){
		jx9_value **apObj = (jx9_value **)SySetBasePtr(&pCtx->sVar);
		sxu32 n;
		for( n = 0 ; n < SySetUsed(&pCtx->sVar) ; ++n ){
			if( apObj[n] == pValue ){
				jx9MemObjRelease(pValue);
				SyMemBackendPoolFree(&pCtx->pVm->sAllocator, pValue);
				/* Mark as released */
				apObj[n] = 0;
				break;
			}
		}
	}
}

// Assembly:
testq %rsi, %rsi
je 0x312d0
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %r14
movl 0x20(%rdi), %eax
testq %rax, %rax
je 0x312c8
movq %rsi, %rbx
movq 0x18(%r14), %r15
xorl %r12d, %r12d
cmpq %rbx, (%r15,%r12,8)
je 0x312ac
incq %r12
cmpq %r12, %rax
jne 0x3129c
jmp 0x312c8
movq %rbx, %rdi
callq 0x30465
movq 0x60(%r14), %rdi
movq %rbx, %rsi
callq 0x2e659
movq $0x0, (%r15,%r12,8)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9_context_alloc_chunk
JX9_PRIVATE void * jx9_context_alloc_chunk(jx9_context *pCtx, unsigned int nByte, int ZeroChunk, int AutoRelease)
{
	void *pChunk;
	pChunk = SyMemBackendAlloc(&pCtx->pVm->sAllocator, nByte);
	if( pChunk ){
		if( ZeroChunk ){
			/* Zero the memory chunk */
			SyZero(pChunk, nByte);
		}
		if( AutoRelease ){
			jx9_aux_data sAux;
			/* Track the chunk so that it can be released automatically 
			 * upon this context is destroyed.
			 */
			sAux.pAuxData = pChunk;
			SySetPut(&pCtx->sChunk, (const void *)&sAux);
		}
	}
	return pChunk;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %r15d
movl %edx, %r13d
movl %esi, %r12d
movq %rdi, %rbx
movq 0x60(%rdi), %rdi
callq 0x33d86
movq %rax, %r14
testq %rax, %rax
je 0x3135d
testl %r13d, %r13d
je 0x31345
testl %r12d, %r12d
je 0x31345
movl %r12d, %ecx
movq %r14, %rax
addq %rcx, %rax
movq %r14, %rcx
movb $0x0, (%rcx)
incq %rcx
cmpq %rax, %rcx
jae 0x31345
movb $0x0, (%rcx)
incq %rcx
cmpq %rax, %rcx
jae 0x31345
movb $0x0, (%rcx)
incq %rcx
cmpq %rax, %rcx
jae 0x31345
movb $0x0, (%rcx)
incq %rcx
cmpq %rax, %rcx
jb 0x31319
testl %r15d, %r15d
je 0x3135d
leaq -0x30(%rbp), %rsi
movq %r14, (%rsi)
addq $0x38, %rbx
movq %rbx, %rdi
callq 0x33094
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9_context_free_chunk
JX9_PRIVATE void jx9_context_free_chunk(jx9_context *pCtx, void *pChunk)
{
	jx9_aux_data *pAux;
	if( pChunk == 0 ){
		/* TICKET-1433-93: NULL chunk is a harmless operation */
		return;
	}
	pAux = ContextFindChunk(pCtx, pChunk);
	if( pAux ){
		/* Mark as destroyed */
		pAux->pAuxData = 0;
	}
	SyMemBackendFree(&pCtx->pVm->sAllocator, pChunk);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
testq %rsi, %rsi
je 0x313e0
movl 0x48(%rdi), %eax
testq %rax, %rax
je 0x313ea
movq 0x40(%rdi), %rcx
xorl %edx, %edx
cmpq %rsi, (%rcx,%rdx,8)
je 0x313e2
incq %rdx
cmpq %rdx, %rax
jne 0x313d0
jmp 0x313ea
popq %rbp
retq
movq $0x0, (%rcx,%rdx,8)
movq 0x60(%rdi), %rdi
popq %rbp
jmp 0x3490d
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: unqliteGenError
UNQLITE_PRIVATE int unqliteGenError(unqlite *pDb,const char *zErr)
{
	int rc;
	/* Append the error message */
	rc = SyBlobAppend(&pDb->sErr,(const void *)zErr,SyStrlen(zErr));
	/* Append a new line */
	SyBlobAppend(&pDb->sErr,(const void *)"\n",sizeof(char));
	return rc;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpb $0x0, (%rsi)
movq %rsi, %rdx
je 0x3157b
leaq 0x2(%rsi), %rdx
cmpb $0x0, -0x1(%rdx)
je 0x31573
cmpb $0x0, (%rdx)
je 0x3157b
cmpb $0x0, 0x1(%rdx)
je 0x31578
leaq 0x4(%rdx), %rax
cmpb $0x0, 0x2(%rdx)
movq %rax, %rdx
jne 0x3154c
addq $-0x2, %rax
movq %rax, %rdx
jmp 0x3157b
decq %rdx
jmp 0x3157b
incq %rdx
addq $0xb8, %rbx
subl %esi, %edx
movq %rbx, %rdi
callq 0x359ad
leaq 0x46d4e(%rip), %rsi     # 0x782e1
movq %rbx, %rdi
movl $0x1, %edx
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x359ad
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: SyBlobRelease
JX9_PRIVATE sxi32 SyBlobRelease(SyBlob *pBlob)
{
	if( (pBlob->nFlags & (SXBLOB_STATIC|SXBLOB_RDONLY)) == 0 && pBlob->mByte > 0 ){
		SyMemBackendFree(pBlob->pAllocator, pBlob->pBlob);
	}
	pBlob->pBlob = 0;
	pBlob->nByte = pBlob->mByte = 0;
	pBlob->nFlags = 0;
	return SXRET_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
testb $0x6, 0x18(%rdi)
jne 0x317df
cmpl $0x0, 0x14(%rbx)
je 0x317df
movq (%rbx), %rdi
movq 0x8(%rbx), %rsi
callq 0x3490d
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rbx)
movl $0x0, 0x18(%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: unqlite_kv_config
int unqlite_kv_config(unqlite *pDb,int iOp,...)
{
	unqlite_kv_engine *pEngine;
	int rc;
	if( UNQLITE_DB_MISUSE(pDb) ){
		return UNQLITE_CORRUPT;
	}
#if defined(UNQLITE_ENABLE_THREADS)
	 /* Acquire DB mutex */
	 SyMutexEnter(sUnqlMPGlobal.pMutexMethods, pDb->pMutex); /* NO-OP if sUnqlMPGlobal.nThreadingLevel != UNQLITE_THREAD_LEVEL_MULTI */
	 if( sUnqlMPGlobal.nThreadingLevel > UNQLITE_THREAD_LEVEL_SINGLE && 
		 UNQLITE_THRD_DB_RELEASE(pDb) ){
			 return UNQLITE_ABORT; /* Another thread have released this instance */
	 }
#endif
	 /* Point to the underlying storage engine */
	 pEngine = unqlitePagerGetKvEngine(pDb);
	 if( pEngine->pIo->pMethods->xConfig == 0 ){
		 /* Storage engine does not implements such method */
		 unqliteGenError(pDb,"xConfig() method not implemented in the underlying storage engine");
		 rc = UNQLITE_NOTIMPLEMENTED;
	 }else{
		 va_list ap;
		 /* Configure the storage engine */
		 va_start(ap,iOp);
		 rc = pEngine->pIo->pMethods->xConfig(pEngine,iOp,ap);
		 va_end(ap);
	 }
#if defined(UNQLITE_ENABLE_THREADS)
	 /* Leave DB mutex */
	 SyMutexLeave(sUnqlMPGlobal.pMutexMethods,pDb->pMutex); /* NO-OP if sUnqlMPGlobal.nThreadingLevel != UNQLITE_THREAD_LEVEL_MULTI */
#endif
	return rc;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0xc8, %rsp
movq %rdx, -0xd0(%rbp)
movq %rcx, -0xc8(%rbp)
movq %r8, -0xc0(%rbp)
movq %r9, -0xb8(%rbp)
testb %al, %al
je 0x32049
movaps %xmm0, -0xb0(%rbp)
movaps %xmm1, -0xa0(%rbp)
movaps %xmm2, -0x90(%rbp)
movaps %xmm3, -0x80(%rbp)
movaps %xmm4, -0x70(%rbp)
movaps %xmm5, -0x60(%rbp)
movaps %xmm6, -0x50(%rbp)
movaps %xmm7, -0x40(%rbp)
movl $0xffffffe8, %r15d      # imm = 0xFFFFFFE8
testq %rdi, %rdi
je 0x32119
movq %rdi, %rbx
cmpl $0xdb7c2712, 0x120(%rdi) # imm = 0xDB7C2712
jne 0x32119
movl %esi, %r14d
movq 0xf8(%rbx), %rdi
testq %rdi, %rdi
je 0x32084
movq 0x626f7(%rip), %rax     # 0x94778
callq *0x20(%rax)
cmpl $0x2, 0x626fd(%rip)     # 0x94788
jb 0x3209f
movl $0xfffffff6, %r15d      # imm = 0xFFFFFFF6
cmpl $0xdb7c2712, 0x120(%rbx) # imm = 0xDB7C2712
jne 0x32119
movq 0xd8(%rbx), %rax
movq 0x10(%rax), %rdi
movq (%rdi), %rax
movq 0x8(%rax), %rax
cmpq $0x0, 0x28(%rax)
je 0x320ee
leaq -0xe0(%rbp), %rax
leaq -0x30(%rbp), %rdx
movq %rax, 0x10(%rdx)
leaq 0x10(%rbp), %rax
movq %rax, 0x8(%rdx)
movabsq $0x3000000010, %rax     # imm = 0x3000000010
movq %rax, (%rdx)
movq (%rdi), %rax
movq 0x8(%rax), %rax
movl %r14d, %esi
callq *0x28(%rax)
movl %eax, %r15d
jmp 0x32103
leaq 0x416f7(%rip), %rsi     # 0x737ec
movq %rbx, %rdi
callq 0x31537
movl $0xffffffef, %r15d      # imm = 0xFFFFFFEF
movq 0xf8(%rbx), %rdi
testq %rdi, %rdi
je 0x32119
movq 0x62662(%rip), %rax     # 0x94778
callq *0x30(%rax)
movl %r15d, %eax
addq $0xc8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: unqlite_kv_cursor_init
int unqlite_kv_cursor_init(unqlite *pDb,unqlite_kv_cursor **ppOut)
{
	int rc;
	if( UNQLITE_DB_MISUSE(pDb) || ppOut == 0 /* Noop */){
		return UNQLITE_CORRUPT;
	}
#if defined(UNQLITE_ENABLE_THREADS)
	 /* Acquire DB mutex */
	 SyMutexEnter(sUnqlMPGlobal.pMutexMethods, pDb->pMutex); /* NO-OP if sUnqlMPGlobal.nThreadingLevel != UNQLITE_THREAD_LEVEL_MULTI */
	 if( sUnqlMPGlobal.nThreadingLevel > UNQLITE_THREAD_LEVEL_SINGLE && 
		 UNQLITE_THRD_DB_RELEASE(pDb) ){
			 return UNQLITE_ABORT; /* Another thread have released this instance */
	 }
#endif
	 /* Allocate a new cursor */
	 rc = unqliteInitCursor(pDb,ppOut);
#if defined(UNQLITE_ENABLE_THREADS)
	 /* Leave DB mutex */
	 SyMutexLeave(sUnqlMPGlobal.pMutexMethods,pDb->pMutex); /* NO-OP if sUnqlMPGlobal.nThreadingLevel != UNQLITE_THREAD_LEVEL_MULTI */
#endif
	 return rc;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl $0xffffffe8, %r14d      # imm = 0xFFFFFFE8
testq %rdi, %rdi
je 0x321ab
movq %rsi, %r15
testq %rsi, %rsi
je 0x321ab
movq %rdi, %rbx
cmpl $0xdb7c2712, 0x120(%rdi) # imm = 0xDB7C2712
jne 0x321ab
movq 0xf8(%rbx), %rdi
testq %rdi, %rdi
je 0x3216c
movq 0x6260f(%rip), %rax     # 0x94778
callq *0x20(%rax)
cmpl $0x2, 0x62615(%rip)     # 0x94788
jb 0x32187
movl $0xfffffff6, %r14d      # imm = 0xFFFFFFF6
cmpl $0xdb7c2712, 0x120(%rbx) # imm = 0xDB7C2712
jne 0x321ab
movq %rbx, %rdi
movq %r15, %rsi
callq 0x321b9
movl %eax, %r14d
movq 0xf8(%rbx), %rdi
testq %rdi, %rdi
je 0x321ab
movq 0x625d0(%rip), %rax     # 0x94778
callq *0x30(%rax)
movl %r14d, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: unqliteInitCursor
UNQLITE_PRIVATE int unqliteInitCursor(unqlite *pDb,unqlite_kv_cursor **ppOut)
{
	unqlite_kv_methods *pMethods;
	unqlite_kv_cursor *pCur;
	sxu32 nByte;
	/* Storage engine methods */
	pMethods = pDb->sDB.pPager->pEngine->pIo->pMethods;
	if( pMethods->szCursor < 1 ){
		/* Implementation does not supprt cursors */
		unqliteGenErrorFormat(pDb,"Storage engine '%s' does not support cursors",pMethods->zName);
		return UNQLITE_NOTIMPLEMENTED;
	}
	nByte = pMethods->szCursor;
	if( nByte < sizeof(unqlite_kv_cursor) ){
		nByte += sizeof(unqlite_kv_cursor);
	}
	pCur = (unqlite_kv_cursor *)SyMemBackendPoolAlloc(&pDb->sMem,nByte);
	if( pCur == 0 ){
		unqliteGenOutofMem(pDb);
		return UNQLITE_NOMEM;
	}
	/* Zero the structure */
	SyZero(pCur,nByte);
	/* Save the cursor */
	pCur->pStore = pDb->sDB.pPager->pEngine;
	/* Invoke the initialization callback if any */
	if( pMethods->xCursorInit ){
		pMethods->xCursorInit(pCur);
	}
	/* All done */
	*ppOut = pCur;
	return UNQLITE_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
movq 0xd8(%rdi), %rax
movq 0x10(%rax), %rax
movq (%rax), %rax
movq 0x8(%rax), %r13
movl 0xc(%r13), %eax
testl %eax, %eax
jle 0x32260
movq %rsi, %rbx
movl %eax, %r12d
orl $0x8, %r12d
cmpl $0x8, %eax
cmovael %eax, %r12d
movq %r14, %rdi
movl %r12d, %esi
callq 0x2e481
testq %rax, %rax
je 0x3227c
movq %rax, %r15
movl %r12d, %eax
addq %r15, %rax
movq %r15, %rcx
movb $0x0, (%rcx)
incq %rcx
cmpq %rax, %rcx
jae 0x3223d
movb $0x0, (%rcx)
incq %rcx
cmpq %rax, %rcx
jae 0x3223d
movb $0x0, (%rcx)
incq %rcx
cmpq %rax, %rcx
jae 0x3223d
movb $0x0, (%rcx)
incq %rcx
cmpq %rax, %rcx
jb 0x32211
movq 0xd8(%r14), %rax
movq 0x10(%rax), %rax
movq %rax, (%r15)
movq 0x48(%r13), %rax
testq %rax, %rax
je 0x32259
movq %r15, %rdi
callq *%rax
movq %r15, (%rbx)
xorl %eax, %eax
jmp 0x32290
movq (%r13), %rdx
leaq 0x45b88(%rip), %rsi     # 0x77df3
movq %r14, %rdi
xorl %eax, %eax
callq 0x3a376
movl $0xffffffef, %eax       # imm = 0xFFFFFFEF
jmp 0x32290
leaq 0x41753(%rip), %rsi     # 0x739d6
movq %r14, %rdi
callq 0x31537
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: unqlite_kv_cursor_release
int unqlite_kv_cursor_release(unqlite *pDb,unqlite_kv_cursor *pCur)
{
	int rc;
	if( UNQLITE_DB_MISUSE(pDb) || pCur == 0 /* Noop */){
		return UNQLITE_CORRUPT;
	}
#if defined(UNQLITE_ENABLE_THREADS)
	 /* Acquire DB mutex */
	 SyMutexEnter(sUnqlMPGlobal.pMutexMethods, pDb->pMutex); /* NO-OP if sUnqlMPGlobal.nThreadingLevel != UNQLITE_THREAD_LEVEL_MULTI */
	 if( sUnqlMPGlobal.nThreadingLevel > UNQLITE_THREAD_LEVEL_SINGLE && 
		 UNQLITE_THRD_DB_RELEASE(pDb) ){
			 return UNQLITE_ABORT; /* Another thread have released this instance */
	 }
#endif
	 /* Release the cursor */
	 rc = unqliteReleaseCursor(pDb,pCur);
#if defined(UNQLITE_ENABLE_THREADS)
	 /* Leave DB mutex */
	 SyMutexLeave(sUnqlMPGlobal.pMutexMethods,pDb->pMutex); /* NO-OP if sUnqlMPGlobal.nThreadingLevel != UNQLITE_THREAD_LEVEL_MULTI */
#endif
	 return rc;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl $0xffffffe8, %r15d      # imm = 0xFFFFFFE8
testq %rdi, %rdi
je 0x3234b
movq %rsi, %r14
testq %rsi, %rsi
je 0x3234b
movq %rdi, %rbx
cmpl $0xdb7c2712, 0x120(%rdi) # imm = 0xDB7C2712
jne 0x3234b
movq 0xf8(%rbx), %rdi
testq %rdi, %rdi
je 0x322e9
movq 0x62492(%rip), %rax     # 0x94778
callq *0x20(%rax)
cmpl $0x2, 0x62498(%rip)     # 0x94788
jb 0x32304
movl $0xfffffff6, %r15d      # imm = 0xFFFFFFF6
cmpl $0xdb7c2712, 0x120(%rbx) # imm = 0xDB7C2712
jne 0x3234b
movq 0xd8(%rbx), %rax
movq 0x10(%rax), %rax
movq (%rax), %rax
movq 0x8(%rax), %rax
movq 0xb0(%rax), %rax
testq %rax, %rax
je 0x32327
movq %r14, %rdi
callq *%rax
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2e659
movq 0xf8(%rbx), %rdi
xorl %r15d, %r15d
testq %rdi, %rdi
je 0x3234b
movq 0x62430(%rip), %rax     # 0x94778
callq *0x30(%rax)
movl %r15d, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: unqlite_kv_cursor_seek
int unqlite_kv_cursor_seek(unqlite_kv_cursor *pCursor,const void *pKey,int nKeyLen,int iPos)
{
	int rc = UNQLITE_OK;
#ifdef UNTRUST
	if( pCursor == 0 ){
		return UNQLITE_CORRUPT;
	}
#endif
	if( nKeyLen < 0 ){
		/* Assume a null terminated string and compute it's length */
		nKeyLen = SyStrlen((const char *)pKey);
	}
	if( !nKeyLen ){
		rc = UNQLITE_EMPTY;
	}else{
		/* Seek to the desired location */
		rc = pCursor->pStore->pIo->pMethods->xSeek(pCursor,pKey,nKeyLen,iPos);
	}
	return rc;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
testl %edx, %edx
jns 0x3248d
cmpb $0x0, (%rsi)
movq %rsi, %rdx
je 0x3248b
leaq 0x2(%rsi), %rdx
cmpb $0x0, -0x1(%rdx)
je 0x32483
cmpb $0x0, (%rdx)
je 0x3248b
cmpb $0x0, 0x1(%rdx)
je 0x32488
leaq 0x4(%rdx), %rax
cmpb $0x0, 0x2(%rdx)
movq %rax, %rdx
jne 0x3245c
addq $-0x2, %rax
movq %rax, %rdx
jmp 0x3248b
decq %rdx
jmp 0x3248b
incq %rdx
subl %esi, %edx
testl %edx, %edx
je 0x324a2
movq (%rdi), %rax
movq (%rax), %rax
movq 0x8(%rax), %rax
movq 0x50(%rax), %rax
popq %rbp
jmpq *%rax
movl $0xfffffffd, %eax       # imm = 0xFFFFFFFD
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: unqlite_kv_cursor_key
int unqlite_kv_cursor_key(unqlite_kv_cursor *pCursor,void *pBuf,int *pnByte)
{
	int rc;
#ifdef UNTRUST
	if( pCursor == 0 ){
		return UNQLITE_CORRUPT;
	}
#endif
	if( pBuf == 0 ){
		/* Key length only */
		rc = pCursor->pStore->pIo->pMethods->xKeyLength(pCursor,pnByte);
	}else{
		SyBlob sBlob;
		if( (*pnByte) < 0 ){
			return UNQLITE_CORRUPT;
		}
		/* Initialize the data consumer */
		SyBlobInitFromBuf(&sBlob,pBuf,(sxu32)(*pnByte));
		/* Consume the key */
		rc = pCursor->pStore->pIo->pMethods->xKey(pCursor,unqliteDataConsumer,&sBlob);
		 /* Key length */
		*pnByte = SyBlobLength(&sBlob);
		/* Cleanup */
		SyBlobRelease(&sBlob);
	}
	return rc;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdx, %rbx
testq %rsi, %rsi
je 0x32542
movl (%rbx), %eax
testl %eax, %eax
js 0x32562
leaq -0x38(%rbp), %r15
movq %rsi, 0x8(%r15)
movl %eax, 0x14(%r15)
movl $0x0, 0x10(%r15)
movq $0x0, (%r15)
movl $0x3, 0x18(%r15)
movq (%rdi), %rax
movq (%rax), %rax
movq 0x8(%rax), %rax
leaq -0x7ed(%rip), %rsi      # 0x31d27
movq %r15, %rdx
callq *0x90(%rax)
movl %eax, %r14d
movl 0x10(%r15), %eax
movl %eax, (%rbx)
testb $0x6, 0x18(%r15)
jne 0x32568
cmpl $0x0, -0x24(%rbp)
je 0x32568
movq -0x38(%rbp), %rdi
movq -0x30(%rbp), %rsi
callq 0x3490d
jmp 0x32568
movq (%rdi), %rax
movq (%rax), %rax
movq 0x8(%rax), %rax
movq 0x88(%rax), %rax
movq %rbx, %rsi
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmpq *%rax
movl $0xffffffe8, %r14d      # imm = 0xFFFFFFE8
movl %r14d, %eax
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: unqlite_kv_cursor_data
int unqlite_kv_cursor_data(unqlite_kv_cursor *pCursor,void *pBuf,unqlite_int64 *pnByte)
{
	int rc;
#ifdef UNTRUST
	if( pCursor == 0 ){
		return UNQLITE_CORRUPT;
	}
#endif
	if( pBuf == 0 ){
		/* Data length only */
		rc = pCursor->pStore->pIo->pMethods->xDataLength(pCursor,pnByte);
	}else{
		SyBlob sBlob;
		if( (*pnByte) < 0 ){
			return UNQLITE_CORRUPT;
		}
		/* Initialize the data consumer */
		SyBlobInitFromBuf(&sBlob,pBuf,(sxu32)(*pnByte));
		/* Consume the data */
		rc = pCursor->pStore->pIo->pMethods->xData(pCursor,unqliteDataConsumer,&sBlob);
		/* Data length */
		*pnByte = SyBlobLength(&sBlob);
		/* Cleanup */
		SyBlobRelease(&sBlob);
	}
	return rc;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdx, %rbx
testq %rsi, %rsi
je 0x32612
movq (%rbx), %rax
testq %rax, %rax
js 0x32632
leaq -0x38(%rbp), %r15
movq %rsi, 0x8(%r15)
movl %eax, 0x14(%r15)
movl $0x0, 0x10(%r15)
movq $0x0, (%r15)
movl $0x3, 0x18(%r15)
movq (%rdi), %rax
movq (%rax), %rax
movq 0x8(%rax), %rax
leaq -0x8bc(%rip), %rsi      # 0x31d27
movq %r15, %rdx
callq *0xa0(%rax)
movl %eax, %r14d
movl 0x10(%r15), %eax
movq %rax, (%rbx)
testb $0x6, 0x18(%r15)
jne 0x32638
cmpl $0x0, -0x24(%rbp)
je 0x32638
movq -0x38(%rbp), %rdi
movq -0x30(%rbp), %rsi
callq 0x3490d
jmp 0x32638
movq (%rdi), %rax
movq (%rax), %rax
movq 0x8(%rax), %rax
movq 0x98(%rax), %rax
movq %rbx, %rsi
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmpq *%rax
movl $0xffffffe8, %r14d      # imm = 0xFFFFFFE8
movl %r14d, %eax
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: unqlite_begin
int unqlite_begin(unqlite *pDb)
{
	int rc;
	if( UNQLITE_DB_MISUSE(pDb) ){
		return UNQLITE_CORRUPT;
	}
#if defined(UNQLITE_ENABLE_THREADS)
	 /* Acquire DB mutex */
	 SyMutexEnter(sUnqlMPGlobal.pMutexMethods, pDb->pMutex); /* NO-OP if sUnqlMPGlobal.nThreadingLevel != UNQLITE_THREAD_LEVEL_MULTI */
	 if( sUnqlMPGlobal.nThreadingLevel > UNQLITE_THREAD_LEVEL_SINGLE && 
		 UNQLITE_THRD_DB_RELEASE(pDb) ){
			 return UNQLITE_ABORT; /* Another thread have released this instance */
	 }
#endif
	 /* Begin the write transaction */
	 rc = unqlitePagerBegin(pDb->sDB.pPager);
#if defined(UNQLITE_ENABLE_THREADS)
	 /* Leave DB mutex */
	 SyMutexLeave(sUnqlMPGlobal.pMutexMethods,pDb->pMutex); /* NO-OP if sUnqlMPGlobal.nThreadingLevel != UNQLITE_THREAD_LEVEL_MULTI */
#endif
	 return rc;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movl $0xffffffe8, %r14d      # imm = 0xFFFFFFE8
testq %rdi, %rdi
je 0x326bd
movq %rdi, %rbx
cmpl $0xdb7c2712, 0x120(%rdi) # imm = 0xDB7C2712
jne 0x326bd
movq 0xf8(%rbx), %rdi
testq %rdi, %rdi
je 0x3267d
movq 0x620fe(%rip), %rax     # 0x94778
callq *0x20(%rax)
cmpl $0x2, 0x62104(%rip)     # 0x94788
jb 0x32698
movl $0xfffffff6, %r14d      # imm = 0xFFFFFFF6
cmpl $0xdb7c2712, 0x120(%rbx) # imm = 0xDB7C2712
jne 0x326bd
movq 0xd8(%rbx), %rdi
callq 0x326c5
movl %eax, %r14d
movq 0xf8(%rbx), %rdi
testq %rdi, %rdi
je 0x326bd
movq 0x620be(%rip), %rax     # 0x94778
callq *0x30(%rax)
movl %r14d, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: unqlite_commit
int unqlite_commit(unqlite *pDb)
{
	int rc;
	if( UNQLITE_DB_MISUSE(pDb) ){
		return UNQLITE_CORRUPT;
	}
#if defined(UNQLITE_ENABLE_THREADS)
	 /* Acquire DB mutex */
	 SyMutexEnter(sUnqlMPGlobal.pMutexMethods, pDb->pMutex); /* NO-OP if sUnqlMPGlobal.nThreadingLevel != UNQLITE_THREAD_LEVEL_MULTI */
	 if( sUnqlMPGlobal.nThreadingLevel > UNQLITE_THREAD_LEVEL_SINGLE && 
		 UNQLITE_THRD_DB_RELEASE(pDb) ){
			 return UNQLITE_ABORT; /* Another thread have released this instance */
	 }
#endif
	 /* Commit the transaction */
	 rc = unqlitePagerCommit(pDb->sDB.pPager);
#if defined(UNQLITE_ENABLE_THREADS)
	 /* Leave DB mutex */
	 SyMutexLeave(sUnqlMPGlobal.pMutexMethods,pDb->pMutex); /* NO-OP if sUnqlMPGlobal.nThreadingLevel != UNQLITE_THREAD_LEVEL_MULTI */
#endif
	 return rc;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movl $0xffffffe8, %r14d      # imm = 0xFFFFFFE8
testq %rdi, %rdi
je 0x328f5
movq %rdi, %rbx
cmpl $0xdb7c2712, 0x120(%rdi) # imm = 0xDB7C2712
jne 0x328f5
movq 0xf8(%rbx), %rdi
testq %rdi, %rdi
je 0x328b5
movq 0x61ec6(%rip), %rax     # 0x94778
callq *0x20(%rax)
cmpl $0x2, 0x61ecc(%rip)     # 0x94788
jb 0x328d0
movl $0xfffffff6, %r14d      # imm = 0xFFFFFFF6
cmpl $0xdb7c2712, 0x120(%rbx) # imm = 0xDB7C2712
jne 0x328f5
movq 0xd8(%rbx), %rdi
callq 0x328fd
movl %eax, %r14d
movq 0xf8(%rbx), %rdi
testq %rdi, %rdi
je 0x328f5
movq 0x61e86(%rip), %rax     # 0x94778
callq *0x30(%rax)
movl %r14d, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: unqlite_rollback
int unqlite_rollback(unqlite *pDb)
{
	int rc;
	if( UNQLITE_DB_MISUSE(pDb) ){
		return UNQLITE_CORRUPT;
	}
#if defined(UNQLITE_ENABLE_THREADS)
	 /* Acquire DB mutex */
	 SyMutexEnter(sUnqlMPGlobal.pMutexMethods, pDb->pMutex); /* NO-OP if sUnqlMPGlobal.nThreadingLevel != UNQLITE_THREAD_LEVEL_MULTI */
	 if( sUnqlMPGlobal.nThreadingLevel > UNQLITE_THREAD_LEVEL_SINGLE && 
		 UNQLITE_THRD_DB_RELEASE(pDb) ){
			 return UNQLITE_ABORT; /* Another thread have released this instance */
	 }
#endif
	 /* Rollback the transaction */
	 rc = unqlitePagerRollback(pDb->sDB.pPager,TRUE);
#if defined(UNQLITE_ENABLE_THREADS)
	 /* Leave DB mutex */
	 SyMutexLeave(sUnqlMPGlobal.pMutexMethods,pDb->pMutex); /* NO-OP if sUnqlMPGlobal.nThreadingLevel != UNQLITE_THREAD_LEVEL_MULTI */
#endif
	 return rc;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movl $0xffffffe8, %r14d      # imm = 0xFFFFFFE8
testq %rdi, %rdi
je 0x32be0
movq %rdi, %rbx
cmpl $0xdb7c2712, 0x120(%rdi) # imm = 0xDB7C2712
jne 0x32be0
movq 0xf8(%rbx), %rdi
testq %rdi, %rdi
je 0x32b9b
movq 0x61be0(%rip), %rax     # 0x94778
callq *0x20(%rax)
cmpl $0x2, 0x61be6(%rip)     # 0x94788
jb 0x32bb6
movl $0xfffffff6, %r14d      # imm = 0xFFFFFFF6
cmpl $0xdb7c2712, 0x120(%rbx) # imm = 0xDB7C2712
jne 0x32be0
movq 0xd8(%rbx), %rdi
movl $0x1, %esi
callq 0x32be8
movl %eax, %r14d
movq 0xf8(%rbx), %rdi
testq %rdi, %rdi
je 0x32be0
movq 0x61b9b(%rip), %rax     # 0x94778
callq *0x30(%rax)
movl %r14d, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: unqlite_util_random_string
UNQLITE_APIEXPORT int unqlite_util_random_string(unqlite *pDb,char *zBuf,unsigned int buf_size)
{
	if( UNQLITE_DB_MISUSE(pDb) ){
		return UNQLITE_CORRUPT;
	}
	if( zBuf == 0 || buf_size < 3 ){
		/* Buffer must be long enough to hold three bytes */
		return UNQLITE_INVALID;
	}
#if defined(UNQLITE_ENABLE_THREADS)
	 /* Acquire DB mutex */
	 SyMutexEnter(sUnqlMPGlobal.pMutexMethods, pDb->pMutex); /* NO-OP if sUnqlMPGlobal.nThreadingLevel != UNQLITE_THREAD_LEVEL_MULTI */
	 if( sUnqlMPGlobal.nThreadingLevel > UNQLITE_THREAD_LEVEL_SINGLE && 
		 UNQLITE_THRD_DB_RELEASE(pDb) ){
			 return UNQLITE_ABORT; /* Another thread have released this instance */
	 }
#endif
	 /* Generate the random string */
	 unqlitePagerRandomString(pDb->sDB.pPager,zBuf,buf_size);
#if defined(UNQLITE_ENABLE_THREADS)
	 /* Leave DB mutex */
	 SyMutexLeave(sUnqlMPGlobal.pMutexMethods,pDb->pMutex); /* NO-OP if sUnqlMPGlobal.nThreadingLevel != UNQLITE_THREAD_LEVEL_MULTI */
#endif
	 return UNQLITE_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl $0xffffffe8, %r12d      # imm = 0xFFFFFFE8
testq %rdi, %rdi
je 0x32ffc
movq %rdi, %rbx
cmpl $0xdb7c2712, 0x120(%rdi) # imm = 0xDB7C2712
jne 0x32ffc
movl %edx, %r15d
movq %rsi, %r14
testq %rsi, %rsi
sete %al
cmpl $0x3, %edx
setb %cl
orb %al, %cl
movl $0xfffffff7, %r12d      # imm = 0xFFFFFFF7
jne 0x32ffc
movq 0xf8(%rbx), %rdi
testq %rdi, %rdi
je 0x32f72
movq 0x61809(%rip), %rax     # 0x94778
callq *0x20(%rax)
cmpl $0x2, 0x6180f(%rip)     # 0x94788
jb 0x32f8d
movl $0xfffffff6, %r12d      # imm = 0xFFFFFFF6
cmpl $0xdb7c2712, 0x120(%rbx) # imm = 0xDB7C2712
jne 0x32ffc
movq 0xd8(%rbx), %rdi
addq $0x64, %rdi
movq %r14, %rsi
movl %r15d, %edx
callq 0x39bca
movl %r15d, %esi
xorl %edi, %edi
movabsq $-0x1c71c71c71c71c71, %r8 # imm = 0xE38E38E38E38E38F
leaq 0x44f37(%rip), %r9      # 0x77ef0
movsbq (%r14,%rdi), %rcx
movq %rcx, %rax
mulq %r8
shrq $0x3, %rdx
andq $-0x4, %rdx
leaq (%rdx,%rdx,8), %rax
subq %rax, %rcx
movb (%r9,%rcx), %al
movb %al, (%r14,%rdi)
incq %rdi
cmpq %rdi, %rsi
jne 0x32fb9
movq 0xf8(%rbx), %rdi
xorl %r12d, %r12d
testq %rdi, %rdi
je 0x32ffc
movq 0x6177f(%rip), %rax     # 0x94778
callq *0x30(%rax)
movl %r12d, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: unqlite_util_random_num
UNQLITE_APIEXPORT unsigned int unqlite_util_random_num(unqlite *pDb)
{
	sxu32 iNum;
	if( UNQLITE_DB_MISUSE(pDb) ){
		return 0;
	}
#if defined(UNQLITE_ENABLE_THREADS)
	 /* Acquire DB mutex */
	 SyMutexEnter(sUnqlMPGlobal.pMutexMethods, pDb->pMutex); /* NO-OP if sUnqlMPGlobal.nThreadingLevel != UNQLITE_THREAD_LEVEL_MULTI */
	 if( sUnqlMPGlobal.nThreadingLevel > UNQLITE_THREAD_LEVEL_SINGLE && 
		 UNQLITE_THRD_DB_RELEASE(pDb) ){
			 return 0; /* Another thread have released this instance */
	 }
#endif
	 /* Generate the random number */
	 iNum = unqlitePagerRandomNum(pDb->sDB.pPager);
#if defined(UNQLITE_ENABLE_THREADS)
	 /* Leave DB mutex */
	 SyMutexLeave(sUnqlMPGlobal.pMutexMethods,pDb->pMutex); /* NO-OP if sUnqlMPGlobal.nThreadingLevel != UNQLITE_THREAD_LEVEL_MULTI */
#endif
	 return iNum;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
xorl %ebx, %ebx
testq %rdi, %rdi
je 0x33089
movq %rdi, %r14
cmpl $0xdb7c2712, 0x120(%rdi) # imm = 0xDB7C2712
jne 0x33089
movq 0xf8(%r14), %rdi
testq %rdi, %rdi
je 0x3303f
movq 0x6173c(%rip), %rax     # 0x94778
callq *0x20(%rax)
cmpl $0x2, 0x61742(%rip)     # 0x94788
jb 0x33055
cmpl $0xdb7c2712, 0x120(%r14) # imm = 0xDB7C2712
jne 0x33089
movq 0xd8(%r14), %rdi
addq $0x64, %rdi
leaq -0x14(%rbp), %rbx
movq %rbx, %rsi
movl $0x4, %edx
callq 0x39bca
movl (%rbx), %ebx
movq 0xf8(%r14), %rdi
testq %rdi, %rdi
je 0x33089
movq 0x616f2(%rip), %rax     # 0x94778
callq *0x30(%rax)
movl %ebx, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: SySetPut
JX9_PRIVATE sxi32 SySetPut(SySet *pSet, const void *pItem)
{
	unsigned char *zbase;
	if( pSet->nUsed >= pSet->nSize ){
		void *pNew;
		if( pSet->pAllocator == 0 ){
			return  SXERR_LOCKED;
		}
		if( pSet->nSize <= 0 ){
			pSet->nSize = 4;
		}
		pNew = SyMemBackendRealloc(pSet->pAllocator, pSet->pBase, pSet->eSize * pSet->nSize * 2);
		if( pNew == 0 ){
			return SXERR_MEM;
		}
		pSet->pBase = pNew;
		pSet->nSize <<= 1;
	}
	zbase = (unsigned char *)pSet->pBase;
	SX_MACRO_FAST_MEMCPY(pItem, &zbase[pSet->nUsed * pSet->eSize], pSet->eSize);
	pSet->nUsed++;	
	return SXRET_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movl 0x10(%rdi), %esi
movl 0x14(%rdi), %edx
cmpl %edx, %esi
jae 0x330b1
movq 0x8(%rbx), %rax
jmp 0x330eb
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x33155
testl %edx, %edx
jne 0x330cd
movl $0x4, 0x14(%rbx)
movl $0x4, %edx
movq 0x8(%rbx), %rsi
imull 0x18(%rbx), %edx
addl %edx, %edx
callq 0x334b2
testq %rax, %rax
je 0x3315c
movq %rax, 0x8(%rbx)
shll 0x14(%rbx)
movl 0x10(%rbx), %esi
movl 0x18(%rbx), %ecx
testq %rcx, %rcx
je 0x3314c
imull %ecx, %esi
addq %rsi, %rax
leaq -0x1(%rcx), %rdx
leaq -0x2(%rcx), %rsi
movq %rcx, %rdi
addq $-0x3, %rdi
xorl %r8d, %r8d
movb (%r14,%r8), %r9b
movb %r9b, (%rax,%r8)
cmpl %r8d, %edx
je 0x33149
movb 0x1(%r14,%r8), %r9b
movb %r9b, 0x1(%rax,%r8)
cmpl %r8d, %esi
je 0x33149
movb 0x2(%r14,%r8), %r9b
movb %r9b, 0x2(%rax,%r8)
cmpl %r8d, %edi
je 0x33149
movb 0x3(%r14,%r8), %r9b
movb %r9b, 0x3(%rax,%r8)
addq $0x4, %r8
cmpl %r8d, %ecx
jne 0x3310b
movl 0x10(%rbx), %esi
incl %esi
movl %esi, 0x10(%rbx)
xorl %eax, %eax
jmp 0x33161
movl $0xfffffffc, %eax       # imm = 0xFFFFFFFC
jmp 0x33161
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: SyMemBackendInitFromOthers
JX9_PRIVATE sxi32 SyMemBackendInitFromOthers(SyMemBackend *pBackend, const SyMemMethods *pMethods, ProcMemError xMemErr, void * pUserData)
{
#if defined(UNTRUST)
	if( pBackend == 0 || pMethods == 0){
		return SXERR_EMPTY;
	}
#endif
	if( pMethods->xAlloc == 0 || pMethods->xRealloc == 0 || pMethods->xFree == 0 || pMethods->xChunkSize == 0 ){
		/* mandatory methods are missing */
		return SXERR_INVALID;
	}
	/* Zero the allocator first */
	SyZero(&(*pBackend), sizeof(SyMemBackend));
	pBackend->xMemError = xMemErr;
	pBackend->pUserData = pUserData;
	/* Switch to the host application memory allocator */
	pBackend->pMethods = pMethods;
	if( pBackend->pMethods->xInit ){
		/* Initialize the backend  */
		if( SXRET_OK != pBackend->pMethods->xInit(pBackend->pMethods->pUserData) ){
			return SXERR_ABORT;
		}
	}
#if defined(UNTRUST)
	pBackend->nMagic = SXMEM_BACKEND_MAGIC;
#endif
	return SXRET_OK;
}

// Assembly:
movl $0xfffffff7, %eax       # imm = 0xFFFFFFF7
cmpq $0x0, (%rsi)
je 0x331cc
cmpq $0x0, 0x8(%rsi)
je 0x331cc
cmpq $0x0, 0x10(%rsi)
je 0x331cc
cmpq $0x0, 0x18(%rsi)
je 0x331cc
movq $-0x4, %rax
movl $0x0, 0x4(%rdi,%rax)
addq $0x4, %rax
cmpq $0xb4, %rax
jb 0x3318d
movq %rdx, 0x20(%rdi)
movq %rcx, 0x28(%rdi)
movq %rsi, 0x8(%rdi)
movq 0x20(%rsi), %rax
testq %rax, %rax
je 0x331cd
pushq %rbp
movq %rsp, %rbp
movq 0x30(%rsi), %rdi
callq *%rax
movl %eax, %ecx
movl $0xfffffff6, %eax       # imm = 0xFFFFFFF6
testl %ecx, %ecx
popq %rbp
je 0x331cd
retq
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: SyMemBackendRealloc
JX9_PRIVATE void * SyMemBackendRealloc(SyMemBackend *pBackend, void * pOld, sxu32 nByte)
{
	void *pChunk;
#if defined(UNTRUST)
	if( SXMEM_BACKEND_CORRUPT(pBackend)  ){
		return 0;
	}
#endif
	if( pBackend->pMutexMethods ){
		SyMutexEnter(pBackend->pMutexMethods, pBackend->pMutex);
	}
	pChunk = MemBackendRealloc(&(*pBackend), pOld, nByte);
	if( pBackend->pMutexMethods ){
		SyMutexLeave(pBackend->pMutexMethods, pBackend->pMutex);
	}
	return pChunk;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %edx, %r15d
movq %rsi, %r14
movq %rdi, %rbx
movq (%rdi), %rax
testq %rax, %rax
je 0x334e0
movq 0x30(%rbx), %rdi
testq %rdi, %rdi
je 0x334e0
callq *0x20(%rax)
testq %r14, %r14
je 0x33534
leaq -0x10(%r14), %r12
addl $0x10, %r15d
movq -0x10(%r14), %r13
movq -0x8(%r14), %rax
movq %rax, -0x38(%rbp)
movq 0x8(%rbx), %rax
movq %r12, %rdi
movl %r15d, %esi
callq *0x8(%rax)
testq %rax, %rax
je 0x33568
movq %rax, %r14
cmpq %r12, %r14
je 0x3352e
leaq 0x10(%rbx), %rax
movq -0x38(%rbp), %rcx
testq %rcx, %rcx
cmovneq %rcx, %rax
movq %r14, (%rax)
testq %r13, %r13
je 0x3352e
movq %r14, 0x8(%r13)
addq $0x10, %r14
jmp 0x33542
movq %rbx, %rdi
movl %r15d, %esi
callq 0x335ad
movq %rax, %r14
movq (%rbx), %rax
testq %rax, %rax
je 0x33556
movq 0x30(%rbx), %rdi
testq %rdi, %rdi
je 0x33556
callq *0x30(%rax)
movq %r14, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r13, -0x30(%rbp)
xorl %r14d, %r14d
xorl %r13d, %r13d
movq 0x20(%rbx), %rax
testq %rax, %rax
je 0x33542
cmpl $0x3, %r13d
ja 0x33542
movq 0x28(%rbx), %rdi
callq *%rax
cmpl $-0x21, %eax
jne 0x33542
incl %r13d
movq 0x8(%rbx), %rax
movq %r12, %rdi
movl %r15d, %esi
callq *0x8(%rax)
testq %rax, %rax
je 0x33572
movq %rax, %r14
movq -0x30(%rbp), %r13
jmp 0x3350e
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: MemBackendAlloc
static void * MemBackendAlloc(SyMemBackend *pBackend, sxu32 nByte)
{
	SyMemBlock *pBlock;
	sxi32 nRetry = 0;

	/* Append an extra block so we can tracks allocated chunks and avoid memory
	 * leaks.
	 */
	nByte += sizeof(SyMemBlock);
	for(;;){
		pBlock = (SyMemBlock *)pBackend->pMethods->xAlloc(nByte);
		if( pBlock != 0 || pBackend->xMemError == 0 || nRetry > SXMEM_BACKEND_RETRY 
			|| SXERR_RETRY != pBackend->xMemError(pBackend->pUserData) ){
				break;
		}
		nRetry++;
	}
	if( pBlock  == 0 ){
		return 0;
	}
	pBlock->pNext = pBlock->pPrev = 0;
	/* Link to the list of already tracked blocks */
	MACRO_LD_PUSH(pBackend->pBlocks, pBlock);
#if defined(UNTRUST)
	pBlock->nGuard = SXMEM_BACKEND_MAGIC;
#endif
	pBackend->nBlock++;
	return (void *)&pBlock[1];
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %esi, %r15d
movq %rdi, %r14
addl $0x10, %r15d
movq 0x8(%rdi), %rax
movl %r15d, %edi
callq *(%rax)
testq %rax, %rax
je 0x33601
movq %rax, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movq 0x10(%r14), %rax
testq %rax, %rax
je 0x335e9
movq %rax, (%rbx)
movq %rbx, 0x8(%rax)
movq %rbx, 0x10(%r14)
incl 0x18(%r14)
addq $0x10, %rbx
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
xorl %ebx, %ebx
xorl %r12d, %r12d
movq 0x20(%r14), %rax
testq %rax, %rax
je 0x335f5
cmpl $0x3, %r12d
ja 0x335f5
movq 0x28(%r14), %rdi
callq *%rax
cmpl $-0x21, %eax
jne 0x335f5
incl %r12d
movq 0x8(%r14), %rax
movl %r15d, %edi
callq *(%rax)
testq %rax, %rax
je 0x33606
jmp 0x335d0
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: MemOSAlloc
static void * MemOSAlloc(sxu32 nBytes)
{
	sxu32 *pChunk;
	pChunk = (sxu32 *)SyOSHeapAlloc(nBytes + sizeof(sxu32));
	if( pChunk == 0 ){
		return 0;
	}
	pChunk[0] = nBytes;
	return (void *)&pChunk[1];
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movl %edi, %ebx
leal 0x4(%rbx), %edi
callq 0xca00
testq %rax, %rax
je 0x33650
movl %ebx, (%rax)
addq $0x4, %rax
jmp 0x33652
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: MemOSRealloc
static void * MemOSRealloc(void *pOld, sxu32 nBytes)
{
	sxu32 *pOldChunk;
	sxu32 *pChunk;
	pOldChunk = (sxu32 *)(((char *)pOld)-sizeof(sxu32));
	if( pOldChunk[0] >= nBytes ){
		return pOld;
	}
	pChunk = (sxu32 *)SyOSHeapRealloc(pOldChunk, nBytes + sizeof(sxu32));
	if( pChunk == 0 ){
		return 0;
	}
	pChunk[0] = nBytes;
	return (void *)&pChunk[1];
}

// Assembly:
movq %rdi, %rax
cmpl %esi, -0x4(%rdi)
jae 0x3368d
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movl %esi, %ebx
addq $-0x4, %rax
leal 0x4(%rbx), %esi
movq %rax, %rdi
callq 0xc120
testq %rax, %rax
je 0x33685
movl %ebx, (%rax)
addq $0x4, %rax
jmp 0x33687
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: unixDelete
static int unixDelete(
  unqlite_vfs *NotUsed,     /* VFS containing this as the xDelete method */
  const char *zPath,        /* Name of file to be deleted */
  int dirSync               /* If true, fsync() directory after deleting file */
){
  int rc = UNQLITE_OK;
  SXUNUSED(NotUsed);
  
  if( unlink(zPath)==(-1) && errno!=ENOENT ){
	  return UNQLITE_IOERR;
  }
#ifndef UNQLITE_DISABLE_DIRSYNC
  if( dirSync ){
    int fd;
    rc = openDirectory(zPath, &fd);
    if( rc==UNQLITE_OK ){
      if( fsync(fd) )
      {
        rc = UNQLITE_IOERR;
      }
      if( close(fd) && !rc ){
        rc = UNQLITE_IOERR;
      }
    }
  }
#endif
  return rc;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movl %edx, %r14d
movq %rsi, %rbx
movq %rsi, %rdi
callq 0xc2c0
cmpl $-0x1, %eax
jne 0x33aa2
callq 0xcb20
movq %rax, %rcx
movl $0xfffffffe, %eax       # imm = 0xFFFFFFFE
cmpl $0x2, (%rcx)
jne 0x33ade
testl %r14d, %r14d
je 0x33adc
leaq -0x14(%rbp), %rsi
movq %rbx, %rdi
callq 0x33cc0
testl %eax, %eax
jne 0x33ade
movl -0x14(%rbp), %ebx
movl %ebx, %edi
callq 0xc940
movl %eax, %r14d
movl %ebx, %edi
callq 0xc2b0
xorl %ecx, %ecx
orl %r14d, %eax
sete %cl
leal -0x2(,%rcx,2), %eax
jmp 0x33ade
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: unixAccess
static int unixAccess(
  unqlite_vfs *NotUsed,   /* The VFS containing this xAccess method */
  const char *zPath,      /* Path of the file to examine */
  int flags,              /* What do we want to learn about the zPath file? */
  int *pResOut            /* Write result boolean here */
){
  int amode = 0;
  SXUNUSED(NotUsed);
  switch( flags ){
    case UNQLITE_ACCESS_EXISTS:
      amode = F_OK;
      break;
    case UNQLITE_ACCESS_READWRITE:
      amode = W_OK|R_OK;
      break;
    case UNQLITE_ACCESS_READ:
      amode = R_OK;
      break;
    default:
		/* Can't happen */
      break;
  }
  *pResOut = (access(zPath, amode)==0);
  if( flags==UNQLITE_ACCESS_EXISTS && *pResOut ){
    struct stat buf;
    if( 0==stat(zPath, &buf) && buf.st_size==0 ){
      *pResOut = 0;
    }
  }
  return UNQLITE_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x98, %rsp
movq %rcx, %rbx
movl %edx, %r15d
movq %rsi, %r14
xorl %eax, %eax
cmpl $0x1, %edx
movl $0x6, %ecx
cmovnel %eax, %ecx
cmpl $0x2, %edx
movl $0x4, %esi
cmovnel %ecx, %esi
movq %r14, %rdi
callq 0xc150
xorl %ecx, %ecx
testl %eax, %eax
sete %cl
movl %ecx, (%rbx)
orl %r15d, %eax
jne 0x33b4e
leaq -0xa8(%rbp), %rsi
movq %r14, %rdi
callq 0xc110
testl %eax, %eax
jne 0x33b4e
cmpq $0x0, -0x78(%rbp)
jne 0x33b4e
movl $0x0, (%rbx)
xorl %eax, %eax
addq $0x98, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: unixFullPathname
static int unixFullPathname(
  unqlite_vfs *pVfs,            /* Pointer to vfs object */
  const char *zPath,            /* Possibly relative input path */
  int nOut,                     /* Size of output buffer in bytes */
  char *zOut                    /* Output buffer */
){
  if( zPath[0]=='/' ){
	  Systrcpy(zOut,(sxu32)nOut,zPath,0);
	  SXUNUSED(pVfs);
  }else{
    sxu32 nCwd;
	zOut[nOut-1] = '\0';
    if( getcwd(zOut, nOut-1)==0 ){
		return UNQLITE_IOERR;
    }
    nCwd = SyStrlen(zOut);
    SyBufferFormat(&zOut[nCwd],(sxu32)nOut-nCwd,"/%s",zPath);
  }
  return UNQLITE_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rcx, %r15
movl %edx, %r14d
movq %rsi, %rbx
cmpb $0x2f, (%rsi)
jne 0x33b8c
xorl %r12d, %r12d
movq %r15, %rdi
movl %r14d, %esi
movq %rbx, %rdx
xorl %ecx, %ecx
callq 0x33dd1
jmp 0x33c0b
movslq %r14d, %rsi
movb $0x0, -0x1(%r15,%rsi)
decq %rsi
movq %r15, %rdi
callq 0xc410
testq %rax, %rax
je 0x33bd9
cmpb $0x0, (%r15)
movq %r15, %rax
je 0x33be9
leaq 0x2(%r15), %rax
cmpb $0x0, -0x1(%rax)
je 0x33be1
cmpb $0x0, (%rax)
je 0x33be9
cmpb $0x0, 0x1(%rax)
je 0x33be6
leaq 0x4(%rax), %rcx
cmpb $0x0, 0x2(%rax)
movq %rcx, %rax
jne 0x33bb2
addq $-0x2, %rcx
movq %rcx, %rax
jmp 0x33be9
movl $0xfffffffe, %r12d      # imm = 0xFFFFFFFE
jmp 0x33c0b
decq %rax
jmp 0x33be9
incq %rax
subq %r15, %rax
movl %eax, %edi
addq %r15, %rdi
subl %eax, %r14d
leaq 0x452c8(%rip), %rdx     # 0x78ec3
xorl %r12d, %r12d
movl %r14d, %esi
movq %rbx, %rcx
xorl %eax, %eax
callq 0x349a5
movl %r12d, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq