// File: /workspace/github_c_makefile_star2_O1/ccxvii[P]mujs/./jscompile.c
// Function: cstm
static void cstm(JF, js_Ast *stm)
{
	js_Ast *target;
	int loop, cont, then, end;

	emitline(J, F, stm);

	switch (stm->type) {
	case AST_FUNDEC:
		break;

	case STM_BLOCK:
		cstmlist(J, F, stm->a);
		break;

	case STM_EMPTY:
		if (F->script) {
			emitline(J, F, stm);
			emit(J, F, OP_POP);
			emit(J, F, OP_UNDEF);
		}
		break;

	case STM_VAR:
		cvarinit(J, F, stm->a);
		break;

	case STM_IF:
		if (stm->c) {
			cexp(J, F, stm->a);
			emitline(J, F, stm);
			then = emitjump(J, F, OP_JTRUE);
			cstm(J, F, stm->c);
			emitline(J, F, stm);
			end = emitjump(J, F, OP_JUMP);
			label(J, F, then);
			cstm(J, F, stm->b);
			label(J, F, end);
		} else {
			cexp(J, F, stm->a);
			emitline(J, F, stm);
			end = emitjump(J, F, OP_JFALSE);
			cstm(J, F, stm->b);
			label(J, F, end);
		}
		break;

	case STM_DO:
		loop = here(J, F);
		cstm(J, F, stm->a);
		cont = here(J, F);
		cexp(J, F, stm->b);
		emitline(J, F, stm);
		emitjumpto(J, F, OP_JTRUE, loop);
		labeljumps(J, F, stm, here(J,F), cont);
		break;

	case STM_WHILE:
		loop = here(J, F);
		cexp(J, F, stm->a);
		emitline(J, F, stm);
		end = emitjump(J, F, OP_JFALSE);
		cstm(J, F, stm->b);
		emitline(J, F, stm);
		emitjumpto(J, F, OP_JUMP, loop);
		label(J, F, end);
		labeljumps(J, F, stm, here(J,F), loop);
		break;

	case STM_FOR:
	case STM_FOR_VAR:
		if (stm->type == STM_FOR_VAR) {
			cvarinit(J, F, stm->a);
		} else {
			if (stm->a) {
				cexp(J, F, stm->a);
				emit(J, F, OP_POP);
			}
		}
		loop = here(J, F);
		if (stm->b) {
			cexp(J, F, stm->b);
			emitline(J, F, stm);
			end = emitjump(J, F, OP_JFALSE);
		} else {
			end = 0;
		}
		cstm(J, F, stm->d);
		cont = here(J, F);
		if (stm->c) {
			cexp(J, F, stm->c);
			emit(J, F, OP_POP);
		}
		emitline(J, F, stm);
		emitjumpto(J, F, OP_JUMP, loop);
		if (end)
			label(J, F, end);
		labeljumps(J, F, stm, here(J,F), cont);
		break;

	case STM_FOR_IN:
	case STM_FOR_IN_VAR:
		cexp(J, F, stm->b);
		emitline(J, F, stm);
		emit(J, F, OP_ITERATOR);
		loop = here(J, F);
		{
			emitline(J, F, stm);
			emit(J, F, OP_NEXTITER);
			end = emitjump(J, F, OP_JFALSE);
			cassignforin(J, F, stm);
			if (F->script) {
				emit(J, F, OP_ROT2);
				cstm(J, F, stm->c);
				emit(J, F, OP_ROT2);
			} else {
				cstm(J, F, stm->c);
			}
			emitline(J, F, stm);
			emitjumpto(J, F, OP_JUMP, loop);
		}
		label(J, F, end);
		labeljumps(J, F, stm, here(J,F), loop);
		break;

	case STM_SWITCH:
		cswitch(J, F, stm->a, stm->b);
		labeljumps(J, F, stm, here(J,F), 0);
		break;

	case STM_LABEL:
		cstm(J, F, stm->b);
		/* skip consecutive labels */
		while (stm->type == STM_LABEL)
			stm = stm->b;
		/* loops and switches have already been labelled */
		if (!isloop(stm->type) && stm->type != STM_SWITCH)
			labeljumps(J, F, stm, here(J,F), 0);
		break;

	case STM_BREAK:
		if (stm->a) {
			checkfutureword(J, F, stm->a);
			target = breaktarget(J, F, stm->parent, stm->a->string);
			if (!target)
				jsC_error(J, stm, "break label '%s' not found", stm->a->string);
		} else {
			target = breaktarget(J, F, stm->parent, NULL);
			if (!target)
				jsC_error(J, stm, "unlabelled break must be inside loop or switch");
		}
		cexit(J, F, STM_BREAK, stm, target);
		emitline(J, F, stm);
		addjump(J, F, STM_BREAK, target, emitjump(J, F, OP_JUMP));
		break;

	case STM_CONTINUE:
		if (stm->a) {
			checkfutureword(J, F, stm->a);
			target = continuetarget(J, F, stm->parent, stm->a->string);
			if (!target)
				jsC_error(J, stm, "continue label '%s' not found", stm->a->string);
		} else {
			target = continuetarget(J, F, stm->parent, NULL);
			if (!target)
				jsC_error(J, stm, "continue must be inside loop");
		}
		cexit(J, F, STM_CONTINUE, stm, target);
		emitline(J, F, stm);
		addjump(J, F, STM_CONTINUE, target, emitjump(J, F, OP_JUMP));
		break;

	case STM_RETURN:
		if (stm->a)
			cexp(J, F, stm->a);
		else
			emit(J, F, OP_UNDEF);
		target = returntarget(J, F, stm->parent);
		if (!target)
			jsC_error(J, stm, "return not in function");
		cexit(J, F, STM_RETURN, stm, target);
		emitline(J, F, stm);
		emit(J, F, OP_RETURN);
		break;

	case STM_THROW:
		cexp(J, F, stm->a);
		emitline(J, F, stm);
		emit(J, F, OP_THROW);
		break;

	case STM_WITH:
		F->lightweight = 0;
		if (F->strict)
			jsC_error(J, stm->a, "'with' statements are not allowed in strict mode");
		cexp(J, F, stm->a);
		emitline(J, F, stm);
		emit(J, F, OP_WITH);
		cstm(J, F, stm->b);
		emitline(J, F, stm);
		emit(J, F, OP_ENDWITH);
		break;

	case STM_TRY:
		emitline(J, F, stm);
		if (stm->b && stm->c) {
			F->lightweight = 0;
			if (stm->d)
				ctrycatchfinally(J, F, stm->a, stm->b, stm->c, stm->d);
			else
				ctrycatch(J, F, stm->a, stm->b, stm->c);
		} else {
			ctryfinally(J, F, stm->a, stm->d);
		}
		break;

	case STM_DEBUGGER:
		emitline(J, F, stm);
		emit(J, F, OP_DEBUGGER);
		break;

	default:
		if (F->script) {
			emitline(J, F, stm);
			emit(J, F, OP_POP);
			cexp(J, F, stm);
		} else {
			cexp(J, F, stm);
			emitline(J, F, stm);
			emit(J, F, OP_POP);
		}
		break;
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
leaq 0xe030(%rip), %r13      # 0x2b9a0
movl 0x4(%r15), %edx
movl %edx, 0x5c(%r14)
movl (%r15), %eax
leal -0x47(%rax), %ecx
cmpl $0x12, %ecx
ja 0x1db29
movslq (%r13,%rcx,4), %rax
addq %r13, %rax
jmpq *%rax
movl %edx, 0x5c(%r14)
movq 0x18(%r15), %rcx
testq %rcx, %rcx
je 0x1d9ab
movq 0x20(%r15), %r8
testq %r8, %r8
jne 0x1e1c6
movq 0x10(%r15), %r12
movq 0x28(%r15), %r15
movq %rbx, %rdi
movq %r14, %rsi
movl $0x4a, %edx
callq 0x1ef8b
movl %eax, %ebp
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x1d955
movl 0x5c(%r14), %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d8f3
movq %rbx, %rdi
movq %r14, %rsi
movl $0x49, %edx
callq 0x1d8f3
movl 0x2c(%r14), %eax
cmpl $0x10000, %eax          # imm = 0x10000
jae 0x1e6a2
movq 0x20(%r14), %rcx
movslq %ebp, %rdx
movw %ax, (%rcx,%rdx,2)
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x1d955
movl 0x5c(%r14), %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d8f3
movq %rbx, %rdi
movq %r14, %rsi
movl $0x4b, %edx
callq 0x1d8f3
jmp 0x1d970
movq 0x18(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1e792
movl 0x4(%r15), %edx
movl %edx, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d8f3
movq %rbx, %rdi
movq %r14, %rsi
movl $0x26, %edx
callq 0x1d8f3
movl 0x2c(%r14), %ebp
movl 0x4(%r15), %edx
movl %edx, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d8f3
movq %rbx, %rdi
movq %r14, %rsi
movl $0x27, %edx
callq 0x1d8f3
movl 0x5c(%r14), %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d8f3
movq %rbx, %rdi
movq %r14, %rsi
movl $0x53, %edx
callq 0x1d8f3
movslq 0x2c(%r14), %r13
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x1d8f3
movq 0x10(%r15), %r12
cmpl $0x50, (%r15)
jne 0x1dd9e
movq 0x18(%r12), %rsi
testq %rsi, %rsi
jne 0x1e6d9
movq 0x10(%r12), %rax
movl 0x4(%rax), %ecx
movl %ecx, 0x5c(%r14)
movq 0x10(%rax), %r8
movq %rbx, %rdi
movq %r14, %rsi
movl $0x14, %edx
movl $0x18, %ecx
callq 0x1f6a1
movl 0x5c(%r14), %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d8f3
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x1d8f3
jmp 0x1e5e0
cmpl $0x1, %eax
je 0x1e3d5
cmpl $0x0, 0x8(%r14)
je 0x1e462
movl %edx, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d8f3
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x1d8f3
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1e792
movq 0x10(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1e792
movl 0x4(%r15), %edx
movl %edx, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d8f3
movq %rbx, %rdi
movq %r14, %rsi
movl $0x49, %edx
jmp 0x1e44f
movq 0x10(%r15), %rdx
testq %rdx, %rdx
je 0x1e1f8
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d64b
movq 0x8(%r15), %r12
movq 0x10(%r15), %rax
movq 0x38(%rax), %r13
testq %r12, %r12
je 0x1dc0b
movl $0x38002, %ebp          # imm = 0x38002
movl (%r12), %eax
cmpl $0x11, %eax
ja 0x1dbe3
btl %eax, %ebp
jb 0x1dc0b
addl $-0x51, %eax
cmpl $-0x6, %eax
jb 0x1dc01
testq %r13, %r13
je 0x1dc0e
movq 0x8(%r12), %rdi
movq %r13, %rsi
callq 0x203ae
testl %eax, %eax
jne 0x1dc0e
movq 0x8(%r12), %r12
testq %r12, %r12
jne 0x1dbd5
xorl %r12d, %r12d
testq %r12, %r12
jne 0x1e232
leaq 0x16371(%rip), %rdx     # 0x33f8f
jmp 0x1dfbb
movl $0x0, 0xc(%r14)
cmpl $0x0, 0x10(%r14)
movq 0x10(%r15), %rdx
jne 0x1e6c7
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1e792
movl 0x4(%r15), %edx
movl %edx, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d8f3
movq %rbx, %rdi
movq %r14, %rsi
movl $0x4e, %edx
callq 0x1d8f3
movq 0x18(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d955
movl 0x4(%r15), %edx
movl %edx, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d8f3
movq %rbx, %rdi
movq %r14, %rsi
movl $0x4f, %edx
jmp 0x1e44f
cmpl $0x0, 0x8(%r14)
je 0x1e3d5
movl %edx, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d8f3
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x1d8f3
movl 0x5c(%r14), %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d8f3
movq %rbx, %rdi
movq %r14, %rsi
movl $0xd, %edx
jmp 0x1e44f
movq 0x10(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1e70f
movq 0x10(%r15), %rdx
movq 0x18(%r15), %rbp
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1e792
testq %rbp, %rbp
je 0x1e294
movq $0x0, (%rsp)
movq %rbp, %r13
movq 0x10(%r13), %r12
cmpl $0x5b, (%r12)
jne 0x1dd40
cmpq $0x0, (%rsp)
jne 0x1e6b3
movq %r12, (%rsp)
jmp 0x1dd6e
movq 0x10(%r12), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1e792
movl 0x4(%r12), %eax
movl %eax, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
movl $0x44, %edx
callq 0x1ef8b
movl %eax, 0x48(%r12)
movq 0x18(%r13), %r13
testq %r13, %r13
jne 0x1dd24
jmp 0x1e29c
movq 0x10(%r15), %r15
testq %r15, %r15
je 0x1e3d5
movq 0x10(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d955
movq 0x18(%r15), %r15
jmp 0x1dd80
movl (%r12), %eax
cmpl $0x13, %eax
je 0x1e591
cmpl $0x12, %eax
je 0x1e546
cmpl $0x3, %eax
jne 0x1e706
movl 0x4(%r12), %eax
movl %eax, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
movl $0x14, %edx
movl $0x18, %ecx
movq %r12, %r8
callq 0x1f6a1
jmp 0x1e5d3
movq 0x10(%r15), %rdx
testq %rdx, %rdx
je 0x1e085
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1e792
movl 0x5c(%r14), %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d8f3
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x1d8f3
jmp 0x1e085
movq 0x20(%r15), %r12
movq 0x10(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1e792
movl 0x4(%r15), %edx
movl %edx, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
testq %r12, %r12
je 0x1e2e9
callq 0x1d8f3
movq %rbx, %rdi
movq %r14, %rsi
movl $0x52, %edx
callq 0x1d8f3
movslq 0x2c(%r14), %r12
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x1d8f3
movq 0x20(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d955
movl 0x4(%r15), %edx
movl %edx, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d8f3
movq %rbx, %rdi
movq %r14, %rsi
movl $0x51, %edx
callq 0x1d8f3
movslq 0x2c(%r14), %r13
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x1d8f3
movl 0x2c(%r14), %eax
cmpl $0x10000, %eax          # imm = 0x10000
jae 0x1e6a2
movq 0x20(%r14), %rcx
movw %ax, (%rcx,%r12,2)
movq 0x18(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d955
movl 0x2c(%r14), %eax
cmpl $0x10000, %eax          # imm = 0x10000
jae 0x1e6a2
movq 0x20(%r14), %rcx
movw %ax, (%rcx,%r13,2)
jmp 0x1e3d5
movl 0x2c(%r14), %ebp
movq 0x10(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d955
movl 0x2c(%r14), %r12d
movq 0x18(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1e792
movl 0x4(%r15), %eax
movl %eax, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
movl $0x52, %edx
movl %ebp, %ecx
callq 0x1efc6
jmp 0x1e1b1
movq 0x10(%r15), %rdx
testq %rdx, %rdx
je 0x1e323
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d64b
movq 0x8(%r15), %r12
movq 0x10(%r15), %rax
movq 0x38(%rax), %r13
testq %r12, %r12
je 0x1dfa8
movl $0x38002, %ebp          # imm = 0x38002
movl (%r12), %eax
cmpl $0x11, %eax
ja 0x1df74
btl %eax, %ebp
jb 0x1dfa8
testq %r13, %r13
je 0x1df8c
movq 0x8(%r12), %rdi
movq %r13, %rsi
callq 0x203ae
testl %eax, %eax
je 0x1df9e
jmp 0x1dfab
addl $-0x4b, %eax
cmpl $0xa, %eax
ja 0x1df9e
movl $0x43f, %ecx            # imm = 0x43F
btl %eax, %ecx
jb 0x1dfab
movq 0x8(%r12), %r12
testq %r12, %r12
jne 0x1df66
xorl %r12d, %r12d
testq %r12, %r12
jne 0x1e367
leaq 0x15f8a(%rip), %rdx     # 0x33f45
movq %rbx, %rdi
movq %r15, %rsi
movq %r13, %rcx
xorl %eax, %eax
callq 0x8de3
movq 0x10(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
testq %rdx, %rdx
je 0x1e3e4
callq 0x1e792
jmp 0x1e3ee
movl 0x2c(%r14), %ebp
movq 0x10(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1e792
movl 0x4(%r15), %edx
movl %edx, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d8f3
movq %rbx, %rdi
movq %r14, %rsi
movl $0x53, %edx
callq 0x1d8f3
movslq 0x2c(%r14), %r12
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x1d8f3
movq 0x18(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d955
movl 0x4(%r15), %eax
movl %eax, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
movl $0x51, %edx
movl %ebp, %ecx
callq 0x1efc6
movl 0x2c(%r14), %ecx
cmpl $0x10000, %ecx          # imm = 0x10000
jae 0x1e6a2
movq 0x20(%r14), %rax
movw %cx, (%rax,%r12,2)
jmp 0x1e674
movq 0x10(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1e70f
movl 0x2c(%r14), %ebp
movq 0x18(%r15), %rdx
testq %rdx, %rdx
je 0x1e132
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1e792
movl 0x4(%r15), %edx
movl %edx, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d8f3
movq %rbx, %rdi
movq %r14, %rsi
movl $0x53, %edx
callq 0x1d8f3
movl 0x2c(%r14), %r13d
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x1d8f3
jmp 0x1e135
movq 0x18(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d955
movl (%r15), %eax
cmpl $0x59, %eax
jne 0x1e0f4
movq 0x18(%r15), %r15
jmp 0x1e0e6
addl $-0x4b, %eax
cmpl $0xa, %eax
ja 0x1e531
movl $0x43f, %ecx            # imm = 0x43F
btl %eax, %ecx
jb 0x1e3d5
jmp 0x1e531
movl %edx, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d8f3
movq %rbx, %rdi
movq %r14, %rsi
movl $0x50, %edx
jmp 0x1e44f
xorl %r13d, %r13d
movq 0x28(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d955
movl 0x2c(%r14), %r12d
movq 0x20(%r15), %rdx
testq %rdx, %rdx
je 0x1e178
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1e792
movl 0x5c(%r14), %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d8f3
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x1d8f3
movl 0x4(%r15), %eax
movl %eax, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
movl $0x51, %edx
movl %ebp, %ecx
callq 0x1efc6
testl %r13d, %r13d
je 0x1e1b1
movl 0x2c(%r14), %eax
cmpl $0x10000, %eax          # imm = 0x10000
jae 0x1e6a2
movq 0x20(%r14), %rcx
movslq %r13d, %rdx
movw %ax, (%rcx,%rdx,2)
movl 0x2c(%r14), %ecx
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
movl %r12d, %r8d
jmp 0x1e680
movl $0x0, 0xc(%r14)
movq 0x10(%r15), %rdx
movq 0x28(%r15), %r9
movq %rbx, %rdi
movq %r14, %rsi
addq $0x8, %rsp
testq %r9, %r9
je 0x1e693
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1f2ac
movq 0x8(%r15), %r12
testq %r12, %r12
je 0x1e226
movl $0x38002, %eax          # imm = 0x38002
movl (%r12), %ecx
cmpl $0x11, %ecx
ja 0x1e214
btl %ecx, %eax
jb 0x1e226
addl $-0x51, %ecx
cmpl $-0x7, %ecx
ja 0x1e229
movq 0x8(%r12), %r12
testq %r12, %r12
jne 0x1e206
xorl %r12d, %r12d
testq %r12, %r12
je 0x1e6ee
movq %rbx, %rdi
movq %r14, %rsi
movl $0x51, %edx
movq %r15, %rcx
movq %r12, %r8
callq 0x1f0ba
movl 0x4(%r15), %edx
movl %edx, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d8f3
movq %rbx, %rdi
movq %r14, %rsi
movl $0x51, %edx
callq 0x1d8f3
movl 0x2c(%r14), %ebp
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x1d8f3
movq %rbx, %rdi
movl $0x10, %esi
callq 0xe119
movl $0x51, (%rax)
jmp 0x1e3c4
movq $0x0, (%rsp)
movl 0x5c(%r14), %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d8f3
xorl %r12d, %r12d
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x1d8f3
movq (%rsp), %r13
testq %r13, %r13
je 0x1e493
movl 0x4(%r13), %eax
movl %eax, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
movl $0x51, %edx
callq 0x1ef8b
movl %eax, 0x48(%r13)
jmp 0x1e50d
movl $0x53, %edx
callq 0x1ef8b
movl %eax, %ebp
movq 0x18(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d955
movl 0x2c(%r14), %eax
cmpl $0x10000, %eax          # imm = 0x10000
jae 0x1e6a2
movq 0x20(%r14), %rcx
movslq %ebp, %rdx
movw %ax, (%rcx,%rdx,2)
jmp 0x1e3d5
movq 0x8(%r15), %r12
testq %r12, %r12
je 0x1e35b
movl $0x38002, %eax          # imm = 0x38002
movl $0x43f, %ecx            # imm = 0x43F
movl (%r12), %edx
leal -0x4b(%rdx), %esi
cmpl $0xa, %esi
ja 0x1e347
btl %esi, %ecx
jb 0x1e35e
cmpl $0x11, %edx
ja 0x1e351
btl %edx, %eax
jb 0x1e35b
movq 0x8(%r12), %r12
testq %r12, %r12
jne 0x1e336
xorl %r12d, %r12d
testq %r12, %r12
je 0x1e6f7
movq %rbx, %rdi
movq %r14, %rsi
movl $0x52, %edx
movq %r15, %rcx
movq %r12, %r8
callq 0x1f0ba
movl 0x4(%r15), %edx
movl %edx, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d8f3
movq %rbx, %rdi
movq %r14, %rsi
movl $0x51, %edx
callq 0x1d8f3
movl 0x2c(%r14), %ebp
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x1d8f3
movq %rbx, %rdi
movl $0x10, %esi
callq 0xe119
movl $0x52, (%rax)
movl %ebp, 0x4(%rax)
movq 0x40(%r12), %rcx
movq %rcx, 0x8(%rax)
movq %rax, 0x40(%r12)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0xd, %edx
callq 0x1d6c4
movq 0x8(%r15), %r8
testq %r8, %r8
je 0x1e412
movl $0x38002, %eax          # imm = 0x38002
movl (%r8), %ecx
cmpl $0x11, %ecx
ja 0x1e409
btl %ecx, %eax
jb 0x1e415
movq 0x8(%r8), %r8
testq %r8, %r8
jne 0x1e3fc
xorl %r8d, %r8d
testq %r8, %r8
je 0x1e6e5
movq %rbx, %rdi
movq %r14, %rsi
movl $0x53, %edx
movq %r15, %rcx
callq 0x1f0ba
movl 0x4(%r15), %edx
movl %edx, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d8f3
movq %rbx, %rdi
movq %r14, %rsi
movl $0x54, %edx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1d8f3
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x1e792
movl 0x4(%r15), %eax
movl %eax, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1d6c4
movq %rbx, %rdi
movq %r14, %rsi
movl $0x51, %edx
callq 0x1ef8b
movl %eax, %r12d
jmp 0x1e50d
movl 0x2c(%r14), %ecx
cmpl $0x10000, %ecx          # imm = 0x10000
jae 0x1e6a2
movq 0x10(%rbp), %rax
movslq 0x48(%rax), %rdx
movq 0x20(%r14), %rsi
movw %cx, (%rsi,%rdx,2)
cmpl $0x5b, (%rax)
jne 0x1e4eb
movq 0x10(%rax), %r13
testq %r13, %r13
je 0x1e509
movq 0x10(%r13), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d955
movq 0x18(%r13), %r13
jmp 0x1e4d1
movq 0x18(%rax), %r13
testq %r13, %r13
je 0x1e509
movq 0x10(%r13), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d955
movq 0x18(%r13), %r13
jmp 0x1e4ef
movq 0x18(%rbp), %rbp
testq %rbp, %rbp
jne 0x1e4a8
testl %r12d, %r12d
je 0x1e531
movl 0x2c(%r14), %eax
cmpl $0x10000, %eax          # imm = 0x10000
jae 0x1e6a2
movq 0x20(%r14), %rcx
movslq %r12d, %rdx
movw %ax, (%rcx,%rdx,2)
movl 0x2c(%r14), %ecx
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
xorl %r8d, %r8d
jmp 0x1e680
movq 0x10(%r12), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1e792
movq 0x18(%r12), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1e792
movl 0x4(%r12), %eax
movl %eax, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
movl $0x4, %edx
callq 0x1d6c4
movq %rbx, %rdi
movq %r14, %rsi
movl $0x22, %edx
callq 0x1d6c4
jmp 0x1e5d3
movq 0x10(%r12), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1e792
movl 0x4(%r12), %eax
movl %eax, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
movl $0x3, %edx
callq 0x1d6c4
movq 0x18(%r12), %rax
movq 0x38(%rax), %rcx
movq %rbx, %rdi
movq %r14, %rsi
movl $0x23, %edx
callq 0x1f7fe
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x1d6c4
cmpl $0x0, 0x8(%r14)
je 0x1e636
movl 0x5c(%r14), %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d8f3
movq %rbx, %rdi
movq %r14, %rsi
movl $0x3, %edx
callq 0x1d8f3
movq 0x20(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d955
movl 0x5c(%r14), %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d8f3
movq %rbx, %rdi
movq %r14, %rsi
movl $0x3, %edx
callq 0x1d8f3
jmp 0x1e645
movq 0x20(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d955
movl 0x4(%r15), %eax
movl %eax, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
movl $0x51, %edx
movl %ebp, %ecx
callq 0x1efc6
movl 0x2c(%r14), %ecx
cmpl $0x10000, %ecx          # imm = 0x10000
jae 0x1e6a2
movq 0x20(%r14), %rax
movw %cx, (%rax,%r13,2)
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
movl %ebp, %r8d
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1f01e
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1f4f5
leaq 0x15aa1(%rip), %rsi     # 0x3414a
movq %rbx, %rdi
xorl %eax, %eax
callq 0xcc25
leaq 0x15b08(%rip), %rdx     # 0x341c2
movq %rbx, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq 0x8de3
leaq 0x15913(%rip), %rax     # 0x33fe1
movq %rbx, %rdi
movq %rdx, %rsi
movq %rax, %rdx
jmp 0x1e6c0
leaq 0x15a88(%rip), %rdx     # 0x34168
movq %rbx, %rdi
jmp 0x1e6c0
leaq 0x158de(%rip), %rdx     # 0x33fca
jmp 0x1e6fe
leaq 0x158b8(%rip), %rdx     # 0x33fad
jmp 0x1e6fe
leaq 0x15862(%rip), %rdx     # 0x33f60
movq %rbx, %rdi
movq %r15, %rsi
jmp 0x1e6c0
leaq 0x15a8b(%rip), %rdx     # 0x34198
jmp 0x1e6ba