// File: /workspace/github_cpp_makefile_star2_O3/splatlab[P]debgr/debruijn_graph.cc
// Function: main
int main ( int argc, char *argv[] )
{
	if (argc < 2) {
		cout << "Insufficient arguments!" << endl;
		abort();
	}
	struct timeval start1, end1;
	struct timezone tzp;

	// De-serialize QFs
	QF occurences, begins, ends, true_kmers;
	{
		string exact_ext(".exact");
		string first_ext(".first");
		string last_ext(".last");
		string ser_ext(".ser");
		string exact_cqf = string(argv[1]) + exact_ext;
		string main_cqf = string(argv[1]) + ser_ext;
		string first_cqf = string(argv[1]) + first_ext;
		string last_cqf = string(argv[1]) + last_ext;
		//Initialize the QF
		cout << "Reading CQFs off disk:" << endl;
		qf_deserialize(&true_kmers, exact_cqf.c_str());
		qf_deserialize(&occurences, main_cqf.c_str());
		qf_deserialize(&begins, first_cqf.c_str());
		qf_deserialize(&ends, last_cqf.c_str());
	}

	// Building first dBG
	dna::debruijn_graph
		dbg(K,
				dna::kmer_counter_cqf<dna::debruijn_graph::edge>(K, occurences),
				dna::kmer_counter_lossless_cqf<dna::debruijn_graph::node>(K-1, begins),
				dna::kmer_counter_lossless_cqf<dna::debruijn_graph::node>(K-1, ends),
				map<dna::debruijn_graph::node, uint64_t>());
	
	// ofstream before("/tmp/before.dot");
	// dbg.print_reachable_graph("reachable_graph", before);

	dna::debruijn_graph dbg_orig = dbg;

	cout << "Finding false positive kmers." << endl;
	unordered_set<debruijn_graph::edge> fp_kmers;
	unordered_set<debruijn_graph::edge> abundance_errors;
	gettimeofday(&start1, &tzp);
	for (const auto & e : dbg.reachable_edges()) {
		uint64_t hash = kmercounting::HashUtil::hash_64(e.val, BITMASK(2*K));
		if (qf_count_key_value(&true_kmers, hash, 0) == 0)
			fp_kmers.insert(e);
		if (qf_count_key_value(&true_kmers, hash, 0) != dbg.abundance(e))
			abundance_errors.insert(e);
	}
	gettimeofday(&end1, &tzp);
	print_time_elapsed("", &start1, &end1);
	cout << "Number of reachable fp kmers: " << fp_kmers.size() << endl;
	cout << "Number of reachable abundance errors kmers: " << abundance_errors.size() << endl;

	cout << "Counting nodes." << endl;
	gettimeofday(&start1, &tzp);
	uint64_t nnodes = 0, nedges = 0;
	for (const auto & n : dbg.reachable_nodes())
		nnodes++;
	gettimeofday(&end1, &tzp);
	print_time_elapsed("", &start1, &end1);
	cout << "Number of nodes: " << nnodes << endl;

	cout << "Counting edges." << endl;
	gettimeofday(&start1, &tzp);
	for (const auto & e : dbg.reachable_edges())
		nedges++;
	gettimeofday(&end1, &tzp);
	print_time_elapsed("", &start1, &end1);
	cout << "Number of edges: " << nedges << endl;

	cout << "Correcting abundances:" << endl;
	dbg.update_corrections();

	uint64_t num_fp_kmers_not_found_by_correction = 0;
	for (const auto & e : fp_kmers) {
		if (dbg.abundance(e)) {
			num_fp_kmers_not_found_by_correction++;
			ofstream nbhd("/tmp/fp-" + ((string)e) + ".dot");
			dbg_orig.print_nearby_graph((string)e, nbhd, left_node(e), 6);
		}
	}
	cout << "Num of false-positive k-mers not found by correcting abundance: " << num_fp_kmers_not_found_by_correction << endl;

	uint64_t num_abundance_errors_not_found_by_correction = 0;
	uint64_t num_over_counts = 0;
	uint64_t num_under_counts = 0;
	for (const auto & e : abundance_errors) {
		uint64_t hash = kmercounting::HashUtil::hash_64(e.val, BITMASK(2*K));
		if (dbg.abundance(e) != qf_count_key_value(&true_kmers, hash, 0)) {
			num_abundance_errors_not_found_by_correction++;
			ofstream nbhd("/tmp/ae-" + ((string)e) + ".dot");
			dbg_orig.print_nearby_graph((string)e, nbhd, left_node(e), 6);
			if (dbg.abundance(e) > qf_count_key_value(&true_kmers, hash, 0))
				num_over_counts++;
			else
				num_under_counts++;
		}
	}
	cout << "Num of abundance errors not found by correcting abundance: " << num_abundance_errors_not_found_by_correction << endl;
	cout << "Num of over counts: " << num_over_counts << endl;
	cout << "Num of under counts: " << num_under_counts << endl;

	QFi cfi;
	uint64_t num_fn_kmers = 0;
	qf_iterator(&true_kmers, &cfi, 0);
	do {
		uint64_t key = 0, value = 0, count = 0;
		qfi_get(&cfi, &key, &value, &count);
		uint64_t item = kmercounting::HashUtil::hash_64i(key, BITMASK(2*K));

		dna::debruijn_graph::edge e = debruijn_graph::edge(K, item);
		if (dbg.abundance(e) == 0) {
			num_fn_kmers++;
			ofstream nbhd("/tmp/fn-" + ((string)e) + ".dot");
			dbg_orig.print_nearby_graph((string)e, nbhd, left_node(e), 6);
		}
	} while (!qfi_next(&cfi));
	cout << "Number of false negative kmers: " << num_fn_kmers << endl;

	cout << "Testing local correction performance" << endl;
	gettimeofday(&start1, &tzp);
	uint64_t random_query_abundance_errors = 0;
	for (uint64_t i = 0; i < 1000000; i++) {
		dna::debruijn_graph::edge e(K, random() & BITMASK(2*K));
		dbg.update_corrections(left_node(e));
		uint64_t hash = kmercounting::HashUtil::hash_64(e.val, BITMASK(2*K));
		assert(dbg.abundance(e) >= qf_count_key_value(&true_kmers, hash, 0));
		if (dbg.abundance(e) != qf_count_key_value(&true_kmers, hash, 0)) {
			random_query_abundance_errors++;		
		}
	}
	gettimeofday(&end1, &tzp);
	print_time_elapsed("", &start1, &end1);
	cout << "Number of random query abundance errors: " << random_query_abundance_errors << endl;

	cout << "Testing navigation query performance." << endl;
	nedges = 0;
	gettimeofday(&start1, &tzp);
	for (const auto & e : dbg.reachable_edges())
		nedges++;
	gettimeofday(&end1, &tzp);
	print_time_elapsed("", &start1, &end1);
	cout << "Number of edges: " << nedges << endl;

	cout << "Testing random query performance." << endl;
	gettimeofday(&start1, &tzp);
	for (uint64_t i = 0; i < 1000000; i++) {
		dna::debruijn_graph::edge e(K, random() & BITMASK(2*K));
		uint64_t hash = kmercounting::HashUtil::hash_64(e.val, BITMASK(2*K));
		assert(dbg.abundance(e) >= qf_count_key_value(&true_kmers, hash, 0));
		if (dbg.abundance(e) != qf_count_key_value(&true_kmers, hash, 0)) {
			random_query_abundance_errors++;		
		}
	}
	gettimeofday(&end1, &tzp);
	print_time_elapsed("", &start1, &end1);
	cout << "Number of random query abundance errors: " << random_query_abundance_errors << endl;

	return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x7f8, %rsp            # imm = 0x7F8
cmpl $0x1, %edi
jle 0x8125
movq %rsi, %rbx
leaq 0x520(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0xe05e(%rip), %rsi      # 0x14505
leaq 0xe05d(%rip), %rdx      # 0x1450b
leaq 0x510(%rsp), %rdi
callq 0xcd14
leaq 0x288(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0xe03e(%rip), %rsi      # 0x1450c
leaq 0xe03d(%rip), %rdx      # 0x14512
leaq 0x278(%rsp), %rdi
callq 0xcd14
leaq 0x428(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0xe01e(%rip), %rsi      # 0x14513
leaq 0xe01c(%rip), %rdx      # 0x14518
leaq 0x418(%rsp), %rdi
callq 0xcd14
leaq 0x720(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0xdffc(%rip), %rsi      # 0x14519
leaq 0xdff9(%rip), %rdx      # 0x1451d
leaq 0x710(%rsp), %rdi
callq 0xcd14
movq 0x8(%rbx), %rsi
leaq 0x148(%rsp), %rdi
leaq 0x100(%rsp), %rdx
callq 0x20a0
movq 0x510(%rsp), %rsi
movq 0x518(%rsp), %rdx
leaq 0x148(%rsp), %rdi
callq 0x2070
leaq 0x30(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x658e
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x6594
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x28(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x158(%rsp), %r15
movq -0x10(%r15), %rdi
cmpq %r15, %rdi
je 0x65c2
callq 0x2200
movq 0x8(%rbx), %rsi
leaq 0x100(%rsp), %rdi
leaq 0x88(%rsp), %rdx
callq 0x20a0
movq 0x710(%rsp), %rsi
movq 0x718(%rsp), %rdx
leaq 0x100(%rsp), %rdi
callq 0x2070
movq %r15, 0x148(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x6624
movq %rdx, 0x148(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x158(%rsp)
jmp 0x662b
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
movq %rdx, 0x150(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x110(%rsp), %r14
movq -0x10(%r14), %rdi
cmpq %r14, %rdi
je 0x665c
callq 0x2200
movq 0x8(%rbx), %rsi
leaq 0x88(%rsp), %rdi
leaq 0xc0(%rsp), %rdx
callq 0x20a0
movq 0x278(%rsp), %rsi
movq 0x280(%rsp), %rdx
leaq 0x88(%rsp), %rdi
callq 0x2070
movq %r14, 0x100(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x66be
movq %rdx, 0x100(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x110(%rsp)
jmp 0x66c5
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
movq %rdx, 0x108(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x66f6
callq 0x2200
movq 0x8(%rbx), %rsi
leaq 0xc0(%rsp), %rdi
leaq 0x138(%rsp), %rdx
callq 0x20a0
movq 0x418(%rsp), %rsi
movq 0x420(%rsp), %rdx
leaq 0xc0(%rsp), %rdi
callq 0x2070
leaq 0x98(%rsp), %rsi
movq %rsi, 0x88(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x6760
movq %rdx, 0x88(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x98(%rsp)
jmp 0x6766
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x90(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xd0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6797
callq 0x2200
movq 0x14832(%rip), %rbx     # 0x1afd0
leaq 0xdd79(%rip), %rsi      # 0x1451e
movl $0x16, %edx
movq %rbx, %rdi
callq 0x2280
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2210
movsbl %al, %esi
movq 0x14800(%rip), %rdi     # 0x1afd0
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq 0x20(%rsp), %rsi
leaq 0xe8(%rsp), %rdi
callq 0x100c8
movq 0x148(%rsp), %rsi
leaq 0x4f8(%rsp), %rdi
callq 0x100c8
movq 0x100(%rsp), %rsi
leaq 0x4e0(%rsp), %rdi
callq 0x100c8
movq 0x88(%rsp), %rsi
leaq 0x4c8(%rsp), %rdi
callq 0x100c8
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x6848
callq 0x2200
movq 0x100(%rsp), %rdi
cmpq %r14, %rdi
je 0x685a
callq 0x2200
movq 0x148(%rsp), %rdi
cmpq %r15, %rdi
leaq 0x30(%rsp), %rbx
je 0x6871
callq 0x2200
movq 0x20(%rsp), %rdi
cmpq %rbx, %rdi
je 0x6880
callq 0x2200
movq 0x710(%rsp), %rdi
cmpq %r12, %rdi
je 0x6892
callq 0x2200
movq 0x418(%rsp), %rdi
leaq 0x428(%rsp), %r12
cmpq %r12, %rdi
je 0x68ac
callq 0x2200
movq 0x278(%rsp), %rdi
cmpq %rbp, %rdi
je 0x68be
callq 0x2200
movq 0x510(%rsp), %rdi
cmpq %r13, %rdi
je 0x68d0
callq 0x2200
movq 0x508(%rsp), %rax
leaq 0x498(%rsp), %r13
movq %rax, -0x60(%r13)
movups 0x4f8(%rsp), %xmm0
movups %xmm0, -0x70(%r13)
movups 0x4e0(%rsp), %xmm0
movups %xmm0, -0x48(%r13)
movq 0x4f0(%rsp), %rax
movq %rax, -0x38(%r13)
movups 0x4c8(%rsp), %xmm0
movups %xmm0, -0x20(%r13)
movq 0x4d8(%rsp), %rax
movq %rax, -0x10(%r13)
leaq 0x7c8(%rsp), %rax
xorps %xmm0, %xmm0
movaps %xmm0, -0x8(%rax)
xorl %ecx, %ecx
movq %rcx, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
movq %rcx, 0x20(%rax)
movl $0x1c, -0x80(%r13)
leaq 0x14385(%rip), %r15     # 0x1acd8
movq %r15, -0x78(%r13)
movq $0x1c, -0x58(%r13)
movl $0x1b, %eax
movq %rax, -0x30(%r13)
leaq 0x14399(%rip), %r14     # 0x1ad08
movq %r14, -0x50(%r13)
movq %rax, -0x8(%r13)
movq %r14, -0x28(%r13)
leaq 0x7c0(%rsp), %rbx
movq %r13, %rdi
movq %rbx, %rsi
callq 0xc512
leaq 0x450(%rsp), %rbx
leaq 0x7c0(%rsp), %rdi
callq 0xc7ea
movl -0x38(%rbx), %eax
leaq 0x790(%rsp), %rdi
movl %eax, -0x80(%rdi)
movq %r15, -0x78(%rdi)
movups (%r12), %xmm0
movups 0x10(%r12), %xmm1
movups %xmm0, -0x70(%rdi)
movups %xmm1, -0x60(%rdi)
movups (%rbx), %xmm0
movups 0x10(%rbx), %xmm1
movups %xmm0, -0x48(%rdi)
movups %xmm1, -0x38(%rdi)
movq %r14, -0x50(%rdi)
movups 0x28(%rbx), %xmm0
movups 0x38(%rbx), %xmm1
movups %xmm1, -0x10(%rdi)
movups %xmm0, -0x20(%rdi)
movq %r14, -0x28(%rdi)
movq %r13, %rsi
callq 0xc512
movq 0x145d2(%rip), %rbx     # 0x1afd0
leaq 0xdb30(%rip), %rsi      # 0x14535
movl $0x1d, %edx
movq %rbx, %rdi
callq 0x2280
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2210
movsbl %al, %esi
movq 0x145a0(%rip), %rdi     # 0x1afd0
callq 0x2030
movq %rax, %rdi
callq 0x2150
leaq 0x178(%rsp), %rax
movq %rax, -0x30(%rax)
movl $0x1, %ecx
movq %rcx, -0x28(%rax)
xorps %xmm0, %xmm0
movups %xmm0, -0x20(%rax)
movl $0x3f800000, %edx       # imm = 0x3F800000
movl %edx, -0x10(%rax)
movups %xmm0, -0x8(%rax)
leaq 0x130(%rsp), %rax
movq %rax, -0x30(%rax)
movq %rcx, -0x28(%rax)
movups %xmm0, -0x20(%rax)
movl %edx, -0x10(%rax)
movups %xmm0, -0x8(%rax)
leaq 0x78(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x2370
leaq 0x20(%rsp), %rdi
leaq 0x418(%rsp), %rsi
callq 0x358c
leaq 0x510(%rsp), %rbx
leaq 0x20(%rsp), %rsi
movq %rbx, %rdi
callq 0xbd6e
leaq 0x278(%rsp), %r14
leaq 0x20(%rsp), %rsi
movq %r14, %rdi
callq 0xbe08
movl $0x130, %ebp            # imm = 0x130
leaq (%rbx,%rbp), %r12
addq %r14, %rbp
leaq 0xe8(%rsp), %r15
leaq 0x418(%rsp), %r13
movq 0x668(%rsp), %rax
cmpq %r12, %rax
jne 0x6b02
cmpq %rbp, 0x3d0(%rsp)
je 0x6bbf
movl 0x20(%rax), %ecx
movq 0x28(%rax), %rdi
movl %ecx, 0x88(%rsp)
movq %rdi, 0x90(%rsp)
movabsq $0xffffffffffffff, %rsi # imm = 0xFFFFFFFFFFFFFF
callq 0xf992
movq %rax, %r14
movq %r15, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x120d0
testq %rax, %rax
jne 0x6b61
leaq 0x148(%rsp), %rdi
movq %rdi, 0xc0(%rsp)
leaq 0x88(%rsp), %rsi
leaq 0xc0(%rsp), %rdx
callq 0xd012
movq %r15, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x120d0
movq %rax, %r14
movl 0x88(%rsp), %esi
movq 0x90(%rsp), %rdx
movq %r13, %rdi
callq 0x2eaa
cmpq %rax, %r14
je 0x6bb2
leaq 0x100(%rsp), %rdi
movq %rdi, 0xc0(%rsp)
leaq 0x88(%rsp), %rsi
leaq 0xc0(%rsp), %rdx
callq 0xd012
movq %rbx, %rdi
callq 0xbe78
jmp 0x6ae7
movl $0x128, %r14d           # imm = 0x128
leaq 0x278(%rsp), %r13
leaq (%r14,%r13), %rdi
callq 0xc756
movl $0xf0, %r15d
leaq (%r15,%r13), %rdi
callq 0xc6f4
movl $0xa0, %r12d
addq %r12, %r13
movq %r13, %rdi
callq 0xc946
leaq 0x2d8(%rsp), %rdi
callq 0xc6f4
leaq 0x288(%rsp), %rdi
callq 0xc946
addq %rbx, %r14
movq %r14, %rdi
callq 0xc756
addq %rbx, %r15
movq %r15, %rdi
callq 0xc6f4
addq %r12, %rbx
movq %rbx, %rdi
callq 0xc946
leaq 0x570(%rsp), %rdi
callq 0xc6f4
leaq 0x520(%rsp), %rdi
callq 0xc946
leaq 0x28(%rsp), %rdi
callq 0xc6f4
leaq 0x68(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x2370
leaq 0x268(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0xde54(%rip), %rdx      # 0x14acb
leaq 0x258(%rsp), %rdi
movq %rdx, %rsi
callq 0xcd14
movq 0x258(%rsp), %rdi
movq 0x260(%rsp), %rsi
leaq 0x78(%rsp), %rdx
leaq 0x68(%rsp), %rcx
callq 0x8580
movq 0x258(%rsp), %rdi
cmpq %rbx, %rdi
je 0x6cb8
callq 0x2200
movq 0x14311(%rip), %rdi     # 0x1afd0
leaq 0xd88d(%rip), %rsi      # 0x14553
movl $0x1e, %edx
callq 0x2280
movq 0x160(%rsp), %rsi
movq 0x142f1(%rip), %rdi     # 0x1afd0
callq 0x2140
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2210
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq 0x142bb(%rip), %rdi     # 0x1afd0
leaq 0xd856(%rip), %rsi      # 0x14572
movl $0x2c, %edx
callq 0x2280
movq 0x118(%rsp), %rsi
movq 0x1429b(%rip), %rdi     # 0x1afd0
callq 0x2140
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2210
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq 0x14265(%rip), %rbx     # 0x1afd0
leaq 0xd82d(%rip), %rsi      # 0x1459f
movl $0xf, %edx
movq %rbx, %rdi
callq 0x2280
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2210
movsbl %al, %esi
movq 0x14233(%rip), %rdi     # 0x1afd0
callq 0x2030
movq %rax, %rdi
callq 0x2150
leaq 0x78(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x2370
leaq 0x20(%rsp), %rdi
leaq 0x418(%rsp), %rsi
callq 0x31fe
leaq 0x510(%rsp), %rdi
leaq 0x20(%rsp), %rsi
callq 0xc198
leaq 0x278(%rsp), %rdi
leaq 0x20(%rsp), %rsi
callq 0xc232
xorl %ebx, %ebx
leaq 0x510(%rsp), %r14
movq 0x548(%rsp), %rax
cmpq 0x528(%rsp), %rax
jne 0x6e1d
movq 0x290(%rsp), %rax
cmpq %rax, 0x2b0(%rsp)
je 0x6e2a
incq %rbx
movq %r14, %rdi
callq 0xc2a2
jmp 0x6df9
leaq 0x2d0(%rsp), %rdi
callq 0xc6f4
leaq 0x280(%rsp), %rdi
callq 0xc946
leaq 0x568(%rsp), %rdi
callq 0xc6f4
leaq 0x518(%rsp), %rdi
callq 0xc946
leaq 0x28(%rsp), %rdi
callq 0xc6f4
leaq 0x68(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x2370
leaq 0x248(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0xdc41(%rip), %rdx      # 0x14acb
leaq 0x238(%rsp), %rdi
movq %rdx, %rsi
callq 0xcd14
movq 0x238(%rsp), %rdi
movq 0x240(%rsp), %rsi
leaq 0x78(%rsp), %rdx
leaq 0x68(%rsp), %rcx
callq 0x8580
movq 0x238(%rsp), %rdi
cmpq %r14, %rdi
je 0x6ecb
callq 0x2200
movq 0x140fe(%rip), %rdi     # 0x1afd0
leaq 0xd6d6(%rip), %rsi      # 0x145af
movl $0x11, %edx
callq 0x2280
movq 0x140e6(%rip), %rdi     # 0x1afd0
movq %rbx, %rsi
callq 0x2140
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2210
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq 0x140ad(%rip), %rbx     # 0x1afd0
leaq 0xd697(%rip), %rsi      # 0x145c1
movl $0xf, %edx
movq %rbx, %rdi
callq 0x2280
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2210
movsbl %al, %esi
movq 0x1407b(%rip), %rdi     # 0x1afd0
callq 0x2030
movq %rax, %rdi
callq 0x2150
leaq 0x78(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x2370
leaq 0x20(%rsp), %rdi
leaq 0x418(%rsp), %rsi
callq 0x358c
leaq 0x510(%rsp), %r14
leaq 0x20(%rsp), %rsi
movq %r14, %rdi
callq 0xbd6e
leaq 0x278(%rsp), %r15
leaq 0x20(%rsp), %rsi
movq %r15, %rdi
callq 0xbe08
movl $0x130, %r12d           # imm = 0x130
leaq (%r14,%r12), %r13
addq %r15, %r12
xorl %ebx, %ebx
cmpq %r13, 0x668(%rsp)
jne 0x6fd0
cmpq %r12, 0x3d0(%rsp)
je 0x6fdd
incq %rbx
movq %r14, %rdi
callq 0xbe78
jmp 0x6fbc
movl $0x128, %r12d           # imm = 0x128
leaq (%r15,%r12), %rdi
callq 0xc756
movl $0xf0, %r13d
leaq (%r15,%r13), %rdi
callq 0xc6f4
movl $0xa0, %ebp
addq %rbp, %r15
movq %r15, %rdi
callq 0xc946
leaq 0x2d8(%rsp), %rdi
callq 0xc6f4
leaq 0x288(%rsp), %rdi
callq 0xc946
addq %r14, %r12
movq %r12, %rdi
callq 0xc756
addq %r14, %r13
movq %r13, %rdi
callq 0xc6f4
addq %rbp, %r14
movq %r14, %rdi
callq 0xc946
leaq 0x570(%rsp), %rdi
callq 0xc6f4
leaq 0x520(%rsp), %rdi
callq 0xc946
leaq 0x28(%rsp), %rdi
callq 0xc6f4
leaq 0x68(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x2370
leaq 0x228(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0xda3f(%rip), %rdx      # 0x14acb
leaq 0x218(%rsp), %rdi
movq %rdx, %rsi
callq 0xcd14
movq 0x218(%rsp), %rdi
movq 0x220(%rsp), %rsi
leaq 0x78(%rsp), %rdx
leaq 0x68(%rsp), %rcx
callq 0x8580
movq 0x218(%rsp), %rdi
cmpq %r14, %rdi
je 0x70cd
callq 0x2200
movq 0x13efc(%rip), %rdi     # 0x1afd0
leaq 0xd4f6(%rip), %rsi      # 0x145d1
movl $0x11, %edx
callq 0x2280
movq 0x13ee4(%rip), %rdi     # 0x1afd0
movq %rbx, %rsi
callq 0x2140
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2210
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq 0x13eab(%rip), %rbx     # 0x1afd0
leaq 0xd4b7(%rip), %rsi      # 0x145e3
movl $0x16, %edx
movq %rbx, %rdi
callq 0x2280
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2210
movsbl %al, %esi
movq 0x13e79(%rip), %rdi     # 0x1afd0
callq 0x2030
movq %rax, %rdi
callq 0x2150
leaq 0x418(%rsp), %rdi
callq 0x579a
movq 0x158(%rsp), %r12
testq %r12, %r12
je 0x73b3
movq 0x13e3f(%rip), %rax     # 0x1afc8
movq (%rax), %r13
movq 0x18(%rax), %rax
movq %rax, 0x18(%rsp)
movq $0x0, 0x10(%rsp)
leaq 0x88(%rsp), %r15
leaq 0x3f8(%rsp), %rbx
movl 0x8(%r12), %esi
movq 0x10(%r12), %rdx
leaq 0x418(%rsp), %rdi
callq 0x2eaa
testq %rax, %rax
je 0x73a4
leaq 0x8(%r12), %r14
movq %r15, %rbp
movq %r15, %rdi
movq %r14, %rsi
callq 0x2892
movl $0x8, %r8d
movq %rbp, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0xd405(%rip), %rcx      # 0x145fa
callq 0x2270
leaq 0x30(%rsp), %rsi
movq %rsi, 0x20(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x7222
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x7228
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x28(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x20(%rsp), %rdi
leaq 0xd3b7(%rip), %rsi      # 0x14603
callq 0x23f0
leaq 0x288(%rsp), %rsi
movq %rsi, 0x278(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x7285
movq %rdx, 0x278(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x288(%rsp)
jmp 0x728b
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x280(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x510(%rsp), %rdi
leaq 0x278(%rsp), %rsi
movl $0x10, %edx
callq 0x2400
movq 0x278(%rsp), %rdi
leaq 0x288(%rsp), %rax
cmpq %rax, %rdi
je 0x72da
callq 0x2200
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x72ee
callq 0x2200
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x7308
callq 0x2200
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2892
movl 0x8(%r12), %edi
movq 0x10(%r12), %rsi
leal -0x1(%rdi), %edx
callq 0x2bc4
movl %eax, %edi
movq %rdx, %rsi
callq 0x2a77
movq %rdx, %r8
movl $0x6, %r9d
leaq 0x710(%rsp), %rdi
movq %rbx, %rsi
leaq 0x510(%rsp), %rdx
movl %eax, %ecx
callq 0x4540
movq 0x3f8(%rsp), %rdi
leaq 0x408(%rsp), %rax
cmpq %rax, %rdi
je 0x736c
callq 0x2200
incq 0x10(%rsp)
movq %r13, 0x510(%rsp)
movq -0x18(%r13), %rax
movq 0x18(%rsp), %rcx
movq %rcx, 0x510(%rsp,%rax)
leaq 0x518(%rsp), %rdi
callq 0x21e0
leaq 0x608(%rsp), %rdi
callq 0x2080
movq (%r12), %r12
testq %r12, %r12
jne 0x71ae
jmp 0x73bc
movq $0x0, 0x10(%rsp)
movq 0x13c0d(%rip), %rdi     # 0x1afd0
leaq 0xd23e(%rip), %rsi      # 0x14608
movl $0x40, %edx
callq 0x2280
movq 0x13bf5(%rip), %rdi     # 0x1afd0
movq 0x10(%rsp), %rsi
callq 0x2140
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2210
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq 0x110(%rsp), %rbx
testq %rbx, %rbx
je 0x76d6
movq 0x13ba1(%rip), %rax     # 0x1afc8
movq (%rax), %rcx
movq %rcx, 0x180(%rsp)
movq 0x18(%rax), %rax
movq %rax, 0xb8(%rsp)
xorl %r14d, %r14d
leaq 0x88(%rsp), %r13
movq $0x0, 0x10(%rsp)
movq $0x0, 0x18(%rsp)
movq 0x10(%rbx), %rdi
movabsq $0xffffffffffffff, %rsi # imm = 0xFFFFFFFFFFFFFF
callq 0xf992
movq %rax, %r12
movl 0x8(%rbx), %esi
movq 0x10(%rbx), %rdx
leaq 0x418(%rsp), %rdi
callq 0x2eaa
movq %rax, %r15
leaq 0xe8(%rsp), %rdi
movq %r12, %rsi
xorl %edx, %edx
callq 0x120d0
cmpq %rax, %r15
je 0x76c8
leaq 0x8(%rbx), %r15
movq %r13, %rbp
movq %r13, %rdi
movq %r15, %rsi
callq 0x2892
movl $0x8, %r8d
movq %rbp, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0xd180(%rip), %rcx      # 0x14649
callq 0x2270
leaq 0x30(%rsp), %rsi
movq %rsi, 0x20(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x74f6
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x74fc
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x28(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x20(%rsp), %rdi
leaq 0xd0e3(%rip), %rsi      # 0x14603
callq 0x23f0
leaq 0x288(%rsp), %rsi
movq %rsi, 0x278(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x7559
movq %rdx, 0x278(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x288(%rsp)
jmp 0x755f
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x280(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x510(%rsp), %rdi
leaq 0x278(%rsp), %rsi
movl $0x10, %edx
callq 0x2400
movq 0x278(%rsp), %rdi
leaq 0x288(%rsp), %rax
cmpq %rax, %rdi
je 0x75ae
callq 0x2200
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x75c2
callq 0x2200
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x75dc
callq 0x2200
leaq 0x1f8(%rsp), %rdi
movq %r15, %rsi
callq 0x2892
movl 0x8(%rbx), %edi
movq 0x10(%rbx), %rsi
leal -0x1(%rdi), %edx
callq 0x2bc4
movl %eax, %edi
movq %rdx, %rsi
callq 0x2a77
movq %rdx, %r8
movl $0x6, %r9d
leaq 0x710(%rsp), %rdi
leaq 0x1f8(%rsp), %rsi
leaq 0x510(%rsp), %rdx
movl %eax, %ecx
callq 0x4540
movq 0x1f8(%rsp), %rdi
leaq 0x208(%rsp), %rax
cmpq %rax, %rdi
je 0x7647
callq 0x2200
movl 0x8(%rbx), %esi
movq 0x10(%rbx), %rdx
leaq 0x418(%rsp), %rdi
callq 0x2eaa
movq %rax, %r15
leaq 0xe8(%rsp), %rdi
movq %r12, %rsi
xorl %edx, %edx
callq 0x120d0
incq %r14
xorl %ecx, %ecx
xorl %edx, %edx
cmpq %rax, %r15
seta %cl
setbe %dl
addq %rdx, 0x18(%rsp)
addq %rcx, 0x10(%rsp)
movq 0x180(%rsp), %rax
movq %rax, 0x510(%rsp)
movq -0x18(%rax), %rax
movq 0xb8(%rsp), %rcx
movq %rcx, 0x510(%rsp,%rax)
leaq 0x518(%rsp), %rdi
callq 0x21e0
leaq 0x608(%rsp), %rdi
callq 0x2080
movq (%rbx), %rbx
testq %rbx, %rbx
jne 0x745b
jmp 0x76eb
movq $0x0, 0x18(%rsp)
movq $0x0, 0x10(%rsp)
xorl %r14d, %r14d
movq 0x138de(%rip), %rdi     # 0x1afd0
leaq 0xcf59(%rip), %rsi      # 0x14652
movl $0x3b, %edx
callq 0x2280
movq 0x138c6(%rip), %rdi     # 0x1afd0
movq %r14, %rsi
callq 0x2140
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2210
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq 0x1388d(%rip), %rdi     # 0x1afd0
leaq 0xcf44(%rip), %rsi      # 0x1468e
movl $0x14, %edx
callq 0x2280
movq 0x13875(%rip), %rdi     # 0x1afd0
movq 0x10(%rsp), %rsi
callq 0x2140
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2210
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq 0x1383a(%rip), %rdi     # 0x1afd0
leaq 0xcf06(%rip), %rsi      # 0x146a3
movl $0x15, %edx
callq 0x2280
movq 0x13822(%rip), %rdi     # 0x1afd0
movq 0x18(%rsp), %rsi
callq 0x2140
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2210
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
leaq 0xe8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
xorl %edx, %edx
callq 0x12766
movq 0x137c8(%rip), %rax     # 0x1afc8
movq (%rax), %rcx
movq %rcx, 0xb8(%rsp)
movq 0x18(%rax), %rax
movq %rax, 0x18(%rsp)
xorl %r14d, %r14d
leaq 0x88(%rsp), %r12
leaq 0xc0(%rsp), %r15
movq $0x0, 0x10(%rsp)
movq %r14, 0xe0(%rsp)
movq %r14, 0x190(%rsp)
movq %r14, 0x188(%rsp)
movq %r12, %rdi
leaq 0xe0(%rsp), %rsi
leaq 0x190(%rsp), %rdx
leaq 0x188(%rsp), %rcx
callq 0x129d7
movq 0xe0(%rsp), %rdi
movabsq $0xffffffffffffff, %r13 # imm = 0xFFFFFFFFFFFFFF
movq %r13, %rsi
callq 0xf9e4
andq %r13, %rax
movl $0x1c, %edi
movq %rax, %rsi
callq 0x2a77
movl %eax, %r13d
movq %rdx, %rbp
movl %eax, 0x138(%rsp)
movq %rdx, 0x140(%rsp)
leaq 0x418(%rsp), %rdi
movl %eax, %esi
callq 0x2eaa
testq %rax, %rax
jne 0x7aa8
movq %r15, %rbx
movq %r15, %rdi
leaq 0x138(%rsp), %rsi
callq 0x2892
movl $0x8, %r8d
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0xcdd3(%rip), %rcx      # 0x146b9
callq 0x2270
leaq 0x30(%rsp), %rsi
movq %rsi, 0x20(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x7913
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x7919
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x28(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x20(%rsp), %rdi
leaq 0xccc6(%rip), %rsi      # 0x14603
callq 0x23f0
leaq 0x288(%rsp), %rsi
movq %rsi, 0x278(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x7976
movq %rdx, 0x278(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x288(%rsp)
jmp 0x797c
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x280(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x510(%rsp), %rdi
leaq 0x278(%rsp), %rsi
movl $0x10, %edx
callq 0x2400
movq 0x278(%rsp), %rdi
leaq 0x288(%rsp), %rax
cmpq %rax, %rdi
je 0x79cb
callq 0x2200
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x79df
callq 0x2200
movq 0xc0(%rsp), %rdi
leaq 0xd0(%rsp), %rax
cmpq %rax, %rdi
je 0x79f9
callq 0x2200
leaq 0x3d8(%rsp), %rbx
movq %rbx, %rdi
leaq 0x138(%rsp), %rsi
callq 0x2892
movl %r13d, %edx
decl %edx
movl %r13d, %edi
movq %rbp, %rsi
callq 0x2bc4
movl %eax, %edi
movq %rdx, %rsi
callq 0x2a77
movq %rdx, %r8
movl $0x6, %r9d
leaq 0x710(%rsp), %rdi
movq %rbx, %rsi
leaq 0x510(%rsp), %rdx
movl %eax, %ecx
callq 0x4540
movq 0x3d8(%rsp), %rdi
leaq 0x3e8(%rsp), %rax
cmpq %rax, %rdi
je 0x7a68
callq 0x2200
incq 0x10(%rsp)
movq 0xb8(%rsp), %rax
movq %rax, 0x510(%rsp)
movq -0x18(%rax), %rax
movq 0x18(%rsp), %rcx
movq %rcx, 0x510(%rsp,%rax)
leaq 0x518(%rsp), %rdi
callq 0x21e0
leaq 0x608(%rsp), %rdi
callq 0x2080
movq %r12, %rdi
callq 0x12a69
testl %eax, %eax
je 0x7830
movq 0x13511(%rip), %rdi     # 0x1afd0
leaq 0xcbfc(%rip), %rsi      # 0x146c2
movl $0x20, %edx
callq 0x2280
movq 0x134f9(%rip), %rdi     # 0x1afd0
movq 0x10(%rsp), %rsi
callq 0x2140
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2210
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq 0x134be(%rip), %rbx     # 0x1afd0
leaq 0xcbca(%rip), %rsi      # 0x146e3
movl $0x24, %edx
movq %rbx, %rdi
callq 0x2280
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2210
movsbl %al, %esi
movq 0x1348c(%rip), %rdi     # 0x1afd0
callq 0x2030
movq %rax, %rdi
callq 0x2150
leaq 0x78(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x2370
movl $0xf4240, %ebx          # imm = 0xF4240
xorl %r12d, %r12d
callq 0x20d0
movabsq $0xffffffffffffff, %rcx # imm = 0xFFFFFFFFFFFFFF
andq %rcx, %rax
movl $0x1c, %edi
movq %rax, %rsi
callq 0x2a77
movl %eax, %ebp
movq %rdx, %r13
leal -0x1(%rbp), %edx
movl %eax, %edi
movq %r13, %rsi
callq 0x2bc4
movl %eax, %edi
movq %rdx, %rsi
callq 0x2a77
leaq 0x418(%rsp), %rdi
movl %eax, %esi
callq 0x5740
movq %r13, %rdi
movabsq $0xffffffffffffff, %rsi # imm = 0xFFFFFFFFFFFFFF
callq 0xf992
movq %rax, %r14
leaq 0x418(%rsp), %rdi
movl %ebp, %esi
movq %r13, %rdx
callq 0x2eaa
movq %rax, %r15
leaq 0xe8(%rsp), %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x120d0
cmpq %rax, %r15
jb 0x80e7
leaq 0x418(%rsp), %rdi
movl %ebp, %esi
movq %r13, %rdx
callq 0x2eaa
movq %rax, %r15
leaq 0xe8(%rsp), %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x120d0
xorl %ecx, %ecx
cmpq %rax, %r15
setne %cl
addq %rcx, %r12
decq %rbx
jne 0x7b68
leaq 0x68(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x2370
leaq 0x1e8(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0xce77(%rip), %rdx      # 0x14acb
leaq 0x1d8(%rsp), %rdi
movq %rdx, %rsi
callq 0xcd14
movq 0x1d8(%rsp), %rdi
movq 0x1e0(%rsp), %rsi
leaq 0x78(%rsp), %rdx
leaq 0x68(%rsp), %rcx
callq 0x8580
movq 0x1d8(%rsp), %rdi
cmpq %rbx, %rdi
je 0x7c95
callq 0x2200
movq 0x13334(%rip), %rdi     # 0x1afd0
leaq 0xcab9(%rip), %rsi      # 0x1475c
movl $0x29, %edx
callq 0x2280
movq 0x1331c(%rip), %rdi     # 0x1afd0
movq %r12, %rsi
callq 0x2140
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2210
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq 0x132e3(%rip), %rbx     # 0x1afd0
leaq 0xca92(%rip), %rsi      # 0x14786
movl $0x25, %edx
movq %rbx, %rdi
callq 0x2280
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2210
movsbl %al, %esi
movq 0x132b1(%rip), %rdi     # 0x1afd0
callq 0x2030
movq %rax, %rdi
callq 0x2150
leaq 0x78(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x2370
leaq 0x20(%rsp), %rdi
leaq 0x418(%rsp), %rsi
callq 0x358c
leaq 0x510(%rsp), %r14
leaq 0x20(%rsp), %rsi
movq %r14, %rdi
callq 0xbd6e
leaq 0x278(%rsp), %r15
leaq 0x20(%rsp), %rsi
movq %r15, %rdi
callq 0xbe08
movl $0x130, %r13d           # imm = 0x130
leaq (%r14,%r13), %rbp
addq %r15, %r13
xorl %ebx, %ebx
cmpq %rbp, 0x668(%rsp)
jne 0x7d9a
cmpq %r13, 0x3d0(%rsp)
je 0x7da7
incq %rbx
movq %r14, %rdi
callq 0xbe78
jmp 0x7d86
movl $0x128, %r13d           # imm = 0x128
leaq (%r15,%r13), %rdi
callq 0xc756
movl $0xf0, %ebp
leaq (%r15,%rbp), %rdi
callq 0xc6f4
movl $0xa0, %eax
addq %rax, %r15
movq %r15, %rdi
callq 0xc946
leaq 0x2d8(%rsp), %rdi
callq 0xc6f4
leaq 0x288(%rsp), %rdi
callq 0xc946
addq %r14, %r13
movq %r13, %rdi
callq 0xc756
addq %r14, %rbp
movq %rbp, %rdi
callq 0xc6f4
movl $0xa0, %eax
addq %rax, %r14
movq %r14, %rdi
callq 0xc946
leaq 0x570(%rsp), %rdi
callq 0xc6f4
leaq 0x520(%rsp), %rdi
callq 0xc946
leaq 0x28(%rsp), %rdi
callq 0xc6f4
leaq 0x68(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x2370
leaq 0x1c8(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0xcc71(%rip), %rdx      # 0x14acb
leaq 0x1b8(%rsp), %rdi
movq %rdx, %rsi
callq 0xcd14
movq 0x1b8(%rsp), %rdi
movq 0x1c0(%rsp), %rsi
leaq 0x78(%rsp), %rdx
leaq 0x68(%rsp), %rcx
callq 0x8580
movq 0x1b8(%rsp), %rdi
cmpq %r14, %rdi
je 0x7e9b
callq 0x2200
movq 0x1312e(%rip), %rdi     # 0x1afd0
leaq 0xc728(%rip), %rsi      # 0x145d1
movl $0x11, %edx
callq 0x2280
movq 0x13116(%rip), %rdi     # 0x1afd0
movq %rbx, %rsi
callq 0x2140
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2210
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq 0x130dd(%rip), %rbx     # 0x1afd0
leaq 0xc8b2(%rip), %rsi      # 0x147ac
movl $0x21, %edx
movq %rbx, %rdi
callq 0x2280
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2210
movsbl %al, %esi
movq 0x130ab(%rip), %rdi     # 0x1afd0
callq 0x2030
movq %rax, %rdi
callq 0x2150
leaq 0x78(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x2370
movl $0xf4240, %r15d         # imm = 0xF4240
callq 0x20d0
movabsq $0xffffffffffffff, %rcx # imm = 0xFFFFFFFFFFFFFF
andq %rcx, %rax
movl $0x1c, %edi
movq %rax, %rsi
callq 0x2a77
movl %eax, %ebp
movq %rdx, %rbx
movq %rdx, %rdi
movabsq $0xffffffffffffff, %rsi # imm = 0xFFFFFFFFFFFFFF
callq 0xf992
movq %rax, %r13
leaq 0x418(%rsp), %rdi
movl %ebp, %esi
movq %rbx, %rdx
callq 0x2eaa
movq %rax, %r14
leaq 0xe8(%rsp), %rdi
movq %r13, %rsi
xorl %edx, %edx
callq 0x120d0
cmpq %rax, %r14
jb 0x8106
leaq 0x418(%rsp), %rdi
movl %ebp, %esi
movq %rbx, %rdx
callq 0x2eaa
movq %rax, %rbx
leaq 0xe8(%rsp), %rdi
movq %r13, %rsi
xorl %edx, %edx
callq 0x120d0
xorl %ecx, %ecx
cmpq %rax, %rbx
setne %cl
addq %rcx, %r12
decq %r15
jne 0x7f47
leaq 0x68(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x2370
leaq 0x1a8(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0xcabe(%rip), %rdx      # 0x14acb
leaq 0x198(%rsp), %rdi
movq %rdx, %rsi
callq 0xcd14
movq 0x198(%rsp), %rdi
movq 0x1a0(%rsp), %rsi
leaq 0x78(%rsp), %rdx
leaq 0x68(%rsp), %rcx
callq 0x8580
movq 0x198(%rsp), %rdi
cmpq %rbx, %rdi
je 0x804e
callq 0x2200
movq 0x12f7b(%rip), %rdi     # 0x1afd0
leaq 0xc700(%rip), %rsi      # 0x1475c
movl $0x29, %edx
callq 0x2280
movq 0x12f63(%rip), %rdi     # 0x1afd0
movq %r12, %rsi
callq 0x2140
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2210
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
leaq 0x100(%rsp), %rdi
callq 0xc6f4
leaq 0x148(%rsp), %rdi
callq 0xc6f4
leaq 0x790(%rsp), %rdi
callq 0xc7ea
leaq 0x498(%rsp), %rdi
callq 0xc7ea
xorl %eax, %eax
addq $0x7f8, %rsp            # imm = 0x7F8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xc61a(%rip), %rdi      # 0x14708
leaq 0xc0a7(%rip), %rsi      # 0x1419c
leaq 0xc649(%rip), %rcx      # 0x14745
movl $0x60e, %edx            # imm = 0x60E
callq 0x2120
leaq 0xc5fb(%rip), %rdi      # 0x14708
leaq 0xc088(%rip), %rsi      # 0x1419c
leaq 0xc62a(%rip), %rcx      # 0x14745
movl $0x625, %edx            # imm = 0x625
callq 0x2120
movq 0x12ea4(%rip), %rdi     # 0x1afd0
leaq 0xc3ba(%rip), %rsi      # 0x144ed
callq 0x2220
movq %rax, %rdi
callq 0x20c0
callq 0x2100
movq %rax, %r14
movq 0x198(%rsp), %rdi
jmp 0x81e4
jmp 0x8541
movq %rax, %rbx
movq 0x1b8(%rsp), %rdi
jmp 0x81b3
jmp 0x8541
jmp 0x81f7
jmp 0x81ff
jmp 0x8541
movq %rax, %r14
movq 0x1d8(%rsp), %rdi
jmp 0x81e4
jmp 0x8541
movq %rax, %rbx
movq 0x218(%rsp), %rdi
jmp 0x81b3
jmp 0x8541
jmp 0x81f7
jmp 0x81ff
jmp 0x8541
movq %rax, %rbx
movq 0x238(%rsp), %rdi
cmpq %r14, %rdi
je 0x81bd
callq 0x2200
movq %rbx, %r14
jmp 0x8544
jmp 0x8541
movq %rax, %r14
jmp 0x84ec
jmp 0x81ff
jmp 0x8541
movq %rax, %r14
movq 0x258(%rsp), %rdi
cmpq %rbx, %rdi
jne 0x8494
jmp 0x8544
jmp 0x8541
movq %rax, %r14
jmp 0x8526
movq %rax, %r14
jmp 0x8533
jmp 0x8541
movq %rax, %r14
jmp 0x856b
movq %rax, %r14
movq %rbx, %rdi
jmp 0x8573
movq %rax, %rbx
leaq 0xd0(%rsp), %rax
movq -0x10(%rax), %rdi
jmp 0x82e1
movq %rax, %rbx
jmp 0x82eb
movq %rax, %rbx
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
jne 0x82f8
jmp 0x82fd
movq %rax, %rbx
jmp 0x82fd
movq %rax, %rbx
leaq 0x110(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
jne 0x830a
jmp 0x830f
movq %rax, %rbx
jmp 0x830f
movq %rax, %rbx
leaq 0x158(%rsp), %rax
movq -0x10(%rax), %rdi
jmp 0x8319
movq %rax, %rbx
jmp 0x8323
movq %rax, %rbx
jmp 0x8335
movq %rax, %rbx
jmp 0x834f
movq %rax, %rbx
jmp 0x8361
movq %rax, %rbx
jmp 0x8373
movq %rax, %r14
jmp 0x855e
jmp 0x8541
movq %rax, %rbx
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x82eb
callq 0x2200
movq 0x100(%rsp), %rdi
cmpq %r14, %rdi
je 0x82fd
callq 0x2200
movq 0x148(%rsp), %rdi
cmpq %r15, %rdi
je 0x830f
callq 0x2200
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x8323
callq 0x2200
movq 0x710(%rsp), %rdi
cmpq %r12, %rdi
je 0x8335
callq 0x2200
movq 0x418(%rsp), %rdi
leaq 0x428(%rsp), %rax
cmpq %rax, %rdi
je 0x834f
callq 0x2200
movq 0x278(%rsp), %rdi
cmpq %rbp, %rdi
je 0x8361
callq 0x2200
movq 0x510(%rsp), %rdi
cmpq %r13, %rdi
je 0x8373
callq 0x2200
movq %rbx, %r14
jmp 0x8578
jmp 0x8541
jmp 0x8541
jmp 0x8445
movq %rax, %r14
movq 0x1f8(%rsp), %rdi
leaq 0x208(%rsp), %rax
jmp 0x8430
jmp 0x8440
jmp 0x844a
movq %rax, %r14
jmp 0x83f2
movq %rax, %r14
movq 0x3d8(%rsp), %rdi
leaq 0x3e8(%rsp), %rax
jmp 0x8430
movq %rax, %r14
jmp 0x8406
jmp 0x84b9
jmp 0x8541
movq %rax, %r14
movq 0x278(%rsp), %rdi
leaq 0x288(%rsp), %rax
cmpq %rax, %rdi
je 0x83f2
callq 0x2200
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x8406
callq 0x2200
movq 0xc0(%rsp), %rdi
leaq 0xd0(%rsp), %rax
jmp 0x848b
jmp 0x8541
movq %rax, %r14
movq 0x3f8(%rsp), %rdi
leaq 0x408(%rsp), %rax
cmpq %rax, %rdi
je 0x84bc
callq 0x2200
jmp 0x84bc
movq %rax, %r14
jmp 0x847b
movq %rax, %r14
jmp 0x8467
movq %rax, %r14
movq 0x278(%rsp), %rdi
leaq 0x288(%rsp), %rax
cmpq %rax, %rdi
je 0x8467
callq 0x2200
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x847b
callq 0x2200
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x8544
callq 0x2200
jmp 0x8544
jmp 0x84b9
jmp 0x8541
jmp 0x8541
jmp 0x8541
jmp 0x8541
jmp 0x8541
movq %rax, %r14
leaq 0x510(%rsp), %rdi
callq 0x2330
jmp 0x8544
jmp 0x8516
jmp 0x8516
movq %rax, %r14
leaq 0x2d0(%rsp), %rdi
callq 0xc6f4
leaq 0x280(%rsp), %rdi
callq 0xc946
leaq 0x568(%rsp), %rdi
callq 0xc6f4
leaq 0x518(%rsp), %rdi
callq 0xc946
jmp 0x8533
jmp 0x8516
jmp 0x8541
jmp 0x8541
jmp 0x8541
jmp 0x8541
jmp 0x8541
jmp 0x8541
movq %rax, %r14
leaq 0x278(%rsp), %rdi
callq 0xc15a
leaq 0x510(%rsp), %rdi
callq 0xc15a
leaq 0x28(%rsp), %rdi
callq 0xc6f4
jmp 0x8544
jmp 0x8541
movq %rax, %r14
leaq 0x100(%rsp), %rdi
callq 0xc6f4
leaq 0x148(%rsp), %rdi
callq 0xc6f4
leaq 0x790(%rsp), %rdi
callq 0xc7ea
leaq 0x498(%rsp), %rdi
callq 0xc7ea
movq %r14, %rdi
callq 0x23b0