// File: /workspace/github_cpp_makefile_star2_O3/auton1[P]viterbi/entry.cpp
// Function: entry::make_typed_float_vector(std::vector<char, std::allocator<char>>&, std::vector<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&, int)
void entry::make_typed_float_vector(vector<char> &out, const vector<string> &in, int number )
{
	vector<string> split_string;
	int8_t size_type;
	unsigned int max_val = 0;
	out.resize(0);

	if (number == -1)
	{
		unsigned int tmp_int = 0;
		for (unsigned int ui=0; ui<in.size(); ui++)
		{
			tmp_int = count(in[ui].begin(), in[ui].end(), ',');
			if (tmp_int > max_val)
				max_val = tmp_int;
		}
		max_val++;
	}
	else
		max_val = number;

	if ( max_val < 15 )
	{
		size_type = (int8_t)max_val;
		size_type = size_type << 4;
		size_type = size_type | (int8_t)5;
		out.push_back( size_type );
	}
	else
	{
		size_type = (int8_t)15;
		size_type = size_type << 4;
		size_type = size_type | (int8_t)5;
		out.push_back( size_type );

		vector<char> size_vector;
		make_typed_int(size_vector, max_val, true );
		out.insert(out.end(), size_vector.begin(), size_vector.end());
	}

	float value;
	unsigned char missing[4] = {0x01, 0x00, 0x80, 0x7F};
	unsigned char end[4] = {0x02, 0x00, 0x80, 0x7F};
	for (unsigned int ui=0; ui<in.size(); ui++)
	{
		header::tokenize(in[ui], ',', split_string);
		for(unsigned int uj=0; uj<max_val; uj++)
		{
			if (uj < split_string.size() )
				value = (float)header::str2double(split_string[uj], 0x7F800001);
			else
				value = (float)0x7F800002;

			char *p = (char *)&value;

			for(unsigned int uk=0; uk<sizeof(value); uk++)
			{
				if (value == float(0x7F800001))
					out.push_back( missing[uk] );
				else if (value == float(0x7F800002))
					out.push_back( end[uk] );
				else
					out.push_back( p[uk] );
			}
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movl %ecx, %ebx
movq %rdx, 0x30(%rsp)
movq %rsi, %r14
movq %rdi, %r15
xorps %xmm0, %xmm0
movaps %xmm0, 0x40(%rsp)
movq $0x0, 0x50(%rsp)
movq %rsi, %rdi
xorl %esi, %esi
callq 0xf332
cmpl $-0x1, %ebx
jne 0x20e23
movq 0x30(%rsp), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rcx
subq %rax, %rcx
je 0x20e9b
sarq $0x5, %rcx
xorl %edx, %edx
xorl %ebx, %ebx
movq %rdx, %r8
shlq $0x5, %r8
movq 0x8(%rax,%r8), %rsi
movl $0x0, %edi
testq %rsi, %rsi
je 0x20e12
movq (%rax,%r8), %r8
xorl %r9d, %r9d
xorl %edi, %edi
xorl %r10d, %r10d
cmpb $0x2c, (%r8,%r9)
sete %r10b
addl %r10d, %edi
incq %r9
cmpq %r9, %rsi
jne 0x20dfb
cmpl %edi, %ebx
cmovbel %edi, %ebx
incq %rdx
movl %edx, %esi
cmpq %rsi, %rcx
ja 0x20ddc
incl %ebx
cmpl $0xe, %ebx
jbe 0x20ea0
movb $-0xb, 0x10(%rsp)
movq 0x8(%r14), %rsi
cmpq 0x10(%r14), %rsi
je 0x20e40
movb $-0xb, (%rsi)
incq 0x8(%r14)
jmp 0x20e4d
leaq 0x10(%rsp), %rdx
movq %r14, %rdi
callq 0x21896
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %rsi
movaps %xmm0, (%rsi)
movq $0x0, 0x10(%rsi)
leaq 0xc(%rsp), %rdx
movl %ebx, (%rdx)
movq %r15, %rdi
movl $0x1, %ecx
callq 0x1fbd8
movq 0x8(%r14), %rsi
movq 0x10(%rsp), %rdx
movq 0x18(%rsp), %rcx
movq %r14, %rdi
callq 0x1bd8c
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x20eca
callq 0x5410
jmp 0x20eca
movl $0x1, %ebx
movl %ebx, %eax
shlb $0x4, %al
orb $0x5, %al
movb %al, 0x10(%rsp)
movq 0x8(%r14), %rsi
cmpq 0x10(%r14), %rsi
je 0x20ebd
movb %al, (%rsi)
incq 0x8(%r14)
jmp 0x20eca
leaq 0x10(%rsp), %rdx
movq %r14, %rdi
callq 0x21896
movq 0x30(%rsp), %rcx
movq (%rcx), %rax
cmpq %rax, 0x8(%rcx)
je 0x20fee
movl %ebx, %r13d
xorl %edi, %edi
leaq 0x183bc(%rip), %r15     # 0x392a4
leaq 0xc(%rsp), %r12
xorl %edx, %edx
movl %ebx, 0x3c(%rsp)
movq %rdx, 0x60(%rsp)
shlq $0x5, %rdi
addq %rax, %rdi
movl $0x2c, %esi
leaq 0x40(%rsp), %rdx
callq 0x16a0a
testl %ebx, %ebx
je 0x20fc4
xorl %ebp, %ebp
movq 0x40(%rsp), %rdi
movq 0x48(%rsp), %rax
subq %rdi, %rax
sarq $0x5, %rax
movss 0x1836f(%rip), %xmm0    # 0x392a0
cmpq %rbp, %rax
jbe 0x20f51
movq %rbp, %rax
shlq $0x5, %rax
addq %rax, %rdi
movsd 0x18338(%rip), %xmm0    # 0x39280
callq 0x1733c
cvtsd2ss %xmm0, %xmm0
movss %xmm0, 0x10(%rsp)
xorl %ebx, %ebx
ucomiss 0x18340(%rip), %xmm0    # 0x392a0
jne 0x20f83
jp 0x20f83
movb (%rbx,%r15), %al
movb %al, 0xc(%rsp)
movq 0x8(%r14), %rsi
cmpq 0x10(%r14), %rsi
jne 0x20f97
movq %r14, %rdi
movq %r12, %rdx
callq 0x21896
jmp 0x20f9d
leaq (%rsp,%rbx), %rdx
addq $0x10, %rdx
movq 0x8(%r14), %rsi
cmpq 0x10(%r14), %rsi
je 0x20fae
movb (%rdx), %al
movb %al, (%rsi)
incq 0x8(%r14)
cmpq $0x3, %rbx
je 0x20fb8
movss 0x10(%rsp), %xmm0
incq %rbx
jmp 0x20f59
movq %r14, %rdi
callq 0x219d2
jmp 0x20f9d
incq %rbp
cmpq %r13, %rbp
jne 0x20f18
movq 0x60(%rsp), %rdx
incl %edx
movq 0x30(%rsp), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
movq %rdx, %rdi
cmpq %rdx, %rcx
movl 0x3c(%rsp), %ebx
ja 0x20ef3
leaq 0x40(%rsp), %rdi
callq 0xc4da
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x21029
jmp 0x21029
jmp 0x2100d
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x2102c
callq 0x5410
jmp 0x2102c
jmp 0x21029
jmp 0x21029
jmp 0x21029
jmp 0x21029
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0xc4da
movq %rbx, %rdi
callq 0x57d0