// File: /workspace/github_cpp_makefile_star2_O1/WShabti-Team[P]WShabtiPict/wshabtilib/input-parser/input-parser.cpp
// Function: constraint_parser(std::basic_ifstream<char, std::char_traits<char>>&, std::vector<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>>>>, std::allocator<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>>>>>>&)
void constraint_parser(ifstream &input_file_stream, vector<vector<string>> &constraint_matrix)
{
	string file_row;
	int num_of_params = 0;

	while(!input_file_stream.eof())
	{	
		getline(input_file_stream, file_row);
		if(start_string_delim_find(file_row,'#'))
		{
			break;
		}

		vector<string> values_vector = split(file_row, ",");
	    constraint_matrix.push_back(vector<string>());

		for (auto value : values_vector)
		{
			constraint_matrix[num_of_params].push_back(value);
		}

		num_of_params++;
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %rdi, %rcx
leaq 0x20(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
movq (%rdi), %rax
movq -0x18(%rax), %rdi
movq %rcx, 0x8(%rsp)
testb $0x2, 0x20(%rcx,%rdi)
jne 0x11b0e
movq %rsi, %rbx
addq 0x8(%rsp), %rdi
leaq 0xa0(%rsp), %r14
leaq 0x40(%rsp), %r15
xorl %r12d, %r12d
leaq 0x30(%rsp), %r13
movl $0xa, %esi
callq 0x53b0
movsbl %al, %edx
movq 0x8(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x56f0
leaq 0x60(%rsp), %rax
movq %rax, 0x50(%rsp)
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
addq %rsi, %rdx
leaq 0x50(%rsp), %rdi
callq 0x7622
leaq 0x50(%rsp), %rdi
movl $0x23, %esi
callq 0x1093a
movl %eax, %ebp
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x119b0
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x53e0
testb %bpl, %bpl
jne 0x11b0e
movq %r14, 0x90(%rsp)
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
addq %rsi, %rdx
leaq 0x90(%rsp), %rdi
callq 0x7622
leaq 0x80(%rsp), %rax
movq %rax, 0x70(%rsp)
leaq 0x70(%rsp), %rbp
movq %rbp, %rdi
leaq 0x161e3(%rip), %rsi     # 0x27bda
leaq 0x161dd(%rip), %rdx     # 0x27bdb
callq 0x7592
leaq 0xb0(%rsp), %rdi
leaq 0x90(%rsp), %rsi
movq %rbp, %rdx
callq 0x10760
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x11a3d
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x53e0
movq 0x90(%rsp), %rdi
cmpq %r14, %rdi
je 0x11a5a
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x53e0
xorps %xmm0, %xmm0
movaps %xmm0, 0x30(%rsp)
movq $0x0, 0x40(%rsp)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x11d22
movq %r13, %rdi
callq 0x10982
movq 0xb0(%rsp), %rbp
movq 0xb8(%rsp), %r14
cmpq %r14, %rbp
je 0x11adb
movq %r15, 0x30(%rsp)
movq (%rbp), %rsi
movq 0x8(%rbp), %rdx
addq %rsi, %rdx
movq %r13, %rdi
callq 0x7622
leaq (%r12,%r12,2), %rdi
shlq $0x3, %rdi
addq (%rbx), %rdi
movq %r13, %rsi
callq 0x10944
movq 0x30(%rsp), %rdi
cmpq %r15, %rdi
je 0x11ad5
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x53e0
addq $0x20, %rbp
jmp 0x11a8e
incq %r12
leaq 0xb0(%rsp), %rdi
callq 0x10982
movq 0x8(%rsp), %rcx
movq (%rcx), %rax
movq -0x18(%rax), %rax
leaq (%rcx,%rax), %rdi
testb $0x2, 0x20(%rcx,%rax)
leaq 0xa0(%rsp), %r14
je 0x11946
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x11b2a
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x53e0
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x11baf
movq %rax, %rbx
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x11b68
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x53e0
jmp 0x11b68
movq %rax, %rbx
movq 0x90(%rsp), %rdi
cmpq %r14, %rdi
je 0x11be0
movq 0xa0(%rsp), %rsi
jmp 0x11ba5
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x10982
jmp 0x11bd3
movq %rax, %rbx
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x11be0
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x53e0
jmp 0x11be0
movq %rax, %rbx
jmp 0x11be0
movq %rax, %rbx
jmp 0x11bd3
movq %rax, %rbx
movq 0x30(%rsp), %rdi
cmpq %r15, %rdi
je 0x11bd3
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x53e0
leaq 0xb0(%rsp), %rdi
callq 0x10982
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x11bfc
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x53e0
movq %rbx, %rdi
callq 0x56a0