LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: SyHashInsert
JX9_PRIVATE sxi32 SyHashInsert(SyHash *pHash, const void *pKey, sxu32 nKeyLen, void *pUserData)
{
	SyHashEntry_Pr *pEntry;
	sxi32 rc;
#if defined(UNTRUST)
	if( INVALID_HASH(pHash) || pKey == 0 ){
		return SXERR_CORRUPT;
	}
#endif
	if( pHash->nEntry >= pHash->nBucketSize * SXHASH_FILL_FACTOR ){
		rc = HashGrowTable(&(*pHash));
		if( rc != SXRET_OK ){
			return rc;
		}
	}
	/* Allocate a new hash entry */
	pEntry = (SyHashEntry_Pr *)SyMemBackendPoolAlloc(pHash->pAllocator, sizeof(SyHashEntry_Pr));
	if( pEntry == 0 ){
		return SXERR_MEM;
	}
	/* Zero the entry */
	SyZero(pEntry, sizeof(SyHashEntry_Pr));
	pEntry->pHash = pHash;
	pEntry->pKey = pKey;
	pEntry->nKeyLen = nKeyLen;
	pEntry->pUserData = pUserData;
	pEntry->nHash = pHash->xHash(pEntry->pKey, pEntry->nKeyLen);
	/* Finally insert the entry in its corresponding bucket */
	rc = HashInsert(&(*pHash), pEntry);
	return rc;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, -0x38(%rbp)
movl %edx, -0x2c(%rbp)
movq %rsi, %r15
movq %rdi, %rbx
movl 0x38(%rdi), %r14d
leal (%r14,%r14,2), %eax
cmpl %eax, 0x28(%rdi)
jb 0x446d2
movq (%rbx), %rdi
movl %r14d, %r12d
shll $0x4, %r12d
movl %r12d, %esi
callq 0x33d86
testq %rax, %rax
je 0x446d2
movq %rax, %r13
testl %r12d, %r12d
je 0x4467e
movl %r12d, %ecx
movq %r13, %rax
addq %rcx, %rax
movq %r13, %rcx
movb $0x0, (%rcx)
incq %rcx
cmpq %rax, %rcx
jae 0x4467e
movb $0x0, (%rcx)
incq %rcx
cmpq %rax, %rcx
jae 0x4467e
movb $0x0, (%rcx)
incq %rcx
cmpq %rax, %rcx
jae 0x4467e
movb $0x0, (%rcx)
incq %rcx
cmpq %rax, %rcx
jb 0x44652
addl %r14d, %r14d
movl 0x28(%rbx), %eax
testl %eax, %eax
je 0x446be
leaq 0x18(%rbx), %rcx
leal -0x1(%r14), %edx
xorps %xmm0, %xmm0
movq (%rcx), %rcx
movups %xmm0, 0x38(%rcx)
movl 0x18(%rcx), %esi
andl %edx, %esi
movq (%r13,%rsi,8), %rdi
movq %rdi, 0x38(%rcx)
testq %rdi, %rdi
je 0x446b1
movq %rcx, 0x40(%rdi)
movq %rcx, (%r13,%rsi,8)
addq $0x28, %rcx
decl %eax
jne 0x44693
movq (%rbx), %rdi
movq 0x30(%rbx), %rsi
callq 0x3490d
movq %r13, 0x30(%rbx)
movl %r14d, 0x38(%rbx)
movq (%rbx), %rdi
movl $0x48, %esi
callq 0x2e481
testq %rax, %rax
je 0x4476f
movq %rax, %r13
movq $-0x4, %rax
movl $0x0, 0x4(%r13,%rax)
addq $0x4, %rax
cmpq $0x44, %rax
jb 0x446f2
movq %rbx, 0x20(%r13)
movq %r15, (%r13)
movl -0x2c(%rbp), %esi
movl %esi, 0x8(%r13)
movq -0x38(%rbp), %rax
movq %rax, 0x10(%r13)
movq %r15, %rdi
callq *0x8(%rbx)
movl %eax, 0x18(%r13)
movl 0x38(%rbx), %ecx
decl %ecx
andl %eax, %ecx
movq 0x30(%rbx), %rax
movq (%rax,%rcx,8), %rdx
movq %rdx, 0x38(%r13)
testq %rdx, %rdx
je 0x44742
movq %r13, 0x40(%rdx)
movq %r13, (%rax,%rcx,8)
movq 0x18(%rbx), %rax
testq %rax, %rax
je 0x44757
movq %rax, 0x28(%r13)
movq %r13, 0x30(%rax)
movq %r13, 0x18(%rbx)
movl 0x28(%rbx), %eax
testl %eax, %eax
jne 0x44766
movq %r13, 0x20(%rbx)
incl %eax
movl %eax, 0x28(%rbx)
xorl %eax, %eax
jmp 0x44774
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
addq $0x18, %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: HashGetEntry
static SyHashEntry_Pr * HashGetEntry(SyHash *pHash, const void *pKey, sxu32 nKeyLen)
{
	SyHashEntry_Pr *pEntry;
	sxu32 nHash;

	nHash = pHash->xHash(pKey, nKeyLen);
	pEntry = pHash->apBucket[nHash & (pHash->nBucketSize - 1)];
	for(;;){
		if( pEntry == 0 ){
			break;
		}
		if( pEntry->nHash == nHash && pEntry->nKeyLen == nKeyLen && 
			pHash->xCmp(pEntry->pKey, pKey, nKeyLen) == 0 ){
				return pEntry;
		}
		pEntry = pEntry->pNextCollide;
	}
	/* Entry not found */
	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
movq %rsi, %rdi
movl %edx, %esi
callq *0x8(%r15)
movl %eax, %r13d
movq 0x30(%r15), %rax
movl 0x38(%r15), %ecx
decl %ecx
andl %r13d, %ecx
movq (%rax,%rcx,8), %r12
testq %r12, %r12
je 0x44958
cmpl %r13d, 0x18(%r12)
jne 0x44951
cmpl %ebx, 0x8(%r12)
jne 0x44951
movq (%r12), %rdi
movq %r14, %rsi
movl %ebx, %edx
callq *0x10(%r15)
testl %eax, %eax
je 0x4495b
movq 0x38(%r12), %r12
jmp 0x4492d
xorl %r12d, %r12d
movq %r12, %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: jx9HashmapDup
JX9_PRIVATE sxi32 jx9HashmapDup(jx9_hashmap *pSrc, jx9_hashmap *pDest)
{
	jx9_hashmap_node *pEntry;
	jx9_value sKey, *pVal;
	sxi32 rc;
	sxu32 n;
	if( pSrc == pDest ){
		/* Same map. This can easily happen since hashmaps are passed by reference.
		 * Unlike the  engine.
		 */
		return SXRET_OK;
	}
	/* Point to the first inserted entry in the source */
	pEntry = pSrc->pFirst;
	/* Perform the duplication */
	for( n = 0 ; n < pSrc->nEntry ; ++n ){
		/* Extract the node value */
		pVal = HashmapExtractNodeValue(pEntry);
		if( pEntry->iType == HASHMAP_BLOB_NODE ){
			/* Blob key insertion */
			jx9MemObjInitFromString(pDest->pVm, &sKey, 0);
			jx9MemObjStringAppend(&sKey, (const char *)SyBlobData(&pEntry->xKey.sKey), SyBlobLength(&pEntry->xKey.sKey));
			rc = jx9HashmapInsert(&(*pDest), &sKey, pVal);
			jx9MemObjRelease(&sKey);
		}else{
			/* Int key insertion */
			rc = HashmapInsertIntKey(&(*pDest), pEntry->xKey.iKey, pVal);
		}
		if( rc != SXRET_OK ){
			return rc;
		}
		/* Point to the next entry */
		pEntry = pEntry->pPrev; /* Reverse link */
	}
	return SXRET_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rsi, -0x30(%rbp)
cmpq %rsi, %rdi
je 0x44c08
movq %rdi, %r14
cmpl $0x0, 0x2c(%rdi)
je 0x44c08
leaq 0x10(%r14), %r13
xorl %r15d, %r15d
movq %r14, -0x38(%rbp)
movq -0x30(%rbp), %rbx
movq (%r13), %r13
movq (%r13), %rax
movl 0x38(%r13), %r12d
movq (%rax), %rax
cmpl %r12d, 0x218(%rax)
jbe 0x44b76
imull 0x220(%rax), %r12d
addq 0x210(%rax), %r12
jmp 0x44b79
xorl %r12d, %r12d
cmpl $0x2, 0x8(%r13)
jne 0x44bdf
movq (%rbx), %rax
xorps %xmm0, %xmm0
movaps %xmm0, -0x70(%rbp)
movaps %xmm0, -0x50(%rbp)
movaps %xmm0, -0x60(%rbp)
movaps %xmm0, -0x80(%rbp)
movq %rax, -0x70(%rbp)
leaq -0x60(%rbp), %rcx
movups %xmm0, (%rcx)
movq %rax, -0x68(%rbp)
movl $0x1, -0x78(%rbp)
movq 0x18(%r13), %rsi
movl 0x20(%r13), %edx
leaq -0x80(%rbp), %r14
movq %r14, %rdi
callq 0x3edf3
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x3ef1d
movl %eax, %r12d
movq %r14, %rdi
movq -0x38(%rbp), %r14
callq 0x30465
jmp 0x44bf2
movq 0x10(%r13), %rsi
movq -0x30(%rbp), %rdi
movq %r12, %rdx
callq 0x3f4a6
movl %eax, %r12d
testl %r12d, %r12d
jne 0x44c08
addq $0x48, %r13
incl %r15d
cmpl 0x2c(%r14), %r15d
jb 0x44b4d
addq $0x58, %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: jx9MemObjInitFromString
JX9_PRIVATE sxi32 jx9MemObjInitFromString(jx9_vm *pVm, jx9_value *pObj, const SyString *pVal)
{
	/* Zero the structure */
	SyZero(pObj, sizeof(jx9_value));
	/* Initialize fields */
	pObj->pVm = pVm;
	SyBlobInit(&pObj->sBlob, &pVm->sAllocator);
	if( pVal ){
		/* Append contents */
		SyBlobAppend(&pObj->sBlob, (const void *)pVal->zString, pVal->nByte);
	}
	/* Set the desired type */
	pObj->iFlags = MEMOBJ_STRING;
	return SXRET_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq $-0x4, %rax
movl $0x0, 0x4(%rbx,%rax)
addq $0x4, %rax
cmpq $0x3c, %rax
jb 0x44c27
movq %rdi, 0x10(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%rbx)
movq %rdi, 0x18(%rbx)
movl $0x0, 0x30(%rbx)
testq %rdx, %rdx
je 0x44c63
leaq 0x18(%rbx), %rdi
movq (%rdx), %rsi
movl 0x8(%rdx), %edx
callq 0x359ad
movl $0x1, 0x8(%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: HashmapNodeCmp
static sxi32 HashmapNodeCmp(jx9_hashmap_node *pLeft, jx9_hashmap_node *pRight, int bStrict)
{
	jx9_value sObj1, sObj2;
	sxi32 rc;
	if( pLeft == pRight ){
		/*
		 * Same node.Refer to the sort() implementation defined
		 * below for more information on this sceanario.
		 */
		return 0;
	}
	/* Do the comparison */
	jx9MemObjInit(pLeft->pMap->pVm, &sObj1);
	jx9MemObjInit(pLeft->pMap->pVm, &sObj2);
	jx9HashmapExtractNodeValue(pLeft, &sObj1, FALSE);
	jx9HashmapExtractNodeValue(pRight, &sObj2, FALSE);
	rc = jx9MemObjCmp(&sObj1, &sObj2, bStrict, 0);
	jx9MemObjRelease(&sObj1);
	jx9MemObjRelease(&sObj2);
	return rc;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x80, %rsp
cmpq %rsi, %rdi
je 0x44d2f
movl %edx, %ebx
movq %rsi, %r12
movq (%rdi), %rax
movq (%rax), %rax
xorps %xmm0, %xmm0
leaq -0xa0(%rbp), %r14
movaps %xmm0, 0x10(%r14)
movaps %xmm0, (%r14)
movaps %xmm0, 0x30(%r14)
movaps %xmm0, 0x20(%r14)
movq %rax, 0x10(%r14)
movq %rax, 0x18(%r14)
movl $0x20, %ecx
movl %ecx, 0x8(%r14)
leaq -0x60(%rbp), %r15
movaps %xmm0, 0x10(%r15)
movaps %xmm0, (%r15)
movaps %xmm0, 0x20(%r15)
movaps %xmm0, 0x30(%r15)
movq %rax, 0x10(%r15)
movq %rax, 0x18(%r15)
movl %ecx, 0x8(%r15)
movl 0x38(%rdi), %esi
movq %rax, %rdi
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x43f1e
movq (%r12), %rax
movl 0x38(%r12), %esi
movq (%rax), %rdi
movq %r15, %rdx
xorl %ecx, %ecx
callq 0x43f1e
movq %r14, %rdi
movq %r15, %rsi
movl %ebx, %edx
callq 0x44270
movl %eax, %ebx
movq %r14, %rdi
callq 0x30465
movq %r15, %rdi
callq 0x30465
jmp 0x44d31
xorl %ebx, %ebx
movl %ebx, %eax
addq $0x80, %rsp
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: SyHashInit
JX9_PRIVATE sxi32 SyHashInit(SyHash *pHash, SyMemBackend *pAllocator, ProcHash xHash, ProcCmp xCmp)
{
	SyHashEntry_Pr **apNew;
#if defined(UNTRUST)
	if( pHash == 0 ){
		return SXERR_EMPTY;
	}
#endif
	/* Allocate a new table */
	apNew = (SyHashEntry_Pr **)SyMemBackendAlloc(&(*pAllocator), sizeof(SyHashEntry_Pr *) * SXHASH_BUCKET_SIZE);
	if( apNew == 0 ){
		return SXERR_MEM;
	}
	SyZero((void *)apNew, sizeof(SyHashEntry_Pr *) * SXHASH_BUCKET_SIZE);
	pHash->pAllocator = &(*pAllocator);
	pHash->xHash = xHash ? xHash : SyBinHash;
	pHash->xCmp = xCmp ? xCmp : SyMemcmp;
	pHash->pCurrent = pHash->pList = 0;
	pHash->nEntry = 0;
	pHash->apBucket = apNew;
	pHash->nBucketSize = SXHASH_BUCKET_SIZE;
	return SXRET_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
movl $0x80, %esi
callq 0x33d86
testq %rax, %rax
je 0x44dad
movq $-0x4, %rcx
movl $0x0, 0x4(%rax,%rcx)
addq $0x4, %rcx
cmpq $0x7c, %rcx
jb 0x44d69
movq %r14, (%rbx)
leaq -0x739c(%rip), %rcx     # 0x3d9e9
movq %rcx, 0x8(%rbx)
leaq -0x1059f(%rip), %rcx    # 0x347f1
movq %rcx, 0x10(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x18(%rbx)
movl $0x0, 0x28(%rbx)
movq %rax, 0x30(%rbx)
movl $0x10, 0x38(%rbx)
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: SyHashRelease
JX9_PRIVATE sxi32 SyHashRelease(SyHash *pHash)
{
	SyHashEntry_Pr *pEntry, *pNext;
#if defined(UNTRUST)
	if( INVALID_HASH(pHash)  ){
		return SXERR_EMPTY;
	}
#endif
	pEntry = pHash->pList;
	for(;;){
		if( pHash->nEntry == 0 ){
			break;
		}
		pNext = pEntry->pNext;
		SyMemBackendPoolFree(pHash->pAllocator, pEntry);
		pEntry = pNext;
		pHash->nEntry--;
	}
	if( pHash->apBucket ){
		SyMemBackendFree(pHash->pAllocator, (void *)pHash->apBucket);
	}
	pHash->apBucket = 0;
	pHash->nBucketSize = 0;
	pHash->pAllocator = 0;
	return SXRET_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
cmpl $0x0, 0x28(%rdi)
je 0x44dda
movq 0x18(%rbx), %rsi
movq 0x28(%rsi), %r14
movq (%rbx), %rdi
callq 0x2e659
decl 0x28(%rbx)
movq %r14, %rsi
jne 0x44dc6
movq 0x30(%rbx), %rsi
testq %rsi, %rsi
je 0x44deb
movq (%rbx), %rdi
callq 0x3490d
xorl %eax, %eax
movq %rax, 0x30(%rbx)
movl $0x0, 0x38(%rbx)
movq %rax, (%rbx)
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: unqliteCollectionDropRecord
UNQLITE_PRIVATE int unqliteCollectionDropRecord(
	unqlite_col *pCol,  /* Target collection */
	jx9_int64 nId,      /* Unique ID of the record to be droped */
	int wr_header,      /* True to alter collection header */
	int log_err         /* True to log error */
	)
{
	SyBlob *pWorker = &pCol->sWorker;
	int rc;		
	/* Reset the working buffer */
	SyBlobReset(pWorker);
	/* Prepare the unique ID for this record */
	SyBlobFormat(pWorker,"%z_%qd",&pCol->sName,nId);
	/* Reset the cursor */
	unqlite_kv_cursor_reset(pCol->pCursor);
	/* Seek the cursor to the desired location */
	rc = unqlite_kv_cursor_seek(pCol->pCursor,
		SyBlobData(pWorker),SyBlobLength(pWorker),
		UNQLITE_CURSOR_MATCH_EXACT
		);
	if( rc != UNQLITE_OK ){
		return rc;
	}
	/* Remove the record from the storage engine */
	rc = unqlite_kv_cursor_delete_entry(pCol->pCursor);
	/* Finally, Remove the record from the cache */
	unqliteCollectionCacheRemoveRecord(pCol,nId);
	if( rc == UNQLITE_OK ){
		pCol->nTotRec--;
		if( wr_header ){
			/* Relect in the collection header */
			rc = CollectionSetHeader(0,pCol,-1,pCol->nTotRec,0);
		}
	}else if( rc == UNQLITE_NOTIMPLEMENTED ){
		if( log_err ){
			unqliteGenErrorFormat(pCol->pVm->pDb,
				"Cannot delete record from collection '%z' due to a read-only Key/Value storage engine",
				&pCol->sName
				);
		}
	}
	return rc;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %r14d
movl %edx, -0x2c(%rbp)
movq %rsi, %r13
movq %rdi, %rbx
addq $0x68, %rdi
movl $0x0, 0x78(%rbx)
movl 0x80(%rbx), %eax
testb $0x4, %al
je 0x451d9
movq $0x0, 0x70(%rbx)
movl $0x0, 0x7c(%rbx)
andl $-0x5, %eax
movl %eax, 0x80(%rbx)
leaq 0x8(%rbx), %r15
leaq 0x2eef4(%rip), %rsi     # 0x740d8
movq %r15, %rdx
movq %r13, %rcx
xorl %eax, %eax
callq 0x3e26d
movq 0x118(%rbx), %rdi
movq (%rdi), %rax
movq (%rax), %rax
movq 0x8(%rax), %rax
movq 0xa8(%rax), %rax
testq %rax, %rax
je 0x45217
callq *%rax
movq 0x118(%rbx), %rdi
movq 0x70(%rbx), %rsi
movl 0x78(%rbx), %edx
movl $0x1, %ecx
callq 0x32448
movl %eax, %r12d
testl %eax, %eax
je 0x45241
movl %r12d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x118(%rbx), %rdi
movq (%rdi), %rax
movq (%rax), %rax
movq 0x8(%rax), %rax
movq 0x80(%rax), %rax
testq %rax, %rax
je 0x452ac
callq *%rax
movl %eax, %r12d
movq %rbx, %rdi
movq %r13, %rsi
callq 0x409cf
testl %r12d, %r12d
jne 0x452bd
movq 0xb8(%rbx), %rcx
decq %rcx
movq %rcx, 0xb8(%rbx)
cmpl $0x0, -0x2c(%rbp)
je 0x452f2
xorl %edi, %edi
movq %rbx, %rsi
movq $-0x1, %rdx
xorl %r8d, %r8d
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x3da9b
movq %rbx, %rdi
movq %r13, %rsi
callq 0x409cf
movl $0xffffffef, %r12d      # imm = 0xFFFFFFEF
testl %r14d, %r14d
je 0x4522f
cmpl $-0x11, %r12d
jne 0x4522f
movq (%rbx), %rax
movq (%rax), %rdi
leaq 0x2f452(%rip), %rsi     # 0x7472f
movq %r15, %rdx
xorl %eax, %eax
callq 0x3a376
movl $0xffffffef, %r12d      # imm = 0xFFFFFFEF
jmp 0x4522f
xorl %r12d, %r12d
jmp 0x4522f
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: VmExtractSuper
static jx9_value * VmExtractSuper(
	jx9_vm *pVm,       /* Target VM */
	const char *zName, /* Superglobal name: NOT NULL TERMINATED */
	sxu32 nByte        /* zName length */
	)
{
	SyHashEntry *pEntry;
	jx9_value *pValue;
	sxu32 nIdx;
	/* Query the superglobal table */
	pEntry = SyHashGet(&pVm->hSuper, (const void *)zName, nByte);
	if( pEntry == 0 ){
		/* No such entry */
		return 0;
	}
	/* Extract the superglobal index in the global object pool */
	nIdx = SX_PTR_TO_INT(pEntry->pUserData);
	/* Extract the variable value  */
	pValue = (jx9_value *)SySetAt(&pVm->aMemObj, nIdx);
	return pValue;
}

// Assembly:
xorl %eax, %eax
testl %edx, %edx
je 0x463ef
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpl $0x0, 0x370(%rdi)
je 0x463e9
leaq 0x348(%rbx), %rdi
callq 0x448fa
testq %rax, %rax
je 0x463e7
movl 0x10(%rax), %eax
cmpl %eax, 0x218(%rbx)
jbe 0x463e7
imull 0x220(%rbx), %eax
addq 0x210(%rbx), %rax
jmp 0x463e9
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: VmHashmapInsert
static sxi32 VmHashmapInsert(
	jx9_hashmap *pMap,  /* Target hashmap  */
	const char *zKey,   /* Entry key */
	int nKeylen,        /* zKey length*/
	const char *zData,  /* Entry data */
	int nLen            /* zData length */
	)
{
	jx9_value sKey,sValue;
	jx9_value *pKey;
	sxi32 rc;
	pKey = 0;
	jx9MemObjInit(pMap->pVm, &sKey);
	jx9MemObjInitFromString(pMap->pVm, &sValue, 0);
	if( zKey ){
		if( nKeylen < 0 ){
			nKeylen = (int)SyStrlen(zKey);
		}
		jx9MemObjStringAppend(&sKey, zKey, (sxu32)nKeylen);
		pKey = &sKey;
	}
	if( zData ){
		if( nLen < 0 ){
			/* Compute length automatically */
			nLen = (int)SyStrlen(zData);
		}
		jx9MemObjStringAppend(&sValue, zData, (sxu32)nLen);
	}
	/* Perform the insertion */
	rc = jx9HashmapInsert(&(*pMap),pKey,&sValue);
	jx9MemObjRelease(&sKey);
	jx9MemObjRelease(&sValue);
	return rc;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x80, %rsp
movl %r8d, %r15d
movq %rcx, %r14
movq %rdi, %rbx
movq (%rdi), %rax
xorps %xmm0, %xmm0
movaps %xmm0, -0x90(%rbp)
movaps %xmm0, -0xa0(%rbp)
movaps %xmm0, -0x70(%rbp)
movaps %xmm0, -0x80(%rbp)
movq %rax, -0x90(%rbp)
movq %rax, -0x88(%rbp)
movl $0x20, -0x98(%rbp)
movaps %xmm0, -0x50(%rbp)
movaps %xmm0, -0x60(%rbp)
movaps %xmm0, -0x40(%rbp)
movaps %xmm0, -0x30(%rbp)
movq %rax, -0x50(%rbp)
movq %rax, -0x48(%rbp)
movl $0x1, -0x58(%rbp)
testq %rsi, %rsi
je 0x4649a
testl %edx, %edx
jns 0x464a9
cmpb $0x0, (%rsi)
movq %rsi, %rdx
je 0x464a7
leaq 0x2(%rsi), %rdx
cmpb $0x0, -0x1(%rdx)
je 0x4649f
cmpb $0x0, (%rdx)
je 0x464a7
cmpb $0x0, 0x1(%rdx)
je 0x464a4
leaq 0x4(%rdx), %rax
cmpb $0x0, 0x2(%rdx)
movq %rax, %rdx
jne 0x46473
addq $-0x2, %rax
movq %rax, %rdx
jmp 0x464a7
xorl %r12d, %r12d
jmp 0x464b8
decq %rdx
jmp 0x464a7
incq %rdx
subl %esi, %edx
leaq -0xa0(%rbp), %r12
movq %r12, %rdi
callq 0x3edf3
testq %r14, %r14
je 0x46514
testl %r15d, %r15d
jns 0x46505
cmpb $0x0, (%r14)
movq %r14, %r15
je 0x46502
leaq 0x2(%r14), %r15
cmpb $0x0, -0x1(%r15)
je 0x464fa
cmpb $0x0, (%r15)
je 0x46502
cmpb $0x0, 0x1(%r15)
je 0x464ff
leaq 0x4(%r15), %rax
cmpb $0x0, 0x2(%r15)
movq %rax, %r15
jne 0x464cf
addq $-0x2, %rax
movq %rax, %r15
jmp 0x46502
decq %r15
jmp 0x46502
incq %r15
subl %r14d, %r15d
leaq -0x60(%rbp), %rdi
movq %r14, %rsi
movl %r15d, %edx
callq 0x3edf3
leaq -0x60(%rbp), %r14
movq %rbx, %rdi
movq %r12, %rsi
movq %r14, %rdx
callq 0x3ef1d
movl %eax, %ebx
leaq -0xa0(%rbp), %rdi
callq 0x30465
movq %r14, %rdi
callq 0x30465
movl %ebx, %eax
addq $0x80, %rsp
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_vm_config
JX9_PRIVATE int jx9_vm_config(jx9_vm *pVm, int iConfigOp, ...)
{
	va_list ap;
	int rc;
	/* Ticket 1433-002: NULL VM is harmless operation */
	if ( JX9_VM_MISUSE(pVm) ){
		return JX9_CORRUPT;
	}
#if defined(JX9_ENABLE_THREADS)
	 /* Acquire VM mutex */
	 SyMutexEnter(sJx9MPGlobal.pMutexMethods, pVm->pMutex); /* NO-OP if sJx9MPGlobal.nThreadingLevel != JX9_THREAD_LEVEL_MULTI */
	 if( sJx9MPGlobal.nThreadingLevel > JX9_THREAD_LEVEL_SINGLE && 
		 JX9_THRD_VM_RELEASE(pVm) ){
			 return JX9_ABORT; /* Another thread have released this instance */
	 }
#endif
	/* Confiugure the virtual machine */
	va_start(ap, iConfigOp);
	rc = jx9VmConfigure(&(*pVm), iConfigOp, ap);
	va_end(ap);
#if defined(JX9_ENABLE_THREADS)
	 /* Leave VM mutex */
	 SyMutexLeave(sJx9MPGlobal.pMutexMethods, pVm->pMutex); /* NO-OP if sJx9MPGlobal.nThreadingLevel != JX9_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 0x4688c
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 0x46926
movq %rdi, %rbx
cmpl $0xdead2bad, 0x6e8(%rdi) # imm = 0xDEAD2BAD
je 0x46926
movl %esi, %r14d
movq 0xb8(%rbx), %rdi
testq %rdi, %rdi
je 0x468c3
movq 0x4e7e0(%rip), %rax     # 0x950a0
callq *0x20(%rax)
cmpl $0x2, 0x4e7e6(%rip)     # 0x950b0
jb 0x468de
movl $0xfffffff6, %r15d      # imm = 0xFFFFFFF6
cmpl $0xdead2bad, 0x6e8(%rbx) # imm = 0xDEAD2BAD
je 0x46926
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 %rbx, %rdi
movl %r14d, %esi
callq 0x452fa
movl %eax, %r15d
movq 0xb8(%rbx), %rdi
testq %rdi, %rdi
je 0x46926
movq 0x4e77d(%rip), %rax     # 0x950a0
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: VmHttpExtractHeaderValue
static SyString * VmHttpExtractHeaderValue(SySet *pSet, const char *zMime, sxu32 nByte)
 {
	 SyhttpHeader *aMime, *pMime;
	 SyString sMime;
	 sxu32 n;
	 SyStringInitFromBuf(&sMime, zMime, nByte);
	 /* Point to the MIME entries */
	 aMime = (SyhttpHeader *)SySetBasePtr(pSet);
	 /* Perform the lookup */
	 for( n = 0 ; n < SySetUsed(pSet) ; ++n ){
		 pMime = &aMime[n];
		 if( SyStringCmp(&sMime, &pMime->sName, SyStrnicmp) == 0 ){
			 /* Header found, return it's associated value */
			 return &pMime->sValue;
		 }
	 }
	 /* No such MIME header */
	 return 0;
 }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
testl %esi, %esi
je 0x46ba0
movl %ecx, %r14d
movq %rdx, %r15
movq %rdi, %rbx
movl %esi, %r12d
addq $0x10, %rbx
movl %r14d, %eax
subl -0x8(%rbx), %eax
jne 0x46b93
movq -0x10(%rbx), %rsi
movq %r15, %rdi
movl %r14d, %edx
callq 0x39f3f
testl %eax, %eax
je 0x46ba2
addq $0x20, %rbx
decq %r12
jne 0x46b7c
xorl %ebx, %ebx
movq %rbx, %rax
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: VmGetNextLine
static sxi32 VmGetNextLine(SyString *pCursor, SyString *pCurrent)
{ 
  	const char *zIn;
  	sxu32 nPos; 
	/* Jump leading white spaces */
	SyStringLeftTrim(pCursor);
	if( pCursor->nByte < 1 ){
		SyStringInitFromBuf(pCurrent, 0, 0);
		return SXERR_EOF; /* End of input */
	}
	zIn = SyStringData(pCursor);
	if( SXRET_OK != SyByteListFind(pCursor->zString, pCursor->nByte, "\r\n", &nPos) ){
		/* Line not found, tell the caller to read more input from source */
		SyStringDupPtr(pCurrent, pCursor);
		return SXERR_MORE;
	}
  	pCurrent->zString = zIn;
  	pCurrent->nByte	= nPos;	
  	/* advance the cursor so we can call this routine again */
  	pCursor->zString = &zIn[nPos];
  	pCursor->nByte -= nPos;
  	return SXRET_OK;
 }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, -0x30(%rbp)
movl 0x8(%rdi), %r12d
testl %r12d, %r12d
je 0x46e1e
movq %rdi, %rbx
movq (%rdi), %r15
leaq 0x1(%r15), %r13
movsbq (%r15), %r14
cmpq $-0x41, %r14
ja 0x46e3a
callq 0xc170
movq (%rax), %rax
testb $0x20, 0x1(%rax,%r14,2)
je 0x46e3a
incq %r15
incq %r13
decl %r12d
movl %r12d, 0x8(%rbx)
movq %r15, (%rbx)
jne 0x46df2
movq -0x30(%rbp), %rax
movq $0x0, (%rax)
movl $0x0, 0x8(%rax)
movl $0xffffffee, %eax       # imm = 0xFFFFFFEE
jmp 0x46ed1
movl %r12d, %eax
addq %r15, %rax
movzbl -0x1(%r13), %ecx
cmpl $0xa, %ecx
je 0x46eb1
cmpl $0xd, %ecx
je 0x46eb1
cmpq %rax, %r13
jae 0x46e9f
movzbl (%r13), %ecx
cmpl $0xa, %ecx
je 0x46eb4
cmpl $0xd, %ecx
je 0x46eb4
leaq 0x1(%r13), %rcx
cmpq %rax, %rcx
jae 0x46e9f
movzbl (%rcx), %edx
cmpl $0xa, %edx
je 0x46eb7
cmpl $0xd, %edx
je 0x46eb7
leaq 0x2(%r13), %rcx
cmpq %rax, %rcx
jae 0x46e9f
movzbl (%rcx), %edx
cmpl $0xa, %edx
je 0x46eb7
cmpl $0xd, %edx
je 0x46eb7
leaq 0x4(%r13), %rcx
addq $0x3, %r13
cmpq %rax, %r13
movq %rcx, %r13
jb 0x46e40
movq -0x30(%rbp), %rax
movq %r15, (%rax)
movl %r12d, 0x8(%rax)
movl $0xfffffff8, %eax       # imm = 0xFFFFFFF8
jmp 0x46ed1
decq %r13
movq %r13, %rcx
subq %r15, %rcx
movq -0x30(%rbp), %rax
movq %r15, (%rax)
movl %ecx, 0x8(%rax)
movl %ecx, %eax
addq %r15, %rax
movq %rax, (%rbx)
subl %ecx, 0x8(%rbx)
xorl %eax, %eax
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: SyByteFind
JX9_PRIVATE sxi32 SyByteFind(const char *zStr, sxu32 nLen, sxi32 c, sxu32 *pPos)
{
	const char *zIn = zStr;
	const char *zEnd;
	
	zEnd = &zIn[nLen];
	for(;;){
		if( zIn >= zEnd ){ break; }if( zIn[0] == c ){ if( pPos ){ *pPos = (sxu32)(zIn - zStr); } return SXRET_OK; } zIn++;
		if( zIn >= zEnd ){ break; }if( zIn[0] == c ){ if( pPos ){ *pPos = (sxu32)(zIn - zStr); } return SXRET_OK; } zIn++;
		if( zIn >= zEnd ){ break; }if( zIn[0] == c ){ if( pPos ){ *pPos = (sxu32)(zIn - zStr); } return SXRET_OK; } zIn++;
		if( zIn >= zEnd ){ break; }if( zIn[0] == c ){ if( pPos ){ *pPos = (sxu32)(zIn - zStr); } return SXRET_OK; } zIn++;
	}
	return SXERR_NOTFOUND;
}

// Assembly:
movl $0xfffffffa, %eax       # imm = 0xFFFFFFFA
testl %esi, %esi
je 0x473aa
pushq %rbp
movq %rsp, %rbp
movl %esi, %r8d
addq %rdi, %r8
leaq 0x3(%rdi), %rsi
movsbl -0x3(%rsi), %r9d
cmpl %edx, %r9d
je 0x4738b
leaq -0x2(%rsi), %r9
cmpq %r8, %r9
jae 0x473a9
movsbl (%r9), %r10d
cmpl %edx, %r10d
je 0x4739c
leaq -0x1(%rsi), %r9
cmpq %r8, %r9
jae 0x473a9
movsbl (%r9), %r10d
cmpl %edx, %r10d
je 0x4739c
cmpq %r8, %rsi
jae 0x473a9
movsbl (%rsi), %r9d
cmpl %edx, %r9d
je 0x47399
leaq 0x4(%rsi), %r9
incq %rsi
cmpq %r8, %rsi
movq %r9, %rsi
jb 0x4733e
jmp 0x473a9
testq %rcx, %rcx
je 0x473a7
addq $-0x3, %rsi
movq %rsi, %r9
jmp 0x473a1
movq %rsi, %r9
testq %rcx, %rcx
je 0x473a7
subl %edi, %r9d
movl %r9d, (%rcx)
xorl %eax, %eax
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9VmPushFilePath
JX9_PRIVATE sxi32 jx9VmPushFilePath(jx9_vm *pVm, const char *zPath, int nLen, sxu8 bMain, sxi32 *pNew)
{
	SyString sPath;
	char *zDup;
#ifdef __WINNT__
	char *zCur;
#endif
	sxi32 rc;
	if( nLen < 0 ){
		nLen = SyStrlen(zPath);
	}
	/* Duplicate the file path first */
	zDup = SyMemBackendStrDup(&pVm->sAllocator, zPath, nLen);
	if( zDup == 0 ){
		return SXERR_MEM;
	}
#ifdef __WINNT__
	/* Normalize path on windows
	 * Example:
	 *    Path/To/File.jx9
	 * becomes
	 *   path\to\file.jx9
	 */
	zCur = zDup;
	while( zCur[0] != 0 ){
		if( zCur[0] == '/' ){
			zCur[0] = '\\';
		}else if( (unsigned char)zCur[0] < 0xc0 && SyisUpper(zCur[0]) ){
			int c = SyToLower(zCur[0]);
			zCur[0] = (char)c; /* MSVC stupidity */
		}
		zCur++;
	}
#endif
	/* Install the file path */
	SyStringInitFromBuf(&sPath, zDup, nLen);
	if( !bMain ){
		if( VmIsIncludedFile(&(*pVm), &sPath) ){
			/* Already included */
			*pNew = 0;
		}else{
			/* Insert in the corresponding container */
			rc = SySetPut(&pVm->aIncluded, (const void *)&sPath);
			if( rc != SXRET_OK ){
				SyMemBackendFree(&pVm->sAllocator, zDup);
				return rc;
			}
			*pNew = 1;
		}
	}
	SySetPut(&pVm->aFiles, (const void *)&sPath);
	return SXRET_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r8, %r14
movl %ecx, %r12d
movl %edx, %r15d
movq %rdi, %rbx
testl %edx, %edx
jns 0x47f26
cmpb $0x0, (%rsi)
movq %rsi, %r15
je 0x47f23
leaq 0x2(%rsi), %r15
cmpb $0x0, -0x1(%r15)
je 0x47f1b
cmpb $0x0, (%r15)
je 0x47f23
cmpb $0x0, 0x1(%r15)
je 0x47f20
leaq 0x4(%r15), %rax
cmpb $0x0, 0x2(%r15)
movq %rax, %r15
jne 0x47ef0
addq $-0x2, %rax
movq %rax, %r15
jmp 0x47f23
decq %r15
jmp 0x47f23
incq %r15
subl %esi, %r15d
movq %rbx, %rdi
movl %r15d, %edx
callq 0x3da5b
testq %rax, %rax
je 0x47ff4
movq %rax, %r13
movq %rax, -0x48(%rbp)
movl %r15d, -0x40(%rbp)
testb %r12b, %r12b
jne 0x47fe1
movq %r14, -0x38(%rbp)
movq %rbx, -0x30(%rbp)
movl 0x448(%rbx), %r12d
testq %r12, %r12
je 0x47f99
movq -0x30(%rbp), %rax
movq 0x440(%rax), %r14
shlq $0x4, %r12
xorl %ebx, %ebx
movl %r15d, %eax
subl 0x8(%r14,%rbx), %eax
jne 0x47f8c
movq (%r14,%rbx), %rsi
movq %r13, %rdi
movl %r15d, %edx
callq 0x347f1
testl %eax, %eax
je 0x47fce
addq $0x10, %rbx
cmpq %rbx, %r12
jne 0x47f73
movq -0x30(%rbp), %rbx
leaq 0x438(%rbx), %rdi
leaq -0x48(%rbp), %rsi
callq 0x33094
testl %eax, %eax
movq -0x38(%rbp), %rcx
je 0x47fda
movq %rbx, %rdi
movq %r13, %rsi
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x3490d
xorl %eax, %eax
movq -0x30(%rbp), %rbx
movq -0x38(%rbp), %rcx
jmp 0x47fdf
movl $0x1, %eax
movl %eax, (%rcx)
addq $0x3e8, %rbx            # imm = 0x3E8
leaq -0x48(%rbp), %rsi
movq %rbx, %rdi
callq 0x33094
addq $0x28, %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: jx9CompileScript
JX9_PRIVATE sxi32 jx9CompileScript(
	jx9_vm *pVm,        /* Generate JX9 bytecodes for this Virtual Machine */
	SyString *pScript,  /* Script to compile */
	sxi32 iFlags        /* Compile flags */
	)
{
	jx9_gen_state *pGen;
	SySet aToken;
	sxi32 rc;
	if( pScript->nByte < 1 ){
		/* Nothing to compile */
		return JX9_OK;
	}
	/* Initialize the tokens containers */
	SySetInit(&aToken, &pVm->sAllocator, sizeof(SyToken));
	SySetAlloc(&aToken, 0xc0);
	pGen = &pVm->sCodeGen;
	rc = JX9_OK;
	/* Tokenize the JX9 chunk first */
	jx9Tokenize(pScript->zString,pScript->nByte,&aToken);
	if( SySetUsed(&aToken) < 1 ){
		return SXERR_EMPTY;
	}
	/* Point to the head and tail of the token stream. */
	pGen->pIn  = (SyToken *)SySetBasePtr(&aToken);
	pGen->pEnd = &pGen->pIn[SySetUsed(&aToken)];
	/* Compile the chunk */
	rc = GenStateCompileChunk(pGen,iFlags);
	/* Cleanup */
	SySetRelease(&aToken);
	return rc;
}

// Assembly:
cmpl $0x0, 0x8(%rsi)
je 0x480bc
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movabsq $0x2000000000, %rax     # imm = 0x2000000000
movq %rax, -0x24(%rbp)
xorl %eax, %eax
movl %eax, -0x28(%rbp)
movl %eax, -0x1c(%rbp)
movq %rdi, -0x38(%rbp)
movq $0x0, -0x18(%rbp)
movl $0x1800, %esi           # imm = 0x1800
callq 0x33d86
movq %rax, -0x30(%rbp)
testq %rax, %rax
je 0x4805a
movl $0xc0, -0x24(%rbp)
movq (%r14), %rdi
movl 0x8(%r14), %esi
leaq -0x38(%rbp), %r14
movq %r14, %rdx
callq 0x4851c
movl 0x10(%r14), %eax
testq %rax, %rax
je 0x480b4
leaq 0x568(%rbx), %rdi
movq -0x30(%rbp), %rcx
movq %rcx, 0x6c0(%rbx)
shlq $0x5, %rax
addq %rcx, %rax
movq %rax, 0x6c8(%rbx)
xorl %esi, %esi
callq 0x48577
movq -0x38(%rbp), %rdi
testq %rdi, %rdi
je 0x480b4
movq -0x30(%rbp), %rsi
testq %rsi, %rsi
je 0x480b4
callq 0x3490d
addq $0x30, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: SySetAlloc
JX9_PRIVATE sxi32 SySetAlloc(SySet *pSet, sxi32 nItem)
{
	if( pSet->nSize > 0 ){
		return SXERR_LOCKED;
	}
	if( nItem < 8 ){
		nItem = 8;
	}
	pSet->pBase = SyMemBackendAlloc(pSet->pAllocator, pSet->eSize * nItem);
	if( pSet->pBase == 0 ){
		return SXERR_MEM;
	}
	pSet->nSize = nItem;
	return SXRET_OK;
}

// Assembly:
cmpl $0x0, 0x14(%rdi)
je 0x480c4
retq
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movl %esi, %ebx
movq %rdi, %r14
movq (%rdi), %rdi
movl 0x18(%r14), %esi
imull %ebx, %esi
callq 0x33d86
movq %rax, 0x8(%r14)
testq %rax, %rax
je 0x480ec
movl %ebx, 0x14(%r14)
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9VmReserveConstObj
JX9_PRIVATE jx9_value * jx9VmReserveConstObj(jx9_vm *pVm, sxu32 *pIndex)
{
	jx9_value *pObj;
	sxi32 rc;
	if( pIndex ){
		/* Object index in the object table */
		*pIndex = SySetUsed(&pVm->aLitObj);
	}
	/* Reserve a slot for the new object */
	rc = SySetPut(&pVm->aLitObj, (const void *)zDummy);
	if( rc != SXRET_OK ){
		/* If the supplied memory subsystem is so sick that we are unable to allocate
		 * a tiny chunk of memory, there is no much we can do here.
		 */
		return 0;
	}
	pObj = (jx9_value *)SySetPeek(&pVm->aLitObj);
	return pObj;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
testq %rsi, %rsi
je 0x48107
movl 0x240(%rbx), %eax
movl %eax, (%rsi)
leaq 0x230(%rbx), %rdi
leaq 0x2ab1b(%rip), %rsi     # 0x72c30
callq 0x33094
testl %eax, %eax
je 0x48122
xorl %eax, %eax
jmp 0x4813c
movl 0x240(%rbx), %eax
testl %eax, %eax
je 0x4811e
decl %eax
imull 0x248(%rbx), %eax
addq 0x238(%rbx), %rax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9VmEmitInstr
JX9_PRIVATE sxi32 jx9VmEmitInstr(
	jx9_vm *pVm,  /* Target VM */
	sxi32 iOp,    /* Operation to perform */
	sxi32 iP1,    /* First operand */
	sxu32 iP2,    /* Second operand */
	void *p3,     /* Third operand */
	sxu32 *pIndex /* Instruction index. NULL otherwise */
	)
{
	VmInstr sInstr;
	sxi32 rc;
	/* Fill the VM instruction */
	sInstr.iOp = (sxu8)iOp; 
	sInstr.iP1 = iP1; 
	sInstr.iP2 = iP2; 
	sInstr.p3  = p3;  
	if( pIndex ){
		/* Instruction index in the bytecode array */
		*pIndex = SySetUsed(pVm->pByteContainer);
	}
	/* Finally, record the instruction */
	rc = SySetPut(pVm->pByteContainer, (const void *)&sInstr);
	if( rc != SXRET_OK ){
		jx9GenCompileError(&pVm->sCodeGen, E_ERROR, 1, "Fatal, Cannot emit instruction due to a memory failure");
		/* Fall throw */
	}
	return rc;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
movb %sil, -0x28(%rbp)
movl %edx, -0x24(%rbp)
movl %ecx, -0x20(%rbp)
movq %r8, -0x18(%rbp)
movq 0xf0(%rdi), %rdi
testq %r9, %r9
je 0x48393
movl 0x10(%rdi), %eax
movl %eax, (%r9)
leaq -0x28(%rbp), %rsi
callq 0x33094
movl %eax, %r14d
testl %eax, %eax
je 0x483c5
addq $0x568, %rbx            # imm = 0x568
leaq 0x2d249(%rip), %rcx     # 0x755fa
movq %rbx, %rdi
movl $0x1, %esi
movl $0x1, %edx
xorl %eax, %eax
callq 0x483d1
movl %r14d, %eax
addq $0x20, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9GenCompileError
JX9_PRIVATE sxi32 jx9GenCompileError(jx9_gen_state *pGen,sxi32 nErrType,sxu32 nLine,const char *zFormat,...)
{
	SyBlob *pWorker = &pGen->pVm->pEngine->xConf.sErrConsumer;
	const char *zErr = "Error";
	va_list ap;
	if( nErrType == E_ERROR ){
		/* Increment the error counter */
		pGen->nErr++;
		if( pGen->nErr > 15 ){
			/* Error count limit reached */
			SyBlobFormat(pWorker, "%u Error count limit reached, JX9 is aborting compilation\n", nLine);	
			/* Abort immediately */
			return SXERR_ABORT;
		}
	}
	switch(nErrType){
	case E_WARNING: zErr = "Warning";     break;
	case E_PARSE:   zErr = "Parse error"; break;
	case E_NOTICE:  zErr = "Notice";      break;
	default:
		break;
	}
	/* Format the error message */
	SyBlobFormat(pWorker, "%u %s: ", nLine, zErr);
	va_start(ap, zFormat);
	SyBlobFormatAp(pWorker, zFormat, ap);
	va_end(ap);
	/* Append a new line */
	SyBlobAppend(pWorker, (const void *)"\n", sizeof(char));
	return JX9_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0xe8, %rsp
movq %rcx, %r14
movq %r8, -0xd0(%rbp)
movq %r9, -0xc8(%rbp)
testb %al, %al
je 0x48422
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)
movq (%rdi), %rax
movl $0xd0, %ebx
addq 0xc0(%rax), %rbx
cmpl $0x2, %esi
je 0x4846e
leaq 0x3039f(%rip), %rcx     # 0x787dc
cmpl $0x1, %esi
jne 0x48475
movl 0x168(%rdi), %eax
incl %eax
movl %eax, 0x168(%rdi)
cmpl $0x10, %eax
jb 0x48475
leaq 0x2d1d5(%rip), %rsi     # 0x75631
movq %rbx, %rdi
xorl %eax, %eax
callq 0x3e26d
movl $0xfffffff6, %r15d      # imm = 0xFFFFFFF6
jmp 0x484dd
leaq 0x2d1f7(%rip), %rcx     # 0x7566c
leaq 0x2d1f8(%rip), %rsi     # 0x75674
xorl %r15d, %r15d
movq %rbx, %rdi
xorl %eax, %eax
callq 0x3e26d
leaq -0xf0(%rbp), %rax
leaq -0x40(%rbp), %rcx
movq %rax, 0x10(%rcx)
leaq 0x10(%rbp), %rax
movq %rax, 0x8(%rcx)
movabsq $0x3000000020, %rax     # imm = 0x3000000020
movq %rax, (%rcx)
movq %rcx, (%rsp)
leaq -0x1c(%rbp), %r8
movl $0x6, %edi
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
movq %r14, %r9
callq 0x34a80
leaq 0x2fe11(%rip), %rsi     # 0x782e1
movq %rbx, %rdi
movl $0x1, %edx
callq 0x359ad
movl %r15d, %eax
addq $0xe8, %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: GenStateFreeBlock
static void GenStateFreeBlock(GenBlock *pBlock)
{
	jx9_gen_state *pGen = pBlock->pGen;
	GenStateReleaseBlock(&(*pBlock));
	/* Free the instance */
	SyMemBackendPoolFree(&pGen->pVm->sAllocator, pBlock);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq (%rdi), %r14
addq $0x50, %rdi
callq 0x399c8
leaq 0x18(%rbx), %rdi
callq 0x399c8
movq (%r14), %rdi
movq %rbx, %rsi
popq %rbx
popq %r14
popq %rbp
jmp 0x2e659
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9Tokenize
JX9_PRIVATE sxi32 jx9Tokenize(const char *zInput,sxu32 nLen,SySet *pOut)
{
	SyLex sLexer;
	sxi32 rc;
	/* Initialize the lexer */
	rc = SyLexInit(&sLexer, &(*pOut),jx9TokenizeInput,0);
	if( rc != SXRET_OK ){
		return rc;
	}
	/* Tokenize input */
	rc = SyLexTokenizeInput(&sLexer, zInput, nLen, 0, 0, 0);
	/* Release the lexer */
	SyLexRelease(&sLexer);
	/* Tokenization result */
	return rc;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movl %esi, %eax
movq %rdi, %rsi
movq $0x0, -0x8(%rbp)
testq %rdx, %rdx
je 0x48540
cmpl $0x20, 0x18(%rdx)
jne 0x48571
movq %rdx, -0x8(%rbp)
leaq 0x16a(%rip), %rcx       # 0x486b1
leaq -0x40(%rbp), %rdi
movq %rcx, 0x28(%rdi)
movq $0x0, 0x30(%rdi)
movq $0x1, 0x18(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rdi)
movq %rdx, 0x20(%rdi)
movl %eax, %edx
callq 0x49203
addq $0x40, %rsp
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: SyLexTokenizeInput
JX9_PRIVATE sxi32 SyLexTokenizeInput(SyLex *pLex, const char *zInput, sxu32 nLen, void *pCtxData, ProcSort xSort, ProcCmp xCmp)
{
	const unsigned char *zCur;
	SyStream *pStream;
	SyToken sToken;
	sxi32 rc;
#if defined (UNTRUST)
	if ( INVALID_LEXER(pLex) || zInput == 0 ){
		return SXERR_CORRUPT;
	}
#endif
	pStream = &pLex->sStream;
	/* Point to the head of the input */
	pStream->zText = pStream->zInput = (const unsigned char *)zInput;
	/* Point to the end of the input */
	pStream->zEnd = &pStream->zInput[nLen];
	for(;;){
		if( pStream->zText >= pStream->zEnd ){
			/* End of the input reached */
			break;
		}
		zCur = pStream->zText;
		/* Call the tokenizer callback */
		rc = pLex->xTokenizer(pStream, &sToken, pLex->pUserData, pCtxData);
		if( rc != SXRET_OK && rc != SXERR_CONTINUE ){
			/* Tokenizer callback request an operation abort */
			if( rc == SXERR_ABORT ){
				return SXERR_ABORT;
			}
			break;
		}
		if( rc == SXERR_CONTINUE ){
			/* Request to ignore this token */
			pStream->nIgn++;
		}else if( pLex->pTokenSet  ){
			/* Put the token in the set */
			rc = SySetPut(pLex->pTokenSet, (const void *)&sToken);
			if( rc != SXRET_OK ){
				break;
			}
		}
		if( zCur >= pStream->zText ){
			/* Automatic advance of the stream cursor */
			pStream->zText = &zCur[1];
		}
	}
	if( xSort &&  pLex->pTokenSet ){
		SyToken *aToken = (SyToken *)SySetBasePtr(pLex->pTokenSet);
		/* Sort the extrated tokens */
		if( xCmp == 0 ){
			/* Use a default comparison function */
			xCmp = SyMemcmp;
		}
		xSort(aToken, SySetUsed(pLex->pTokenSet), sizeof(SyToken), xCmp);
	}
	return SXRET_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rsi, (%rdi)
movq %rsi, 0x8(%rdi)
movl %edx, %eax
addq %rsi, %rax
movq %rax, 0x10(%rdi)
testl %edx, %edx
je 0x49283
movq %rsi, %r14
movq %rdi, %rbx
leaq -0x40(%rbp), %r12
movq 0x30(%rbx), %rdx
xorl %r15d, %r15d
movq %rbx, %rdi
movq %r12, %rsi
xorl %ecx, %ecx
callq *0x28(%rbx)
cmpl $-0x19, %eax
je 0x49262
testl %eax, %eax
jne 0x49288
movq 0x38(%rbx), %rdi
testq %rdi, %rdi
je 0x49265
movq %r12, %rsi
callq 0x33094
testl %eax, %eax
je 0x49265
jmp 0x49290
incl 0x1c(%rbx)
movq 0x8(%rbx), %rax
cmpq %rax, %r14
jb 0x49278
incq %r14
movq %r14, 0x8(%rbx)
movq %r14, %rax
movq %rax, %r14
cmpq 0x10(%rbx), %rax
jb 0x49230
jmp 0x49290
xorl %r15d, %r15d
jmp 0x49290
cmpl $-0xa, %eax
jne 0x49290
movl %eax, %r15d
movl %r15d, %eax
addq $0x20, %rsp
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: jx9ExprExtractOperator
JX9_PRIVATE const jx9_expr_op *  jx9ExprExtractOperator(SyString *pStr, SyToken *pLast)
{
	sxu32 n = 0;
	sxi32 rc;
	/* Do a linear lookup on the operators table */
	for(;;){
		if( n >= SX_ARRAYSIZE(aOpTable) ){
			break;
		}
		rc = SyStringCmp(pStr, &aOpTable[n].sOp, SyMemcmp);		
		if( rc == 0 ){
			if( aOpTable[n].sOp.nByte != sizeof(char) || (aOpTable[n].iOp != EXPR_OP_UMINUS && aOpTable[n].iOp != EXPR_OP_UPLUS) || pLast == 0 ){
				if( aOpTable[n].iOp == EXPR_OP_SUBSCRIPT && (pLast == 0 || (pLast->nType & (JX9_TK_ID|JX9_TK_CSB/*]*/|JX9_TK_RPAREN/*)*/)) == 0) ){
					/* JSON Array not subscripting, return NULL  */
					return 0;
				}
				/* There is no ambiguity here, simply return the first operator seen */
				return &aOpTable[n];
			}
			/* Handle ambiguity */
			if( pLast->nType & (JX9_TK_LPAREN/*'('*/|JX9_TK_OCB/*'{'*/|JX9_TK_OSB/*'['*/|JX9_TK_COLON/*:*/|JX9_TK_COMMA/*, '*/) ){
				/* Unary opertors have prcedence here over binary operators */
				return &aOpTable[n];
			}
			if( pLast->nType & JX9_TK_OP ){
				const jx9_expr_op *pOp = (const jx9_expr_op *)pLast->pUserData;
				/* Ticket 1433-31: Handle the '++', '--' operators case */
				if( pOp->iOp != EXPR_OP_INCR && pOp->iOp != EXPR_OP_DECR ){
					/* Unary opertors have prcedence here over binary operators */
					return &aOpTable[n];
				}
			
			}
		}
		++n; /* Next operator in the table */
	}
	/* No such operator */
	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, -0x30(%rbp)
movq %rdi, -0x38(%rbp)
movl 0x8(%rdi), %r15d
xorl %r13d, %r13d
leaq 0x48049(%rip), %r12     # 0x91310
xorl %r14d, %r14d
movl 0x8(%r13,%r12), %ebx
movl %r15d, %eax
subl %ebx, %eax
jne 0x492ea
movq -0x38(%rbp), %rax
movq (%rax), %rdi
movq (%r13,%r12), %rsi
movl %r15d, %edx
callq 0x347f1
testl %eax, %eax
jne 0x49346
movl 0x10(%r13,%r12), %ecx
cmpl $0x1, %ebx
jne 0x4935e
movq %r14, %rax
shlq $0x5, %rax
addq %r12, %rax
cmpl $0x7, %ecx
jne 0x49313
cmpq $0x0, -0x30(%rbp)
jne 0x4931f
jmp 0x49394
cmpq $0x0, -0x30(%rbp)
je 0x4935e
cmpl $0x8, %ecx
jne 0x4935e
movq -0x30(%rbp), %rcx
movl 0x10(%rcx), %ecx
testl $0x120a40, %ecx         # imm = 0x120A40
jne 0x49394
testb $0x20, %cl
je 0x49346
movq -0x30(%rbp), %rax
movq 0x18(%rax), %rax
movl 0x10(%rax), %eax
andl $-0x2, %eax
cmpl $0x4, %eax
jne 0x4938e
incq %r14
addq $0x20, %r13
cmpq $0x640, %r13            # imm = 0x640
jne 0x492ca
xorl %eax, %eax
jmp 0x49394
cmpq $0x0, -0x30(%rbp)
sete %dl
addq %r13, %r12
xorl %eax, %eax
cmpl $0x2, %ecx
setne %cl
cmovneq %r12, %rax
orb %dl, %cl
jne 0x49394
movq -0x30(%rbp), %rax
movzwl 0x10(%rax), %eax
xorl %ecx, %ecx
testl $0x1408, %eax           # imm = 0x1408
cmoveq %rcx, %r12
jmp 0x49391
addq %r13, %r12
movq %r12, %rax
addq $0x18, %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: jx9ErrorRecover
static sxi32 jx9ErrorRecover(jx9_gen_state *pGen)
{
	/* Synchronize with the next-semi-colon and avoid compiling this erroneous statement */
	while( pGen->pIn < pGen->pEnd && (pGen->pIn->nType & JX9_TK_SEMI /*';'*/) == 0){
		pGen->pIn++;
	}
	return SXRET_OK;
}

// Assembly:
movq 0x158(%rdi), %rcx
movq 0x160(%rdi), %rax
cmpq %rax, %rcx
jae 0x49786
pushq %rbp
movq %rsp, %rbp
addq $0x20, %rcx
testb $0x4, -0xe(%rcx)
jne 0x49785
movq %rcx, 0x158(%rdi)
leaq 0x20(%rcx), %rdx
cmpq %rax, %rcx
movq %rdx, %rcx
jb 0x4976c
popq %rbp
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9CompileFunction
static sxi32 jx9CompileFunction(jx9_gen_state *pGen)
{
	SyString *pName;
	sxi32 iFlags;
	sxu32 nLine;
	sxi32 rc;

	nLine = pGen->pIn->nLine;
	pGen->pIn++; /* Jump the 'function' keyword */
	iFlags = 0;
	if( pGen->pIn >= pGen->pEnd || (pGen->pIn->nType & (JX9_TK_ID|JX9_TK_KEYWORD)) == 0 ){
		/* Invalid function name */
		rc = jx9GenCompileError(&(*pGen), E_ERROR, nLine, "Invalid function name");
		if( rc == SXERR_ABORT ){
			return SXERR_ABORT;
		}
		/* Sychronize with the next semi-colon or braces*/
		while( pGen->pIn < pGen->pEnd && (pGen->pIn->nType & (JX9_TK_SEMI|JX9_TK_OCB)) == 0 ){
			pGen->pIn++;
		}
		return SXRET_OK;
	}
	pName = &pGen->pIn->sData;
	nLine = pGen->pIn->nLine;
	/* Jump the function name */
	pGen->pIn++;
	if( pGen->pIn >= pGen->pEnd || (pGen->pIn->nType & JX9_TK_LPAREN) == 0 ){
		/* Syntax error */
		rc = jx9GenCompileError(pGen, E_ERROR, nLine, "Expected '(' after function name '%z'", pName);
		if( rc == SXERR_ABORT ){
			/* Error count limit reached, abort immediately */
			return SXERR_ABORT;
		}
		/* Sychronize with the next semi-colon or '{' */
		while( pGen->pIn < pGen->pEnd && (pGen->pIn->nType & (JX9_TK_SEMI|JX9_TK_OCB)) == 0 ){
			pGen->pIn++;
		}
		return SXRET_OK;
	}
	/* Compile function body */
	rc = GenStateCompileFunc(&(*pGen),pName,iFlags,0);
	return rc;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x158(%rdi), %rax
movq 0x160(%rdi), %rcx
movl 0x14(%rax), %edx
leaq 0x20(%rax), %r8
movq %r8, 0x158(%rdi)
cmpq %rcx, %r8
jae 0x4a43b
testb $0xc, 0x30(%rax)
je 0x4a43b
movl 0x34(%rax), %edx
leaq 0x40(%rax), %rsi
movq %rsi, 0x158(%rbx)
cmpq %rcx, %rsi
jae 0x4a3e0
testb $0x2, 0x51(%rax)
jne 0x4a499
leaq 0x2b3b5(%rip), %rcx     # 0x7579c
movq %rbx, %rdi
movl $0x1, %esi
xorl %eax, %eax
callq 0x483d1
movl %eax, %ecx
movl $0xfffffff6, %eax       # imm = 0xFFFFFFF6
cmpl $-0xa, %ecx
je 0x4a492
movq 0x158(%rbx), %rcx
movq 0x160(%rbx), %rax
cmpq %rax, %rcx
jae 0x4a490
addq $0x20, %rcx
testl $0x40040, -0x10(%rcx)   # imm = 0x40040
jne 0x4a490
movq %rcx, 0x158(%rbx)
leaq 0x20(%rcx), %rdx
cmpq %rax, %rcx
movq %rdx, %rcx
jb 0x4a41d
jmp 0x4a490
leaq 0x2b344(%rip), %rcx     # 0x75786
movq %rbx, %rdi
movl $0x1, %esi
xorl %eax, %eax
callq 0x483d1
movl %eax, %ecx
movl $0xfffffff6, %eax       # imm = 0xFFFFFFF6
cmpl $-0xa, %ecx
je 0x4a492
movq 0x158(%rbx), %rcx
movq 0x160(%rbx), %rax
cmpq %rax, %rcx
jae 0x4a490
addq $0x20, %rcx
testl $0x40040, -0x10(%rcx)   # imm = 0x40040
jne 0x4a490
movq %rcx, 0x158(%rbx)
leaq 0x20(%rcx), %rdx
cmpq %rax, %rcx
movq %rdx, %rcx
jb 0x4a474
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
movq %rbx, %rdi
movq %r8, %rsi
xorl %edx, %edx
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x4c066
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9CompileHalt
static sxi32 jx9CompileHalt(jx9_gen_state *pGen)
{
	sxi32 nExpr = 0;
	sxi32 rc;
	/* Jump the die/exit keyword */
	pGen->pIn++;
	if( pGen->pIn < pGen->pEnd && (pGen->pIn->nType & JX9_TK_SEMI) == 0 ){
		/* Compile the expression */
		rc = jx9CompileExpr(&(*pGen), 0, 0);
		if( rc == SXERR_ABORT ){
			return SXERR_ABORT;
		}else if(rc != SXERR_EMPTY ){
			nExpr = 1;
		}
	}
	/* Emit the HALT instruction */
	jx9VmEmitInstr(pGen->pVm, JX9_OP_HALT, nExpr, 0, 0, 0);
	return SXRET_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
movq 0x158(%rdi), %rax
leaq 0x20(%rax), %rcx
movq %rcx, 0x158(%rdi)
xorl %ebx, %ebx
movl $0x0, %r15d
cmpq 0x160(%rdi), %rcx
jae 0x4b4dc
testb $0x4, 0x32(%rax)
movl $0x0, %r15d
jne 0x4b4dc
xorl %r15d, %r15d
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x49789
cmpl $-0xa, %eax
je 0x4b501
cmpl $-0x3, %eax
je 0x4b4dc
movl $0x1, %r15d
movq (%r14), %rdi
movl $0x2, %esi
movl %r15d, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x48365
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movl %eax, %ebx
jmp 0x4b4f4