// File: /workspace/github_cpp_makefile_star2_O3/moporgic[P]2048-Framework/2048.cpp
// Function: main
int main(int argc, const char* argv[]) {
	std::cout << "2048 Demo: ";
	std::copy(argv, argv + argc, std::ostream_iterator<const char*>(std::cout, " "));
	std::cout << std::endl << std::endl;

	size_t total = 1000, block = 0, limit = 0;
	std::string slide_args, place_args;
	std::string load_path, save_path;
	for (int i = 1; i < argc; i++) {
		std::string arg = argv[i];
		auto match_arg = [&](std::string flag) -> bool {
			auto it = arg.find_first_not_of('-');
			return arg.find(flag, it) == it;
		};
		auto next_opt = [&]() -> std::string {
			auto it = arg.find('=') + 1;
			return it ? arg.substr(it) : argv[++i];
		};
		if (match_arg("total")) {
			total = std::stoull(next_opt());
		} else if (match_arg("block")) {
			block = std::stoull(next_opt());
		} else if (match_arg("limit")) {
			limit = std::stoull(next_opt());
		} else if (match_arg("slide") || match_arg("play")) {
			slide_args = next_opt();
		} else if (match_arg("place") || match_arg("env")) {
			place_args = next_opt();
		} else if (match_arg("load")) {
			load_path = next_opt();
		} else if (match_arg("save")) {
			save_path = next_opt();
		}
	}

	statistics stats(total, block, limit);

	if (load_path.size()) {
		std::ifstream in(load_path, std::ios::in);
		in >> stats;
		in.close();
		if (stats.is_finished()) stats.summary();
	}

	random_slider slide(slide_args);
	random_placer place(place_args);

	while (!stats.is_finished()) {
//		std::cerr << "======== Game " << stats.step() << " ========" << std::endl;
		slide.open_episode("~:" + place.name());
		place.open_episode(slide.name() + ":~");

		stats.open_episode(slide.name() + ":" + place.name());
		episode& game = stats.back();
		while (true) {
			agent& who = game.take_turns(slide, place);
			action move = who.take_action(game.state());
//			std::cerr << game.state() << "#" << game.step() << " " << who.name() << ": " << move << std::endl;
			if (game.apply_action(move) != true) break;
			if (who.check_for_win(game.state())) break;
		}
		agent& win = game.last_turns(slide, place);
		stats.close_episode(win.name());

		slide.close_episode(win.name());
		place.close_episode(win.name());
	}

	if (save_path.size()) {
		std::ofstream out(save_path, std::ios::out | std::ios::trunc);
		out << stats;
		out.close();
	}

	return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x588, %rsp            # imm = 0x588
movq %rsi, (%rsp)
movl %edi, %ebx
movq 0x995e(%rip), %r14      # 0xcfd8
leaq 0x5a2f(%rip), %rsi      # 0x90b0
movl $0xb, %edx
movq %r14, %rdi
callq 0x32d0
movq %r14, 0x330(%rsp)
leaq 0x5b42(%rip), %rax      # 0x91df
movq %rax, 0x338(%rsp)
movl %ebx, 0xc(%rsp)
testl %ebx, %ebx
jle 0x36d8
movl 0xc(%rsp), %ebx
incq %rbx
leaq 0x330(%rsp), %r15
movq (%rsp), %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x86b8
addq $0x8, %r12
decq %rbx
cmpq $0x1, %rbx
ja 0x36c0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3270
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x31b0
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3270
movsbl %al, %esi
movq %r14, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x31b0
leaq 0x230(%rsp), %rcx
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x210(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x1f0(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x1d0(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
cmpl $0x1, 0xc(%rsp)
jle 0x3fd1
leaq 0x40(%rsp), %r12
movl $0x1, %ebp
movl $0x3e8, %eax            # imm = 0x3E8
movq %rax, 0x60(%rsp)
movq $0x0, 0x58(%rsp)
leaq 0x330(%rsp), %r14
movq $0x0, 0x50(%rsp)
movslq %ebp, %rbx
movq (%rsp), %rax
movq (%rax,%rbx,8), %rsi
movq %r14, %rdi
leaq 0x68(%rsp), %rdx
callq 0x3110
movq %r12, 0x30(%rsp)
leaq 0x30(%rsp), %rdi
leaq 0x58e7(%rip), %rsi      # 0x90bc
leaq 0x58e5(%rip), %rdx      # 0x90c1
callq 0x578c
movq %r14, %rdi
movl $0x2d, %esi
xorl %edx, %edx
callq 0x3240
movq %rax, %r13
movq 0x30(%rsp), %rsi
movq 0x38(%rsp), %rcx
movq %r14, %rdi
movq %rax, %rdx
callq 0x3410
movq %rax, %r15
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0x381a
callq 0x3250
cmpq %r13, %r15
leaq 0x300(%rsp), %r12
jne 0x3861
movq %r14, %rdi
movl $0x3d, %esi
xorl %edx, %edx
callq 0x3300
incq %rax
jne 0x3911
movq (%rsp), %rax
movq 0x8(%rax,%rbx,8), %rsi
leaq 0x68(%rsp), %rdi
leaq 0x110(%rsp), %rdx
callq 0x3110
incl %ebp
jmp 0x3928
movq %r12, 0x2f0(%rsp)
leaq 0x2f0(%rsp), %rdi
leaq 0x584a(%rip), %rsi      # 0x90c2
leaq 0x5848(%rip), %rdx      # 0x90c7
callq 0x578c
movq %r14, %rdi
movl $0x2d, %esi
xorl %edx, %edx
callq 0x3240
movq %rax, %r13
movq 0x2f0(%rsp), %rsi
movq 0x2f8(%rsp), %rcx
movq %r14, %rdi
movq %rax, %rdx
callq 0x3410
movq %rax, %r15
movq 0x2f0(%rsp), %rdi
cmpq %r12, %rdi
je 0x38c6
callq 0x3250
cmpq %r13, %r15
leaq 0x2e0(%rsp), %r12
jne 0x397a
movq %r14, %rdi
movl $0x3d, %esi
xorl %edx, %edx
callq 0x3300
incq %rax
jne 0x3a38
movq (%rsp), %rax
movq 0x8(%rax,%rbx,8), %rsi
leaq 0x68(%rsp), %rdi
leaq 0x110(%rsp), %rdx
callq 0x3110
incl %ebp
jmp 0x3a4f
leaq 0x68(%rsp), %rdi
movq %r14, %rsi
movq %rax, %rdx
movq $-0x1, %rcx
callq 0x32a0
movq 0x68(%rsp), %r15
callq 0x3050
movq %rax, %r13
movl (%rax), %ebx
movl $0x0, (%rax)
movq %r15, %rdi
leaq 0x110(%rsp), %rsi
movl $0xa, %edx
callq 0x3330
cmpq %r15, 0x110(%rsp)
je 0x4677
movl (%r13), %ecx
testl %ecx, %ecx
je 0x3a2a
cmpl $0x22, %ecx
jne 0x3a2e
jmp 0x4683
movq %r12, 0x2d0(%rsp)
leaq 0x2d0(%rsp), %rdi
leaq 0x5737(%rip), %rsi      # 0x90c8
leaq 0x5735(%rip), %rdx      # 0x90cd
callq 0x578c
movq %r14, %rdi
movl $0x2d, %esi
xorl %edx, %edx
callq 0x3240
movq %rax, %r13
movq 0x2d0(%rsp), %rsi
movq 0x2d8(%rsp), %rcx
movq %r14, %rdi
movq %rax, %rdx
callq 0x3410
movq %rax, %r15
movq 0x2d0(%rsp), %rdi
cmpq %r12, %rdi
je 0x39df
callq 0x3250
cmpq %r13, %r15
leaq 0x2c0(%rsp), %r12
jne 0x3aa1
movq %r14, %rdi
movl $0x3d, %esi
xorl %edx, %edx
callq 0x3300
incq %rax
jne 0x3bda
movq (%rsp), %rax
movq 0x8(%rax,%rbx,8), %rsi
leaq 0x68(%rsp), %rdi
leaq 0x110(%rsp), %rdx
callq 0x3110
incl %ebp
jmp 0x3bf1
movl %ebx, (%r13)
movq %rax, 0x60(%rsp)
jmp 0x3d7f
leaq 0x68(%rsp), %rdi
movq %r14, %rsi
movq %rax, %rdx
movq $-0x1, %rcx
callq 0x32a0
movq 0x68(%rsp), %r15
callq 0x3050
movq %rax, %r13
movl (%rax), %ebx
movl $0x0, (%rax)
movq %r15, %rdi
leaq 0x110(%rsp), %rsi
movl $0xa, %edx
callq 0x3330
cmpq %r15, 0x110(%rsp)
je 0x468f
movl (%r13), %ecx
testl %ecx, %ecx
je 0x3bcc
cmpl $0x22, %ecx
jne 0x3bd0
jmp 0x46a7
leaq 0x1b0(%rsp), %rax
movq %rax, 0x1a0(%rsp)
leaq 0x1a0(%rsp), %rdi
leaq 0x560e(%rip), %rsi      # 0x90ce
leaq 0x560c(%rip), %rdx      # 0x90d3
callq 0x578c
movq %r14, %rdi
movl $0x2d, %esi
xorl %edx, %edx
callq 0x3240
movq %rax, %r15
movq 0x1a0(%rsp), %rsi
movq 0x1a8(%rsp), %rcx
movq %r14, %rdi
movq %rax, %rdx
callq 0x3410
movb $0x1, %r13b
cmpq %r15, %rax
je 0x3b6a
movq %r12, 0x2b0(%rsp)
leaq 0x2b0(%rsp), %rdi
leaq 0x55bc(%rip), %rsi      # 0x90d4
leaq 0x55b9(%rip), %rdx      # 0x90d8
callq 0x578c
movq %r14, %rdi
movl $0x2d, %esi
xorl %edx, %edx
callq 0x3240
movq %rax, %r15
movq 0x2b0(%rsp), %rsi
movq 0x2b8(%rsp), %rcx
movq %r14, %rdi
movq %rax, %rdx
callq 0x3410
cmpq %r15, %rax
sete %r13b
movq 0x2b0(%rsp), %rdi
cmpq %r12, %rdi
je 0x3b6a
callq 0x3250
movq 0x1a0(%rsp), %rdi
leaq 0x1b0(%rsp), %rax
cmpq %rax, %rdi
je 0x3b84
callq 0x3250
testb %r13b, %r13b
je 0x3c43
movq %r14, %rdi
movl $0x3d, %esi
xorl %edx, %edx
callq 0x3300
incq %rax
leaq 0x40(%rsp), %r12
jne 0x3dc3
movq (%rsp), %rax
movq 0x8(%rax,%rbx,8), %rsi
leaq 0x68(%rsp), %rdi
leaq 0x110(%rsp), %rdx
callq 0x3110
incl %ebp
jmp 0x3dda
movl %ebx, (%r13)
movq %rax, 0x58(%rsp)
jmp 0x3d7f
leaq 0x68(%rsp), %rdi
movq %r14, %rsi
movq %rax, %rdx
movq $-0x1, %rcx
callq 0x32a0
movq 0x68(%rsp), %r15
callq 0x3050
movq %rax, %r13
movl (%rax), %ebx
movl $0x0, (%rax)
movq %r15, %rdi
leaq 0x110(%rsp), %rsi
movl $0xa, %edx
callq 0x3330
cmpq %r15, 0x110(%rsp)
je 0x469b
movl (%r13), %ecx
testl %ecx, %ecx
je 0x3d76
cmpl $0x22, %ecx
jne 0x3d7a
jmp 0x46b3
leaq 0x190(%rsp), %rax
movq %rax, 0x180(%rsp)
leaq 0x180(%rsp), %rdi
leaq 0x5477(%rip), %rsi      # 0x90d9
leaq 0x5475(%rip), %rdx      # 0x90de
callq 0x578c
leaq 0x2a0(%rsp), %r12
movq %r14, %rdi
movl $0x2d, %esi
xorl %edx, %edx
callq 0x3240
movq %rax, %r15
movq 0x180(%rsp), %rsi
movq 0x188(%rsp), %rcx
movq %r14, %rdi
movq %rax, %rdx
callq 0x3410
movb $0x1, %r13b
cmpq %r15, %rax
je 0x3d14
movq %r12, 0x290(%rsp)
leaq 0x290(%rsp), %rdi
leaq 0x541d(%rip), %rsi      # 0x90df
leaq 0x5419(%rip), %rdx      # 0x90e2
callq 0x578c
movq %r14, %rdi
movl $0x2d, %esi
xorl %edx, %edx
callq 0x3240
movq %rax, %r15
movq 0x290(%rsp), %rsi
movq 0x298(%rsp), %rcx
movq %r14, %rdi
movq %rax, %rdx
callq 0x3410
cmpq %r15, %rax
sete %r13b
movq 0x290(%rsp), %rdi
cmpq %r12, %rdi
je 0x3d14
callq 0x3250
movq 0x180(%rsp), %rdi
leaq 0x190(%rsp), %rax
cmpq %rax, %rdi
je 0x3d2e
callq 0x3250
testb %r13b, %r13b
je 0x3de7
movq %r14, %rdi
movl $0x3d, %esi
xorl %edx, %edx
callq 0x3300
incq %rax
leaq 0x40(%rsp), %r12
jne 0x3e98
movq (%rsp), %rax
movq 0x8(%rax,%rbx,8), %rsi
leaq 0x68(%rsp), %rdi
leaq 0x110(%rsp), %rdx
callq 0x3110
incl %ebp
jmp 0x3eaf
movl %ebx, (%r13)
movq %rax, 0x50(%rsp)
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x3d93
callq 0x3250
leaq 0x40(%rsp), %r12
movq 0x330(%rsp), %rdi
leaq 0x340(%rsp), %rax
cmpq %rax, %rdi
je 0x3db2
callq 0x3250
incl %ebp
cmpl 0xc(%rsp), %ebp
jl 0x37ac
jmp 0x3fe8
leaq 0x68(%rsp), %rdi
movq %r14, %rsi
movq %rax, %rdx
movq $-0x1, %rcx
callq 0x32a0
leaq 0x220(%rsp), %rdi
jmp 0x3faa
leaq 0x280(%rsp), %r12
movq %r12, 0x270(%rsp)
leaq 0x270(%rsp), %rdi
leaq 0x52dd(%rip), %rsi      # 0x90e3
leaq 0x52da(%rip), %rdx      # 0x90e7
callq 0x578c
movq %r14, %rdi
movl $0x2d, %esi
xorl %edx, %edx
callq 0x3240
movq %rax, %r13
movq 0x270(%rsp), %rsi
movq 0x278(%rsp), %rcx
movq %r14, %rdi
movq %rax, %rdx
callq 0x3410
movq %rax, %r15
movq 0x270(%rsp), %rdi
cmpq %r12, %rdi
je 0x3e54
callq 0x3250
cmpq %r13, %r15
jne 0x3ebc
movq %r14, %rdi
movl $0x3d, %esi
xorl %edx, %edx
callq 0x3300
incq %rax
leaq 0x40(%rsp), %r12
jne 0x3f6a
movq (%rsp), %rax
movq 0x8(%rax,%rbx,8), %rsi
leaq 0x68(%rsp), %rdi
leaq 0x110(%rsp), %rdx
callq 0x3110
incl %ebp
jmp 0x3f81
leaq 0x68(%rsp), %rdi
movq %r14, %rsi
movq %rax, %rdx
movq $-0x1, %rcx
callq 0x32a0
leaq 0x200(%rsp), %rdi
jmp 0x3faa
leaq 0x260(%rsp), %r12
movq %r12, 0x250(%rsp)
leaq 0x250(%rsp), %rdi
leaq 0x520d(%rip), %rsi      # 0x90e8
leaq 0x520a(%rip), %rdx      # 0x90ec
callq 0x578c
movq %r14, %rdi
movl $0x2d, %esi
xorl %edx, %edx
callq 0x3240
movq %rax, %r13
movq 0x250(%rsp), %rsi
movq 0x258(%rsp), %rcx
movq %r14, %rdi
movq %rax, %rdx
callq 0x3410
movq %rax, %r15
movq 0x250(%rsp), %rdi
cmpq %r12, %rdi
je 0x3f29
callq 0x3250
cmpq %r13, %r15
jne 0x3d93
movq %r14, %rdi
movl $0x3d, %esi
xorl %edx, %edx
callq 0x3300
incq %rax
leaq 0x40(%rsp), %r12
jne 0x3f8b
movq (%rsp), %rax
movq 0x8(%rax,%rbx,8), %rsi
leaq 0x68(%rsp), %rdi
leaq 0x110(%rsp), %rdx
callq 0x3110
incl %ebp
jmp 0x3fa2
leaq 0x68(%rsp), %rdi
movq %r14, %rsi
movq %rax, %rdx
movq $-0x1, %rcx
callq 0x32a0
leaq 0x1e0(%rsp), %rdi
jmp 0x3faa
leaq 0x68(%rsp), %rdi
movq %r14, %rsi
movq %rax, %rdx
movq $-0x1, %rcx
callq 0x32a0
leaq 0x1c0(%rsp), %rdi
leaq 0x68(%rsp), %rsi
callq 0x32e0
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x3d98
callq 0x3250
jmp 0x3d98
movl $0x3e8, %ecx            # imm = 0x3E8
movq %rcx, 0x110(%rsp)
movq %rcx, 0x118(%rsp)
jmp 0x4015
movq 0x60(%rsp), %rax
movq %rax, 0x110(%rsp)
movq 0x58(%rsp), %rcx
testq %rcx, %rcx
cmoveq %rax, %rcx
movq %rcx, 0x118(%rsp)
movq 0x50(%rsp), %rcx
testq %rcx, %rcx
cmoveq %rax, %rcx
leaq 0x130(%rsp), %rdi
movq %rcx, -0x10(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, -0x8(%rdi)
movups %xmm0, 0x8(%rdi)
movups %xmm0, 0x18(%rdi)
movups %xmm0, 0x28(%rdi)
movups %xmm0, 0x38(%rdi)
movq $0x0, 0x48(%rdi)
xorl %esi, %esi
callq 0x5822
cmpq $0x0, 0x1e8(%rsp)
je 0x40ba
leaq 0x330(%rsp), %rdi
leaq 0x1e0(%rsp), %rsi
movl $0x8, %edx
callq 0x33c0
leaq 0x330(%rsp), %rdi
leaq 0x110(%rsp), %rsi
callq 0x49e2
leaq 0x330(%rsp), %rdi
callq 0x30a0
movq 0x128(%rsp), %rax
cmpq 0x110(%rsp), %rax
jb 0x40ad
leaq 0x110(%rsp), %rdi
callq 0x4b7a
leaq 0x330(%rsp), %rdi
callq 0x30b0
leaq 0x538(%rsp), %rdi
leaq 0x220(%rsp), %rsi
callq 0x4bcc
leaq 0x68(%rsp), %r15
leaq 0x200(%rsp), %rsi
movq %r15, %rdi
callq 0x4c46
movq 0x128(%rsp), %rax
cmpq 0x110(%rsp), %rax
jae 0x4549
leaq 0x340(%rsp), %r14
leaq 0x20(%rsp), %rbx
leaq 0x10(%rsp), %r13
leaq 0x330(%rsp), %rbp
movq %r13, %rdi
movq %r15, %rsi
callq 0x4cf4
movl $0x2, %r8d
movq %r13, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x4fba(%rip), %rcx      # 0x90ed
callq 0x32c0
movq %r14, 0x330(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x4164
movq %rdx, 0x330(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x340(%rsp)
jmp 0x416b
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rdx, 0x338(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x330(%rsp), %rdi
cmpq %r14, %rdi
je 0x4198
callq 0x3250
movq 0x10(%rsp), %rdi
cmpq %rbx, %rdi
je 0x41a7
callq 0x3250
movq %r13, %rdi
leaq 0x538(%rsp), %rsi
callq 0x4cf4
movq %r13, %rdi
leaq 0x4f2f(%rip), %rsi      # 0x90f0
callq 0x3470
movq %r14, 0x330(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x41f2
movq %rdx, 0x330(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x340(%rsp)
jmp 0x41f9
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rdx, 0x338(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x330(%rsp), %rdi
cmpq %r14, %rdi
je 0x4226
callq 0x3250
movq 0x10(%rsp), %rdi
cmpq %rbx, %rdi
je 0x4235
callq 0x3250
leaq 0x310(%rsp), %r12
movq %r12, %rdi
leaq 0x538(%rsp), %rsi
callq 0x4cf4
movq %r12, %rdi
leaq 0x4e97(%rip), %rsi      # 0x90ee
callq 0x3470
movq %rbx, 0x10(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x427f
movq %rdx, 0x10(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x20(%rsp)
jmp 0x4285
movups (%rcx), %xmm0
movups %xmm0, (%rbx)
movq 0x8(%rax), %rdx
movq %rdx, 0x18(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xf0(%rsp), %rdi
movq %r15, %rsi
callq 0x4cf4
movq 0x10(%rsp), %rcx
movl $0xf, %edi
cmpq %rbx, %rcx
je 0x42c1
movq 0x20(%rsp), %rdi
movq 0x18(%rsp), %r8
movq 0xf0(%rsp), %rsi
movq 0xf8(%rsp), %rdx
leaq (%rdx,%r8), %rax
cmpq %rdi, %rax
jbe 0x42fe
movl $0xf, %edi
leaq 0x100(%rsp), %r9
cmpq %r9, %rsi
je 0x42f9
movq 0x100(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x4308
movq %r13, %rdi
callq 0x30d0
jmp 0x4319
leaq 0xf0(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x32c0
movq %r14, 0x330(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x4342
movq %rdx, 0x330(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x340(%rsp)
jmp 0x4349
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x338(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x110(%rsp), %rdi
movq %rbp, %rsi
callq 0x4d72
movq 0x330(%rsp), %rdi
cmpq %r14, %rdi
je 0x438b
callq 0x3250
movq 0xf0(%rsp), %rdi
leaq 0x100(%rsp), %rax
cmpq %rax, %rdi
je 0x43a5
callq 0x3250
movq 0x10(%rsp), %rdi
cmpq %rbx, %rdi
je 0x43b4
callq 0x3250
movq 0x310(%rsp), %rdi
leaq 0x320(%rsp), %rax
cmpq %rax, %rdi
je 0x43ce
callq 0x3250
movq 0x160(%rsp), %rbx
cmpq 0x168(%rsp), %rbx
jne 0x43f4
movq 0x178(%rsp), %rax
movq -0x8(%rax), %rbx
movl $0x180, %eax            # imm = 0x180
addq %rax, %rbx
leaq -0xc0(%rbx), %r13
callq 0x3060
movabsq $0x431bde82d7b634db, %rcx # imm = 0x431BDE82D7B634DB
imulq %rcx
movq %rdx, %rax
shrq $0x3f, %rax
sarq $0x12, %rdx
addq %rax, %rdx
movq %rdx, -0x58(%rbx)
movq -0x68(%rbx), %rax
subq -0x70(%rbx), %rax
leaq 0x538(%rsp), %r14
testb $0x20, %al
je 0x4436
movq %r15, %r14
shlq $0x1b, %rax
movabsq $0x100000001, %rcx      # imm = 0x100000001
cmpq %rcx, %rax
cmovbq %r15, %r14
movq (%r14), %rax
movq %rbp, %rdi
movq %r14, %rsi
movq %r13, %rdx
callq *0x20(%rax)
leaq 0x867f(%rip), %rax      # 0xcae0
movq %rax, 0x240(%rsp)
movl 0x338(%rsp), %eax
movl %eax, 0x248(%rsp)
movq %r13, %rdi
leaq 0x240(%rsp), %rsi
callq 0x4dce
testb %al, %al
je 0x449f
movq (%r14), %rax
movq %r14, %rdi
movq %r13, %rsi
callq *0x28(%rax)
testb %al, %al
je 0x43fb
movq %r13, %rdi
leaq 0x538(%rsp), %rsi
movq %r15, %rdx
callq 0x4e54
movq %rax, %r13
movq (%rax), %rax
movq %rbp, %rdi
movq %r13, %rsi
callq *0x40(%rax)
leaq 0x340(%rsp), %r14
leaq 0x110(%rsp), %rdi
movq %rbp, %rsi
callq 0x4ed0
movq 0x330(%rsp), %rdi
cmpq %r14, %rdi
je 0x44eb
callq 0x3250
movq (%r13), %rax
movq %rbp, %rdi
movq %r13, %rsi
callq *0x40(%rax)
movq 0x330(%rsp), %rdi
cmpq %r14, %rdi
je 0x450a
callq 0x3250
movq (%r13), %rax
movq %rbp, %rdi
movq %r13, %rsi
callq *0x40(%rax)
movq 0x330(%rsp), %rdi
cmpq %r14, %rdi
leaq 0x20(%rsp), %rbx
leaq 0x10(%rsp), %r13
je 0x4533
callq 0x3250
movq 0x128(%rsp), %rax
cmpq 0x110(%rsp), %rax
jb 0x4114
cmpq $0x0, 0x1c8(%rsp)
je 0x45c8
leaq 0x330(%rsp), %rdi
leaq 0x1c0(%rsp), %rsi
movl $0x30, %edx
callq 0x3480
leaq 0x330(%rsp), %rdi
leaq 0x110(%rsp), %rsi
callq 0x4f19
leaq 0x330(%rsp), %rdi
callq 0x3340
movq 0x8a39(%rip), %rax      # 0xcfd0
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq 0x338(%rsp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, 0x330(%rsp,%rcx)
callq 0x3220
leaq 0x428(%rsp), %rdi
callq 0x30e0
leaq 0x8711(%rip), %rbx      # 0xcce0
leaq 0x70(%rsp), %rdi
movq %rbx, -0x8(%rdi)
callq 0x7688
leaq 0x540(%rsp), %rdi
movq %rbx, -0x8(%rdi)
callq 0x7688
leaq 0x130(%rsp), %rdi
callq 0x82d0
movq 0x1c0(%rsp), %rdi
leaq 0x1d0(%rsp), %rax
cmpq %rax, %rdi
je 0x4615
callq 0x3250
movq 0x1e0(%rsp), %rdi
leaq 0x1f0(%rsp), %rax
cmpq %rax, %rdi
je 0x462f
callq 0x3250
movq 0x200(%rsp), %rdi
leaq 0x210(%rsp), %rax
cmpq %rax, %rdi
je 0x4649
callq 0x3250
movq 0x220(%rsp), %rdi
leaq 0x230(%rsp), %rax
cmpq %rax, %rdi
je 0x4663
callq 0x3250
xorl %eax, %eax
addq $0x588, %rsp            # imm = 0x588
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x4ac8(%rip), %rdi      # 0x9146
callq 0x3170
leaq 0x4abc(%rip), %rdi      # 0x9146
callq 0x3350
leaq 0x4ab0(%rip), %rdi      # 0x9146
callq 0x3170
leaq 0x4aa4(%rip), %rdi      # 0x9146
callq 0x3170
leaq 0x4a98(%rip), %rdi      # 0x9146
callq 0x3350
leaq 0x4a8c(%rip), %rdi      # 0x9146
callq 0x3350
jmp 0x486b
jmp 0x486b
jmp 0x486b
jmp 0x486b
jmp 0x486b
movq %rax, %r14
movq 0x180(%rsp), %rdi
leaq 0x190(%rsp), %rax
jmp 0x478f
jmp 0x488e
jmp 0x471e
jmp 0x486b
jmp 0x486b
movq %rax, %r14
movq 0x1a0(%rsp), %rdi
leaq 0x1b0(%rsp), %rax
jmp 0x478f
movq %rax, %r14
jmp 0x48a6
movq %rax, %r14
jmp 0x48be
jmp 0x4866
movq %rax, %r14
leaq 0x330(%rsp), %rdi
callq 0x3370
jmp 0x4891
movq %rax, %r14
leaq 0x330(%rsp), %rdi
callq 0x30b0
jmp 0x48be
jmp 0x486b
jmp 0x486b
jmp 0x4777
jmp 0x486b
jmp 0x486b
jmp 0x4777
jmp 0x486b
jmp 0x486b
movq %rax, %r14
cmpl $0x0, (%r13)
jne 0x4785
movl %ebx, (%r13)
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x486e
callq 0x3250
jmp 0x486e
jmp 0x488e
jmp 0x488e
movq %r14, %rcx
movq %rax, %r14
movq 0x330(%rsp), %rdi
cmpq %rcx, %rdi
jne 0x485f
jmp 0x4891
jmp 0x488e
jmp 0x488e
jmp 0x488e
jmp 0x47de
jmp 0x488e
movq %rax, %r14
movq 0x10(%rsp), %rdi
cmpq %rbx, %rdi
jne 0x485f
jmp 0x4891
jmp 0x488e
movq %rax, %r14
jmp 0x484a
movq %rax, %r14
jmp 0x4836
movq %rax, %r14
jmp 0x481c
movq %r14, %rcx
movq %rax, %r14
movq 0x330(%rsp), %rdi
cmpq %rcx, %rdi
je 0x481c
callq 0x3250
movq 0xf0(%rsp), %rdi
leaq 0x100(%rsp), %rax
cmpq %rax, %rdi
je 0x4836
callq 0x3250
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x484a
callq 0x3250
movq 0x310(%rsp), %rdi
leaq 0x320(%rsp), %rax
cmpq %rax, %rdi
je 0x4891
callq 0x3250
jmp 0x4891
movq %rax, %r14
jmp 0x48cb
movq %rax, %r14
movq 0x330(%rsp), %rdi
leaq 0x340(%rsp), %rax
cmpq %rax, %rdi
je 0x48cb
callq 0x3250
jmp 0x48cb
jmp 0x488e
jmp 0x488e
movq %rax, %r14
leaq 0x8448(%rip), %rax      # 0xcce0
leaq 0x70(%rsp), %rdi
movq %rax, -0x8(%rdi)
callq 0x7688
leaq 0x8433(%rip), %rax      # 0xcce0
leaq 0x540(%rsp), %rdi
movq %rax, -0x8(%rdi)
callq 0x7688
leaq 0x130(%rsp), %rdi
callq 0x82d0
movq 0x1c0(%rsp), %rdi
leaq 0x1d0(%rsp), %rax
cmpq %rax, %rdi
je 0x48e5
callq 0x3250
movq 0x1e0(%rsp), %rdi
leaq 0x1f0(%rsp), %rax
cmpq %rax, %rdi
je 0x48ff
callq 0x3250
movq 0x200(%rsp), %rdi
leaq 0x210(%rsp), %rax
cmpq %rax, %rdi
je 0x4919
callq 0x3250
movq 0x220(%rsp), %rdi
leaq 0x230(%rsp), %rax
cmpq %rax, %rdi
je 0x4933
callq 0x3250
movq %r14, %rdi
callq 0x3420
nop