// File: /workspace/github_c_makefile_star2_O3/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 $0x118, %rsp            # imm = 0x118
leal -0x1(%rsi), %eax
cmpl $0xc, %eax
ja 0x454e8
movq %rdi, %rbx
leaq 0x2d3f8(%rip), %rcx     # 0x7271c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl (%rdx), %eax
cmpq $0x29, %rax
jae 0x45510
movq 0x10(%rdx), %rcx
leal 0x8(%rax), %edi
movl %edi, (%rdx)
movq (%rcx,%rax), %r15
cmpl $0x21, %eax
jae 0x4551f
movq 0x10(%rdx), %rdi
movq %rax, %rcx
addq $0x10, %rcx
movl %ecx, (%rdx)
movq 0x8(%rdi,%rax), %r12
cmpl $0x18, %eax
ja 0x4552e
addq 0x10(%rdx), %rcx
addl $0x18, %eax
movl %eax, (%rdx)
jmp 0x4553a
movl (%rdx), %ecx
cmpq $0x28, %rcx
ja 0x455a7
movq %rcx, %rax
addq 0x10(%rdx), %rax
addl $0x8, %ecx
movl %ecx, (%rdx)
jmp 0x455b3
movl (%rdx), %ecx
cmpq $0x28, %rcx
ja 0x4565f
movq %rcx, %rax
addq 0x10(%rdx), %rax
addl $0x8, %ecx
movl %ecx, (%rdx)
jmp 0x4566b
movl (%rdx), %esi
cmpq $0x29, %rsi
jae 0x4567b
movq 0x10(%rdx), %rax
movq %rsi, %rcx
addq $0x8, %rcx
movl %ecx, (%rdx)
movq (%rax,%rsi), %rax
cmpl $0x20, %esi
ja 0x4568a
addq 0x10(%rdx), %rcx
addl $0x10, %esi
movl %esi, (%rdx)
jmp 0x45696
movl (%rdx), %ecx
cmpq $0x28, %rcx
ja 0x456ad
movq %rcx, %rax
addq 0x10(%rdx), %rax
addl $0x8, %ecx
movl %ecx, (%rdx)
jmp 0x456b9
movl $0x1, 0x4e8(%rbx)
jmp 0x45718
movl (%rdx), %ecx
cmpq $0x28, %rcx
ja 0x456c8
movq %rcx, %rax
addq 0x10(%rdx), %rax
addl $0x8, %ecx
movl %ecx, (%rdx)
jmp 0x456d4
movl (%rdx), %esi
cmpq $0x29, %rsi
jae 0x456ec
movq 0x10(%rdx), %rax
movq %rsi, %rcx
addq $0x8, %rcx
movl %ecx, (%rdx)
movq (%rax,%rsi), %rax
cmpl $0x20, %esi
ja 0x456fb
addq 0x10(%rdx), %rcx
addl $0x10, %esi
movl %esi, (%rdx)
jmp 0x45707
movl (%rdx), %ecx
cmpq $0x28, %rcx
ja 0x45730
movq %rcx, %rax
addq 0x10(%rdx), %rax
addl $0x8, %ecx
movl %ecx, (%rdx)
jmp 0x4573c
movl (%rdx), %ecx
cmpq $0x29, %rcx
jae 0x45786
movq 0x10(%rdx), %rsi
movq %rcx, %rax
addq $0x8, %rax
movl %eax, (%rdx)
movq (%rsi,%rcx), %r14
cmpl $0x20, %ecx
ja 0x45795
addq 0x10(%rdx), %rax
addl $0x10, %ecx
movl %ecx, (%rdx)
jmp 0x457a1
movl (%rdx), %ecx
cmpq $0x29, %rcx
jae 0x457ec
movq 0x10(%rdx), %rsi
movq %rcx, %rax
addq $0x8, %rax
movl %eax, (%rdx)
movq (%rsi,%rcx), %r15
cmpl $0x20, %ecx
ja 0x457fb
addq 0x10(%rdx), %rax
addl $0x10, %ecx
movl %ecx, (%rdx)
jmp 0x45807
movl $0xfffffff3, %r14d      # imm = 0xFFFFFFF3
jmp 0x4571b
movl (%rdx), %ecx
cmpq $0x28, %rcx
ja 0x458c8
movq %rcx, %rax
addq 0x10(%rdx), %rax
addl $0x8, %ecx
movl %ecx, (%rdx)
jmp 0x458d4
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 0x45553
leaq 0x2f27f(%rip), %rsi     # 0x747c8
movq %rbx, %rdi
movl $0x4, %edx
jmp 0x45562
leaq 0x2f273(%rip), %rsi     # 0x747cd
movq %rbx, %rdi
movl $0x7, %edx
callq 0x463a3
movl $0xfffffffa, %r14d      # imm = 0xFFFFFFFA
testq %rax, %rax
je 0x4571b
testb $0x40, 0x8(%rax)
je 0x4571b
movq (%rax), %rdi
movq %r15, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movq %r12, %rcx
movl %r13d, %r8d
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x463f0
movq 0x8(%rdx), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdx)
movq (%rax), %r15
leaq 0x2f218(%rip), %rsi     # 0x747d5
movq %rbx, %rdi
movl $0x4, %edx
callq 0x463a3
movl $0xfffffffa, %r14d      # imm = 0xFFFFFFFA
testq %rax, %rax
je 0x4571b
testb $0x40, 0x8(%rax)
je 0x4571b
movq (%rax), %r12
movq %r12, %rdi
xorl %esi, %esi
xorl %edx, %edx
movq %r15, %rcx
movl $0xffffffff, %r8d       # imm = 0xFFFFFFFF
callq 0x463f0
movl %eax, %r14d
testl %eax, %eax
sete %al
testq %r15, %r15
setne %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0x4571b
cmpb $0x0, (%r15)
je 0x45718
cmpl $0x2, 0x2c(%r12)
jb 0x4563e
leaq 0x3c8(%rbx), %rdi
leaq 0x324ed(%rip), %rsi     # 0x77b21
movl $0x1, %edx
callq 0x359ad
addq $0x3c8, %rbx            # imm = 0x3C8
movq %r15, %rdi
callq 0x2fa53
movq %rbx, %rdi
movq %r15, %rsi
movl %eax, %edx
callq 0x359ad
jmp 0x45718
movq 0x8(%rdx), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdx)
movq (%rax), %rax
movl 0x4f4(%rbx), %ecx
movl %ecx, (%rax)
jmp 0x45718
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 0x45718
movq 0x8(%rdx), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdx)
movq (%rax), %rax
addq $0x490, %rbx            # imm = 0x490
movq %rbx, (%rax)
jmp 0x45718
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 0x4571b
movl %eax, 0x4f0(%rbx)
jmp 0x4571b
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 $0x118, %rsp            # imm = 0x118
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), %r15
cmpb $0x0, (%r15)
movq %r15, %rax
je 0x45a70
leaq 0x2(%r15), %rax
cmpb $0x0, -0x1(%rax)
je 0x45a60
cmpb $0x0, (%rax)
je 0x45a70
cmpb $0x0, 0x1(%rax)
je 0x45a6d
leaq 0x4(%rax), %rcx
cmpb $0x0, 0x2(%rax)
movq %rcx, %rax
jne 0x45750
addq $-0x2, %rcx
movq %rcx, %rax
jmp 0x45a70
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)
cmpb $0x0, (%r14)
movq %r14, %r15
je 0x45b22
leaq 0x2(%r14), %r15
cmpb $0x0, -0x1(%r15)
je 0x45a65
cmpb $0x0, (%r15)
je 0x45b22
cmpb $0x0, 0x1(%r15)
je 0x45b1f
leaq 0x4(%r15), %rcx
cmpb $0x0, 0x2(%r15)
movq %rcx, %r15
jne 0x457b2
addq $-0x2, %rcx
movq %rcx, %r15
jmp 0x45b22
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)
movl $0xfffffffd, %r14d      # imm = 0xFFFFFFFD
testq %r15, %r15
je 0x4571b
cmpb $0x0, (%r15)
je 0x4571b
movl (%rax), %r14d
testl %r14d, %r14d
jns 0x45833
movq %r15, %rdi
callq 0x2fa53
movl %eax, %r14d
movq %r15, -0x48(%rbp)
movl %r14d, -0x40(%rbp)
movq $0x20, -0x80(%rbp)
movq %rbx, -0x98(%rbp)
xorps %xmm0, %xmm0
movups %xmm0, -0x90(%rbp)
movq $0x0, -0x78(%rbp)
movups %xmm0, -0x60(%rbp)
movq %rbx, -0x68(%rbp)
movl $0x0, -0x50(%rbp)
testl %r14d, %r14d
je 0x458bc
movq %rbx, -0x30(%rbp)
movl %r14d, %r12d
leaq (%r15,%r12), %rax
movq %rax, -0x38(%rbp)
decl %r14d
xorl %r13d, %r13d
movsbq (%r15), %rbx
cmpq $-0x41, %rbx
ja 0x45954
callq 0xc170
movq (%rax), %rax
testb $0x20, 0x1(%rax,%rbx,2)
je 0x45954
incq %r15
decl %r14d
incq %r13
cmpl %r13d, %r12d
jne 0x45885
movq -0x38(%rbp), %r15
movq -0x30(%rbp), %rbx
movq %r15, -0x48(%rbp)
xorl %r12d, %r12d
jmp 0x4598e
movq 0x8(%rdx), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rdx)
movq (%rax), %r15
movq %r15, -0x140(%rbp)
movl $0xfffffff7, %r14d      # imm = 0xFFFFFFF7
testq %r15, %r15
je 0x4571b
movq (%r15), %rdi
testq %rdi, %rdi
je 0x4571b
cmpb $0x0, (%rdi)
je 0x4571b
cmpq $0x0, 0x10(%r15)
je 0x4571b
cmpq $0x0, 0x30(%r15)
je 0x4571b
cmpq $0x0, 0x488(%rbx)
jne 0x4593e
leaq 0x2e324(%rip), %rsi     # 0x73c4d
movl $0x4, %edx
callq 0x39f3f
testl %eax, %eax
jne 0x4593e
movq %r15, 0x488(%rbx)
addq $0x460, %rbx            # imm = 0x460
leaq -0x140(%rbp), %rsi
movq %rbx, %rdi
jmp 0x45b15
movq %r15, -0x48(%rbp)
subq %r13, %r12
movl %r12d, -0x40(%rbp)
movl %r14d, %eax
movsbq (%r15,%rax), %rbx
cmpq $-0x41, %rbx
ja 0x4598a
callq 0xc170
movq (%rax), %rax
testb $0x20, 0x1(%rax,%rbx,2)
je 0x4598a
decq %r12
decl %r14d
testl %r12d, %r12d
jne 0x4595f
xorl %r12d, %r12d
movq -0x30(%rbp), %rbx
leaq -0x48(%rbp), %rdi
movl %r12d, 0x8(%rdi)
leaq -0xb0(%rbp), %rsi
callq 0x46dcd
movl %eax, %r14d
testl %eax, %eax
jne 0x4571b
movl -0xa8(%rbp), %r13d
testq %r13, %r13
je 0x45bcf
movq %rbx, -0x30(%rbp)
movq -0xb0(%rbp), %r15
addq %r15, %r13
movsbq (%r15), %rbx
cmpq $-0x41, %rbx
ja 0x459ec
callq 0xc170
movq (%rax), %rax
testb $0x20, 0x1(%rax,%rbx,2)
je 0x459ec
incq %r15
cmpq %r13, %r15
jb 0x459cb
movl $0x5, %r12d
cmpq %r13, %r15
jae 0x45bda
callq 0xc170
movq (%rax), %rax
movq %r15, %r14
movsbq (%r14), %rcx
testb $0x20, 0x1(%rax,%rcx,2)
jne 0x45a19
incq %r14
cmpq %r13, %r14
jb 0x45a06
cmpq %r15, %r14
jbe 0x45c08
movl %r14d, %r12d
subl %r15d, %r12d
xorl %ebx, %ebx
leaq 0x2d253(%rip), %rax     # 0x72c84
movslq (%rbx,%rax), %rdi
addq %rax, %rdi
movq %r15, %rsi
movl %r12d, %edx
callq 0x39f3f
testl %eax, %eax
je 0x45bdf
addq $0x4, %rbx
cmpq $0x10, %rbx
jne 0x45a2a
movl $0x5, %r12d
jmp 0x45c08
decq %rax
jmp 0x45a70
decq %r15
jmp 0x45b22
incq %rax
subl %r15d, %eax
movq %rax, %r12
xorl %r14d, %r14d
subq $0x1, %r12
jb 0x4571b
cmpb $0x2f, -0x1(%r15,%rax)
movq %r12, %rax
je 0x45a79
movq %rbx, -0x30(%rbp)
leal 0x1(%r12), %r13d
movsbq (%r15), %rbx
cmpq $-0x41, %rbx
ja 0x45ac0
callq 0xc170
movq (%rax), %rax
testb $0x20, 0x1(%rax,%rbx,2)
je 0x45ac0
incq %r15
decl %r12d
decl %r13d
jne 0x45a97
jmp 0x4571b
movq %r15, -0x140(%rbp)
movl %r13d, %ebx
movl $0xffffffff, %r13d      # imm = 0xFFFFFFFF
movsbq -0x1(%r15,%rbx), %r14
cmpq $-0x41, %r14
ja 0x45afc
callq 0xc170
movq (%rax), %rax
testb $0x20, 0x1(%rax,%r14,2)
je 0x45afc
decq %rbx
incl %r13d
testq %rbx, %rbx
jne 0x45ad0
jmp 0x45718
subl %r13d, %r12d
leaq -0x140(%rbp), %rsi
movl %r12d, 0x8(%rsi)
movq -0x30(%rbp), %rdi
addq $0x410, %rdi            # imm = 0x410
callq 0x33094
jmp 0x45bbc
incq %r15
movq (%rax), %r12
subl %r14d, %r15d
leaq 0x348(%rbx), %r13
cmpl $0x0, 0x370(%rbx)
je 0x45b89
testl %r15d, %r15d
je 0x45b89
movq %r13, %rdi
movq %r14, %rsi
movl %r15d, %edx
callq 0x448fa
testq %rax, %rax
je 0x45b89
movl 0x10(%rax), %eax
xorl %r14d, %r14d
cmpl %eax, 0x218(%rbx)
jbe 0x4571b
movq 0x210(%rbx), %rsi
testq %rsi, %rsi
je 0x4571b
imull 0x220(%rbx), %eax
addq %rax, %rsi
movq %r12, %rdi
callq 0x3e19f
jmp 0x4571b
leaq -0x140(%rbp), %rsi
movq %rbx, %rdi
callq 0x3f956
testq %rax, %rax
je 0x45bc4
movq %r12, %rdi
movq %rax, %rsi
callq 0x3e19f
movl -0x140(%rbp), %ecx
movq %r13, %rdi
movq %r14, %rsi
movl %r15d, %edx
callq 0x445f4
movl %eax, %r14d
jmp 0x4571b
movl $0xffffffff, %r14d      # imm = 0xFFFFFFFF
jmp 0x4571b
movl $0xfffffffd, %r14d      # imm = 0xFFFFFFFD
jmp 0x4571b
movq %r15, %r14
jmp 0x45c08
leaq 0x2da7a(%rip), %rax     # 0x73660
movl (%rbx,%rax), %r12d
jmp 0x45c08
movsbq (%r14), %rbx
cmpq $-0x41, %rbx
ja 0x45c0d
callq 0xc170
movq (%rax), %rax
testb $0x20, 0x1(%rax,%rbx,2)
je 0x45c0d
incq %r14
cmpq %r13, %r14
jb 0x45bec
cmpq %r13, %r14
jae 0x45c4c
callq 0xc170
movq (%rax), %rax
movq %r14, %r15
movsbq (%r15), %rcx
testb $0x20, 0x1(%rax,%rcx,2)
jne 0x45c30
incq %r15
cmpq %r13, %r15
jb 0x45c1d
cmpq %r14, %r15
jbe 0x45c6d
movl %r15d, %edx
subl %r14d, %edx
leaq -0x140(%rbp), %rdi
movq %r14, %rsi
callq 0x46ee0
jmp 0x45c6d
movq %r14, %r15
jmp 0x45c6d
movsbq (%r15), %rbx
cmpq $-0x41, %rbx
ja 0x45c72
callq 0xc170
movq (%rax), %rax
testb $0x20, 0x1(%rax,%rbx,2)
je 0x45c72
incq %r15
cmpq %r13, %r15
jb 0x45c51
cmpq %r13, %r15
movq -0x30(%rbp), %rbx
jae 0x45cb8
callq 0xc170
movq (%rax), %rax
movq %r15, %rdx
movsbq (%rdx), %rcx
testb $0x20, 0x1(%rax,%rcx,2)
jne 0x45c99
incq %rdx
cmpq %r13, %rdx
jb 0x45c86
cmpq %r15, %rdx
jbe 0x45cb8
subl %r15d, %edx
leaq 0x2ecd5(%rip), %rsi     # 0x7497d
movq %r15, %rdi
callq 0x39f3f
testl %eax, %eax
je 0x462a9
leaq 0x3323f(%rip), %r14     # 0x78efe
leaq -0x48(%rbp), %rdi
leaq -0x98(%rbp), %rsi
callq 0x4654e
leaq 0x2eb04(%rip), %rdx     # 0x747da
movl $0x8, %r8d
movq %rbx, %rdi
movl $0x8, %esi
movq %r14, %rcx
xorl %eax, %eax
callq 0x46833
cmpl $0x1, %r12d
je 0x45d12
cmpl $0x3, %r12d
je 0x45d09
cmpl $0x4, %r12d
jne 0x45d1b
leaq 0x2eafb(%rip), %rcx     # 0x74802
jmp 0x45d31
leaq 0x2ec77(%rip), %rcx     # 0x74987
jmp 0x45d31
leaq 0x2ec74(%rip), %rcx     # 0x7498d
jmp 0x45d31
cmpl $0x2, %r12d
leaq 0x2eae0(%rip), %rax     # 0x74806
leaq 0x2eade(%rip), %rcx     # 0x7480b
cmoveq %rax, %rcx
leaq 0x2eabb(%rip), %rdx     # 0x747f3
movq %rbx, %rdi
movl $0x8, %esi
movl $0xffffffff, %r8d       # imm = 0xFFFFFFFF
xorl %eax, %eax
callq 0x46833
movl -0x108(%rbp), %r14d
testl %r14d, %r14d
je 0x45d97
cmpl $0x1, %r12d
jne 0x45d97
movq -0x110(%rbp), %r15
leaq 0x2eaa4(%rip), %rdx     # 0x74811
movq %rbx, %rdi
movl $0x8, %esi
movq %r15, %rcx
movl %r14d, %r8d
xorl %eax, %eax
callq 0x46833
leaq -0x68(%rbp), %rcx
movq %rbx, %rdi
movq %r15, %rsi
movl %r14d, %edx
xorl %r8d, %r8d
callq 0x46937
movq -0xc0(%rbp), %rcx
movl -0xb8(%rbp), %r8d
leaq 0x2ea72(%rip), %rdx     # 0x7481e
movq %rbx, %rdi
movl $0x8, %esi
xorl %eax, %eax
callq 0x46833
movq -0x120(%rbp), %r14
movl -0x118(%rbp), %r15d
leaq 0x2ea5f(%rip), %rdx     # 0x7482f
movq %rbx, %rdi
movl $0x8, %esi
movq %r14, %rcx
movl %r15d, %r8d
xorl %eax, %eax
callq 0x46833
leaq 0x2ea3e(%rip), %rdx     # 0x7482a
movq %rbx, %rdi
movl $0x8, %esi
movq %r14, %rcx
movl %r15d, %r8d
xorl %eax, %eax
callq 0x46833
movq -0x90(%rbp), %r15
movl -0x88(%rbp), %r14d
leaq 0x2ea23(%rip), %rdx     # 0x74839
movq %r15, %rdi
movl %r14d, %esi
movl $0x6, %ecx
callq 0x46b5d
testq %rax, %rax
je 0x45e48
movq (%rax), %rcx
movl 0x8(%rax), %r8d
leaq 0x2ea07(%rip), %rdx     # 0x74840
movq %rbx, %rdi
movl $0x8, %esi
xorl %eax, %eax
callq 0x46833
leaq 0x2e9fd(%rip), %rdx     # 0x7484c
movq %r15, %rdi
movl %r14d, %esi
movl $0xe, %ecx
callq 0x46b5d
testq %rax, %rax
je 0x45e81
movq (%rax), %rcx
movl 0x8(%rax), %r8d
leaq 0x2e9e9(%rip), %rdx     # 0x7485b
movq %rbx, %rdi
movl $0x8, %esi
xorl %eax, %eax
callq 0x46833
leaq 0x2e9e7(%rip), %rdx     # 0x7486f
movq %r15, %rdi
movl %r14d, %esi
movl $0xf, %ecx
callq 0x46b5d
testq %rax, %rax
je 0x45eba
movq (%rax), %rcx
movl 0x8(%rax), %r8d
leaq 0x2e9d4(%rip), %rdx     # 0x7487f
movq %rbx, %rdi
movl $0x8, %esi
xorl %eax, %eax
callq 0x46833
leaq 0x2e9d3(%rip), %rdx     # 0x74894
movq %r15, %rdi
movl %r14d, %esi
movl $0xf, %ecx
callq 0x46b5d
testq %rax, %rax
je 0x45ef3
movq (%rax), %rcx
movl 0x8(%rax), %r8d
leaq 0x2e9c0(%rip), %rdx     # 0x748a4
movq %rbx, %rdi
movl $0x8, %esi
xorl %eax, %eax
callq 0x46833
leaq 0x2e9bf(%rip), %rdx     # 0x748b9
movq %r15, %rdi
movl %r14d, %esi
movl $0xa, %ecx
callq 0x46b5d
testq %rax, %rax
je 0x45f2c
movq (%rax), %rcx
movl 0x8(%rax), %r8d
leaq 0x2e9a7(%rip), %rdx     # 0x748c4
movq %rbx, %rdi
movl $0x8, %esi
xorl %eax, %eax
callq 0x46833
leaq 0x2e9a1(%rip), %rdx     # 0x748d4
movq %r15, %rdi
movl %r14d, %esi
movl $0x4, %ecx
callq 0x46b5d
testq %rax, %rax
je 0x45f65
movq (%rax), %rcx
movl 0x8(%rax), %r8d
leaq 0x2e983(%rip), %rdx     # 0x748d9
movq %rbx, %rdi
movl $0x8, %esi
xorl %eax, %eax
callq 0x46833
leaq 0x2e977(%rip), %rdx     # 0x748e3
movq %r15, %rdi
movl %r14d, %esi
movl $0x7, %ecx
callq 0x46b5d
testq %rax, %rax
je 0x45f9e
movq (%rax), %rcx
movl 0x8(%rax), %r8d
leaq 0x2e95c(%rip), %rdx     # 0x748eb
movq %rbx, %rdi
movl $0x8, %esi
xorl %eax, %eax
callq 0x46833
leaq 0x2e953(%rip), %rdx     # 0x748f8
movq %r15, %rdi
movl %r14d, %esi
movl $0xa, %ecx
callq 0x46b5d
testq %rax, %rax
je 0x45fd7
movq (%rax), %rcx
movl 0x8(%rax), %r8d
leaq 0x2e93b(%rip), %rdx     # 0x74903
movq %rbx, %rdi
movl $0x8, %esi
xorl %eax, %eax
callq 0x46833
leaq 0x2e935(%rip), %rdx     # 0x74913
movq %r15, %rdi
movl %r14d, %esi
movl $0xd, %ecx
callq 0x46b5d
testq %rax, %rax
je 0x46030
movq %rax, %r15
movq (%rax), %rcx
movl 0x8(%rax), %r8d
leaq 0x2e91d(%rip), %rdx     # 0x74921
movq %rbx, %rdi
movl $0x8, %esi
xorl %eax, %eax
callq 0x46833
movq (%r15), %rcx
movl 0x8(%r15), %r8d
leaq 0x2e910(%rip), %rdx     # 0x74931
movq %rbx, %rdi
movl $0x8, %esi
xorl %eax, %eax
callq 0x46833
movl %r12d, -0x38(%rbp)
leaq 0x2e8ff(%rip), %rsi     # 0x7493a
movq %rbx, %rdi
movl $0x7, %edx
callq 0x463a3
testl %r14d, %r14d
je 0x46215
movq %rax, %r15
xorl %eax, %eax
movl -0x80(%rbp), %r14d
imull %eax, %r14d
incl %eax
movq -0x90(%rbp), %r13
movl %eax, -0x7c(%rbp)
testq %r15, %r15
je 0x46092
testb $0x40, 0x8(%r15)
je 0x46092
movq (%r15), %rdi
movq (%r13,%r14), %rsi
movl 0x8(%r13,%r14), %edx
movq 0x10(%r13,%r14), %rcx
movl 0x18(%r13,%r14), %r8d
callq 0x463f0
cmpl $0x6, 0x8(%r13,%r14)
jne 0x460b4
movq (%r13,%r14), %rdi
leaq 0x2b0bc(%rip), %rsi     # 0x71162
movl $0x6, %edx
callq 0x39f3f
testl %eax, %eax
je 0x460c8
movl -0x88(%rbp), %r12d
movl -0x7c(%rbp), %eax
cmpl %r12d, %eax
jb 0x46056
jmp 0x46218
movl 0x18(%r13,%r14), %r12d
testq %r12, %r12
je 0x460b4
movq 0x10(%r13,%r14), %r13
movq %rbx, %rdi
leaq 0x3050a(%rip), %rsi     # 0x765eb
movl $0x7, %edx
callq 0x463a3
testq %rax, %rax
je 0x460b4
movq %rax, %r14
testb $0x40, 0x8(%rax)
je 0x460b4
addq %r13, %r12
callq 0xc170
leaq -0x68(%rbp), %r8
movq (%rax), %rcx
movl %r13d, %r9d
movq %r13, %rdi
movsbq (%rdi), %rdx
testb $0x20, 0x1(%rcx,%rdx,2)
je 0x46126
incq %rdi
incl %r9d
cmpq %r12, %rdi
jb 0x4610e
jmp 0x460b4
movl $0x0, -0x58(%rbp)
movl -0x50(%rbp), %ecx
testb $0x4, %cl
je 0x4614a
movq $0x0, -0x60(%rbp)
movl $0x0, -0x54(%rbp)
andl $-0x5, %ecx
movl %ecx, -0x50(%rbp)
movq %rdi, %r13
cmpq %r12, %rdi
leaq -0xa163(%rip), %rcx     # 0x3bff4
jae 0x4616b
movq %rdi, %r13
cmpb $0x3b, (%r13)
je 0x4616b
incq %r13
cmpq %r12, %r13
jb 0x4615c
movq %r14, -0x70(%rbp)
movq %rdi, %r14
cmpq %r13, %rdi
jae 0x4618b
movq %rdi, %r14
cmpb $0x3d, (%r14)
je 0x4618b
incq %r14
cmpq %r13, %r14
jb 0x4617a
movq %r13, %r14
movq %rax, -0xa0(%rbp)
movl %r14d, %esi
subl %r9d, %esi
movq %rcx, %rdx
movq %r8, %rcx
movq %r8, %rbx
callq 0x473ab
movl -0x58(%rbp), %edx
incq %r14
cmpq %r13, %r14
jae 0x461e0
movl %r13d, %esi
subl %r14d, %esi
movq %r14, %rdi
movq %rdx, %r14
leaq -0xa1d0(%rip), %rdx     # 0x3bff4
movq %rbx, %rcx
callq 0x473ab
movq %r14, %rdx
movq -0x60(%rbp), %rsi
leaq (%rsi,%r14), %rcx
movl -0x58(%rbp), %r8d
subl %edx, %r8d
jmp 0x461e9
xorl %r8d, %r8d
movq -0x60(%rbp), %rsi
xorl %ecx, %ecx
movq -0x30(%rbp), %rbx
incq %r13
movq -0x70(%rbp), %r14
movq (%r14), %rdi
callq 0x463f0
cmpq %r12, %r13
leaq -0x68(%rbp), %r8
movq -0xa0(%rbp), %rax
jb 0x46105
jmp 0x460b4
xorl %r12d, %r12d
movl $0x0, -0x7c(%rbp)
cmpl $0x3, -0x38(%rbp)
jne 0x46263
movq -0x90(%rbp), %r14
leaq 0x2b725(%rip), %rdx     # 0x71958
movq %r14, %rdi
movl %r12d, %esi
movl $0xc, %ecx
callq 0x46b5d
testq %rax, %rax
je 0x46263
movl 0x8(%rax), %edx
cmpl $0x21, %edx
jb 0x46263
movq (%rax), %rsi
leaq 0x2e6e8(%rip), %rdi     # 0x74942
callq 0x347f1
testl %eax, %eax
je 0x462b5
movq -0x98(%rbp), %rdi
testq %rdi, %rdi
je 0x46280
movq -0x90(%rbp), %rsi
testq %rsi, %rsi
je 0x46280
callq 0x3490d
xorl %r14d, %r14d
testb $0x6, -0x50(%rbp)
jne 0x4571b
cmpl $0x0, -0x54(%rbp)
je 0x4571b
movq -0x68(%rbp), %rdi
movq -0x60(%rbp), %rsi
callq 0x3490d
jmp 0x4571b
leaq 0x2e53a(%rip), %r14     # 0x747ea
jmp 0x45cbf
leaq 0x2e6a8(%rip), %rdx     # 0x74964
movq %r14, %rdi
movl %r12d, %esi
movl $0xe, %ecx
callq 0x46b5d
testq %rax, %rax
je 0x46263
leaq -0xb0(%rbp), %r14
movl $0x0, (%r14)
movq (%rax), %rdi
movl 0x8(%rax), %esi
movq %r14, %rdx
callq 0x46bae
movl (%r14), %eax
testl %eax, %eax
jle 0x46263
movl %eax, -0x38(%rbp)
movl -0x40(%rbp), %r12d
movq -0x48(%rbp), %r15
testq %r12, %r12
je 0x46343
leaq (%r15,%r12), %rax
movq %rax, -0x70(%rbp)
leal -0x1(%r12), %r13d
xorl %r14d, %r14d
movsbq (%r15), %rbx
cmpq $-0x41, %rbx
ja 0x46372
callq 0xc170
movq (%rax), %rax
testb $0x20, 0x1(%rax,%rbx,2)
je 0x46372
incq %r15
decl %r13d
incq %r14
cmpl %r14d, %r12d
jne 0x46318
movq -0x70(%rbp), %r15
movq %r15, -0x48(%rbp)
xorl %r12d, %r12d
movq -0x30(%rbp), %rdi
movl -0x38(%rbp), %edx
cmpl %edx, %r12d
cmovll %r12d, %edx
movl %edx, -0x40(%rbp)
leaq -0x68(%rbp), %rcx
movq %r15, %rsi
movl $0x1, %r8d
callq 0x46937
jmp 0x46263
movq %r15, -0x48(%rbp)
subq %r14, %r12
movl %r13d, %eax
movsbq (%r15,%rax), %rbx
cmpq $-0x41, %rbx
ja 0x4634a
callq 0xc170
movq (%rax), %rax
testb $0x20, 0x1(%rax,%rbx,2)
je 0x4634a
decq %r12
decl %r13d
testl %r12d, %r12d
jne 0x46379
jmp 0x46347