#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
double fabs(double);
int /*<<< orphan*/ free_ivector(int *, int, int);
int *ivector(int, int);
int /*<<< orphan*/ nrerror(char *);
void gaussj(double **a, int n, double **b, int m) {
  int *indxc, *indxr, *ipiv;
  int i, icol, irow, j, k, l, ll;
  double big, dum, pivinv, temp;
  indxc = ivector(1, n);
  indxr = ivector(1, n);
  ipiv = ivector(1, n);
  icol = -1;
  irow = -1;
  for (j = 1; j <= n; j++)
    ipiv[j] = 0;
  for (i = 1; i <= n; i++) {
    big = 0.0;
    for (j = 1; j <= n; j++)
      if (ipiv[j] != 1)
        for (k = 1; k <= n; k++) {
          if (ipiv[k] == 0) {
            if (fabs(a[j][k]) >= big) {
              big = fabs(a[j][k]);
              irow = j;
              icol = k;
            }
          } else if (ipiv[k] > 1)
            nrerror("gaussj: Singular Matrix-1");
        }
    ++(ipiv[icol]);
    if (irow != icol) {
      for (l = 1; l <= n; l++) {
        temp = (a[irow][l]);
        (a[irow][l]) = (a[icol][l]);
        (a[icol][l]) = temp;
      }
      for (l = 1; l <= m; l++) {
        temp = (b[irow][l]);
        (b[irow][l]) = (b[icol][l]);
        (b[icol][l]) = temp;
      }
    }
    indxr[i] = irow;
    indxc[i] = icol;
    if (a[icol][icol] == 0.0)
      nrerror("gaussj: Singular Matrix-2");
    pivinv = 1.0 / a[icol][icol];
    a[icol][icol] = 1.0;
    for (l = 1; l <= n; l++)
      a[icol][l] *= pivinv;
    for (l = 1; l <= m; l++)
      b[icol][l] *= pivinv;
    for (ll = 1; ll <= n; ll++)
      if (ll != icol) {
        dum = a[ll][icol];
        a[ll][icol] = 0.0;
        for (l = 1; l <= n; l++)
          a[ll][l] -= a[icol][l] * dum;
        for (l = 1; l <= m; l++)
          b[ll][l] -= b[icol][l] * dum;
      }
  }
  for (l = n; l >= 1; l--) {
    if (indxr[l] != indxc[l])
      for (k = 1; k <= n; k++) {
        temp = (a[k][indxr[l]]);
        (a[k][indxr[l]]) = (a[k][indxc[l]]);
        (a[k][indxc[l]]) = temp;
      };
  }
  free_ivector(ipiv, 1, n);
  free_ivector(indxr, 1, n);
  free_ivector(indxc, 1, n);
}


