// File: /workspace/github_cpp_makefile_star2_O1/auton1[P]viterbi/bcf_entry_setters.cpp
// Function: bcf_entry::set_INFO()
void bcf_entry::set_INFO()
{
	int key;
	unsigned int size, type, i = INFO_pos;
	string data_type;
	INFO.resize(N_info);
	bool miss = true;

	for (unsigned int ui=0; ui<N_info; ui++)
	{
		key = get_typed_int(&i, line, type, size);
		get_type(&i, line, type, size);

		pair<string, string> INFO_entry(entry_header.INFO_map[key].ID, ".");
		data_type = entry_header.INFO_map[key].Type_str;
		ostringstream ss(ostringstream::out);

		for (unsigned int uj=0; uj<size; uj++)
		{
			if (uj !=0 && type != 7)
				ss << ",";

			if ( check_missing(i, type, line) )
				ss << ".";

			else if(type==1)
			{
				int8_t tmp;
				memcpy(&tmp, &line[i], sizeof(tmp));
				i += sizeof(tmp);
				ss << (int)tmp;
				miss = false;
			}
			else if(type==2)
			{
				int16_t tmp;
				memcpy(&tmp, &line[i], sizeof(tmp));
				i += sizeof(tmp);
				ss << (int)tmp;
				miss = false;
			}
			else if(type==3)
			{
				int32_t tmp;
				memcpy(&tmp, &line[i], sizeof(tmp));
				i += sizeof(tmp);
				ss << (int)tmp;
				miss = false;
			}
			else if(type==5)
			{
				float tmp;
				memcpy(&tmp, &line[i], sizeof(tmp));
				i += sizeof(tmp);
				ss << tmp;
				miss = false;
			}
			else if(type==7)
			{
				char tmp;
				memcpy(&tmp, &line[i], sizeof(tmp));
				i += sizeof(tmp);
				ss << tmp;
				miss = false;
			}
			else
			{
				LOG.printLOG("Error: Unknown type: " + header::int2str(type) + "\n");
				parsed_INFO = false;
				return;
			}
		}

		string value = ss.str();
		if (miss)
			INFO_entry.second = ".";
		else if (data_type == "Flag")
			INFO_entry.second = "1";
		else if (value != "")
			INFO_entry.second = ss.str();
		else
			INFO_entry.second = ".";
		INFO[ui] = INFO_entry;
	}
	parsed_INFO = true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x268, %rsp            # imm = 0x268
movq %rdi, %rbx
movl 0x6e8(%rdi), %eax
movl %eax, 0x4(%rsp)
leaq 0xc0(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
addq $0x480, %rdi            # imm = 0x480
movl 0x6b8(%rbx), %esi
movq %rdi, 0x68(%rsp)
callq 0x25e1e
cmpl $0x0, 0x6b8(%rbx)
je 0x2753f
leaq 0x3c0(%rbx), %r15
leaq 0x70(%rbx), %r12
movb $0x1, %al
movl %eax, 0x8(%rsp)
movq $0x0, 0x18(%rsp)
leaq 0x4(%rsp), %r13
leaq 0xc(%rsp), %r14
leaq 0x10(%rsp), %rbp
movq %r12, 0x60(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
movq %r15, %rdx
movq %r14, %rcx
movq %rbp, %r8
callq 0x21600
movl %eax, 0x14(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
movq %r15, %rdx
movq %r14, %rcx
movq %rbp, %r8
callq 0x21532
movq %r12, %rdi
leaq 0x14(%rsp), %rsi
callq 0x177f8
addq $0x20, %rax
leaq 0x70(%rsp), %rdi
movq %rax, %rsi
leaq 0x12fda(%rip), %rdx     # 0x3a20d
callq 0x25e4e
movq %r12, %rdi
leaq 0x14(%rsp), %rsi
callq 0x177f8
addq $0x68, %rax
leaq 0xb0(%rsp), %rdi
movq %rax, %rsi
callq 0x51f0
leaq 0xf0(%rsp), %rdi
movl $0x10, %esi
callq 0x53b0
cmpl $0x0, 0x10(%rsp)
setne %r13b
je 0x273c5
xorl %r12d, %r12d
testl %r12d, %r12d
je 0x272a2
cmpl $0x7, 0xc(%rsp)
je 0x272a2
movl $0x1, %edx
leaq 0xf0(%rsp), %rdi
leaq 0x12a0d(%rip), %rsi     # 0x39caa
callq 0x54f0
movl 0x4(%rsp), %esi
movl 0xc(%rsp), %edx
movq %rbx, %rdi
movq %r15, %rcx
callq 0x218ae
testb %al, %al
je 0x272d7
movl $0x1, %edx
leaq 0xf0(%rsp), %rdi
leaq 0x12f40(%rip), %rsi     # 0x3a20d
callq 0x54f0
jmp 0x273b3
movl 0xc(%rsp), %esi
leal -0x1(%rsi), %eax
cmpl $0x6, %eax
ja 0x2754b
leaq 0x13976(%rip), %rcx     # 0x3ac64
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl 0x4(%rsp), %eax
movq (%r15), %rcx
movsbl (%rcx,%rax), %esi
incl %eax
movl %eax, 0x4(%rsp)
leaq 0xf0(%rsp), %rdi
callq 0x57a0
jmp 0x273ab
movl 0x4(%rsp), %eax
movq (%r15), %rcx
movswl (%rcx,%rax), %esi
addl $0x2, %eax
movl %eax, 0x4(%rsp)
leaq 0xf0(%rsp), %rdi
callq 0x57a0
jmp 0x273ab
movl 0x4(%rsp), %eax
movq (%r15), %rcx
leal 0x4(%rax), %edx
xorps %xmm0, %xmm0
cvtss2sd (%rcx,%rax), %xmm0
movl %edx, 0x4(%rsp)
leaq 0xf0(%rsp), %rdi
callq 0x56e0
jmp 0x273ab
movl 0x4(%rsp), %eax
movq (%r15), %rcx
movl (%rcx,%rax), %esi
addl $0x4, %eax
movl %eax, 0x4(%rsp)
leaq 0xf0(%rsp), %rdi
callq 0x57a0
jmp 0x273ab
movl 0x4(%rsp), %eax
movq (%r15), %rcx
movb (%rcx,%rax), %cl
incl %eax
movl %eax, 0x4(%rsp)
movb %cl, 0x20(%rsp)
movl $0x1, %edx
leaq 0xf0(%rsp), %rdi
leaq 0x20(%rsp), %rsi
callq 0x54f0
movl $0x0, 0x8(%rsp)
incl %r12d
cmpl 0x10(%rsp), %r12d
setb %r13b
jb 0x2727d
leaq 0x20(%rsp), %rdi
leaq 0xf8(%rsp), %rsi
callq 0x56c0
leaq 0x12e2f(%rip), %rcx     # 0x3a20d
testb $0x1, 0x8(%rsp)
jne 0x2745b
leaq 0xb0(%rsp), %rdi
leaq 0x1284a(%rip), %rsi     # 0x39c3e
callq 0x50e0
leaq 0x125a9(%rip), %rcx     # 0x399a9
testl %eax, %eax
je 0x2745b
leaq 0x20(%rsp), %rdi
leaq 0x13aef(%rip), %rsi     # 0x3aeff
callq 0x50e0
leaq 0x12df1(%rip), %rcx     # 0x3a20d
testl %eax, %eax
je 0x2745b
leaq 0x40(%rsp), %r12
movq %r12, %rdi
leaq 0xf8(%rsp), %rsi
callq 0x56c0
leaq 0x90(%rsp), %rdi
movq %r12, %rsi
callq 0x5550
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x27478
callq 0x5410
jmp 0x27478
movq 0x98(%rsp), %rdx
movl $0x1, %r8d
leaq 0x90(%rsp), %rdi
xorl %esi, %esi
callq 0x5690
movq 0x18(%rsp), %r12
shlq $0x6, %r12
movq 0x68(%rsp), %rax
addq (%rax), %r12
movq %r12, %rdi
leaq 0x70(%rsp), %rsi
callq 0x51f0
addq $0x20, %r12
movq %r12, %rdi
leaq 0x90(%rsp), %rsi
callq 0x51f0
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x274be
callq 0x5410
leaq 0xf0(%rsp), %rdi
movq 0x22af3(%rip), %rsi     # 0x49fc0
callq 0x51e0
leaq 0x160(%rsp), %rdi
callq 0x5100
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x274f9
callq 0x5410
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x27510
callq 0x5410
testb %r13b, %r13b
jne 0x276bc
movq 0x18(%rsp), %rdx
incq %rdx
movl 0x6b8(%rbx), %eax
movq %rdx, 0x18(%rsp)
cmpq %rax, %rdx
movq 0x60(%rsp), %r12
leaq 0x4(%rsp), %r13
jb 0x271e7
movb $0x1, 0x3dc(%rbx)
jmp 0x276bc
leaq 0x40(%rsp), %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x17284
leaq 0x13763(%rip), %rcx     # 0x3acc4
leaq 0x40(%rsp), %rdi
movl $0x15, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x54d0
leaq 0x30(%rsp), %r15
movq %r15, 0x20(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x2759d
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
jmp 0x275a4
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0x20(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x11b8f(%rip), %rsi     # 0x39156
callq 0x5870
leaq 0xe0(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x275fc
movq %rdx, 0xd0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xe0(%rsp)
jmp 0x27603
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
leaq 0xd0(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x22e7f(%rip), %rdi     # 0x4a4a8
callq 0x371c8
movq 0xd0(%rsp), %rdi
cmpq %r14, %rdi
je 0x27640
callq 0x5410
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x2764f
callq 0x5410
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x27663
callq 0x5410
movb $0x0, 0x3dc(%rbx)
movq 0x2294f(%rip), %rsi     # 0x49fc0
leaq 0xf0(%rsp), %rdi
callq 0x51e0
leaq 0x160(%rsp), %rdi
callq 0x5100
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x276a5
callq 0x5410
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x276bc
callq 0x5410
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0x276d6
callq 0x5410
addq $0x268, %rsp            # imm = 0x268
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0xd0(%rsp), %rdi
cmpq %r14, %rdi
je 0x27702
callq 0x5410
jmp 0x27702
movq %rax, %rbx
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x2771b
callq 0x5410
jmp 0x2771b
movq %rax, %rbx
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
jmp 0x27754
jmp 0x27760
jmp 0x27747
jmp 0x27742
jmp 0x27760
jmp 0x2773d
jmp 0x27760
jmp 0x27760
jmp 0x27760
jmp 0x27760
jmp 0x27760
jmp 0x27742
movq %rax, %rbx
jmp 0x27784
movq %rax, %rbx
jmp 0x2778e
movq %rax, %rbx
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x27763
callq 0x5410
jmp 0x27763
movq %rax, %rbx
movq 0x22856(%rip), %rsi     # 0x49fc0
leaq 0xf0(%rsp), %rdi
callq 0x51e0
leaq 0x160(%rsp), %rdi
callq 0x5100
leaq 0x70(%rsp), %rdi
callq 0x25c98
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0x277a8
callq 0x5410
movq %rbx, %rdi
callq 0x57d0