// File: /workspace/github_cpp_makefile_star2_O2/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
movl %ecx, 0x4(%rsp)
cmpb $0x0, 0x3dc(%rsi)
je 0x1c554
movq %rdx, %r13
movq %rsi, %r12
movq %rdi, %r14
leaq 0x40(%rsp), %rbx
movq %rbx, %rdi
callq 0x5610
leaq 0x12ab8(%rip), %rsi     # 0x2ee37
leaq 0x8(%rsp), %rdi
leaq 0x3(%rsp), %rdx
callq 0x5160
leaq 0x48(%rsp), %r15
leaq 0x8(%rsp), %rsi
movq %r15, %rdi
callq 0x5690
leaq 0x8(%rsp), %rdi
callq 0x5908
movq 0x40(%rsp), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
xorl %esi, %esi
callq 0x5790
movq 0x480(%r12), %rsi
movq 0x488(%r12), %rax
cmpq %rax, %rsi
je 0x1c3e5
cmpq $0x0, 0x28(%r13)
setne %cl
orb 0x4(%rsp), %cl
jne 0x1c3f0
jmp 0x1c4fd
cmpb $0x0, 0x4(%rsp)
je 0x1c4fd
movq %r14, 0x28(%rsp)
leaq 0x18(%rsp), %rcx
movq %rcx, -0x10(%rcx)
andq $0x0, -0x8(%rcx)
movb $0x0, (%rcx)
movq %r13, 0x38(%rsp)
leaq 0x8(%r13), %rcx
movq %rcx, 0x30(%rsp)
xorl %ebp, %ebp
movb $0x1, %r15b
leaq 0x8(%rsp), %r13
leaq 0x40(%rsp), %rbx
movl %ebp, %ebp
subq %rsi, %rax
sarq $0x6, %rax
cmpq %rbp, %rax
jbe 0x1c4e3
movq %rbp, %r14
shlq $0x6, %r14
addq %r14, %rsi
movq %r13, %rdi
callq 0x5210
cmpb $0x0, 0x4(%rsp)
jne 0x1c462
movq 0x38(%rsp), %rdi
movq %r13, %rsi
callq 0x16988
cmpq 0x30(%rsp), %rax
je 0x1c4cc
testb $0x1, %r15b
jne 0x1c477
movq %rbx, %rdi
leaq 0x1208f(%rip), %rsi     # 0x2e501
callq 0x5480
movq %rbx, %rdi
movq %r13, %rsi
callq 0x5400
movq 0x480(%r12), %rax
leaq (%rax,%r14), %rdi
addq $0x20, %rdi
leaq 0x1299e(%rip), %rsi     # 0x2ee37
callq 0x12f17
testb %al, %al
je 0x1c4c9
movq %rbx, %rdi
leaq 0x136d9(%rip), %rsi     # 0x2fb85
callq 0x5480
movq 0x480(%r12), %rcx
leaq (%rcx,%r14), %rsi
addq $0x20, %rsi
movq %rax, %rdi
callq 0x5400
xorl %r15d, %r15d
incl %ebp
movq 0x480(%r12), %rsi
movq 0x488(%r12), %rax
jmp 0x1c423
leaq 0x8(%rsp), %rdi
callq 0x5908
testb $0x1, %r15b
movq 0x28(%rsp), %r14
leaq 0x48(%rsp), %r15
je 0x1c52a
leaq 0x11c29(%rip), %rsi     # 0x2e12d
leaq 0x8(%rsp), %rdi
leaq 0x3(%rsp), %rdx
callq 0x5160
leaq 0x8(%rsp), %rsi
movq %r15, %rdi
callq 0x5690
leaq 0x8(%rsp), %rdi
callq 0x5908
movq %r14, %rdi
movq %r15, %rsi
callq 0x56f0
leaq 0x40(%rsp), %rdi
callq 0x58f0
movq %r14, %rax
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x11fde(%rip), %rdi     # 0x2e539
leaq 0x11e14(%rip), %rsi     # 0x2e376
leaq 0x11fe4(%rip), %rcx     # 0x2e54d
movl $0xb8, %edx
callq 0x52a0
jmp 0x1c584
jmp 0x1c57d
jmp 0x1c57d
jmp 0x1c57d
jmp 0x1c584
movq %rax, %rbx
jmp 0x1c591
jmp 0x1c584
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x5908
leaq 0x40(%rsp), %rdi
callq 0x58f0
movq %rbx, %rdi
callq 0x5800
nop