LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9_value_string_format
JX9_PRIVATE int jx9_value_string_format(jx9_value *pVal, const char *zFormat, ...)
{
	va_list ap;
	int rc;
	if((pVal->iFlags & MEMOBJ_STRING) == 0 ){
		/* Invalidate any prior representation */
		jx9MemObjRelease(pVal);
		MemObjSetType(pVal, MEMOBJ_STRING);
	}
	va_start(ap, zFormat);
	rc = SyBlobFormatAp(&pVal->sBlob, zFormat, ap);
	va_end(ap);
	return JX9_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0xe0, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq %rdx, -0xd0(%rbp)
movq %rcx, -0xc8(%rbp)
movq %r8, -0xc0(%rbp)
movq %r9, -0xb8(%rbp)
testb %al, %al
je 0x53472
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)
testb $0x1, 0x8(%rdi)
jne 0x5348f
movq %r14, %rdi
callq 0x30465
movl $0xfffffe90, %eax       # imm = 0xFFFFFE90
andl 0x8(%r14), %eax
incl %eax
movl %eax, 0x8(%r14)
leaq -0xe0(%rbp), %rax
leaq -0x30(%rbp), %rcx
movq %rax, 0x10(%rcx)
leaq 0x10(%rbp), %rax
movq %rax, 0x8(%rcx)
movabsq $0x3000000010, %rax     # imm = 0x3000000010
movq %rax, (%rcx)
addq $0x18, %r14
movq %rcx, (%rsp)
leaq -0x14(%rbp), %r8
movl $0x6, %edi
movq %r14, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
movq %rbx, %r9
callq 0x34a80
addq $0xe0, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: JX9StreamDataInit
static jx9_stream_data * JX9StreamDataInit(jx9_vm *pVm, int iType)
{
	jx9_stream_data *pData;
	if( pVm == 0 ){
		return 0;
	}
	/* Allocate a new instance */
	pData = (jx9_stream_data *)SyMemBackendAlloc(&pVm->sAllocator, sizeof(jx9_stream_data));
	if( pData == 0 ){
		return 0;
	}
	/* Zero the structure */
	SyZero(pData, sizeof(jx9_stream_data));
	/* Initialize fields */
	pData->iType = iType;
	if( iType == JX9_IO_STREAM_OUTPUT ){
		/* Point to the default VM consumer routine. */
		pData->x.sConsumer = pVm->sVmConsumer; 
	}else{
#ifdef __WINNT__
		DWORD nChannel;
		switch(iType){
		case JX9_IO_STREAM_STDOUT:	nChannel = STD_OUTPUT_HANDLE; break;
		case JX9_IO_STREAM_STDERR:  nChannel = STD_ERROR_HANDLE; break;
		default:
			nChannel = STD_INPUT_HANDLE; 
			break;
		}
		pData->x.pHandle = GetStdHandle(nChannel);
#else
		/* Assume an UNIX system */
		int ifd = STDIN_FILENO;
		switch(iType){
		case JX9_IO_STREAM_STDOUT:  ifd = STDOUT_FILENO; break;
		case JX9_IO_STREAM_STDERR:  ifd = STDERR_FILENO; break;
		default:
			break;
		}
		pData->x.pHandle = SX_INT_TO_PTR(ifd);
#endif
	}
	pData->pVm = pVm;
	return pData;
}

