// File: /workspace/github_c_makefile_star2_O1/Ihsoh[P]ilang/compiler/assembler/enc.c
// Function: eval_expr
static void _eval_expr(
	ParserContext *ctx,
	ParserASTNode *node,
	AsmExprEvalResult *result
) {
	assert(ctx);
	assert(node);
	assert(result);

	switch (node->type) {
		case ASM_NODE_EXPR_OR: {
			assert(node->nchilds == 2);
			
			AsmExprEvalResult oprd1;
			_expect_integer(ctx, node->childs[0], &oprd1);

			AsmExprEvalResult oprd2;
			_expect_integer(ctx, node->childs[1], &oprd2);

			result->type = ASM_EXPR_EVAL_RESULT_TYPE_UINT64;
			result->value.u64 = oprd1.value.u64 || oprd2.value.u64;
			break;
		}

		case ASM_NODE_EXPR_AND: {
			assert(node->nchilds == 2);
			
			AsmExprEvalResult oprd1;
			_expect_integer(ctx, node->childs[0], &oprd1);

			AsmExprEvalResult oprd2;
			_expect_integer(ctx, node->childs[1], &oprd2);

			result->type = ASM_EXPR_EVAL_RESULT_TYPE_UINT64;
			result->value.u64 = oprd1.value.u64 && oprd2.value.u64;
			break;
		}

		case ASM_NODE_EXPR_BOR: {
			assert(node->nchilds == 2);

			AsmExprEvalResult oprd1;
			_expect_integer(ctx, node->childs[0], &oprd1);

			AsmExprEvalResult oprd2;
			_expect_integer(ctx, node->childs[1], &oprd2);

			result->type = ASM_EXPR_EVAL_RESULT_TYPE_UINT64;
			result->value.u64 = oprd1.value.u64 | oprd2.value.u64;
			break;
		}

		case ASM_NODE_EXPR_BXOR: {
			assert(node->nchilds == 2);

			AsmExprEvalResult oprd1;
			_expect_integer(ctx, node->childs[0], &oprd1);

			AsmExprEvalResult oprd2;
			_expect_integer(ctx, node->childs[1], &oprd2);

			result->type = ASM_EXPR_EVAL_RESULT_TYPE_UINT64;
			result->value.u64 = oprd1.value.u64 ^ oprd2.value.u64;
			break;
		}

		case ASM_NODE_EXPR_BAND: {
			assert(node->nchilds == 2);

			AsmExprEvalResult oprd1;
			_expect_integer(ctx, node->childs[0], &oprd1);

			AsmExprEvalResult oprd2;
			_expect_integer(ctx, node->childs[1], &oprd2);

			result->type = ASM_EXPR_EVAL_RESULT_TYPE_UINT64;
			result->value.u64 = oprd1.value.u64 & oprd2.value.u64;
			break;
		}

		case ASM_NODE_EXPR_EQ: {
			assert(node->nchilds == 2);

			AsmExprEvalResult oprd1;
			_expect_integer(ctx, node->childs[0], &oprd1);

			AsmExprEvalResult oprd2;
			_expect_integer(ctx, node->childs[1], &oprd2);

			result->type = ASM_EXPR_EVAL_RESULT_TYPE_UINT64;
			result->value.u64 = oprd1.value.u64 == oprd2.value.u64;
			break;
		}

		case ASM_NODE_EXPR_NEQ: {
			assert(node->nchilds == 2);

			AsmExprEvalResult oprd1;
			_expect_integer(ctx, node->childs[0], &oprd1);

			AsmExprEvalResult oprd2;
			_expect_integer(ctx, node->childs[1], &oprd2);

			result->type = ASM_EXPR_EVAL_RESULT_TYPE_UINT64;
			result->value.u64 = oprd1.value.u64 != oprd2.value.u64;
			break;
		}

		case ASM_NODE_EXPR_LT: {
			assert(node->nchilds == 2);

			AsmExprEvalResult oprd1;
			_expect_integer(ctx, node->childs[0], &oprd1);

			AsmExprEvalResult oprd2;
			_expect_integer(ctx, node->childs[1], &oprd2);

			result->type = ASM_EXPR_EVAL_RESULT_TYPE_UINT64;
			result->value.u64 = oprd1.value.u64 < oprd2.value.u64;
			break;
		}

		case ASM_NODE_EXPR_LE: {
			assert(node->nchilds == 2);

			AsmExprEvalResult oprd1;
			_expect_integer(ctx, node->childs[0], &oprd1);

			AsmExprEvalResult oprd2;
			_expect_integer(ctx, node->childs[1], &oprd2);

			result->type = ASM_EXPR_EVAL_RESULT_TYPE_UINT64;
			result->value.u64 = oprd1.value.u64 <= oprd2.value.u64;
			break;
		}

		case ASM_NODE_EXPR_GT: {
			assert(node->nchilds == 2);

			AsmExprEvalResult oprd1;
			_expect_integer(ctx, node->childs[0], &oprd1);

			AsmExprEvalResult oprd2;
			_expect_integer(ctx, node->childs[1], &oprd2);

			result->type = ASM_EXPR_EVAL_RESULT_TYPE_UINT64;
			result->value.u64 = oprd1.value.u64 > oprd2.value.u64;
			break;
		}

		case ASM_NODE_EXPR_GE: {
			assert(node->nchilds == 2);

			AsmExprEvalResult oprd1;
			_expect_integer(ctx, node->childs[0], &oprd1);

			AsmExprEvalResult oprd2;
			_expect_integer(ctx, node->childs[1], &oprd2);

			result->type = ASM_EXPR_EVAL_RESULT_TYPE_UINT64;
			result->value.u64 = oprd1.value.u64 >= oprd2.value.u64;
			break;
		}

		case ASM_NODE_EXPR_SHIFT_LEFT: {
			assert(node->nchilds == 2);

			AsmExprEvalResult oprd1;
			_expect_integer(ctx, node->childs[0], &oprd1);

			AsmExprEvalResult oprd2;
			_expect_integer(ctx, node->childs[1], &oprd2);

			result->type = ASM_EXPR_EVAL_RESULT_TYPE_UINT64;
			result->value.u64 = oprd1.value.u64 << oprd2.value.u64;
			break;
		}

		case ASM_NODE_EXPR_SHIFT_RIGHT: {
			assert(node->nchilds == 2);

			AsmExprEvalResult oprd1;
			_expect_integer(ctx, node->childs[0], &oprd1);

			AsmExprEvalResult oprd2;
			_expect_integer(ctx, node->childs[1], &oprd2);

			result->type = ASM_EXPR_EVAL_RESULT_TYPE_UINT64;
			result->value.u64 = oprd1.value.u64 >> oprd2.value.u64;
			break;
		}

		case ASM_NODE_EXPR_ADD: {
			assert(node->nchilds == 2);

			AsmExprEvalResult oprd1;
			_expect_integer(ctx, node->childs[0], &oprd1);

			AsmExprEvalResult oprd2;
			_expect_integer(ctx, node->childs[1], &oprd2);

			result->type = ASM_EXPR_EVAL_RESULT_TYPE_UINT64;
			result->value.u64 = oprd1.value.u64 + oprd2.value.u64;
			break;
		}

		case ASM_NODE_EXPR_SUB: {
			assert(node->nchilds == 2);

			AsmExprEvalResult oprd1;
			_expect_integer(ctx, node->childs[0], &oprd1);

			AsmExprEvalResult oprd2;
			_expect_integer(ctx, node->childs[1], &oprd2);

			result->type = ASM_EXPR_EVAL_RESULT_TYPE_UINT64;
			result->value.u64 = oprd1.value.u64 - oprd2.value.u64;
			break;
		}

		case ASM_NODE_EXPR_MUL: {
			assert(node->nchilds == 2);

			AsmExprEvalResult oprd1;
			_expect_integer(ctx, node->childs[0], &oprd1);

			AsmExprEvalResult oprd2;
			_expect_integer(ctx, node->childs[1], &oprd2);

			result->type = ASM_EXPR_EVAL_RESULT_TYPE_UINT64;
			result->value.u64 = oprd1.value.u64 * oprd2.value.u64;
			break;
		}

		case ASM_NODE_EXPR_DIV: {
			assert(node->nchilds == 2);

			AsmExprEvalResult oprd1;
			_expect_integer(ctx, node->childs[0], &oprd1);

			AsmExprEvalResult oprd2;
			_expect_integer(ctx, node->childs[1], &oprd2);

			result->type = ASM_EXPR_EVAL_RESULT_TYPE_UINT64;
			result->value.u64 = oprd1.value.u64 / oprd2.value.u64;
			break;
		}

		case ASM_NODE_EXPR_MOD: {
			assert(node->nchilds == 2);

			AsmExprEvalResult oprd1;
			_expect_integer(ctx, node->childs[0], &oprd1);

			AsmExprEvalResult oprd2;
			_expect_integer(ctx, node->childs[1], &oprd2);

			result->type = ASM_EXPR_EVAL_RESULT_TYPE_UINT64;
			result->value.u64 = oprd1.value.u64 % oprd2.value.u64;
			break;
		}

		case ASM_NODE_EXPR_NOT: {
			assert(node->nchilds == 1);

			AsmExprEvalResult oprd;
			_expect_integer(ctx, node->childs[0], &oprd);

			result->type = ASM_EXPR_EVAL_RESULT_TYPE_UINT64;
			result->value.u64 = !oprd.value.u64;
			break;
		}

		case ASM_NODE_EXPR_BNOT: {
			assert(node->nchilds == 1);

			AsmExprEvalResult oprd;
			_expect_integer(ctx, node->childs[0], &oprd);

			result->type = ASM_EXPR_EVAL_RESULT_TYPE_UINT64;
			result->value.u64 = ~oprd.value.u64;
			break;
		}

		case ASM_NODE_EXPR_POSITIVE: {
			assert(node->nchilds == 1);

			AsmExprEvalResult oprd;
			_expect_integer(ctx, node->childs[0], &oprd);

			result->type = ASM_EXPR_EVAL_RESULT_TYPE_UINT64;
			result->value.u64 = oprd.value.u64;
			break;
		}

		case ASM_NODE_EXPR_NEGATIVE: {
			assert(node->nchilds == 1);

			AsmExprEvalResult oprd;
			_expect_integer(ctx, node->childs[0], &oprd);

			result->type = ASM_EXPR_EVAL_RESULT_TYPE_UINT64;
			result->value.u64 = -oprd.value.u64;
			break;
		}

		case ASM_NODE_EXPR_ATOM: {
			_eval_expr_atom(ctx, node, result);
			break;
		}
		default: {
			printf("ERROR: NODE-TYPE: %x, %s\n", node->type, node->type_name);
			assert(0);
			return;
		}
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
testq %rsi, %rsi
je 0x144d3
movq %rdx, %rbx
testq %rdx, %rdx
je 0x144f2
movq %rsi, %r15
movq %rdi, %r14
movl (%rsi), %esi
cmpl $0xe8f, %esi            # imm = 0xE8F
jle 0x13d2d
cmpl $0xeb1, %esi            # imm = 0xEB1
jg 0x13db2
cmpl $0xea0, %esi            # imm = 0xEA0
jg 0x13e71
cmpl $0xe90, %esi            # imm = 0xE90
je 0x140f4
cmpl $0xe91, %esi            # imm = 0xE91
je 0x14230
cmpl $0xea0, %esi            # imm = 0xEA0
jne 0x14720
cmpl $0x2, 0x44(%r15)
jne 0x14609
movq 0x48(%r15), %rax
movq (%rax), %rsi
leaq -0x38(%rbp), %r12
movq %r14, %rdi
movq %r12, %rdx
callq 0x1482a
movq 0x48(%r15), %rax
movq 0x8(%rax), %rsi
leaq -0x50(%rbp), %r15
movq %r14, %rdi
movq %r15, %rdx
callq 0x1482a
movb $0x1, (%rbx)
movq 0x8(%r15), %rax
addq 0x8(%r12), %rax
jmp 0x142e8
cmpl $0xe6f, %esi            # imm = 0xE6F
jg 0x13e04
cmpl $0xe3f, %esi            # imm = 0xE3F
jle 0x13ee0
cmpl $0xe40, %esi            # imm = 0xE40
je 0x14014
cmpl $0xe50, %esi            # imm = 0xE50
je 0x1405d
cmpl $0xe60, %esi            # imm = 0xE60
jne 0x14720
cmpl $0x2, 0x44(%r15)
jne 0x14530
movq 0x48(%r15), %rax
movq (%rax), %rsi
leaq -0x38(%rbp), %r12
movq %r14, %rdi
movq %r12, %rdx
callq 0x1482a
movq 0x48(%r15), %rax
movq 0x8(%rax), %rsi
leaq -0x50(%rbp), %r15
movq %r14, %rdi
movq %r15, %rdx
callq 0x1482a
movb $0x1, (%rbx)
movq 0x8(%r15), %rax
andq 0x8(%r12), %rax
jmp 0x142e8
leal -0xec0(%rsi), %eax
cmpl $0x3, %eax
ja 0x13f4e
leaq 0x1d424(%rip), %rcx     # 0x311ec
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
cmpl $0x1, 0x44(%r15)
jne 0x14628
movq 0x48(%r15), %rax
movq (%rax), %rsi
leaq -0x38(%rbp), %r15
movq %r14, %rdi
movq %r15, %rdx
callq 0x1482a
movb $0x1, (%rbx)
xorl %eax, %eax
cmpq $0x0, 0x8(%r15)
sete %al
jmp 0x142e8
leal -0xe80(%rsi), %eax
cmpl $0x3, %eax
ja 0x13fb1
leaq 0x1d3c2(%rip), %rcx     # 0x311dc
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
cmpl $0x2, 0x44(%r15)
jne 0x14770
movq 0x48(%r15), %rax
movq (%rax), %rsi
leaq -0x38(%rbp), %r12
movq %r14, %rdi
movq %r12, %rdx
callq 0x1482a
movq 0x48(%r15), %rax
movq 0x8(%rax), %rsi
leaq -0x50(%rbp), %r15
movq %r14, %rdi
movq %r15, %rdx
callq 0x1482a
movb $0x1, (%rbx)
movq 0x8(%r12), %rax
xorl %ecx, %ecx
cmpq 0x8(%r15), %rax
setb %cl
jmp 0x14421
cmpl $0xea1, %esi            # imm = 0xEA1
je 0x14140
cmpl $0xeb0, %esi            # imm = 0xEB0
je 0x14279
cmpl $0xeb1, %esi            # imm = 0xEB1
jne 0x14720
cmpl $0x2, 0x44(%r15)
jne 0x14647
movq 0x48(%r15), %rax
movq (%rax), %rsi
leaq -0x38(%rbp), %r12
movq %r14, %rdi
movq %r12, %rdx
callq 0x1482a
movq 0x48(%r15), %rax
movq 0x8(%rax), %rsi
leaq -0x50(%rbp), %r15
movq %r14, %rdi
movq %r15, %rdx
callq 0x1482a
movb $0x1, (%rbx)
movq 0x8(%r12), %rax
xorl %edx, %edx
divq 0x8(%r15)
jmp 0x142e8
cmpl $0xe20, %esi            # imm = 0xE20
je 0x140a6
cmpl $0xe30, %esi            # imm = 0xE30
jne 0x14720
cmpl $0x2, 0x44(%r15)
jne 0x1454f
movq 0x48(%r15), %rax
movq (%rax), %rsi
leaq -0x38(%rbp), %r12
movq %r14, %rdi
movq %r12, %rdx
callq 0x1482a
movq 0x48(%r15), %rax
movq 0x8(%rax), %rsi
leaq -0x50(%rbp), %r15
movq %r14, %rdi
movq %r15, %rdx
callq 0x1482a
movb $0x1, (%rbx)
cmpq $0x0, 0x8(%r12)
setne %al
cmpq $0x0, 0x8(%r15)
setne %cl
andb %al, %cl
movzbl %cl, %eax
jmp 0x142e8
cmpl $0xeb2, %esi            # imm = 0xEB2
je 0x14182
cmpl $0xee0, %esi            # imm = 0xEE0
jne 0x14720
cmpl $0x1, 0x44(%r15)
jne 0x14666
movq 0x48(%r15), %rax
movq (%rax), %rax
movq 0x10(%rax), %rsi
movl (%rsi), %ecx
leal -0x1000(%rcx), %eax
cmpl $0x6, %eax
ja 0x14432
leaq 0x1d268(%rip), %rcx     # 0x311fc
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movb $0x1, (%rbx)
movq 0x8(%rsi), %rdi
movl 0x4(%rsi), %esi
callq 0x110e7
jmp 0x142e8
cmpl $0xe70, %esi            # imm = 0xE70
je 0x142f1
cmpl $0xe71, %esi            # imm = 0xE71
jne 0x14720
cmpl $0x2, 0x44(%r15)
jne 0x1478f
movq 0x48(%r15), %rax
movq (%rax), %rsi
leaq -0x38(%rbp), %r12
movq %r14, %rdi
movq %r12, %rdx
callq 0x1482a
movq 0x48(%r15), %rax
movq 0x8(%rax), %rsi
leaq -0x50(%rbp), %r15
movq %r14, %rdi
movq %r15, %rdx
callq 0x1482a
movb $0x1, (%rbx)
movq 0x8(%r12), %rax
xorl %ecx, %ecx
cmpq 0x8(%r15), %rax
jmp 0x140ec
cmpl $0x2, 0x44(%r15)
jne 0x14511
movq 0x48(%r15), %rax
movq (%rax), %rsi
leaq -0x38(%rbp), %r12
movq %r14, %rdi
movq %r12, %rdx
callq 0x1482a
movq 0x48(%r15), %rax
movq 0x8(%rax), %rsi
leaq -0x50(%rbp), %r15
movq %r14, %rdi
movq %r15, %rdx
callq 0x1482a
movb $0x1, (%rbx)
movq 0x8(%r15), %rax
orq 0x8(%r12), %rax
jmp 0x142e8
cmpl $0x2, 0x44(%r15)
jne 0x1456e
movq 0x48(%r15), %rax
movq (%rax), %rsi
leaq -0x38(%rbp), %r12
movq %r14, %rdi
movq %r12, %rdx
callq 0x1482a
movq 0x48(%r15), %rax
movq 0x8(%rax), %rsi
leaq -0x50(%rbp), %r15
movq %r14, %rdi
movq %r15, %rdx
callq 0x1482a
movb $0x1, (%rbx)
movq 0x8(%r15), %rax
xorq 0x8(%r12), %rax
jmp 0x142e8
cmpl $0x2, 0x44(%r15)
jne 0x1458d
movq 0x48(%r15), %rax
movq (%rax), %rsi
leaq -0x38(%rbp), %r12
movq %r14, %rdi
movq %r12, %rdx
callq 0x1482a
movq 0x48(%r15), %rax
movq 0x8(%rax), %rsi
leaq -0x50(%rbp), %r15
movq %r14, %rdi
movq %r15, %rdx
callq 0x1482a
movb $0x1, (%rbx)
movq 0x8(%r15), %rax
xorl %ecx, %ecx
orq 0x8(%r12), %rax
setne %cl
jmp 0x14421
cmpl $0x2, 0x44(%r15)
jne 0x145ac
movq 0x48(%r15), %rax
movq (%rax), %rsi
leaq -0x38(%rbp), %r12
movq %r14, %rdi
movq %r12, %rdx
callq 0x1482a
movq 0x48(%r15), %rax
movq 0x8(%rax), %rsi
leaq -0x50(%rbp), %r15
movq %r14, %rdi
movq %r15, %rdx
callq 0x1482a
movb $0x1, (%rbx)
movq 0x8(%r12), %rax
movb 0x8(%r15), %cl
shlq %cl, %rax
jmp 0x142e8
cmpl $0x2, 0x44(%r15)
jne 0x145cb
movq 0x48(%r15), %rax
movq (%rax), %rsi
leaq -0x38(%rbp), %r12
movq %r14, %rdi
movq %r12, %rdx
callq 0x1482a
movq 0x48(%r15), %rax
movq 0x8(%rax), %rsi
leaq -0x50(%rbp), %r15
movq %r14, %rdi
movq %r15, %rdx
callq 0x1482a
movb $0x1, (%rbx)
movq 0x8(%r12), %rax
jmp 0x141f7
cmpl $0x2, 0x44(%r15)
jne 0x145ea
movq 0x48(%r15), %rax
movq (%rax), %rsi
leaq -0x38(%rbp), %r12
movq %r14, %rdi
movq %r12, %rdx
callq 0x1482a
movq 0x48(%r15), %rax
movq 0x8(%rax), %rsi
leaq -0x50(%rbp), %r15
movq %r14, %rdi
movq %r15, %rdx
callq 0x1482a
movb $0x1, (%rbx)
movq 0x8(%r12), %rax
xorl %edx, %edx
divq 0x8(%r15)
movq %rdx, 0x8(%rbx)
jmp 0x14425
cmpl $0x1, 0x44(%r15)
jne 0x14685
movq 0x48(%r15), %rax
movq (%rax), %rsi
leaq -0x38(%rbp), %r15
movq %r14, %rdi
movq %r15, %rdx
callq 0x1482a
movb $0x1, (%rbx)
xorl %eax, %eax
subq 0x8(%r15), %rax
jmp 0x142e8
cmpl $0x1, 0x44(%r15)
jne 0x146a4
movq 0x48(%r15), %rax
movq (%rax), %rsi
leaq -0x38(%rbp), %r15
movq %r14, %rdi
movq %r15, %rdx
callq 0x1482a
movb $0x1, (%rbx)
movq 0x8(%r15), %rax
notq %rax
jmp 0x142e8
cmpl $0x2, 0x44(%r15)
jne 0x146c3
movq 0x48(%r15), %rax
movq (%rax), %rsi
leaq -0x38(%rbp), %r12
movq %r14, %rdi
movq %r12, %rdx
callq 0x1482a
movq 0x48(%r15), %rax
movq 0x8(%rax), %rsi
leaq -0x50(%rbp), %r15
movq %r14, %rdi
movq %r15, %rdx
callq 0x1482a
movb $0x1, (%rbx)
movq 0x8(%r12), %rax
movb 0x8(%r15), %cl
shrq %cl, %rax
jmp 0x142e8
cmpl $0x2, 0x44(%r15)
jne 0x146e2
movq 0x48(%r15), %rax
movq (%rax), %rsi
leaq -0x38(%rbp), %r12
movq %r14, %rdi
movq %r12, %rdx
callq 0x1482a
movq 0x48(%r15), %rax
movq 0x8(%rax), %rsi
leaq -0x50(%rbp), %r15
movq %r14, %rdi
movq %r15, %rdx
callq 0x1482a
movb $0x1, (%rbx)
movq 0x8(%r15), %rax
imulq 0x8(%r12), %rax
jmp 0x142e8
cmpl $0x1, 0x44(%r15)
jne 0x14701
movq 0x48(%r15), %rax
movq (%rax), %rsi
leaq -0x38(%rbp), %r15
movq %r14, %rdi
movq %r15, %rdx
callq 0x1482a
movb $0x1, (%rbx)
movq 0x8(%r15), %rax
movq %rax, 0x8(%rbx)
jmp 0x14425
cmpl $0x2, 0x44(%r15)
jne 0x14751
movq 0x48(%r15), %rax
movq (%rax), %rsi
leaq -0x38(%rbp), %r12
movq %r14, %rdi
movq %r12, %rdx
callq 0x1482a
movq 0x48(%r15), %rax
movq 0x8(%rax), %rsi
leaq -0x50(%rbp), %r15
movq %r14, %rdi
movq %r15, %rdx
callq 0x1482a
movb $0x1, (%rbx)
movq 0x8(%r12), %rax
xorl %ecx, %ecx
cmpq 0x8(%r15), %rax
sete %cl
jmp 0x14421
cmpl $0x2, 0x44(%r15)
jne 0x147ae
movq 0x48(%r15), %rax
movq (%rax), %rsi
leaq -0x38(%rbp), %r12
movq %r14, %rdi
movq %r12, %rdx
callq 0x1482a
movq 0x48(%r15), %rax
movq 0x8(%rax), %rsi
leaq -0x50(%rbp), %r15
movq %r14, %rdi
movq %r15, %rdx
callq 0x1482a
movb $0x1, (%rbx)
movq 0x8(%r12), %rax
xorl %ecx, %ecx
cmpq 0x8(%r15), %rax
seta %cl
jmp 0x14421
cmpl $0x2, 0x44(%r15)
jne 0x147cd
movq 0x48(%r15), %rax
movq (%rax), %rsi
leaq -0x38(%rbp), %r12
movq %r14, %rdi
movq %r12, %rdx
callq 0x1482a
movq 0x48(%r15), %rax
movq 0x8(%rax), %rsi
leaq -0x50(%rbp), %r15
movq %r14, %rdi
movq %r15, %rdx
callq 0x1482a
movb $0x1, (%rbx)
movq 0x8(%r12), %rax
xorl %ecx, %ecx
cmpq 0x8(%r15), %rax
setae %cl
jmp 0x14421
cmpl $0x2, 0x44(%r15)
jne 0x147ec
movq 0x48(%r15), %rax
movq (%rax), %rsi
leaq -0x38(%rbp), %r12
movq %r14, %rdi
movq %r12, %rdx
callq 0x1482a
movq 0x48(%r15), %rax
movq 0x8(%rax), %rsi
leaq -0x50(%rbp), %r15
movq %r14, %rdi
movq %r15, %rdx
callq 0x1482a
movb $0x1, (%rbx)
movq 0x8(%r12), %rax
xorl %ecx, %ecx
cmpq 0x8(%r15), %rax
setbe %cl
movq %rcx, 0x8(%rbx)
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
cmpl $0x2000, %ecx           # imm = 0x2000
jne 0x1480b
movb $0x1, (%rbx)
movq %r14, %rdi
callq 0x1f0af
jmp 0x142e8
movb $0x2, (%rbx)
movq 0x8(%rsi), %rdi
movl 0x4(%rsi), %esi
callq 0x115f2
movsd %xmm0, 0x8(%rbx)
jmp 0x14425
movb $0x1, (%rbx)
movq 0x8(%rsi), %rdi
movl 0x4(%rsi), %esi
callq 0x11332
jmp 0x142e8
movb $0x1, (%rbx)
movq 0x8(%rsi), %rdi
movl 0x4(%rsi), %esi
callq 0x1144e
jmp 0x142e8
movb $0x1, (%rbx)
movq 0x8(%rsi), %rdi
movl 0x4(%rsi), %esi
callq 0x1120a
jmp 0x142e8
movb $0x1, (%rbx)
movq 0x8(%rsi), %rdi
movl 0x4(%rsi), %esi
callq 0x10e6a
jmp 0x142e8
movb $0x3, (%rbx)
movq 0x8(%rsi), %rax
incq %rax
movq %rax, 0x8(%rbx)
movslq 0x4(%rsi), %rax
addq $-0x2, %rax
movq %rax, 0x10(%rbx)
jmp 0x14425
leaq 0x1e821(%rip), %rdi     # 0x32cfb
leaq 0x1cd37(%rip), %rsi     # 0x31218
leaq 0x1ce65(%rip), %rcx     # 0x3134d
movl $0x6b, %edx
callq 0xa0b0
leaq 0x1cda5(%rip), %rdi     # 0x3129e
leaq 0x1cd18(%rip), %rsi     # 0x31218
leaq 0x1ce46(%rip), %rcx     # 0x3134d
movl $0x6c, %edx
callq 0xa0b0
leaq 0x1e3f7(%rip), %rdi     # 0x3290f
leaq 0x1ccf9(%rip), %rsi     # 0x31218
leaq 0x1ce27(%rip), %rcx     # 0x3134d
movl $0x8c, %edx
callq 0xa0b0
leaq 0x1e3d8(%rip), %rdi     # 0x3290f
leaq 0x1ccda(%rip), %rsi     # 0x31218
leaq 0x1ce08(%rip), %rcx     # 0x3134d
movl $0xa8, %edx
callq 0xa0b0
leaq 0x1e3b9(%rip), %rdi     # 0x3290f
leaq 0x1ccbb(%rip), %rsi     # 0x31218
leaq 0x1cde9(%rip), %rcx     # 0x3134d
movl $0x7e, %edx
callq 0xa0b0
leaq 0x1e39a(%rip), %rdi     # 0x3290f
leaq 0x1cc9c(%rip), %rsi     # 0x31218
leaq 0x1cdca(%rip), %rcx     # 0x3134d
movl $0x9a, %edx
callq 0xa0b0
leaq 0x1e37b(%rip), %rdi     # 0x3290f
leaq 0x1cc7d(%rip), %rsi     # 0x31218
leaq 0x1cdab(%rip), %rcx     # 0x3134d
movl $0x70, %edx
callq 0xa0b0
leaq 0x1e35c(%rip), %rdi     # 0x3290f
leaq 0x1cc5e(%rip), %rsi     # 0x31218
leaq 0x1cd8c(%rip), %rcx     # 0x3134d
movl $0x10a, %edx            # imm = 0x10A
callq 0xa0b0
leaq 0x1e33d(%rip), %rdi     # 0x3290f
leaq 0x1cc3f(%rip), %rsi     # 0x31218
leaq 0x1cd6d(%rip), %rcx     # 0x3134d
movl $0x134, %edx            # imm = 0x134
callq 0xa0b0
leaq 0x1e31e(%rip), %rdi     # 0x3290f
leaq 0x1cc20(%rip), %rsi     # 0x31218
leaq 0x1cd4e(%rip), %rcx     # 0x3134d
movl $0x15e, %edx            # imm = 0x15E
callq 0xa0b0
leaq 0x1e2ff(%rip), %rdi     # 0x3290f
leaq 0x1cc01(%rip), %rsi     # 0x31218
leaq 0x1cd2f(%rip), %rcx     # 0x3134d
movl $0x126, %edx            # imm = 0x126
callq 0xa0b0
leaq 0x1e0bb(%rip), %rdi     # 0x326ea
leaq 0x1cbe2(%rip), %rsi     # 0x31218
leaq 0x1cd10(%rip), %rcx     # 0x3134d
movl $0x16c, %edx            # imm = 0x16C
callq 0xa0b0
leaq 0x1e2c1(%rip), %rdi     # 0x3290f
leaq 0x1cbc3(%rip), %rsi     # 0x31218
leaq 0x1ccf1(%rip), %rcx     # 0x3134d
movl $0x150, %edx            # imm = 0x150
callq 0xa0b0
leaq 0x1e07d(%rip), %rdi     # 0x326ea
leaq 0x1cba4(%rip), %rsi     # 0x31218
leaq 0x1cd8f(%rip), %rcx     # 0x3140a
movl $0x18, %edx
callq 0xa0b0
leaq 0x1e05e(%rip), %rdi     # 0x326ea
leaq 0x1cb85(%rip), %rsi     # 0x31218
leaq 0x1ccb3(%rip), %rcx     # 0x3134d
movl $0x18d, %edx            # imm = 0x18D
callq 0xa0b0
leaq 0x1e03f(%rip), %rdi     # 0x326ea
leaq 0x1cb66(%rip), %rsi     # 0x31218
leaq 0x1cc94(%rip), %rcx     # 0x3134d
movl $0x177, %edx            # imm = 0x177
callq 0xa0b0
leaq 0x1e245(%rip), %rdi     # 0x3290f
leaq 0x1cb47(%rip), %rsi     # 0x31218
leaq 0x1cc75(%rip), %rcx     # 0x3134d
movl $0x118, %edx            # imm = 0x118
callq 0xa0b0
leaq 0x1e226(%rip), %rdi     # 0x3290f
leaq 0x1cb28(%rip), %rsi     # 0x31218
leaq 0x1cc56(%rip), %rcx     # 0x3134d
movl $0x142, %edx            # imm = 0x142
callq 0xa0b0
leaq 0x1dfe2(%rip), %rdi     # 0x326ea
leaq 0x1cb09(%rip), %rsi     # 0x31218
leaq 0x1cc37(%rip), %rcx     # 0x3134d
movl $0x182, %edx            # imm = 0x182
callq 0xa0b0
movq 0x8(%r15), %rdx
leaq 0x1cc69(%rip), %rdi     # 0x31394
xorl %eax, %eax
callq 0xa090
leaq 0x1ac5b(%rip), %rdi     # 0x2f394
leaq 0x1cad8(%rip), %rsi     # 0x31218
leaq 0x1cc06(%rip), %rcx     # 0x3134d
movl $0x19d, %edx            # imm = 0x19D
callq 0xa0b0
leaq 0x1e1b7(%rip), %rdi     # 0x3290f
leaq 0x1cab9(%rip), %rsi     # 0x31218
leaq 0x1cbe7(%rip), %rcx     # 0x3134d
movl $0xb6, %edx
callq 0xa0b0
leaq 0x1e198(%rip), %rdi     # 0x3290f
leaq 0x1ca9a(%rip), %rsi     # 0x31218
leaq 0x1cbc8(%rip), %rcx     # 0x3134d
movl $0xd2, %edx
callq 0xa0b0
leaq 0x1e179(%rip), %rdi     # 0x3290f
leaq 0x1ca7b(%rip), %rsi     # 0x31218
leaq 0x1cba9(%rip), %rcx     # 0x3134d
movl $0xc4, %edx
callq 0xa0b0
leaq 0x1e15a(%rip), %rdi     # 0x3290f
leaq 0x1ca5c(%rip), %rsi     # 0x31218
leaq 0x1cb8a(%rip), %rcx     # 0x3134d
movl $0xee, %edx
callq 0xa0b0
leaq 0x1e13b(%rip), %rdi     # 0x3290f
leaq 0x1ca3d(%rip), %rsi     # 0x31218
leaq 0x1cb6b(%rip), %rcx     # 0x3134d
movl $0xfc, %edx
callq 0xa0b0
leaq 0x1e11c(%rip), %rdi     # 0x3290f
leaq 0x1ca1e(%rip), %rsi     # 0x31218
leaq 0x1cb4c(%rip), %rcx     # 0x3134d
movl $0xe0, %edx
callq 0xa0b0
leaq 0x1ab82(%rip), %rdi     # 0x2f394
leaq 0x1c9ff(%rip), %rsi     # 0x31218
leaq 0x1cbea(%rip), %rcx     # 0x3140a
movl $0x4a, %edx
callq 0xa0b0