// File: /workspace/github_cpp_makefile_star2_O3/auton1[P]viterbi/variant_file.cpp
// Function: variant_file::add_file(parameters const&, std::vector<std::vector<bool, std::allocator<bool>>, std::allocator<std::vector<bool, std::allocator<bool>>>>&, std::vector<unsigned int, std::allocator<unsigned int>>&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>&)
int variant_file::add_file(const parameters &params, vector<vector<bool> > &haplotypes, vector<unsigned int> &positions, vector<string> &haplotype_names, vector<string> &alleles)
{
	int passed_sites = 0;
	unsigned int N_chr = 2*N_kept_individuals();
	vector<vector<bool> > new_haplotypes;
	vector<unsigned int> new_positions;
	vector<string> new_alleles;
	
	new_haplotypes.resize(N_chr);
	
	for (unsigned int ui=0; ui<N_kept_individuals(); ui++)
	{
		if (include_indv[ui] == false)
			continue;
		haplotype_names.push_back(meta_data.indv[ui] + "_1");
		haplotype_names.push_back(meta_data.indv[ui] + "_2");
	}

	vector<char> variant_line;
	entry *e = get_entry_object();
	unsigned int N_alleles;

	while(!eof())
	{
		get_entry(variant_line);
		e->reset(variant_line);
		N_entries += e->apply_filters(params);

		if(!e->passed_filters)
			continue;
		N_kept_entries++;
		e->parse_basic_entry(true);

		e->parse_genotype_entries(true);
		N_alleles = e->get_N_alleles();

		if (N_alleles != 2)
		{
			LOG.one_off_warning("\tWarning: Only using biallelic sites.");
			continue;
		}
		if (e->is_diploid() == false)
		{
			LOG.one_off_warning("\tWarning: Only using fully diploid sites.");
			continue;
		}

		vector<bool> tmp;
		tmp.reserve(meta_data.N_indv*2);
		int allele_count = 0;

		pair<int, int> geno;
		bool skip = false;
		for (unsigned int ui=0; ui<meta_data.N_indv; ui++)
		{
			if (e->include_indv[ui] == false)
				continue;

			if (e->include_genotype[ui] == true)
			{
				e->get_indv_GENOTYPE_ids(ui, geno);
				if ((geno.first > 1) || (geno.second > 1))
					LOG.error("Only supporting biallelics... something bad happened", 1);
				if ((geno.first != -1) && (geno.second != -1))
				{
					tmp.push_back((bool)geno.first);
					tmp.push_back((bool)geno.second);
					allele_count += geno.first;
					allele_count += geno.second;
				}
				else
				{
					skip = true;
					LOG.one_off_warning("\tWarning: Only using sites without missing data.");
					break;
				}
			}
			else
			{
				skip = true;
				LOG.one_off_warning("\tWarning: Only using sites without missing data.");
				break;
			}
		}

		if (skip == true)
			continue;

		if (N_chr != tmp.size())
			LOG.error("Something unexpected happened.... oh dear.");

		string chr = e->get_CHROM();
		passed_sites++;

		new_alleles.push_back(e->get_REF());
		new_alleles.push_back(e->get_ALT());
		new_positions.push_back(e->get_POS());

		for (unsigned int ui=0; ui<tmp.size(); ui++)
			new_haplotypes[ui].push_back(tmp[ui]);
		
	}
	vector<vector<bool> > merged_haplotypes;
	vector<unsigned int> merged_positions;
	vector<string> merged_alleles;
	
	merged_haplotypes.resize(haplotypes.size()+new_haplotypes.size());
	for (unsigned int ui=0; ui<positions.size(); ui++)
	{
		int idx = find(new_positions.begin(), new_positions.end(), positions[ui]) - new_positions.begin();

		if (idx >= 0 && idx < new_positions.size())
		{
			if (alleles[2*ui] == new_alleles[2*idx] && alleles[2*ui+1] == new_alleles[2*idx+1])
			{
				merged_positions.push_back(positions[ui]);
				for (unsigned int uj=0; uj<haplotypes.size(); uj++)
					merged_haplotypes[uj].push_back(haplotypes[uj][ui]);

				for (unsigned int uj=0; uj<new_haplotypes.size(); uj++)
					merged_haplotypes[haplotypes.size()+uj].push_back(new_haplotypes[uj][idx]);
			}
		}
	}
	haplotypes = merged_haplotypes;
	positions = merged_positions;
	
	delete e;
	return passed_sites;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1d8, %rsp            # imm = 0x1D8
movq %r9, 0xf8(%rsp)
movq %r8, %r15
movq %rcx, 0x48(%rsp)
movq %rdx, 0x38(%rsp)
movq %rsi, 0x98(%rsp)
movq %rdi, %rbp
callq 0x11532
movl %eax, %esi
addl %esi, %esi
xorl %eax, %eax
leaq 0xc0(%rsp), %rdi
movq %rax, 0x10(%rdi)
xorps %xmm0, %xmm0
movaps %xmm0, (%rdi)
movq %rax, 0x80(%rsp)
movaps %xmm0, 0x70(%rsp)
movq %rax, 0xf0(%rsp)
movaps %xmm0, 0xe0(%rsp)
movq %rsi, 0x90(%rsp)
callq 0xc1f2
movq %rbp, %rdi
callq 0x11532
testl %eax, %eax
je 0x125c1
leaq 0x10(%rsp), %r14
movl $0x8, %r12d
xorl %r13d, %r13d
movq %rsp, %rbx
movq 0x430(%rbp), %rax
movq %r13, %rcx
shrq $0x6, %rcx
movq (%rax,%rcx,8), %rax
btq %r13, %rax
jae 0x125a7
movq 0x260(%rbp), %rax
movq %r14, (%rsp)
movq -0x8(%rax,%r12), %rsi
movq (%rax,%r12), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0xc7c8
movq %rbx, %rdi
leaq 0x2632d(%rip), %rsi     # 0x3886f
callq 0x5870
movq %r15, %rdi
movq %rbx, %rsi
callq 0x1341e
movq (%rsp), %rdi
cmpq %r14, %rdi
je 0x12560
callq 0x5410
movq 0x260(%rbp), %rax
movq %r14, (%rsp)
movq -0x8(%rax,%r12), %rsi
movq (%rax,%r12), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0xc7c8
movq %rbx, %rdi
leaq 0x262e9(%rip), %rsi     # 0x38872
callq 0x5870
movq %r15, %rdi
movq %rbx, %rsi
callq 0x1341e
movq (%rsp), %rdi
cmpq %r14, %rdi
je 0x125a7
callq 0x5410
incq %r13
movq %rbp, %rdi
callq 0x11532
movl %eax, %eax
addq $0x20, %r12
cmpq %rax, %r13
jb 0x124fd
xorps %xmm0, %xmm0
movaps %xmm0, 0x1a0(%rsp)
movq $0x0, 0x1b0(%rsp)
movq (%rbp), %rax
movq %rbp, %rdi
callq *0x28(%rax)
movq %rax, %r12
leaq 0x1c8(%rsp), %r13
leaq 0x1a0(%rsp), %r15
movl $0x0, 0x44(%rsp)
movq (%rbp), %rax
movq %rbp, %rdi
callq *0x18(%rax)
testb %al, %al
jne 0x12aea
movq (%rbp), %rax
movq %rbp, %rdi
movq %r15, %rsi
callq *0x20(%rax)
movq (%r12), %rax
movq %r12, %rdi
movq %r15, %rsi
callq *0x30(%rax)
movq %r12, %rdi
movq 0x98(%rsp), %rsi
callq 0x28950
addl %eax, 0x458(%rbp)
cmpb $0x0, 0xc(%r12)
je 0x125fd
incl 0x45c(%rbp)
movq (%r12), %rax
movq %r12, %rdi
movl $0x1, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq *0x10(%rax)
movq (%r12), %rax
movq %r12, %rdi
movl $0x1, %esi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq *0x28(%rax)
movq %r12, %rdi
callq 0x22eb0
cmpl $0x2, %eax
jne 0x126ea
movq %r12, %rdi
callq 0x21e06
testb %al, %al
jne 0x1273a
leaq 0x190(%rsp), %rax
movq %rax, 0x180(%rsp)
leaq 0x180(%rsp), %rbx
movq %rbx, %rdi
leaq 0x261e6(%rip), %rsi     # 0x3889b
leaq 0x26208(%rip), %rdx     # 0x388c4
callq 0xc85e
leaq 0x36de0(%rip), %rdi     # 0x494a8
movq %rbx, %rsi
callq 0x371c0
movq 0x180(%rsp), %rdi
leaq 0x190(%rsp), %rax
cmpq %rax, %rdi
jne 0x12730
jmp 0x125fd
movq %r13, 0x1b8(%rsp)
leaq 0x1b8(%rsp), %rbx
movq %rbx, %rdi
leaq 0x26171(%rip), %rsi     # 0x38875
leaq 0x2618f(%rip), %rdx     # 0x3889a
callq 0xc85e
leaq 0x36d91(%rip), %rdi     # 0x494a8
movq %rbx, %rsi
callq 0x371c0
movq 0x1b8(%rsp), %rdi
cmpq %r13, %rdi
je 0x125fd
callq 0x5410
jmp 0x125fd
xorl %eax, %eax
movq %rax, (%rsp)
movl %eax, 0x8(%rsp)
movq %rax, 0x10(%rsp)
movl %eax, 0x18(%rsp)
movq %rax, 0x20(%rsp)
movl 0x2a8(%rbp), %esi
addl %esi, %esi
movq %rsp, %rdi
callq 0x130c2
movq $0x0, 0x30(%rsp)
movl 0x2a8(%rbp), %eax
testl %eax, %eax
je 0x12876
xorl %ebx, %ebx
movq 0x1f0(%r12), %rsi
movl $0x1, %edx
movl %ebx, %ecx
shlq %cl, %rdx
movl %ebx, %ecx
shrl $0x6, %ecx
movq (%rsi,%rcx,8), %rsi
btq %rbx, %rsi
jae 0x1286c
movq 0x218(%r12), %rax
testq %rdx, (%rax,%rcx,8)
je 0x12a25
movq %r12, %rdi
movl %ebx, %esi
leaq 0x30(%rsp), %rdx
callq 0x22b50
cmpl $0x1, 0x30(%rsp)
jg 0x127cf
cmpl $0x2, 0x34(%rsp)
jl 0x1282b
leaq 0x170(%rsp), %rax
movq %rax, 0x160(%rsp)
leaq 0x160(%rsp), %r14
movq %r14, %rdi
leaq 0x260d4(%rip), %rsi     # 0x388c5
leaq 0x26101(%rip), %rdx     # 0x388f9
callq 0xc85e
leaq 0x36ca4(%rip), %rdi     # 0x494a8
movq %r14, %rsi
movl $0x1, %edx
callq 0x36ec8
movq 0x160(%rsp), %rdi
leaq 0x170(%rsp), %rax
cmpq %rax, %rdi
je 0x1282b
callq 0x5410
movl 0x30(%rsp), %eax
cmpl $-0x1, %eax
je 0x12a74
cmpl $-0x1, 0x34(%rsp)
je 0x12a74
xorl %esi, %esi
testl %eax, %eax
setne %sil
movq %rsp, %rdi
callq 0xc22e
xorl %esi, %esi
cmpl $0x0, 0x34(%rsp)
setne %sil
movq %rsp, %rdi
callq 0xc22e
movl 0x2a8(%rbp), %eax
incl %ebx
cmpl %eax, %ebx
jb 0x1277b
movq 0x10(%rsp), %rax
movl 0x18(%rsp), %ecx
subq (%rsp), %rax
leaq (%rcx,%rax,8), %rax
cmpq 0x90(%rsp), %rax
je 0x128ed
leaq 0x110(%rsp), %rax
movq %rax, 0x100(%rsp)
leaq 0x100(%rsp), %rbx
movq %rbx, %rdi
leaq 0x26078(%rip), %rsi     # 0x3892b
leaq 0x2609b(%rip), %rdx     # 0x38955
callq 0xc85e
leaq 0x36be2(%rip), %rdi     # 0x494a8
movq %rbx, %rsi
movl $0x1, %edx
callq 0x36ec8
movq 0x100(%rsp), %rdi
leaq 0x110(%rsp), %rax
cmpq %rax, %rdi
je 0x128ed
callq 0x5410
leaq 0xa0(%rsp), %rdi
movq %r12, %rsi
callq 0x21ac0
leaq 0x50(%rsp), %rbx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x21b4e
leaq 0xe0(%rsp), %rdi
movq %rbx, %rsi
callq 0x1341e
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x12931
callq 0x5410
leaq 0x50(%rsp), %rbx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x21bb2
leaq 0xe0(%rsp), %rdi
movq %rbx, %rsi
callq 0x1341e
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x12965
callq 0x5410
movq %r12, %rdi
callq 0x21afc
movl %eax, 0x50(%rsp)
movq 0x78(%rsp), %rsi
cmpq 0x80(%rsp), %rsi
je 0x1298d
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x78(%rsp)
jmp 0x1299c
leaq 0x70(%rsp), %rdi
leaq 0x50(%rsp), %rdx
callq 0x136b4
movq (%rsp), %rax
movq 0x10(%rsp), %rcx
movl 0x18(%rsp), %edx
subq %rax, %rcx
shlq $0x3, %rcx
addq %rdx, %rcx
je 0x12a02
movl $0x1, %ebx
xorl %ecx, %ecx
leal -0x1(%rbx), %edx
leaq (%rcx,%rcx,4), %rdi
shlq $0x3, %rdi
addq 0xc0(%rsp), %rdi
shrl $0x6, %edx
movq (%rax,%rdx,8), %rax
xorl %esi, %esi
btq %rcx, %rax
setb %sil
callq 0xc22e
movl %ebx, %ecx
movq (%rsp), %rax
movq 0x10(%rsp), %rdx
movl 0x18(%rsp), %esi
subq %rax, %rdx
leaq (%rsi,%rdx,8), %rdx
incl %ebx
cmpq %rcx, %rdx
ja 0x129bc
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x12a1c
callq 0x5410
incl 0x44(%rsp)
jmp 0x12acb
leaq 0x130(%rsp), %rax
movq %rax, 0x120(%rsp)
leaq 0x120(%rsp), %rbx
movq %rbx, %rdi
leaq 0x25eb3(%rip), %rsi     # 0x388fa
leaq 0x25edc(%rip), %rdx     # 0x3892a
callq 0xc85e
leaq 0x36a4e(%rip), %rdi     # 0x494a8
movq %rbx, %rsi
callq 0x371c0
movq 0x120(%rsp), %rdi
leaq 0x130(%rsp), %rax
jmp 0x12ac1
leaq 0x150(%rsp), %rax
movq %rax, 0x140(%rsp)
leaq 0x140(%rsp), %rbx
movq %rbx, %rdi
leaq 0x25e64(%rip), %rsi     # 0x388fa
leaq 0x25e8d(%rip), %rdx     # 0x3892a
callq 0xc85e
leaq 0x369ff(%rip), %rdi     # 0x494a8
movq %rbx, %rsi
callq 0x371c0
movq 0x140(%rsp), %rdi
leaq 0x150(%rsp), %rax
cmpq %rax, %rdi
je 0x12acb
callq 0x5410
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x125fd
callq 0x5410
movq $0x0, (%rsp)
jmp 0x125fd
movq %r12, 0x90(%rsp)
xorps %xmm0, %xmm0
movq %rsp, %rdi
movaps %xmm0, (%rdi)
xorl %eax, %eax
movq %rax, 0x10(%rdi)
movq %rax, 0xb0(%rsp)
movaps %xmm0, 0xa0(%rsp)
movq %rax, 0x60(%rsp)
movaps %xmm0, 0x50(%rsp)
movq 0x38(%rsp), %rcx
movq 0x8(%rcx), %rax
subq (%rcx), %rax
sarq $0x3, %rax
movabsq $-0x3333333333333333, %rcx # imm = 0xCCCCCCCCCCCCCCCD
movq 0xc8(%rsp), %rsi
subq 0xc0(%rsp), %rsi
imulq %rcx, %rax
sarq $0x3, %rsi
imulq %rcx, %rsi
addq %rax, %rsi
callq 0xc1f2
movq 0x48(%rsp), %rcx
movq (%rcx), %rax
cmpq %rax, 0x8(%rcx)
je 0x12db8
xorl %r15d, %r15d
movq 0x70(%rsp), %rdi
movq 0x78(%rsp), %rsi
leaq (%rax,%r15,4), %rdx
callq 0x13788
movq %rax, %rbp
movq 0x70(%rsp), %rax
subq %rax, %rbp
sarq $0x2, %rbp
testl %ebp, %ebp
js 0x12d99
movl %ebp, %r13d
andl $0x7fffffff, %r13d      # imm = 0x7FFFFFFF
movq 0x78(%rsp), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
cmpq %rcx, %r13
jae 0x12d99
leal (%r15,%r15), %ebx
movq 0xf8(%rsp), %rax
movq (%rax), %rdi
movq %rbx, %rax
shlq $0x5, %rax
leal (,%rbp,2), %r12d
movq 0xe0(%rsp), %r14
movq %r12, %rcx
shlq $0x5, %rcx
movq 0x8(%rdi,%rax), %rdx
cmpq 0x8(%r14,%rcx), %rdx
jne 0x12d99
testq %rdx, %rdx
je 0x12c22
addq %rdi, %rax
addq %r14, %rcx
movq (%rcx), %rsi
movq %rdi, 0x98(%rsp)
movq (%rax), %rdi
callq 0x5470
movq 0x98(%rsp), %rdi
testl %eax, %eax
jne 0x12d99
orl $0x1, %ebx
shlq $0x5, %rbx
orl $0x1, %r12d
shlq $0x5, %r12
movq 0x8(%rdi,%rbx), %rdx
cmpq 0x8(%r14,%r12), %rdx
jne 0x12d99
testq %rdx, %rdx
je 0x12c5f
addq %rbx, %rdi
addq %r12, %r14
movq (%r14), %rsi
movq (%rdi), %rdi
callq 0x5470
testl %eax, %eax
jne 0x12d99
leaq (,%r15,4), %rdx
movq 0x48(%rsp), %rax
addq (%rax), %rdx
movq 0xa8(%rsp), %rsi
cmpq 0xb0(%rsp), %rsi
je 0x12c93
movl (%rdx), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0xa8(%rsp)
jmp 0x12ca0
leaq 0xa0(%rsp), %rdi
callq 0xdda6
movq 0x38(%rsp), %rcx
movq (%rcx), %rax
cmpq %rax, 0x8(%rcx)
je 0x12d16
movl $0x1, %ebx
movl %r15d, %ecx
shlq %cl, %rbx
movq %r15, %r14
shrq $0x6, %r14
movl $0x1, %r12d
xorl %ecx, %ecx
shlq $0x3, %rcx
leaq (%rcx,%rcx,4), %rcx
movq (%rsp), %rdi
addq %rcx, %rdi
movq (%rax,%rcx), %rax
xorl %esi, %esi
testq %rbx, (%rax,%r14,8)
setne %sil
callq 0xc22e
movl %r12d, %ecx
movq 0x38(%rsp), %rdx
movq (%rdx), %rax
movq 0x8(%rdx), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
movabsq $-0x3333333333333333, %rsi # imm = 0xCCCCCCCCCCCCCCCD
imulq %rsi, %rdx
incl %r12d
cmpq %rcx, %rdx
ja 0x12cc8
movq 0xc0(%rsp), %rax
cmpq %rax, 0xc8(%rsp)
je 0x12d99
movl $0x1, %ebx
movl %ebp, %ecx
shlq %cl, %rbx
shrl $0x6, %r13d
movl $0x1, %ebp
xorl %ecx, %ecx
movq 0x38(%rsp), %rdx
movq 0x8(%rdx), %rdi
subq (%rdx), %rdi
addq (%rsp), %rdi
shlq $0x3, %rcx
leaq (%rcx,%rcx,4), %rcx
addq %rcx, %rdi
movq (%rax,%rcx), %rax
xorl %esi, %esi
testq %rbx, (%rax,%r13,8)
setne %sil
callq 0xc22e
movl %ebp, %ecx
movq 0xc0(%rsp), %rax
movq 0xc8(%rsp), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
movabsq $-0x3333333333333333, %rsi # imm = 0xCCCCCCCCCCCCCCCD
imulq %rsi, %rdx
incl %ebp
cmpq %rcx, %rdx
ja 0x12d3d
incl %r15d
movq 0x48(%rsp), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
cmpq %r15, %rcx
ja 0x12b6e
movq %rsp, %rsi
movq 0x38(%rsp), %rdi
callq 0xc358
leaq 0xa0(%rsp), %rsi
movq 0x48(%rsp), %rdi
callq 0xc27c
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
movl 0x44(%rsp), %ebx
je 0x12dee
movq (%rdi), %rax
callq *0x8(%rax)
leaq 0x50(%rsp), %rdi
callq 0xc4da
movq 0xa0(%rsp), %rdi
testq %rdi, %rdi
je 0x12e0a
callq 0x5410
movq %rsp, %rdi
callq 0xc4b2
movq 0x1a0(%rsp), %rdi
testq %rdi, %rdi
je 0x12e24
callq 0x5410
leaq 0xe0(%rsp), %rdi
callq 0xc4da
movq 0x70(%rsp), %rdi
testq %rdi, %rdi
je 0x12e40
callq 0x5410
leaq 0xc0(%rsp), %rdi
callq 0xc4b2
movl %ebx, %eax
addq $0x1d8, %rsp            # imm = 0x1D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x140(%rsp), %rdi
leaq 0x150(%rsp), %rax
jmp 0x12f0d
jmp 0x12f1e
movq %rax, %rbx
movq 0x120(%rsp), %rdi
leaq 0x130(%rsp), %rax
jmp 0x12f0d
jmp 0x12f1e
movq %rax, %rbx
movq 0x100(%rsp), %rdi
leaq 0x110(%rsp), %rax
jmp 0x12f0d
jmp 0x12f1e
jmp 0x12eb3
jmp 0x12efa
movq %rax, %rbx
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x12efd
callq 0x5410
jmp 0x12efd
jmp 0x12efa
jmp 0x12f1e
jmp 0x12efa
jmp 0x12f9f
jmp 0x12f1e
movq %rax, %rbx
movq 0x160(%rsp), %rdi
leaq 0x170(%rsp), %rax
jmp 0x12f0d
jmp 0x12f1e
jmp 0x12fc8
jmp 0x12f8c
movq %rax, %rbx
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x12f21
callq 0x5410
jmp 0x12f21
jmp 0x12f9f
movq %rax, %rbx
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x12fcb
callq 0x5410
xorl %eax, %eax
movq %rax, (%rsp)
movl $0x0, 0x8(%rsp)
movq %rax, 0x10(%rsp)
jmp 0x12fcb
movq %rax, %rbx
movq 0x180(%rsp), %rdi
leaq 0x190(%rsp), %rax
cmpq %rax, %rdi
jne 0x12f77
jmp 0x12fcb
jmp 0x12fc8
movq %rax, %rbx
movq 0x1b8(%rsp), %rdi
cmpq %r13, %rdi
je 0x12fcb
callq 0x5410
jmp 0x12fcb
jmp 0x12fc8
jmp 0x12f9f
jmp 0x12f9f
jmp 0x12f8c
jmp 0x12f91
jmp 0x12f91
jmp 0x12f91
movq %rax, %rbx
jmp 0x12fdd
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r14, %rdi
jne 0x12fd8
jmp 0x12fdd
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0xc4da
movq 0xa0(%rsp), %rdi
testq %rdi, %rdi
je 0x12fbe
callq 0x5410
movq %rsp, %rdi
callq 0xc4b2
jmp 0x12fcb
movq %rax, %rbx
movq 0x1a0(%rsp), %rdi
testq %rdi, %rdi
je 0x12fdd
callq 0x5410
leaq 0xe0(%rsp), %rdi
callq 0xc4da
movq 0x70(%rsp), %rdi
testq %rdi, %rdi
je 0x12ff9
callq 0x5410
leaq 0xc0(%rsp), %rdi
callq 0xc4b2
movq %rbx, %rdi
callq 0x57d0