// File: /workspace/github_cpp_makefile_star2_O3/mlugo2[P]SunshineGPU/inc/main.h
// Function: vertex_shader_interface(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::vector<unsigned long long, std::allocator<unsigned long long>>*)
void vertex_shader_interface(std::string fileName, 
	std::vector<unsigned long long int > *vertexShader )
{
	// Opening file
	std::ifstream myFile;
	myFile.open(fileName.data());

	// Read file into vector for easier processing
	std::vector<std::string> data;
	std::string line;
	while( myFile.good() )
	{
		getline(myFile, line);
		line[line.length()] = '\0';
		data.push_back(line);
	}

	myFile.close();

	for ( auto i : data )
	{
		vertexShader->push_back(stoull(i,0,0));
	}

}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x288, %rsp            # imm = 0x288
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x80(%rsp), %r15
movq %r15, %rdi
callq 0x2290
movq (%r14), %rsi
movq %r15, %rdi
movl $0x8, %edx
callq 0x2180
xorps %xmm0, %xmm0
leaq 0x60(%rsp), %r14
movaps %xmm0, (%r14)
xorl %eax, %eax
movq %rax, 0x10(%r14)
leaq 0x18(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb $0x0, (%rcx)
leaq 0x80(%rsp), %r15
leaq 0x8(%rsp), %r12
movq 0x80(%rsp), %rax
movq -0x18(%rax), %rax
cmpl $0x0, 0xa0(%rsp,%rax)
jne 0x30b2
leaq (%rsp,%rax), %rdi
addq $0x80, %rdi
movl $0xa, %esi
callq 0x2250
movsbl %al, %edx
movq %r15, %rdi
movq %r12, %rsi
callq 0x23b0
movq 0x8(%rsp), %rax
movq 0x10(%rsp), %rcx
movb $0x0, (%rax,%rcx)
movq %r14, %rdi
movq %r12, %rsi
callq 0x3ca0
jmp 0x305e
leaq 0x80(%rsp), %rdi
callq 0x20b0
movq 0x60(%rsp), %r14
movq 0x68(%rsp), %rax
movq %rax, 0x28(%rsp)
cmpq %rax, %r14
je 0x3193
leaq 0x48(%rsp), %rbp
movq %rbp, %r15
movq %rbp, 0x38(%rsp)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq 0x38(%rsp), %rdi
callq 0x411a
movq 0x38(%rsp), %rbp
callq 0x2060
movq %rax, %r13
movl (%rax), %r12d
movl $0x0, (%rax)
movq %rbp, %rdi
leaq 0x58(%rsp), %rsi
xorl %edx, %edx
callq 0x22c0
cmpq %rbp, 0x58(%rsp)
je 0x31d8
movl (%r13), %ecx
testl %ecx, %ecx
je 0x313d
cmpl $0x22, %ecx
movq %r15, %rbp
jne 0x3144
jmp 0x31e4
movl %r12d, (%r13)
movq %r15, %rbp
movq %rax, 0x30(%rsp)
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x3160
movq %rax, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x8(%rbx)
jmp 0x316d
movq %rbx, %rdi
leaq 0x30(%rsp), %rdx
callq 0x4d5a
movq 0x38(%rsp), %rdi
cmpq %rbp, %rdi
je 0x3184
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x2270
addq $0x20, %r14
cmpq 0x28(%rsp), %r14
jne 0x30dc
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x31af
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2270
leaq 0x60(%rsp), %rdi
callq 0x3d74
leaq 0x80(%rsp), %rdi
callq 0x20c0
addq $0x288, %rsp            # imm = 0x288
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x5f94(%rip), %rdi      # 0x9173
callq 0x2170
leaq 0x5f88(%rip), %rdi      # 0x9173
callq 0x2300
jmp 0x3225
movq %rax, %rbx
jmp 0x324e
movq %rax, %rbx
jmp 0x320c
jmp 0x3225
movq %rax, %rbx
cmpl $0x0, (%r13)
jne 0x320c
movl %r12d, (%r13)
movq 0x38(%rsp), %rdi
cmpq %r15, %rdi
je 0x3228
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x2270
jmp 0x3228
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x3244
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2270
leaq 0x60(%rsp), %rdi
callq 0x3d74
leaq 0x80(%rsp), %rdi
callq 0x20c0
movq %rbx, %rdi
callq 0x2390