// File: /workspace/github_cpp_makefile_star2_O1/auton1[P]viterbi/entry.cpp
// Function: entry::get_typed_string[abi:cxx11](unsigned int*, std::vector<char, std::allocator<char>> const&)
string entry::get_typed_string(unsigned int * line_position, const vector<char>& line)
{
	unsigned int size, type;
	string out;

	get_type( line_position, line, type, size );
	if (type != 7)
	{
		LOG.printLOG("Error: Expected type 7 for string. Found type " + header::int2str(type) + ".\n");
	}

	char * tmp = new char[size];
	memcpy(tmp, &line[*line_position], size*sizeof(char));
	*line_position += size;
	out = string( tmp, size );

	if (out == "" or out == " ")
		out = ".";

	return out;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rcx, %r15
movq %rdx, %r14
movq %rdi, %rbx
leaq 0x10(%rdi), %rbp
movq %rbp, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
leaq 0x8(%rsp), %rcx
leaq 0xc(%rsp), %r8
movq %rdx, %rsi
movq %r15, %rdx
movq %rbp, 0x30(%rsp)
callq 0x21532
movl 0x8(%rsp), %esi
cmpl $0x7, %esi
je 0x2141b
leaq 0x58(%rsp), %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x17284
leaq 0x19062(%rip), %rcx     # 0x3a389
leaq 0x58(%rsp), %rdi
movl $0x2e, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x54d0
leaq 0x20(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x21363
movq %rdx, 0x10(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x20(%rsp)
jmp 0x2136b
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
leaq 0x10(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x18d73(%rip), %rsi     # 0x3a101
callq 0x5870
leaq 0x48(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x213ba
movq %rdx, 0x38(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x48(%rsp)
jmp 0x213c2
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
leaq 0x38(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x290c3(%rip), %rdi     # 0x4a4a8
callq 0x371c8
movq 0x38(%rsp), %rdi
cmpq %r13, %rdi
je 0x213f9
callq 0x5410
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x21408
callq 0x5410
leaq 0x68(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2141b
callq 0x5410
movl 0xc(%rsp), %r12d
movq %r12, %rdi
callq 0x5030
movq %rax, %r13
movl (%r14), %ebp
movq %rbp, %rsi
addq (%r15), %rsi
movq %rax, %rdi
movq %r12, %rdx
callq 0x5380
leal (%r12,%rbp), %eax
movl %eax, (%r14)
leaq 0x20(%rsp), %r15
movq %r15, -0x10(%r15)
movq %r13, %rdx
addq %r12, %rdx
leaq 0x10(%rsp), %rdi
movq %r13, %rsi
callq 0xc868
leaq 0x10(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x5550
movq (%r14), %rdi
cmpq %r15, %rdi
je 0x2147f
callq 0x5410
leaq 0x19a79(%rip), %rsi     # 0x3aeff
movq %rbx, %rdi
callq 0x50e0
testl %eax, %eax
je 0x214a5
leaq 0x17c76(%rip), %rsi     # 0x3910f
movq %rbx, %rdi
callq 0x50e0
testl %eax, %eax
jne 0x214c0
movq 0x8(%rbx), %rdx
leaq 0x18d5d(%rip), %rcx     # 0x3a20d
movl $0x1, %r8d
movq %rbx, %rdi
xorl %esi, %esi
callq 0x5690
movq %rbx, %rax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq 0x38(%rsp), %rdi
cmpq %r13, %rdi
je 0x214e9
callq 0x5410
jmp 0x214e9
movq %rax, %r14
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x214fd
callq 0x5410
jmp 0x214fd
movq %rax, %r14
leaq 0x68(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2151b
callq 0x5410
jmp 0x2151b
jmp 0x21518
jmp 0x21518
jmp 0x21518
movq %rax, %r14
movq (%rbx), %rdi
cmpq 0x30(%rsp), %rdi
je 0x2152a
callq 0x5410
movq %r14, %rdi
callq 0x57d0