x86 assembly (clang, -O0):
<gaussj>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %ecx,-0x1c(%rbp)
mov    -0xc(%rbp),%esi
mov    $0x1,%edi
call   1050 <ivector@plt>
mov    %rax,-0x28(%rbp)
mov    -0xc(%rbp),%esi
mov    $0x1,%edi
call   1050 <ivector@plt>
mov    %rax,-0x30(%rbp)
mov    -0xc(%rbp),%esi
mov    $0x1,%edi
call   1050 <ivector@plt>
mov    %rax,-0x38(%rbp)
movl   $0xffffffff,-0x40(%rbp)
movl   $0xffffffff,-0x44(%rbp)
movl   $0x1,-0x48(%rbp)
mov    -0x48(%rbp),%eax
cmp    -0xc(%rbp),%eax
jg     11ba <gaussj+0x8a>
mov    -0x38(%rbp),%rax
movslq -0x48(%rbp),%rcx
movl   $0x0,(%rax,%rcx,4)
mov    -0x48(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x48(%rbp)
jmp    1191 <gaussj+0x61>
movl   $0x1,-0x3c(%rbp)
mov    -0x3c(%rbp),%eax
cmp    -0xc(%rbp),%eax
jg     1661 <gaussj+0x531>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x60(%rbp)
movl   $0x1,-0x48(%rbp)
mov    -0x48(%rbp),%eax
cmp    -0xc(%rbp),%eax
jg     12ce <gaussj+0x19e>
mov    -0x38(%rbp),%rax
movslq -0x48(%rbp),%rcx
cmpl   $0x1,(%rax,%rcx,4)
je     12bb <gaussj+0x18b>
movl   $0x1,-0x4c(%rbp)
mov    -0x4c(%rbp),%eax
cmp    -0xc(%rbp),%eax
jg     12b6 <gaussj+0x186>
mov    -0x38(%rbp),%rax
movslq -0x4c(%rbp),%rcx
cmpl   $0x0,(%rax,%rcx,4)
jne    1280 <gaussj+0x150>
mov    -0x8(%rbp),%rax
movslq -0x48(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x4c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movaps 0xdd5(%rip),%xmm1
pand   %xmm1,%xmm0
ucomisd -0x60(%rbp),%xmm0
jb     127b <gaussj+0x14b>
mov    -0x8(%rbp),%rax
movslq -0x48(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x4c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movaps 0xdaa(%rip),%xmm1
pand   %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    -0x48(%rbp),%eax
mov    %eax,-0x44(%rbp)
mov    -0x4c(%rbp),%eax
mov    %eax,-0x40(%rbp)
jmp    12a3 <gaussj+0x173>
mov    -0x38(%rbp),%rax
movslq -0x4c(%rbp),%rcx
cmpl   $0x1,(%rax,%rcx,4)
jle    129e <gaussj+0x16e>
lea    0xd87(%rip),%rdi
call   1030 <nrerror@plt>
jmp    12a3 <gaussj+0x173>
jmp    12a8 <gaussj+0x178>
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c(%rbp)
jmp    1201 <gaussj+0xd1>
jmp    12bb <gaussj+0x18b>
jmp    12c0 <gaussj+0x190>
mov    -0x48(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x48(%rbp)
jmp    11dc <gaussj+0xac>
mov    -0x38(%rbp),%rax
movslq -0x40(%rbp),%rcx
mov    (%rax,%rcx,4),%edx
add    $0x1,%edx
mov    %edx,(%rax,%rcx,4)
mov    -0x44(%rbp),%eax
cmp    -0x40(%rbp),%eax
je     13ee <gaussj+0x2be>
movl   $0x1,-0x50(%rbp)
mov    -0x50(%rbp),%eax
cmp    -0xc(%rbp),%eax
jg     136a <gaussj+0x23a>
mov    -0x8(%rbp),%rax
movslq -0x44(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x50(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x78(%rbp)
mov    -0x8(%rbp),%rax
movslq -0x40(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x50(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x8(%rbp),%rax
movslq -0x44(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x50(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x78(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movslq -0x40(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x50(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x50(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x50(%rbp)
jmp    12f2 <gaussj+0x1c2>
movl   $0x1,-0x50(%rbp)
mov    -0x50(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jg     13e9 <gaussj+0x2b9>
mov    -0x18(%rbp),%rax
movslq -0x44(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x50(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x78(%rbp)
mov    -0x18(%rbp),%rax
movslq -0x40(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x50(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
movslq -0x44(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x50(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x78(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movslq -0x40(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x50(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x50(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x50(%rbp)
jmp    1371 <gaussj+0x241>
jmp    13ee <gaussj+0x2be>
mov    -0x44(%rbp),%edx
mov    -0x30(%rbp),%rax
movslq -0x3c(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x40(%rbp),%edx
mov    -0x28(%rbp),%rax
movslq -0x3c(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x8(%rbp),%rax
movslq -0x40(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x40(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    143e <gaussj+0x30e>
jp     143e <gaussj+0x30e>
lea    0xc01(%rip),%rdi
call   1030 <nrerror@plt>
mov    -0x8(%rbp),%rax
movslq -0x40(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x40(%rbp),%rcx
movsd  0xbaa(%rip),%xmm0
divsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    -0x8(%rbp),%rax
movslq -0x40(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x40(%rbp),%rcx
movsd  0xb88(%rip),%xmm0
movsd  %xmm0,(%rax,%rcx,8)
movl   $0x1,-0x50(%rbp)
mov    -0x50(%rbp),%eax
cmp    -0xc(%rbp),%eax
jg     14bd <gaussj+0x38d>
movsd  -0x70(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movslq -0x40(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x50(%rbp),%rcx
mulsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x50(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x50(%rbp)
jmp    1484 <gaussj+0x354>
movl   $0x1,-0x50(%rbp)
mov    -0x50(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jg     14fd <gaussj+0x3cd>
movsd  -0x70(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movslq -0x40(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x50(%rbp),%rcx
mulsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x50(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x50(%rbp)
jmp    14c4 <gaussj+0x394>
movl   $0x1,-0x54(%rbp)
mov    -0x54(%rbp),%eax
cmp    -0xc(%rbp),%eax
jg     164e <gaussj+0x51e>
mov    -0x54(%rbp),%eax
cmp    -0x40(%rbp),%eax
je     163b <gaussj+0x50b>
mov    -0x8(%rbp),%rax
movslq -0x54(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x40(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x8(%rbp),%rax
movslq -0x54(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x40(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
movl   $0x1,-0x50(%rbp)
mov    -0x50(%rbp),%eax
cmp    -0xc(%rbp),%eax
jg     15c2 <gaussj+0x492>
mov    -0x8(%rbp),%rax
movslq -0x40(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x50(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  -0x68(%rbp),%xmm2
mov    -0x8(%rbp),%rax
movslq -0x54(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x50(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
movq   %xmm0,%rdx
movabs $0x8000000000000000,%rsi
xor    %rsi,%rdx
movq   %rdx,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x50(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x50(%rbp)
jmp    1555 <gaussj+0x425>
movl   $0x1,-0x50(%rbp)
mov    -0x50(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jg     1636 <gaussj+0x506>
mov    -0x18(%rbp),%rax
movslq -0x40(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x50(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  -0x68(%rbp),%xmm2
mov    -0x18(%rbp),%rax
movslq -0x54(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x50(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
movq   %xmm0,%rdx
movabs $0x8000000000000000,%rsi
xor    %rsi,%rdx
movq   %rdx,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x50(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x50(%rbp)
jmp    15c9 <gaussj+0x499>
jmp    163b <gaussj+0x50b>
jmp    1640 <gaussj+0x510>
mov    -0x54(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
jmp    1504 <gaussj+0x3d4>
jmp    1653 <gaussj+0x523>
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    11c1 <gaussj+0x91>
mov    -0xc(%rbp),%eax
mov    %eax,-0x50(%rbp)
cmpl   $0x1,-0x50(%rbp)
jl     1744 <gaussj+0x614>
mov    -0x30(%rbp),%rax
movslq -0x50(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
mov    -0x28(%rbp),%rcx
movslq -0x50(%rbp),%rdx
cmp    (%rcx,%rdx,4),%eax
je     1731 <gaussj+0x601>
movl   $0x1,-0x4c(%rbp)
mov    -0x4c(%rbp),%eax
cmp    -0xc(%rbp),%eax
jg     172c <gaussj+0x5fc>
mov    -0x8(%rbp),%rax
movslq -0x4c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    -0x30(%rbp),%rcx
movslq -0x50(%rbp),%rdx
movslq (%rcx,%rdx,4),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x78(%rbp)
mov    -0x8(%rbp),%rax
movslq -0x4c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    -0x28(%rbp),%rcx
movslq -0x50(%rbp),%rdx
movslq (%rcx,%rdx,4),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x8(%rbp),%rax
movslq -0x4c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    -0x30(%rbp),%rcx
movslq -0x50(%rbp),%rdx
movslq (%rcx,%rdx,4),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x78(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movslq -0x4c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    -0x28(%rbp),%rcx
movslq -0x50(%rbp),%rdx
movslq (%rcx,%rdx,4),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c(%rbp)
jmp    1694 <gaussj+0x564>
jmp    1731 <gaussj+0x601>
jmp    1736 <gaussj+0x606>
mov    -0x50(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x50(%rbp)
jmp    1667 <gaussj+0x537>
mov    -0x38(%rbp),%rdi
mov    -0xc(%rbp),%edx
mov    $0x1,%esi
call   1040 <free_ivector@plt>
mov    -0x30(%rbp),%rdi
mov    -0xc(%rbp),%edx
mov    $0x1,%esi
call   1040 <free_ivector@plt>
mov    -0x28(%rbp),%rdi
mov    -0xc(%rbp),%edx
mov    $0x1,%esi
call   1040 <free_ivector@plt>
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<gaussj>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xb8,%rsp
mov    %ecx,%r12d
mov    %rdx,0x68(%rsp)
mov    %esi,%ebp
mov    %rdi,%r14
mov    $0x1,%edi
call   1060 <ivector@plt>
mov    %rax,0x40(%rsp)
mov    $0x1,%edi
mov    %ebp,%esi
call   1060 <ivector@plt>
mov    %rax,0x38(%rsp)
mov    $0x1,%edi
mov    %ebp,%esi
call   1060 <ivector@plt>
mov    %rax,%rbx
mov    %ebp,0x10(%rsp)
test   %ebp,%ebp
jle    1c22 <gaussj+0xae2>
mov    %rbx,%rdi
add    $0x4,%rdi
mov    0x10(%rsp),%r15d
lea    0x0(,%r15,4),%rdx
xor    %esi,%esi
call   1040 <memset@plt>
lea    0x1(%r15),%r13
mov    %r12,0x28(%rsp)
lea    0x1(%r12),%eax
mov    %rax,0xb0(%rsp)
lea    -0x1(%rax),%rcx
lea    -0x4(%r15),%rdx
mov    %rdx,0x98(%rsp)
mov    %rdx,%rsi
shr    $0x2,%rsi
add    $0x1,%rsi
lea    -0x5(%rax),%rdx
mov    %rdx,0x88(%rsp)
mov    %rdx,%rdi
shr    $0x2,%rdi
add    $0x1,%rdi
mov    %r15d,%edx
and    $0xfffffffc,%edx
mov    %rdx,0x60(%rsp)
add    $0x1,%rdx
mov    %rdx,0x58(%rsp)
mov    %rsi,%rdx
mov    %rsi,0x90(%rsp)
and    $0xfffffffffffffffe,%rsi
mov    %rsi,0x78(%rsp)
mov    %r15,%rdx
not    %rdx
mov    %rdx,0xa8(%rsp)
mov    %rcx,0x18(%rsp)
and    $0xfffffffffffffffc,%rcx
mov    %rcx,0x30(%rsp)
add    $0x1,%rcx
mov    %rcx,0x48(%rsp)
mov    %rdi,%rcx
mov    %rdi,0x80(%rsp)
and    $0xfffffffffffffffe,%rdi
mov    %rdi,0x70(%rsp)
neg    %rax
mov    %rax,0xa0(%rsp)
movl   $0xffffffff,0x14(%rsp)
ff
mov    $0x1,%eax
mov    %rax,0x50(%rsp)
movl   $0xffffffff,0xc(%rsp)
ff
jmp    12a7 <gaussj+0x167>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    0x50(%rsp),%rax
add    $0x1,%rax
mov    %rax,0x50(%rsp)
cmp    %r13,%rax
je     1b4f <gaussj+0xa0f>
mov    %r15,%rbp
mov    $0x1,%r15d
xorpd  %xmm0,%xmm0
movsd  %xmm0,0x20(%rsp)
jmp    12d1 <gaussj+0x191>
nopl   0x0(%rax)
add    $0x1,%r15
cmp    %r13,%r15
mov    0xb0(%rsp),%r12
je     1350 <gaussj+0x210>
cmpl   $0x1,(%rbx,%r15,4)
je     12c0 <gaussj+0x180>
mov    $0x1,%r12d
jmp    12e9 <gaussj+0x1a9>
add    $0x1,%r12
cmp    %r12,%r13
je     12c0 <gaussj+0x180>
mov    (%rbx,%r12,4),%eax
test   %eax,%eax
je     1310 <gaussj+0x1d0>
cmp    $0x2,%eax
jl     12e0 <gaussj+0x1a0>
lea    0xd23(%rip),%rdi
call   1030 <nrerror@plt>
jmp    12e0 <gaussj+0x1a0>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    (%r14,%r15,8),%rax
movsd  (%rax,%r12,8),%xmm0
andpd  0xcde(%rip),%xmm0
ucomisd 0x20(%rsp),%xmm0
jb     12e0 <gaussj+0x1a0>
mov    %r15d,%eax
mov    %r15d,0xc(%rsp)
movsd  %xmm0,0x20(%rsp)
mov    %r12d,%eax
mov    %r12d,0x14(%rsp)
jmp    12e0 <gaussj+0x1a0>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movslq 0x14(%rsp),%r11
addl   $0x1,(%rbx,%r11,4)
cmp    %r11d,0xc(%rsp)
mov    %rbp,%r15
mov    0x28(%rsp),%rbp
je     1670 <gaussj+0x530>
movslq 0xc(%rsp),%rax
mov    (%r14,%rax,8),%rcx
mov    (%r14,%r11,8),%rdx
mov    $0x1,%esi
cmp    $0x4,%r15d
jb     1480 <gaussj+0x340>
lea    0x8(%rcx),%rdi
lea    (%rdx,%r13,8),%rbp
cmp    %rbp,%rdi
mov    0x28(%rsp),%rbp
jae    13b1 <gaussj+0x271>
lea    (%rcx,%r13,8),%rdi
lea    0x8(%rdx),%rbp
cmp    %rdi,%rbp
mov    0x28(%rsp),%rbp
jb     1480 <gaussj+0x340>
cmpq   $0x4,0x98(%rsp)
jae    13c0 <gaussj+0x280>
xor    %esi,%esi
jmp    1432 <gaussj+0x2f2>
mov    0x78(%rsp),%rdi
xor    %esi,%esi
nopw   0x0(%rax,%rax,1)
movups 0x8(%rcx,%rsi,8),%xmm0
movups 0x18(%rcx,%rsi,8),%xmm1
movups 0x8(%rdx,%rsi,8),%xmm2
movups 0x18(%rdx,%rsi,8),%xmm3
movups %xmm2,0x8(%rcx,%rsi,8)
movups %xmm3,0x18(%rcx,%rsi,8)
movups %xmm0,0x8(%rdx,%rsi,8)
movups %xmm1,0x18(%rdx,%rsi,8)
movupd 0x28(%rcx,%rsi,8),%xmm0
movupd 0x38(%rcx,%rsi,8),%xmm1
movupd 0x28(%rdx,%rsi,8),%xmm2
movupd 0x38(%rdx,%rsi,8),%xmm3
movupd %xmm2,0x28(%rcx,%rsi,8)
movupd %xmm3,0x38(%rcx,%rsi,8)
movupd %xmm0,0x28(%rdx,%rsi,8)
movupd %xmm1,0x38(%rdx,%rsi,8)
add    $0x8,%rsi
add    $0xfffffffffffffffe,%rdi
jne    13d0 <gaussj+0x290>
testb  $0x1,0x90(%rsp)
01
je     1470 <gaussj+0x330>
shl    $0x3,%rsi
or     $0x8,%rsi
movupd (%rcx,%rsi,1),%xmm0
movupd 0x10(%rcx,%rsi,1),%xmm1
movupd (%rdx,%rsi,1),%xmm2
movupd 0x10(%rdx,%rsi,1),%xmm3
movupd %xmm2,(%rcx,%rsi,1)
movupd %xmm3,0x10(%rcx,%rsi,1)
movupd %xmm0,(%rdx,%rsi,1)
movupd %xmm1,0x10(%rdx,%rsi,1)
mov    0x58(%rsp),%rsi
cmp    0x60(%rsp),%r15
je     14e5 <gaussj+0x3a5>
nopl   0x0(%rax)
mov    %rsi,%rdi
test   $0x1,%r13b
jne    14a1 <gaussj+0x361>
movsd  (%rcx,%rsi,8),%xmm0
movsd  (%rdx,%rsi,8),%xmm1
movsd  %xmm1,(%rcx,%rsi,8)
movsd  %xmm0,(%rdx,%rsi,8)
lea    0x1(%rsi),%rdi
not    %rsi
cmp    0xa8(%rsp),%rsi
je     14e5 <gaussj+0x3a5>
xchg   %ax,%ax
movsd  (%rcx,%rdi,8),%xmm0
movsd  (%rdx,%rdi,8),%xmm1
movsd  %xmm1,(%rcx,%rdi,8)
movsd  %xmm0,(%rdx,%rdi,8)
movsd  0x8(%rcx,%rdi,8),%xmm0
movsd  0x8(%rdx,%rdi,8),%xmm1
movsd  %xmm1,0x8(%rcx,%rdi,8)
movsd  %xmm0,0x8(%rdx,%rdi,8)
add    $0x2,%rdi
cmp    %rdi,%r13
jne    14b0 <gaussj+0x370>
test   %ebp,%ebp
jle    1670 <gaussj+0x530>
mov    0x68(%rsp),%rcx
mov    (%rcx,%rax,8),%rax
mov    (%rcx,%r11,8),%rcx
mov    $0x1,%edx
cmpq   $0x4,0x18(%rsp)
jb     1600 <gaussj+0x4c0>
lea    0x8(%rax),%rsi
lea    (%rcx,%r12,8),%rdi
cmp    %rdi,%rsi
jae    1529 <gaussj+0x3e9>
lea    (%rax,%r12,8),%rsi
lea    0x8(%rcx),%rdi
cmp    %rsi,%rdi
jb     1600 <gaussj+0x4c0>
cmpq   $0x4,0x88(%rsp)
jae    1538 <gaussj+0x3f8>
xor    %edx,%edx
jmp    15a2 <gaussj+0x462>
mov    0x70(%rsp),%rsi
xor    %edx,%edx
nop
movups 0x8(%rax,%rdx,8),%xmm0
movups 0x18(%rax,%rdx,8),%xmm1
movups 0x8(%rcx,%rdx,8),%xmm2
movups 0x18(%rcx,%rdx,8),%xmm3
movups %xmm2,0x8(%rax,%rdx,8)
movups %xmm3,0x18(%rax,%rdx,8)
movups %xmm0,0x8(%rcx,%rdx,8)
movups %xmm1,0x18(%rcx,%rdx,8)
movupd 0x28(%rax,%rdx,8),%xmm0
movupd 0x38(%rax,%rdx,8),%xmm1
movupd 0x28(%rcx,%rdx,8),%xmm2
movupd 0x38(%rcx,%rdx,8),%xmm3
movupd %xmm2,0x28(%rax,%rdx,8)
movupd %xmm3,0x38(%rax,%rdx,8)
movupd %xmm0,0x28(%rcx,%rdx,8)
movupd %xmm1,0x38(%rcx,%rdx,8)
add    $0x8,%rdx
add    $0xfffffffffffffffe,%rsi
jne    1540 <gaussj+0x400>
testb  $0x1,0x80(%rsp)
01
je     15e0 <gaussj+0x4a0>
shl    $0x3,%rdx
or     $0x8,%rdx
movupd (%rax,%rdx,1),%xmm0
movupd 0x10(%rax,%rdx,1),%xmm1
movupd (%rcx,%rdx,1),%xmm2
movupd 0x10(%rcx,%rdx,1),%xmm3
movupd %xmm2,(%rax,%rdx,1)
movupd %xmm3,0x10(%rax,%rdx,1)
movupd %xmm0,(%rcx,%rdx,1)
movupd %xmm1,0x10(%rcx,%rdx,1)
mov    0x48(%rsp),%rdx
mov    0x30(%rsp),%rsi
cmp    %rsi,0x18(%rsp)
je     1670 <gaussj+0x530>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    %rdx,%rsi
test   $0x1,%r12b
jne    1621 <gaussj+0x4e1>
movsd  (%rax,%rdx,8),%xmm0
movsd  (%rcx,%rdx,8),%xmm1
movsd  %xmm1,(%rax,%rdx,8)
movsd  %xmm0,(%rcx,%rdx,8)
lea    0x1(%rdx),%rsi
not    %rdx
cmp    0xa0(%rsp),%rdx
je     1670 <gaussj+0x530>
xchg   %ax,%ax
movsd  (%rax,%rsi,8),%xmm0
movsd  (%rcx,%rsi,8),%xmm1
movsd  %xmm1,(%rax,%rsi,8)
movsd  %xmm0,(%rcx,%rsi,8)
movsd  0x8(%rax,%rsi,8),%xmm0
movsd  0x8(%rcx,%rsi,8),%xmm1
movsd  %xmm1,0x8(%rax,%rsi,8)
movsd  %xmm0,0x8(%rcx,%rsi,8)
add    $0x2,%rsi
cmp    %rsi,%r12
jne    1630 <gaussj+0x4f0>
cs nopw 0x0(%rax,%rax,1)
nop
mov    0x38(%rsp),%rax
mov    0x50(%rsp),%rcx
mov    0xc(%rsp),%edx
mov    %edx,(%rax,%rcx,4)
mov    0x40(%rsp),%rax
mov    %r11d,(%rax,%rcx,4)
mov    (%r14,%r11,8),%rax
movsd  (%rax,%r11,8),%xmm1
ucomisd 0x97c(%rip),%xmm1
mov    %r11,0x20(%rsp)
jne    16c0 <gaussj+0x580>
jp     16c0 <gaussj+0x580>
lea    0x98e(%rip),%rdi
call   1030 <nrerror@plt>
mov    0x20(%rsp),%r11
mov    (%r14,%r11,8),%rax
movsd  (%rax,%r11,8),%xmm1
movsd  0x948(%rip),%xmm0
divsd  %xmm1,%xmm0
movabs $0x3ff0000000000000,%rcx
mov    %rcx,(%rax,%r11,8)
mov    $0x1,%ecx
cmp    $0x4,%r15d
mov    0x60(%rsp),%rsi
jb     17b0 <gaussj+0x670>
movapd %xmm0,%xmm1
unpcklpd %xmm0,%xmm1
cmpq   $0x4,0x98(%rsp)
jae    1710 <gaussj+0x5d0>
xor    %ecx,%ecx
jmp    176a <gaussj+0x62a>
cs nopw 0x0(%rax,%rax,1)
nop
mov    0x78(%rsp),%rdx
xor    %ecx,%ecx
nopw   0x0(%rax,%rax,1)
movupd 0x8(%rax,%rcx,8),%xmm2
movupd 0x18(%rax,%rcx,8),%xmm3
movupd 0x28(%rax,%rcx,8),%xmm4
movupd 0x38(%rax,%rcx,8),%xmm5
mulpd  %xmm1,%xmm2
mulpd  %xmm1,%xmm3
movupd %xmm2,0x8(%rax,%rcx,8)
movupd %xmm3,0x18(%rax,%rcx,8)
mulpd  %xmm1,%xmm4
mulpd  %xmm1,%xmm5
movupd %xmm4,0x28(%rax,%rcx,8)
movupd %xmm5,0x38(%rax,%rcx,8)
add    $0x8,%rcx
add    $0xfffffffffffffffe,%rdx
jne    1720 <gaussj+0x5e0>
testb  $0x1,0x90(%rsp)
01
je     179a <gaussj+0x65a>
shl    $0x3,%rcx
or     $0x8,%rcx
movupd (%rax,%rcx,1),%xmm2
movupd 0x10(%rax,%rcx,1),%xmm3
mulpd  %xmm1,%xmm2
mulpd  %xmm1,%xmm3
movupd %xmm2,(%rax,%rcx,1)
movupd %xmm3,0x10(%rax,%rcx,1)
mov    0x58(%rsp),%rcx
cmp    %rsi,%r15
je     17c7 <gaussj+0x687>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
movsd  (%rax,%rcx,8),%xmm1
mulsd  %xmm0,%xmm1
movsd  %xmm1,(%rax,%rcx,8)
add    $0x1,%rcx
cmp    %rcx,%r13
jne    17b0 <gaussj+0x670>
test   %ebp,%ebp
jle    18c7 <gaussj+0x787>
mov    0x68(%rsp),%rcx
mov    (%rcx,%r11,8),%rcx
mov    $0x1,%edx
cmpq   $0x4,0x18(%rsp)
jb     18b0 <gaussj+0x770>
movapd %xmm0,%xmm1
unpcklpd %xmm0,%xmm1
cmpq   $0x4,0x88(%rsp)
jae    1805 <gaussj+0x6c5>
xor    %edx,%edx
mov    0x30(%rsp),%rdi
jmp    186a <gaussj+0x72a>
mov    0x70(%rsp),%rsi
xor    %edx,%edx
mov    0x30(%rsp),%rdi
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movupd 0x8(%rcx,%rdx,8),%xmm2
movupd 0x18(%rcx,%rdx,8),%xmm3
movupd 0x28(%rcx,%rdx,8),%xmm4
movupd 0x38(%rcx,%rdx,8),%xmm5
mulpd  %xmm1,%xmm2
mulpd  %xmm1,%xmm3
movupd %xmm2,0x8(%rcx,%rdx,8)
movupd %xmm3,0x18(%rcx,%rdx,8)
mulpd  %xmm1,%xmm4
mulpd  %xmm1,%xmm5
movupd %xmm4,0x28(%rcx,%rdx,8)
movupd %xmm5,0x38(%rcx,%rdx,8)
add    $0x8,%rdx
add    $0xfffffffffffffffe,%rsi
jne    1820 <gaussj+0x6e0>
testb  $0x1,0x80(%rsp)
01
je     189a <gaussj+0x75a>
shl    $0x3,%rdx
or     $0x8,%rdx
movupd (%rcx,%rdx,1),%xmm2
movupd 0x10(%rcx,%rdx,1),%xmm3
mulpd  %xmm1,%xmm2
mulpd  %xmm1,%xmm3
movupd %xmm2,(%rcx,%rdx,1)
movupd %xmm3,0x10(%rcx,%rdx,1)
mov    0x48(%rsp),%rdx
cmp    %rdi,0x18(%rsp)
je     18c7 <gaussj+0x787>
cs nopw 0x0(%rax,%rax,1)
movsd  (%rcx,%rdx,8),%xmm1
mulsd  %xmm0,%xmm1
movsd  %xmm1,(%rcx,%rdx,8)
add    $0x1,%rdx
cmp    %rdx,%r12
jne    18b0 <gaussj+0x770>
mov    0x14(%rsp),%r10d
lea    0x8(%rax),%r8
lea    (%rax,%r13,8),%r9
mov    $0x1,%edi
jmp    18ed <gaussj+0x7ad>
nopl   0x0(%rax,%rax,1)
add    $0x1,%rdi
cmp    %r13,%rdi
je     1290 <gaussj+0x150>
cmp    %r10,%rdi
je     18e0 <gaussj+0x7a0>
mov    (%r14,%rdi,8),%rdx
movsd  (%rdx,%r11,8),%xmm0
movq   $0x0,(%rdx,%r11,8)
mov    $0x1,%ecx
cmp    $0x4,%r15d
jae    1920 <gaussj+0x7e0>
mov    0x28(%rsp),%rbp
jmp    19a0 <gaussj+0x860>
nopl   0x0(%rax)
lea    0x8(%rdx),%rsi
cmp    %r9,%rsi
mov    0x28(%rsp),%rbp
jae    1937 <gaussj+0x7f7>
lea    (%rdx,%r13,8),%rsi
cmp    %rsi,%r8
jb     19a0 <gaussj+0x860>
movapd %xmm0,%xmm1
unpcklpd %xmm0,%xmm1
xor    %ecx,%ecx
mov    0x60(%rsp),%rsi
cs nopw 0x0(%rax,%rax,1)
movupd 0x8(%rax,%rcx,8),%xmm2
movupd 0x18(%rax,%rcx,8),%xmm3
movupd 0x8(%rdx,%rcx,8),%xmm4
movupd 0x18(%rdx,%rcx,8),%xmm5
mulpd  %xmm1,%xmm2
subpd  %xmm2,%xmm4
mulpd  %xmm1,%xmm3
subpd  %xmm3,%xmm5
movupd %xmm4,0x8(%rdx,%rcx,8)
movupd %xmm5,0x18(%rdx,%rcx,8)
add    $0x4,%rcx
cmp    %rcx,%rsi
jne    1950 <gaussj+0x810>
mov    0x58(%rsp),%rcx
cmp    %rsi,%r15
je     1a1a <gaussj+0x8da>
nopl   0x0(%rax,%rax,1)
mov    %rcx,%rsi
test   $0x1,%r13b
jne    19c4 <gaussj+0x884>
movsd  (%rdx,%rcx,8),%xmm1
movsd  (%rax,%rcx,8),%xmm2
mulsd  %xmm0,%xmm2
subsd  %xmm2,%xmm1
movsd  %xmm1,(%rdx,%rcx,8)
lea    0x1(%rcx),%rsi
not    %rcx
cmp    0xa8(%rsp),%rcx
je     1a1a <gaussj+0x8da>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movsd  (%rax,%rsi,8),%xmm1
mulsd  %xmm0,%xmm1
movsd  (%rdx,%rsi,8),%xmm2
subsd  %xmm1,%xmm2
movsd  0x8(%rdx,%rsi,8),%xmm1
movsd  %xmm2,(%rdx,%rsi,8)
movsd  0x8(%rax,%rsi,8),%xmm2
mulsd  %xmm0,%xmm2
subsd  %xmm2,%xmm1
movsd  %xmm1,0x8(%rdx,%rsi,8)
add    $0x2,%rsi
cmp    %rsi,%r13
jne    19e0 <gaussj+0x8a0>
test   %ebp,%ebp
jle    18e0 <gaussj+0x7a0>
mov    0x68(%rsp),%rcx
mov    (%rcx,%r11,8),%rdx
mov    (%rcx,%rdi,8),%rsi
mov    $0x1,%ebp
cmpq   $0x4,0x18(%rsp)
jb     1ad0 <gaussj+0x990>
lea    0x8(%rsi),%r11
lea    (%rdx,%r12,8),%rcx
cmp    %rcx,%r11
mov    0x20(%rsp),%r11
jae    1a64 <gaussj+0x924>
lea    (%rsi,%r12,8),%r11
lea    0x8(%rdx),%rcx
cmp    %r11,%rcx
mov    0x20(%rsp),%r11
jb     1ad0 <gaussj+0x990>
movapd %xmm0,%xmm1
unpcklpd %xmm0,%xmm1
xor    %ecx,%ecx
mov    0x30(%rsp),%rbp
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movupd 0x8(%rdx,%rcx,8),%xmm2
movupd 0x18(%rdx,%rcx,8),%xmm3
movupd 0x8(%rsi,%rcx,8),%xmm4
movupd 0x18(%rsi,%rcx,8),%xmm5
mulpd  %xmm1,%xmm2
subpd  %xmm2,%xmm4
mulpd  %xmm1,%xmm3
subpd  %xmm3,%xmm5
movupd %xmm4,0x8(%rsi,%rcx,8)
movupd %xmm5,0x18(%rsi,%rcx,8)
add    $0x4,%rcx
cmp    %rcx,%rbp
jne    1a80 <gaussj+0x940>
mov    %rbp,%rcx
mov    0x48(%rsp),%rbp
cmp    %rcx,0x18(%rsp)
je     18e0 <gaussj+0x7a0>
mov    %rbp,%rcx
test   $0x1,%r12b
jne    1af4 <gaussj+0x9b4>
movsd  (%rsi,%rbp,8),%xmm1
movsd  (%rdx,%rbp,8),%xmm2
mulsd  %xmm0,%xmm2
subsd  %xmm2,%xmm1
movsd  %xmm1,(%rsi,%rbp,8)
lea    0x1(%rbp),%rcx
not    %rbp
cmp    0xa0(%rsp),%rbp
je     18e0 <gaussj+0x7a0>
cs nopw 0x0(%rax,%rax,1)
nop
movsd  (%rdx,%rcx,8),%xmm1
mulsd  %xmm0,%xmm1
movsd  (%rsi,%rcx,8),%xmm2
subsd  %xmm1,%xmm2
movsd  0x8(%rsi,%rcx,8),%xmm1
movsd  %xmm2,(%rsi,%rcx,8)
movsd  0x8(%rdx,%rcx,8),%xmm2
mulsd  %xmm0,%xmm2
subsd  %xmm2,%xmm1
movsd  %xmm1,0x8(%rsi,%rcx,8)
add    $0x2,%rcx
cmp    %rcx,%r12
jne    1b10 <gaussj+0x9d0>
jmp    18e0 <gaussj+0x7a0>
cmpl   $0x0,0x10(%rsp)
jle    1c22 <gaussj+0xae2>
mov    %r15d,%eax
and    $0xfffffffe,%eax
neg    %rax
mov    %r15,%rcx
jmp    1b81 <gaussj+0xa41>
nopl   0x0(%rax,%rax,1)
lea    -0x1(%rcx),%rdx
cmp    $0x1,%rcx
mov    %rdx,%rcx
jle    1c22 <gaussj+0xae2>
mov    0x38(%rsp),%rdx
movslq (%rdx,%rcx,4),%rdx
mov    0x40(%rsp),%rsi
movslq (%rsi,%rcx,4),%rsi
cmp    %esi,%edx
je     1b70 <gaussj+0xa30>
mov    $0x1,%edi
cmp    $0x2,%r13d
je     1bfb <gaussj+0xabb>
mov    $0x1,%edi
nopw   0x0(%rax,%rax,1)
mov    (%r14,%rdi,8),%rbp
movsd  0x0(%rbp,%rdx,8),%xmm0
movsd  0x0(%rbp,%rsi,8),%xmm1
movsd  %xmm1,0x0(%rbp,%rdx,8)
movsd  %xmm0,0x0(%rbp,%rsi,8)
mov    0x8(%r14,%rdi,8),%rbp
movsd  0x0(%rbp,%rdx,8),%xmm0
movsd  0x0(%rbp,%rsi,8),%xmm1
movsd  %xmm1,0x0(%rbp,%rdx,8)
movsd  %xmm0,0x0(%rbp,%rsi,8)
lea    (%rax,%rdi,1),%rbp
add    $0x2,%rbp
add    $0x2,%rdi
cmp    $0x1,%rbp
jne    1bb0 <gaussj+0xa70>
test   $0x1,%r15b
je     1b70 <gaussj+0xa30>
mov    (%r14,%rdi,8),%rdi
movsd  (%rdi,%rdx,8),%xmm0
movsd  (%rdi,%rsi,8),%xmm1
movsd  %xmm1,(%rdi,%rdx,8)
movsd  %xmm0,(%rdi,%rsi,8)
jmp    1b70 <gaussj+0xa30>
mov    %rbx,%rdi
mov    $0x1,%esi
mov    0x10(%rsp),%ebx
mov    %ebx,%edx
call   1050 <free_ivector@plt>
mov    0x38(%rsp),%rdi
mov    $0x1,%esi
mov    %ebx,%edx
call   1050 <free_ivector@plt>
mov    0x40(%rsp),%rdi
mov    $0x1,%esi
mov    %ebx,%edx
add    $0xb8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1050 <free_ivector@plt>

LLVM IR (-O0):
@.str = [26 x i8] c"gaussj: Singular Matrix-1\00"
@.str.1 = [26 x i8] c"gaussj: Singular Matrix-2\00"
define void @gaussj(double** %0, i32 %1, double** %2, i32 %3) {
%5 = alloca double**
%6 = alloca i32
%7 = alloca double**
%8 = alloca i32
%9 = alloca i32*
%10 = alloca i32*
%11 = alloca i32*
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = alloca i32
%18 = alloca i32
%19 = alloca double
%20 = alloca double
%21 = alloca double
%22 = alloca double
store double** %0, double*** %5
store i32 %1, i32* %6
store double** %2, double*** %7
store i32 %3, i32* %8
%23 = load i32, i32* %6
%24 = call i32* @ivector(i32 1, i32 %23)
store i32* %24, i32** %9
%25 = load i32, i32* %6
%26 = call i32* @ivector(i32 1, i32 %25)
store i32* %26, i32** %10
%27 = load i32, i32* %6
%28 = call i32* @ivector(i32 1, i32 %27)
store i32* %28, i32** %11
store i32 -1, i32* %13
store i32 -1, i32* %14
store i32 1, i32* %15
br label %29
29: ; preds = %38, %4
%30 = load i32, i32* %15
%31 = load i32, i32* %6
%32 = icmp sle i32 %30, %31
br i1 %32, label %33, label %41
33: ; preds = %29
%34 = load i32*, i32** %11
%35 = load i32, i32* %15
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, i32* %34, i64 %36
store i32 0, i32* %37
br label %38
38: ; preds = %33
%39 = load i32, i32* %15
%40 = add nsw i32 %39, 1
store i32 %40, i32* %15
br label %29
41: ; preds = %29
store i32 1, i32* %12
br label %42
42: ; preds = %388, %41
%43 = load i32, i32* %12
%44 = load i32, i32* %6
%45 = icmp sle i32 %43, %44
br i1 %45, label %46, label %391
46: ; preds = %42
store double 0.000000e+00, double* %19
store i32 1, i32* %15
br label %47
47: ; preds = %113, %46
%48 = load i32, i32* %15
%49 = load i32, i32* %6
%50 = icmp sle i32 %48, %49
br i1 %50, label %51, label %116
51: ; preds = %47
%52 = load i32*, i32** %11
%53 = load i32, i32* %15
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, i32* %52, i64 %54
%56 = load i32, i32* %55
%57 = icmp ne i32 %56, 1
br i1 %57, label %58, label %112
58: ; preds = %51
store i32 1, i32* %16
br label %59
59: ; preds = %108, %58
%60 = load i32, i32* %16
%61 = load i32, i32* %6
%62 = icmp sle i32 %60, %61
br i1 %62, label %63, label %111
63: ; preds = %59
%64 = load i32*, i32** %11
%65 = load i32, i32* %16
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i32, i32* %64, i64 %66
%68 = load i32, i32* %67
%69 = icmp eq i32 %68, 0
br i1 %69, label %70, label %97
70: ; preds = %63
%71 = load double**, double*** %5
%72 = load i32, i32* %15
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds double*, double** %71, i64 %73
%75 = load double*, double** %74
%76 = load i32, i32* %16
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds double, double* %75, i64 %77
%79 = load double, double* %78
%80 = call double @llvm.fabs.f64(double %79)
%81 = load double, double* %19
%82 = fcmp oge double %80, %81
br i1 %82, label %83, label %96
83: ; preds = %70
%84 = load double**, double*** %5
%85 = load i32, i32* %15
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds double*, double** %84, i64 %86
%88 = load double*, double** %87
%89 = load i32, i32* %16
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds double, double* %88, i64 %90
%92 = load double, double* %91
%93 = call double @llvm.fabs.f64(double %92)
store double %93, double* %19
%94 = load i32, i32* %15
store i32 %94, i32* %14
%95 = load i32, i32* %16
store i32 %95, i32* %13
br label %96
96: ; preds = %83, %70
br label %107
97: ; preds = %63
%98 = load i32*, i32** %11
%99 = load i32, i32* %16
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i32, i32* %98, i64 %100
%102 = load i32, i32* %101
%103 = icmp sgt i32 %102, 1
br i1 %103, label %104, label %106
104: ; preds = %97
%105 = call i32 @nrerror(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str, i64 0, i64 0))
br label %106
106: ; preds = %104, %97
br label %107
107: ; preds = %106, %96
br label %108
108: ; preds = %107
%109 = load i32, i32* %16
%110 = add nsw i32 %109, 1
store i32 %110, i32* %16
br label %59
111: ; preds = %59
br label %112
112: ; preds = %111, %51
br label %113
113: ; preds = %112
%114 = load i32, i32* %15
%115 = add nsw i32 %114, 1
store i32 %115, i32* %15
br label %47
116: ; preds = %47
%117 = load i32*, i32** %11
%118 = load i32, i32* %13
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds i32, i32* %117, i64 %119
%121 = load i32, i32* %120
%122 = add nsw i32 %121, 1
store i32 %122, i32* %120
%123 = load i32, i32* %14
%124 = load i32, i32* %13
%125 = icmp ne i32 %123, %124
br i1 %125, label %126, label %215
126: ; preds = %116
store i32 1, i32* %17
br label %127
127: ; preds = %167, %126
%128 = load i32, i32* %17
%129 = load i32, i32* %6
%130 = icmp sle i32 %128, %129
br i1 %130, label %131, label %170
131: ; preds = %127
%132 = load double**, double*** %5
%133 = load i32, i32* %14
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds double*, double** %132, i64 %134
%136 = load double*, double** %135
%137 = load i32, i32* %17
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds double, double* %136, i64 %138
%140 = load double, double* %139
store double %140, double* %22
%141 = load double**, double*** %5
%142 = load i32, i32* %13
%143 = sext i32 %142 to i64
%144 = getelementptr inbounds double*, double** %141, i64 %143
%145 = load double*, double** %144
%146 = load i32, i32* %17
%147 = sext i32 %146 to i64
%148 = getelementptr inbounds double, double* %145, i64 %147
%149 = load double, double* %148
%150 = load double**, double*** %5
%151 = load i32, i32* %14
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds double*, double** %150, i64 %152
%154 = load double*, double** %153
%155 = load i32, i32* %17
%156 = sext i32 %155 to i64
%157 = getelementptr inbounds double, double* %154, i64 %156
store double %149, double* %157
%158 = load double, double* %22
%159 = load double**, double*** %5
%160 = load i32, i32* %13
%161 = sext i32 %160 to i64
%162 = getelementptr inbounds double*, double** %159, i64 %161
%163 = load double*, double** %162
%164 = load i32, i32* %17
%165 = sext i32 %164 to i64
%166 = getelementptr inbounds double, double* %163, i64 %165
store double %158, double* %166
br label %167
167: ; preds = %131
%168 = load i32, i32* %17
%169 = add nsw i32 %168, 1
store i32 %169, i32* %17
br label %127
170: ; preds = %127
store i32 1, i32* %17
br label %171
171: ; preds = %211, %170
%172 = load i32, i32* %17
%173 = load i32, i32* %8
%174 = icmp sle i32 %172, %173
br i1 %174, label %175, label %214
175: ; preds = %171
%176 = load double**, double*** %7
%177 = load i32, i32* %14
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds double*, double** %176, i64 %178
%180 = load double*, double** %179
%181 = load i32, i32* %17
%182 = sext i32 %181 to i64
%183 = getelementptr inbounds double, double* %180, i64 %182
%184 = load double, double* %183
store double %184, double* %22
%185 = load double**, double*** %7
%186 = load i32, i32* %13
%187 = sext i32 %186 to i64
%188 = getelementptr inbounds double*, double** %185, i64 %187
%189 = load double*, double** %188
%190 = load i32, i32* %17
%191 = sext i32 %190 to i64
%192 = getelementptr inbounds double, double* %189, i64 %191
%193 = load double, double* %192
%194 = load double**, double*** %7
%195 = load i32, i32* %14
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds double*, double** %194, i64 %196
%198 = load double*, double** %197
%199 = load i32, i32* %17
%200 = sext i32 %199 to i64
%201 = getelementptr inbounds double, double* %198, i64 %200
store double %193, double* %201
%202 = load double, double* %22
%203 = load double**, double*** %7
%204 = load i32, i32* %13
%205 = sext i32 %204 to i64
%206 = getelementptr inbounds double*, double** %203, i64 %205
%207 = load double*, double** %206
%208 = load i32, i32* %17
%209 = sext i32 %208 to i64
%210 = getelementptr inbounds double, double* %207, i64 %209
store double %202, double* %210
br label %211
211: ; preds = %175
%212 = load i32, i32* %17
%213 = add nsw i32 %212, 1
store i32 %213, i32* %17
br label %171
214: ; preds = %171
br label %215
215: ; preds = %214, %116
%216 = load i32, i32* %14
%217 = load i32*, i32** %10
%218 = load i32, i32* %12
%219 = sext i32 %218 to i64
%220 = getelementptr inbounds i32, i32* %217, i64 %219
store i32 %216, i32* %220
%221 = load i32, i32* %13
%222 = load i32*, i32** %9
%223 = load i32, i32* %12
%224 = sext i32 %223 to i64
%225 = getelementptr inbounds i32, i32* %222, i64 %224
store i32 %221, i32* %225
%226 = load double**, double*** %5
%227 = load i32, i32* %13
%228 = sext i32 %227 to i64
%229 = getelementptr inbounds double*, double** %226, i64 %228
%230 = load double*, double** %229
%231 = load i32, i32* %13
%232 = sext i32 %231 to i64
%233 = getelementptr inbounds double, double* %230, i64 %232
%234 = load double, double* %233
%235 = fcmp oeq double %234, 0.000000e+00
br i1 %235, label %236, label %238
236: ; preds = %215
%237 = call i32 @nrerror(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.1, i64 0, i64 0))
br label %238
238: ; preds = %236, %215
%239 = load double**, double*** %5
%240 = load i32, i32* %13
%241 = sext i32 %240 to i64
%242 = getelementptr inbounds double*, double** %239, i64 %241
%243 = load double*, double** %242
%244 = load i32, i32* %13
%245 = sext i32 %244 to i64
%246 = getelementptr inbounds double, double* %243, i64 %245
%247 = load double, double* %246
%248 = fdiv double 1.000000e+00, %247
store double %248, double* %21
%249 = load double**, double*** %5
%250 = load i32, i32* %13
%251 = sext i32 %250 to i64
%252 = getelementptr inbounds double*, double** %249, i64 %251
%253 = load double*, double** %252
%254 = load i32, i32* %13
%255 = sext i32 %254 to i64
%256 = getelementptr inbounds double, double* %253, i64 %255
store double 1.000000e+00, double* %256
store i32 1, i32* %17
br label %257
257: ; preds = %273, %238
%258 = load i32, i32* %17
%259 = load i32, i32* %6
%260 = icmp sle i32 %258, %259
br i1 %260, label %261, label %276
261: ; preds = %257
%262 = load double, double* %21
%263 = load double**, double*** %5
%264 = load i32, i32* %13
%265 = sext i32 %264 to i64
%266 = getelementptr inbounds double*, double** %263, i64 %265
%267 = load double*, double** %266
%268 = load i32, i32* %17
%269 = sext i32 %268 to i64
%270 = getelementptr inbounds double, double* %267, i64 %269
%271 = load double, double* %270
%272 = fmul double %271, %262
store double %272, double* %270
br label %273
273: ; preds = %261
%274 = load i32, i32* %17
%275 = add nsw i32 %274, 1
store i32 %275, i32* %17
br label %257
276: ; preds = %257
store i32 1, i32* %17
br label %277
277: ; preds = %293, %276
%278 = load i32, i32* %17
%279 = load i32, i32* %8
%280 = icmp sle i32 %278, %279
br i1 %280, label %281, label %296
281: ; preds = %277
%282 = load double, double* %21
%283 = load double**, double*** %7
%284 = load i32, i32* %13
%285 = sext i32 %284 to i64
%286 = getelementptr inbounds double*, double** %283, i64 %285
%287 = load double*, double** %286
%288 = load i32, i32* %17
%289 = sext i32 %288 to i64
%290 = getelementptr inbounds double, double* %287, i64 %289
%291 = load double, double* %290
%292 = fmul double %291, %282
store double %292, double* %290
br label %293
293: ; preds = %281
%294 = load i32, i32* %17
%295 = add nsw i32 %294, 1
store i32 %295, i32* %17
br label %277
296: ; preds = %277
store i32 1, i32* %18
br label %297
297: ; preds = %384, %296
%298 = load i32, i32* %18
%299 = load i32, i32* %6
%300 = icmp sle i32 %298, %299
br i1 %300, label %301, label %387
301: ; preds = %297
%302 = load i32, i32* %18
%303 = load i32, i32* %13
%304 = icmp ne i32 %302, %303
br i1 %304, label %305, label %383
305: ; preds = %301
%306 = load double**, double*** %5
%307 = load i32, i32* %18
%308 = sext i32 %307 to i64
%309 = getelementptr inbounds double*, double** %306, i64 %308
%310 = load double*, double** %309
%311 = load i32, i32* %13
%312 = sext i32 %311 to i64
%313 = getelementptr inbounds double, double* %310, i64 %312
%314 = load double, double* %313
store double %314, double* %20
%315 = load double**, double*** %5
%316 = load i32, i32* %18
%317 = sext i32 %316 to i64
%318 = getelementptr inbounds double*, double** %315, i64 %317
%319 = load double*, double** %318
%320 = load i32, i32* %13
%321 = sext i32 %320 to i64
%322 = getelementptr inbounds double, double* %319, i64 %321
store double 0.000000e+00, double* %322
store i32 1, i32* %17
br label %323
323: ; preds = %349, %305
%324 = load i32, i32* %17
%325 = load i32, i32* %6
%326 = icmp sle i32 %324, %325
br i1 %326, label %327, label %352
327: ; preds = %323
%328 = load double**, double*** %5
%329 = load i32, i32* %13
%330 = sext i32 %329 to i64
%331 = getelementptr inbounds double*, double** %328, i64 %330
%332 = load double*, double** %331
%333 = load i32, i32* %17
%334 = sext i32 %333 to i64
%335 = getelementptr inbounds double, double* %332, i64 %334
%336 = load double, double* %335
%337 = load double, double* %20
%338 = load double**, double*** %5
%339 = load i32, i32* %18
%340 = sext i32 %339 to i64
%341 = getelementptr inbounds double*, double** %338, i64 %340
%342 = load double*, double** %341
%343 = load i32, i32* %17
%344 = sext i32 %343 to i64
%345 = getelementptr inbounds double, double* %342, i64 %344
%346 = load double, double* %345
%347 = fneg double %336
%348 = call double @llvm.fmuladd.f64(double %347, double %337, double %346)
store double %348, double* %345
br label %349
349: ; preds = %327
%350 = load i32, i32* %17
%351 = add nsw i32 %350, 1
store i32 %351, i32* %17
br label %323
352: ; preds = %323
store i32 1, i32* %17
br label %353
353: ; preds = %379, %352
%354 = load i32, i32* %17
%355 = load i32, i32* %8
%356 = icmp sle i32 %354, %355
br i1 %356, label %357, label %382
357: ; preds = %353
%358 = load double**, double*** %7
%359 = load i32, i32* %13
%360 = sext i32 %359 to i64
%361 = getelementptr inbounds double*, double** %358, i64 %360
%362 = load double*, double** %361
%363 = load i32, i32* %17
%364 = sext i32 %363 to i64
%365 = getelementptr inbounds double, double* %362, i64 %364
%366 = load double, double* %365
%367 = load double, double* %20
%368 = load double**, double*** %7
%369 = load i32, i32* %18
%370 = sext i32 %369 to i64
%371 = getelementptr inbounds double*, double** %368, i64 %370
%372 = load double*, double** %371
%373 = load i32, i32* %17
%374 = sext i32 %373 to i64
%375 = getelementptr inbounds double, double* %372, i64 %374
%376 = load double, double* %375
%377 = fneg double %366
%378 = call double @llvm.fmuladd.f64(double %377, double %367, double %376)
store double %378, double* %375
br label %379
379: ; preds = %357
%380 = load i32, i32* %17
%381 = add nsw i32 %380, 1
store i32 %381, i32* %17
br label %353
382: ; preds = %353
br label %383
383: ; preds = %382, %301
br label %384
384: ; preds = %383
%385 = load i32, i32* %18
%386 = add nsw i32 %385, 1
store i32 %386, i32* %18
br label %297
387: ; preds = %297
br label %388
388: ; preds = %387
%389 = load i32, i32* %12
%390 = add nsw i32 %389, 1
store i32 %390, i32* %12
br label %42
391: ; preds = %42
%392 = load i32, i32* %6
store i32 %392, i32* %17
br label %393
393: ; preds = %470, %391
%394 = load i32, i32* %17
%395 = icmp sge i32 %394, 1
br i1 %395, label %396, label %473
396: ; preds = %393
%397 = load i32*, i32** %10
%398 = load i32, i32* %17
%399 = sext i32 %398 to i64
%400 = getelementptr inbounds i32, i32* %397, i64 %399
%401 = load i32, i32* %400
%402 = load i32*, i32** %9
%403 = load i32, i32* %17
%404 = sext i32 %403 to i64
%405 = getelementptr inbounds i32, i32* %402, i64 %404
%406 = load i32, i32* %405
%407 = icmp ne i32 %401, %406
br i1 %407, label %408, label %469
408: ; preds = %396
store i32 1, i32* %16
br label %409
409: ; preds = %465, %408
%410 = load i32, i32* %16
%411 = load i32, i32* %6
%412 = icmp sle i32 %410, %411
br i1 %412, label %413, label %468
413: ; preds = %409
%414 = load double**, double*** %5
%415 = load i32, i32* %16
%416 = sext i32 %415 to i64
%417 = getelementptr inbounds double*, double** %414, i64 %416
%418 = load double*, double** %417
%419 = load i32*, i32** %10
%420 = load i32, i32* %17
%421 = sext i32 %420 to i64
%422 = getelementptr inbounds i32, i32* %419, i64 %421
%423 = load i32, i32* %422
%424 = sext i32 %423 to i64
%425 = getelementptr inbounds double, double* %418, i64 %424
%426 = load double, double* %425
store double %426, double* %22
%427 = load double**, double*** %5
%428 = load i32, i32* %16
%429 = sext i32 %428 to i64
%430 = getelementptr inbounds double*, double** %427, i64 %429
%431 = load double*, double** %430
%432 = load i32*, i32** %9
%433 = load i32, i32* %17
%434 = sext i32 %433 to i64
%435 = getelementptr inbounds i32, i32* %432, i64 %434
%436 = load i32, i32* %435
%437 = sext i32 %436 to i64
%438 = getelementptr inbounds double, double* %431, i64 %437
%439 = load double, double* %438
%440 = load double**, double*** %5
%441 = load i32, i32* %16
%442 = sext i32 %441 to i64
%443 = getelementptr inbounds double*, double** %440, i64 %442
%444 = load double*, double** %443
%445 = load i32*, i32** %10
%446 = load i32, i32* %17
%447 = sext i32 %446 to i64
%448 = getelementptr inbounds i32, i32* %445, i64 %447
%449 = load i32, i32* %448
%450 = sext i32 %449 to i64
%451 = getelementptr inbounds double, double* %444, i64 %450
store double %439, double* %451
%452 = load double, double* %22
%453 = load double**, double*** %5
%454 = load i32, i32* %16
%455 = sext i32 %454 to i64
%456 = getelementptr inbounds double*, double** %453, i64 %455
%457 = load double*, double** %456
%458 = load i32*, i32** %9
%459 = load i32, i32* %17
%460 = sext i32 %459 to i64
%461 = getelementptr inbounds i32, i32* %458, i64 %460
%462 = load i32, i32* %461
%463 = sext i32 %462 to i64
%464 = getelementptr inbounds double, double* %457, i64 %463
store double %452, double* %464
br label %465
465: ; preds = %413
%466 = load i32, i32* %16
%467 = add nsw i32 %466, 1
store i32 %467, i32* %16
br label %409
468: ; preds = %409
br label %469
469: ; preds = %468, %396
br label %470
470: ; preds = %469
%471 = load i32, i32* %17
%472 = add nsw i32 %471, -1
store i32 %472, i32* %17
br label %393
473: ; preds = %393
%474 = load i32*, i32** %11
%475 = load i32, i32* %6
%476 = call i32 @free_ivector(i32* %474, i32 1, i32 %475)
%477 = load i32*, i32** %10
%478 = load i32, i32* %6
%479 = call i32 @free_ivector(i32* %477, i32 1, i32 %478)
%480 = load i32*, i32** %9
%481 = load i32, i32* %6
%482 = call i32 @free_ivector(i32* %480, i32 1, i32 %481)
ret void
}

LLVM IR (-O2):
@.str = [26 x i8] c"gaussj: Singular Matrix-1\00"
@.str.1 = [26 x i8] c"gaussj: Singular Matrix-2\00"
define void @gaussj(double** nocapture %0, i32 %1, double** nocapture %2, i32 %3) {
%5 = tail call i32* @ivector(i32 1, i32 %1)
%6 = tail call i32* @ivector(i32 1, i32 %1)
%7 = tail call i32* @ivector(i32 1, i32 %1)
%8 = icmp slt i32 %1, 1
br i1 %8, label %684, label %9
9: ; preds = %4
%10 = getelementptr i32, i32* %7, i64 1
%11 = bitcast i32* %10 to i8*
%12 = zext i32 %1 to i64
%13 = shl nuw nsw i64 %12, 2
%14 = icmp slt i32 %3, 1
%15 = add nuw i32 %1, 1
%16 = add i32 %3, 1
%17 = zext i32 %15 to i64
%18 = zext i32 %16 to i64
%19 = zext i32 %16 to i64
%20 = zext i32 %16 to i64
%21 = add nsw i64 %18, -1
%22 = add nsw i64 %17, -1
%23 = add nsw i64 %18, -1
%24 = add nsw i64 %17, -1
%25 = add nsw i64 %18, -1
%26 = add nsw i64 %17, -1
%27 = add nsw i64 %17, -5
%28 = lshr i64 %27, 2
%29 = add nuw nsw i64 %28, 1
%30 = add nsw i64 %18, -5
%31 = lshr i64 %30, 2
%32 = add nuw nsw i64 %31, 1
%33 = icmp ult i64 %26, 4
%34 = and i64 %26, -4
%35 = or i64 %34, 1
%36 = and i64 %29, 1
%37 = icmp ult i64 %27, 4
%38 = and i64 %29, 9223372036854775806
%39 = icmp eq i64 %36, 0
%40 = icmp eq i64 %26, %34
%41 = and i64 %17, 1
%42 = icmp eq i64 %41, 0
%43 = sub nsw i64 0, %17
%44 = icmp ult i64 %25, 4
%45 = and i64 %25, -4
%46 = or i64 %45, 1
%47 = and i64 %32, 1
%48 = icmp ult i64 %30, 4
%49 = and i64 %32, 9223372036854775806
%50 = icmp eq i64 %47, 0
%51 = icmp eq i64 %25, %45
%52 = and i64 %18, 1
%53 = icmp eq i64 %52, 0
%54 = sub nsw i64 0, %18
%55 = icmp ult i64 %24, 4
%56 = and i64 %24, -4
%57 = or i64 %56, 1
%58 = and i64 %29, 1
%59 = icmp ult i64 %27, 4
%60 = and i64 %29, 9223372036854775806
%61 = icmp eq i64 %58, 0
%62 = icmp eq i64 %24, %56
%63 = icmp ult i64 %23, 4
%64 = and i64 %23, -4
%65 = or i64 %64, 1
%66 = and i64 %32, 1
%67 = icmp ult i64 %30, 4
%68 = and i64 %32, 9223372036854775806
%69 = icmp eq i64 %66, 0
%70 = icmp eq i64 %23, %64
%71 = icmp ult i64 %22, 4
%72 = and i64 %22, -4
%73 = or i64 %72, 1
%74 = icmp eq i64 %22, %72
%75 = and i64 %17, 1
%76 = icmp eq i64 %75, 0
%77 = sub nsw i64 0, %17
%78 = icmp ult i64 %21, 4
%79 = and i64 %21, -4
%80 = or i64 %79, 1
%81 = icmp eq i64 %21, %79
%82 = and i64 %18, 1
%83 = icmp eq i64 %82, 0
%84 = sub nsw i64 0, %18
br label %85
85: ; preds = %640, %9
%86 = phi i64 [ 1, %9 ], [ %641, %640 ]
%87 = phi i32 [ -1, %9 ], [ %137, %640 ]
%88 = phi i32 [ -1, %9 ], [ %135, %640 ]
br label %97
89: ; preds = %640
%90 = icmp sgt i32 %1, 0
br i1 %90, label %91, label %684
91: ; preds = %89
%92 = zext i32 %1 to i64
%93 = and i64 %26, 1
%94 = icmp eq i32 %15, 2
%95 = and i64 %26, -2
%96 = icmp eq i64 %93, 0
br label %643
97: ; preds = %85, %134
%98 = phi i64 [ 1, %85 ], [ %138, %134 ]
%99 = phi i32 [ %87, %85 ], [ %137, %134 ]
%100 = phi double [ 0.000000e+00, %85 ], [ %136, %134 ]
%101 = phi i32 [ %88, %85 ], [ %135, %134 ]
%102 = getelementptr inbounds i32, i32* %7, i64 %98
%103 = load i32, i32* %102
%104 = icmp eq i32 %103, 1
br i1 %104, label %134, label %105
105: ; preds = %97
%106 = getelementptr inbounds double*, double** %0, i64 %98
%107 = trunc i64 %98 to i32
br label %108
108: ; preds = %105, %128
%109 = phi i64 [ 1, %105 ], [ %132, %128 ]
%110 = phi i32 [ %99, %105 ], [ %131, %128 ]
%111 = phi double [ %100, %105 ], [ %130, %128 ]
%112 = phi i32 [ %101, %105 ], [ %129, %128 ]
%113 = getelementptr inbounds i32, i32* %7, i64 %109
%114 = load i32, i32* %113
%115 = icmp eq i32 %114, 0
br i1 %115, label %116, label %124
116: ; preds = %108
%117 = load double*, double** %106
%118 = getelementptr inbounds double, double* %117, i64 %109
%119 = load double, double* %118
%120 = tail call double @llvm.fabs.f64(double %119)
%121 = fcmp ult double %120, %111
br i1 %121, label %128, label %122
122: ; preds = %116
%123 = trunc i64 %109 to i32
br label %128
124: ; preds = %108
%125 = icmp sgt i32 %114, 1
br i1 %125, label %126, label %128
126: ; preds = %124
%127 = tail call i32 @nrerror(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str, i64 0, i64 0))
br label %128
128: ; preds = %122, %116, %126, %124
%129 = phi i32 [ %107, %122 ], [ %112, %116 ], [ %112, %126 ], [ %112, %124 ]
%130 = phi double [ %120, %122 ], [ %111, %116 ], [ %111, %126 ], [ %111, %124 ]
%131 = phi i32 [ %123, %122 ], [ %110, %116 ], [ %110, %126 ], [ %110, %124 ]
%132 = add nuw nsw i64 %109, 1
%133 = icmp eq i64 %132, %17
br i1 %133, label %134, label %108
134: ; preds = %128, %97
%135 = phi i32 [ %101, %97 ], [ %129, %128 ]
%136 = phi double [ %100, %97 ], [ %130, %128 ]
%137 = phi i32 [ %99, %97 ], [ %131, %128 ]
%138 = add nuw nsw i64 %98, 1
%139 = icmp eq i64 %138, %17
br i1 %139, label %140, label %97
140: ; preds = %134
%141 = sext i32 %137 to i64
%142 = getelementptr inbounds i32, i32* %7, i64 %141
%143 = load i32, i32* %142
%144 = add nsw i32 %143, 1
store i32 %144, i32* %142
%145 = icmp eq i32 %135, %137
br i1 %145, label %349, label %146
146: ; preds = %140
%147 = sext i32 %135 to i64
%148 = getelementptr inbounds double*, double** %0, i64 %147
%149 = load double*, double** %148
%150 = getelementptr inbounds double*, double** %0, i64 %141
%151 = load double*, double** %150
br i1 %33, label %222, label %152
152: ; preds = %146
%153 = getelementptr double, double* %149, i64 1
%154 = getelementptr double, double* %149, i64 %17
%155 = getelementptr double, double* %151, i64 1
%156 = getelementptr double, double* %151, i64 %17
%157 = icmp ult double* %153, %156
%158 = icmp ult double* %155, %154
%159 = and i1 %157, %158
br i1 %159, label %222, label %160
160: ; preds = %152
br i1 %37, label %201, label %161
161: ; preds = %160, %161
%162 = phi i64 [ %198, %161 ], [ 0, %160 ]
%163 = phi i64 [ %199, %161 ], [ 0, %160 ]
%164 = or i64 %162, 1
%165 = getelementptr inbounds double, double* %149, i64 %164
%166 = bitcast double* %165 to <2 x double>*
%167 = load <2 x double>, <2 x double>* %166
%168 = getelementptr inbounds double, double* %165, i64 2
%169 = bitcast double* %168 to <2 x double>*
%170 = load <2 x double>, <2 x double>* %169
%171 = getelementptr inbounds double, double* %151, i64 %164
%172 = bitcast double* %171 to <2 x double>*
%173 = load <2 x double>, <2 x double>* %172
%174 = getelementptr inbounds double, double* %171, i64 2
%175 = bitcast double* %174 to <2 x double>*
%176 = load <2 x double>, <2 x double>* %175
%177 = bitcast double* %165 to <2 x double>*
store <2 x double> %173, <2 x double>* %177
%178 = bitcast double* %168 to <2 x double>*
store <2 x double> %176, <2 x double>* %178
%179 = bitcast double* %171 to <2 x double>*
store <2 x double> %167, <2 x double>* %179
%180 = bitcast double* %174 to <2 x double>*
store <2 x double> %170, <2 x double>* %180
%181 = or i64 %162, 5
%182 = getelementptr inbounds double, double* %149, i64 %181
%183 = bitcast double* %182 to <2 x double>*
%184 = load <2 x double>, <2 x double>* %183
%185 = getelementptr inbounds double, double* %182, i64 2
%186 = bitcast double* %185 to <2 x double>*
%187 = load <2 x double>, <2 x double>* %186
%188 = getelementptr inbounds double, double* %151, i64 %181
%189 = bitcast double* %188 to <2 x double>*
%190 = load <2 x double>, <2 x double>* %189
%191 = getelementptr inbounds double, double* %188, i64 2
%192 = bitcast double* %191 to <2 x double>*
%193 = load <2 x double>, <2 x double>* %192
%194 = bitcast double* %182 to <2 x double>*
store <2 x double> %190, <2 x double>* %194
%195 = bitcast double* %185 to <2 x double>*
store <2 x double> %193, <2 x double>* %195
%196 = bitcast double* %188 to <2 x double>*
store <2 x double> %184, <2 x double>* %196
%197 = bitcast double* %191 to <2 x double>*
store <2 x double> %187, <2 x double>* %197
%198 = add nuw i64 %162, 8
%199 = add i64 %163, 2
%200 = icmp eq i64 %199, %38
br i1 %200, label %201, label %161
201: ; preds = %161, %160
%202 = phi i64 [ 0, %160 ], [ %198, %161 ]
br i1 %39, label %221, label %203
203: ; preds = %201
%204 = or i64 %202, 1
%205 = getelementptr inbounds double, double* %149, i64 %204
%206 = bitcast double* %205 to <2 x double>*
%207 = load <2 x double>, <2 x double>* %206
%208 = getelementptr inbounds double, double* %205, i64 2
%209 = bitcast double* %208 to <2 x double>*
%210 = load <2 x double>, <2 x double>* %209
%211 = getelementptr inbounds double, double* %151, i64 %204
%212 = bitcast double* %211 to <2 x double>*
%213 = load <2 x double>, <2 x double>* %212
%214 = getelementptr inbounds double, double* %211, i64 2
%215 = bitcast double* %214 to <2 x double>*
%216 = load <2 x double>, <2 x double>* %215
%217 = bitcast double* %205 to <2 x double>*
store <2 x double> %213, <2 x double>* %217
%218 = bitcast double* %208 to <2 x double>*
store <2 x double> %216, <2 x double>* %218
%219 = bitcast double* %211 to <2 x double>*
store <2 x double> %207, <2 x double>* %219
%220 = bitcast double* %214 to <2 x double>*
store <2 x double> %210, <2 x double>* %220
br label %221
221: ; preds = %201, %203
br i1 %40, label %234, label %222
222: ; preds = %152, %146, %221
%223 = phi i64 [ 1, %152 ], [ 1, %146 ], [ %35, %221 ]
%224 = xor i64 %223, -1
br i1 %42, label %225, label %231
225: ; preds = %222
%226 = getelementptr inbounds double, double* %149, i64 %223
%227 = load double, double* %226
%228 = getelementptr inbounds double, double* %151, i64 %223
%229 = load double, double* %228
store double %229, double* %226
store double %227, double* %228
%230 = add nuw nsw i64 %223, 1
br label %231
231: ; preds = %225, %222
%232 = phi i64 [ %223, %222 ], [ %230, %225 ]
%233 = icmp eq i64 %224, %43
br i1 %233, label %234, label %323
234: ; preds = %231, %323, %221
br i1 %14, label %349, label %235
235: ; preds = %234
%236 = sext i32 %135 to i64
%237 = getelementptr inbounds double*, double** %2, i64 %236
%238 = load double*, double** %237
%239 = getelementptr inbounds double*, double** %2, i64 %141
%240 = load double*, double** %239
br i1 %44, label %311, label %241
241: ; preds = %235
%242 = getelementptr double, double* %238, i64 1
%243 = getelementptr double, double* %238, i64 %18
%244 = getelementptr double, double* %240, i64 1
%245 = getelementptr double, double* %240, i64 %18
%246 = icmp ult double* %242, %245
%247 = icmp ult double* %244, %243
%248 = and i1 %246, %247
br i1 %248, label %311, label %249
249: ; preds = %241
br i1 %48, label %290, label %250
250: ; preds = %249, %250
%251 = phi i64 [ %287, %250 ], [ 0, %249 ]
%252 = phi i64 [ %288, %250 ], [ 0, %249 ]
%253 = or i64 %251, 1
%254 = getelementptr inbounds double, double* %238, i64 %253
%255 = bitcast double* %254 to <2 x double>*
%256 = load <2 x double>, <2 x double>* %255
%257 = getelementptr inbounds double, double* %254, i64 2
%258 = bitcast double* %257 to <2 x double>*
%259 = load <2 x double>, <2 x double>* %258
%260 = getelementptr inbounds double, double* %240, i64 %253
%261 = bitcast double* %260 to <2 x double>*
%262 = load <2 x double>, <2 x double>* %261
%263 = getelementptr inbounds double, double* %260, i64 2
%264 = bitcast double* %263 to <2 x double>*
%265 = load <2 x double>, <2 x double>* %264
%266 = bitcast double* %254 to <2 x double>*
store <2 x double> %262, <2 x double>* %266
%267 = bitcast double* %257 to <2 x double>*
store <2 x double> %265, <2 x double>* %267
%268 = bitcast double* %260 to <2 x double>*
store <2 x double> %256, <2 x double>* %268
%269 = bitcast double* %263 to <2 x double>*
store <2 x double> %259, <2 x double>* %269
%270 = or i64 %251, 5
%271 = getelementptr inbounds double, double* %238, i64 %270
%272 = bitcast double* %271 to <2 x double>*
%273 = load <2 x double>, <2 x double>* %272
%274 = getelementptr inbounds double, double* %271, i64 2
%275 = bitcast double* %274 to <2 x double>*
%276 = load <2 x double>, <2 x double>* %275
%277 = getelementptr inbounds double, double* %240, i64 %270
%278 = bitcast double* %277 to <2 x double>*
%279 = load <2 x double>, <2 x double>* %278
%280 = getelementptr inbounds double, double* %277, i64 2
%281 = bitcast double* %280 to <2 x double>*
%282 = load <2 x double>, <2 x double>* %281
%283 = bitcast double* %271 to <2 x double>*
store <2 x double> %279, <2 x double>* %283
%284 = bitcast double* %274 to <2 x double>*
store <2 x double> %282, <2 x double>* %284
%285 = bitcast double* %277 to <2 x double>*
store <2 x double> %273, <2 x double>* %285
%286 = bitcast double* %280 to <2 x double>*
store <2 x double> %276, <2 x double>* %286
%287 = add nuw i64 %251, 8
%288 = add i64 %252, 2
%289 = icmp eq i64 %288, %49
br i1 %289, label %290, label %250
290: ; preds = %250, %249
%291 = phi i64 [ 0, %249 ], [ %287, %250 ]
br i1 %50, label %310, label %292
292: ; preds = %290
%293 = or i64 %291, 1
%294 = getelementptr inbounds double, double* %238, i64 %293
%295 = bitcast double* %294 to <2 x double>*
%296 = load <2 x double>, <2 x double>* %295
%297 = getelementptr inbounds double, double* %294, i64 2
%298 = bitcast double* %297 to <2 x double>*
%299 = load <2 x double>, <2 x double>* %298
%300 = getelementptr inbounds double, double* %240, i64 %293
%301 = bitcast double* %300 to <2 x double>*
%302 = load <2 x double>, <2 x double>* %301
%303 = getelementptr inbounds double, double* %300, i64 2
%304 = bitcast double* %303 to <2 x double>*
%305 = load <2 x double>, <2 x double>* %304
%306 = bitcast double* %294 to <2 x double>*
store <2 x double> %302, <2 x double>* %306
%307 = bitcast double* %297 to <2 x double>*
store <2 x double> %305, <2 x double>* %307
%308 = bitcast double* %300 to <2 x double>*
store <2 x double> %296, <2 x double>* %308
%309 = bitcast double* %303 to <2 x double>*
store <2 x double> %299, <2 x double>* %309
br label %310
310: ; preds = %290, %292
br i1 %51, label %349, label %311
311: ; preds = %241, %235, %310
%312 = phi i64 [ 1, %241 ], [ 1, %235 ], [ %46, %310 ]
%313 = xor i64 %312, -1
br i1 %53, label %314, label %320
314: ; preds = %311
%315 = getelementptr inbounds double, double* %238, i64 %312
%316 = load double, double* %315
%317 = getelementptr inbounds double, double* %240, i64 %312
%318 = load double, double* %317
store double %318, double* %315
store double %316, double* %317
%319 = add nuw nsw i64 %312, 1
br label %320
320: ; preds = %314, %311
%321 = phi i64 [ %312, %311 ], [ %319, %314 ]
%322 = icmp eq i64 %313, %54
br i1 %322, label %349, label %336
323: ; preds = %231, %323
%324 = phi i64 [ %334, %323 ], [ %232, %231 ]
%325 = getelementptr inbounds double, double* %149, i64 %324
%326 = load double, double* %325
%327 = getelementptr inbounds double, double* %151, i64 %324
%328 = load double, double* %327
store double %328, double* %325
store double %326, double* %327
%329 = add nuw nsw i64 %324, 1
%330 = getelementptr inbounds double, double* %149, i64 %329
%331 = load double, double* %330
%332 = getelementptr inbounds double, double* %151, i64 %329
%333 = load double, double* %332
store double %333, double* %330
store double %331, double* %332
%334 = add nuw nsw i64 %324, 2
%335 = icmp eq i64 %334, %17
br i1 %335, label %234, label %323
336: ; preds = %320, %336
%337 = phi i64 [ %347, %336 ], [ %321, %320 ]
%338 = getelementptr inbounds double, double* %238, i64 %337
%339 = load double, double* %338
%340 = getelementptr inbounds double, double* %240, i64 %337
%341 = load double, double* %340
store double %341, double* %338
store double %339, double* %340
%342 = add nuw nsw i64 %337, 1
%343 = getelementptr inbounds double, double* %238, i64 %342
%344 = load double, double* %343
%345 = getelementptr inbounds double, double* %240, i64 %342
%346 = load double, double* %345
store double %346, double* %343
store double %344, double* %345
%347 = add nuw nsw i64 %337, 2
%348 = icmp eq i64 %347, %18
br i1 %348, label %349, label %336
349: ; preds = %320, %336, %310, %234, %140
%350 = getelementptr inbounds i32, i32* %6, i64 %86
store i32 %135, i32* %350
%351 = getelementptr inbounds i32, i32* %5, i64 %86
store i32 %137, i32* %351
%352 = getelementptr inbounds double*, double** %0, i64 %141
%353 = load double*, double** %352
%354 = getelementptr inbounds double, double* %353, i64 %141
%355 = load double, double* %354
%356 = fcmp oeq double %355, 0.000000e+00
br i1 %356, label %357, label %362
357: ; preds = %349
%358 = tail call i32 @nrerror(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.1, i64 0, i64 0))
%359 = load double*, double** %352
%360 = getelementptr inbounds double, double* %359, i64 %141
%361 = load double, double* %360
br label %362
362: ; preds = %349, %357
%363 = phi double [ %361, %357 ], [ %355, %349 ]
%364 = phi double* [ %359, %357 ], [ %353, %349 ]
%365 = getelementptr inbounds double, double* %364, i64 %141
%366 = fdiv double 1.000000e+00, %363
store double 1.000000e+00, double* %365
br i1 %55, label %415, label %367
367: ; preds = %362
%368 = insertelement <2 x double> poison, double %366, i64 0
%369 = shufflevector <2 x double> %368, <2 x double> poison, <2 x i32> zeroinitializer
%370 = insertelement <2 x double> poison, double %366, i64 0
%371 = shufflevector <2 x double> %370, <2 x double> poison, <2 x i32> zeroinitializer
br i1 %59, label %400, label %372
372: ; preds = %367, %372
%373 = phi i64 [ %397, %372 ], [ 0, %367 ]
%374 = phi i64 [ %398, %372 ], [ 0, %367 ]
%375 = or i64 %373, 1
%376 = getelementptr inbounds double, double* %364, i64 %375
%377 = bitcast double* %376 to <2 x double>*
%378 = load <2 x double>, <2 x double>* %377
%379 = getelementptr inbounds double, double* %376, i64 2
%380 = bitcast double* %379 to <2 x double>*
%381 = load <2 x double>, <2 x double>* %380
%382 = fmul <2 x double> %369, %378
%383 = fmul <2 x double> %371, %381
%384 = bitcast double* %376 to <2 x double>*
store <2 x double> %382, <2 x double>* %384
%385 = bitcast double* %379 to <2 x double>*
store <2 x double> %383, <2 x double>* %385
%386 = or i64 %373, 5
%387 = getelementptr inbounds double, double* %364, i64 %386
%388 = bitcast double* %387 to <2 x double>*
%389 = load <2 x double>, <2 x double>* %388
%390 = getelementptr inbounds double, double* %387, i64 2
%391 = bitcast double* %390 to <2 x double>*
%392 = load <2 x double>, <2 x double>* %391
%393 = fmul <2 x double> %369, %389
%394 = fmul <2 x double> %371, %392
%395 = bitcast double* %387 to <2 x double>*
store <2 x double> %393, <2 x double>* %395
%396 = bitcast double* %390 to <2 x double>*
store <2 x double> %394, <2 x double>* %396
%397 = add nuw i64 %373, 8
%398 = add i64 %374, 2
%399 = icmp eq i64 %398, %60
br i1 %399, label %400, label %372
400: ; preds = %372, %367
%401 = phi i64 [ 0, %367 ], [ %397, %372 ]
br i1 %61, label %414, label %402
402: ; preds = %400
%403 = or i64 %401, 1
%404 = getelementptr inbounds double, double* %364, i64 %403
%405 = bitcast double* %404 to <2 x double>*
%406 = load <2 x double>, <2 x double>* %405
%407 = getelementptr inbounds double, double* %404, i64 2
%408 = bitcast double* %407 to <2 x double>*
%409 = load <2 x double>, <2 x double>* %408
%410 = fmul <2 x double> %369, %406
%411 = fmul <2 x double> %371, %409
%412 = bitcast double* %404 to <2 x double>*
store <2 x double> %410, <2 x double>* %412
%413 = bitcast double* %407 to <2 x double>*
store <2 x double> %411, <2 x double>* %413
br label %414
414: ; preds = %400, %402
br i1 %62, label %417, label %415
415: ; preds = %362, %414
%416 = phi i64 [ 1, %362 ], [ %57, %414 ]
br label %471
417: ; preds = %471, %414
br i1 %14, label %478, label %418
418: ; preds = %417
%419 = getelementptr inbounds double*, double** %2, i64 %141
%420 = load double*, double** %419
br i1 %63, label %469, label %421
421: ; preds = %418
%422 = insertelement <2 x double> poison, double %366, i64 0
%423 = shufflevector <2 x double> %422, <2 x double> poison, <2 x i32> zeroinitializer
%424 = insertelement <2 x double> poison, double %366, i64 0
%425 = shufflevector <2 x double> %424, <2 x double> poison, <2 x i32> zeroinitializer
br i1 %67, label %454, label %426
426: ; preds = %421, %426
%427 = phi i64 [ %451, %426 ], [ 0, %421 ]
%428 = phi i64 [ %452, %426 ], [ 0, %421 ]
%429 = or i64 %427, 1
%430 = getelementptr inbounds double, double* %420, i64 %429
%431 = bitcast double* %430 to <2 x double>*
%432 = load <2 x double>, <2 x double>* %431
%433 = getelementptr inbounds double, double* %430, i64 2
%434 = bitcast double* %433 to <2 x double>*
%435 = load <2 x double>, <2 x double>* %434
%436 = fmul <2 x double> %423, %432
%437 = fmul <2 x double> %425, %435
%438 = bitcast double* %430 to <2 x double>*
store <2 x double> %436, <2 x double>* %438
%439 = bitcast double* %433 to <2 x double>*
store <2 x double> %437, <2 x double>* %439
%440 = or i64 %427, 5
%441 = getelementptr inbounds double, double* %420, i64 %440
%442 = bitcast double* %441 to <2 x double>*
%443 = load <2 x double>, <2 x double>* %442
%444 = getelementptr inbounds double, double* %441, i64 2
%445 = bitcast double* %444 to <2 x double>*
%446 = load <2 x double>, <2 x double>* %445
%447 = fmul <2 x double> %423, %443
%448 = fmul <2 x double> %425, %446
%449 = bitcast double* %441 to <2 x double>*
store <2 x double> %447, <2 x double>* %449
%450 = bitcast double* %444 to <2 x double>*
store <2 x double> %448, <2 x double>* %450
%451 = add nuw i64 %427, 8
%452 = add i64 %428, 2
%453 = icmp eq i64 %452, %68
br i1 %453, label %454, label %426
454: ; preds = %426, %421
%455 = phi i64 [ 0, %421 ], [ %451, %426 ]
br i1 %69, label %468, label %456
456: ; preds = %454
%457 = or i64 %455, 1
%458 = getelementptr inbounds double, double* %420, i64 %457
%459 = bitcast double* %458 to <2 x double>*
%460 = load <2 x double>, <2 x double>* %459
%461 = getelementptr inbounds double, double* %458, i64 2
%462 = bitcast double* %461 to <2 x double>*
%463 = load <2 x double>, <2 x double>* %462
%464 = fmul <2 x double> %423, %460
%465 = fmul <2 x double> %425, %463
%466 = bitcast double* %458 to <2 x double>*
store <2 x double> %464, <2 x double>* %466
%467 = bitcast double* %461 to <2 x double>*
store <2 x double> %465, <2 x double>* %467
br label %468
468: ; preds = %454, %456
br i1 %70, label %478, label %469
469: ; preds = %418, %468
%470 = phi i64 [ 1, %418 ], [ %65, %468 ]
br label %483
471: ; preds = %415, %471
%472 = phi i64 [ %476, %471 ], [ %416, %415 ]
%473 = getelementptr inbounds double, double* %364, i64 %472
%474 = load double, double* %473
%475 = fmul double %366, %474
store double %475, double* %473
%476 = add nuw nsw i64 %472, 1
%477 = icmp eq i64 %476, %17
br i1 %477, label %417, label %471
478: ; preds = %483, %468, %417
%479 = getelementptr inbounds double*, double** %2, i64 %141
%480 = zext i32 %137 to i64
%481 = getelementptr double, double* %364, i64 1
%482 = getelementptr double, double* %364, i64 %17
br label %490
483: ; preds = %469, %483
%484 = phi i64 [ %488, %483 ], [ %470, %469 ]
%485 = getelementptr inbounds double, double* %420, i64 %484
%486 = load double, double* %485
%487 = fmul double %366, %486
store double %487, double* %485
%488 = add nuw nsw i64 %484, 1
%489 = icmp eq i64 %488, %19
br i1 %489, label %478, label %483
490: ; preds = %478, %637
%491 = phi i64 [ 1, %478 ], [ %638, %637 ]
%492 = icmp eq i64 %491, %480
br i1 %492, label %637, label %493
493: ; preds = %490
%494 = getelementptr inbounds double*, double** %0, i64 %491
%495 = load double*, double** %494
%496 = getelementptr inbounds double, double* %495, i64 %141
%497 = load double, double* %496
store double 0.000000e+00, double* %496
br i1 %71, label %533, label %498
498: ; preds = %493
%499 = getelementptr double, double* %495, i64 1
%500 = getelementptr double, double* %495, i64 %17
%501 = icmp ult double* %499, %482
%502 = icmp ult double* %481, %500
%503 = and i1 %501, %502
br i1 %503, label %533, label %504
504: ; preds = %498
%505 = insertelement <2 x double> poison, double %497, i64 0
%506 = shufflevector <2 x double> %505, <2 x double> poison, <2 x i32> zeroinitializer
%507 = insertelement <2 x double> poison, double %497, i64 0
%508 = shufflevector <2 x double> %507, <2 x double> poison, <2 x i32> zeroinitializer
br label %509
509: ; preds = %509, %504
%510 = phi i64 [ 0, %504 ], [ %530, %509 ]
%511 = or i64 %510, 1
%512 = getelementptr inbounds double, double* %364, i64 %511
%513 = bitcast double* %512 to <2 x double>*
%514 = load <2 x double>, <2 x double>* %513
%515 = getelementptr inbounds double, double* %512, i64 2
%516 = bitcast double* %515 to <2 x double>*
%517 = load <2 x double>, <2 x double>* %516
%518 = getelementptr inbounds double, double* %495, i64 %511
%519 = bitcast double* %518 to <2 x double>*
%520 = load <2 x double>, <2 x double>* %519
%521 = getelementptr inbounds double, double* %518, i64 2
%522 = bitcast double* %521 to <2 x double>*
%523 = load <2 x double>, <2 x double>* %522
%524 = fneg <2 x double> %514
%525 = fneg <2 x double> %517
%526 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %524, <2 x double> %506, <2 x double> %520)
%527 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %525, <2 x double> %508, <2 x double> %523)
%528 = bitcast double* %518 to <2 x double>*
store <2 x double> %526, <2 x double>* %528
%529 = bitcast double* %521 to <2 x double>*
store <2 x double> %527, <2 x double>* %529
%530 = add nuw i64 %510, 4
%531 = icmp eq i64 %530, %72
br i1 %531, label %532, label %509
532: ; preds = %509
br i1 %74, label %547, label %533
533: ; preds = %498, %493, %532
%534 = phi i64 [ 1, %498 ], [ 1, %493 ], [ %73, %532 ]
%535 = xor i64 %534, -1
br i1 %76, label %536, label %544
536: ; preds = %533
%537 = getelementptr inbounds double, double* %364, i64 %534
%538 = load double, double* %537
%539 = getelementptr inbounds double, double* %495, i64 %534
%540 = load double, double* %539
%541 = fneg double %538
%542 = tail call double @llvm.fmuladd.f64(double %541, double %497, double %540)
store double %542, double* %539
%543 = add nuw nsw i64 %534, 1
br label %544
544: ; preds = %536, %533
%545 = phi i64 [ %534, %533 ], [ %543, %536 ]
%546 = icmp eq i64 %535, %77
br i1 %546, label %547, label %603
547: ; preds = %544, %603, %532
br i1 %14, label %637, label %548
548: ; preds = %547
%549 = load double*, double** %479
%550 = getelementptr inbounds double*, double** %2, i64 %491
%551 = load double*, double** %550
br i1 %78, label %589, label %552
552: ; preds = %548
%553 = getelementptr double, double* %551, i64 1
%554 = getelementptr double, double* %551, i64 %18
%555 = getelementptr double, double* %549, i64 1
%556 = getelementptr double, double* %549, i64 %18
%557 = icmp ult double* %553, %556
%558 = icmp ult double* %555, %554
%559 = and i1 %557, %558
br i1 %559, label %589, label %560
560: ; preds = %552
%561 = insertelement <2 x double> poison, double %497, i64 0
%562 = shufflevector <2 x double> %561, <2 x double> poison, <2 x i32> zeroinitializer
%563 = insertelement <2 x double> poison, double %497, i64 0
%564 = shufflevector <2 x double> %563, <2 x double> poison, <2 x i32> zeroinitializer
br label %565
565: ; preds = %565, %560
%566 = phi i64 [ 0, %560 ], [ %586, %565 ]
%567 = or i64 %566, 1
%568 = getelementptr inbounds double, double* %549, i64 %567
%569 = bitcast double* %568 to <2 x double>*
%570 = load <2 x double>, <2 x double>* %569
%571 = getelementptr inbounds double, double* %568, i64 2
%572 = bitcast double* %571 to <2 x double>*
%573 = load <2 x double>, <2 x double>* %572
%574 = getelementptr inbounds double, double* %551, i64 %567
%575 = bitcast double* %574 to <2 x double>*
%576 = load <2 x double>, <2 x double>* %575
%577 = getelementptr inbounds double, double* %574, i64 2
%578 = bitcast double* %577 to <2 x double>*
%579 = load <2 x double>, <2 x double>* %578
%580 = fneg <2 x double> %570
%581 = fneg <2 x double> %573
%582 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %580, <2 x double> %562, <2 x double> %576)
%583 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %581, <2 x double> %564, <2 x double> %579)
%584 = bitcast double* %574 to <2 x double>*
store <2 x double> %582, <2 x double>* %584
%585 = bitcast double* %577 to <2 x double>*
store <2 x double> %583, <2 x double>* %585
%586 = add nuw i64 %566, 4
%587 = icmp eq i64 %586, %79
br i1 %587, label %588, label %565
588: ; preds = %565
br i1 %81, label %637, label %589
589: ; preds = %552, %548, %588
%590 = phi i64 [ 1, %552 ], [ 1, %548 ], [ %80, %588 ]
%591 = xor i64 %590, -1
br i1 %83, label %592, label %600
592: ; preds = %589
%593 = getelementptr inbounds double, double* %549, i64 %590
%594 = load double, double* %593
%595 = getelementptr inbounds double, double* %551, i64 %590
%596 = load double, double* %595
%597 = fneg double %594
%598 = tail call double @llvm.fmuladd.f64(double %597, double %497, double %596)
store double %598, double* %595
%599 = add nuw nsw i64 %590, 1
br label %600
600: ; preds = %592, %589
%601 = phi i64 [ %590, %589 ], [ %599, %592 ]
%602 = icmp eq i64 %591, %84
br i1 %602, label %637, label %620
603: ; preds = %544, %603
%604 = phi i64 [ %618, %603 ], [ %545, %544 ]
%605 = getelementptr inbounds double, double* %364, i64 %604
%606 = load double, double* %605
%607 = getelementptr inbounds double, double* %495, i64 %604
%608 = load double, double* %607
%609 = fneg double %606
%610 = tail call double @llvm.fmuladd.f64(double %609, double %497, double %608)
store double %610, double* %607
%611 = add nuw nsw i64 %604, 1
%612 = getelementptr inbounds double, double* %364, i64 %611
%613 = load double, double* %612
%614 = getelementptr inbounds double, double* %495, i64 %611
%615 = load double, double* %614
%616 = fneg double %613
%617 = tail call double @llvm.fmuladd.f64(double %616, double %497, double %615)
store double %617, double* %614
%618 = add nuw nsw i64 %604, 2
%619 = icmp eq i64 %618, %17
br i1 %619, label %547, label %603
620: ; preds = %600, %620
%621 = phi i64 [ %635, %620 ], [ %601, %600 ]
%622 = getelementptr inbounds double, double* %549, i64 %621
%623 = load double, double* %622
%624 = getelementptr inbounds double, double* %551, i64 %621
%625 = load double, double* %624
%626 = fneg double %623
%627 = tail call double @llvm.fmuladd.f64(double %626, double %497, double %625)
store double %627, double* %624
%628 = add nuw nsw i64 %621, 1
%629 = getelementptr inbounds double, double* %549, i64 %628
%630 = load double, double* %629
%631 = getelementptr inbounds double, double* %551, i64 %628
%632 = load double, double* %631
%633 = fneg double %630
%634 = tail call double @llvm.fmuladd.f64(double %633, double %497, double %632)
store double %634, double* %631
%635 = add nuw nsw i64 %621, 2
%636 = icmp eq i64 %635, %20
br i1 %636, label %637, label %620
637: ; preds = %600, %620, %588, %547, %490
%638 = add nuw nsw i64 %491, 1
%639 = icmp eq i64 %638, %17
br i1 %639, label %640, label %490
640: ; preds = %637
%641 = add nuw nsw i64 %86, 1
%642 = icmp eq i64 %641, %17
br i1 %642, label %89, label %85
643: ; preds = %91, %681
%644 = phi i64 [ %92, %91 ], [ %682, %681 ]
%645 = getelementptr inbounds i32, i32* %6, i64 %644
%646 = load i32, i32* %645
%647 = getelementptr inbounds i32, i32* %5, i64 %644
%648 = load i32, i32* %647
%649 = icmp eq i32 %646, %648
br i1 %649, label %681, label %650
650: ; preds = %643
%651 = sext i32 %646 to i64
%652 = sext i32 %648 to i64
br i1 %94, label %672, label %653
653: ; preds = %650, %653
%654 = phi i64 [ %669, %653 ], [ 1, %650 ]
%655 = phi i64 [ %670, %653 ], [ 0, %650 ]
%656 = getelementptr inbounds double*, double** %0, i64 %654
%657 = load double*, double** %656
%658 = getelementptr inbounds double, double* %657, i64 %651
%659 = load double, double* %658
%660 = getelementptr inbounds double, double* %657, i64 %652
%661 = load double, double* %660
store double %661, double* %658
store double %659, double* %660
%662 = add nuw nsw i64 %654, 1
%663 = getelementptr inbounds double*, double** %0, i64 %662
%664 = load double*, double** %663
%665 = getelementptr inbounds double, double* %664, i64 %651
%666 = load double, double* %665
%667 = getelementptr inbounds double, double* %664, i64 %652
%668 = load double, double* %667
store double %668, double* %665
store double %666, double* %667
%669 = add nuw nsw i64 %654, 2
%670 = add i64 %655, 2
%671 = icmp eq i64 %670, %95
br i1 %671, label %672, label %653
672: ; preds = %653, %650
%673 = phi i64 [ 1, %650 ], [ %669, %653 ]
br i1 %96, label %681, label %674
674: ; preds = %672
%675 = getelementptr inbounds double*, double** %0, i64 %673
%676 = load double*, double** %675
%677 = getelementptr inbounds double, double* %676, i64 %651
%678 = load double, double* %677
%679 = getelementptr inbounds double, double* %676, i64 %652
%680 = load double, double* %679
store double %680, double* %677
store double %678, double* %679
br label %681
681: ; preds = %674, %672, %643
%682 = add nsw i64 %644, -1
%683 = icmp sgt i64 %644, 1
br i1 %683, label %643, label %684
684: ; preds = %681, %4, %89
%685 = tail call i32 @free_ivector(i32* %7, i32 1, i32 %1)
%686 = tail call i32 @free_ivector(i32* %6, i32 1, i32 %1)
%687 = tail call i32 @free_ivector(i32* %5, i32 1, i32 %1)
ret void
}