// File: Laakeri[P]Triangulator/src/setcover.cpp
// Function: SetCover::LPSolver::LPSolver(std::vector<std::vector<long double, std::allocator<long double>>, std::allocator<std::vector<long double, std::allocator<long double>>>>&, std::vector<long double, std::allocator<long double>>&, std::vector<long double, std::allocator<long double>>&)
LPSolver(vector<vector<ld> >& A, vector<ld>& b, vector<ld>& c) :
	m(b.size()), n(c.size()), N(n + 1), B(m), D(m + 2, vector<ld>(n + 2)) {
		for (int i = 0; i < m; i++) {
			for (int j = 0; j < n; j++) D[i][j] = A[i][j];}
		for (int i = 0; i < m; i++) { 
			B[i] = n + i; D[i][n] = -1; D[i][n + 1] = b[i];}
		for (int j = 0; j < n; j++) { N[j] = j; D[m][j] = -c[j]; }
		N[n] = -1; D[m + 1][n] = 1;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x100, %rsp            # imm = 0x100
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x88(%rbp)
fldl 0xaee4(%rip)            # 0x597a0
fstpt (%rax)
fldl 0xc86c(%rip)            # 0x5b130
fstpt 0x10(%rax)
movq -0x18(%rbp), %rdi
callq 0x4faa0
movq %rax, %rcx
movq -0x88(%rbp), %rax
movl %ecx, 0x20(%rax)
movq -0x20(%rbp), %rdi
callq 0x4faa0
movq %rax, %rcx
movq -0x88(%rbp), %rax
movl %ecx, 0x24(%rax)
movq %rax, %rcx
addq $0x28, %rcx
movq %rcx, -0x80(%rbp)
movl 0x24(%rax), %eax
incl %eax
cltq
movq %rax, -0x78(%rbp)
leaq -0x21(%rbp), %rdi
movq %rdi, -0x70(%rbp)
callq 0x111b0
movq -0x80(%rbp), %rdi
movq -0x78(%rbp), %rsi
movq -0x70(%rbp), %rdx
callq 0x17ab0
jmp 0x4e929
leaq -0x21(%rbp), %rdi
callq 0x6620
movq -0x88(%rbp), %rax
movq %rax, %rcx
addq $0x40, %rcx
movq %rcx, -0xa0(%rbp)
movslq 0x20(%rax), %rax
movq %rax, -0x98(%rbp)
leaq -0x35(%rbp), %rdi
movq %rdi, -0x90(%rbp)
callq 0x111b0
movq -0xa0(%rbp), %rdi
movq -0x98(%rbp), %rsi
movq -0x90(%rbp), %rdx
callq 0x17ab0
jmp 0x4e97e
leaq -0x35(%rbp), %rdi
callq 0x6620
movq -0x88(%rbp), %rax
movq %rax, %rcx
addq $0x58, %rcx
movq %rcx, -0xc0(%rbp)
movl 0x20(%rax), %ecx
movl 0x24(%rax), %eax
addl $0x2, %ecx
movslq %ecx, %rcx
movq %rcx, -0xb8(%rbp)
addl $0x2, %eax
cltq
movq %rax, -0xb0(%rbp)
leaq -0x51(%rbp), %rdi
movq %rdi, -0xa8(%rbp)
callq 0x4e710
movq -0xb0(%rbp), %rsi
movq -0xa8(%rbp), %rdx
leaq -0x50(%rbp), %rdi
callq 0x4e730
jmp 0x4e9e4
leaq -0x52(%rbp), %rdi
movq %rdi, -0xc8(%rbp)
callq 0x4e660
movq -0xc0(%rbp), %rdi
movq -0xb8(%rbp), %rsi
movq -0xc8(%rbp), %rcx
leaq -0x50(%rbp), %rdx
callq 0x4fac0
jmp 0x4ea14
leaq -0x52(%rbp), %rdi
callq 0x4e6f0
leaq -0x50(%rbp), %rdi
callq 0x4f190
leaq -0x51(%rbp), %rdi
callq 0x4e7a0
movl $0x0, -0x58(%rbp)
movq -0x88(%rbp), %rcx
movl -0x58(%rbp), %eax
cmpl 0x20(%rcx), %eax
jge 0x4eb41
movl $0x0, -0x5c(%rbp)
movq -0x88(%rbp), %rcx
movl -0x5c(%rbp), %eax
cmpl 0x24(%rcx), %eax
jge 0x4eb31
movq -0x10(%rbp), %rdi
movslq -0x58(%rbp), %rsi
callq 0x4e7c0
movq %rax, %rdi
movslq -0x5c(%rbp), %rsi
callq 0x4e870
movq -0x88(%rbp), %rdi
fldt (%rax)
fstpt -0xd4(%rbp)
addq $0x58, %rdi
movslq -0x58(%rbp), %rsi
callq 0x4e7c0
movq %rax, %rdi
movslq -0x5c(%rbp), %rsi
callq 0x4e870
fldt -0xd4(%rbp)
fstpt (%rax)
movl -0x5c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x5c(%rbp)
jmp 0x4ea50
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x21(%rbp), %rdi
callq 0x6620
jmp 0x4ecfb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x35(%rbp), %rdi
callq 0x6620
jmp 0x4ecf2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x4eb17
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x52(%rbp), %rdi
callq 0x4e6f0
leaq -0x50(%rbp), %rdi
callq 0x4f190
leaq -0x51(%rbp), %rdi
callq 0x4e7a0
movq -0xa0(%rbp), %rdi
callq 0x6d30
jmp 0x4ecf2
jmp 0x4eb33
movl -0x58(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x58(%rbp)
jmp 0x4ea36
movl $0x0, -0x60(%rbp)
movq -0x88(%rbp), %rcx
movl -0x60(%rbp), %eax
cmpl 0x20(%rcx), %eax
jge 0x4ec0a
movq -0x88(%rbp), %rdi
movl 0x24(%rdi), %eax
movslq -0x60(%rbp), %rsi
movl %esi, %ecx
addl %ecx, %eax
movl %eax, -0xec(%rbp)
addq $0x40, %rdi
callq 0x178f0
movl -0xec(%rbp), %ecx
movq -0x88(%rbp), %rdi
movl %ecx, (%rax)
addq $0x58, %rdi
movq %rdi, -0xe8(%rbp)
movslq -0x60(%rbp), %rsi
callq 0x4e7c0
movq %rax, %rdi
movq -0x88(%rbp), %rax
movslq 0x24(%rax), %rsi
callq 0x4e870
fld1
fchs
fstpt (%rax)
movq -0x18(%rbp), %rdi
movslq -0x60(%rbp), %rsi
callq 0x4e870
movq -0xe8(%rbp), %rdi
fldt (%rax)
fstpt -0xe0(%rbp)
movslq -0x60(%rbp), %rsi
callq 0x4e7c0
movq %rax, %rdi
movq -0x88(%rbp), %rax
movl 0x24(%rax), %eax
incl %eax
movslq %eax, %rsi
callq 0x4e870
fldt -0xe0(%rbp)
fstpt (%rax)
movl -0x60(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x60(%rbp)
jmp 0x4eb48
movl $0x0, -0x64(%rbp)
movq -0x88(%rbp), %rcx
movl -0x64(%rbp), %eax
cmpl 0x24(%rcx), %eax
jge 0x4ec97
movq -0x88(%rbp), %rdi
movslq -0x64(%rbp), %rsi
movl %esi, %eax
movl %eax, -0xfc(%rbp)
addq $0x28, %rdi
callq 0x178f0
movl -0xfc(%rbp), %ecx
movl %ecx, (%rax)
movq -0x20(%rbp), %rdi
movslq -0x64(%rbp), %rsi
callq 0x4e870
movq %rax, %rcx
movq -0x88(%rbp), %rax
fldt (%rcx)
fchs
fstpt -0xf8(%rbp)
movq %rax, %rdi
addq $0x58, %rdi
movslq 0x20(%rax), %rsi
callq 0x4e7c0
movq %rax, %rdi
movslq -0x64(%rbp), %rsi
callq 0x4e870
fldt -0xf8(%rbp)
fstpt (%rax)
movl -0x64(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x64(%rbp)
jmp 0x4ec11
movq -0x88(%rbp), %rax
movq %rax, %rdi
addq $0x28, %rdi
movslq 0x24(%rax), %rsi
callq 0x178f0
movq %rax, %rcx
movq -0x88(%rbp), %rax
movl $0xffffffff, (%rcx)     # imm = 0xFFFFFFFF
movq %rax, %rdi
addq $0x58, %rdi
movl 0x20(%rax), %eax
incl %eax
movslq %eax, %rsi
callq 0x4e7c0
movq %rax, %rdi
movq -0x88(%rbp), %rax
movslq 0x24(%rax), %rsi
callq 0x4e870
fld1
fstpt (%rax)
addq $0x100, %rsp            # imm = 0x100
popq %rbp
retq
movq -0x80(%rbp), %rdi
callq 0x6d30
movq -0x30(%rbp), %rdi
callq 0x3480
nopw %cs:(%rax,%rax)
nop