// File: /workspace/github_cpp_makefile_star2_O3/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
testb $0x2, 0x20(%rcx,%rdi)
jne 0x118ff
movq %rsi, %rbx
movq %rcx, 0x8(%rsp)
addq %rcx, %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 0x757e
leaq 0x50(%rsp), %rdi
movl $0x23, %esi
callq 0x1075a
movl %eax, %ebp
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x11785
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x53e0
testb %bpl, %bpl
jne 0x118e3
movq %r14, 0x90(%rsp)
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
addq %rsi, %rdx
leaq 0x90(%rsp), %rdi
callq 0x757e
leaq 0x80(%rsp), %rax
movq %rax, 0x70(%rsp)
leaq 0x70(%rsp), %rbp
movq %rbp, %rdi
leaq 0x1640e(%rip), %rsi     # 0x27bda
leaq 0x16408(%rip), %rdx     # 0x27bdb
callq 0x74e8
leaq 0xb0(%rsp), %rdi
leaq 0x90(%rsp), %rsi
movq %rbp, %rdx
callq 0x10580
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x11812
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x53e0
movq 0x90(%rsp), %rdi
cmpq %r14, %rdi
je 0x1182f
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 0x11af8
movq %r13, %rdi
callq 0x107a2
movq 0xb0(%rsp), %rbp
movq 0xb8(%rsp), %r14
cmpq %r14, %rbp
je 0x118b0
movq %r15, 0x30(%rsp)
movq (%rbp), %rsi
movq 0x8(%rbp), %rdx
addq %rsi, %rdx
movq %r13, %rdi
callq 0x757e
leaq (%r12,%r12,2), %rdi
shlq $0x3, %rdi
addq (%rbx), %rdi
movq %r13, %rsi
callq 0x10764
movq 0x30(%rsp), %rdi
cmpq %r15, %rdi
je 0x118aa
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x53e0
addq $0x20, %rbp
jmp 0x11863
incq %r12
leaq 0xb0(%rsp), %rdi
callq 0x107a2
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 0x1171b
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x118ff
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 0x11984
movq %rax, %rbx
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x1193d
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x53e0
jmp 0x1193d
movq %rax, %rbx
movq 0x90(%rsp), %rdi
cmpq %r14, %rdi
je 0x119b5
movq 0xa0(%rsp), %rsi
jmp 0x1197a
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x107a2
jmp 0x119a8
movq %rax, %rbx
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x119b5
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x53e0
jmp 0x119b5
movq %rax, %rbx
jmp 0x119b5
movq %rax, %rbx
jmp 0x119a8
movq %rax, %rbx
movq 0x30(%rsp), %rdi
cmpq %r15, %rdi
je 0x119a8
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x53e0
leaq 0xb0(%rsp), %rdi
callq 0x107a2
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x119d1
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x53e0
movq %rbx, %rdi
callq 0x56a0