// File: /workspace/github_cpp_makefile_star2_O1/auton1[P]viterbi/entry_getters.cpp
// Function: entry::get_INFO(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) const
string entry::get_INFO(const set<string> &INFO_to_keep, bool keep_all_INFO) const
{
	assert(parsed_INFO == true);

	ostringstream sout;
	sout.str("");
	sout.clear();

	bool first=true;
	if ( ( (!INFO.empty()) && (!INFO_to_keep.empty())  ) || keep_all_INFO )
	{
		string key;
		for (unsigned int ui=0; ui<INFO.size();ui++)
		{
			key = INFO[ui].first;
			if ( keep_all_INFO or (INFO_to_keep.find(key) != INFO_to_keep.end() ) )
			{
				if (first != true)
					sout << ";";

				sout << key;
				if (INFO[ui].second != "")
					sout << "=" << INFO[ui].second;
				first = false;
			}
		}
	}

	if (first == true)
	{	// Didn't find any INFO fields to keep
		sout.str(".");
	}
	return sout.str();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1b8, %rsp            # imm = 0x1B8
movq %rdx, 0x28(%rsp)
cmpb $0x0, 0x3dc(%rsi)
je 0x22783
movl %ecx, %ebp
movq %rsi, %r12
movq %rdi, %r14
leaq 0x40(%rsp), %rbx
movq %rbx, %rdi
callq 0x55d0
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x189a9(%rip), %rdx     # 0x3aeff
leaq 0x8(%rsp), %rdi
movq %rdx, %rsi
callq 0xc868
leaq 0x48(%rsp), %r13
leaq 0x8(%rsp), %rsi
movq %r13, %rdi
callq 0x5640
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x22584
callq 0x5410
movq 0x40(%rsp), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
xorl %esi, %esi
callq 0x5750
movq 0x480(%r12), %rax
cmpq 0x488(%r12), %rax
je 0x225c0
movq 0x28(%rsp), %rax
cmpq $0x0, 0x28(%rax)
setne %al
orb %bpl, %al
jne 0x225c9
jmp 0x2270e
testb %bpl, %bpl
je 0x2270e
movq %r15, 0x8(%rsp)
movq $0x0, 0x10(%rsp)
movb $0x0, 0x18(%rsp)
movq 0x480(%r12), %rsi
cmpq %rsi, 0x488(%r12)
je 0x226f1
movq %r14, 0x30(%rsp)
movq 0x28(%rsp), %rax
addq $0x8, %rax
movq %rax, 0x38(%rsp)
movb $0x1, %r13b
movl $0x1, %r15d
xorl %r14d, %r14d
leaq 0x40(%rsp), %rbx
shlq $0x6, %r14
addq %r14, %rsi
leaq 0x8(%rsp), %rdi
callq 0x51f0
testb %bpl, %bpl
jne 0x22642
movq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x1b9c2
cmpq 0x38(%rsp), %rax
je 0x226bf
testb $0x1, %r13b
jne 0x2265c
movl $0x1, %edx
movq %rbx, %rdi
leaq 0x17f64(%rip), %rsi     # 0x3a5bb
callq 0x54f0
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbx, %rdi
callq 0x54f0
movq 0x480(%r12), %rax
leaq (%rax,%r14), %rdi
addq $0x20, %rdi
leaq 0x1887a(%rip), %rsi     # 0x3aeff
callq 0x50e0
testl %eax, %eax
je 0x226bc
movl $0x1, %edx
movq %rbx, %rdi
leaq 0x195b8(%rip), %rsi     # 0x3bc55
callq 0x54f0
movq 0x480(%r12), %rax
movq 0x20(%rax,%r14), %rsi
movq 0x28(%rax,%r14), %rdx
movq %rbx, %rdi
callq 0x54f0
xorl %r13d, %r13d
movl %r15d, %r14d
movq 0x480(%r12), %rsi
movq 0x488(%r12), %rax
subq %rsi, %rax
sarq $0x6, %rax
incl %r15d
cmpq %r14, %rax
ja 0x22616
movq 0x30(%rsp), %r14
leaq 0x18(%rsp), %r15
jmp 0x226f4
movb $0x1, %r13b
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x22703
callq 0x5410
testb $0x1, %r13b
leaq 0x48(%rsp), %r13
je 0x22745
leaq 0x8(%rsp), %rdi
movq %r15, (%rdi)
leaq 0x17af0(%rip), %rsi     # 0x3a20d
leaq 0x17aea(%rip), %rdx     # 0x3a20e
callq 0xc868
leaq 0x8(%rsp), %rsi
movq %r13, %rdi
callq 0x5640
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x22745
callq 0x5410
movq %r14, %rdi
movq %r13, %rsi
callq 0x56c0
movq 0x27869(%rip), %rsi     # 0x49fc0
leaq 0x40(%rsp), %rdi
callq 0x51e0
leaq 0xb0(%rsp), %rdi
callq 0x5100
movq %r14, %rax
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x17e69(%rip), %rdi     # 0x3a5f3
leaq 0x17c9f(%rip), %rsi     # 0x3a430
leaq 0x17e6f(%rip), %rcx     # 0x3a607
movl $0xb8, %edx
callq 0x5280
jmp 0x227aa
jmp 0x227b9
jmp 0x227b9
jmp 0x227b9
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
jne 0x227d2
jmp 0x227d7
movq %rax, %rbx
jmp 0x227d7
jmp 0x227c0
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x227d7
callq 0x5410
movq 0x277e2(%rip), %rsi     # 0x49fc0
leaq 0x40(%rsp), %rdi
callq 0x51e0
leaq 0xb0(%rsp), %rdi
callq 0x5100
movq %rbx, %rdi
callq 0x57d0
nop