// File: /workspace/github_c_makefile_star2_O2/coyove[P]chann/./lib/unqlite/unqlite.c
// Function: jx9VmConfigure
JX9_PRIVATE sxi32 jx9VmConfigure(
	jx9_vm *pVm, /* Target VM */
	sxi32 nOp,   /* Configuration verb */
	va_list ap   /* Subsequent option arguments */
	)
{
	sxi32 rc = SXRET_OK;
	switch(nOp){
	case JX9_VM_CONFIG_OUTPUT: {
		ProcConsumer xConsumer = va_arg(ap, ProcConsumer);
		void *pUserData = va_arg(ap, void *);
		/* VM output consumer callback */
#ifdef UNTRUST
		if( xConsumer == 0 ){
			rc = SXERR_CORRUPT;
			break;
		}
#endif
		/* Install the output consumer */
		pVm->sVmConsumer.xConsumer = xConsumer;
		pVm->sVmConsumer.pUserData = pUserData;
		break;
							   }
	case JX9_VM_CONFIG_IMPORT_PATH: {
		/* Import path */
		  const char *zPath;
		  SyString sPath;
		  zPath = va_arg(ap, const char *);
#if defined(UNTRUST)
		  if( zPath == 0 ){
			  rc = SXERR_EMPTY;
			  break;
		  }
#endif
		  SyStringInitFromBuf(&sPath, zPath, SyStrlen(zPath));
		  /* Remove trailing slashes and backslashes */
#ifdef __WINNT__
		  SyStringTrimTrailingChar(&sPath, '\\');
#endif
		  SyStringTrimTrailingChar(&sPath, '/');
		  /* Remove leading and trailing white spaces */
		  SyStringFullTrim(&sPath);
		  if( sPath.nByte > 0 ){
			  /* Store the path in the corresponding conatiner */
			  rc = SySetPut(&pVm->aPaths, (const void *)&sPath);
		  }
		  break;
									 }
	case JX9_VM_CONFIG_ERR_REPORT:
		/* Run-Time Error report */
		pVm->bErrReport = 1;
		break;
	case JX9_VM_CONFIG_RECURSION_DEPTH:{
		/* Recursion depth */
		int nDepth = va_arg(ap, int);
		if( nDepth > 2 && nDepth < 1024 ){
			pVm->nMaxDepth = nDepth;
		}
		break;
									   }
	case JX9_VM_OUTPUT_LENGTH: {
		/* VM output length in bytes */
		sxu32 *pOut = va_arg(ap, sxu32 *);
#ifdef UNTRUST
		if( pOut == 0 ){
			rc = SXERR_CORRUPT;
			break;
		}
#endif
		*pOut = pVm->nOutputLen;
		break;
							   }
	case JX9_VM_CONFIG_CREATE_VAR: {
		/* Create a new superglobal/global variable */
		const char *zName = va_arg(ap, const char *);
		jx9_value *pValue = va_arg(ap, jx9_value *);
		SyHashEntry *pEntry;
		jx9_value *pObj;
		sxu32 nByte;
		sxu32 nIdx; 
#ifdef UNTRUST
		if( SX_EMPTY_STR(zName) || pValue == 0 ){
			rc = SXERR_CORRUPT;
			break;
		}
#endif
		nByte = SyStrlen(zName);
		/* Check if the superglobal is already installed */
		pEntry = SyHashGet(&pVm->hSuper, (const void *)zName, nByte);
		if( pEntry ){
			/* Variable already installed */
			nIdx = SX_PTR_TO_INT(pEntry->pUserData);
			/* Extract contents */
			pObj = (jx9_value *)SySetAt(&pVm->aMemObj, nIdx);
			if( pObj ){
				/* Overwrite old contents */
				jx9MemObjStore(pValue, pObj);
			}
		}else{
			/* Install a new variable */
			pObj = jx9VmReserveMemObj(&(*pVm),&nIdx);
			if( pObj == 0 ){
				rc = SXERR_MEM;
				break;
			}
			/* Copy value */
			jx9MemObjStore(pValue, pObj);
			/* Install the superglobal */
			rc = SyHashInsert(&pVm->hSuper, (const void *)zName, nByte, SX_INT_TO_PTR(nIdx));
		}
		break;
									}
	case JX9_VM_CONFIG_SERVER_ATTR:
	case JX9_VM_CONFIG_ENV_ATTR:  {
		const char *zKey   = va_arg(ap, const char *);
		const char *zValue = va_arg(ap, const char *);
		int nLen = va_arg(ap, int);
		jx9_hashmap *pMap;
		jx9_value *pValue;
		if( nOp == JX9_VM_CONFIG_ENV_ATTR ){
			/* Extract the $_ENV superglobal */
			pValue = VmExtractSuper(&(*pVm), "_ENV", sizeof("_ENV")-1);
		}else{
			/* Extract the $_SERVER superglobal */
			pValue = VmExtractSuper(&(*pVm), "_SERVER", sizeof("_SERVER")-1);
		}
		if( pValue == 0 || (pValue->iFlags & MEMOBJ_HASHMAP) == 0 ){
			/* No such entry */
			rc = SXERR_NOTFOUND;
			break;
		}
		/* Point to the hashmap */
		pMap = (jx9_hashmap *)pValue->x.pOther;
		/* Perform the insertion */
		rc = VmHashmapInsert(pMap, zKey, -1, zValue, nLen);
		break;
								   }
	case JX9_VM_CONFIG_ARGV_ENTRY:{
		/* Script arguments */
		const char *zValue = va_arg(ap, const char *);
		jx9_hashmap *pMap;
		jx9_value *pValue;
		/* Extract the $argv array */
		pValue = VmExtractSuper(&(*pVm), "argv", sizeof("argv")-1);
		if( pValue == 0 || (pValue->iFlags & MEMOBJ_HASHMAP) == 0 ){
			/* No such entry */
			rc = SXERR_NOTFOUND;
			break;
		}
		/* Point to the hashmap */
		pMap = (jx9_hashmap *)pValue->x.pOther;
		/* Perform the insertion */
		rc = VmHashmapInsert(pMap, 0, 0, zValue,-1);
		if( rc == SXRET_OK && zValue && zValue[0] != 0 ){
			if( pMap->nEntry > 1 ){
				/* Append space separator first */
				SyBlobAppend(&pVm->sArgv, (const void *)" ", sizeof(char));
			}
			SyBlobAppend(&pVm->sArgv, (const void *)zValue,SyStrlen(zValue));
		}
		break;
								  }
	case JX9_VM_CONFIG_EXEC_VALUE: {
		/* Script return value */
		jx9_value **ppValue = va_arg(ap, jx9_value **);
#ifdef UNTRUST
		if( ppValue == 0 ){
			rc = SXERR_CORRUPT;
			break;
		}
#endif
		*ppValue = &pVm->sExec;
		break;
								   }
	case JX9_VM_CONFIG_IO_STREAM: {
		/* Register an IO stream device */
		const jx9_io_stream *pStream = va_arg(ap, const jx9_io_stream *);
		/* Make sure we are dealing with a valid IO stream */
		if( pStream == 0 || pStream->zName == 0 || pStream->zName[0] == 0 ||
			pStream->xOpen == 0 || pStream->xRead == 0 ){
				/* Invalid stream */
				rc = SXERR_INVALID;
				break;
		}
		if( pVm->pDefStream == 0 && SyStrnicmp(pStream->zName, "file", sizeof("file")-1) == 0 ){
			/* Make the 'file://' stream the defaut stream device */
			pVm->pDefStream = pStream;
		}
		/* Insert in the appropriate container */
		rc = SySetPut(&pVm->aIOstream, (const void *)&pStream);
		break;
								  }
	case JX9_VM_CONFIG_EXTRACT_OUTPUT: {
		/* Point to the VM internal output consumer buffer */
		const void **ppOut = va_arg(ap, const void **);
		unsigned int *pLen = va_arg(ap, unsigned int *);
#ifdef UNTRUST
		if( ppOut == 0 || pLen == 0 ){
			rc = SXERR_CORRUPT;
			break;
		}
#endif
		*ppOut = SyBlobData(&pVm->sConsumer);
		*pLen  = SyBlobLength(&pVm->sConsumer);
		break;
									   }
	case JX9_VM_CONFIG_HTTP_REQUEST:{
		/* Raw HTTP request*/
		const char *zRequest = va_arg(ap, const char *);
		int nByte = va_arg(ap, int);
		if( SX_EMPTY_STR(zRequest) ){
			rc = SXERR_EMPTY;
			break;
		}
		if( nByte < 0 ){
			/* Compute length automatically */
			nByte = (int)SyStrlen(zRequest);
		}
		/* Process the request */
		rc = VmHttpProcessRequest(&(*pVm), zRequest, nByte);
		break;
									}
	default:
		/* Unknown configuration option */
		rc = SXERR_UNKNOWN;
		break;
	}
	return rc;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x158, %rsp            # imm = 0x158
leal -0x1(%rsi), %eax
cmpl $0xc, %eax
ja 0x3c40a
movq %rdi, %rbx
leaq 0x264ba(%rip), %rcx     # 0x62700
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl (%rdx), %eax
cmpq $0x29, %rax
jae 0x3c433
movq 0x10(%rdx), %rcx
leal 0x8(%rax), %edi
movl %edi, (%rdx)
movq (%rcx,%rax), %r15
cmpl $0x21, %eax
jae 0x3c442
movq 0x10(%rdx), %rdi
movq %rax, %rcx
addq $0x10, %rcx
movl %ecx, (%rdx)
movq 0x8(%rdi,%rax), %r12
cmpl $0x18, %eax
ja 0x3c451
addq 0x10(%rdx), %rcx
addl $0x18, %eax
movl %eax, (%rdx)
jmp 0x3c45d
movl (%rdx), %ecx
cmpq $0x28, %rcx
ja 0x3c4be
movq %rcx, %rax
addq 0x10(%rdx), %rax
addl $0x8, %ecx
movl %ecx, (%rdx)
jmp 0x3c4ca
movl (%rdx), %ecx
cmpq $0x28, %rcx
ja 0x3c572
movq %rcx, %rax
addq 0x10(%rdx), %rax
addl $0x8, %ecx
movl %ecx, (%rdx)
jmp 0x3c57e
movl (%rdx), %esi
cmpq $0x29, %rsi
jae 0x3c58e
movq 0x10(%rdx), %rax
movq %rsi, %rcx
addq $0x8, %rcx
movl %ecx, (%rdx)
movq (%rax,%rsi), %rax
cmpl $0x20, %esi
ja 0x3c59d
addq 0x10(%rdx), %rcx
addl $0x10, %esi
movl %esi, (%rdx)
jmp 0x3c5a9
movl (%rdx), %ecx
cmpq $0x28, %rcx
ja 0x3c5c0
movq %rcx, %rax
addq 0x10(%rdx), %rax
addl $0x8, %ecx
movl %ecx, (%rdx)
jmp 0x3c5cc
movl $0x1, 0x4e8(%rbx)
jmp 0x3c62b
movl (%rdx), %ecx
cmpq $0x28, %rcx
ja 0x3c5db
movq %rcx, %rax
addq 0x10(%rdx), %rax
addl $0x8, %ecx
movl %ecx, (%rdx)
jmp 0x3c5e7
movl (%rdx), %esi
cmpq $0x29, %rsi
jae 0x3c5ff
movq 0x10(%rdx), %rax
movq %rsi, %rcx
addq $0x8, %rcx
movl %ecx, (%rdx)
movq (%rax,%rsi), %rax
cmpl $0x20, %esi
ja 0x3c60e
addq 0x10(%rdx), %rcx
addl $0x10, %esi
movl %esi, (%rdx)
jmp 0x3c61a
movl (%rdx), %ecx
cmpq $0x28, %rcx
ja 0x3c643
movq %rcx, %rax
addq 0x10(%rdx), %rax
addl $0x8, %ecx
movl %ecx, (%rdx)
jmp 0x3c64f
movl (%rdx), %ecx
cmpq $0x29, %rcx
jae 0x3c6ff
movq 0x10(%rdx), %rsi
movq %rcx, %rax
addq $0x8, %rax
movl %eax, (%rdx)
movq (%rsi,%rcx), %r14
cmpl $0x20, %ecx
ja 0x3c70e
addq 0x10(%rdx), %rax
addl $0x10, %ecx
movl %ecx, (%rdx)
jmp 0x3c71a
movl (%rdx), %ecx
cmpq $0x29, %rcx
jae 0x3c77e
movq 0x10(%rdx), %rsi
movq %rcx, %rax
addq $0x8, %rax
movl %eax, (%rdx)
movq (%rsi,%rcx), %rsi
cmpl $0x20, %ecx
ja 0x3c78d
addq 0x10(%rdx), %rax
addl $0x10, %ecx
movl %ecx, (%rdx)
jmp 0x3c799
pushq $-0xd
popq %r14
jmp 0x3c62e
movl (%rdx), %ecx
movq %rbx, %rsi
cmpq $0x28, %rcx
ja 0x3c85e
movq %rcx, %rax
addq 0x10(%rdx), %rax
addl $0x8, %ecx
movl %ecx, (%rdx)
jmp 0x3c86a
movq 0x8(%rdx), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdx)
movq (%rax), %r15
movq 0x8(%rdx), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdx)
movq (%rax), %r12
movq 0x8(%rdx), %rcx
leaq 0x8(%rcx), %rax
movq %rax, 0x8(%rdx)
movl (%rcx), %r13d
cmpl $0x9, %esi
jne 0x3c470
leaq 0x2833c(%rip), %rsi     # 0x647a8
pushq $0x4
jmp 0x3c479
leaq 0x28336(%rip), %rsi     # 0x647ad
pushq $0x7
popq %rdx
movq %rbx, %rdi
callq 0x3d3ee
pushq $-0x6
popq %r14
testq %rax, %rax
je 0x3c62e
testb $0x40, 0x8(%rax)
je 0x3c62e
movq (%rax), %rdi
pushq $-0x1
popq %rdx
movq %r15, %rsi
movq %r12, %rcx
movl %r13d, %r8d
addq $0x158, %rsp            # imm = 0x158
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x3d42c
movq 0x8(%rdx), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdx)
movq (%rax), %r15
leaq 0x282e1(%rip), %rsi     # 0x647b5
pushq $0x4
popq %rdx
movq %rbx, %rdi
callq 0x3d3ee
pushq $-0x6
popq %r14
testq %rax, %rax
je 0x3c62e
testb $0x40, 0x8(%rax)
je 0x3c62e
movq %rbx, %r12
movq (%rax), %rbx
pushq $-0x1
popq %r8
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
movq %r15, %rcx
callq 0x3d42c
movl %eax, %r14d
testl %eax, %eax
sete %al
testq %r15, %r15
setne %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0x3c62e
cmpb $0x0, (%r15)
je 0x3c62b
cmpl $0x2, 0x2c(%rbx)
movq %r12, %rbx
jb 0x3c551
leaq 0x3c8(%rbx), %rdi
leaq 0x2b5b8(%rip), %rsi     # 0x67b01
pushq $0x1
popq %rdx
callq 0x2e250
addq $0x3c8, %rbx            # imm = 0x3C8
movq %r15, %rdi
callq 0x28e24
movq %rbx, %rdi
movq %r15, %rsi
movl %eax, %edx
callq 0x2e250
jmp 0x3c62b
movq 0x8(%rdx), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdx)
movq (%rax), %rax
movl 0x4f4(%rbx), %ecx
movl %ecx, (%rax)
jmp 0x3c62b
movq 0x8(%rdx), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdx)
movq (%rax), %rax
movq 0x8(%rdx), %rcx
leaq 0x8(%rcx), %rsi
movq %rsi, 0x8(%rdx)
movq (%rcx), %rcx
movq 0x390(%rbx), %rdx
movq %rdx, (%rax)
movl 0x398(%rbx), %eax
movl %eax, (%rcx)
jmp 0x3c62b
movq 0x8(%rdx), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdx)
movq (%rax), %rax
addq $0x490, %rbx            # imm = 0x490
movq %rbx, (%rax)
jmp 0x3c62b
movq 0x8(%rdx), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdx)
movl (%rax), %eax
leal -0x3(%rax), %ecx
xorl %r14d, %r14d
cmpl $0x3fc, %ecx            # imm = 0x3FC
ja 0x3c62e
movl %eax, 0x4f0(%rbx)
jmp 0x3c62e
movq 0x8(%rdx), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdx)
movq (%rax), %rax
movq 0x8(%rdx), %rcx
leaq 0x8(%rcx), %rsi
movq %rsi, 0x8(%rdx)
movq (%rcx), %rcx
movq %rax, 0x4f8(%rbx)
movq %rcx, 0x500(%rbx)
xorl %r14d, %r14d
movl %r14d, %eax
addq $0x158, %rsp            # imm = 0x158
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x8(%rdx), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdx)
movq (%rax), %r14
movq %r14, %rdi
callq 0x28e24
movl %eax, %ecx
incl %eax
movq %rcx, %rdx
subq $0x1, %rdx
jb 0x3c676
decl %eax
cmpb $0x2f, -0x1(%r14,%rcx)
movq %rdx, %rcx
je 0x3c661
jmp 0x3c678
xorl %eax, %eax
movq %rbx, %r13
movl %eax, %ebx
leaq (%r14,%rbx), %r15
testl %ebx, %ebx
je 0x3c6aa
movsbq (%r14), %r12
cmpq $-0x41, %r12
ja 0x3c6a7
callq 0xc190
movq (%rax), %rax
testb $0x20, 0x1(%rax,%r12,2)
je 0x3c6a7
incq %r14
decq %rbx
jmp 0x3c681
movq %r14, %r15
movq %r15, -0x180(%rbp)
movl %ebx, -0x178(%rbp)
movq %rbx, %r14
subq $0x1, %rbx
jb 0x3c62b
movsbq -0x1(%r15,%r14), %r12
cmpq $-0x41, %r12
ja 0x3c6e0
callq 0xc190
movq (%rax), %rax
testb $0x20, 0x1(%rax,%r12,2)
jne 0x3c6b7
leaq -0x180(%rbp), %rsi
movl %r14d, 0x8(%rsi)
movq %r13, %rdi
addq $0x410, %rdi            # imm = 0x410
callq 0x2be00
jmp 0x3c91c
movq 0x8(%rdx), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdx)
movq (%rax), %r14
movq 0x8(%rdx), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdx)
movq (%rax), %r15
movq %r14, %rdi
callq 0x28e24
movl %eax, %r12d
leaq 0x348(%rbx), %r13
movq %r13, %rdi
movq %r14, %rsi
movl %eax, %edx
callq 0x3ae09
testq %rax, %rax
je 0x3c8e9
movl 0x10(%rax), %eax
xorl %r14d, %r14d
cmpl %eax, 0x218(%rbx)
jbe 0x3c62e
movq 0x210(%rbx), %rsi
testq %rsi, %rsi
je 0x3c62e
imull 0x220(%rbx), %eax
addq %rax, %rsi
movq %r15, %rdi
callq 0x35ceb
jmp 0x3c62e
movq 0x8(%rdx), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdx)
movq (%rax), %rsi
movq 0x8(%rdx), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdx)
pushq $-0x3
popq %r14
testq %rsi, %rsi
je 0x3c62e
movq %rbx, -0x40(%rbp)
cmpb $0x0, (%rsi)
je 0x3c62e
movl (%rax), %r14d
testl %r14d, %r14d
jns 0x3c7cc
movq %rsi, %rbx
movq %rsi, %rdi
callq 0x28e24
movq %rbx, %rsi
movl %eax, %r14d
andl $0x0, -0x5c(%rbp)
andl $0x0, -0x60(%rbp)
movq $0x20, -0x58(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0x70(%rbp)
andq $0x0, -0x68(%rbp)
andq $0x0, -0x50(%rbp)
pushq $-0x1
popq %rbx
movq %rsi, -0x80(%rbp)
xorps %xmm0, %xmm0
movups %xmm0, -0x98(%rbp)
movq %rax, -0xa0(%rbp)
andl $0x0, -0x88(%rbp)
movl %r14d, -0x78(%rbp)
movl %r14d, %r12d
addq %rsi, %r12
movl %r14d, %r13d
subl $0x1, %r13d
jb 0x3c932
movl %r14d, -0x30(%rbp)
movsbq (%rsi), %r14
cmpq $-0x41, %r14
ja 0x3c92b
movq %r12, %r15
movq %rsi, %r12
callq 0xc190
movq (%rax), %rax
testb $0x20, 0x1(%rax,%r14,2)
je 0x3c92e
movq %r12, %rsi
incq %rsi
movl %r13d, %r14d
movq %r15, %r12
jmp 0x3c81a
movq 0x8(%rdx), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdx)
movq (%rax), %rbx
movq %rbx, -0x180(%rbp)
pushq $-0x9
popq %r14
testq %rbx, %rbx
je 0x3c62e
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x3c62e
cmpb $0x0, (%rdi)
je 0x3c62e
cmpq $0x0, 0x10(%rbx)
je 0x3c62e
cmpq $0x0, 0x30(%rbx)
je 0x3c62e
movq %rsi, %r14
cmpq $0x0, 0x488(%rsi)
jne 0x3c8d3
leaq 0x2736d(%rip), %rsi     # 0x63c2d
pushq $0x4
popq %rdx
callq 0x32436
testl %eax, %eax
jne 0x3c8d3
movq %rbx, 0x488(%r14)
addq $0x460, %r14            # imm = 0x460
leaq -0x180(%rbp), %rsi
movq %r14, %rdi
jmp 0x3c6f5
leaq -0x180(%rbp), %rsi
movq %rbx, %rdi
callq 0x37337
testq %rax, %rax
je 0x3c924
movq %r15, %rdi
movq %rax, %rsi
callq 0x35ceb
movl -0x180(%rbp), %ecx
movq %r13, %rdi
movq %r14, %rsi
movl %r12d, %edx
callq 0x3b67d
movl %eax, %r14d
jmp 0x3c62e
pushq $-0x1
jmp 0x3c40c
movq %rsi, %r12
movl -0x30(%rbp), %r14d
movq %r12, -0x80(%rbp)
movl %r14d, -0x78(%rbp)
movl %r14d, %eax
movq %rax, %r15
subq $0x1, %r15
jb 0x3c96c
movsbq -0x1(%r12,%rax), %r13
cmpq $-0x41, %r13
ja 0x3c971
callq 0xc190
movq (%rax), %rax
incl %ebx
testb $0x20, 0x1(%rax,%r13,2)
movq %r15, %rax
jne 0x3c940
subl %ebx, %r14d
jmp 0x3c974
xorl %r14d, %r14d
jmp 0x3c974
movl %eax, %r14d
leaq -0x80(%rbp), %rdi
movl %r14d, 0x8(%rdi)
leaq -0xc0(%rbp), %rsi
callq 0x3da8b
movl %eax, %r14d
testl %eax, %eax
jne 0x3c62e
movl -0xb8(%rbp), %ebx
testq %rbx, %rbx
je 0x3cb15
movq -0xc0(%rbp), %r15
addq %r15, %rbx
cmpq %rbx, %r15
jae 0x3c9d0
movsbq (%r15), %r14
cmpq $-0x41, %r14
ja 0x3c9d0
callq 0xc190
movq (%rax), %rax
testb $0x20, 0x1(%rax,%r14,2)
je 0x3c9d0
incq %r15
jmp 0x3c9ac
xorl %r12d, %r12d
leaq (%r15,%r12), %r14
cmpq %rbx, %r14
jae 0x3c9f4
callq 0xc190
movq (%rax), %rax
movsbq (%r14), %rcx
testb $0x20, 0x1(%rax,%rcx,2)
jne 0x3c9f4
incq %r12
jmp 0x3c9d3
pushq $0x5
popq %rax
movl %eax, -0x34(%rbp)
cmpq %r15, %r14
jbe 0x3ca39
xorl %r13d, %r13d
cmpq $0x10, %r13
je 0x3ca39
leaq 0x26255(%rip), %rax     # 0x62c64
movslq (%r13,%rax), %rdi
addq %rax, %rdi
movq %r15, %rsi
movl %r12d, %edx
callq 0x32436
addq $0x4, %r13
testl %eax, %eax
jne 0x3ca02
leaq 0x26c0f(%rip), %rax     # 0x63640
movl -0x4(%r13,%rax), %eax
movl %eax, -0x34(%rbp)
cmpq %rbx, %r14
jae 0x3ca5d
movsbq (%r14), %r15
cmpq $-0x41, %r15
ja 0x3ca5d
callq 0xc190
movq (%rax), %rax
testb $0x20, 0x1(%rax,%r15,2)
je 0x3ca5d
incq %r14
jmp 0x3ca39
xorl %r12d, %r12d
leaq (%r14,%r12), %r15
cmpq %rbx, %r15
jae 0x3ca81
callq 0xc190
movq (%rax), %rax
movsbq (%r15), %rcx
testb $0x20, 0x1(%rax,%rcx,2)
jne 0x3ca81
incq %r12
jmp 0x3ca60
cmpq %r14, %r15
jbe 0x3ca98
leaq -0x180(%rbp), %rdi
movq %r14, %rsi
movl %r12d, %edx
callq 0x3db7b
cmpq %rbx, %r15
jae 0x3cabc
movsbq (%r15), %r14
cmpq $-0x41, %r14
ja 0x3cabc
callq 0xc190
movq (%rax), %rax
testb $0x20, 0x1(%rax,%r14,2)
je 0x3cabc
incq %r15
jmp 0x3ca98
xorl %r14d, %r14d
leaq (%r15,%r14), %r12
cmpq %rbx, %r12
jae 0x3cae1
callq 0xc190
movq (%rax), %rax
movsbq (%r12), %rcx
testb $0x20, 0x1(%rax,%rcx,2)
jne 0x3cae1
incq %r14
jmp 0x3cabf
cmpq %r15, %r12
jbe 0x3cb1c
leaq 0x27e70(%rip), %rsi     # 0x6495d
movq %r15, %rdi
movl %r14d, %edx
callq 0x32436
testl %eax, %eax
leaq 0x27cc9(%rip), %rax     # 0x647ca
leaq 0x2c3d6(%rip), %rcx     # 0x68ede
cmoveq %rax, %rcx
movq %rcx, -0xd8(%rbp)
jmp 0x3cb2a
pushq $-0x3
jmp 0x3c40c
leaq 0x2c3bb(%rip), %rax     # 0x68ede
movq %rax, -0xd8(%rbp)
movl -0x34(%rbp), %r14d
xorl %ebx, %ebx
leaq -0xc0(%rbp), %r12
pushq $0x20
popq %r15
movq %r12, %rdi
movl %r15d, %esi
callq 0x27aea
leaq -0x80(%rbp), %rdi
leaq -0xf0(%rbp), %rsi
callq 0x3da8b
movl %eax, -0x30(%rbp)
testl %eax, %eax
setne %al
movl -0xe8(%rbp), %edx
testl %edx, %edx
sete %cl
testb %cl, %al
jne 0x3cdd3
movl %edx, -0x48(%rbp)
testl %edx, %edx
je 0x3cdc2
movq -0xf0(%rbp), %r13
testq %rbx, %rbx
je 0x3cc24
movzbl -0x1(%r13), %eax
cmpl $0x20, %eax
je 0x3cb9f
cmpl $0x9, %eax
jne 0x3cc24
movl -0x48(%rbp), %eax
movq %rax, -0xc8(%rbp)
movl 0x18(%rbx), %r15d
testl %r15d, %r15d
je 0x3cbe4
movq 0x10(%rbx), %r14
movsbq (%r14), %r12
cmpq $-0x41, %r12
ja 0x3cbe4
callq 0xc190
movq (%rax), %rax
testb $0x20, 0x1(%rax,%r12,2)
je 0x3cbe4
decq %r15
movl %r15d, 0x18(%rbx)
incq %r14
movq %r14, 0x10(%rbx)
jmp 0x3cbad
movl %r15d, 0x18(%rbx)
testq %r15, %r15
je 0x3cda9
movq 0x10(%rbx), %r12
decq %r15
movl %r15d, %eax
movsbq (%r12,%rax), %r14
cmpq $-0x41, %r14
ja 0x3cc12
callq 0xc190
movq (%rax), %rax
testb $0x20, 0x1(%rax,%r14,2)
jne 0x3cbe0
addl -0xc8(%rbp), %r13d
subl %r12d, %r13d
movl %r13d, %eax
jmp 0x3cdb0
movq %r13, %rdi
movl -0x48(%rbp), %esi
pushq $0x3a
popq %rdx
leaq -0xcc(%rbp), %rcx
callq 0x3df83
testl %eax, %eax
jne 0x3cdc2
movq %r13, -0xc0(%rbp)
movl -0xcc(%rbp), %r15d
movl %r15d, -0xb8(%rbp)
leaq 0x1(%r13), %rbx
movq %r15, -0xe0(%rbp)
testl %r15d, %r15d
je 0x3cc97
movsbq -0x1(%rbx), %r14
cmpq $-0x41, %r14
ja 0x3cc97
callq 0xc190
movq (%rax), %rax
testb $0x20, 0x1(%rax,%r14,2)
je 0x3cc97
decq %r15
movl %r15d, -0xb8(%rbp)
movq %rbx, -0xc0(%rbp)
incq %rbx
jmp 0x3cc61
movq %r13, -0xc8(%rbp)
pushq $-0x1
popq %r12
leaq (%r15,%r12), %r14
cmpq $-0x1, %r14
je 0x3ccd7
movl %r14d, %eax
movsbq -0x1(%rbx,%rax), %r13
cmpq $-0x41, %r13
ja 0x3ccd7
callq 0xc190
movq (%rax), %rax
testb $0x20, 0x1(%rax,%r13,2)
je 0x3ccd7
movl %r14d, -0xb8(%rbp)
decq %r12
jmp 0x3cca2
movq -0xe0(%rbp), %rdx
leal 0x1(%rdx), %eax
movq -0xc8(%rbp), %r12
addq %rax, %r12
movq %r12, -0xb0(%rbp)
movl %edx, %ebx
notl %ebx
movl -0x48(%rbp), %r15d
addl %r15d, %ebx
movl %ebx, -0xa8(%rbp)
subl %edx, %r15d
addl $-0x2, %r15d
testl %ebx, %ebx
je 0x3cd42
movsbq (%r12), %r14
cmpq $-0x41, %r14
ja 0x3cd42
callq 0xc190
movq (%rax), %rax
testb $0x20, 0x1(%rax,%r14,2)
je 0x3cd42
movl %r15d, -0xa8(%rbp)
incq %r12
movq %r12, -0xb0(%rbp)
decl %r15d
decq %rbx
jmp 0x3cd0a
xorl %r13d, %r13d
cmpq %r13, %rbx
je 0x3cd77
movl %r15d, %eax
movsbq (%r12,%rax), %r14
cmpq $-0x41, %r14
ja 0x3cd77
callq 0xc190
movq (%rax), %rax
testb $0x20, 0x1(%rax,%r14,2)
je 0x3cd77
movl %r15d, -0xa8(%rbp)
decl %r15d
incq %r13
jmp 0x3cd45
leaq -0x70(%rbp), %rdi
leaq -0xc0(%rbp), %r12
movq %r12, %rsi
callq 0x2be00
testl %eax, %eax
movl -0x34(%rbp), %r14d
pushq $0x20
popq %r15
jne 0x3cdd3
movl -0x60(%rbp), %ebx
testl %ebx, %ebx
je 0x3cdcf
decl %ebx
imull -0x58(%rbp), %ebx
addq -0x68(%rbp), %rbx
jmp 0x3cdc2
movq %r13, 0x10(%rbx)
movl -0x48(%rbp), %eax
movl %eax, 0x18(%rbx)
movl -0x34(%rbp), %r14d
pushq $0x20
popq %r15
leaq -0xc0(%rbp), %r12
movl -0x30(%rbp), %eax
testl %eax, %eax
je 0x3cb3b
jmp 0x3cdd3
xorl %ebx, %ebx
jmp 0x3cdc2
leaq 0x279e0(%rip), %rdx     # 0x647ba
pushq $0x8
popq %rsi
pushq $0x8
popq %r8
movq -0x40(%rbp), %rbx
movq %rbx, %rdi
movq -0xd8(%rbp), %rcx
xorl %eax, %eax
callq 0x3d4f8
cmpl $0x1, %r14d
je 0x3ce1a
cmpl $0x3, %r14d
je 0x3ce11
cmpl $0x4, %r14d
jne 0x3ce23
leaq 0x279d3(%rip), %rcx     # 0x647e2
jmp 0x3ce39
leaq 0x27b4f(%rip), %rcx     # 0x64967
jmp 0x3ce39
leaq 0x27b4c(%rip), %rcx     # 0x6496d
jmp 0x3ce39
cmpl $0x2, %r14d
leaq 0x279b8(%rip), %rax     # 0x647e6
leaq 0x279b6(%rip), %rcx     # 0x647eb
cmoveq %rax, %rcx
leaq 0x27993(%rip), %rdx     # 0x647d3
pushq $0x8
popq %rsi
pushq $-0x1
popq %r8
movq %rbx, %rdi
xorl %eax, %eax
callq 0x3d4f8
movl -0x148(%rbp), %r8d
testl %r8d, %r8d
je 0x3ce99
cmpl $0x1, %r14d
jne 0x3ce99
leaq -0x150(%rbp), %rbx
movq (%rbx), %rcx
leaq 0x2797d(%rip), %rdx     # 0x647f1
pushq $0x8
popq %rsi
movq -0x40(%rbp), %r14
movq %r14, %rdi
xorl %eax, %eax
callq 0x3d4f8
leaq -0xa0(%rbp), %rdx
movq %r14, %rdi
movq %rbx, %rsi
xorl %ecx, %ecx
callq 0x3d5fa
movq -0x100(%rbp), %rcx
movl -0xf8(%rbp), %r8d
leaq 0x27950(%rip), %rdx     # 0x647fe
pushq $0x8
popq %rbx
movq -0x40(%rbp), %r15
movq %r15, %rdi
movl %ebx, %esi
xorl %eax, %eax
callq 0x3d4f8
movq -0x160(%rbp), %rcx
movl -0x158(%rbp), %r8d
leaq 0x27939(%rip), %rdx     # 0x6480f
movq %r15, %rdi
movl %ebx, %esi
xorl %eax, %eax
callq 0x3d4f8
movq -0x160(%rbp), %rcx
movl -0x158(%rbp), %r8d
leaq 0x27913(%rip), %rdx     # 0x6480a
movq %r15, %rdi
movl %ebx, %esi
xorl %eax, %eax
callq 0x3d4f8
leaq 0x2790f(%rip), %rsi     # 0x64819
leaq -0x70(%rbp), %rdi
pushq $0x6
popq %rdx
callq 0x3d7ab
testq %rax, %rax
je 0x3cf36
movq (%rax), %rcx
movl 0x8(%rax), %r8d
leaq 0x278f7(%rip), %rdx     # 0x64820
pushq $0x8
popq %rsi
movq %r15, %rdi
xorl %eax, %eax
callq 0x3d4f8
leaq 0x278ef(%rip), %rsi     # 0x6482c
leaq -0x70(%rbp), %rdi
pushq $0xe
popq %rdx
callq 0x3d7ab
testq %rax, %rax
je 0x3cf69
movq (%rax), %rcx
movl 0x8(%rax), %r8d
leaq 0x278df(%rip), %rdx     # 0x6483b
pushq $0x8
popq %rsi
movq %r15, %rdi
xorl %eax, %eax
callq 0x3d4f8
leaq 0x278df(%rip), %rsi     # 0x6484f
leaq -0x70(%rbp), %rdi
pushq $0xf
popq %rdx
callq 0x3d7ab
testq %rax, %rax
je 0x3cf9c
movq (%rax), %rcx
movl 0x8(%rax), %r8d
leaq 0x278d0(%rip), %rdx     # 0x6485f
pushq $0x8
popq %rsi
movq %r15, %rdi
xorl %eax, %eax
callq 0x3d4f8
leaq 0x278d1(%rip), %rsi     # 0x64874
leaq -0x70(%rbp), %rdi
pushq $0xf
popq %rdx
callq 0x3d7ab
testq %rax, %rax
je 0x3cfcf
movq (%rax), %rcx
movl 0x8(%rax), %r8d
leaq 0x278c2(%rip), %rdx     # 0x64884
pushq $0x8
popq %rsi
movq %r15, %rdi
xorl %eax, %eax
callq 0x3d4f8
leaq 0x278c3(%rip), %rsi     # 0x64899
leaq -0x70(%rbp), %rdi
pushq $0xa
popq %rdx
callq 0x3d7ab
testq %rax, %rax
je 0x3d002
movq (%rax), %rcx
movl 0x8(%rax), %r8d
leaq 0x278af(%rip), %rdx     # 0x648a4
pushq $0x8
popq %rsi
movq %r15, %rdi
xorl %eax, %eax
callq 0x3d4f8
leaq 0x278ab(%rip), %rsi     # 0x648b4
leaq -0x70(%rbp), %rdi
pushq $0x4
popq %rdx
callq 0x3d7ab
testq %rax, %rax
je 0x3d035
movq (%rax), %rcx
movl 0x8(%rax), %r8d
leaq 0x27891(%rip), %rdx     # 0x648b9
pushq $0x8
popq %rsi
movq %r15, %rdi
xorl %eax, %eax
callq 0x3d4f8
leaq 0x27887(%rip), %rsi     # 0x648c3
leaq -0x70(%rbp), %rdi
pushq $0x7
popq %rdx
callq 0x3d7ab
testq %rax, %rax
je 0x3d068
movq (%rax), %rcx
movl 0x8(%rax), %r8d
leaq 0x27870(%rip), %rdx     # 0x648cb
pushq $0x8
popq %rsi
movq %r15, %rdi
xorl %eax, %eax
callq 0x3d4f8
leaq 0x27869(%rip), %rsi     # 0x648d8
leaq -0x70(%rbp), %rdi
pushq $0xa
popq %rdx
callq 0x3d7ab
testq %rax, %rax
je 0x3d09b
movq (%rax), %rcx
movl 0x8(%rax), %r8d
leaq 0x27855(%rip), %rdx     # 0x648e3
pushq $0x8
popq %rsi
movq %r15, %rdi
xorl %eax, %eax
callq 0x3d4f8
leaq 0x27851(%rip), %rsi     # 0x648f3
leaq -0x70(%rbp), %rdi
pushq $0xd
popq %rdx
callq 0x3d7ab
testq %rax, %rax
je 0x3d0f0
movq %rax, %rbx
movq (%rax), %rcx
movl 0x8(%rax), %r8d
leaq 0x2783d(%rip), %rdx     # 0x64901
pushq $0x8
popq %r14
movq %r15, %rdi
movl %r14d, %esi
xorl %eax, %eax
callq 0x3d4f8
movq (%rbx), %rcx
movl 0x8(%rbx), %r8d
leaq 0x2782e(%rip), %rdx     # 0x64911
movq %r15, %rdi
movl %r14d, %esi
xorl %eax, %eax
callq 0x3d4f8
leaq 0x27823(%rip), %rsi     # 0x6491a
pushq $0x7
popq %rdx
movq %r15, %rdi
callq 0x3d3ee
movq %rax, %r13
xorl %ebx, %ebx
movq %rax, -0x48(%rbp)
cmpl -0x60(%rbp), %ebx
jae 0x3d2b3
movl -0x58(%rbp), %r14d
imull %ebx, %r14d
incl %ebx
movq -0x68(%rbp), %r15
movl %ebx, -0x54(%rbp)
testq %r13, %r13
je 0x3d14d
testb $0x40, 0x8(%r13)
je 0x3d14d
movq (%r13), %rdi
movq (%r15,%r14), %rsi
movl 0x8(%r15,%r14), %edx
movq 0x10(%r15,%r14), %rcx
movl 0x18(%r15,%r14), %r8d
callq 0x3d42c
cmpl $0x6, 0x8(%r15,%r14)
jne 0x3d10b
movq (%r15,%r14), %rdi
leaq 0x23fd8(%rip), %rsi     # 0x61138
pushq $0x6
popq %rdx
callq 0x32436
testl %eax, %eax
jne 0x3d10b
movl 0x18(%r15,%r14), %r12d
testq %r12, %r12
je 0x3d10b
movq 0x10(%r15,%r14), %r15
movq -0x40(%rbp), %rdi
leaq 0x29445(%rip), %rsi     # 0x665cb
pushq $0x7
popq %rdx
callq 0x3d3ee
testq %rax, %rax
je 0x3d10b
testb $0x40, 0x8(%rax)
je 0x3d10b
movq %rax, -0x30(%rbp)
addq %r15, %r12
cmpq %r12, %r15
jae 0x3d2ab
callq 0xc190
movq (%rax), %rax
movsbq (%r15), %rcx
testb $0x20, 0x1(%rax,%rcx,2)
jne 0x3d207
andl $0x0, -0x90(%rbp)
movl -0x88(%rbp), %eax
testb $0x4, %al
je 0x3d1ed
andq $0x0, -0x98(%rbp)
andl $0x0, -0x8c(%rbp)
andl $-0x5, %eax
movl %eax, -0x88(%rbp)
pushq $-0x1
popq %r13
movq %r15, %r14
cmpq %r12, %r14
jae 0x3d20f
cmpb $0x3b, (%r14)
je 0x3d20f
incq %r14
incl %r13d
jmp 0x3d1f4
movq %r15, %r14
jmp 0x3d2a0
xorl %ebx, %ebx
leaq (%r15,%rbx), %rax
cmpq %r14, %rax
jae 0x3d227
cmpb $0x3d, (%rax)
je 0x3d227
incq %rbx
decl %r13d
jmp 0x3d211
movq %r15, %rdi
movl %ebx, %esi
leaq -0x9115(%rip), %rdx     # 0x3411e
leaq -0xa0(%rbp), %rcx
callq 0x3dff1
movl -0x90(%rbp), %edx
leaq (%r15,%rbx), %rdi
incq %rdi
cmpq %r14, %rdi
jae 0x3d284
movl %r13d, %esi
movq %rdx, %rbx
leaq -0x9140(%rip), %rdx     # 0x3411e
leaq -0xa0(%rbp), %rcx
callq 0x3dff1
movq %rbx, %rdx
movq -0x98(%rbp), %rsi
leaq (%rsi,%rbx), %rcx
movl -0x90(%rbp), %r8d
subl %edx, %r8d
jmp 0x3d290
xorl %r8d, %r8d
movq -0x98(%rbp), %rsi
xorl %ecx, %ecx
movq -0x48(%rbp), %r13
movq -0x30(%rbp), %rax
movq (%rax), %rdi
callq 0x3d42c
incq %r14
movq %r14, %r15
jmp 0x3d1a8
movl -0x54(%rbp), %ebx
jmp 0x3d10b
andl $0x0, -0x54(%rbp)
cmpl $0x3, -0x34(%rbp)
jne 0x3d2f0
leaq 0x24664(%rip), %rsi     # 0x61928
leaq -0x70(%rbp), %rdi
pushq $0xc
popq %rdx
callq 0x3d7ab
testq %rax, %rax
je 0x3d2f0
movl 0x8(%rax), %edx
cmpl $0x21, %edx
jb 0x3d2f0
movq (%rax), %rsi
leaq 0x2763b(%rip), %rdi     # 0x64922
callq 0x2d30e
testl %eax, %eax
je 0x3d30a
leaq -0x70(%rbp), %rdi
callq 0x31feb
leaq -0xa0(%rbp), %rdi
callq 0x2a72f
jmp 0x3c62b
leaq 0x27633(%rip), %rsi     # 0x64944
leaq -0x70(%rbp), %rdi
pushq $0xe
popq %rdx
callq 0x3d7ab
testq %rax, %rax
je 0x3d2f0
leaq -0xc0(%rbp), %rbx
andl $0x0, (%rbx)
movq (%rax), %rdi
movl 0x8(%rax), %esi
movq %rbx, %rdx
callq 0x3d82f
movl (%rbx), %eax
movl %eax, -0x30(%rbp)
testl %eax, %eax
jle 0x3d2f0
movl -0x78(%rbp), %r14d
movq -0x80(%rbp), %r12
movq %r14, %r15
addq %r12, %r15
movl %r14d, %r13d
subl $0x1, %r13d
jb 0x3d37f
movsbq (%r12), %rbx
cmpq $-0x41, %rbx
ja 0x3d37c
callq 0xc190
movq (%rax), %rax
testb $0x20, 0x1(%rax,%rbx,2)
je 0x3d37c
incq %r12
movl %r13d, %r14d
jmp 0x3d354
movq %r12, %r15
movq %r15, -0x80(%rbp)
movl %r14d, -0x78(%rbp)
movl %r14d, %eax
pushq $-0x1
popq %r12
movq %rax, %r13
subq $0x1, %r13
jb 0x3d3bd
movsbq -0x1(%r15,%rax), %rbx
cmpq $-0x41, %rbx
ja 0x3d3c2
callq 0xc190
movq (%rax), %rax
incl %r12d
testb $0x20, 0x1(%rax,%rbx,2)
movq %r13, %rax
jne 0x3d391
subl %r12d, %r14d
jmp 0x3d3c5
xorl %r14d, %r14d
jmp 0x3d3c5
movl %eax, %r14d
movq -0x40(%rbp), %rdi
movl -0x30(%rbp), %eax
cmpl %eax, %r14d
cmovll %r14d, %eax
leaq -0x80(%rbp), %rsi
movl %eax, 0x8(%rsi)
leaq -0xa0(%rbp), %rdx
pushq $0x1
popq %rcx
callq 0x3d5fa
jmp 0x3d2f0