// Assembly:
testq %rdi, %rdi
je 0x53547
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movl %esi, %r14d
movq %rdi, %rbx
movl $0x30, %esi
callq 0x33d86
testq %rax, %rax
je 0x5354a
movq $-0x4, %rcx
movl $0x0, 0x4(%rax,%rcx)
addq $0x4, %rcx
cmpq $0x2c, %rcx
jb 0x53507
movl %r14d, 0x8(%rax)
cmpl $0x2, %r14d
je 0x53555
cmpl $0x3, %r14d
je 0x5354e
cmpl $0x4, %r14d
jne 0x5355c
movups 0x4f8(%rbx), %xmm0
movups 0x508(%rbx), %xmm1
movups %xmm1, 0x20(%rax)
movups %xmm0, 0x10(%rax)
jmp 0x53562
xorl %eax, %eax
retq
xorl %eax, %eax
jmp 0x53565
movl $0x2, %ecx
jmp 0x5355e
movl $0x1, %ecx
jmp 0x5355e
xorl %ecx, %ecx
movq %rcx, 0x10(%rax)
movq %rbx, (%rax)
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: JX9StreamData_Open
static int JX9StreamData_Open(const char *zName, int iMode, jx9_value *pResource, void ** ppHandle)
{
	jx9_stream_data *pData;
	SyString sStream;
	SyStringInitFromBuf(&sStream, zName, SyStrlen(zName));
	/* Trim leading and trailing white spaces */
	SyStringFullTrim(&sStream);
	/* Stream to open */
	if( SyStrnicmp(sStream.zString, "stdin", sizeof("stdin")-1) == 0 ){
		iMode = JX9_IO_STREAM_STDIN;
	}else if( SyStrnicmp(sStream.zString, "output", sizeof("output")-1) == 0 ){
		iMode = JX9_IO_STREAM_OUTPUT;
	}else if( SyStrnicmp(sStream.zString, "stdout", sizeof("stdout")-1) == 0 ){
		iMode = JX9_IO_STREAM_STDOUT;
	}else if( SyStrnicmp(sStream.zString, "stderr", sizeof("stderr")-1) == 0 ){
		iMode = JX9_IO_STREAM_STDERR;
	}else{
		/* unknown stream name */
		return -1;
	}
	/* Create our handle */
	pData = JX9StreamDataInit(pResource?pResource->pVm:0, iMode);
	if( pData == 0 ){
		return -1;
	}
	/* Make the handle public */
	*ppHandle = (void *)pData;
	return JX9_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
movq %rdx, %r14
movq %rdi, %r15
cmpb $0x0, (%rdi)
movq %rdi, %rax
je 0x535bc
leaq 0x2(%r15), %rax
cmpb $0x0, -0x1(%rax)
je 0x535b4
cmpb $0x0, (%rax)
je 0x535bc
cmpb $0x0, 0x1(%rax)
je 0x535b9
leaq 0x4(%rax), %rcx
cmpb $0x0, 0x2(%rax)
movq %rcx, %rax
jne 0x5358d
addq $-0x2, %rcx
movq %rcx, %rax
jmp 0x535bc
decq %rax
jmp 0x535bc
incq %rax
cmpl %r15d, %eax
je 0x535e9
movl %r15d, %r12d
subl %eax, %r12d
movsbq (%r15), %r13
cmpq $-0x41, %r13
ja 0x535e9
callq 0xc170
movq (%rax), %rax
testb $0x20, 0x1(%rax,%r13,2)
je 0x535e9
incq %r15
incl %r12d
jne 0x535c7
leaq 0x2337b(%rip), %rsi     # 0x7696b
movq %r15, %rdi
movl $0x5, %edx
callq 0x39f3f
testl %eax, %eax
je 0x53657
leaq 0x23486(%rip), %rsi     # 0x76a8e
movq %r15, %rdi
movl $0x6, %edx
callq 0x39f3f
testl %eax, %eax
je 0x5365e
leaq 0x23358(%rip), %rsi     # 0x76978
movq %r15, %rdi
movl $0x6, %edx
callq 0x39f3f
testl %eax, %eax
je 0x53665
leaq 0x2334e(%rip), %rsi     # 0x76986
movq %r15, %rdi
movl $0x6, %edx
callq 0x39f3f
movl %eax, %ecx
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
testl %ecx, %ecx
jne 0x5368d
movl $0x3, %esi
jmp 0x5366a
movl $0x1, %esi
jmp 0x5366a
movl $0x4, %esi
jmp 0x5366a
movl $0x2, %esi
testq %r14, %r14
je 0x53675
movq 0x10(%r14), %rdi
jmp 0x53677
xorl %edi, %edi
callq 0x534df
testq %rax, %rax
je 0x53688
movq %rax, (%rbx)
xorl %eax, %eax
jmp 0x5368d
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9Builtin_is_bool
static int jx9Builtin_is_bool(jx9_context *pCtx, int nArg, jx9_value **apArg)
{
	int res = 0; /* Assume false by default */
	if( nArg > 0 ){
		res = jx9_value_is_bool(apArg[0]);
	}
	/* Query result */
	jx9_result_bool(pCtx, res);
	return JX9_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
testl %esi, %esi
jle 0x53764
movq (%rdx), %rax
movl 0x8(%rax), %r14d
shrl $0x3, %r14d
andl $0x1, %r14d
jmp 0x53767
xorl %r14d, %r14d
movq 0x8(%rdi), %rbx
movq %rbx, %rdi
callq 0x30465
movq %r14, (%rbx)
movl $0xfffffe90, %eax       # imm = 0xFFFFFE90
andl 0x8(%rbx), %eax
orl $0x8, %eax
movl %eax, 0x8(%rbx)
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9Builtin_is_float
static int jx9Builtin_is_float(jx9_context *pCtx, int nArg, jx9_value **apArg)
{
	int res = 0; /* Assume false by default */
	if( nArg > 0 ){
		res = jx9_value_is_float(apArg[0]);
	}
	/* Query result */
	jx9_result_bool(pCtx, res);
	return JX9_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
testl %esi, %esi
jle 0x537a7
movq (%rdx), %rax
movl 0x8(%rax), %r14d
shrl $0x2, %r14d
andl $0x1, %r14d
jmp 0x537aa
xorl %r14d, %r14d
movq 0x8(%rdi), %rbx
movq %rbx, %rdi
callq 0x30465
movq %r14, (%rbx)
movl $0xfffffe90, %eax       # imm = 0xFFFFFE90
andl 0x8(%rbx), %eax
orl $0x8, %eax
movl %eax, 0x8(%rbx)
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9Builtin_is_int
static int jx9Builtin_is_int(jx9_context *pCtx, int nArg, jx9_value **apArg)
{
	int res = 0; /* Assume false by default */
	if( nArg > 0 ){
		res = jx9_value_is_int(apArg[0]);
	}
	/* Query result */
	jx9_result_bool(pCtx, res);
	return JX9_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
testl %esi, %esi
jle 0x537e9
movq (%rdx), %rax
movl 0x8(%rax), %r14d
shrl %r14d
andl $0x1, %r14d
jmp 0x537ec
xorl %r14d, %r14d
movq 0x8(%rdi), %rbx
movq %rbx, %rdi
callq 0x30465
movq %r14, (%rbx)
movl $0xfffffe90, %eax       # imm = 0xFFFFFE90
andl 0x8(%rbx), %eax
orl $0x8, %eax
movl %eax, 0x8(%rbx)
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9Builtin_is_string
static int jx9Builtin_is_string(jx9_context *pCtx, int nArg, jx9_value **apArg)
{
	int res = 0; /* Assume false by default */
	if( nArg > 0 ){
		res = jx9_value_is_string(apArg[0]);
	}
	/* Query result */
	jx9_result_bool(pCtx, res);
	return JX9_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
testl %esi, %esi
jle 0x53828
movq (%rdx), %rax
movl 0x8(%rax), %r14d
andl $0x1, %r14d
jmp 0x5382b
xorl %r14d, %r14d
movq 0x8(%rdi), %rbx
movq %rbx, %rdi
callq 0x30465
movq %r14, (%rbx)
movl $0xfffffe90, %eax       # imm = 0xFFFFFE90
andl 0x8(%rbx), %eax
orl $0x8, %eax
movl %eax, 0x8(%rbx)
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9Builtin_is_null
static int jx9Builtin_is_null(jx9_context *pCtx, int nArg, jx9_value **apArg)
{
	int res = 0; /* Assume false by default */
	if( nArg > 0 ){
		res = jx9_value_is_null(apArg[0]);
	}
	/* Query result */
	jx9_result_bool(pCtx, res);
	return JX9_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
testl %esi, %esi
jle 0x5386b
movq (%rdx), %rax
movl 0x8(%rax), %r14d
shrl $0x5, %r14d
andl $0x1, %r14d
jmp 0x5386e
xorl %r14d, %r14d
movq 0x8(%rdi), %rbx
movq %rbx, %rdi
callq 0x30465
movq %r14, (%rbx)
movl $0xfffffe90, %eax       # imm = 0xFFFFFE90
andl 0x8(%rbx), %eax
orl $0x8, %eax
movl %eax, 0x8(%rbx)
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9Builtin_is_numeric
static int jx9Builtin_is_numeric(jx9_context *pCtx, int nArg, jx9_value **apArg)
{
	int res = 0; /* Assume false by default */
	if( nArg > 0 ){
		res = jx9_value_is_numeric(apArg[0]);
	}
	/* Query result */
	jx9_result_bool(pCtx, res);
	return JX9_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
testl %esi, %esi
jle 0x538ad
movq (%rdx), %rdi
callq 0x30898
movl %eax, %r14d
jmp 0x538b0
xorl %r14d, %r14d
movq 0x8(%rbx), %rbx
movq %rbx, %rdi
callq 0x30465
movq %r14, (%rbx)
movl $0xfffffe90, %eax       # imm = 0xFFFFFE90
andl 0x8(%rbx), %eax
orl $0x8, %eax
movl %eax, 0x8(%rbx)
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9Builtin_is_scalar
static int jx9Builtin_is_scalar(jx9_context *pCtx, int nArg, jx9_value **apArg)
{
	int res = 0; /* Assume false by default */
	if( nArg > 0 ){
		res = jx9_value_is_scalar(apArg[0]);
	}
	/* Query result */
	jx9_result_bool(pCtx, res);
	return JX9_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
testl %esi, %esi
jle 0x538ef
movq (%rdx), %rax
xorl %r14d, %r14d
testb $0x2f, 0x8(%rax)
setne %r14b
jmp 0x538f2
xorl %r14d, %r14d
movq 0x8(%rdi), %rbx
movq %rbx, %rdi
callq 0x30465
movq %r14, (%rbx)
movl $0xfffffe90, %eax       # imm = 0xFFFFFE90
andl 0x8(%rbx), %eax
orl $0x8, %eax
movl %eax, 0x8(%rbx)
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9Builtin_is_array
static int jx9Builtin_is_array(jx9_context *pCtx, int nArg, jx9_value **apArg)
{
	int res = 0; /* Assume false by default */
	if( nArg > 0 ){
		res = jx9_value_is_json_array(apArg[0]);
	}
	/* Query result */
	jx9_result_bool(pCtx, res);
	return JX9_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
testl %esi, %esi
jle 0x53932
movq (%rdx), %rax
movl 0x8(%rax), %r14d
shrl $0x6, %r14d
andl $0x1, %r14d
jmp 0x53935
xorl %r14d, %r14d
movq 0x8(%rdi), %rbx
movq %rbx, %rdi
callq 0x30465
movq %r14, (%rbx)
movl $0xfffffe90, %eax       # imm = 0xFFFFFE90
andl 0x8(%rbx), %eax
orl $0x8, %eax
movl %eax, 0x8(%rbx)
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9Builtin_is_object
static int jx9Builtin_is_object(jx9_context *pCtx, int nArg, jx9_value **apArg)
{
	int res = 0; /* Assume false by default */
	if( nArg > 0 ){
		res = jx9_value_is_json_object(apArg[0]);
	}
	/* Query result */
	jx9_result_bool(pCtx, res);
	return JX9_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
testl %esi, %esi
jle 0x5396d
movq (%rdx), %rax
testb $0x40, 0x8(%rax)
jne 0x53972
xorl %r14d, %r14d
jmp 0x5397d
movq (%rax), %rax
movl 0x40(%rax), %r14d
andl $0x1, %r14d
movq 0x8(%rdi), %rbx
movq %rbx, %rdi
callq 0x30465
movq %r14, (%rbx)
movl $0xfffffe90, %eax       # imm = 0xFFFFFE90
andl 0x8(%rbx), %eax
orl $0x8, %eax
movl %eax, 0x8(%rbx)
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9Builtin_is_resource
static int jx9Builtin_is_resource(jx9_context *pCtx, int nArg, jx9_value **apArg)
{
	int res = 0; /* Assume false by default */
	if( nArg > 0 ){
		res = jx9_value_is_resource(apArg[0]);
	}
	jx9_result_bool(pCtx, res);
	return JX9_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
testl %esi, %esi
jle 0x539bd
movq (%rdx), %rax
movl 0x8(%rax), %r14d
shrl $0x8, %r14d
andl $0x1, %r14d
jmp 0x539c0
xorl %r14d, %r14d
movq 0x8(%rdi), %rbx
movq %rbx, %rdi
callq 0x30465
movq %r14, (%rbx)
movl $0xfffffe90, %eax       # imm = 0xFFFFFE90
andl 0x8(%rbx), %eax
orl $0x8, %eax
movl %eax, 0x8(%rbx)
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9Builtin_floatval
static int jx9Builtin_floatval(jx9_context *pCtx, int nArg, jx9_value **apArg)
{
	if( nArg < 1 ){
		/* return 0.0 */
		jx9_result_double(pCtx, 0);
	}else{
		double dval;
		/* Perform the cast */
		dval = jx9_value_to_double(apArg[0]);
		jx9_result_double(pCtx, dval);
	}
	return JX9_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
testl %esi, %esi
jle 0x53a08
movq (%rdx), %r14
movq %r14, %rdi
callq 0x43a31
movsd (%r14), %xmm0
jmp 0x53a0b
xorps %xmm0, %xmm0
movsd %xmm0, -0x18(%rbp)
movq 0x8(%rbx), %rbx
movq %rbx, %rdi
callq 0x30465
movsd -0x18(%rbp), %xmm0
movsd %xmm0, (%rbx)
movl $0xfffffe90, %eax       # imm = 0xFFFFFE90
andl 0x8(%rbx), %eax
orl $0x4, %eax
movl %eax, 0x8(%rbx)
movq %rbx, %rdi
callq 0x43f5f
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9Builtin_intval
static int jx9Builtin_intval(jx9_context *pCtx, int nArg, jx9_value **apArg)
{
	if( nArg < 1 ){
		/* return 0 */
		jx9_result_int(pCtx, 0);
	}else{
		sxi64 iVal;
		/* Perform the cast */
		iVal = jx9_value_to_int64(apArg[0]);
		jx9_result_int64(pCtx, iVal);
	}
	return JX9_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
testl %esi, %esi
jle 0x53a64
movq (%rdx), %r14
movq %r14, %rdi
callq 0x3f362
movq (%r14), %r14
jmp 0x53a67
xorl %r14d, %r14d
movq 0x8(%rbx), %rbx
movq %rbx, %rdi
callq 0x30465
movq %r14, (%rbx)
movl $0xfffffe90, %eax       # imm = 0xFFFFFE90
andl 0x8(%rbx), %eax
orl $0x2, %eax
movl %eax, 0x8(%rbx)
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9Builtin_strval
static int jx9Builtin_strval(jx9_context *pCtx, int nArg, jx9_value **apArg)
{
	if( nArg < 1 ){
		/* return NULL */
		jx9_result_null(pCtx);
	}else{
		const char *zVal;
		int iLen = 0; /* cc -O6 warning */
		/* Perform the cast */
		zVal = jx9_value_to_string(apArg[0], &iLen);
		jx9_result_string(pCtx, zVal, iLen);
	}
	return JX9_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
testl %esi, %esi
jle 0x53ac4
leaq -0x14(%rbp), %r14
movl $0x0, (%r14)
movq (%rdx), %rdi
movq %r14, %rsi
callq 0x30577
movl (%r14), %edx
movq 0x8(%rbx), %rdi
movq %rax, %rsi
callq 0x302f6
jmp 0x53acd
movq 0x8(%rbx), %rdi
callq 0x30465
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9Builtin_empty
static int jx9Builtin_empty(jx9_context *pCtx, int nArg, jx9_value **apArg)
{
	int res = 1; /* Assume empty by default */
	if( nArg > 0 ){
		res = jx9_value_is_empty(apArg[0]);
	}
	jx9_result_bool(pCtx, res);
	return JX9_OK;
	
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
testl %esi, %esi
jle 0x53af3
movq (%rdx), %rdi
callq 0x30930
movl %eax, %r14d
jmp 0x53af9
movl $0x1, %r14d
movq 0x8(%rbx), %rbx
movq %rbx, %rdi
callq 0x30465
movq %r14, (%rbx)
movl $0xfffffe90, %eax       # imm = 0xFFFFFE90
andl 0x8(%rbx), %eax
orl $0x8, %eax
movl %eax, 0x8(%rbx)
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9Builtin_round
static int jx9Builtin_round(jx9_context *pCtx, int nArg, jx9_value **apArg)
{
	int n = 0;
	double r;
	if( nArg < 1 ){
		/* Missing argument, return 0 */
		jx9_result_int(pCtx, 0);
		return JX9_OK;
	}
	/* Extract the precision if available */
	if( nArg > 1 ){
		n = jx9_value_to_int(apArg[1]);
		if( n>30 ){
			n = 30;
		}
		if( n<0 ){
			n = 0;
		}
	}
	r = jx9_value_to_double(apArg[0]);
	/* If Y==0 and X will fit in a 64-bit int, 
     * handle the rounding directly.Otherwise 
	 * use our own cutsom printf [i.e:SyBufferFormat()].
     */
  if( n==0 && r>=0 && r<LARGEST_INT64-1 ){
    r = (double)((jx9_int64)(r+0.5));
  }else if( n==0 && r<0 && (-r)<LARGEST_INT64-1 ){
    r = -(double)((jx9_int64)((-r)+0.5));
  }else{
	  char zBuf[256];
	  sxu32 nLen;
	  nLen = SyBufferFormat(zBuf, sizeof(zBuf), "%.*f", n, r);
	  /* Convert the string to real number */
	  SyStrToReal(zBuf, nLen, (void *)&r, 0);
  }
  /* Return thr rounded value */
  jx9_result_double(pCtx, r);
  return JX9_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x118, %rsp            # imm = 0x118
movq %rdi, %rbx
testl %esi, %esi
jle 0x53bbc
movq %rdx, %r15
xorl %r14d, %r14d
cmpl $0x1, %esi
je 0x53b66
movq 0x8(%r15), %r14
movq %r14, %rdi
callq 0x3f362
movl (%r14), %eax
cmpl $0x1e, %eax
movl $0x1e, %ecx
cmovll %eax, %ecx
xorl %r14d, %r14d
testl %ecx, %ecx
cmovgl %ecx, %r14d
movq (%r15), %r15
movq %r15, %rdi
callq 0x43a31
movsd (%r15), %xmm0
movsd %xmm0, -0x20(%rbp)
testl %r14d, %r14d
jne 0x53be2
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0x53be2
movsd 0x1fa66(%rip), %xmm1    # 0x735f8
ucomisd %xmm0, %xmm1
jbe 0x53be2
addsd 0x1fa28(%rip), %xmm0    # 0x735c8
cvttsd2si %xmm0, %rax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
movapd %xmm0, -0x30(%rbp)
movsd %xmm0, -0x20(%rbp)
jmp 0x53c63
movq 0x8(%rbx), %rbx
movq %rbx, %rdi
callq 0x30465
movq $0x0, (%rbx)
movl $0xfffffe90, %eax       # imm = 0xFFFFFE90
andl 0x8(%rbx), %eax
orl $0x2, %eax
movl %eax, 0x8(%rbx)
jmp 0x53c8d
testl %r14d, %r14d
jne 0x53c28
xorpd %xmm1, %xmm1
ucomisd %xmm0, %xmm1
jbe 0x53c28
ucomisd 0x1fa0f(%rip), %xmm0    # 0x73608
jbe 0x53c28
movsd 0x1f9c5(%rip), %xmm1    # 0x735c8
subsd %xmm0, %xmm1
cvttsd2si %xmm1, %rax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
xorpd 0x1f9f4(%rip), %xmm0    # 0x73610
movapd %xmm0, -0x30(%rbp)
movlpd %xmm0, -0x20(%rbp)
jmp 0x53c63
leaq 0x2329e(%rip), %rdx     # 0x76ecd
leaq -0x130(%rbp), %r15
movq %r15, %rdi
movl $0x100, %esi            # imm = 0x100
movl %r14d, %ecx
movb $0x1, %al
callq 0x349a5
leaq -0x20(%rbp), %r14
movq %r15, %rdi
movl %eax, %esi
movq %r14, %rdx
callq 0x3e968
movsd (%r14), %xmm0
movapd %xmm0, -0x30(%rbp)
movq 0x8(%rbx), %rbx
movq %rbx, %rdi
callq 0x30465
movaps -0x30(%rbp), %xmm0
movsd %xmm0, (%rbx)
movl $0xfffffe90, %eax       # imm = 0xFFFFFE90
andl 0x8(%rbx), %eax
orl $0x4, %eax
movl %eax, 0x8(%rbx)
movq %rbx, %rdi
callq 0x43f5f
xorl %eax, %eax
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9Builtin_dechex
static int jx9Builtin_dechex(jx9_context *pCtx, int nArg, jx9_value **apArg)
{
	int iVal;
	if( nArg < 1 ){
		/* Missing arguments, return null */
		jx9_result_null(pCtx);
		return JX9_OK;
	}
	/* Extract the given number */
	iVal = jx9_value_to_int(apArg[0]);
	/* Format */
	jx9_result_string_format(pCtx, "%x", iVal);
	return JX9_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
testl %esi, %esi
jle 0x53ccc
movq (%rdx), %r14
movq %r14, %rdi
callq 0x3f362
movl (%r14), %edx
leaq 0x23212(%rip), %rsi     # 0x76ed2
movq %rbx, %rdi
xorl %eax, %eax
callq 0x44e00
jmp 0x53cd5
movq 0x8(%rbx), %rdi
callq 0x30465
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9Builtin_decoct
static int jx9Builtin_decoct(jx9_context *pCtx, int nArg, jx9_value **apArg)
{
	int iVal;
	if( nArg < 1 ){
		/* Missing arguments, return null */
		jx9_result_null(pCtx);
		return JX9_OK;
	}
	/* Extract the given number */
	iVal = jx9_value_to_int(apArg[0]);
	/* Format */
	jx9_result_string_format(pCtx, "%o", iVal);
	return JX9_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
testl %esi, %esi
jle 0x53d0b
movq (%rdx), %r14
movq %r14, %rdi
callq 0x3f362
movl (%r14), %edx
leaq 0x231d6(%rip), %rsi     # 0x76ed5
movq %rbx, %rdi
xorl %eax, %eax
callq 0x44e00
jmp 0x53d14
movq 0x8(%rbx), %rdi
callq 0x30465
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9Builtin_decbin
static int jx9Builtin_decbin(jx9_context *pCtx, int nArg, jx9_value **apArg)
{
	int iVal;
	if( nArg < 1 ){
		/* Missing arguments, return null */
		jx9_result_null(pCtx);
		return JX9_OK;
	}
	/* Extract the given number */
	iVal = jx9_value_to_int(apArg[0]);
	/* Format */
	jx9_result_string_format(pCtx, "%B", iVal);
	return JX9_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
testl %esi, %esi
jle 0x53d4a
movq (%rdx), %r14
movq %r14, %rdi
callq 0x3f362
movl (%r14), %edx
leaq 0x2319a(%rip), %rsi     # 0x76ed8
movq %rbx, %rdi
xorl %eax, %eax
callq 0x44e00
jmp 0x53d53
movq 0x8(%rbx), %rdi
callq 0x30465
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9Builtin_hexdec
static int jx9Builtin_hexdec(jx9_context *pCtx, int nArg, jx9_value **apArg)
{
	const char *zString, *zEnd;
	jx9_int64 iVal;
	int nLen;
	if( nArg < 1 ){
		/* Missing arguments, return -1 */
		jx9_result_int(pCtx, -1);
		return JX9_OK;
	}
	iVal = 0;
	if( jx9_value_is_string(apArg[0]) ){
		/* Extract the given string */
		zString = jx9_value_to_string(apArg[0], &nLen);
		/* Delimit the string */
		zEnd = &zString[nLen];
		/* Ignore non hex-stream */
		while( zString < zEnd ){
			if( (unsigned char)zString[0] >= 0xc0 ){
				/* UTF-8 stream */
				zString++;
				while( zString < zEnd && (((unsigned char)zString[0] & 0xc0) == 0x80) ){
					zString++;
				}
			}else{
				if( SyisHex(zString[0]) ){
					break;
				}
				/* Ignore */
				zString++;
			}
		}
		if( zString < zEnd ){
			/* Cast */
			SyHexStrToInt64(zString, (sxu32)(zEnd-zString), (void *)&iVal, 0);
		}
	}else{
		/* Extract as a 64-bit integer */
		iVal = jx9_value_to_int64(apArg[0]);
	}
	/* Return the number */
	jx9_result_int64(pCtx, iVal);
	return JX9_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
testl %esi, %esi
jle 0x53d98
movq $0x0, -0x30(%rbp)
movq (%rdx), %r14
testb $0x1, 0x8(%r14)
jne 0x53db0
movq %r14, %rdi
callq 0x3f362
movq (%r14), %r12
movq %r12, -0x30(%rbp)
jmp 0x53e31
movq 0x8(%rbx), %rbx
movq %rbx, %rdi
callq 0x30465
movq $-0x1, (%rbx)
jmp 0x53e40
leaq -0x34(%rbp), %r12
movq %r14, %rdi
movq %r12, %rsi
callq 0x30577
movslq (%r12), %r14
testq %r14, %r14
jle 0x53e13
movq %rax, %r15
addq %rax, %r14
xorl %r12d, %r12d
movsbq (%r15), %r13
cmpq $-0x40, %r13
jb 0x53df9
incq %r15
movq %r15, %rax
movq %rax, %r15
cmpq %r14, %rax
jae 0x53e0c
movb (%r15), %cl
andb $-0x40, %cl
leaq 0x1(%r15), %rax
negb %cl
jo 0x53de1
jmp 0x53e0c
callq 0xc170
movq (%rax), %rax
testb $0x10, 0x1(%rax,%r13,2)
jne 0x53e18
incq %r15
cmpq %r14, %r15
jb 0x53dd1
jmp 0x53e31
xorl %r12d, %r12d
jmp 0x53e31
subl %r15d, %r14d
leaq -0x30(%rbp), %r12
movq %r15, %rdi
movl %r14d, %esi
movq %r12, %rdx
callq 0x3fc1c
movq (%r12), %r12
movq 0x8(%rbx), %rbx
movq %rbx, %rdi
callq 0x30465
movq %r12, (%rbx)
movl $0xfffffe90, %eax       # imm = 0xFFFFFE90
andl 0x8(%rbx), %eax
orl $0x2, %eax
movl %eax, 0x8(%rbx)
xorl %eax, %eax
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: jx9Builtin_bindec
static int jx9Builtin_bindec(jx9_context *pCtx, int nArg, jx9_value **apArg)
{
	const char *zString;
	jx9_int64 iVal;
	int nLen;
	if( nArg < 1 ){
		/* Missing arguments, return -1 */
		jx9_result_int(pCtx, -1);
		return JX9_OK;
	}
	iVal = 0;
	if( jx9_value_is_string(apArg[0]) ){
		/* Extract the given string */
		zString = jx9_value_to_string(apArg[0], &nLen);
		if( nLen > 0 ){
			/* Perform a binary cast */
			SyBinaryStrToInt64(zString, (sxu32)nLen, (void *)&iVal, 0);
		}
	}else{
		/* Extract as a 64-bit integer */
		iVal = jx9_value_to_int64(apArg[0]);
	}
	/* Return the number */
	jx9_result_int64(pCtx, iVal);
	return JX9_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
testl %esi, %esi
jle 0x53e96
movq $0x0, -0x20(%rbp)
movq (%rdx), %r14
testb $0x1, 0x8(%r14)
jne 0x53eab
movq %r14, %rdi
callq 0x3f362
movq (%r14), %r14
movq %r14, -0x20(%rbp)
jmp 0x53ed8
movq 0x8(%rbx), %rbx
movq %rbx, %rdi
callq 0x30465
movq $-0x1, (%rbx)
jmp 0x53ee7
leaq -0x24(%rbp), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x30577
movl (%r15), %esi
testl %esi, %esi
jle 0x53ed5
leaq -0x20(%rbp), %r14
movq %rax, %rdi
movq %r14, %rdx
callq 0x3fe7d
movq (%r14), %r14
jmp 0x53ed8
xorl %r14d, %r14d
movq 0x8(%rbx), %rbx
movq %rbx, %rdi
callq 0x30465
movq %r14, (%rbx)
movl $0xfffffe90, %eax       # imm = 0xFFFFFE90
andl 0x8(%rbx), %eax
orl $0x2, %eax
movl %eax, 0x8(%rbx)
xorl %eax, %eax
addq $0x18, %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: jx9Builtin_octdec
static int jx9Builtin_octdec(jx9_context *pCtx, int nArg, jx9_value **apArg)
{
	const char *zString;
	jx9_int64 iVal;
	int nLen;
	if( nArg < 1 ){
		/* Missing arguments, return -1 */
		jx9_result_int(pCtx, -1);
		return JX9_OK;
	}
	iVal = 0;
	if( jx9_value_is_string(apArg[0]) ){
		/* Extract the given string */
		zString = jx9_value_to_string(apArg[0], &nLen);
		if( nLen > 0 ){
			/* Perform the cast */
			SyOctalStrToInt64(zString, (sxu32)nLen, (void *)&iVal, 0);
		}
	}else{
		/* Extract as a 64-bit integer */
		iVal = jx9_value_to_int64(apArg[0]);
	}
	/* Return the number */
	jx9_result_int64(pCtx, iVal);
	return JX9_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
testl %esi, %esi
jle 0x53f39
movq $0x0, -0x20(%rbp)
movq (%rdx), %r14
testb $0x1, 0x8(%r14)
jne 0x53f4e
movq %r14, %rdi
callq 0x3f362
movq (%r14), %r14
movq %r14, -0x20(%rbp)
jmp 0x53f7b
movq 0x8(%rbx), %rbx
movq %rbx, %rdi
callq 0x30465
movq $-0x1, (%rbx)
jmp 0x53f8a
leaq -0x24(%rbp), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x30577
movl (%r15), %esi
testl %esi, %esi
jle 0x53f78
leaq -0x20(%rbp), %r14
movq %rax, %rdi
movq %r14, %rdx
callq 0x4002a
movq (%r14), %r14
jmp 0x53f7b
xorl %r14d, %r14d
movq 0x8(%rbx), %rbx
movq %rbx, %rdi
callq 0x30465
movq %r14, (%rbx)
movl $0xfffffe90, %eax       # imm = 0xFFFFFE90
andl 0x8(%rbx), %eax
orl $0x2, %eax
movl %eax, 0x8(%rbx)
xorl %eax, %eax
addq $0x18, %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: jx9Builtin_base_convert
static int jx9Builtin_base_convert(jx9_context *pCtx, int nArg, jx9_value **apArg)
{
	int nLen, iFbase, iTobase;
	const char *zNum;
	jx9_int64 iNum;
	if( nArg < 3 ){
		/* Return the empty string*/
		jx9_result_string(pCtx, "", 0);
		return JX9_OK;
	}
	/* Base numbers */
	iFbase  = jx9_value_to_int(apArg[1]);
	iTobase = jx9_value_to_int(apArg[2]);
	if( jx9_value_is_string(apArg[0]) ){
		/* Extract the target number */
		zNum = jx9_value_to_string(apArg[0], &nLen);
		if( nLen < 1 ){
			/* Return the empty string*/
			jx9_result_string(pCtx, "", 0);
			return JX9_OK;
		}
		/* Base conversion */
		switch(iFbase){
		case 16:
			/* Hex */
			SyHexStrToInt64(zNum, (sxu32)nLen, (void *)&iNum, 0);
			break;
		case 8:
			/* Octal */
			SyOctalStrToInt64(zNum, (sxu32)nLen, (void *)&iNum, 0);
			break;
		case 2:
			/* Binary */
			SyBinaryStrToInt64(zNum, (sxu32)nLen, (void *)&iNum, 0);
			break;
		default:
			/* Decimal */
			SyStrToInt64(zNum, (sxu32)nLen, (void *)&iNum, 0);
			break;
		}
	}else{
		iNum = jx9_value_to_int64(apArg[0]);
	}
	switch(iTobase){
	case 16:
		/* Hex */
		jx9_result_string_format(pCtx, "%qx", iNum); /* Quad hex */
		break;
	case 8:
		/* Octal */
		jx9_result_string_format(pCtx, "%qo", iNum); /* Quad octal */
		break;
	case 2:
		/* Binary */
		jx9_result_string_format(pCtx, "%qB", iNum); /* Quad binary */
		break;
	default:
		/* Decimal */
		jx9_result_string_format(pCtx, "%qd", iNum); /* Quad decimal */
		break;
	}
	return JX9_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
cmpl $0x2, %esi
jg 0x53fd5
movq 0x8(%rbx), %rdi
leaq 0x236a9(%rip), %rsi     # 0x77672
xorl %edx, %edx
callq 0x302f6
jmp 0x5408b
movq %rdx, %r14
movq 0x8(%rdx), %r15
movq %r15, %rdi
callq 0x3f362
movl (%r15), %r13d
movq 0x10(%r14), %r15
movq %r15, %rdi
callq 0x3f362
movl (%r15), %r12d
movq (%r14), %r14
testb $0x1, 0x8(%r14)
jne 0x5402e
movq %r14, %rdi
callq 0x3f362
movq (%r14), %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rdx
cmpl $0x2, %r12d
je 0x54071
cmpl $0x8, %r12d
je 0x54068
cmpl $0x10, %r12d
jne 0x5407a
leaq 0x22eaf(%rip), %rsi     # 0x76edb
jmp 0x54081
leaq -0x34(%rbp), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x30577
movl (%r15), %esi
testl %esi, %esi
jle 0x53fbe
leaq -0x30(%rbp), %rdx
movq %rax, %rdi
cmpl $0x2, %r13d
je 0x540a6
cmpl $0x8, %r13d
je 0x5409c
cmpl $0x10, %r13d
jne 0x540b0
callq 0x3fc1c
jmp 0x5400f
leaq 0x22e70(%rip), %rsi     # 0x76edf
jmp 0x54081
leaq 0x22e6b(%rip), %rsi     # 0x76ee3
jmp 0x54081
leaq 0x2005a(%rip), %rsi     # 0x740db
movq %rbx, %rdi
xorl %eax, %eax
callq 0x44e00
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x4002a
jmp 0x5400f
callq 0x3fe7d
jmp 0x5400f
callq 0x40206
jmp 0x5400f
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9Builtin_substr
static int jx9Builtin_substr(jx9_context *pCtx, int nArg, jx9_value **apArg)
{
	const char *zSource, *zOfft;
	int nOfft, nLen, nSrcLen;	
	if( nArg < 2 ){
		/* return FALSE */
		jx9_result_bool(pCtx, 0);
		return JX9_OK;
	}
	/* Extract the target string */
	zSource = jx9_value_to_string(apArg[0], &nSrcLen);
	if( nSrcLen < 1 ){
		/* Empty string, return FALSE */
		jx9_result_bool(pCtx, 0);
		return JX9_OK;
	}
	nLen = nSrcLen; /* cc warning */
	/* Extract the offset */
	nOfft = jx9_value_to_int(apArg[1]);
	if( nOfft < 0 ){
		zOfft = &zSource[nSrcLen+nOfft]; 
		if( zOfft < zSource ){
			/* Invalid offset */
			jx9_result_bool(pCtx, 0);
			return JX9_OK;
		}
		nLen = (int)(&zSource[nSrcLen]-zOfft);
		nOfft = (int)(zOfft-zSource);
	}else if( nOfft >= nSrcLen ){
		/* Invalid offset */
		jx9_result_bool(pCtx, 0);
		return JX9_OK;
	}else{
		zOfft = &zSource[nOfft];
		nLen = nSrcLen - nOfft;
	}
	if( nArg > 2 ){
		/* Extract the length */
		nLen = jx9_value_to_int(apArg[2]);
		if( nLen == 0 ){
			/* Invalid length, return an empty string */
			jx9_result_string(pCtx, "", 0);
			return JX9_OK;
		}else if( nLen < 0 ){
			nLen = nSrcLen + nLen - nOfft;
			if( nLen < 1 ){
				/* Invalid  length */
				nLen = nSrcLen - nOfft;
			}
		}
		if( nLen + nOfft > nSrcLen ){
			/* Invalid length */
			nLen = nSrcLen - nOfft;
		}
	}
	/* Return the substring */
	jx9_result_string(pCtx, zOfft, nLen);
	return JX9_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpl $0x1, %esi
jle 0x5410d
movq %rdx, %r15
movl %esi, %r12d
movq (%rdx), %rdi
leaq -0x2c(%rbp), %r13
movq %r13, %rsi
callq 0x30577
cmpl $0x0, (%r13)
jle 0x5410d
movq %rax, %r14
movq 0x8(%r15), %r13
movq %r13, %rdi
callq 0x3f362
movl (%r13), %eax
movl -0x2c(%rbp), %edx
testl %eax, %eax
js 0x5413f
movl %eax, %r13d
cmpl %eax, %edx
jg 0x5414b
movq 0x8(%rbx), %rbx
movq %rbx, %rdi
callq 0x30465
movq $0x0, (%rbx)
movl $0xfffffe90, %eax       # imm = 0xFFFFFE90
andl 0x8(%rbx), %eax
orl $0x8, %eax
movl %eax, 0x8(%rbx)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
addl %eax, %edx
movl %edx, %r13d
movl $0x0, %edx
js 0x5410d
cmpl $0x2, %r12d
jne 0x54155
subl %eax, %edx
jmp 0x5419b
movq 0x10(%r15), %r15
movq %r15, %rdi
callq 0x3f362
movl (%r15), %eax
testl %eax, %eax
je 0x54174
movl -0x2c(%rbp), %ecx
js 0x54183
movl %ecx, %edx
subl %r13d, %edx
jmp 0x54192
movq 0x8(%rbx), %rdi
leaq 0x234f3(%rip), %rsi     # 0x77672
xorl %edx, %edx
jmp 0x541a8
subl %r13d, %eax
addl %ecx, %eax
movl %ecx, %edx
subl %r13d, %edx
testl %eax, %eax
cmovlel %edx, %eax
leal (%rax,%r13), %esi
cmpl %ecx, %esi
cmovlel %eax, %edx
movl %r13d, %eax
addq %rax, %r14
movq 0x8(%rbx), %rdi
movq %r14, %rsi
callq 0x302f6
jmp 0x5412e
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9Builtin_chunk_split
static int jx9Builtin_chunk_split(jx9_context *pCtx, int nArg, jx9_value **apArg)
{
	const char *zIn, *zEnd, *zSep = "\r\n";
	int nSepLen, nChunkLen, nLen;
	if( nArg < 1 || !jx9_value_is_string(apArg[0]) ){
		/* Nothing to split, return null */
		jx9_result_null(pCtx);
		return JX9_OK;
	}
	/* initialize/Extract arguments */
	nSepLen = (int)sizeof("\r\n") - 1;
	nChunkLen = 76;
	zIn = jx9_value_to_string(apArg[0], &nLen);
	zEnd = &zIn[nLen];
	if( nArg > 1 ){
		/* Chunk length */
		nChunkLen = jx9_value_to_int(apArg[1]);
		if( nChunkLen < 1 ){
			/* Switch back to the default length */
			nChunkLen = 76;
		}
		if( nArg > 2 ){
			/* Separator */
			zSep = jx9_value_to_string(apArg[2], &nSepLen);
			if( nSepLen < 1 ){
				/* Switch back to the default separator */
				zSep = "\r\n";
				nSepLen = (int)sizeof("\r\n") - 1;
			}
		}
	}
	/* Perform the requested operation */
	if( nChunkLen > nLen ){
		/* Nothing to split, return the string and the separator */
		jx9_result_string_format(pCtx, "%.*s%.*s", nLen, zIn, nSepLen, zSep);
		return JX9_OK;
	}
	while( zIn < zEnd ){
		if( nChunkLen > (int)(zEnd-zIn) ){
			nChunkLen = (int)(zEnd - zIn);
		}
		/* Append the chunk and the separator */
		jx9_result_string_format(pCtx, "%.*s%.*s", nChunkLen, zIn, nSepLen, zSep);
		/* Point beyond the chunk */
		zIn += nChunkLen;
	}
	return JX9_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
testl %esi, %esi
jle 0x54498
movq %rdx, %r13
movq (%rdx), %rdi
testb $0x1, 0x8(%rdi)
jne 0x544b2
movq 0x8(%rbx), %rdi
callq 0x30465
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl %esi, %r15d
movl $0x2, -0x2c(%rbp)
leaq -0x3c(%rbp), %r12
movq %r12, %rsi
callq 0x30577
movq %rax, %r14
movslq (%r12), %rax
movl $0x4c, %r12d
leaq 0x23eae(%rip), %r9      # 0x7838a
movl $0x2, %r8d
cmpl $0x1, %r15d
je 0x54556
movq %rax, -0x38(%rbp)
movq 0x8(%r13), %r12
movq %r12, %rdi
callq 0x3f362
movl (%r12), %eax
testl %eax, %eax
movl $0x4c, %r12d
cmovgl %eax, %r12d
cmpl $0x3, %r15d
jb 0x5452b
movq 0x10(%r13), %rdi
leaq -0x2c(%rbp), %r15
movq %r15, %rsi
callq 0x30577
movl (%r15), %r8d
testl %r8d, %r8d
jle 0x5453e
movq %rax, %r9
jmp 0x54552
leaq 0x23e58(%rip), %r9      # 0x7838a
movq -0x38(%rbp), %rax
movl $0x2, %r8d
jmp 0x54556
movl $0x2, -0x2c(%rbp)
movl $0x2, %r8d
leaq 0x23e38(%rip), %r9      # 0x7838a
movq -0x38(%rbp), %rax
movl -0x3c(%rbp), %edx
cmpl %edx, %r12d
jle 0x54577
leaq 0x22982(%rip), %rsi     # 0x76ee7
movq %rbx, %rdi
movq %r14, %rcx
xorl %eax, %eax
callq 0x44e00
jmp 0x544a1
testl %eax, %eax
jle 0x544a1
movq %r14, %r13
addq %rax, %r13
movl %r13d, %eax
subl %r14d, %eax
cmpl %eax, %r12d
cmovgel %eax, %r12d
movl -0x2c(%rbp), %r8d
movq %rbx, %rdi
leaq 0x22947(%rip), %rsi     # 0x76ee7
movl %r12d, %edx
movq %r14, %rcx
movq %r9, %r15
xorl %eax, %eax
callq 0x44e00
movq %r15, %r9
movslq %r12d, %rax
addq %rax, %r14
cmpq %r13, %r14
jb 0x54585
jmp 0x544a1
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9Builtin_get_html_translation_table
static int jx9Builtin_get_html_translation_table(jx9_context *pCtx, int nArg, jx9_value **apArg)
{
	jx9_value *pArray, *pValue;
	sxu32 n;
	/* Element value */
	pValue = jx9_context_new_scalar(pCtx);
	if( pValue == 0 ){
		SXUNUSED(nArg); /* cc warning */
		SXUNUSED(apArg);
		/* Return NULL */
		jx9_result_null(pCtx);
		return JX9_OK;
	}
	/* Create a new array */
	pArray = jx9_context_new_array(pCtx);
	if( pArray == 0 ){
		/* Return NULL */
		jx9_result_null(pCtx);
		return JX9_OK;
	}
	/* Make the table */
	for( n = 0 ; n < SX_ARRAYSIZE(azHtmlEscape) ; n += 2 ){
		/* Prepare the value */
		jx9_value_string(pValue, azHtmlEscape[n], -1 /* Compute length automatically */);
		/* Insert the value */
		jx9_array_add_strkey_elem(pArray, azHtmlEscape[n+1], pValue);
		/* Reset the string cursor */
		jx9_value_reset_string_cursor(pValue);
	}
	/* 
	 * Return the array.
	 * Don't worry about freeing memory, everything will be automatically
	 * released upon we return from this function.
	 */
	jx9_result_value(pCtx, pArray);
	return JX9_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x311eb
testq %rax, %rax
je 0x54a53
movq %rax, %r14
movq %rbx, %rdi
callq 0x31231
testq %rax, %rax
je 0x54a53
movq %rax, %r15
movq %rbx, -0x30(%rbp)
movq $-0x2, %r13
leaq 0x3e1c5(%rip), %rbx     # 0x92bb0
movq 0x10(%rbx,%r13,8), %rsi
movq 0x18(%rbx,%r13,8), %r12
movq %r14, %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x302f6
movq %r15, %rdi
movq %r12, %rsi
movq %r14, %rdx
callq 0x30ad3
movl $0x0, 0x28(%r14)
movl 0x30(%r14), %eax
testb $0x4, %al
je 0x54a37
movq $0x0, 0x20(%r14)
movl $0x0, 0x2c(%r14)
andl $-0x5, %eax
movl %eax, 0x30(%r14)
addq $0x2, %r13
cmpq $0x26, %r13
jb 0x549eb
movq -0x30(%rbp), %rax
movq 0x8(%rax), %rsi
movq %r15, %rdi
callq 0x3e19f
jmp 0x54a5c
movq 0x8(%rbx), %rdi
callq 0x30465
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: jx9Builtin_htmlentities
static int jx9Builtin_htmlentities(jx9_context *pCtx, int nArg, jx9_value **apArg)
{
	int iFlags = 0x01; /* ENT_COMPAT */
	const char *zIn, *zEnd;
	int nLen, c;
	sxu32 n;
	if( nArg < 1 || !jx9_value_is_string(apArg[0]) ){
		/* Missing/Invalid arguments, return NULL */
		jx9_result_null(pCtx);
		return JX9_OK;
	}
	/* Extract the target string */
	zIn = jx9_value_to_string(apArg[0], &nLen);
	zEnd = &zIn[nLen];
	/* Extract the flags if available */
	if( nArg > 1 ){
		iFlags = jx9_value_to_int(apArg[1]);
		if( iFlags < 0 ){
			iFlags = 0x01;
		}
	}
	/* Perform the requested operation */
	for(;;){
		if( zIn >= zEnd ){
			/* No more input to process */
			break;
		}
		c = zIn[0];
		/* Perform a linear lookup on the decoding table */
		for( n = 0 ; n < SX_ARRAYSIZE(azHtmlEscape) ; n += 2 ){
			if( azHtmlEscape[n+1][0] == c ){
				/* Got one */
				break;
			}
		}
		if( n < SX_ARRAYSIZE(azHtmlEscape) ){
			/* Output the safe sequence [i.e: '<' ==> '&lt;"] */
			if( c == '"' && (iFlags & 0x04) /*ENT_NOQUOTES*/ ){
				/* Expand the double quote verbatim */
				jx9_result_string(pCtx, (const char *)&c, (int)sizeof(char));
			}else if(c == '\'' && ((iFlags & 0x02 /*ENT_QUOTES*/) == 0 || (iFlags & 0x04) /*ENT_NOQUOTES*/) ){
				/* expand single quote verbatim */
				jx9_result_string(pCtx, (const char *)&c, (int)sizeof(char));
			}else{
				jx9_result_string(pCtx, azHtmlEscape[n], -1/*Compute length automatically */);
			}
		}else{
			/* Output character verbatim */
			jx9_result_string(pCtx, (const char *)&c, (int)sizeof(char));
		}
		zIn++;
	}
	return JX9_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
testl %esi, %esi
jle 0x54a91
movq %rdx, %r15
movq (%rdx), %rdi
testb $0x1, 0x8(%rdi)
jne 0x54aab
movq 0x8(%rbx), %rdi
callq 0x30465
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl %esi, %r12d
leaq -0x38(%rbp), %r13
movq %r13, %rsi
callq 0x30577
movq %rax, %r14
movslq (%r13), %r13
movl $0x1, %eax
cmpl $0x1, %r12d
je 0x54ae7
movq 0x8(%r15), %r15
movq %r15, %rdi
callq 0x3f362
movl (%r15), %eax
testl %eax, %eax
movl $0x1, %ecx
cmovnsl %eax, %ecx
movl %ecx, %eax
testl %r13d, %r13d
jle 0x54a9a
addq %r14, %r13
movl %eax, %ecx
andl $0x6, %ecx
movl %ecx, -0x2c(%rbp)
leaq 0x3e0b2(%rip), %r12     # 0x92bb0
andl $0x4, %eax
movl %eax, -0x30(%rbp)
leaq -0x34(%rbp), %r15
movsbl (%r14), %ecx
movl %ecx, -0x34(%rbp)
movq $-0x2, %rax
movq 0x18(%r12,%rax,8), %rdx
cmpb (%rdx), %cl
je 0x54b2b
addq $0x2, %rax
cmpq $0x26, %rax
jb 0x54b16
jmp 0x54b41
cmpb $0x22, %cl
jne 0x54b36
cmpl $0x0, -0x30(%rbp)
jne 0x54b41
cmpb $0x27, %cl
jne 0x54b5f
cmpl $0x2, -0x2c(%rbp)
je 0x54b5f
movq 0x8(%rbx), %rdi
movq %r15, %rsi
movl $0x1, %edx
callq 0x302f6
incq %r14
cmpq %r13, %r14
jb 0x54b08
jmp 0x54a9a
movq 0x10(%r12,%rax,8), %rsi
movq 0x8(%rbx), %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
jmp 0x54b4d
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9Builtin_strlen
static int jx9Builtin_strlen(jx9_context *pCtx, int nArg, jx9_value **apArg)
{
	int iLen = 0;
	if( nArg > 0 ){
		jx9_value_to_string(apArg[0], &iLen);
	}
	/* String length */
	jx9_result_int(pCtx, iLen);
	return JX9_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movl $0x0, -0x14(%rbp)
testl %esi, %esi
jle 0x54d7a
movq (%rdx), %rdi
leaq -0x14(%rbp), %r14
movq %r14, %rsi
callq 0x30577
movslq (%r14), %r14
jmp 0x54d7d
xorl %r14d, %r14d
movq 0x8(%rbx), %rbx
movq %rbx, %rdi
callq 0x30465
movq %r14, (%rbx)
movl $0xfffffe90, %eax       # imm = 0xFFFFFE90
andl 0x8(%rbx), %eax
orl $0x2, %eax
movl %eax, 0x8(%rbx)
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9Builtin_strcmp
static int jx9Builtin_strcmp(jx9_context *pCtx, int nArg, jx9_value **apArg)
{
	const char *z1, *z2;
	int n1, n2;
	int res;
	if( nArg < 2 ){
		res = nArg == 0 ? 0 : 1;
		jx9_result_int(pCtx, res);
		return JX9_OK;
	}
	/* Perform the comparison */
	z1 = jx9_value_to_string(apArg[0], &n1);
	z2 = jx9_value_to_string(apArg[1], &n2);
	res = SyStrncmp(z1, z2, (sxu32)(SXMAX(n1, n2)));
	/* Comparison result */
	jx9_result_int(pCtx, res);
	return JX9_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
cmpl $0x1, %esi
jg 0x54dd6
xorl %r14d, %r14d
testl %esi, %esi
setne %r14b
movq 0x8(%rbx), %rbx
movq %rbx, %rdi
callq 0x30465
movq %r14, (%rbx)
jmp 0x54e26
movq %rdx, %r14
movq (%rdx), %rdi
leaq -0x28(%rbp), %r15
movq %r15, %rsi
callq 0x30577
movq %rax, %r12
movq 0x8(%r14), %rdi
leaq -0x24(%rbp), %r14
movq %r14, %rsi
callq 0x30577
movl (%r15), %ecx
movl (%r14), %edx
cmpl %edx, %ecx
cmovgl %ecx, %edx
movq %r12, %rdi
movq %rax, %rsi
callq 0x59d90
movl %eax, %r14d
movq 0x8(%rbx), %rbx
movq %rbx, %rdi
callq 0x30465
movslq %r14d, %rax
movq %rax, (%rbx)
movl $0xfffffe90, %eax       # imm = 0xFFFFFE90
andl 0x8(%rbx), %eax
orl $0x2, %eax
movl %eax, 0x8(%rbx)
xorl %eax, %eax
addq $0x10, %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: jx9Builtin_strncmp
static int jx9Builtin_strncmp(jx9_context *pCtx, int nArg, jx9_value **apArg)
{
	const char *z1, *z2;
	int res;
	int n;
	if( nArg < 3 ){
		/* Perform a standard comparison */
		return jx9Builtin_strcmp(pCtx, nArg, apArg);
	}
	/* Desired comparison length */
	n  = jx9_value_to_int(apArg[2]);
	if( n < 0 ){
		/* Invalid length */
		jx9_result_int(pCtx, -1);
		return JX9_OK;
	}
	/* Perform the comparison */
	z1 = jx9_value_to_string(apArg[0], 0);
	z2 = jx9_value_to_string(apArg[1], 0);
	res = SyStrncmp(z1, z2, (sxu32)n);
	/* Comparison result */
	jx9_result_int(pCtx, res);
	return JX9_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdx, %r14
movq %rdi, %rbx
cmpl $0x2, %esi
jg 0x54e66
movq %rbx, %rdi
movq %r14, %rdx
callq 0x54da5
jmp 0x54ed8
movq 0x10(%r14), %r15
movq %r15, %rdi
callq 0x3f362
movl (%r15), %r15d
testl %r15d, %r15d
js 0x54eb7
movq (%r14), %rdi
xorl %esi, %esi
callq 0x30577
movq %rax, %r12
movq 0x8(%r14), %rdi
xorl %esi, %esi
callq 0x30577
movq %r12, %rdi
movq %rax, %rsi
movl %r15d, %edx
callq 0x59d90
movl %eax, %r14d
movq 0x8(%rbx), %rbx
movq %rbx, %rdi
callq 0x30465
movslq %r14d, %rax
movq %rax, (%rbx)
jmp 0x54eca
movq 0x8(%rbx), %rbx
movq %rbx, %rdi
callq 0x30465
movq $-0x1, (%rbx)
movl $0xfffffe90, %eax       # imm = 0xFFFFFE90
andl 0x8(%rbx), %eax
orl $0x2, %eax
movl %eax, 0x8(%rbx)
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9Builtin_strcasecmp
static int jx9Builtin_strcasecmp(jx9_context *pCtx, int nArg, jx9_value **apArg)
{
	const char *z1, *z2;
	int n1, n2;
	int res;
	if( nArg < 2 ){
		res = nArg == 0 ? 0 : 1;
		jx9_result_int(pCtx, res);
		return JX9_OK;
	}
	/* Perform the comparison */
	z1 = jx9_value_to_string(apArg[0], &n1);
	z2 = jx9_value_to_string(apArg[1], &n2);
	res = SyStrnicmp(z1, z2, (sxu32)(SXMAX(n1, n2)));
	/* Comparison result */
	jx9_result_int(pCtx, res);
	return JX9_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
cmpl $0x1, %esi
jg 0x54f14
xorl %r14d, %r14d
testl %esi, %esi
setne %r14b
movq 0x8(%rbx), %rbx
movq %rbx, %rdi
callq 0x30465
movq %r14, (%rbx)
jmp 0x54f64
movq %rdx, %r14
movq (%rdx), %rdi
leaq -0x28(%rbp), %r15
movq %r15, %rsi
callq 0x30577
movq %rax, %r12
movq 0x8(%r14), %rdi
leaq -0x24(%rbp), %r14
movq %r14, %rsi
callq 0x30577
movl (%r15), %ecx
movl (%r14), %edx
cmpl %edx, %ecx
cmovgl %ecx, %edx
movq %r12, %rdi
movq %rax, %rsi
callq 0x39f3f
movl %eax, %r14d
movq 0x8(%rbx), %rbx
movq %rbx, %rdi
callq 0x30465
movslq %r14d, %rax
movq %rax, (%rbx)
movl $0xfffffe90, %eax       # imm = 0xFFFFFE90
andl 0x8(%rbx), %eax
orl $0x2, %eax
movl %eax, 0x8(%rbx)
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq