// File: auton1[P]viterbi/bcf_entry.cpp
// Function: bcf_entry::print(std::ostream&, std::set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::less<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>>>> const&, bool)
void bcf_entry::print(ostream &out, const set<string> &INFO_to_keep, bool keep_all_INFO)
{
	if (fully_parsed == false)
		parse_full_entry();

	out << get_CHROM() << '\t' << POS << '\t' << get_ID() << '\t' << REF << '\t' << get_ALT();

	out << '\t' << header::double2str(QUAL);
	out << '\t' << get_FILTER();
	out << '\t' << get_INFO(INFO_to_keep, keep_all_INFO);

	if (FORMAT.size() > 0)
	{
		string indv_entries;
		out << '\t' << get_FORMAT();

		read_all_entries(indv_entries);
		out << indv_entries;
	}
	out << '\n';	// endl flushes the buffer, which is slow. This (should be) quicker.
}

// Assembly:
subq $0x1c8, %rsp            # imm = 0x1C8
movb %cl, %al
movq %rdi, 0x1c0(%rsp)
movq %rsi, 0x1b8(%rsp)
movq %rdx, 0x1b0(%rsp)
andb $0x1, %al
movb %al, 0x1af(%rsp)
movq 0x1c0(%rsp), %rax
movq %rax, 0x90(%rsp)
movb 0x3d9(%rax), %al
andb $0x1, %al
movzbl %al, %eax
cmpl $0x0, %eax
jne 0x37f9d
movq 0x90(%rsp), %rdi
movq (%rdi), %rax
movl $0x1, %esi
callq *0x18(%rax)
movq 0x90(%rsp), %rsi
movq 0x1b8(%rsp), %rax
movq %rax, 0x78(%rsp)
leaq 0x188(%rsp), %rdi
movq %rdi, 0x80(%rsp)
callq 0x4a260
movq 0x78(%rsp), %rdi
movq 0x80(%rsp), %rsi
callq 0x64a0
movq %rax, 0x88(%rsp)
jmp 0x37fe3
movq 0x88(%rsp), %rdi
movl $0x9, %esi
callq 0x6670
movq %rax, 0x70(%rsp)
jmp 0x37ffc
movq 0x70(%rsp), %rdi
movq 0x90(%rsp), %rax
movl 0x400(%rax), %esi
callq 0x69c0
movq %rax, 0x68(%rsp)
jmp 0x3801b
movq 0x68(%rsp), %rdi
movl $0x9, %esi
callq 0x6670
movq %rax, 0x60(%rsp)
jmp 0x38031
movq 0x90(%rsp), %rsi
leaq 0x158(%rsp), %rdi
callq 0x4a2e0
jmp 0x38048
movq 0x60(%rsp), %rdi
leaq 0x158(%rsp), %rsi
callq 0x64a0
movq %rax, 0x58(%rsp)
jmp 0x38061
movq 0x58(%rsp), %rdi
movl $0x9, %esi
callq 0x6670
movq %rax, 0x50(%rsp)
jmp 0x38077
movq 0x50(%rsp), %rdi
movq 0x90(%rsp), %rsi
addq $0x428, %rsi            # imm = 0x428
callq 0x64a0
movq %rax, 0x48(%rsp)
jmp 0x38097
movq 0x48(%rsp), %rdi
movl $0x9, %esi
callq 0x6670
movq %rax, 0x40(%rsp)
jmp 0x380ad
movq 0x90(%rsp), %rsi
leaq 0x138(%rsp), %rdi
callq 0x4a450
jmp 0x380c4
movq 0x40(%rsp), %rdi
leaq 0x138(%rsp), %rsi
callq 0x64a0
jmp 0x380d8
leaq 0x138(%rsp), %rdi
callq 0x6b50
leaq 0x158(%rsp), %rdi
callq 0x6b50
leaq 0x188(%rsp), %rdi
callq 0x6b50
movq 0x1b8(%rsp), %rdi
movl $0x9, %esi
callq 0x6670
movq %rax, %rcx
movq 0x90(%rsp), %rax
movq %rcx, 0x30(%rsp)
movsd 0x460(%rax), %xmm0
leaq 0x118(%rsp), %rdi
movq %rdi, 0x38(%rsp)
movsd 0x3ce02(%rip), %xmm1    # 0x74f40
callq 0x30730
movq 0x30(%rsp), %rdi
movq 0x38(%rsp), %rsi
callq 0x64a0
jmp 0x38154
leaq 0x118(%rsp), %rdi
callq 0x6b50
movq 0x1b8(%rsp), %rdi
movl $0x9, %esi
callq 0x6670
movq 0x90(%rsp), %rsi
movq %rax, 0x20(%rsp)
leaq 0xf8(%rsp), %rdi
movq %rdi, 0x28(%rsp)
callq 0x4ae50
movq 0x20(%rsp), %rdi
movq 0x28(%rsp), %rsi
callq 0x64a0
jmp 0x381a3
leaq 0xf8(%rsp), %rdi
callq 0x6b50
movq 0x1b8(%rsp), %rdi
movl $0x9, %esi
callq 0x6670
movq 0x90(%rsp), %rsi
movq %rax, 0x10(%rsp)
movq 0x1b0(%rsp), %rdx
movzbl 0x1af(%rsp), %ecx
andl $0x1, %ecx
leaq 0xd8(%rsp), %rdi
movq %rdi, 0x18(%rsp)
callq 0x4b050
movq 0x10(%rsp), %rdi
movq 0x18(%rsp), %rsi
callq 0x64a0
jmp 0x38205
leaq 0xd8(%rsp), %rdi
callq 0x6b50
movq 0x90(%rsp), %rdi
addq $0x498, %rdi            # imm = 0x498
callq 0x10270
cmpq $0x0, %rax
jbe 0x383ef
leaq 0xb8(%rsp), %rdi
callq 0x67e0
movq 0x1b8(%rsp), %rdi
movl $0x9, %esi
callq 0x6670
movq %rax, 0x8(%rsp)
jmp 0x38256
movq 0x90(%rsp), %rsi
leaq 0x98(%rsp), %rdi
callq 0x4b9e0
jmp 0x3826d
movq 0x8(%rsp), %rdi
leaq 0x98(%rsp), %rsi
callq 0x64a0
jmp 0x38281
leaq 0x98(%rsp), %rdi
callq 0x6b50
movq 0x90(%rsp), %rdi
leaq 0xb8(%rsp), %rsi
callq 0x37710
jmp 0x382a5
movq 0x1b8(%rsp), %rdi
leaq 0xb8(%rsp), %rsi
callq 0x64a0
jmp 0x382bc
leaq 0xb8(%rsp), %rdi
callq 0x6b50
jmp 0x383ef
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x180(%rsp)
movl %eax, 0x17c(%rsp)
jmp 0x38328
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x180(%rsp)
movl %eax, 0x17c(%rsp)
jmp 0x3831b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x180(%rsp)
movl %eax, 0x17c(%rsp)
leaq 0x138(%rsp), %rdi
callq 0x6b50
leaq 0x158(%rsp), %rdi
callq 0x6b50
leaq 0x188(%rsp), %rdi
callq 0x6b50
jmp 0x38409
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x180(%rsp)
movl %eax, 0x17c(%rsp)
leaq 0x118(%rsp), %rdi
callq 0x6b50
jmp 0x38409
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x180(%rsp)
movl %eax, 0x17c(%rsp)
leaq 0xf8(%rsp), %rdi
callq 0x6b50
jmp 0x38409
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x180(%rsp)
movl %eax, 0x17c(%rsp)
leaq 0xd8(%rsp), %rdi
callq 0x6b50
jmp 0x38409
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x180(%rsp)
movl %eax, 0x17c(%rsp)
jmp 0x383e0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x180(%rsp)
movl %eax, 0x17c(%rsp)
leaq 0x98(%rsp), %rdi
callq 0x6b50
leaq 0xb8(%rsp), %rdi
callq 0x6b50
jmp 0x38409
movq 0x1b8(%rsp), %rdi
movl $0xa, %esi
callq 0x6670
addq $0x1c8, %rsp            # imm = 0x1C8
retq
movq 0x180(%rsp), %rdi
callq 0x69e0
nopw %cs:(%rax,%rax)