// File: /workspace/github_cpp_makefile_star2_O3/CK7[P]abawaca/src/abawaca.cpp
// Function: main
int main(int argc, const char** argv) 
{
	cerr << "abawaca " << VERSION << endl << endl;

	Prog_params&		params = *Prog_params::Instance();

	ofstream		log;
	ofstream		summary;
	ofstream		ofs_dp2cluster;
	ofstream		ofs_scaf2cluster;
	char 			line[1024] = {};

	if(params.read_params(argc, argv))
		return -1;

	Semaphore		thread_semphore(params.ncpus);

	sprintf(line, "%s/log", params.root_dir.c_str());
	log.open(line);
	sprintf(line, "%s/summary.txt", params.root_dir.c_str());
	summary.open(line);
	sprintf(line, "%s/dp2cluster.txt", params.root_dir.c_str());
	ofs_dp2cluster.open(line);
	sprintf(line, "%s/scaf2cluster.txt", params.root_dir.c_str());
	ofs_scaf2cluster.open(line);

	cerr << '[' << get_time() << ']' << " Starting" << endl;
	cerr << '[' << get_time() << ']' << " Creating databases based on " << params.names_file << " and " << params.lrn_file << endl;
	log << "abawaca " << VERSION << endl << endl;
	log << '[' << get_time() << ']' << " Starting" << endl;
	log << '[' << get_time() << ']' << " Creatinf databases based on " << params.names_file << " and " << params.lrn_file << endl;
	ScafDpData			scaf_db(params.names_file, params.fasta_file, params.info_file);
	ClusterData			clustering_db(params.lrn_file, scaf_db);
	SCGdb				scg_db(scaf_db, params.gene2scg_file, params.scg_list_file);
	map<size_t, Cluster*>		clusters;
	size_t				total_iterations = 1;
	map<size_t, size_t>		dp2cluster;
	map<size_t, size_t>		scaf2cluster;

	summary << "Cluster\t# scafs\t# dps\t# bps\t%G+C\tStdev\tCvg\tstdev\t#SCG" << '/' << scg_db.get_total_num_scgs() << "\tAvg" << endl;

	clusters[total_iterations++] = init_cluster(scaf_db);

	// We will keep iterating over all items in clustering_dbs until it is empty.
	while(clusters.size() > 0) {
		map<size_t, Cluster*>::iterator 	mit = clusters.begin();
		Cluster* 				curr_cluster = mit->second;
		ClusterData&    			curr_clustering_db = *(new ClusterData(clustering_db, curr_cluster->get_dps()));
		size_t 					iteration = mit->first;

		clusters.erase(mit);

		cerr << endl << '[' << get_time() << ']' << " Checking cluster " << iteration << " (" << curr_cluster->ndps() << " datapoints)" << endl;
		log << endl << '[' << get_time() << ']' << " Checking cluster " << iteration << " (" << curr_cluster->ndps() << " datapoints)" << endl;

		ClusterSeparatorBySensitivitySpecificity separator(scaf_db, scg_db, curr_clustering_db, thread_semphore);
//		ClusterSeparatorSplitScafs separator(scaf_db, scg_db, curr_clustering_db, thread_semphore);

		separator.separate();

		cerr << '[' << get_time() << ']' << " ";
		separator.print_separation_params(cerr);
		cerr << endl;
		log << '[' << get_time() << ']' << " ";
		separator.print_separation_params(log);
		log << endl;

		ClusterQuality cq(scaf_db, scg_db);
		double	nunique_scgs, avg_ncopies_scgs;
		double	avg_gc, stdev_gc;
		double	avg_cvg=-1, stdev_cvg=-1;

		if((separator.get_cluster1() == NULL)/* || (!cq.is_split_better(*(separator.get_cluster1()), *(separator.get_cluster2())))*/) {
			if(separator.get_cluster1() == NULL) {
				cerr << '[' << get_time() << ']' << " Cluster " << iteration << " is a terminal cluster" << endl;
				log << '[' << get_time() << ']' << " Cluster " << iteration << " is a terminal cluster" << endl;
			}
			else {
				cerr << '[' << get_time() << ']' << " Cluster " << iteration << " will not be split further (terminal cluster)" << endl;
				log << '[' << get_time() << ']' << " Cluster " << iteration << " will not be split further (terminal cluster)" << endl;
			}
			for(auto sit = curr_cluster->dps_begin(); sit != curr_cluster->dps_end(); sit++)
				dp2cluster[*sit] = iteration;
			for(auto sit = curr_cluster->assigned_scafs_begin(); sit != curr_cluster->assigned_scafs_end(); sit++)
				scaf2cluster[*sit] = iteration;
			char fasta_out[1024];

			sprintf(fasta_out, "%s/%lu.fasta", params.fasta_dir.c_str(), iteration);
			size_t total_bps = get_fasta(curr_cluster->get_assigned_scafs(), scaf_db, fasta_out);

			total_bps = cq.total_size(*curr_cluster);
			size_t	nscaffolds = cq.num_scaffolds(*curr_cluster);
			cq.scg(*curr_cluster, nunique_scgs, avg_ncopies_scgs);
			cq.gc(*curr_cluster,  avg_gc, stdev_gc);
			cq.cvg(*curr_cluster,  avg_cvg, stdev_cvg);

			summary << iteration << '\t' << nscaffolds << '\t' << curr_cluster->ndps() << '\t' << total_bps << '\t'
				<< int(1000*avg_gc)/10.0 << '\t' << int(1000*stdev_gc)/100.0 << '\t' << int(10*avg_cvg)/10.0
				<< '\t' << int(10*stdev_cvg)/10.0 << '\t' << nunique_scgs << '\t' << int(100*avg_ncopies_scgs)/100.0 << endl;

		}
		else {
			cerr << '[' << get_time() << ']' << separator << endl;
			cerr << '[' << get_time() << ']' << " Cluster " << iteration << " will be separated to the following two clusters" << endl;
			log << '[' << get_time() << ']' << separator << endl;
			log << '[' << get_time() << ']' << " Cluster " << iteration << " will be separated to the following two clusters" << endl;

			ClusterEsomWriter writer(params.cluster_dir, scaf_db);
			char new_cluster_name[128];

			sprintf(new_cluster_name, "%lu", total_iterations);
			ClusterData cluster1(curr_clustering_db, separator.get_cluster1()->get_dps());
			writer.write(cluster1, separator.get_cluster1()->get_assigned_scafs(), separator.get_raw_dps_cluster1(), new_cluster_name);

			cq.scg(*(separator.get_cluster1()), nunique_scgs, avg_ncopies_scgs);
			cq.gc(*(separator.get_cluster1()), avg_gc, stdev_gc);
			cq.cvg(*(separator.get_cluster1()), avg_cvg, stdev_cvg);

			cerr 	<< '[' << get_time() << ']' << " Cluster " << total_iterations << ", " << cluster1.ndps() << " datapoints, "
				<< nunique_scgs << " unique SCGs (" << avg_ncopies_scgs << " copies), %G+C=" << avg_gc << ", coverage=" << avg_cvg << endl;
			log 	<< '[' << get_time() << ']' << " Cluster " << total_iterations << ", " << cluster1.ndps() << " datapoints, "
				<< nunique_scgs << " unique SCGs (" << avg_ncopies_scgs << " copies), %G+C=" << avg_gc << ", coverage=" << avg_cvg << endl;
//			clustering_dbs.insert(pair<size_t, ClusterData*>(total_iterations++, cluster1));
			clusters.insert(pair<size_t, Cluster*>(total_iterations++, separator.get_cluster1()));

			sprintf(new_cluster_name, "%lu", total_iterations);
//			ClusterData* cluster2 = new ClusterData(clustering_db, separator.get_cluster2()->get_dps());
			ClusterData cluster2(curr_clustering_db, separator.get_cluster2()->get_dps());
			writer.write(cluster2, separator.get_cluster2()->get_assigned_scafs(), separator.get_raw_dps_cluster2(), new_cluster_name);

			cq.scg(*(separator.get_cluster2()), nunique_scgs, avg_ncopies_scgs);
			cq.gc(*(separator.get_cluster2()), avg_gc, stdev_gc);
			cq.cvg(*(separator.get_cluster2()), avg_cvg, stdev_cvg);

			cerr 	<< '[' << get_time() << ']' << " Cluster " << total_iterations << ", " << cluster2.ndps() << " datapoints, "
				<< nunique_scgs << " unique SCGs (" << avg_ncopies_scgs << " copies), %G+C=" << avg_gc << ", coverage=" << avg_cvg << endl;
			log 	<< '[' << get_time() << ']' << " Cluster " << total_iterations << ", " << cluster2.ndps() << " datapoints, "
				<< nunique_scgs << " unique SCGs (" << avg_ncopies_scgs << " copies), %G+C=" << avg_gc << ", coverage=" << avg_cvg << endl;
//			clustering_dbs.insert(pair<size_t, ClusterData*>(total_iterations++, cluster2));
			clusters.insert(pair<size_t, Cluster*>(total_iterations++, separator.get_cluster2()));
		}
		delete(&curr_clustering_db);
		delete(curr_cluster);
	}

	for(size_t i=0; i<=scaf_db.ndps(); i++) {
		if(dp2cluster.find(i) == dp2cluster.end())
			ofs_dp2cluster << i << "\t0" << endl;
		else
			ofs_dp2cluster << i << "\t" << dp2cluster[i] << endl;
	}
	for(size_t i=1; i<=scaf_db.nscafs(); i++) {
		if(scaf2cluster.find(i) == scaf2cluster.end())
			ofs_scaf2cluster << scaf_db.scaf_id2name(i) << "\t0" << endl;
		else
			ofs_scaf2cluster << scaf_db.scaf_id2name(i) << "\t" << scaf2cluster[i] << endl;
	}

	ofs_dp2cluster.close();
	ofs_scaf2cluster.close();

	cerr << '[' << get_time() << ']' << " Finished successfully" << endl << endl;
	log << '[' << get_time() << ']' << " Finished successfully" << endl << endl;
	log.close();
	summary.close();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1568, %rsp           # imm = 0x1568
movq %rsi, %rbx
movl %edi, %r14d
movq 0x1c33b(%rip), %r15     # 0x21fe8
leaq 0x1336c(%rip), %rsi     # 0x19020
movl $0x8, %edx
movq %r15, %rdi
callq 0x5420
leaq 0x13361(%rip), %rsi     # 0x19029
movl $0x5, %edx
movq %r15, %rdi
callq 0x5420
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x5360
movsbl %al, %esi
movq %r15, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5250
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x5360
movsbl %al, %esi
movq %r15, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5250
callq 0x82a8
movq %rax, %r13
leaq -0x6e0(%rbp), %rdi
callq 0x5640
leaq -0xd90(%rbp), %rdi
callq 0x5640
leaq -0x1190(%rbp), %rdi
callq 0x5640
leaq -0xf90(%rbp), %rdi
callq 0x5640
leaq -0x1590(%rbp), %rdi
movl $0x400, %edx            # imm = 0x400
xorl %esi, %esi
callq 0x51f0
movq %r13, %rdi
movl %r14d, %esi
movq %rbx, %rdx
callq 0x82f2
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
testl %eax, %eax
jne 0x7f76
movl 0x160(%r13), %r14d
leaq -0xb90(%rbp), %rbx
movq %rbx, %rdi
callq 0x5520
movl %r14d, 0x30(%rbx)
xorpd %xmm0, %xmm0
movupd %xmm0, 0x38(%rbx)
movupd %xmm0, 0x48(%rbx)
movq $0x0, 0x58(%rbx)
movq 0xa0(%r13), %rdx
leaq 0x13265(%rip), %rsi     # 0x1902f
leaq -0x1590(%rbp), %rbx
movq %rbx, %rdi
xorl %eax, %eax
callq 0x5090
leaq -0x6e0(%rbp), %rdi
movq %rbx, %rsi
movl $0x10, %edx
callq 0x5060
movq 0xa0(%r13), %rdx
leaq 0x13239(%rip), %rsi     # 0x19036
movq %rbx, %rdi
xorl %eax, %eax
callq 0x5090
leaq -0xd90(%rbp), %rdi
movq %rbx, %rsi
movl $0x10, %edx
callq 0x5060
movq 0xa0(%r13), %rdx
leaq 0x1321c(%rip), %rsi     # 0x19045
movq %rbx, %rdi
xorl %eax, %eax
callq 0x5090
leaq -0x1190(%rbp), %rdi
movq %rbx, %rsi
movl $0x10, %edx
callq 0x5060
movq 0xa0(%r13), %rdx
leaq 0x13202(%rip), %rsi     # 0x19057
movq %rbx, %rdi
xorl %eax, %eax
callq 0x5090
leaq -0xf90(%rbp), %rdi
movq %rbx, %rsi
movl $0x10, %edx
callq 0x5060
leaq -0xb30(%rbp), %rsi
movb $0x5b, (%rsi)
movq 0x1c164(%rip), %rdi     # 0x21fe8
movl $0x1, %edx
callq 0x5420
movq %rax, %rbx
callq 0x124f8
movq %rax, %r14
testq %rax, %rax
je 0x5eb6
movq %r14, %rdi
callq 0x5180
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x5420
jmp 0x5ecf
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq %rbx, %rdi
addq %rax, %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0x5630
leaq -0xb30(%rbp), %rsi
movb $0x5d, (%rsi)
movl $0x1, %edx
movq %rbx, %rdi
callq 0x5420
movq %rax, %rbx
leaq 0x1317b(%rip), %rsi     # 0x1906b
movl $0x9, %edx
movq %rax, %rdi
callq 0x5420
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x5360
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5250
leaq -0xb30(%rbp), %rsi
movb $0x5b, (%rsi)
movq 0x1c0b3(%rip), %rdi     # 0x21fe8
movl $0x1, %edx
callq 0x5420
movq %rax, %rbx
callq 0x124f8
movq %rax, %r14
testq %rax, %rax
je 0x5f67
movq %r14, %rdi
callq 0x5180
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x5420
jmp 0x5f80
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq %rbx, %rdi
addq %rax, %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0x5630
leaq -0xb30(%rbp), %rsi
movb $0x5d, (%rsi)
movl $0x1, %edx
movq %rbx, %rdi
callq 0x5420
movq %rax, %rbx
leaq 0x130d4(%rip), %rsi     # 0x19075
movl $0x1d, %edx
movq %rax, %rdi
callq 0x5420
movq 0x20(%r13), %rsi
movq 0x28(%r13), %rdx
movq %rbx, %rdi
callq 0x5420
movq %rax, %rbx
leaq 0x130cb(%rip), %rsi     # 0x19093
movl $0x5, %edx
movq %rax, %rdi
callq 0x5420
movq (%r13), %rsi
movq 0x8(%r13), %rdx
movq %rbx, %rdi
callq 0x5420
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x5360
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5250
leaq 0x1300a(%rip), %rsi     # 0x19020
leaq -0x6e0(%rbp), %rdi
movl $0x8, %edx
callq 0x5420
leaq 0x12ffb(%rip), %rsi     # 0x19029
leaq -0x6e0(%rbp), %rbx
movl $0x5, %edx
movq %rbx, %rdi
callq 0x5420
movq -0x6e0(%rbp), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x5360
movsbl %al, %esi
leaq -0x6e0(%rbp), %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5250
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x5360
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5250
leaq -0xb30(%rbp), %rsi
movb $0x5b, (%rsi)
leaq -0x6e0(%rbp), %rdi
movl $0x1, %edx
callq 0x5420
movq %rax, %rbx
callq 0x124f8
movq %rax, %r14
testq %rax, %rax
je 0x60de
movq %r14, %rdi
callq 0x5180
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x5420
jmp 0x60f7
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq %rbx, %rdi
addq %rax, %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0x5630
leaq -0xb30(%rbp), %rsi
movb $0x5d, (%rsi)
movl $0x1, %edx
movq %rbx, %rdi
callq 0x5420
movq %rax, %rbx
leaq 0x12f53(%rip), %rsi     # 0x1906b
movl $0x9, %edx
movq %rax, %rdi
callq 0x5420
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x5360
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5250
leaq -0xb30(%rbp), %rsi
movb $0x5b, (%rsi)
leaq -0x6e0(%rbp), %rdi
movl $0x1, %edx
callq 0x5420
movq %rax, %rbx
callq 0x124f8
movq %rax, %r14
testq %rax, %rax
je 0x618f
movq %r14, %rdi
callq 0x5180
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x5420
jmp 0x61a8
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq %rbx, %rdi
addq %rax, %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0x5630
leaq -0xb30(%rbp), %rsi
movb $0x5d, (%rsi)
movl $0x1, %edx
movq %rbx, %rdi
callq 0x5420
movq %rax, %rbx
leaq 0x12ed0(%rip), %rsi     # 0x19099
movl $0x1d, %edx
movq %rax, %rdi
callq 0x5420
movq 0x20(%r13), %rsi
movq 0x28(%r13), %rdx
movq %rbx, %rdi
callq 0x5420
movq %rax, %rbx
leaq 0x12ea3(%rip), %rsi     # 0x19093
movl $0x5, %edx
movq %rax, %rdi
callq 0x5420
movq (%r13), %rsi
movq 0x8(%r13), %rdx
movq %rbx, %rdi
callq 0x5420
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x5360
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5250
leaq -0x2d8(%rbp), %r14
movq %r14, -0x10(%r14)
movq 0x20(%r13), %rsi
movq 0x28(%r13), %rdx
addq %rsi, %rdx
leaq -0x2e8(%rbp), %rdi
callq 0xb188
leaq -0x2b8(%rbp), %r15
movq %r15, -0x10(%r15)
movq 0x80(%r13), %rsi
movq 0x88(%r13), %rdx
addq %rsi, %rdx
leaq -0x2c8(%rbp), %rdi
callq 0xb188
leaq -0x298(%rbp), %r12
movq %r12, -0x10(%r12)
movq 0x40(%r13), %rsi
movq 0x48(%r13), %rdx
addq %rsi, %rdx
leaq -0x2a8(%rbp), %rdi
callq 0xb188
leaq -0x460(%rbp), %rdi
leaq -0x2e8(%rbp), %rsi
leaq -0x2c8(%rbp), %rdx
leaq -0x2a8(%rbp), %rcx
callq 0xbd2c
movq -0x2a8(%rbp), %rdi
cmpq %r12, %rdi
je 0x62d6
callq 0x5340
movq -0x2c8(%rbp), %rdi
cmpq %r15, %rdi
je 0x62e7
callq 0x5340
movq -0x2e8(%rbp), %rdi
cmpq %r14, %rdi
je 0x62f8
callq 0x5340
leaq -0x278(%rbp), %r14
movq %r14, -0x10(%r14)
movq (%r13), %rsi
movq 0x8(%r13), %rdx
addq %rsi, %rdx
leaq -0x288(%rbp), %rdi
callq 0xb188
leaq -0x730(%rbp), %rdi
leaq -0x288(%rbp), %rsi
leaq -0x460(%rbp), %rdx
callq 0xff88
movq -0x288(%rbp), %rdi
cmpq %r14, %rdi
je 0x6345
callq 0x5340
leaq -0x258(%rbp), %r14
movq %r14, -0x10(%r14)
movq 0xc0(%r13), %rsi
movq 0xc8(%r13), %rdx
addq %rsi, %rdx
leaq -0x268(%rbp), %rdi
callq 0xb188
leaq -0x238(%rbp), %r15
movq %r15, -0x10(%r15)
movq 0xe0(%r13), %rsi
movq 0xe8(%r13), %rdx
addq %rsi, %rdx
leaq -0x248(%rbp), %rdi
callq 0xb188
leaq -0x4e0(%rbp), %rdi
leaq -0x460(%rbp), %rsi
leaq -0x268(%rbp), %rdx
leaq -0x248(%rbp), %rcx
callq 0x9042
movq -0x248(%rbp), %rdi
cmpq %r15, %rdi
je 0x63c7
callq 0x5340
movq -0x268(%rbp), %rdi
cmpq %r14, %rdi
je 0x63d8
callq 0x5340
leaq -0x140(%rbp), %rax
xorl %ecx, %ecx
movl %ecx, (%rax)
movq %rcx, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
movq %rcx, 0x20(%rax)
leaq -0x220(%rbp), %rax
movl %ecx, (%rax)
movq %rcx, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
movq %rcx, 0x20(%rax)
leaq -0x1f0(%rbp), %rax
movl %ecx, (%rax)
movq %rcx, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
movq %rcx, 0x20(%rax)
leaq 0x12c8b(%rip), %rsi     # 0x190b7
leaq -0xd90(%rbp), %rdi
movl $0x35, %edx
callq 0x5420
leaq -0xb30(%rbp), %rsi
movb $0x2f, (%rsi)
leaq -0xd90(%rbp), %rdi
movl $0x1, %edx
callq 0x5420
movslq -0x470(%rbp), %rsi
movq %rax, %rdi
callq 0x5240
movq %rax, %rbx
leaq 0x12c7c(%rip), %rsi     # 0x190ed
movl $0x4, %edx
movq %rax, %rdi
callq 0x5420
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x5360
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5250
leaq -0x460(%rbp), %rdi
callq 0x8d25
movq %rax, %rbx
movq %r13, -0xa0(%rbp)
leaq -0xb30(%rbp), %rsi
movq $0x1, (%rsi)
leaq -0x148(%rbp), %rdi
callq 0x90f6
movq %rbx, (%rax)
cmpq $0x0, -0x120(%rbp)
je 0x79f5
movl $0x2, %eax
movq %rax, -0x50(%rbp)
leaq -0xb30(%rbp), %r12
leaq 0x1b65b(%rip), %rax     # 0x21b58
addq $0x10, %rax
movq %rax, -0x98(%rbp)
movq -0x130(%rbp), %rbx
movq 0x28(%rbx), %r13
movl $0x50, %edi
callq 0x53a0
leaq 0x38(%r13), %rdx
movq %rax, -0x58(%rbp)
movq %rax, %rdi
leaq -0x730(%rbp), %rsi
movq %rdx, -0xf8(%rbp)
callq 0xfd18
movq 0x20(%rbx), %r15
leaq -0x148(%rbp), %rdi
movq %rbx, %rsi
callq 0xb4ce
movq 0x1ba93(%rip), %rcx     # 0x21fe8
movq (%rcx), %rax
movq -0x18(%rax), %rdi
addq %rcx, %rdi
movl $0xa, %esi
callq 0x5360
movsbl %al, %esi
movq 0x1ba75(%rip), %rdi     # 0x21fe8
callq 0x5040
movq %rax, %rdi
callq 0x5250
movb $0x5b, -0xb30(%rbp)
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x5420
movq %rax, %rbx
callq 0x124f8
movq %rax, %r14
testq %rax, %rax
je 0x65bf
movq %r14, %rdi
callq 0x5180
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x5420
jmp 0x65d8
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq %rbx, %rdi
addq %rax, %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0x5630
movb $0x5d, -0xb30(%rbp)
movl $0x1, %edx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x5420
movq %rax, %rbx
movl $0x12, %edx
movq %rax, %rdi
leaq 0x12af1(%rip), %rsi     # 0x190f2
callq 0x5420
movq %rbx, %rdi
movq %r15, %rsi
callq 0x5240
movq %rax, %rbx
movl $0x2, %edx
movq %rax, %rdi
leaq 0x1390a(%rip), %rsi     # 0x19f2d
callq 0x5420
movq 0x50(%r13), %rsi
movq %rbx, %rdi
callq 0x5240
movq %rax, %rbx
movl $0xc, %edx
movq %rax, %rdi
leaq 0x12abf(%rip), %rsi     # 0x19105
callq 0x5420
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x5360
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5250
movq -0x6e0(%rbp), %rax
movq -0x18(%rax), %rdi
leaq -0x6e0(%rbp), %rax
addq %rax, %rdi
movl $0xa, %esi
callq 0x5360
movsbl %al, %esi
leaq -0x6e0(%rbp), %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5250
movb $0x5b, -0xb30(%rbp)
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x5420
movq %rax, %rbx
callq 0x124f8
movq %rax, %r14
testq %rax, %rax
je 0x66e7
movq %r14, %rdi
callq 0x5180
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x5420
jmp 0x6700
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq %rbx, %rdi
addq %rax, %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0x5630
movb $0x5d, -0xb30(%rbp)
movl $0x1, %edx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x5420
movq %rax, %rbx
movl $0x12, %edx
movq %rax, %rdi
leaq 0x129c9(%rip), %rsi     # 0x190f2
callq 0x5420
movq %rbx, %rdi
movq %r15, %rsi
callq 0x5240
movq %rax, %rbx
movl $0x2, %edx
movq %rax, %rdi
leaq 0x137e2(%rip), %rsi     # 0x19f2d
callq 0x5420
movq 0x50(%r13), %rsi
movq %rbx, %rdi
callq 0x5240
movq %rax, %rbx
movl $0xc, %edx
movq %rax, %rdi
leaq 0x12997(%rip), %rsi     # 0x19105
callq 0x5420
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x5360
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5250
leaq -0x3d0(%rbp), %rbx
movq %rbx, %rdi
leaq -0x460(%rbp), %rsi
leaq -0x4e0(%rbp), %rdx
movq -0x58(%rbp), %rcx
leaq -0xb90(%rbp), %r8
callq 0x915e
movq %rbx, %rdi
callq 0x12af6
movb $0x5b, -0xb30(%rbp)
movl $0x1, %edx
movq 0x1b80b(%rip), %rdi     # 0x21fe8
movq %r12, %rsi
callq 0x5420
movq %rax, %rbx
callq 0x124f8
movq %rax, %r14
testq %rax, %rax
je 0x680d
movq %r14, %rdi
callq 0x5180
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x5420
jmp 0x6826
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq %rbx, %rdi
addq %rax, %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0x5630
movb $0x5d, -0xb30(%rbp)
movl $0x1, %edx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x5420
movl $0x1, %edx
movq %rax, %rdi
leaq 0x1387e(%rip), %rsi     # 0x1a0ca
callq 0x5420
movq -0x328(%rbp), %rdi
movq (%rdi), %rax
movq 0x1b786(%rip), %rsi     # 0x21fe8
callq *0x20(%rax)
movq 0x1b77c(%rip), %rcx     # 0x21fe8
movq (%rcx), %rax
movq -0x18(%rax), %rdi
addq %rcx, %rdi
movl $0xa, %esi
callq 0x5360
movsbl %al, %esi
movq 0x1b75e(%rip), %rdi     # 0x21fe8
callq 0x5040
movq %rax, %rdi
callq 0x5250
movb $0x5b, -0xb30(%rbp)
movl $0x1, %edx
leaq -0x6e0(%rbp), %rdi
movq %r12, %rsi
callq 0x5420
movq %rax, %rbx
callq 0x124f8
movq %rax, %r14
testq %rax, %rax
je 0x68da
movq %r14, %rdi
callq 0x5180
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x5420
jmp 0x68f3
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq %rbx, %rdi
addq %rax, %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0x5630
movb $0x5d, -0xb30(%rbp)
movl $0x1, %edx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x5420
movl $0x1, %edx
movq %rax, %rdi
leaq 0x137b1(%rip), %rsi     # 0x1a0ca
callq 0x5420
movq -0x328(%rbp), %rdi
movq (%rdi), %rax
leaq -0x6e0(%rbp), %rsi
callq *0x20(%rax)
movq -0x6e0(%rbp), %rax
movq -0x18(%rax), %rdi
leaq -0x6e0(%rbp), %rax
addq %rax, %rdi
movl $0xa, %esi
callq 0x5360
movsbl %al, %esi
leaq -0x6e0(%rbp), %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5250
leaq 0x1af19(%rip), %rax     # 0x21888
movq %rax, -0x88(%rbp)
leaq -0x460(%rbp), %rax
movq %rax, -0x80(%rbp)
leaq -0x4e0(%rbp), %rax
movq %rax, -0x78(%rbp)
movabsq $-0x4010000000000000, %rax # imm = 0xBFF0000000000000
movq %rax, -0x30(%rbp)
movq %rax, -0x70(%rbp)
cmpq $0x0, -0x3a8(%rbp)
je 0x69eb
movb $0x5b, -0xb30(%rbp)
movl $0x1, %edx
movq 0x1b62d(%rip), %rdi     # 0x21fe8
movq %r12, %rsi
callq 0x5420
movq %rax, %rbx
callq 0x124f8
movq %rax, %r14
testq %rax, %rax
je 0x6a35
movq %r14, %rdi
callq 0x5180
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x5420
jmp 0x6a4e
movb $0x5b, -0xb30(%rbp)
movl $0x1, %edx
movq 0x1b5ea(%rip), %rdi     # 0x21fe8
movq %r12, %rsi
callq 0x5420
movq %rax, %rbx
callq 0x124f8
movq %rax, %r14
testq %rax, %rax
je 0x7519
movq %r14, %rdi
callq 0x5180
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x5420
jmp 0x7532
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq %rbx, %rdi
addq %rax, %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0x5630
movb $0x5d, -0xb30(%rbp)
movl $0x1, %edx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x5420
movq %rax, %rdi
leaq -0x3d0(%rbp), %rsi
callq 0x13426
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x5360
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5250
movb $0x5b, -0xb30(%rbp)
movl $0x1, %edx
movq 0x1b537(%rip), %rdi     # 0x21fe8
movq %r12, %rsi
callq 0x5420
movq %rax, %rbx
callq 0x124f8
movq %rax, %r14
testq %rax, %rax
je 0x6ae1
movq %r14, %rdi
callq 0x5180
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x5420
jmp 0x6afa
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq %rbx, %rdi
addq %rax, %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0x5630
movb $0x5d, -0xb30(%rbp)
movl $0x1, %edx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x5420
movq %rax, %rbx
movl $0x9, %edx
movq %rax, %rdi
leaq 0x125ef(%rip), %rsi     # 0x19112
callq 0x5420
movq %rbx, %rdi
movq %r15, %rsi
callq 0x5240
movq %rax, %rbx
movl $0x30, %edx
movq %rax, %rdi
leaq 0x125fb(%rip), %rsi     # 0x19140
callq 0x5420
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x5360
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5250
movb $0x5b, -0xb30(%rbp)
movl $0x1, %edx
leaq -0x6e0(%rbp), %rdi
movq %r12, %rsi
callq 0x5420
movq %rax, %rbx
callq 0x124f8
movq %rax, %r14
testq %rax, %rax
je 0x6bb4
movq %r14, %rdi
callq 0x5180
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x5420
jmp 0x6bcd
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq %rbx, %rdi
addq %rax, %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0x5630
movb $0x5d, -0xb30(%rbp)
movl $0x1, %edx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x5420
movq %rax, %rdi
leaq -0x3d0(%rbp), %rsi
callq 0x13426
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x5360
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5250
movb $0x5b, -0xb30(%rbp)
movl $0x1, %edx
leaq -0x6e0(%rbp), %rdi
movq %r12, %rsi
callq 0x5420
movq %rax, %rbx
callq 0x124f8
movq %rax, %r14
testq %rax, %rax
je 0x6c60
movq %r14, %rdi
callq 0x5180
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x5420
jmp 0x6c79
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq %rbx, %rdi
addq %rax, %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0x5630
movb $0x5d, -0xb30(%rbp)
movl $0x1, %edx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x5420
movq %rax, %rbx
movl $0x9, %edx
movq %rax, %rdi
leaq 0x12470(%rip), %rsi     # 0x19112
callq 0x5420
movq %rbx, %rdi
movq %r15, %rsi
callq 0x5240
movq %rax, %rbx
movl $0x30, %edx
movq %rax, %rdi
leaq 0x1247c(%rip), %rsi     # 0x19140
callq 0x5420
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x5360
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5250
leaq -0x108(%rbp), %rax
movq %rax, -0x118(%rbp)
movq -0xa0(%rbp), %rax
movq 0x120(%rax), %rsi
movq 0x128(%rax), %rdx
addq %rsi, %rdx
leaq -0x118(%rbp), %rbx
movq %rbx, %rdi
callq 0xb188
leaq -0x1c8(%rbp), %rdi
movq %rbx, %rsi
leaq -0x460(%rbp), %rdx
callq 0x926c
movq -0x118(%rbp), %rdi
leaq -0x108(%rbp), %rax
cmpq %rax, %rdi
je 0x6d53
callq 0x5340
movq %r12, %rdi
leaq 0x12c86(%rip), %rsi     # 0x199e3
movq -0x50(%rbp), %rdx
xorl %eax, %eax
callq 0x5090
movq -0x3a8(%rbp), %rdx
addq $0x38, %rdx
leaq -0xf0(%rbp), %rbx
movq %rbx, %rdi
movq -0x58(%rbp), %rsi
callq 0xfd18
movq -0x3a8(%rbp), %rdx
addq $0x70, %rdx
leaq -0x1c8(%rbp), %rdi
movq %rbx, %rsi
leaq -0x398(%rbp), %rcx
movq %r12, %r8
callq 0x11870
movq -0x3a8(%rbp), %rsi
leaq -0x88(%rbp), %rdi
leaq -0x48(%rbp), %rdx
leaq -0x40(%rbp), %rcx
callq 0x18124
movq -0x3a8(%rbp), %rsi
leaq -0x88(%rbp), %rdi
leaq -0x38(%rbp), %rdx
leaq -0x90(%rbp), %rcx
callq 0x1818c
movq -0x3a8(%rbp), %rsi
leaq -0x88(%rbp), %rdi
leaq -0x30(%rbp), %rdx
leaq -0x70(%rbp), %rcx
callq 0x182bc
movb $0x5b, -0x198(%rbp)
movl $0x1, %edx
movq 0x1b1d7(%rip), %rdi     # 0x21fe8
leaq -0x198(%rbp), %rsi
callq 0x5420
movq %rax, %rbx
callq 0x124f8
movq %rax, %r14
testq %rax, %rax
je 0x6e45
movq %r14, %rdi
callq 0x5180
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x5420
jmp 0x6e5e
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq %rbx, %rdi
addq %rax, %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0x5630
movb $0x5d, -0x198(%rbp)
movl $0x1, %edx
movq %rbx, %rdi
leaq -0x198(%rbp), %rsi
callq 0x5420
movq %rax, %rbx
movl $0x9, %edx
movq %rax, %rdi
leaq 0x12287(%rip), %rsi     # 0x19112
callq 0x5420
movq %rbx, %rdi
movq -0x50(%rbp), %rsi
callq 0x5240
movq %rax, %rbx
movl $0x2, %edx
movq %rax, %rdi
leaq 0x1321b(%rip), %rsi     # 0x1a0c9
callq 0x5420
movq -0xc0(%rbp), %rsi
movq %rbx, %rdi
callq 0x5240
movq %rax, %rbx
movl $0xd, %edx
movq %rax, %rdi
leaq 0x1229d(%rip), %rsi     # 0x19171
callq 0x5420
movsd -0x48(%rbp), %xmm0
movq %rbx, %rdi
callq 0x55f0
movq %rax, %rbx
movl $0xe, %edx
movq %rax, %rdi
leaq 0x12287(%rip), %rsi     # 0x1917f
callq 0x5420
movsd -0x40(%rbp), %xmm0
movq %rbx, %rdi
callq 0x55f0
movq %rax, %rbx
movl $0xf, %edx
movq %rax, %rdi
leaq 0x12272(%rip), %rsi     # 0x1918e
callq 0x5420
movsd -0x38(%rbp), %xmm0
movq %rbx, %rdi
callq 0x55f0
movq %rax, %rbx
movl $0xb, %edx
movq %rax, %rdi
leaq 0x1225e(%rip), %rsi     # 0x1919e
callq 0x5420
movsd -0x30(%rbp), %xmm0
movq %rbx, %rdi
callq 0x55f0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x5360
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5250
movb $0x5b, -0x198(%rbp)
movl $0x1, %edx
leaq -0x6e0(%rbp), %rdi
leaq -0x198(%rbp), %rsi
callq 0x5420
movq %rax, %rbx
callq 0x124f8
movq %rax, %r14
testq %rax, %rax
je 0x6fc3
movq %r14, %rdi
callq 0x5180
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x5420
jmp 0x6fdc
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq %rbx, %rdi
addq %rax, %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0x5630
movb $0x5d, -0x198(%rbp)
movl $0x1, %edx
movq %rbx, %rdi
leaq -0x198(%rbp), %rsi
callq 0x5420
movq %rax, %rbx
movl $0x9, %edx
movq %rax, %rdi
leaq 0x12109(%rip), %rsi     # 0x19112
callq 0x5420
movq %rbx, %rdi
movq -0x50(%rbp), %rsi
callq 0x5240
movq %rax, %rbx
movl $0x2, %edx
movq %rax, %rdi
leaq 0x1309d(%rip), %rsi     # 0x1a0c9
callq 0x5420
movq -0xc0(%rbp), %rsi
movq %rbx, %rdi
callq 0x5240
movq %rax, %rbx
movl $0xd, %edx
movq %rax, %rdi
leaq 0x1211f(%rip), %rsi     # 0x19171
callq 0x5420
movsd -0x48(%rbp), %xmm0
movq %rbx, %rdi
callq 0x55f0
movq %rax, %rbx
movl $0xe, %edx
movq %rax, %rdi
leaq 0x12109(%rip), %rsi     # 0x1917f
callq 0x5420
movsd -0x40(%rbp), %xmm0
movq %rbx, %rdi
callq 0x55f0
movq %rax, %rbx
movl $0xf, %edx
movq %rax, %rdi
leaq 0x120f4(%rip), %rsi     # 0x1918e
callq 0x5420
movsd -0x38(%rbp), %xmm0
movq %rbx, %rdi
callq 0x55f0
movq %rax, %rbx
movl $0xb, %edx
movq %rax, %rdi
leaq 0x120e0(%rip), %rsi     # 0x1919e
callq 0x5420
movsd -0x30(%rbp), %xmm0
movq %rbx, %rdi
callq 0x55f0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x5360
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5250
movq -0x3a8(%rbp), %rax
movq -0x50(%rbp), %rbx
movq %rbx, -0x198(%rbp)
movq %rax, -0x190(%rbp)
leaq -0x148(%rbp), %rdi
leaq -0x198(%rbp), %r14
movq %r14, %rsi
callq 0xb71a
leaq 0x1(%rbx), %r15
movq %r12, %rdi
leaq 0x128ac(%rip), %rsi     # 0x199e3
movq %r15, %rdx
xorl %eax, %eax
callq 0x5090
movq -0x3a0(%rbp), %rdx
addq $0x38, %rdx
movq %r14, %rdi
movq -0x58(%rbp), %rsi
callq 0xfd18
movq -0x3a0(%rbp), %rdx
addq $0x70, %rdx
leaq -0x1c8(%rbp), %rdi
movq %r14, %rsi
leaq -0x360(%rbp), %rcx
movq %r12, %r8
callq 0x11870
movq -0x3a0(%rbp), %rsi
leaq -0x88(%rbp), %rdi
leaq -0x48(%rbp), %rdx
leaq -0x40(%rbp), %rcx
callq 0x18124
movq -0x3a0(%rbp), %rsi
leaq -0x88(%rbp), %rdi
leaq -0x38(%rbp), %rdx
leaq -0x90(%rbp), %rcx
callq 0x1818c
movq -0x3a0(%rbp), %rsi
leaq -0x88(%rbp), %rdi
leaq -0x30(%rbp), %rdx
leaq -0x70(%rbp), %rcx
callq 0x182bc
movb $0x5b, -0x68(%rbp)
movl $0x1, %edx
movq 0x1ae08(%rip), %rdi     # 0x21fe8
leaq -0x68(%rbp), %rsi
callq 0x5420
movq %rax, %rbx
callq 0x124f8
movq %rax, %r14
testq %rax, %rax
je 0x7211
movq %r14, %rdi
callq 0x5180
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x5420
jmp 0x722a
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq %rbx, %rdi
addq %rax, %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0x5630
movb $0x5d, -0x68(%rbp)
movl $0x1, %edx
movq %rbx, %rdi
leaq -0x68(%rbp), %rsi
callq 0x5420
movq %rax, %rbx
movl $0x9, %edx
movq %rax, %rdi
leaq 0x11ec1(%rip), %rsi     # 0x19112
callq 0x5420
movq %rbx, %rdi
movq %r15, %rsi
callq 0x5240
movq %rax, %rbx
movl $0x2, %edx
movq %rax, %rdi
leaq 0x12e56(%rip), %rsi     # 0x1a0c9
callq 0x5420
movq -0x168(%rbp), %rsi
movq %rbx, %rdi
callq 0x5240
movq %rax, %rbx
movl $0xd, %edx
movq %rax, %rdi
leaq 0x11ed8(%rip), %rsi     # 0x19171
callq 0x5420
movsd -0x48(%rbp), %xmm0
movq %rbx, %rdi
callq 0x55f0
movq %rax, %rbx
movl $0xe, %edx
movq %rax, %rdi
leaq 0x11ec2(%rip), %rsi     # 0x1917f
callq 0x5420
movsd -0x40(%rbp), %xmm0
movq %rbx, %rdi
callq 0x55f0
movq %rax, %rbx
movl $0xf, %edx
movq %rax, %rdi
leaq 0x11ead(%rip), %rsi     # 0x1918e
callq 0x5420
movsd -0x38(%rbp), %xmm0
movq %rbx, %rdi
callq 0x55f0
movq %rax, %rbx
movl $0xb, %edx
movq %rax, %rdi
leaq 0x11e99(%rip), %rsi     # 0x1919e
callq 0x5420
movsd -0x30(%rbp), %xmm0
movq %rbx, %rdi
callq 0x55f0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x5360
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5250
movb $0x5b, -0x68(%rbp)
movl $0x1, %edx
leaq -0x6e0(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0x5420
movq %rax, %rbx
callq 0x124f8
movq %rax, %r14
testq %rax, %rax
je 0x7382
movq %r14, %rdi
callq 0x5180
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x5420
jmp 0x739b
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq %rbx, %rdi
addq %rax, %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0x5630
movb $0x5d, -0x68(%rbp)
movl $0x1, %edx
movq %rbx, %rdi
leaq -0x68(%rbp), %rsi
callq 0x5420
movq %rax, %rbx
movl $0x9, %edx
movq %rax, %rdi
leaq 0x11d50(%rip), %rsi     # 0x19112
callq 0x5420
movq %rbx, %rdi
movq %r15, %rsi
callq 0x5240
movq %rax, %rbx
movl $0x2, %edx
movq %rax, %rdi
leaq 0x12ce5(%rip), %rsi     # 0x1a0c9
callq 0x5420
movq -0x168(%rbp), %rsi
movq %rbx, %rdi
callq 0x5240
movq %rax, %rbx
movl $0xd, %edx
movq %rax, %rdi
leaq 0x11d67(%rip), %rsi     # 0x19171
callq 0x5420
movsd -0x48(%rbp), %xmm0
movq %rbx, %rdi
callq 0x55f0
movq %rax, %rbx
movl $0xe, %edx
movq %rax, %rdi
leaq 0x11d51(%rip), %rsi     # 0x1917f
callq 0x5420
movsd -0x40(%rbp), %xmm0
movq %rbx, %rdi
callq 0x55f0
movq %rax, %rbx
movl $0xf, %edx
movq %rax, %rdi
leaq 0x11d3c(%rip), %rsi     # 0x1918e
callq 0x5420
movsd -0x38(%rbp), %xmm0
movq %rbx, %rdi
callq 0x55f0
movq %rax, %rbx
movl $0xb, %edx
movq %rax, %rdi
leaq 0x11d28(%rip), %rsi     # 0x1919e
callq 0x5420
movsd -0x30(%rbp), %xmm0
movq %rbx, %rdi
callq 0x55f0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x5360
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5250
movq -0x3a0(%rbp), %rax
movq %r15, -0x68(%rbp)
movq %rax, -0x60(%rbp)
leaq -0x148(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0xb71a
leaq -0x198(%rbp), %rdi
callq 0xfef6
leaq -0xf0(%rbp), %rdi
callq 0xfef6
leaq 0x1a3c8(%rip), %rax     # 0x218b8
movq %rax, -0x1c8(%rbp)
movq -0x1c0(%rbp), %rdi
leaq -0x1b0(%rbp), %rax
cmpq %rax, %rdi
je 0x750f
callq 0x5340
addq $0x2, -0x50(%rbp)
jmp 0x7987
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq %rbx, %rdi
addq %rax, %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0x5630
movb $0x5d, -0xb30(%rbp)
movl $0x1, %edx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x5420
movq %rax, %rbx
movl $0x9, %edx
movq %rax, %rdi
leaq 0x11bb7(%rip), %rsi     # 0x19112
callq 0x5420
movq %rbx, %rdi
movq %r15, %rsi
callq 0x5240
movq %rax, %rbx
movl $0x16, %edx
movq %rax, %rdi
leaq 0x11b9f(%rip), %rsi     # 0x1911c
callq 0x5420
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x5360
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5250
movb $0x5b, -0xb30(%rbp)
movl $0x1, %edx
leaq -0x6e0(%rbp), %rdi
movq %r12, %rsi
callq 0x5420
movq %rax, %rbx
callq 0x124f8
movq %rax, %r14
testq %rax, %rax
je 0x75ec
movq %r14, %rdi
callq 0x5180
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x5420
jmp 0x7605
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq %rbx, %rdi
addq %rax, %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0x5630
movb $0x5d, -0xb30(%rbp)
movl $0x1, %edx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x5420
movq %rax, %rbx
movl $0x9, %edx
movq %rax, %rdi
leaq 0x11ae4(%rip), %rsi     # 0x19112
callq 0x5420
movq %rbx, %rdi
movq %r15, %rsi
callq 0x5240
movq %rax, %rbx
movl $0x16, %edx
movq %rax, %rdi
leaq 0x11acc(%rip), %rsi     # 0x1911c
callq 0x5420
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x5360
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5250
movq 0x48(%r13), %rbx
testq %rbx, %rbx
je 0x769d
leaq 0x8(%rbx), %rsi
leaq -0x228(%rbp), %rdi
callq 0x9204
movq %r15, (%rax)
movq (%rbx), %rbx
jmp 0x7680
movq 0x88(%r13), %rbx
leaq 0x78(%r13), %r14
cmpq %r14, %rbx
je 0x76d0
leaq 0x20(%rbx), %rsi
leaq -0x1f8(%rbp), %rdi
callq 0x9204
movq %r15, (%rax)
movq %rbx, %rdi
callq 0x5430
movq %rax, %rbx
cmpq %r14, %rax
jne 0x76ad
movq -0xa0(%rbp), %rax
movq 0x140(%rax), %rdx
movq %r12, %rdi
leaq 0x11a4b(%rip), %rsi     # 0x19133
movq %r15, %rcx
xorl %eax, %eax
callq 0x5090
leaq 0x70(%r13), %rdi
leaq -0x460(%rbp), %rsi
movq %r12, %rdx
callq 0x8e55
leaq -0x88(%rbp), %r14
movq %r14, %rdi
movq %r13, %rsi
callq 0x183ec
movq %rax, %rbx
movq %r14, %rdi
movq %r13, %rsi
callq 0x1847c
movq %rax, %r14
leaq -0x88(%rbp), %rdi
movq %r13, %rsi
leaq -0x48(%rbp), %rdx
leaq -0x40(%rbp), %rcx
callq 0x18124
leaq -0x88(%rbp), %rdi
movq %r13, %rsi
leaq -0x38(%rbp), %rdx
leaq -0x90(%rbp), %rcx
callq 0x1818c
leaq -0x88(%rbp), %rdi
movq %r13, %rsi
leaq -0x30(%rbp), %rdx
leaq -0x70(%rbp), %rcx
callq 0x182bc
leaq -0xd90(%rbp), %rdi
movq %r15, %rsi
callq 0x5240
movb $0x9, -0xf0(%rbp)
movl $0x1, %edx
movq %rax, %rdi
leaq -0xf0(%rbp), %rsi
callq 0x5420
movq %rax, %rdi
movq %r14, %rsi
callq 0x5240
movb $0x9, -0xf0(%rbp)
movl $0x1, %edx
movq %rax, %rdi
leaq -0xf0(%rbp), %rsi
callq 0x5420
movq 0x50(%r13), %rsi
movq %rax, %rdi
callq 0x5240
movb $0x9, -0xf0(%rbp)
movl $0x1, %edx
movq %rax, %rdi
leaq -0xf0(%rbp), %rsi
callq 0x5420
movq %rax, %rdi
movq %rbx, %rsi
callq 0x5240
movb $0x9, -0xf0(%rbp)
movl $0x1, %edx
movq %rax, %rdi
leaq -0xf0(%rbp), %rsi
callq 0x5420
movsd -0x38(%rbp), %xmm0
mulsd 0x117ee(%rip), %xmm0    # 0x19008
cvttpd2dq %xmm0, %xmm0
cvtdq2pd %xmm0, %xmm0
divsd 0x117e6(%rip), %xmm0    # 0x19010
movq %rax, %rdi
callq 0x55f0
movb $0x9, -0xf0(%rbp)
movl $0x1, %edx
movq %rax, %rdi
leaq -0xf0(%rbp), %rsi
callq 0x5420
movsd -0x90(%rbp), %xmm0
mulsd 0x117ab(%rip), %xmm0    # 0x19008
cvttpd2dq %xmm0, %xmm0
cvtdq2pd %xmm0, %xmm0
divsd 0x117ab(%rip), %xmm0    # 0x19018
movq %rax, %rdi
callq 0x55f0
movb $0x9, -0xf0(%rbp)
movl $0x1, %edx
movq %rax, %rdi
leaq -0xf0(%rbp), %rsi
callq 0x5420
movsd -0x30(%rbp), %xmm0
movsd 0x11773(%rip), %xmm1    # 0x19010
mulsd %xmm1, %xmm0
cvttpd2dq %xmm0, %xmm0
cvtdq2pd %xmm0, %xmm0
divsd %xmm1, %xmm0
movq %rax, %rdi
callq 0x55f0
movb $0x9, -0xf0(%rbp)
movl $0x1, %edx
movq %rax, %rdi
leaq -0xf0(%rbp), %rsi
callq 0x5420
movsd -0x70(%rbp), %xmm0
movsd 0x11733(%rip), %xmm1    # 0x19010
mulsd %xmm1, %xmm0
cvttpd2dq %xmm0, %xmm0
cvtdq2pd %xmm0, %xmm0
divsd %xmm1, %xmm0
movq %rax, %rdi
callq 0x55f0
movb $0x9, -0xf0(%rbp)
movl $0x1, %edx
movq %rax, %rdi
leaq -0xf0(%rbp), %rsi
callq 0x5420
movsd -0x48(%rbp), %xmm0
movq %rax, %rdi
callq 0x55f0
movb $0x9, -0xf0(%rbp)
movl $0x1, %edx
movq %rax, %rdi
leaq -0xf0(%rbp), %rsi
callq 0x5420
movsd -0x40(%rbp), %xmm0
movsd 0x116d3(%rip), %xmm1    # 0x19018
mulsd %xmm1, %xmm0
cvttpd2dq %xmm0, %xmm0
cvtdq2pd %xmm0, %xmm0
divsd %xmm1, %xmm0
movq %rax, %rdi
callq 0x55f0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x5360
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5250
movq -0x58(%rbp), %rbx
movq %rbx, %rdi
callq 0xfef6
movq %rbx, %rdi
callq 0x5340
leaq 0x70(%r13), %rdi
callq 0x9b94
movq -0xf8(%rbp), %rdi
callq 0x9bec
leaq 0x8(%r13), %rdi
callq 0x9c62
movq %r13, %rdi
callq 0x5340
movq -0x98(%rbp), %rax
movq %rax, -0x3d0(%rbp)
leaq -0x360(%rbp), %rdi
callq 0x9bec
leaq -0x398(%rbp), %rdi
callq 0x9bec
cmpq $0x0, -0x120(%rbp)
jne 0x6508
leaq -0xb30(%rbp), %rbx
movq $0x0, (%rbx)
xorl %esi, %esi
leaq -0x1190(%rbp), %r14
leaq 0x11797(%rip), %r15     # 0x191aa
movabsq $-0x5555555555555555, %r13 # imm = 0xAAAAAAAAAAAAAAAB
movq -0x218(%rbp), %rdi
testq %rdi, %rdi
je 0x7a6d
leaq -0x220(%rbp), %r8
movq %r8, %rax
movq %rdi, %rcx
movq 0x20(%rdi), %rdx
xorl %edi, %edi
cmpq %rsi, %rdx
setb %dil
movq %rcx, %r8
cmovbq %rax, %r8
movq 0x10(%rcx,%rdi,8), %rdi
testq %rdi, %rdi
jne 0x7a30
leaq -0x220(%rbp), %rdi
cmpq %rdi, %r8
je 0x7a6d
cmpq %rsi, %rdx
cmovbq %rax, %rcx
cmpq 0x20(%rcx), %rsi
jae 0x7ae5
movq %r14, %rdi
callq 0x5240
movq %rax, %r12
movl $0x2, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x5420
movq (%r12), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x5360
movsbl %al, %esi
movq %r12, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5250
movq -0xb30(%rbp), %rsi
incq %rsi
movq %rsi, -0xb30(%rbp)
movq -0x3f8(%rbp), %rax
subq -0x400(%rbp), %rax
sarq $0x4, %rax
imulq %r13, %rax
decq %rax
cmpq %rax, %rsi
jbe 0x7a1d
jmp 0x7b3a
movq %r14, %rdi
callq 0x5240
movq %rax, %r12
movl $0x1, %edx
movq %rax, %rdi
leaq 0x1275a(%rip), %rsi     # 0x1a259
callq 0x5420
leaq -0x228(%rbp), %rdi
movq %rbx, %rsi
callq 0x9204
movq (%rax), %rsi
movq %r12, %rdi
callq 0x5240
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x5360
jmp 0x7a9d
movq $0x1, -0x3d0(%rbp)
movq -0x3e0(%rbp), %rax
subq -0x3e8(%rbp), %rax
cmpq $0x48, %rax
jne 0x7bbb
leaq -0x1190(%rbp), %rdi
callq 0x5530
leaq -0xf90(%rbp), %rdi
callq 0x5530
leaq -0xb30(%rbp), %rsi
movb $0x5b, (%rsi)
movq 0x1a466(%rip), %rdi     # 0x21fe8
movl $0x1, %edx
callq 0x5420
movq %rax, %rbx
callq 0x124f8
movq %rax, %r14
testq %rax, %rax
je 0x7d68
movq %r14, %rdi
callq 0x5180
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x5420
jmp 0x7d81
movl $0x1, %edx
leaq -0xb30(%rbp), %rbx
leaq -0x460(%rbp), %r14
leaq -0xf90(%rbp), %r15
movabsq $-0x71c71c71c71c71c7, %r12 # imm = 0x8E38E38E38E38E39
movq -0x1e8(%rbp), %rdi
testq %rdi, %rdi
je 0x7c33
leaq -0x1f0(%rbp), %r8
movq %r8, %rax
movq %rdi, %rcx
movq 0x20(%rdi), %rsi
xorl %edi, %edi
cmpq %rdx, %rsi
setb %dil
movq %rcx, %r8
cmovbq %rax, %r8
movq 0x10(%rcx,%rdi,8), %rdi
testq %rdi, %rdi
jne 0x7bf2
leaq -0x1f0(%rbp), %rdi
cmpq %rdi, %r8
je 0x7c33
cmpq %rdx, %rsi
cmovbq %rax, %rcx
cmpq 0x20(%rcx), %rdx
jae 0x7ce3
movq %rbx, %rdi
movq %r14, %rsi
callq 0xcd9c
movq -0xb30(%rbp), %rsi
movq -0xb28(%rbp), %rdx
movq %r15, %rdi
callq 0x5420
movq %rax, %r13
movl $0x2, %edx
movq %rax, %rdi
leaq 0x11544(%rip), %rsi     # 0x191aa
callq 0x5420
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x5360
movsbl %al, %esi
movq %r13, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5250
movq -0xb30(%rbp), %rdi
leaq -0xb20(%rbp), %rax
cmpq %rax, %rdi
je 0x7cab
callq 0x5340
movq -0x3d0(%rbp), %rdx
incq %rdx
movq %rdx, -0x3d0(%rbp)
movq -0x3e0(%rbp), %rax
subq -0x3e8(%rbp), %rax
sarq $0x3, %rax
imulq %r12, %rax
decq %rax
cmpq %rax, %rdx
jbe 0x7bdf
jmp 0x7b59
movq %rbx, %rdi
movq %r14, %rsi
callq 0xcd9c
movq -0xb30(%rbp), %rsi
movq -0xb28(%rbp), %rdx
movq %r15, %rdi
callq 0x5420
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
leaq 0x12543(%rip), %rsi     # 0x1a259
callq 0x5420
leaq -0x1f8(%rbp), %rdi
leaq -0x3d0(%rbp), %rsi
callq 0x9204
movq (%rax), %rsi
movq %r13, %rdi
callq 0x5240
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x5360
movsbl %al, %esi
movq %r13, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5250
jmp 0x7c93
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq %rbx, %rdi
addq %rax, %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0x5630
leaq -0xb30(%rbp), %rsi
movb $0x5d, (%rsi)
movl $0x1, %edx
movq %rbx, %rdi
callq 0x5420
movq %rax, %rbx
leaq 0x1140b(%rip), %rsi     # 0x191ad
movl $0x16, %edx
movq %rax, %rdi
callq 0x5420
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x5360
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5250
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x5360
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5250
leaq -0xb30(%rbp), %rsi
movb $0x5b, (%rsi)
leaq -0x6e0(%rbp), %rdi
movl $0x1, %edx
callq 0x5420
movq %rax, %rbx
callq 0x124f8
movq %rax, %r14
testq %rax, %rax
je 0x7e43
movq %r14, %rdi
callq 0x5180
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x5420
jmp 0x7e5c
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq %rbx, %rdi
addq %rax, %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0x5630
leaq -0xb30(%rbp), %rsi
movb $0x5d, (%rsi)
movl $0x1, %edx
movq %rbx, %rdi
callq 0x5420
movq %rax, %rbx
leaq 0x11330(%rip), %rsi     # 0x191ad
movl $0x16, %edx
movq %rax, %rdi
callq 0x5420
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x5360
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5250
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x5360
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5250
leaq -0x6e0(%rbp), %rdi
callq 0x5530
leaq -0xd90(%rbp), %rdi
callq 0x5530
leaq -0x1f8(%rbp), %rdi
callq 0x9c62
leaq -0x228(%rbp), %rdi
callq 0x9c62
leaq -0x148(%rbp), %rdi
callq 0x9cba
leaq -0x4a0(%rbp), %rbx
movq %rbx, %rdi
callq 0x97f0
movq -0x20(%rbx), %rdi
leaq -0x4b0(%rbp), %rax
cmpq %rax, %rdi
je 0x7f3b
callq 0x5340
leaq -0x4d0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7f50
callq 0x5340
leaq -0x730(%rbp), %rdi
callq 0xfef6
leaq -0x460(%rbp), %rdi
callq 0x9352
leaq -0xb90(%rbp), %rdi
callq 0x56d0
xorl %ebx, %ebx
movq 0x1a023(%rip), %rax     # 0x21fa0
movq (%rax), %r14
movq 0x18(%rax), %r15
leaq -0xf88(%rbp), %rdi
movq %r14, -0x8(%rdi)
movq -0x18(%r14), %rax
movq %r15, -0xf90(%rbp,%rax)
callq 0x52d0
movl $0xf8, %r12d
leaq -0xf90(%rbp), %rdi
addq %r12, %rdi
callq 0x5130
leaq -0x1188(%rbp), %rdi
movq %r14, -0x8(%rdi)
movq -0x18(%r14), %rax
movq %r15, -0x1190(%rbp,%rax)
callq 0x52d0
leaq -0x1190(%rbp), %rdi
addq %r12, %rdi
callq 0x5130
leaq -0xd88(%rbp), %rdi
movq %r14, -0x8(%rdi)
movq -0x18(%r14), %rax
movq %r15, -0xd90(%rbp,%rax)
callq 0x52d0
leaq -0xd90(%rbp), %rdi
addq %r12, %rdi
callq 0x5130
leaq -0x6d8(%rbp), %rdi
movq %r14, -0x8(%rdi)
movq -0x18(%r14), %rax
movq %r15, -0x6e0(%rbp,%rax)
callq 0x52d0
leaq -0x6e0(%rbp), %rdi
addq %r12, %rdi
callq 0x5130
movl %ebx, %eax
addq $0x1568, %rsp           # imm = 0x1568
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x8218
movq %rax, %rbx
movq -0x248(%rbp), %rdi
cmpq %r15, %rdi
je 0x8068
callq 0x5340
jmp 0x8068
movq %rax, %rbx
movq -0x268(%rbp), %rdi
cmpq %r14, %rdi
je 0x824b
callq 0x5340
jmp 0x824b
movq %rax, %rbx
jmp 0x824b
movq %rax, %rbx
movq -0x288(%rbp), %rdi
cmpq %r14, %rdi
je 0x8257
callq 0x5340
jmp 0x8257
movq %rax, %rbx
jmp 0x8257
movq %rax, %rbx
movq -0x2a8(%rbp), %rdi
cmpq %r12, %rdi
je 0x80c8
callq 0x5340
jmp 0x80c8
movq %rax, %rbx
movq -0x2c8(%rbp), %rdi
cmpq %r15, %rdi
je 0x80de
callq 0x5340
jmp 0x80de
movq %rax, %rbx
movq -0x2e8(%rbp), %rdi
cmpq %r14, %rdi
je 0x8263
callq 0x5340
jmp 0x8263
jmp 0x816f
movq %rax, %rbx
jmp 0x826f
movq %rax, %rbx
jmp 0x827b
movq %rax, %rbx
jmp 0x8287
movq %rax, %rbx
jmp 0x8293
jmp 0x8218
jmp 0x81b6
jmp 0x81b6
jmp 0x81a5
movq %rax, %rbx
movq -0x118(%rbp), %rdi
leaq -0x108(%rbp), %rax
jmp 0x81e1
jmp 0x81ed
movq %rax, %rbx
jmp 0x81c5
jmp 0x8218
jmp 0x81ed
jmp 0x8218
movq %rax, %rbx
movq -0x58(%rbp), %rdi
jmp 0x8191
jmp 0x8218
jmp 0x8177
jmp 0x8218
movq %rax, %rbx
jmp 0x8263
movq %rax, %rbx
movq -0xb30(%rbp), %rdi
leaq -0xb20(%rbp), %rax
cmpq %rax, %rdi
je 0x821b
callq 0x5340
jmp 0x821b
jmp 0x81ed
jmp 0x81ed
jmp 0x8218
jmp 0x81ed
jmp 0x81ed
movq %rax, %rbx
leaq -0x198(%rbp), %rdi
callq 0xfef6
jmp 0x81b9
movq %rax, %rbx
leaq -0xf0(%rbp), %rdi
callq 0xfef6
leaq 0x196ec(%rip), %rax     # 0x218b8
movq %rax, -0x1c8(%rbp)
movq -0x1c0(%rbp), %rdi
leaq -0x1b0(%rbp), %rax
cmpq %rax, %rdi
je 0x81f0
callq 0x5340
jmp 0x81f0
movq %rax, %rbx
movq -0x98(%rbp), %rax
movq %rax, -0x3d0(%rbp)
leaq -0x360(%rbp), %rdi
callq 0x9bec
leaq -0x398(%rbp), %rdi
callq 0x9bec
jmp 0x821b
movq %rax, %rbx
leaq -0x1f8(%rbp), %rdi
callq 0x9c62
leaq -0x228(%rbp), %rdi
callq 0x9c62
leaq -0x148(%rbp), %rdi
callq 0x9cba
leaq -0x4e0(%rbp), %rdi
callq 0x9314
leaq -0x730(%rbp), %rdi
callq 0xfef6
leaq -0x460(%rbp), %rdi
callq 0x9352
leaq -0xb90(%rbp), %rdi
callq 0x56d0
leaq -0xf90(%rbp), %rdi
callq 0x5570
leaq -0x1190(%rbp), %rdi
callq 0x5570
leaq -0xd90(%rbp), %rdi
callq 0x5570
leaq -0x6e0(%rbp), %rdi
callq 0x5570
movq %rbx, %rdi
callq 0x56a0
nop