// File: hitc8494[P]Matrix/matrix.cpp
// Function: Matrix::forwardSubstitution(Matrix&)
void Matrix::forwardSubstitution(Matrix& b){
  for( uint i = rows()-1; i > -1; i++ ){
    for( uint j = 0; j < rows(); j++ ){
      if( j != i ){
	addToRow( Matrix( _data[i] ) * _data[j][i] , j );
	b.addToRow( Matrix( b._data[i] ) * b._data[j][i] , j );
      }
    }    
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x200, %rsp            # imm = 0x200
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x1e0(%rbp)
callq 0x6590
subl $0x1, %eax
movl %eax, -0x14(%rbp)
cmpl $-0x1, -0x14(%rbp)
jbe 0x5ad0
movl $0x0, -0x18(%rbp)
movq -0x1e0(%rbp), %rdi
movl -0x18(%rbp), %eax
movl %eax, -0x1e4(%rbp)
callq 0x6590
movl %eax, %ecx
movl -0x1e4(%rbp), %eax
cmpl %ecx, %eax
jae 0x5ac0
movl -0x18(%rbp), %eax
cmpl -0x14(%rbp), %eax
je 0x5ab0
movq -0x1e0(%rbp), %rdi
movl -0x14(%rbp), %eax
movl %eax, %esi
callq 0x5ba0
movq %rax, %rsi
leaq -0xf0(%rbp), %rdi
movq %rdi, -0x1f0(%rbp)
callq 0x64a0
movq -0x1f0(%rbp), %rsi
leaq -0xd8(%rbp), %rdi
callq 0x2aa0
jmp 0x58a7
movq -0x1e0(%rbp), %rdi
movl -0x18(%rbp), %eax
movl %eax, %esi
callq 0x5ba0
movq %rax, %rdi
movl -0x14(%rbp), %eax
movl %eax, %esi
callq 0x6360
movq %rax, %rdx
leaq -0x98(%rbp), %rdi
leaq -0xd8(%rbp), %rsi
callq 0x32a0
jmp 0x58dd
movq -0x1e0(%rbp), %rsi
movl -0x18(%rbp), %ecx
leaq -0x58(%rbp), %rdi
leaq -0x98(%rbp), %rdx
callq 0x32e0
jmp 0x58f9
leaq -0x58(%rbp), %rdi
callq 0x2c30
leaq -0x98(%rbp), %rdi
callq 0x2c30
leaq -0xd8(%rbp), %rdi
callq 0x2c30
leaq -0xf0(%rbp), %rdi
callq 0x61e0
movq -0x10(%rbp), %rdi
movq %rdi, -0x200(%rbp)
movl -0x14(%rbp), %eax
movl %eax, %esi
callq 0x5ba0
movq %rax, %rsi
leaq -0x1d8(%rbp), %rdi
movq %rdi, -0x1f8(%rbp)
callq 0x64a0
movq -0x1f8(%rbp), %rsi
leaq -0x1c0(%rbp), %rdi
callq 0x2aa0
jmp 0x5966
movq -0x10(%rbp), %rdi
movl -0x18(%rbp), %eax
movl %eax, %esi
callq 0x5ba0
movq %rax, %rdi
movl -0x14(%rbp), %eax
movl %eax, %esi
callq 0x6360
movq %rax, %rdx
leaq -0x180(%rbp), %rdi
leaq -0x1c0(%rbp), %rsi
callq 0x32a0
jmp 0x5999
movq -0x200(%rbp), %rsi
movl -0x18(%rbp), %ecx
leaq -0x140(%rbp), %rdi
leaq -0x180(%rbp), %rdx
callq 0x32e0
jmp 0x59b8
leaq -0x140(%rbp), %rdi
callq 0x2c30
leaq -0x180(%rbp), %rdi
callq 0x2c30
leaq -0x1c0(%rbp), %rdi
callq 0x2c30
leaq -0x1d8(%rbp), %rdi
callq 0x61e0
jmp 0x5ab0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xf8(%rbp)
movl %eax, -0xfc(%rbp)
jmp 0x5a3f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xf8(%rbp)
movl %eax, -0xfc(%rbp)
jmp 0x5a33
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xf8(%rbp)
movl %eax, -0xfc(%rbp)
leaq -0x98(%rbp), %rdi
callq 0x2c30
leaq -0xd8(%rbp), %rdi
callq 0x2c30
leaq -0xf0(%rbp), %rdi
callq 0x61e0
jmp 0x5ad9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xf8(%rbp)
movl %eax, -0xfc(%rbp)
jmp 0x5aa2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xf8(%rbp)
movl %eax, -0xfc(%rbp)
jmp 0x5a96
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xf8(%rbp)
movl %eax, -0xfc(%rbp)
leaq -0x180(%rbp), %rdi
callq 0x2c30
leaq -0x1c0(%rbp), %rdi
callq 0x2c30
leaq -0x1d8(%rbp), %rdi
callq 0x61e0
jmp 0x5ad9
jmp 0x5ab2
movl -0x18(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x18(%rbp)
jmp 0x583a
jmp 0x5ac2
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x5829
addq $0x200, %rsp            # imm = 0x200
popq %rbp
retq
movq -0xf8(%rbp), %rdi
callq 0x22a0
nopw %cs:(%rax,%rax)
nop