// File: /workspace/github_cpp_makefile_star2_O3/yanlinlin82[P]icpp/icpp.cpp
// Function: run(int, char const**)
int run(int argc, const char** argv)
{
	// vm register
	int ax = 0, ip = 0, sp = MEM_SIZE, bp = MEM_SIZE;

	// load code & data
	log<1>("Loading program\n  data: %zd word(s)\n  code: %zd word(s)\n\n",
			data_sec.size(), code_sec.size());

	size_t loaded = 0;
	for (size_t i = 0; i < data_sec.size(); ++i) {
		m[loaded++] = data_sec[i];
	}
	int code_loading_position = loaded;
	for (size_t i = 0; i < code_sec.size(); ++i) {
		m[loaded++] = code_sec[i];
	}

	// find start entry
	auto it = override_functions.find("main");
	if (it == override_functions.end() || it->second.empty()) {
		err("main() not defined!\n");
		return -1;
	}
	if (it->second.size() > 1) {
		err("duplcated definition of main()!\n");
		return -1;
	}
	auto it2 = symbols.find(*(it->second.begin()));
	ip = code_loading_position + get<1>(it2->second);

	// prepare argc & argv
	sp -= argc + 1;
	int argv_copy = sp;
	for (int i = 0; i < argc; ++i) {
		size_t len = strlen(argv[i]);
		size_t size = (len + sizeof(int)) / sizeof(int);
		m[sp - 1] = 0;
		sp -= size;
		m[argv_copy + i] = sp;
		memcpy(&m[sp], argv[i], len);
	}
	m[argv_copy + argc] = 0;
	if (verbose >= 3) {
		log("[DEBUG] prepare argc & argv:\n");
		for (int i = sp; i < MEM_SIZE; i += 4) {
			log("[DEBUG] %08X:  ", i);
			for (int j = 0; j < 4; ++j) {
				if (i + j < MEM_SIZE) {
					const unsigned char* p = reinterpret_cast<const unsigned char*>(&m[i + j]);
					log("%02X %02X %02X %02X  ", *p, *(p+1), *(p+2), *(p+3));
				} else {
					log("%*s", 13, "");
				}
			}
			for (int j = 0; j < 4 && i + j < MEM_SIZE; ++j) {
				const char* p = reinterpret_cast<const char*>(&m[i + j]);
				for (int k = 0; k < 4; ++k) {
					char c = *(p+k);
					log("%c", (c >= 0x20 && c <= 0x7E) ? c : '.');
				}
			}
			log("\n");
		}
		log("[DEBUG] argv_copy = 0x%08X\n\n", argv_copy);
	}

	// prepare stack for main()
	bp = sp - 1;
	m[--sp] = bp;
	m[--sp] = EXIT; int exit_addr = sp;
	m[--sp] = argc;
	m[--sp] = argv_copy;
	m[--sp] = exit_addr;
	if (verbose >= 3) {
		log("[DEBUG] stack for main():\n");
		log("[DEBUG] stack: m[sp]... = [ %08X, %08X, %08X, %08X, %08X ]\n", m[sp], m[sp+1], m[sp+2], m[sp+3], m[sp+4]);
		log("[DEBUG] ax = %08X, ip = %08X, bp = %08X, sp = %08X\n\n", ax, ip, bp, sp);
	}

	log<1>("System Information:\n"
			"  sizeof(int) = %zd\n"
			"  sizeof(void*) = %zd\n"
			"\n", sizeof(int), sizeof(void*));

	size_t cycle = 0;
	for (;;) {
		++cycle;
		if (verbose >= 1) {
			log("%zd:\t", cycle);
			print_code(m, ip, code_loading_position);
			if (verbose >= 2) {
				print_vm_env(ax, ip, sp, bp);
			}
		}
		size_t i = m[ip++];

		if      (i == EXIT) { break;                } // exit the program
		else if (i == PUSH) { m[--sp] = ax;         } // push ax to stack
		else if (i == POP ) { ax = m[sp++];         } // pop ax from stack
		else if (i == ADJ ) { sp -= m[ip++];        } // adjust stack pointer

		else if (i == MOV ) { ax = m[ip++];         } // move immediate to ax
		else if (i == LEA ) { ax = m[ip++];         } // load address to ax
		else if (i == GET ) { ax = m[m[ip++]];      } // get memory to ax
		else if (i == PUT ) { m[m[ip++]] = ax;      } // put ax to memory
		else if (i == LLEA) { ax = bp + m[ip++];    } // load local address to ax
		else if (i == LGET) { ax = m[bp + m[ip++]]; } // get local to ax
		else if (i == LPUT) { m[bp + m[ip++]] = ax; } // put ax to local

		else if (i == SGET) { ax = m[m[sp++]];      } // get [stack] to ax
		else if (i == SPUT) { m[m[sp++]] = ax;      } // put ax to [stack]

		else if (i == ADD ) { ax = m[sp++] + ax;    } // stack (top) + ax, and pop out
		else if (i == SUB ) { ax = m[sp++] - ax;    } // stack (top) - ax, and pop out
		else if (i == MUL ) { ax = m[sp++] * ax;    } // stack (top) * ax, and pop out
		else if (i == DIV ) { ax = m[sp++] / ax;    } // stack (top) / ax, and pop out
		else if (i == MOD ) { ax = m[sp++] % ax;    } // stack (top) % ax, and pop out
		else if (i == NEG ) { ax = -ax;             }
		else if (i == INC ) { ++ax;                 }
		else if (i == DEC ) { --ax;                 }

		else if (i == SHL ) { ax = m[sp++] >> ax;   } // stack (top) >> ax, and pop out
		else if (i == SHR ) { ax = m[sp++] << ax;   } // stack (top) << ax, and pop out
		else if (i == AND ) { ax = m[sp++] & ax;    } // stack (top) & ax, and pop out
		else if (i == OR  ) { ax = m[sp++] | ax;    } // stack (top) | ax, and pop out
		else if (i == NOT ) { ax = ~ax;             }

		else if (i == EQ  ) { ax = m[sp++] == ax;   } // stack (top) == ax, and pop out
		else if (i == NE  ) { ax = m[sp++] != ax;   } // stack (top) != ax, and pop out
		else if (i == GE  ) { ax = m[sp++] >= ax;   } // stack (top) >= ax, and pop out
		else if (i == GT  ) { ax = m[sp++] >  ax;   } // stack (top) >  ax, and pop out
		else if (i == LE  ) { ax = m[sp++] <= ax;   } // stack (top) <= ax, and pop out
		else if (i == LT  ) { ax = m[sp++] <  ax;   } // stack (top) <  ax, and pop out
		else if (i == LAND) { ax = m[sp++] && ax;   } // stack (top) && ax, and pop out
		else if (i == LOR ) { ax = m[sp++] || ax;   } // stack (top) || ax, and pop out
		else if (i == LNOT) { ax = !ax;             }

		else if (i == ENTER) { m[--sp] = bp; bp = sp; sp -= m[ip++];   } // enter stack frame
		else if (i == LEAVE) { sp = bp; bp = m[sp++];                  } // leave stack frame
		else if (i == CALL ) { int n = m[ip++]; m[--sp] = ip; ip += n; } // call subroutine
		else if (i == RET  ) { int n = m[ip]; ip = m[sp++]; sp += n;   } // exit subroutine
		else if (i == JMP  ) { int n = m[ip++]; ip += n;               } // goto
		else if (i == JZ   ) { int n = m[ip++]; if (!ax) ip += n;      } // goto if !ax
		else if (i == JNZ  ) { int n = m[ip++]; if (ax) ip += n;       } // goto if ax

		else { warn("unknown instruction: '%zd'\n", i); }

		if (ip && ip < static_cast<int>(code_loading_position + external_code_size)) {
			auto it = code_symbol_dict.find(ip - code_loading_position);
			if (it != code_symbol_dict.end()) {
				ax = call_ext(it->second, sp);
			}
		}
	}
	log<0>(COLOR_YELLOW "Total: %zd cycle(s), return %d\n" COLOR_NORMAL, cycle, ax);
	return ax;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rsi, %r13
movl %edi, %r12d
movq 0xedf2(%rip), %rsi      # 0x23330
subq 0xede3(%rip), %rsi      # 0x23328
sarq $0x2, %rsi
movq 0xedc8(%rip), %rdx      # 0x23318
subq 0xedb9(%rip), %rdx      # 0x23310
sarq $0x2, %rdx
leaq 0x7d78(%rip), %rdi      # 0x1c2da
xorl %r15d, %r15d
xorl %eax, %eax
callq 0x15951
movq 0xedbd(%rip), %rdx      # 0x23330
movq 0xedae(%rip), %rax      # 0x23328
subq %rax, %rdx
je 0x145a5
sarq $0x2, %rdx
movq 0xecce(%rip), %rcx      # 0x23258
cmpq $0x1, %rdx
movq %rdx, %r15
adcq $0x0, %r15
xorl %edx, %edx
movl (%rax,%rdx,4), %esi
movl %esi, (%rcx,%rdx,4)
incq %rdx
cmpq %rdx, %r15
jne 0x14597
movq 0xed6c(%rip), %rax      # 0x23318
movq 0xed5d(%rip), %rcx      # 0x23310
subq %rcx, %rax
je 0x145e3
sarq $0x2, %rax
cmpq $0x1, %rax
adcq $0x0, %rax
leaq (,%r15,4), %rdx
addq 0xec85(%rip), %rdx      # 0x23258
xorl %esi, %esi
movl (%rcx,%rsi,4), %edi
movl %edi, (%rdx,%rsi,4)
incq %rsi
cmpq %rsi, %rax
jne 0x145d5
leaq -0x70(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x7d22(%rip), %rsi      # 0x1c314
leaq 0x7d1f(%rip), %rdx      # 0x1c318
leaq -0x80(%rbp), %rbx
movq %rbx, %rdi
callq 0x169e0
leaq 0xee3c(%rip), %rdi      # 0x23448
movq %rbx, %rsi
callq 0x19148
movq %rax, %rbx
movq -0x80(%rbp), %rdi
cmpq %r14, %rdi
je 0x1462c
movq -0x70(%rbp), %rsi
incq %rsi
callq 0x31d0
testq %rbx, %rbx
je 0x14644
movq 0x40(%rbx), %rax
cmpq $0x1, %rax
je 0x14650
testq %rax, %rax
jne 0x14887
leaq 0x7cce(%rip), %rdi      # 0x1c319
jmp 0x1488e
movq 0x38(%rbx), %rsi
addq $0x8, %rsi
leaq 0xed41(%rip), %rdi      # 0x233a0
callq 0x1918c
movl 0x78(%rax), %eax
movq %r15, -0x48(%rbp)
addl %r15d, %eax
movq %rax, -0x58(%rbp)
movl $0xfffff, %eax          # imm = 0xFFFFF
subl %r12d, %eax
movl %eax, -0x3c(%rbp)
movl %eax, %r15d
movl %r12d, -0x40(%rbp)
testl %r12d, %r12d
jle 0x146fa
movq %r13, %rbx
movl -0x40(%rbp), %eax
movl %eax, %edx
movq %rdx, -0x38(%rbp)
cltq
shlq $0x2, %rax
movl $0x3ffffc, %r12d        # imm = 0x3FFFFC
subq %rax, %r12
xorl %r13d, %r13d
movl -0x3c(%rbp), %eax
movl %eax, %r15d
movq (%rbx,%r13,8), %r14
movq %r14, %rdi
callq 0x30f0
leaq 0x4(%rax), %rcx
shrq $0x2, %rcx
movq 0xeb90(%rip), %rdx      # 0x23258
movslq %r15d, %r15
movl $0x0, -0x4(%rdx,%r15,4)
subl %ecx, %r15d
leaq (%rdx,%r12), %rcx
movl %r15d, (%rcx,%r13,4)
movslq %r15d, %rcx
leaq (%rdx,%rcx,4), %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x3180
incq %r13
cmpq %r13, -0x38(%rbp)
jne 0x146ad
movq 0xeb57(%rip), %rax      # 0x23258
movl $0x0, 0x3ffffc(%rax)
cmpl $0x2, 0xeece(%rip)      # 0x235e0
movslq %r15d, %rdi
movq -0x48(%rbp), %r13
jle 0x148a0
movq %rdi, -0x50(%rbp)
leaq 0x7c25(%rip), %rdi      # 0x1c34f
xorl %eax, %eax
callq 0x15114
movq %r15, -0x60(%rbp)
cmpl $0xfffff, %r15d         # imm = 0xFFFFF
jg 0x14859
movq -0x50(%rbp), %r14
leaq (,%r14,4), %r15
leaq 0x6b21(%rip), %r12      # 0x1b276
leaq 0x7c11(%rip), %rdi      # 0x1c36d
movl %r14d, %esi
xorl %eax, %eax
callq 0x15114
movl $0x4, %ebx
movq %r14, -0x38(%rbp)
leaq 0x7c07(%rip), %r13      # 0x1c37d
cmpq $0xfffff, %r14          # imm = 0xFFFFF
jg 0x147a9
movq 0xead2(%rip), %rax      # 0x23258
movzbl (%rax,%r14,4), %esi
movzbl 0x1(%rax,%r14,4), %edx
movzbl 0x2(%rax,%r14,4), %ecx
movzbl 0x3(%rax,%r14,4), %r8d
movq %r13, %rdi
xorl %eax, %eax
callq 0x15114
jmp 0x147c3
leaq 0x795f(%rip), %rdi      # 0x1c10f
movl $0xd, %esi
leaq 0x7cc5(%rip), %rdx      # 0x1c481
xorl %eax, %eax
callq 0x15114
incq %r14
decq %rbx
jne 0x14776
movq %r15, -0x30(%rbp)
movq %r15, %rbx
xorl %r14d, %r14d
movq 0xea7c(%rip), %r13      # 0x23258
addq %rbx, %r13
xorl %r15d, %r15d
movzbl (%r13,%r15), %eax
leal -0x20(%rax), %ecx
cmpb $0x5f, %cl
jb 0x147f5
movl $0x2e, %eax
movsbl %al, %esi
movq %r12, %rdi
xorl %eax, %eax
callq 0x15114
incq %r15
cmpq $0x4, %r15
jne 0x147e2
cmpq $0x2, %r14
ja 0x1482a
addq $0x4, %rbx
movq -0x38(%rbp), %rax
addq %r14, %rax
incq %rax
incq %r14
cmpq $0x100000, %rax         # imm = 0x100000
jl 0x147d5
leaq 0x7ae1(%rip), %rdi      # 0x1c312
xorl %eax, %eax
callq 0x15114
movq -0x38(%rbp), %rcx
leaq 0x4(%rcx), %r14
movq -0x30(%rbp), %r15
addq $0x10, %r15
cmpq $0xffffc, %rcx          # imm = 0xFFFFC
movq -0x48(%rbp), %r13
jl 0x14755
leaq 0x7b33(%rip), %rdi      # 0x1c393
movl -0x3c(%rbp), %ebx
movl %ebx, %esi
xorl %eax, %eax
callq 0x15114
movq 0xe9e5(%rip), %rax      # 0x23258
cmpl $0x3, 0xed66(%rip)      # 0x235e0
setge %cl
movq -0x60(%rbp), %r15
movq -0x50(%rbp), %rdi
jmp 0x148a5
leaq 0x7aa0(%rip), %rdi      # 0x1c32e
xorl %eax, %eax
callq 0x1546f
movl $0xffffffff, %r14d      # imm = 0xFFFFFFFF
jmp 0x14d4f
xorl %ecx, %ecx
movl -0x3c(%rbp), %ebx
leal -0x1(%r15), %edx
movl %edx, -0x30(%rbp)
movl %edx, -0x4(%rax,%rdi,4)
leal -0x2(%r15), %edx
movl $0x0, -0x8(%rax,%rdi,4)
movl -0x40(%rbp), %esi
movl %esi, -0xc(%rax,%rdi,4)
movl %ebx, -0x10(%rax,%rdi,4)
addl $-0x5, %r15d
movl %edx, -0x14(%rax,%rdi,4)
testb %cl, %cl
je 0x14946
leaq -0x1(%rdi), %rax
movq %rax, -0x38(%rbp)
leaq -0x2(%rdi), %r14
leaq -0x3(%rdi), %r13
leaq -0x4(%rdi), %r12
addq $-0x5, %rdi
movq %rdi, %rbx
leaq 0x7abb(%rip), %rdi      # 0x1c3b0
xorl %eax, %eax
callq 0x15114
movq 0xe955(%rip), %rax      # 0x23258
movl (%rax,%rbx,4), %esi
movl (%rax,%r12,4), %edx
movl (%rax,%r13,4), %ecx
movq -0x48(%rbp), %r13
movl (%rax,%r14,4), %r8d
movq -0x38(%rbp), %rdi
movl (%rax,%rdi,4), %r9d
leaq 0x7aa6(%rip), %rdi      # 0x1c3cb
xorl %eax, %eax
callq 0x15114
leaq 0x7ad4(%rip), %rdi      # 0x1c407
xorl %esi, %esi
movq -0x58(%rbp), %rdx
movl -0x30(%rbp), %ecx
movl %r15d, %r8d
xorl %eax, %eax
callq 0x15114
movslq %r13d, %rax
movq %rax, -0x38(%rbp)
leaq 0x7ae8(%rip), %rdi      # 0x1c43c
movl $0x4, %esi
movl $0x8, %edx
xorl %eax, %eax
callq 0x15951
movl $0x1, %r13d
xorl %r14d, %r14d
movq -0x58(%rbp), %rbx
cmpl $0x0, 0xec67(%rip)      # 0x235e0
jle 0x149bd
leaq 0x7afa(%rip), %rdi      # 0x1c47c
movq %r13, %rsi
xorl %eax, %eax
callq 0x15114
movslq %ebx, %r12
leaq 0xe8c2(%rip), %rdi      # 0x23258
movq %r12, %rsi
movq -0x38(%rbp), %rdx
callq 0x4bf7
cmpl $0x2, 0xec37(%rip)      # 0x235e0
jl 0x149c0
movl %r14d, %edi
movl %ebx, %esi
movl %r15d, %edx
movl -0x30(%rbp), %ecx
callq 0x13ec1
jmp 0x149c0
movslq %ebx, %r12
movq %rbx, %rsi
incl %ebx
movq 0xe88c(%rip), %rax      # 0x23258
movl (%rax,%r12,4), %ecx
cmpq $0x1f, %rcx
ja 0x14b58
leaq 0x663f(%rip), %rdx      # 0x1b020
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
addl $0x2, %esi
movslq %ebx, %rcx
movq %rsi, %rbx
jmp 0x14ae0
movslq %r15d, %rcx
incl %r15d
andl (%rax,%rcx,4), %r14d
jmp 0x14bb9
incl %r14d
jmp 0x14bb9
movslq %r15d, %rcx
incl %r15d
movl (%rax,%rcx,4), %eax
subl %r14d, %eax
jmp 0x14be9
movslq %r15d, %rcx
incl %r15d
movslq (%rax,%rcx,4), %rcx
jmp 0x14a4f
addl $0x2, %esi
movslq %ebx, %rcx
movq %rsi, %rbx
movslq (%rax,%rcx,4), %rcx
movslq -0x30(%rbp), %rdx
addq %rcx, %rdx
movl %r14d, (%rax,%rdx,4)
jmp 0x14c11
movslq %r15d, %rcx
incl %r15d
movl (%rax,%rcx,4), %r14d
jmp 0x14bb9
notl %r14d
jmp 0x14bb9
movslq %r15d, %rcx
movl (%rax,%rcx,4), %eax
movl %r14d, %ecx
sarl %cl, %eax
jmp 0x14be6
addl $0x2, %esi
movslq %ebx, %rcx
movq %rsi, %rbx
subl (%rax,%rcx,4), %r15d
jmp 0x14c11
movslq %r15d, %rcx
decl %r15d
movl %r14d, -0x4(%rax,%rcx,4)
jmp 0x14bb9
movslq %r15d, %rcx
incl %r15d
orl (%rax,%rcx,4), %r14d
jmp 0x14bb9
movslq %r15d, %rcx
incl %r15d
xorl %edx, %edx
cmpl %r14d, (%rax,%rcx,4)
setge %dl
jmp 0x14c0e
negl %r14d
jmp 0x14bb9
addl $0x2, %esi
movslq %ebx, %rcx
movq %rsi, %rbx
movl (%rax,%rcx,4), %r14d
addl -0x30(%rbp), %r14d
jmp 0x14c11
addl $0x2, %esi
movslq %ebx, %rcx
movq %rsi, %rbx
movslq (%rax,%rcx,4), %rcx
movl (%rax,%rcx,4), %r14d
jmp 0x14c11
movslq %r15d, %rcx
incl %r15d
xorl %edx, %edx
cmpl %r14d, (%rax,%rcx,4)
setl %dl
jmp 0x14c0e
addl $0x2, %esi
movslq %ebx, %rcx
movq %rsi, %rbx
movslq (%rax,%rcx,4), %rcx
movl %r14d, (%rax,%rcx,4)
jmp 0x14c11
movslq %r15d, %rcx
incl %r15d
xorl %edx, %edx
cmpl %r14d, (%rax,%rcx,4)
sete %dl
jmp 0x14c0e
movslq %r15d, %rcx
incl %r15d
addl (%rax,%rcx,4), %r14d
jmp 0x14bb9
addl $0x2, %esi
movslq %ebx, %rcx
movq %rsi, %rbx
movslq (%rax,%rcx,4), %rcx
movslq -0x30(%rbp), %rdx
addq %rcx, %rdx
movl (%rax,%rdx,4), %r14d
jmp 0x14c11
decl %r14d
jmp 0x14bb9
leal -0x20(%rcx), %edx
cmpl $0x9, %edx
ja 0x14d15
leaq 0x6535(%rip), %rdi      # 0x1b0a0
movslq (%rdi,%rdx,4), %rcx
addq %rdi, %rcx
jmpq *%rcx
movslq %r15d, %rcx
incl %r15d
cmpl $0x0, (%rax,%rcx,4)
setne %al
testl %r14d, %r14d
setne %cl
andb %al, %cl
movzbl %cl, %r14d
jmp 0x14bb9
movslq %r15d, %rcx
incl %r15d
movslq (%rax,%rcx,4), %rcx
movl %r14d, (%rax,%rcx,4)
jmp 0x14bb9
movslq %r15d, %rcx
incl %r15d
movl (%rax,%rcx,4), %eax
cltd
idivl %r14d
jmp 0x14be9
movslq %r15d, %rcx
incl %r15d
imull (%rax,%rcx,4), %r14d
jmp 0x14c11
movslq %r15d, %rcx
incl %r15d
movl (%rax,%rcx,4), %eax
cltd
idivl %r14d
jmp 0x14c0e
movslq %r15d, %rcx
incl %r15d
xorl %edx, %edx
cmpl %r14d, (%rax,%rcx,4)
setne %dl
jmp 0x14c0e
movslq %r15d, %rcx
movl (%rax,%rcx,4), %eax
movl %r14d, %ecx
shll %cl, %eax
incl %r15d
movl %eax, %r14d
jmp 0x14c11
movslq %r15d, %rcx
incl %r15d
xorl %edx, %edx
cmpl %r14d, (%rax,%rcx,4)
setg %dl
jmp 0x14c0e
movslq %r15d, %rcx
incl %r15d
xorl %edx, %edx
cmpl %r14d, (%rax,%rcx,4)
setle %dl
movl %edx, %r14d
testl %ebx, %ebx
je 0x14c56
movl 0xe72d(%rip), %eax      # 0x23348
movq -0x48(%rbp), %rcx
addl %ecx, %eax
cmpl %eax, %ebx
jge 0x14c56
movl %ebx, %eax
subl %ecx, %eax
cltq
movq %rax, -0x80(%rbp)
leaq 0xe7da(%rip), %rdi      # 0x23410
leaq -0x80(%rbp), %rsi
callq 0x187d2
testq %rax, %rax
je 0x14c56
addq $0x10, %rax
movq %rax, %rdi
movl %r15d, %esi
callq 0x140df
movl %eax, %r14d
incq %r13
jmp 0x14972
movl -0x30(%rbp), %edx
movslq %edx, %rcx
movl %edx, %r15d
incl %r15d
movl (%rax,%rcx,4), %eax
movl %eax, -0x30(%rbp)
jmp 0x14bb9
movl %r14d, %ecx
testl %r14d, %r14d
je 0x14c83
movslq %ebx, %rcx
movl (%rax,%rcx,4), %ecx
leal (%rsi,%rcx), %ebx
addl $0x2, %ebx
jmp 0x14c11
xorl %eax, %eax
testl %r14d, %r14d
sete %al
jmp 0x14be9
movslq %r15d, %rcx
decl %r15d
movl -0x30(%rbp), %edx
movl %edx, -0x4(%rax,%rcx,4)
addl $0x2, %esi
movslq %ebx, %rcx
movq %rsi, %rbx
movl %r15d, %edx
movl %r15d, -0x30(%rbp)
subl (%rax,%rcx,4), %edx
movl %edx, %r15d
jmp 0x14c11
movslq %ebx, %rcx
movl (%rax,%rcx,4), %eax
leal (%rsi,%rax), %ebx
addl $0x2, %ebx
jmp 0x14c11
movslq %r15d, %rcx
incl %r15d
xorl %edx, %edx
orl (%rax,%rcx,4), %r14d
jmp 0x14bd6
addl $0x2, %esi
movslq %ebx, %rcx
movslq %r15d, %rdx
decl %r15d
movl (%rax,%rcx,4), %ecx
addl %esi, %ecx
movl %esi, -0x4(%rax,%rdx,4)
movl %ecx, %ebx
jmp 0x14c11
movslq %ebx, %rcx
movl (%rax,%rcx,4), %ecx
movslq %r15d, %rdx
movl (%rax,%rdx,4), %ebx
addl %ecx, %r15d
incl %r15d
jmp 0x14c11
movslq %ecx, %rsi
leaq 0x7763(%rip), %rdi      # 0x1c482
xorl %eax, %eax
callq 0x159ea
jmp 0x14bb9
xorl %ecx, %ecx
testl %r14d, %r14d
je 0x14c7d
jmp 0x14c83
leaq 0x775c(%rip), %rdi      # 0x1c49e
movq %r13, %rsi
movl %r14d, %edx
xorl %eax, %eax
callq 0x15114
movl %r14d, %eax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x80(%rbp), %rdi
cmpq %r14, %rdi
je 0x14d79
movq -0x70(%rbp), %rsi
incq %rsi
callq 0x31d0
movq %rbx, %rdi
callq 0x3320