// File: /workspace/github_c_makefile_star2_O3/ArtifexSoftware[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 0xe292(%rip), %r13      # 0x2b9e0
movl 0x4(%r15), %edx
movl %edx, 0x5c(%r14)
movl (%r15), %eax
leal -0x47(%rax), %ecx
cmpl $0x12, %ecx
ja 0x1d903
movslq (%r13,%rcx,4), %rax
addq %r13, %rax
jmpq *%rax
movq 0x18(%r15), %rcx
testq %rcx, %rcx
je 0x1d785
movq 0x20(%r15), %r8
testq %r8, %r8
jne 0x1df9a
movq 0x10(%r15), %r12
movq 0x28(%r15), %r15
movq %rbx, %rdi
movq %r14, %rsi
movl $0x4a, %edx
callq 0x1ed52
movl %eax, %ebp
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x1d733
movl 0x5c(%r14), %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d6ca
movq %rbx, %rdi
movq %r14, %rsi
movl $0x49, %edx
callq 0x1d6ca
movl 0x2c(%r14), %eax
cmpl $0x10000, %eax          # imm = 0x10000
jae 0x1e47b
movq 0x20(%r14), %rcx
movslq %ebp, %rdx
movw %ax, (%rcx,%rdx,2)
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x1d733
movl 0x5c(%r14), %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d6ca
movq %rbx, %rdi
movq %r14, %rsi
movl $0x4b, %edx
callq 0x1d6ca
jmp 0x1d74e
movq 0x18(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1e54e
movl 0x4(%r15), %edx
movl %edx, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d6ca
movq %rbx, %rdi
movq %r14, %rsi
movl $0x26, %edx
callq 0x1d6ca
movl 0x2c(%r14), %ebp
movl 0x4(%r15), %edx
movl %edx, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d6ca
movq %rbx, %rdi
movq %r14, %rsi
movl $0x27, %edx
callq 0x1d6ca
movl 0x5c(%r14), %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d6ca
movq %rbx, %rdi
movq %r14, %rsi
movl $0x53, %edx
callq 0x1d6ca
movslq 0x2c(%r14), %r13
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x1d6ca
movq 0x10(%r15), %r12
cmpl $0x50, (%r15)
jne 0x1db74
movq 0x18(%r12), %rsi
testq %rsi, %rsi
jne 0x1e4b3
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 0x1f447
movl 0x5c(%r14), %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d6ca
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x1d6ca
jmp 0x1e3b9
cmpl $0x1, %eax
je 0x1e1b1
cmpl $0x0, 0x8(%r14)
je 0x1e23e
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d6ca
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x1d6ca
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 0x1e54e
movq 0x10(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1e54e
movl 0x4(%r15), %edx
movl %edx, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d6ca
movq %rbx, %rdi
movq %r14, %rsi
movl $0x49, %edx
jmp 0x1e22b
movq 0x10(%r15), %rdx
testq %rdx, %rdx
je 0x1dfcc
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d3df
movq 0x8(%r15), %r12
movq 0x10(%r15), %rax
movq 0x38(%rax), %r13
testq %r12, %r12
je 0x1d9f1
movl (%r12), %eax
cmpl $0x11, %eax
ja 0x1d9b9
movl $0x38002, %ecx          # imm = 0x38002
btl %eax, %ecx
jb 0x1d9f1
addl $-0x51, %eax
cmpl $-0x7, %eax
ja 0x1d9c8
movq 0x8(%r12), %rbp
jmp 0x1d9e9
testq %r13, %r13
je 0x1e00e
movq 0x8(%r12), %rbp
movq %rbp, %rdi
movq %r13, %rsi
callq 0x2013e
testl %eax, %eax
jne 0x1e00e
movq %rbp, %r12
testq %rbp, %rbp
jne 0x1d9a6
leaq 0x165c7(%rip), %rdx     # 0x33fbf
jmp 0x1dd96
movl $0x0, 0xc(%r14)
cmpl $0x0, 0x10(%r14)
movq 0x10(%r15), %rdx
jne 0x1e49e
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1e54e
movl 0x4(%r15), %edx
movl %edx, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d6ca
movq %rbx, %rdi
movq %r14, %rsi
movl $0x4e, %edx
callq 0x1d6ca
movq 0x18(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d733
movl 0x4(%r15), %edx
movl %edx, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d6ca
movq %rbx, %rdi
movq %r14, %rsi
movl $0x4f, %edx
jmp 0x1e22b
cmpl $0x0, 0x8(%r14)
je 0x1e1b1
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d6ca
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x1d6ca
movl 0x5c(%r14), %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d6ca
movq %rbx, %rdi
movq %r14, %rsi
movl $0xd, %edx
jmp 0x1e22b
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 0x1e4cb
movq 0x10(%r15), %rdx
movq 0x18(%r15), %rbp
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1e54e
testq %rbp, %rbp
je 0x1e070
movq $0x0, (%rsp)
movq %rbp, %r13
movq 0x10(%r13), %r12
cmpl $0x5b, (%r12)
jne 0x1db16
cmpq $0x0, (%rsp)
jne 0x1e48c
movq %r12, (%rsp)
jmp 0x1db44
movq 0x10(%r12), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1e54e
movl 0x4(%r12), %eax
movl %eax, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
movl $0x44, %edx
callq 0x1ed52
movl %eax, 0x48(%r12)
movq 0x18(%r13), %r13
testq %r13, %r13
jne 0x1dafa
jmp 0x1e078
movq 0x10(%r15), %r15
testq %r15, %r15
je 0x1e1b1
movq 0x10(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d733
movq 0x18(%r15), %r15
jmp 0x1db56
movl (%r12), %eax
cmpl $0x13, %eax
je 0x1e36a
cmpl $0x12, %eax
je 0x1e31f
cmpl $0x3, %eax
jne 0x1e4c2
movl 0x4(%r12), %eax
movl %eax, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
movl $0x14, %edx
movl $0x18, %ecx
movq %r12, %r8
callq 0x1f447
jmp 0x1e3ac
movq 0x10(%r15), %rdx
testq %rdx, %rdx
je 0x1de60
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1e54e
movl 0x5c(%r14), %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d6ca
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x1d6ca
jmp 0x1de60
movq 0x20(%r15), %r12
movq 0x10(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1e54e
movl 0x4(%r15), %edx
movl %edx, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
testq %r12, %r12
je 0x1e0c5
callq 0x1d6ca
movq %rbx, %rdi
movq %r14, %rsi
movl $0x52, %edx
callq 0x1d6ca
movslq 0x2c(%r14), %r12
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x1d6ca
movq 0x20(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d733
movl 0x4(%r15), %edx
movl %edx, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d6ca
movq %rbx, %rdi
movq %r14, %rsi
movl $0x51, %edx
callq 0x1d6ca
movslq 0x2c(%r14), %r13
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x1d6ca
movl 0x2c(%r14), %eax
cmpl $0x10000, %eax          # imm = 0x10000
jae 0x1e47b
movq 0x20(%r14), %rcx
movw %ax, (%rcx,%r12,2)
movq 0x18(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d733
movl 0x2c(%r14), %eax
cmpl $0x10000, %eax          # imm = 0x10000
jae 0x1e47b
movq 0x20(%r14), %rcx
movw %ax, (%rcx,%r13,2)
jmp 0x1e1b1
movl 0x2c(%r14), %ebp
movq 0x10(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d733
movl 0x2c(%r14), %r12d
movq 0x18(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1e54e
movl 0x4(%r15), %eax
movl %eax, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
movl $0x52, %edx
movl %ebp, %ecx
callq 0x1ed8d
movl 0x2c(%r14), %ecx
jmp 0x1df89
movq 0x10(%r15), %rdx
testq %rdx, %rdx
je 0x1e0ff
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d3df
movq 0x8(%r15), %r12
movq 0x10(%r15), %rax
movq 0x38(%rax), %r13
testq %r12, %r12
je 0x1dd8f
movl (%r12), %eax
cmpl $0x11, %eax
ja 0x1dd4e
movl $0x38002, %ecx          # imm = 0x38002
btl %eax, %ecx
jb 0x1dd8f
testq %r13, %r13
je 0x1dd6c
movq 0x8(%r12), %rbp
movq %rbp, %rdi
movq %r13, %rsi
callq 0x2013e
testl %eax, %eax
je 0x1dd87
jmp 0x1e143
addl $-0x4b, %eax
cmpl $0xa, %eax
ja 0x1dd82
movl $0x43f, %ecx            # imm = 0x43F
btl %eax, %ecx
jb 0x1e143
movq 0x8(%r12), %rbp
movq %rbp, %r12
testq %rbp, %rbp
jne 0x1dd3b
leaq 0x161df(%rip), %rdx     # 0x33f75
movq %rbx, %rdi
movq %r15, %rsi
movq %r13, %rcx
xorl %eax, %eax
callq 0x8d38
movq 0x10(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
testq %rdx, %rdx
je 0x1e1c0
callq 0x1e54e
jmp 0x1e1ca
movl 0x2c(%r14), %ebp
movq 0x10(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1e54e
movl 0x4(%r15), %edx
movl %edx, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d6ca
movq %rbx, %rdi
movq %r14, %rsi
movl $0x53, %edx
callq 0x1d6ca
movslq 0x2c(%r14), %r12
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x1d6ca
movq 0x18(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d733
movl 0x4(%r15), %eax
movl %eax, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
movl $0x51, %edx
movl %ebp, %ecx
callq 0x1ed8d
movl 0x2c(%r14), %ecx
cmpl $0x10000, %ecx          # imm = 0x10000
jae 0x1e47b
movq 0x20(%r14), %rax
movw %cx, (%rax,%r12,2)
jmp 0x1e44d
movq 0x10(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1e4cb
movl 0x2c(%r14), %ebp
movq 0x18(%r15), %rdx
testq %rdx, %rdx
je 0x1df09
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1e54e
movl 0x4(%r15), %edx
movl %edx, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d6ca
movq %rbx, %rdi
movq %r14, %rsi
movl $0x53, %edx
callq 0x1d6ca
movl 0x2c(%r14), %r13d
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x1d6ca
jmp 0x1df0c
movq 0x18(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d733
movl (%r15), %eax
cmpl $0x59, %eax
jne 0x1decf
movq 0x18(%r15), %r15
jmp 0x1dec1
addl $-0x4b, %eax
cmpl $0xa, %eax
ja 0x1dee5
movl $0x43f, %ecx            # imm = 0x43F
btl %eax, %ecx
jb 0x1e1b1
movl 0x2c(%r14), %ecx
jmp 0x1e30e
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d6ca
movq %rbx, %rdi
movq %r14, %rsi
movl $0x50, %edx
jmp 0x1e22b
xorl %r13d, %r13d
movq 0x28(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d733
movl 0x2c(%r14), %r12d
movq 0x20(%r15), %rdx
testq %rdx, %rdx
je 0x1df4f
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1e54e
movl 0x5c(%r14), %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d6ca
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x1d6ca
movl 0x4(%r15), %eax
movl %eax, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
movl $0x51, %edx
movl %ebp, %ecx
callq 0x1ed8d
movl 0x2c(%r14), %ecx
testl %r13d, %r13d
je 0x1df89
cmpl $0x10000, %ecx          # imm = 0x10000
jae 0x1e47b
movq 0x20(%r14), %rax
movslq %r13d, %rdx
movw %cx, (%rax,%rdx,2)
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
movl %r12d, %r8d
jmp 0x1e459
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 0x1e46c
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1f067
movq 0x8(%r15), %r12
testq %r12, %r12
je 0x1dffa
movl $0x38002, %eax          # imm = 0x38002
movl (%r12), %ecx
cmpl $0x11, %ecx
ja 0x1dfe8
btl %ecx, %eax
jb 0x1dffa
addl $-0x51, %ecx
cmpl $-0x7, %ecx
ja 0x1e00e
movq 0x8(%r12), %r12
testq %r12, %r12
jne 0x1dfda
leaq 0x15fdc(%rip), %rdx     # 0x33fdd
movq %rbx, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x8d38
movq %rbx, %rdi
movq %r14, %rsi
movl $0x51, %edx
movq %r15, %rcx
movq %r12, %r8
callq 0x1ee75
movl 0x4(%r15), %edx
movl %edx, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d6ca
movq %rbx, %rdi
movq %r14, %rsi
movl $0x51, %edx
callq 0x1d6ca
movl 0x2c(%r14), %ebp
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x1d6ca
movq %rbx, %rdi
movl $0x10, %esi
callq 0xde05
movl $0x51, (%rax)
jmp 0x1e1a0
movq $0x0, (%rsp)
movl 0x5c(%r14), %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d6ca
xorl %r12d, %r12d
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x1d6ca
movq (%rsp), %r13
testq %r13, %r13
je 0x1e26f
movl 0x4(%r13), %eax
movl %eax, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
movl $0x51, %edx
callq 0x1ed52
movl %eax, 0x48(%r13)
jmp 0x1e2e9
movl $0x53, %edx
callq 0x1ed52
movl %eax, %ebp
movq 0x18(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d733
movl 0x2c(%r14), %eax
cmpl $0x10000, %eax          # imm = 0x10000
jae 0x1e47b
movq 0x20(%r14), %rcx
movslq %ebp, %rdx
movw %ax, (%rcx,%rdx,2)
jmp 0x1e1b1
movq 0x8(%r15), %r12
testq %r12, %r12
je 0x1e137
movl $0x38002, %eax          # imm = 0x38002
movl $0x43f, %ecx            # imm = 0x43F
movl (%r12), %edx
leal -0x4b(%rdx), %esi
cmpl $0xa, %esi
ja 0x1e123
btl %esi, %ecx
jb 0x1e143
cmpl $0x11, %edx
ja 0x1e12d
btl %edx, %eax
jb 0x1e137
movq 0x8(%r12), %r12
testq %r12, %r12
jne 0x1e112
leaq 0x15e52(%rip), %rdx     # 0x33f90
jmp 0x1e001
movq %rbx, %rdi
movq %r14, %rsi
movl $0x52, %edx
movq %r15, %rcx
movq %r12, %r8
callq 0x1ee75
movl 0x4(%r15), %edx
movl %edx, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d6ca
movq %rbx, %rdi
movq %r14, %rsi
movl $0x51, %edx
callq 0x1d6ca
movl 0x2c(%r14), %ebp
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x1d6ca
movq %rbx, %rdi
movl $0x10, %esi
callq 0xde05
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 0x1d4a6
movq 0x8(%r15), %r8
testq %r8, %r8
je 0x1e1ee
movl $0x38002, %eax          # imm = 0x38002
movl (%r8), %ecx
cmpl $0x11, %ecx
ja 0x1e1e5
btl %ecx, %eax
jb 0x1e1fa
movq 0x8(%r8), %r8
testq %r8, %r8
jne 0x1e1d8
leaq 0x15e05(%rip), %rdx     # 0x33ffa
jmp 0x1e001
movq %rbx, %rdi
movq %r14, %rsi
movl $0x53, %edx
movq %r15, %rcx
callq 0x1ee75
movl 0x4(%r15), %edx
movl %edx, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d6ca
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 0x1d6ca
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x1e54e
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 0x1d4a6
movq %rbx, %rdi
movq %r14, %rsi
movl $0x51, %edx
callq 0x1ed52
movl %eax, %r12d
jmp 0x1e2e9
movl 0x2c(%r14), %ecx
cmpl $0x10000, %ecx          # imm = 0x10000
jae 0x1e47b
movq 0x10(%rbp), %rax
movslq 0x48(%rax), %rdx
movq 0x20(%r14), %rsi
movw %cx, (%rsi,%rdx,2)
cmpl $0x5b, (%rax)
jne 0x1e2c7
movq 0x10(%rax), %r13
testq %r13, %r13
je 0x1e2e5
movq 0x10(%r13), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d733
movq 0x18(%r13), %r13
jmp 0x1e2ad
movq 0x18(%rax), %r13
testq %r13, %r13
je 0x1e2e5
movq 0x10(%r13), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d733
movq 0x18(%r13), %r13
jmp 0x1e2cb
movq 0x18(%rbp), %rbp
testq %rbp, %rbp
jne 0x1e284
movl 0x2c(%r14), %ecx
testl %r12d, %r12d
je 0x1e30e
cmpl $0x10000, %ecx          # imm = 0x10000
jae 0x1e47b
movq 0x20(%r14), %rax
movslq %r12d, %rdx
movw %cx, (%rax,%rdx,2)
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
xorl %r8d, %r8d
jmp 0x1e459
movq 0x10(%r12), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1e54e
movq 0x18(%r12), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1e54e
movl 0x4(%r12), %eax
movl %eax, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
movl $0x4, %edx
callq 0x1d4a6
movq %rbx, %rdi
movq %r14, %rsi
movl $0x22, %edx
callq 0x1d4a6
jmp 0x1e3ac
movq 0x10(%r12), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1e54e
movl 0x4(%r12), %eax
movl %eax, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
movl $0x3, %edx
callq 0x1d4a6
movq 0x18(%r12), %rax
movq 0x38(%rax), %rcx
movq %rbx, %rdi
movq %r14, %rsi
movl $0x23, %edx
callq 0x1f56f
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x1d4a6
cmpl $0x0, 0x8(%r14)
je 0x1e40f
movl 0x5c(%r14), %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d6ca
movq %rbx, %rdi
movq %r14, %rsi
movl $0x3, %edx
callq 0x1d6ca
movq 0x20(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d733
movl 0x5c(%r14), %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d6ca
movq %rbx, %rdi
movq %r14, %rsi
movl $0x3, %edx
callq 0x1d6ca
jmp 0x1e41e
movq 0x20(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d733
movl 0x4(%r15), %eax
movl %eax, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
movl $0x51, %edx
movl %ebp, %ecx
callq 0x1ed8d
movl 0x2c(%r14), %ecx
cmpl $0x10000, %ecx          # imm = 0x10000
jae 0x1e47b
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 0x1ede5
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1f2b1
leaq 0x15cf8(%rip), %rsi     # 0x3417a
movq %rbx, %rdi
xorl %eax, %eax
callq 0xc952
leaq 0x15d5f(%rip), %rdx     # 0x341f2
movq %rbx, %rdi
movq %r12, %rsi
jmp 0x1e007
leaq 0x15b6c(%rip), %rax     # 0x34011
movq %rbx, %rdi
movq %rdx, %rsi
movq %rax, %rdx
jmp 0x1e007
leaq 0x15cde(%rip), %rdx     # 0x34198
movq %rbx, %rdi
jmp 0x1e007
leaq 0x15cff(%rip), %rdx     # 0x341c8
jmp 0x1e493