// File: /workspace/github_cpp_makefile_star2_O1/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 0x8197
movq %rsi, %rbx
leaq 0x520(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0xdfd2(%rip), %rsi      # 0x14505
leaq 0xdfd1(%rip), %rdx      # 0x1450b
leaq 0x510(%rsp), %rdi
callq 0xcd3e
leaq 0x1c8(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0xdfb2(%rip), %rsi      # 0x1450c
leaq 0xdfb1(%rip), %rdx      # 0x14512
leaq 0x1b8(%rsp), %rdi
callq 0xcd3e
leaq 0x428(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0xdf92(%rip), %rsi      # 0x14513
leaq 0xdf90(%rip), %rdx      # 0x14518
leaq 0x418(%rsp), %rdi
callq 0xcd3e
leaq 0x720(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0xdf70(%rip), %rsi      # 0x14519
leaq 0xdf6d(%rip), %rdx      # 0x1451d
leaq 0x710(%rsp), %rdi
callq 0xcd3e
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 0x661a
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x6620
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 0x664e
callq 0x2210
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 0x66b0
movq %rdx, 0x148(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x158(%rsp)
jmp 0x66b7
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 0x66e8
callq 0x2210
movq 0x8(%rbx), %rsi
leaq 0x88(%rsp), %rdi
leaq 0xc0(%rsp), %rdx
callq 0x20a0
movq 0x1b8(%rsp), %rsi
movq 0x1c0(%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 0x674a
movq %rdx, 0x100(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x110(%rsp)
jmp 0x6751
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 0x6782
callq 0x2210
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 0x67ec
movq %rdx, 0x88(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x98(%rsp)
jmp 0x67f2
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 0x6823
callq 0x2210
movq 0x147a6(%rip), %rbx     # 0x1afd0
leaq 0xdced(%rip), %rsi      # 0x1451e
movl $0x16, %edx
movq %rbx, %rdi
callq 0x2290
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2220
movsbl %al, %esi
movq 0x14774(%rip), %rdi     # 0x1afd0
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq 0x20(%rsp), %rsi
leaq 0xe8(%rsp), %rdi
callq 0x10280
movq 0x148(%rsp), %rsi
leaq 0x4f8(%rsp), %rdi
callq 0x10280
movq 0x100(%rsp), %rsi
leaq 0x4e0(%rsp), %rdi
callq 0x10280
movq 0x88(%rsp), %rsi
leaq 0x4c8(%rsp), %rdi
callq 0x10280
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x68d4
callq 0x2210
movq 0x100(%rsp), %rdi
cmpq %r14, %rdi
je 0x68e6
callq 0x2210
movq 0x148(%rsp), %rdi
cmpq %r15, %rdi
leaq 0x30(%rsp), %rbx
je 0x68fd
callq 0x2210
movq 0x20(%rsp), %rdi
cmpq %rbx, %rdi
je 0x690c
callq 0x2210
movq 0x710(%rsp), %rdi
cmpq %r12, %rdi
je 0x691e
callq 0x2210
movq 0x418(%rsp), %rdi
leaq 0x428(%rsp), %r12
cmpq %r12, %rdi
je 0x6938
callq 0x2210
movq 0x1b8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x694a
callq 0x2210
movq 0x510(%rsp), %rdi
cmpq %r13, %rdi
je 0x695c
callq 0x2210
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)
movaps %xmm0, 0x18(%rax)
movaps %xmm0, -0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
movq $0x0, 0x20(%rax)
movl $0x1c, -0x80(%r13)
leaq 0x142f3(%rip), %r14     # 0x1acd8
movq %r14, -0x78(%r13)
movq $0x1c, -0x58(%r13)
movq %r14, -0x50(%r13)
movl $0x1b, %eax
movq %rax, -0x30(%r13)
leaq 0x14303(%rip), %r15     # 0x1ad08
movq %r15, -0x50(%r13)
movq %r14, -0x28(%r13)
movq %rax, -0x8(%r13)
movq %r15, -0x28(%r13)
leaq 0x7c0(%rsp), %rbx
movq %r13, %rdi
movq %rbx, %rsi
callq 0xc54a
leaq 0x450(%rsp), %rbx
leaq 0x7c0(%rsp), %rdi
callq 0xc81c
movl -0x38(%rbx), %eax
leaq 0x790(%rsp), %rdi
movl %eax, -0x80(%rdi)
movq %r14, -0x78(%rdi)
movups (%r12), %xmm0
movups 0x10(%r12), %xmm1
movups %xmm0, -0x70(%rdi)
movups %xmm1, -0x60(%rdi)
movq %r14, -0x50(%rdi)
movups (%rbx), %xmm0
movups 0x10(%rbx), %xmm1
movups %xmm0, -0x48(%rdi)
movups %xmm1, -0x38(%rdi)
movq %r15, -0x50(%rdi)
movq %r14, -0x28(%rdi)
movups 0x28(%rbx), %xmm0
movups 0x38(%rbx), %xmm1
movups %xmm1, -0x10(%rdi)
movups %xmm0, -0x20(%rdi)
movq %r15, -0x28(%rdi)
movq %r13, %rsi
callq 0xc54a
movq 0x14530(%rip), %rbx     # 0x1afd0
leaq 0xda8e(%rip), %rsi      # 0x14535
movl $0x1d, %edx
movq %rbx, %rdi
callq 0x2290
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2220
movsbl %al, %esi
movq 0x144fe(%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 0x2380
leaq 0x20(%rsp), %rdi
leaq 0x418(%rsp), %rsi
callq 0x35e2
leaq 0x510(%rsp), %rbx
leaq 0x20(%rsp), %rsi
movq %rbx, %rdi
callq 0xbd90
leaq 0x1b8(%rsp), %r14
leaq 0x20(%rsp), %rsi
movq %r14, %rdi
callq 0xbe2a
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 0x6ba4
cmpq %rbp, 0x310(%rsp)
je 0x6c61
movl 0x20(%rax), %ecx
movq 0x28(%rax), %rdi
movl %ecx, 0x88(%rsp)
movq %rdi, 0x90(%rsp)
movabsq $0xffffffffffffff, %rsi # imm = 0xFFFFFFFFFFFFFF
callq 0xfa78
movq %rax, %r14
movq %r15, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x1232e
testq %rax, %rax
jne 0x6c03
leaq 0x148(%rsp), %rdi
movq %rdi, 0xc0(%rsp)
leaq 0x88(%rsp), %rsi
leaq 0xc0(%rsp), %rdx
callq 0xd036
movq %r15, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x1232e
movq %rax, %r14
movl 0x88(%rsp), %esi
movq 0x90(%rsp), %rdx
movq %r13, %rdi
callq 0x2ef0
cmpq %rax, %r14
je 0x6c54
leaq 0x100(%rsp), %rdi
movq %rdi, 0xc0(%rsp)
leaq 0x88(%rsp), %rsi
leaq 0xc0(%rsp), %rdx
callq 0xd036
movq %rbx, %rdi
callq 0xbe9a
jmp 0x6b89
movl $0x128, %r14d           # imm = 0x128
leaq 0x1b8(%rsp), %r13
leaq (%r14,%r13), %rdi
callq 0xc78e
movl $0xf0, %r15d
leaq (%r15,%r13), %rdi
callq 0xc72c
movl $0xa0, %r12d
addq %r12, %r13
movq %r13, %rdi
callq 0xc972
leaq 0x218(%rsp), %rdi
callq 0xc72c
leaq 0x1c8(%rsp), %rdi
callq 0xc972
addq %rbx, %r14
movq %r14, %rdi
callq 0xc78e
addq %rbx, %r15
movq %r15, %rdi
callq 0xc72c
addq %r12, %rbx
movq %rbx, %rdi
callq 0xc972
leaq 0x570(%rsp), %rdi
callq 0xc72c
leaq 0x520(%rsp), %rdi
callq 0xc972
leaq 0x28(%rsp), %rdi
callq 0xc72c
leaq 0x68(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x2380
leaq 0x408(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0xdda2(%rip), %rdx      # 0x14abb
leaq 0x3f8(%rsp), %rdi
movq %rdx, %rsi
callq 0xcd3e
leaq 0x3f8(%rsp), %rdi
leaq 0x78(%rsp), %rsi
leaq 0x68(%rsp), %rdx
callq 0x85f2
movq 0x3f8(%rsp), %rdi
cmpq %rbx, %rdi
je 0x6d52
callq 0x2210
movq 0x14277(%rip), %rdi     # 0x1afd0
leaq 0xd7f3(%rip), %rsi      # 0x14553
movl $0x1e, %edx
callq 0x2290
movq 0x160(%rsp), %rsi
movq 0x14257(%rip), %rdi     # 0x1afd0
callq 0x2140
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2220
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq 0x14221(%rip), %rdi     # 0x1afd0
leaq 0xd7bc(%rip), %rsi      # 0x14572
movl $0x2c, %edx
callq 0x2290
movq 0x118(%rsp), %rsi
movq 0x14201(%rip), %rdi     # 0x1afd0
callq 0x2140
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2220
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq 0x141cb(%rip), %rbx     # 0x1afd0
leaq 0xd793(%rip), %rsi      # 0x1459f
movl $0xf, %edx
movq %rbx, %rdi
callq 0x2290
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2220
movsbl %al, %esi
movq 0x14199(%rip), %rdi     # 0x1afd0
callq 0x2030
movq %rax, %rdi
callq 0x2150
leaq 0x78(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x2380
leaq 0x20(%rsp), %rdi
leaq 0x418(%rsp), %rsi
callq 0x3254
leaq 0x510(%rsp), %rdi
leaq 0x20(%rsp), %rsi
callq 0xc1c0
leaq 0x1b8(%rsp), %rdi
leaq 0x20(%rsp), %rsi
callq 0xc25a
xorl %ebx, %ebx
leaq 0x510(%rsp), %r14
movq 0x548(%rsp), %rax
cmpq 0x528(%rsp), %rax
jne 0x6eb7
movq 0x1d0(%rsp), %rax
cmpq %rax, 0x1f0(%rsp)
je 0x6ec4
incq %rbx
movq %r14, %rdi
callq 0xc2ca
jmp 0x6e93
leaq 0x210(%rsp), %rdi
callq 0xc72c
leaq 0x1c0(%rsp), %rdi
callq 0xc972
leaq 0x568(%rsp), %rdi
callq 0xc72c
leaq 0x518(%rsp), %rdi
callq 0xc972
leaq 0x28(%rsp), %rdi
callq 0xc72c
leaq 0x68(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x2380
leaq 0x3e8(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0xdb97(%rip), %rdx      # 0x14abb
leaq 0x3d8(%rsp), %rdi
movq %rdx, %rsi
callq 0xcd3e
leaq 0x3d8(%rsp), %rdi
leaq 0x78(%rsp), %rsi
leaq 0x68(%rsp), %rdx
callq 0x85f2
movq 0x3d8(%rsp), %rdi
cmpq %r14, %rdi
je 0x6f5d
callq 0x2210
movq 0x1406c(%rip), %rdi     # 0x1afd0
leaq 0xd644(%rip), %rsi      # 0x145af
movl $0x11, %edx
callq 0x2290
movq 0x14054(%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 0x2220
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq 0x1401b(%rip), %rbx     # 0x1afd0
leaq 0xd605(%rip), %rsi      # 0x145c1
movl $0xf, %edx
movq %rbx, %rdi
callq 0x2290
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2220
movsbl %al, %esi
movq 0x13fe9(%rip), %rdi     # 0x1afd0
callq 0x2030
movq %rax, %rdi
callq 0x2150
leaq 0x78(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x2380
leaq 0x20(%rsp), %rdi
leaq 0x418(%rsp), %rsi
callq 0x35e2
leaq 0x510(%rsp), %r14
leaq 0x20(%rsp), %rsi
movq %r14, %rdi
callq 0xbd90
leaq 0x1b8(%rsp), %r15
leaq 0x20(%rsp), %rsi
movq %r15, %rdi
callq 0xbe2a
movl $0x130, %r12d           # imm = 0x130
leaq (%r14,%r12), %r13
addq %r15, %r12
xorl %ebx, %ebx
cmpq %r13, 0x668(%rsp)
jne 0x7062
cmpq %r12, 0x310(%rsp)
je 0x706f
incq %rbx
movq %r14, %rdi
callq 0xbe9a
jmp 0x704e
movl $0x128, %r12d           # imm = 0x128
leaq (%r15,%r12), %rdi
callq 0xc78e
movl $0xf0, %r13d
leaq (%r15,%r13), %rdi
callq 0xc72c
movl $0xa0, %ebp
addq %rbp, %r15
movq %r15, %rdi
callq 0xc972
leaq 0x218(%rsp), %rdi
callq 0xc72c
leaq 0x1c8(%rsp), %rdi
callq 0xc972
addq %r14, %r12
movq %r12, %rdi
callq 0xc78e
addq %r14, %r13
movq %r13, %rdi
callq 0xc72c
addq %rbp, %r14
movq %r14, %rdi
callq 0xc972
leaq 0x570(%rsp), %rdi
callq 0xc72c
leaq 0x520(%rsp), %rdi
callq 0xc972
leaq 0x28(%rsp), %rdi
callq 0xc72c
leaq 0x68(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x2380
leaq 0x3c8(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0xd99d(%rip), %rdx      # 0x14abb
leaq 0x3b8(%rsp), %rdi
movq %rdx, %rsi
callq 0xcd3e
leaq 0x3b8(%rsp), %rdi
leaq 0x78(%rsp), %rsi
leaq 0x68(%rsp), %rdx
callq 0x85f2
movq 0x3b8(%rsp), %rdi
cmpq %r14, %rdi
je 0x7157
callq 0x2210
movq 0x13e72(%rip), %rdi     # 0x1afd0
leaq 0xd46c(%rip), %rsi      # 0x145d1
movl $0x11, %edx
callq 0x2290
movq 0x13e5a(%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 0x2220
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq 0x13e21(%rip), %rbx     # 0x1afd0
leaq 0xd42d(%rip), %rsi      # 0x145e3
movl $0x16, %edx
movq %rbx, %rdi
callq 0x2290
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2220
movsbl %al, %esi
movq 0x13def(%rip), %rdi     # 0x1afd0
callq 0x2030
movq %rax, %rdi
callq 0x2150
leaq 0x418(%rsp), %rdi
callq 0x5808
movq 0x158(%rsp), %r12
testq %r12, %r12
je 0x743d
movq 0x13db5(%rip), %rax     # 0x1afc8
movq (%rax), %r13
movq 0x18(%rax), %rax
movq %rax, 0x18(%rsp)
movq $0x0, 0x10(%rsp)
leaq 0x88(%rsp), %r15
leaq 0x398(%rsp), %rbx
movl 0x8(%r12), %esi
movq 0x10(%r12), %rdx
leaq 0x418(%rsp), %rdi
callq 0x2ef0
testq %rax, %rax
je 0x742e
leaq 0x8(%r12), %r14
movq %r15, %rbp
movq %r15, %rdi
movq %r14, %rsi
callq 0x2896
movl $0x8, %r8d
movq %rbp, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0xd37b(%rip), %rcx      # 0x145fa
callq 0x2280
leaq 0x30(%rsp), %rsi
movq %rsi, 0x20(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x72ac
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x72b2
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 0xd32d(%rip), %rsi      # 0x14603
callq 0x2400
leaq 0x1c8(%rsp), %rsi
movq %rsi, 0x1b8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x730f
movq %rdx, 0x1b8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x1c8(%rsp)
jmp 0x7315
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x1c0(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x510(%rsp), %rdi
leaq 0x1b8(%rsp), %rsi
movl $0x10, %edx
callq 0x2410
movq 0x1b8(%rsp), %rdi
leaq 0x1c8(%rsp), %rax
cmpq %rax, %rdi
je 0x7364
callq 0x2210
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x7378
callq 0x2210
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x7392
callq 0x2210
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2896
movl 0x8(%r12), %edi
movq 0x10(%r12), %rsi
leal -0x1(%rdi), %edx
callq 0x2bc8
movl %eax, %edi
movq %rdx, %rsi
callq 0x2a7b
movq %rdx, %r8
movl $0x6, %r9d
leaq 0x710(%rsp), %rdi
movq %rbx, %rsi
leaq 0x510(%rsp), %rdx
movl %eax, %ecx
callq 0x4596
movq 0x398(%rsp), %rdi
leaq 0x3a8(%rsp), %rax
cmpq %rax, %rdi
je 0x73f6
callq 0x2210
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 0x21f0
leaq 0x608(%rsp), %rdi
callq 0x2080
movq (%r12), %r12
testq %r12, %r12
jne 0x7238
jmp 0x7446
movq $0x0, 0x10(%rsp)
movq 0x13b83(%rip), %rdi     # 0x1afd0
leaq 0xd1b4(%rip), %rsi      # 0x14608
movl $0x40, %edx
callq 0x2290
movq 0x13b6b(%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 0x2220
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq 0x110(%rsp), %rbx
testq %rbx, %rbx
je 0x7760
movq 0x13b17(%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 0xfa78
movq %rax, %r12
movl 0x8(%rbx), %esi
movq 0x10(%rbx), %rdx
leaq 0x418(%rsp), %rdi
callq 0x2ef0
movq %rax, %r15
leaq 0xe8(%rsp), %rdi
movq %r12, %rsi
xorl %edx, %edx
callq 0x1232e
cmpq %rax, %r15
je 0x7752
leaq 0x8(%rbx), %r15
movq %r13, %rbp
movq %r13, %rdi
movq %r15, %rsi
callq 0x2896
movl $0x8, %r8d
movq %rbp, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0xd0f6(%rip), %rcx      # 0x14649
callq 0x2280
leaq 0x30(%rsp), %rsi
movq %rsi, 0x20(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x7580
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x7586
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 0xd059(%rip), %rsi      # 0x14603
callq 0x2400
leaq 0x1c8(%rsp), %rsi
movq %rsi, 0x1b8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x75e3
movq %rdx, 0x1b8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x1c8(%rsp)
jmp 0x75e9
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x1c0(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x510(%rsp), %rdi
leaq 0x1b8(%rsp), %rsi
movl $0x10, %edx
callq 0x2410
movq 0x1b8(%rsp), %rdi
leaq 0x1c8(%rsp), %rax
cmpq %rax, %rdi
je 0x7638
callq 0x2210
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x764c
callq 0x2210
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x7666
callq 0x2210
leaq 0x198(%rsp), %rdi
movq %r15, %rsi
callq 0x2896
movl 0x8(%rbx), %edi
movq 0x10(%rbx), %rsi
leal -0x1(%rdi), %edx
callq 0x2bc8
movl %eax, %edi
movq %rdx, %rsi
callq 0x2a7b
movq %rdx, %r8
movl $0x6, %r9d
leaq 0x710(%rsp), %rdi
leaq 0x198(%rsp), %rsi
leaq 0x510(%rsp), %rdx
movl %eax, %ecx
callq 0x4596
movq 0x198(%rsp), %rdi
leaq 0x1a8(%rsp), %rax
cmpq %rax, %rdi
je 0x76d1
callq 0x2210
movl 0x8(%rbx), %esi
movq 0x10(%rbx), %rdx
leaq 0x418(%rsp), %rdi
callq 0x2ef0
movq %rax, %r15
leaq 0xe8(%rsp), %rdi
movq %r12, %rsi
xorl %edx, %edx
callq 0x1232e
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 0x21f0
leaq 0x608(%rsp), %rdi
callq 0x2080
movq (%rbx), %rbx
testq %rbx, %rbx
jne 0x74e5
jmp 0x7775
movq $0x0, 0x18(%rsp)
movq $0x0, 0x10(%rsp)
xorl %r14d, %r14d
movq 0x13854(%rip), %rdi     # 0x1afd0
leaq 0xcecf(%rip), %rsi      # 0x14652
movl $0x3b, %edx
callq 0x2290
movq 0x1383c(%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 0x2220
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq 0x13803(%rip), %rdi     # 0x1afd0
leaq 0xceba(%rip), %rsi      # 0x1468e
movl $0x14, %edx
callq 0x2290
movq 0x137eb(%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 0x2220
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq 0x137b0(%rip), %rdi     # 0x1afd0
leaq 0xce7c(%rip), %rsi      # 0x146a3
movl $0x15, %edx
callq 0x2290
movq 0x13798(%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 0x2220
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 0x12995
movq 0x1373e(%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 0x12be6
movq 0xe0(%rsp), %rdi
movabsq $0xffffffffffffff, %r13 # imm = 0xFFFFFFFFFFFFFF
movq %r13, %rsi
callq 0xfaca
andq %r13, %rax
movl $0x1c, %edi
movq %rax, %rsi
callq 0x2a7b
movl %eax, %r13d
movq %rdx, %rbp
movl %eax, 0x138(%rsp)
movq %rdx, 0x140(%rsp)
leaq 0x418(%rsp), %rdi
movl %eax, %esi
callq 0x2ef0
testq %rax, %rax
jne 0x7b32
movq %r15, %rbx
movq %r15, %rdi
leaq 0x138(%rsp), %rsi
callq 0x2896
movl $0x8, %r8d
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0xcd49(%rip), %rcx      # 0x146b9
callq 0x2280
leaq 0x30(%rsp), %rsi
movq %rsi, 0x20(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x799d
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x79a3
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 0xcc3c(%rip), %rsi      # 0x14603
callq 0x2400
leaq 0x1c8(%rsp), %rsi
movq %rsi, 0x1b8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x7a00
movq %rdx, 0x1b8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x1c8(%rsp)
jmp 0x7a06
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x1c0(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x510(%rsp), %rdi
leaq 0x1b8(%rsp), %rsi
movl $0x10, %edx
callq 0x2410
movq 0x1b8(%rsp), %rdi
leaq 0x1c8(%rsp), %rax
cmpq %rax, %rdi
je 0x7a55
callq 0x2210
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x7a69
callq 0x2210
movq 0xc0(%rsp), %rdi
leaq 0xd0(%rsp), %rax
cmpq %rax, %rdi
je 0x7a83
callq 0x2210
leaq 0x378(%rsp), %rbx
movq %rbx, %rdi
leaq 0x138(%rsp), %rsi
callq 0x2896
movl %r13d, %edx
decl %edx
movl %r13d, %edi
movq %rbp, %rsi
callq 0x2bc8
movl %eax, %edi
movq %rdx, %rsi
callq 0x2a7b
movq %rdx, %r8
movl $0x6, %r9d
leaq 0x710(%rsp), %rdi
movq %rbx, %rsi
leaq 0x510(%rsp), %rdx
movl %eax, %ecx
callq 0x4596
movq 0x378(%rsp), %rdi
leaq 0x388(%rsp), %rax
cmpq %rax, %rdi
je 0x7af2
callq 0x2210
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 0x21f0
leaq 0x608(%rsp), %rdi
callq 0x2080
movq %r12, %rdi
callq 0x12c5d
testl %eax, %eax
je 0x78ba
movq 0x13487(%rip), %rdi     # 0x1afd0
leaq 0xcb72(%rip), %rsi      # 0x146c2
movl $0x20, %edx
callq 0x2290
movq 0x1346f(%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 0x2220
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq 0x13434(%rip), %rbx     # 0x1afd0
leaq 0xcb40(%rip), %rsi      # 0x146e3
movl $0x24, %edx
movq %rbx, %rdi
callq 0x2290
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2220
movsbl %al, %esi
movq 0x13402(%rip), %rdi     # 0x1afd0
callq 0x2030
movq %rax, %rdi
callq 0x2150
leaq 0x78(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x2380
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 0x2a7b
movl %eax, %ebp
movq %rdx, %r13
leal -0x1(%rbp), %edx
movl %eax, %edi
movq %r13, %rsi
callq 0x2bc8
movl %eax, %edi
movq %rdx, %rsi
callq 0x2a7b
leaq 0x418(%rsp), %rdi
movl %eax, %esi
callq 0x57ae
movq %r13, %rdi
movabsq $0xffffffffffffff, %rsi # imm = 0xFFFFFFFFFFFFFF
callq 0xfa78
movq %rax, %r14
leaq 0x418(%rsp), %rdi
movl %ebp, %esi
movq %r13, %rdx
callq 0x2ef0
movq %rax, %r15
leaq 0xe8(%rsp), %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x1232e
cmpq %rax, %r15
jb 0x8159
leaq 0x418(%rsp), %rdi
movl %ebp, %esi
movq %r13, %rdx
callq 0x2ef0
movq %rax, %r15
leaq 0xe8(%rsp), %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x1232e
xorl %ecx, %ecx
cmpq %rax, %r15
setne %cl
addq %rcx, %r12
decq %rbx
jne 0x7bf2
leaq 0x68(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x2380
leaq 0x368(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0xcddd(%rip), %rdx      # 0x14abb
leaq 0x358(%rsp), %rdi
movq %rdx, %rsi
callq 0xcd3e
leaq 0x358(%rsp), %rdi
leaq 0x78(%rsp), %rsi
leaq 0x68(%rsp), %rdx
callq 0x85f2
movq 0x358(%rsp), %rdi
cmpq %rbx, %rdi
je 0x7d17
callq 0x2210
movq 0x132b2(%rip), %rdi     # 0x1afd0
leaq 0xca37(%rip), %rsi      # 0x1475c
movl $0x29, %edx
callq 0x2290
movq 0x1329a(%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 0x2220
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq 0x13261(%rip), %rbx     # 0x1afd0
leaq 0xca10(%rip), %rsi      # 0x14786
movl $0x25, %edx
movq %rbx, %rdi
callq 0x2290
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2220
movsbl %al, %esi
movq 0x1322f(%rip), %rdi     # 0x1afd0
callq 0x2030
movq %rax, %rdi
callq 0x2150
leaq 0x78(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x2380
leaq 0x20(%rsp), %rdi
leaq 0x418(%rsp), %rsi
callq 0x35e2
leaq 0x510(%rsp), %r14
leaq 0x20(%rsp), %rsi
movq %r14, %rdi
callq 0xbd90
leaq 0x1b8(%rsp), %r15
leaq 0x20(%rsp), %rsi
movq %r15, %rdi
callq 0xbe2a
movl $0x130, %r13d           # imm = 0x130
leaq (%r14,%r13), %rbp
addq %r15, %r13
xorl %ebx, %ebx
cmpq %rbp, 0x668(%rsp)
jne 0x7e1c
cmpq %r13, 0x310(%rsp)
je 0x7e29
incq %rbx
movq %r14, %rdi
callq 0xbe9a
jmp 0x7e08
movl $0x128, %r13d           # imm = 0x128
leaq (%r15,%r13), %rdi
callq 0xc78e
movl $0xf0, %ebp
leaq (%r15,%rbp), %rdi
callq 0xc72c
movl $0xa0, %eax
addq %rax, %r15
movq %r15, %rdi
callq 0xc972
leaq 0x218(%rsp), %rdi
callq 0xc72c
leaq 0x1c8(%rsp), %rdi
callq 0xc972
addq %r14, %r13
movq %r13, %rdi
callq 0xc78e
addq %r14, %rbp
movq %rbp, %rdi
callq 0xc72c
movl $0xa0, %eax
addq %rax, %r14
movq %r14, %rdi
callq 0xc972
leaq 0x570(%rsp), %rdi
callq 0xc72c
leaq 0x520(%rsp), %rdi
callq 0xc972
leaq 0x28(%rsp), %rdi
callq 0xc72c
leaq 0x68(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x2380
leaq 0x348(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0xcbdf(%rip), %rdx      # 0x14abb
leaq 0x338(%rsp), %rdi
movq %rdx, %rsi
callq 0xcd3e
leaq 0x338(%rsp), %rdi
leaq 0x78(%rsp), %rsi
leaq 0x68(%rsp), %rdx
callq 0x85f2
movq 0x338(%rsp), %rdi
cmpq %r14, %rdi
je 0x7f15
callq 0x2210
movq 0x130b4(%rip), %rdi     # 0x1afd0
leaq 0xc6ae(%rip), %rsi      # 0x145d1
movl $0x11, %edx
callq 0x2290
movq 0x1309c(%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 0x2220
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq 0x13063(%rip), %rbx     # 0x1afd0
leaq 0xc838(%rip), %rsi      # 0x147ac
movl $0x21, %edx
movq %rbx, %rdi
callq 0x2290
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2220
movsbl %al, %esi
movq 0x13031(%rip), %rdi     # 0x1afd0
callq 0x2030
movq %rax, %rdi
callq 0x2150
leaq 0x78(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x2380
movl $0xf4240, %r15d         # imm = 0xF4240
callq 0x20d0
movabsq $0xffffffffffffff, %rcx # imm = 0xFFFFFFFFFFFFFF
andq %rcx, %rax
movl $0x1c, %edi
movq %rax, %rsi
callq 0x2a7b
movl %eax, %ebp
movq %rdx, %rbx
movq %rdx, %rdi
movabsq $0xffffffffffffff, %rsi # imm = 0xFFFFFFFFFFFFFF
callq 0xfa78
movq %rax, %r13
leaq 0x418(%rsp), %rdi
movl %ebp, %esi
movq %rbx, %rdx
callq 0x2ef0
movq %rax, %r14
leaq 0xe8(%rsp), %rdi
movq %r13, %rsi
xorl %edx, %edx
callq 0x1232e
cmpq %rax, %r14
jb 0x8178
leaq 0x418(%rsp), %rdi
movl %ebp, %esi
movq %rbx, %rdx
callq 0x2ef0
movq %rax, %rbx
leaq 0xe8(%rsp), %rdi
movq %r13, %rsi
xorl %edx, %edx
callq 0x1232e
xorl %ecx, %ecx
cmpq %rax, %rbx
setne %cl
addq %rcx, %r12
decq %r15
jne 0x7fc1
leaq 0x68(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x2380
leaq 0x328(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0xca34(%rip), %rdx      # 0x14abb
leaq 0x318(%rsp), %rdi
movq %rdx, %rsi
callq 0xcd3e
leaq 0x318(%rsp), %rdi
leaq 0x78(%rsp), %rsi
leaq 0x68(%rsp), %rdx
callq 0x85f2
movq 0x318(%rsp), %rdi
cmpq %rbx, %rdi
je 0x80c0
callq 0x2210
movq 0x12f09(%rip), %rdi     # 0x1afd0
leaq 0xc68e(%rip), %rsi      # 0x1475c
movl $0x29, %edx
callq 0x2290
movq 0x12ef1(%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 0x2220
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
leaq 0x100(%rsp), %rdi
callq 0xc72c
leaq 0x148(%rsp), %rdi
callq 0xc72c
leaq 0x790(%rsp), %rdi
callq 0xc81c
leaq 0x498(%rsp), %rdi
callq 0xc81c
xorl %eax, %eax
addq $0x7f8, %rsp            # imm = 0x7F8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xc5a8(%rip), %rdi      # 0x14708
leaq 0xc035(%rip), %rsi      # 0x1419c
leaq 0xc5d7(%rip), %rcx      # 0x14745
movl $0x60e, %edx            # imm = 0x60E
callq 0x2120
leaq 0xc589(%rip), %rdi      # 0x14708
leaq 0xc016(%rip), %rsi      # 0x1419c
leaq 0xc5b8(%rip), %rcx      # 0x14745
movl $0x625, %edx            # imm = 0x625
callq 0x2120
movq 0x12e32(%rip), %rdi     # 0x1afd0
leaq 0xc348(%rip), %rsi      # 0x144ed
callq 0x2230
movq %rax, %rdi
callq 0x20c0
callq 0x2100
movq %rax, %r14
movq 0x318(%rsp), %rdi
jmp 0x8256
jmp 0x85b3
movq %rax, %rbx
movq 0x338(%rsp), %rdi
jmp 0x8225
jmp 0x85b3
jmp 0x8269
jmp 0x8271
jmp 0x85b3
movq %rax, %r14
movq 0x358(%rsp), %rdi
jmp 0x8256
jmp 0x85b3
movq %rax, %rbx
movq 0x3b8(%rsp), %rdi
jmp 0x8225
jmp 0x85b3
jmp 0x8269
jmp 0x8271
jmp 0x85b3
movq %rax, %rbx
movq 0x3d8(%rsp), %rdi
cmpq %r14, %rdi
je 0x822f
callq 0x2210
movq %rbx, %r14
jmp 0x85b6
jmp 0x85b3
movq %rax, %r14
jmp 0x855e
jmp 0x8271
jmp 0x85b3
movq %rax, %r14
movq 0x3f8(%rsp), %rdi
cmpq %rbx, %rdi
jne 0x8506
jmp 0x85b6
jmp 0x85b3
movq %rax, %r14
jmp 0x8598
movq %rax, %r14
jmp 0x85a5
jmp 0x85b3
movq %rax, %r14
jmp 0x85dd
movq %rax, %r14
movq %rbx, %rdi
jmp 0x85e5
movq %rax, %rbx
leaq 0xd0(%rsp), %rax
movq -0x10(%rax), %rdi
jmp 0x8353
movq %rax, %rbx
jmp 0x835d
movq %rax, %rbx
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
jne 0x836a
jmp 0x836f
movq %rax, %rbx
jmp 0x836f
movq %rax, %rbx
leaq 0x110(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
jne 0x837c
jmp 0x8381
movq %rax, %rbx
jmp 0x8381
movq %rax, %rbx
leaq 0x158(%rsp), %rax
movq -0x10(%rax), %rdi
jmp 0x838b
movq %rax, %rbx
jmp 0x8395
movq %rax, %rbx
jmp 0x83a7
movq %rax, %rbx
jmp 0x83c1
movq %rax, %rbx
jmp 0x83d3
movq %rax, %rbx
jmp 0x83e5
movq %rax, %r14
jmp 0x85d0
jmp 0x85b3
movq %rax, %rbx
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x835d
callq 0x2210
movq 0x100(%rsp), %rdi
cmpq %r14, %rdi
je 0x836f
callq 0x2210
movq 0x148(%rsp), %rdi
cmpq %r15, %rdi
je 0x8381
callq 0x2210
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x8395
callq 0x2210
movq 0x710(%rsp), %rdi
cmpq %r12, %rdi
je 0x83a7
callq 0x2210
movq 0x418(%rsp), %rdi
leaq 0x428(%rsp), %rax
cmpq %rax, %rdi
je 0x83c1
callq 0x2210
movq 0x1b8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x83d3
callq 0x2210
movq 0x510(%rsp), %rdi
cmpq %r13, %rdi
je 0x83e5
callq 0x2210
movq %rbx, %r14
jmp 0x85ea
jmp 0x85b3
jmp 0x85b3
jmp 0x84b7
movq %rax, %r14
movq 0x198(%rsp), %rdi
leaq 0x1a8(%rsp), %rax
jmp 0x84a2
jmp 0x84b2
jmp 0x84bc
movq %rax, %r14
jmp 0x8464
movq %rax, %r14
movq 0x378(%rsp), %rdi
leaq 0x388(%rsp), %rax
jmp 0x84a2
movq %rax, %r14
jmp 0x8478
jmp 0x852b
jmp 0x85b3
movq %rax, %r14
movq 0x1b8(%rsp), %rdi
leaq 0x1c8(%rsp), %rax
cmpq %rax, %rdi
je 0x8464
callq 0x2210
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x8478
callq 0x2210
movq 0xc0(%rsp), %rdi
leaq 0xd0(%rsp), %rax
jmp 0x84fd
jmp 0x85b3
movq %rax, %r14
movq 0x398(%rsp), %rdi
leaq 0x3a8(%rsp), %rax
cmpq %rax, %rdi
je 0x852e
callq 0x2210
jmp 0x852e
movq %rax, %r14
jmp 0x84ed
movq %rax, %r14
jmp 0x84d9
movq %rax, %r14
movq 0x1b8(%rsp), %rdi
leaq 0x1c8(%rsp), %rax
cmpq %rax, %rdi
je 0x84d9
callq 0x2210
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x84ed
callq 0x2210
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x85b6
callq 0x2210
jmp 0x85b6
jmp 0x852b
jmp 0x85b3
jmp 0x85b3
jmp 0x85b3
jmp 0x85b3
jmp 0x85b3
movq %rax, %r14
leaq 0x510(%rsp), %rdi
callq 0x2340
jmp 0x85b6
jmp 0x8588
jmp 0x8588
movq %rax, %r14
leaq 0x210(%rsp), %rdi
callq 0xc72c
leaq 0x1c0(%rsp), %rdi
callq 0xc972
leaq 0x568(%rsp), %rdi
callq 0xc72c
leaq 0x518(%rsp), %rdi
callq 0xc972
jmp 0x85a5
jmp 0x8588
jmp 0x85b3
jmp 0x85b3
jmp 0x85b3
jmp 0x85b3
jmp 0x85b3
jmp 0x85b3
movq %rax, %r14
leaq 0x1b8(%rsp), %rdi
callq 0xc182
leaq 0x510(%rsp), %rdi
callq 0xc182
leaq 0x28(%rsp), %rdi
callq 0xc72c
jmp 0x85b6
jmp 0x85b3
movq %rax, %r14
leaq 0x100(%rsp), %rdi
callq 0xc72c
leaq 0x148(%rsp), %rdi
callq 0xc72c
leaq 0x790(%rsp), %rdi
callq 0xc81c
leaq 0x498(%rsp), %rdi
callq 0xc81c
movq %r14, %rdi
callq 0x23c0