LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9HashmapExtractNodeValue
JX9_PRIVATE void jx9HashmapExtractNodeValue(jx9_hashmap_node *pNode, jx9_value *pValue, int bStore)
{
	jx9_value *pEntry = HashmapExtractNodeValue(pNode);
	if( pEntry ){
		if( bStore ){
			jx9MemObjStore(pEntry, pValue);
		}else{
			jx9MemObjLoad(pEntry, pValue);
		}
	}else{
		jx9MemObjRelease(pValue);
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq (%rdi), %rax
movq (%rax), %rax
movl 0x38(%rdi), %edi
cmpl %edi, 0x218(%rax)
jbe 0x44d7d
imull 0x220(%rax), %edi
addq 0x210(%rax), %rdi
jmp 0x44d7f
xorl %edi, %edi
testq %rdi, %rdi
je 0x44d8e
testl %edx, %edx
je 0x44d97
popq %rbp
jmp 0x3ebc8
movq %rsi, %rdi
popq %rbp
jmp 0x309f2
popq %rbp
jmp 0x41707
// File: /workspace/github_c_makefile_star2_O1/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9MemObjTryInteger
JX9_PRIVATE sxi32 jx9MemObjTryInteger(jx9_value *pObj)
{
	if( pObj->iFlags & MEMOBJ_REAL ){
		/* Work only with reals */
		MemObjTryIntger(&(*pObj));
	}
	return SXRET_OK;
}

// Assembly:
testb $0x4, 0x8(%rdi)
je 0x44e06
pushq %rbp
movq %rsp, %rbp
movsd (%rdi), %xmm0
movapd 0x3080d(%rip), %xmm1    # 0x755c0
andpd %xmm0, %xmm1
ucomisd 0x30891(%rip), %xmm1    # 0x75650
movabsq $0x7fffffffffffffff, %rcx # imm = 0x7FFFFFFFFFFFFFFF
cvttsd2si %xmm0, %rax
leaq 0x1(%rcx), %rdx
cmovaq %rdx, %rax
xorps %xmm1, %xmm1
cvtsi2sd %rax, %xmm1
ucomisd %xmm0, %xmm1
setp %dl
setne %sil
orb %dl, %sil
addq %rax, %rcx
cmpq $-0x2, %rcx
setae %cl
orb %sil, %cl
jne 0x44e05
movq %rax, (%rdi)
movl $0x2, 0x8(%rdi)
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: VmLocalExec
static sxi32 VmLocalExec(jx9_vm *pVm, SySet *pByteCode,jx9_value *pResult)
{
	jx9_value *pStack;
	sxi32 rc;
	/* Allocate a new operand stack */
	pStack = VmNewOperandStack(&(*pVm), SySetUsed(pByteCode));
	if( pStack == 0 ){
		return SXERR_MEM;
	}
	/* Execute the program */
	rc = VmByteCodeExec(&(*pVm), (VmInstr *)SySetBasePtr(pByteCode), pStack, -1, &(*pResult));
	/* Free the operand stack */
	SyMemBackendFree(&pVm->sAllocator, pStack);
	/* Execution result */
	return rc;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %rbx
movl 0x10(%rsi), %esi
callq 0x414b8
testq %rax, %rax
je 0x45345
movq %rax, %r15
movq 0x8(%r12), %rsi
movq %rbx, %rdi
movq %rax, %rdx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
movq %r14, %r8
callq 0x4175d
movl %eax, %r14d
movq %rbx, %rdi
movq %r15, %rsi
callq 0x3503f
movl %r14d, %eax
jmp 0x4534a
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: VmEnterFrame
static sxi32 VmEnterFrame(
	jx9_vm *pVm,               /* Target VM */
	void *pUserData,           /* Upper-layer private data */
	VmFrame **ppFrame          /* OUT: Top most active frame */
	)
{
	VmFrame *pFrame;
	/* Allocate a new frame */
	pFrame = VmNewFrame(&(*pVm), pUserData);
	if( pFrame == 0 ){
		return SXERR_MEM;
	}
	/* Link to the list of active VM frame */
	pFrame->pParent = pVm->pFrame;
	pVm->pFrame = pFrame;
	if( ppFrame ){
		/* Write a pointer to the new VM frame */
		*ppFrame = pFrame;
	}
	return SXRET_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r12
movq %rdi, %r14
movl $0xb0, %esi
callq 0x2e951
xorl %r13d, %r13d
testq %rax, %rax
je 0x453f4
movq %rax, %r15
movl $0xb0, %edx
movq %rax, %rdi
xorl %esi, %esi
callq 0xc360
movq %r12, 0x8(%r15)
movq %r14, 0x38(%r15)
movq %r15, %rdi
addq $0x40, %rdi
movq %r14, %rsi
callq 0x45b96
movabsq $0x1000000000, %rax     # imm = 0x1000000000
movq %rax, 0x94(%r15)
movl %r13d, 0x90(%r15)
movl %r13d, 0x9c(%r15)
movq %r14, 0x80(%r15)
movq %r13, 0x88(%r15)
movq %r13, 0xa0(%r15)
movq $0x10, 0x28(%r15)
movq %r14, 0x10(%r15)
xorps %xmm0, %xmm0
movups %xmm0, 0x18(%r15)
movq %r13, 0x30(%r15)
movq %r15, %r13
testq %r13, %r13
je 0x45417
movq 0xf8(%r14), %rax
movq %rax, (%r13)
movq %r13, 0xf8(%r14)
xorl %eax, %eax
testq %rbx, %rbx
je 0x4541c
movq %r13, (%rbx)
jmp 0x4541c
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_O1/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 0x4550e
movq (%rbx), %rdi
movl %r14d, %r12d
shll $0x4, %r12d
movl %r12d, %esi
callq 0x343ed
testq %rax, %rax
je 0x4550e
movq %rax, %r13
testl %r12d, %r12d
je 0x454b5
movl %r12d, %ecx
movq %r13, %rax
addq %rcx, %rax
movq %r13, %rcx
movb $0x0, (%rcx)
incq %rcx
cmpq %rax, %rcx
jae 0x454b5
movb $0x0, (%rcx)
incq %rcx
cmpq %rax, %rcx
jae 0x454b5
movb $0x0, (%rcx)
incq %rcx
cmpq %rax, %rcx
jae 0x454b5
movb $0x0, (%rcx)
incq %rcx
cmpq %rax, %rcx
jb 0x45489
addl %r14d, %r14d
movl 0x28(%rbx), %eax
testl %eax, %eax
je 0x454fa
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)
movq (%r13,%rsi,8), %rdi
testq %rdi, %rdi
je 0x454ed
movq %rcx, 0x40(%rdi)
movq %rcx, (%r13,%rsi,8)
addq $0x28, %rcx
decl %eax
jne 0x454ca
movq (%rbx), %rdi
movq 0x30(%rbx), %rsi
callq 0x3503f
movq %r13, 0x30(%rbx)
movl %r14d, 0x38(%rbx)
movq (%rbx), %rdi
movl $0x48, %esi
callq 0x2e951
testq %rax, %rax
je 0x455af
movq %rax, %r13
movq $-0x4, %rax
movl $0x0, 0x4(%r13,%rax)
addq $0x4, %rax
cmpq $0x44, %rax
jb 0x4552e
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)
movq (%rax,%rcx,8), %rdx
testq %rdx, %rdx
je 0x45582
movq %r13, 0x40(%rdx)
movq %r13, (%rax,%rcx,8)
movq 0x18(%rbx), %rax
testq %rax, %rax
je 0x45597
movq %rax, 0x28(%r13)
movq %r13, 0x30(%rax)
movq %r13, 0x18(%rbx)
movl 0x28(%rbx), %eax
testl %eax, %eax
jne 0x455a6
movq %r13, 0x20(%rbx)
incl %eax
movl %eax, 0x28(%rbx)
xorl %eax, %eax
jmp 0x455b4
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_O1/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 0x45798
cmpl %r13d, 0x18(%r12)
jne 0x45791
cmpl %ebx, 0x8(%r12)
jne 0x45791
movq (%r12), %rdi
movq %r14, %rsi
movl %ebx, %edx
callq *0x10(%r15)
testl %eax, %eax
je 0x4579b
movq 0x38(%r12), %r12
jmp 0x4576d
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_O1/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 0x45a55
movq %rdi, %r14
cmpl $0x0, 0x2c(%rdi)
je 0x45a55
leaq 0x10(%r14), %r13
xorl %r15d, %r15d
movq %r14, -0x38(%rbp)
movq -0x30(%rbp), %rbx
movq (%r13), %r13
movq (%r13), %rax
movq (%rax), %rax
movl 0x38(%r13), %r12d
cmpl %r12d, 0x218(%rax)
jbe 0x459bc
imull 0x220(%rax), %r12d
addq 0x210(%rax), %r12
jmp 0x459bf
xorl %r12d, %r12d
cmpl $0x2, 0x8(%r13)
jne 0x45a2c
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 $0x0, -0x50(%rbp)
movl $0x1, -0x78(%rbp)
movq 0x18(%r13), %rsi
movl 0x20(%r13), %edx
leaq -0x80(%rbp), %r14
movq %r14, %rdi
callq 0x3f7f6
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x3f924
movl %eax, %r12d
movq %r14, %rdi
movq -0x38(%rbp), %r14
callq 0x309f2
jmp 0x45a3f
movq 0x10(%r13), %rsi
movq -0x30(%rbp), %rdi
movq %r12, %rdx
callq 0x3fea3
movl %eax, %r12d
testl %r12d, %r12d
jne 0x45a55
addq $0x48, %r13
incl %r15d
cmpl 0x2c(%r14), %r15d
jb 0x45993
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x45a74
movq %rdi, 0x10(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%rbx)
movq %rdi, 0x18(%rbx)
movl $0x0, 0x30(%rbx)
testq %rdx, %rdx
je 0x45ab0
leaq 0x18(%rbx), %rdi
movq (%rdx), %rsi
movl 0x8(%rdx), %edx
callq 0x360ae
movl $0x1, 0x8(%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x45b82
movl %edx, %ebx
movq %rsi, %r15
movq (%rdi), %rax
movq (%rax), %rcx
xorps %xmm0, %xmm0
leaq -0xa0(%rbp), %r14
movaps %xmm0, 0x10(%r14)
movaps %xmm0, 0x30(%r14)
movaps %xmm0, (%r14)
movaps %xmm0, 0x20(%r14)
movq %rcx, 0x10(%r14)
movq %rcx, 0x18(%r14)
xorl %ecx, %ecx
movl %ecx, 0x30(%r14)
movl $0x20, %edx
movl %edx, 0x8(%r14)
movq (%rax), %rax
leaq -0x60(%rbp), %r12
movaps %xmm0, 0x10(%r12)
movaps %xmm0, 0x30(%r12)
movaps %xmm0, (%r12)
movaps %xmm0, 0x20(%r12)
movq %rax, 0x10(%r12)
movq %rax, 0x18(%r12)
movl %ecx, 0x30(%r12)
movl %edx, 0x8(%r12)
movq %r14, %rsi
xorl %edx, %edx
callq 0x44d58
movq %r15, %rdi
movq %r12, %rsi
xorl %edx, %edx
callq 0x44d58
movq %r14, %rdi
movq %r12, %rsi
movl %ebx, %edx
callq 0x450b0
movl %eax, %ebx
movq %r14, %rdi
callq 0x309f2
movq %r12, %rdi
callq 0x309f2
jmp 0x45b84
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_O1/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 0x343ed
testq %rax, %rax
je 0x45c00
movq $-0x4, %rcx
movl $0x0, 0x4(%rax,%rcx)
addq $0x4, %rcx
cmpq $0x7c, %rcx
jb 0x45bbc
movq %r14, (%rbx)
leaq -0x7825(%rip), %rcx     # 0x3e3b3
movq %rcx, 0x8(%rbx)
leaq -0x10d25(%rip), %rcx    # 0x34ebe
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_O1/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 0x45c2d
movq 0x18(%rbx), %rsi
movq 0x28(%rsi), %r14
movq (%rbx), %rdi
callq 0x2eb38
decl 0x28(%rbx)
movq %r14, %rsi
jne 0x45c19
movq 0x30(%rbx), %rsi
testq %rsi, %rsi
je 0x45c3e
movq (%rbx), %rdi
callq 0x3503f
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_O1/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, %r15d
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 0x46039
movq $0x0, 0x70(%rbx)
movl $0x0, 0x7c(%rbx)
andl $-0x5, %eax
movl %eax, 0x80(%rbx)
leaq 0x8(%rbx), %r12
leaq 0x3008c(%rip), %rsi     # 0x760d0
movq %r12, %rdx
movq %r13, %rcx
xorl %eax, %eax
callq 0x3ec96
movq 0x118(%rbx), %rdi
movq (%rdi), %rax
movq (%rax), %rax
movq 0x8(%rax), %rax
movq 0xa8(%rax), %rax
testq %rax, %rax
je 0x46070
callq *%rax
movq 0x118(%rbx), %rdi
movq 0x70(%rbx), %rsi
movl 0x78(%rbx), %edx
movl $0x1, %ecx
callq 0x32a37
movl %eax, %r14d
testl %eax, %eax
je 0x460a1
movl %r14d, %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 0x460c5
callq *%rax
movl %eax, %r14d
jmp 0x460cb
movl $0xffffffef, %r14d      # imm = 0xFFFFFFEF
movq %rbx, %rdi
movq %r13, %rsi
callq 0x413fd
testl %r14d, %r14d
je 0x46105
testl %r15d, %r15d
je 0x4608f
cmpl $-0x11, %r14d
jne 0x4608f
movq (%rbx), %rax
movq (%rax), %rdi
leaq 0x30634(%rip), %rsi     # 0x76727
movq %r12, %rdx
xorl %eax, %eax
callq 0x3ac51
movl $0xffffffef, %r14d      # imm = 0xFFFFFFEF
jmp 0x4608f
movq 0xb8(%rbx), %rcx
decq %rcx
movq %rcx, 0xb8(%rbx)
cmpl $0x0, -0x2c(%rbp)
je 0x4613e
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 0x3e465
xorl %r14d, %r14d
jmp 0x4608f
// File: /workspace/github_c_makefile_star2_O1/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:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
xorl %eax, %eax
testl %edx, %edx
je 0x472b5
cmpl $0x0, 0x370(%rbx)
je 0x472b5
leaq 0x348(%rbx), %rdi
callq 0x4573a
testq %rax, %rax
je 0x472d5
movl 0x10(%rax), %eax
cmpl %eax, 0x218(%rbx)
jbe 0x472d5
imull 0x220(%rbx), %eax
addq 0x210(%rbx), %rax
jmp 0x472d7
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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, -0x70(%rbp)
movaps %xmm0, -0xa0(%rbp)
movaps %xmm0, -0x80(%rbp)
movq %rax, -0x90(%rbp)
movq %rax, -0x88(%rbp)
xorl %r12d, %r12d
movl %r12d, -0x70(%rbp)
movl $0x20, -0x98(%rbp)
movaps %xmm0, -0x50(%rbp)
movaps %xmm0, -0x30(%rbp)
movaps %xmm0, -0x60(%rbp)
movaps %xmm0, -0x40(%rbp)
movq %rax, -0x50(%rbp)
movq %rax, -0x48(%rbp)
movl %r12d, -0x30(%rbp)
movl $0x1, -0x58(%rbp)
testq %rsi, %rsi
je 0x473ac
testl %edx, %edx
jns 0x4739d
cmpb $0x0, (%rsi)
movq %rsi, %rdx
je 0x4739b
leaq 0x2(%rsi), %rdx
cmpb $0x0, -0x1(%rdx)
je 0x47393
cmpb $0x0, (%rdx)
je 0x4739b
cmpb $0x0, 0x1(%rdx)
je 0x47398
leaq 0x4(%rdx), %rax
cmpb $0x0, 0x2(%rdx)
movq %rax, %rdx
jne 0x4736c
addq $-0x2, %rax
movq %rax, %rdx
jmp 0x4739b
decq %rdx
jmp 0x4739b
incq %rdx
subl %esi, %edx
leaq -0xa0(%rbp), %r12
movq %r12, %rdi
callq 0x3f7f6
testq %r14, %r14
je 0x47408
testl %r15d, %r15d
jns 0x473f9
cmpb $0x0, (%r14)
movq %r14, %r15
je 0x473f6
leaq 0x2(%r14), %r15
cmpb $0x0, -0x1(%r15)
je 0x473ee
cmpb $0x0, (%r15)
je 0x473f6
cmpb $0x0, 0x1(%r15)
je 0x473f3
leaq 0x4(%r15), %rax
cmpb $0x0, 0x2(%r15)
movq %rax, %r15
jne 0x473c3
addq $-0x2, %rax
movq %rax, %r15
jmp 0x473f6
decq %r15
jmp 0x473f6
incq %r15
subl %r14d, %r15d
leaq -0x60(%rbp), %rdi
movq %r14, %rsi
movl %r15d, %edx
callq 0x3f7f6
leaq -0x60(%rbp), %r14
movq %rbx, %rdi
movq %r12, %rsi
movq %r14, %rdx
callq 0x3f924
movl %eax, %ebx
leaq -0xa0(%rbp), %rdi
callq 0x309f2
movq %r14, %rdi
callq 0x309f2
movl %ebx, %eax
addq $0x80, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x478a9
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 0x47943
movq %rdi, %rbx
cmpl $0xdead2bad, 0x6e8(%rdi) # imm = 0xDEAD2BAD
je 0x47943
movl %esi, %r14d
movq 0xb8(%rbx), %rdi
testq %rdi, %rdi
je 0x478e0
movq 0x4f7c3(%rip), %rax     # 0x970a0
callq *0x20(%rax)
cmpl $0x2, 0x4f7c9(%rip)     # 0x970b0
jb 0x478fb
movl $0xfffffff6, %r15d      # imm = 0xFFFFFFF6
cmpl $0xdead2bad, 0x6e8(%rbx) # imm = 0xDEAD2BAD
je 0x47943
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 0x46146
movl %eax, %r15d
movq 0xb8(%rbx), %rdi
testq %rdi, %rdi
je 0x47943
movq 0x4f760(%rip), %rax     # 0x970a0
callq *0x30(%rax)
movl %r15d, %eax
addq $0xc8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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
movl 0x10(%rdi), %r12d
testq %r12, %r12
je 0x47bd3
movl %edx, %r14d
movq %rsi, %r15
movq 0x8(%rdi), %rbx
addq $0x10, %rbx
movl -0x8(%rbx), %edx
movl %r14d, %eax
subl %edx, %eax
jne 0x47bc6
movq -0x10(%rbx), %rsi
movq %r15, %rdi
callq 0x3a837
testl %eax, %eax
je 0x47bd5
addq $0x20, %rbx
decq %r12
jne 0x47bb0
xorl %ebx, %ebx
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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
movl 0x8(%rdi), %r15d
testl %r15d, %r15d
sete %r12b
je 0x47e7e
movq %rdi, %rbx
movq (%rdi), %r13
movb (%r13), %r14b
cmpb $-0x41, %r14b
ja 0x47e78
movq %rsi, -0x30(%rbp)
callq 0xc170
movq -0x30(%rbp), %rsi
decl %r15d
incq %r13
movq (%rax), %rcx
movsbq %r14b, %rdx
testb $0x20, 0x1(%rcx,%rdx,2)
je 0x47e75
movl %r15d, 0x8(%rbx)
movq %r13, (%rbx)
subl $0x1, %r15d
setb %r12b
jb 0x47e7e
movb (%r13), %r14b
incq %r13
cmpb $-0x41, %r14b
jbe 0x47e49
incl %r15d
testb $0x1, %r12b
je 0x47ea0
movq $0x0, (%rsi)
movl $0x0, 0x8(%rsi)
movl $0xffffffee, %eax       # imm = 0xFFFFFFEE
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq (%rbx), %rax
movl %r15d, %edx
addq %rax, %rdx
leaq 0x324da(%rip), %r11     # 0x7a38a
movq %rax, %rcx
movb (%rcx), %dil
movb $0xd, %r9b
xorl %r8d, %r8d
cmpb %r9b, %dil
je 0x47f53
movb 0x1(%r8,%r11), %r9b
incq %r8
cmpq $0x2, %r8
jne 0x47ebc
leaq 0x1(%rcx), %rdi
cmpq %rdx, %rdi
jae 0x47f4f
movb (%rdi), %r8b
movb $0xd, %r10b
xorl %r9d, %r9d
cmpb %r10b, %r8b
je 0x47f59
movb 0x1(%r9,%r11), %r10b
incq %r9
cmpq $0x2, %r9
jne 0x47ee5
leaq 0x2(%rcx), %rdi
cmpq %rdx, %rdi
jae 0x47f4f
movb (%rdi), %r8b
movb $0xd, %r10b
xorl %r9d, %r9d
cmpb %r10b, %r8b
je 0x47f59
movb 0x1(%r9,%r11), %r10b
incq %r9
cmpq $0x2, %r9
jne 0x47f0a
leaq 0x3(%rcx), %rdi
cmpq %rdx, %rdi
jae 0x47f4f
movb (%rdi), %r8b
movb $0xd, %r10b
xorl %r9d, %r9d
cmpb %r10b, %r8b
je 0x47f59
movb 0x1(%r9,%r11), %r10b
incq %r9
cmpq $0x2, %r9
jne 0x47f2f
addq $0x4, %rcx
cmpq %rdx, %rcx
jb 0x47eb3
xorl %edx, %edx
jmp 0x47f5f
subl %eax, %ecx
movb $0x1, %dl
jmp 0x47f5f
subl %eax, %edi
movb $0x1, %dl
movl %edi, %ecx
movq %rax, (%rsi)
testb %dl, %dl
je 0x47f7b
movl %ecx, 0x8(%rsi)
movl %ecx, %edx
addq %rdx, %rax
movq %rax, (%rbx)
subl %ecx, 0x8(%rbx)
xorl %eax, %eax
jmp 0x47e91
movl %r15d, 0x8(%rsi)
movl $0xfffffff8, %eax       # imm = 0xFFFFFFF8
jmp 0x47e91
// File: /workspace/github_c_makefile_star2_O1/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 0x48411
pushq %rbp
movq %rsp, %rbp
movl %esi, %r8d
addq %rdi, %r8
leaq 0x3(%rdi), %rsi
movsbl -0x3(%rsi), %r9d
cmpl %edx, %r9d
je 0x483f2
leaq -0x2(%rsi), %r9
cmpq %r8, %r9
jae 0x48410
movsbl (%r9), %r10d
cmpl %edx, %r10d
je 0x48403
leaq -0x1(%rsi), %r9
cmpq %r8, %r9
jae 0x48410
movsbl (%r9), %r10d
cmpl %edx, %r10d
je 0x48403
cmpq %r8, %rsi
jae 0x48410
movsbl (%rsi), %r9d
cmpl %edx, %r9d
je 0x48400
leaq 0x4(%rsi), %r9
incq %rsi
cmpq %r8, %rsi
movq %r9, %rsi
jb 0x483a5
jmp 0x48410
testq %rcx, %rcx
je 0x4840e
addq $-0x3, %rsi
movq %rsi, %r9
jmp 0x48408
movq %rsi, %r9
testq %rcx, %rcx
je 0x4840e
subl %edi, %r9d
movl %r9d, (%rcx)
xorl %eax, %eax
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x48f9b
cmpb $0x0, (%rsi)
movq %rsi, %r15
je 0x48f98
leaq 0x2(%rsi), %r15
cmpb $0x0, -0x1(%r15)
je 0x48f90
cmpb $0x0, (%r15)
je 0x48f98
cmpb $0x0, 0x1(%r15)
je 0x48f95
leaq 0x4(%r15), %rax
cmpb $0x0, 0x2(%r15)
movq %rax, %r15
jne 0x48f65
addq $-0x2, %rax
movq %rax, %r15
jmp 0x48f98
decq %r15
jmp 0x48f98
incq %r15
subl %esi, %r15d
movq %rbx, %rdi
movl %r15d, %edx
callq 0x3e425
testq %rax, %rax
je 0x49068
movq %rax, %r13
movq %rax, -0x48(%rbp)
movl %r15d, -0x40(%rbp)
testb %r12b, %r12b
jne 0x49055
movq %r14, -0x38(%rbp)
movq %rbx, -0x30(%rbp)
movl 0x448(%rbx), %r12d
testq %r12, %r12
je 0x4900d
movq -0x30(%rbp), %rax
movq 0x440(%rax), %r14
shlq $0x4, %r12
xorl %ebx, %ebx
movl 0x8(%r14,%rbx), %edx
movl %r15d, %eax
subl %edx, %eax
jne 0x49000
movq (%r14,%rbx), %rsi
movq %r13, %rdi
callq 0x34ebe
testl %eax, %eax
je 0x49042
addq $0x10, %rbx
cmpq %rbx, %r12
jne 0x48fe8
movq -0x30(%rbp), %rbx
leaq 0x438(%rbx), %rdi
leaq -0x48(%rbp), %rsi
callq 0x336fc
testl %eax, %eax
movq -0x38(%rbp), %rcx
je 0x4904e
movq %rbx, %rdi
movq %r13, %rsi
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x3503f
xorl %eax, %eax
movq -0x30(%rbp), %rbx
movq -0x38(%rbp), %rcx
jmp 0x49053
movl $0x1, %eax
movl %eax, (%rcx)
addq $0x3e8, %rbx            # imm = 0x3E8
leaq -0x48(%rbp), %rsi
movq %rbx, %rdi
callq 0x336fc
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x49140
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 %rax, -0x30(%rbp)
movq %rax, -0x18(%rbp)
movl $0x1800, %esi           # imm = 0x1800
callq 0x343ed
movq %rax, -0x30(%rbp)
testq %rax, %rax
je 0x490ce
movl $0xc0, -0x24(%rbp)
movq (%r14), %rdi
movl 0x8(%r14), %esi
leaq -0x38(%rbp), %r14
movq %r14, %rdx
callq 0x4958b
movl 0x10(%r14), %eax
testq %rax, %rax
je 0x49138
leaq 0x568(%rbx), %rdi
movq -0x30(%rbp), %rcx
movq %rcx, 0x6c0(%rbx)
shlq $0x5, %rax
addq %rcx, %rax
movq %rax, 0x6c8(%rbx)
xorl %ebx, %ebx
xorl %esi, %esi
callq 0x495e6
movq -0x38(%rbp), %rdi
testq %rdi, %rdi
je 0x4912a
movq -0x30(%rbp), %rsi
testq %rsi, %rsi
je 0x4912a
callq 0x3503f
movq $0x0, -0x30(%rbp)
movl %ebx, -0x28(%rbp)
movl %ebx, -0x1c(%rbp)
addq $0x30, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x49148
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 0x343ed
movq %rax, 0x8(%r14)
testq %rax, %rax
je 0x49170
movl %ebx, 0x14(%r14)
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x4918b
movl 0x240(%rbx), %eax
movl %eax, (%rsi)
leaq 0x230(%rbx), %rdi
leaq 0x2ba87(%rip), %rsi     # 0x74c20
callq 0x336fc
testl %eax, %eax
je 0x491a6
xorl %eax, %eax
jmp 0x491c0
movl 0x240(%rbx), %eax
testl %eax, %eax
je 0x491a2
decl %eax
imull 0x248(%rbx), %eax
addq 0x238(%rbx), %rax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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)
testq %r9, %r9
je 0x493ef
movq 0xf0(%rbx), %rax
movl 0x10(%rax), %eax
movl %eax, (%r9)
movq 0xf0(%rbx), %rdi
leaq -0x28(%rbp), %rsi
callq 0x336fc
movl %eax, %r14d
testl %eax, %eax
je 0x49428
addq $0x568, %rbx            # imm = 0x568
leaq 0x2e1de(%rip), %rcx     # 0x775f2
movq %rbx, %rdi
movl $0x1, %esi
movl $0x1, %edx
xorl %eax, %eax
callq 0x49434
movl %r14d, %eax
addq $0x20, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x49485
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 0x494d6
leaq 0x3133c(%rip), %rcx     # 0x7a7dc
cmpl $0x1, %esi
jne 0x494dd
movl 0x168(%rdi), %eax
incl %eax
movl %eax, 0x168(%rdi)
cmpl $0x10, %eax
jb 0x494d1
leaq 0x2e16a(%rip), %rsi     # 0x77629
movq %rbx, %rdi
xorl %eax, %eax
callq 0x3ec96
movl $0xfffffff6, %r15d      # imm = 0xFFFFFFF6
jmp 0x4954c
cmpl $0x2, %esi
jne 0x494dd
leaq 0x2e187(%rip), %rcx     # 0x77664
leaq 0x2e188(%rip), %rsi     # 0x7766c
xorl %r15d, %r15d
movq %rbx, %rdi
xorl %eax, %eax
callq 0x3ec96
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)
leaq -0x1c(%rbp), %r8
movl $0x0, (%r8)
movq %rcx, (%rsp)
movl $0x6, %edi
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
movq %r14, %r9
callq 0x351b4
leaq 0x30da2(%rip), %rsi     # 0x7a2e1
movq %rbx, %rdi
movl $0x1, %edx
callq 0x360ae
movl %r15d, %eax
addq $0xe8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x3a2bc
leaq 0x18(%rbx), %rdi
callq 0x3a2bc
movq (%r14), %rdi
movq %rbx, %rsi
popq %rbx
popq %r14
popq %rbp
jmp 0x2eb38
// File: /workspace/github_c_makefile_star2_O1/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 0x495af
cmpl $0x20, 0x18(%rdx)
jne 0x495e0
movq %rdx, -0x8(%rbp)
leaq 0x181(%rip), %rcx       # 0x49737
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 0x4a216
addq $0x40, %rsp
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x4a291
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 0x4a275
testl %eax, %eax
jne 0x4a296
movq 0x38(%rbx), %rdi
testq %rdi, %rdi
je 0x4a278
movq %r12, %rsi
callq 0x336fc
testl %eax, %eax
je 0x4a278
jmp 0x4a2a1
incl 0x1c(%rbx)
cmpq 0x8(%rbx), %r14
jb 0x4a285
incq %r14
movq %r14, 0x8(%rbx)
movq 0x8(%rbx), %r14
cmpq 0x10(%rbx), %r14
jb 0x4a243
jmp 0x4a2a1
xorl %r15d, %r15d
jmp 0x4a2a1
cmpl $-0xa, %eax
jne 0x4a2a1
movl $0xfffffff6, %r15d      # imm = 0xFFFFFFF6
movl %r15d, %eax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 %rdi, -0x40(%rbp)
movl 0x8(%rdi), %r14d
xorl %r13d, %r13d
leaq 0x4903c(%rip), %rbx     # 0x93310
movq %rsi, -0x38(%rbp)
leaq (%rbx,%r13), %r15
movl 0x8(%r13,%rbx), %r12d
movl %r14d, %eax
subl %r12d, %eax
jne 0x4a2ff
movq -0x40(%rbp), %rax
movq (%rax), %rdi
movq (%r15), %rsi
movl %r12d, %edx
callq 0x34ebe
movq -0x38(%rbp), %rsi
testl %eax, %eax
jne 0x4a34d
cmpl $0x1, %r12d
jne 0x4a368
movl 0x10(%r13,%rbx), %eax
cmpl $0x7, %eax
jne 0x4a31a
testq %rsi, %rsi
jne 0x4a324
jmp 0x4a368
testq %rsi, %rsi
je 0x4a368
cmpl $0x8, %eax
jne 0x4a368
movl 0x10(%rsi), %eax
testl $0x120a40, %eax         # imm = 0x120A40
jne 0x4a380
testb $0x20, %al
je 0x4a34d
movq 0x18(%rsi), %rax
movl 0x10(%rax), %eax
andl $-0x2, %eax
cmpl $0x4, %eax
movq -0x30(%rbp), %rax
cmovneq %r15, %rax
movq %rax, -0x30(%rbp)
jne 0x4a384
addq $0x20, %r13
cmpq $0x640, %r13            # imm = 0x640
jne 0x4a2d8
movq $0x0, -0x30(%rbp)
jmp 0x4a384
cmpl $0x2, 0x10(%r13,%rbx)
jne 0x4a380
testq %rsi, %rsi
je 0x4a35e
movzwl 0x10(%rsi), %eax
testl $0x1408, %eax           # imm = 0x1408
je 0x4a35e
movq %r15, -0x30(%rbp)
movq -0x30(%rbp), %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq