#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 matInverse2(double m[16], double r[16]) {
  double a[4][4];
  int indxc[4], indxr[4], ipiv[4];
  int i, icol, irow, j, k, l, ll;
  double big, dum, pivinv, temp;
  double b[][1] = {{0.0}, {0.0}, {0.0}, {0.0}};
  for (i = 0; i < 4; i++)
    for (j = 0; j < 4; j++)
      a[i][j] = m[i * 4 + j];
  for (j = 0; j < 4; j++)
    ipiv[j] = 0;
  for (i = 0; i < 4; i++) {
    big = 0.0;
    for (j = 0; j < 4; j++)
      if (ipiv[j] != 1)
        for (k = 0; k < 4; 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) {
            return -1;
          }
        }
    ++(ipiv[icol]);
    if (irow != icol) {
      for (l = 0; l < 4; l++) {
        temp = (a[irow][l]);
        (a[irow][l]) = (a[icol][l]);
        (a[icol][l]) = temp;
      };
      for (l = 0; l < 1; 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) {
      return -1;
    }
    pivinv = 1.0 / a[icol][icol];
    a[icol][icol] = 1.0;
    for (l = 0; l < 4; l++)
      a[icol][l] *= pivinv;
    for (l = 0; l < 1; l++)
      b[icol][l] *= pivinv;
    for (ll = 0; ll < 4; ll++)
      if (ll != icol) {
        dum = a[ll][icol];
        a[ll][icol] = 0.0;
        for (l = 0; l < 4; l++)
          a[ll][l] -= a[icol][l] * dum;
        for (l = 0; l < 1; l++)
          b[ll][l] -= b[icol][l] * dum;
      }
  }
  for (l = 3; l >= 0; l--) {
    if (indxr[l] != indxc[l])
      for (k = 0; k < 4; k++) {
        temp = (a[k][indxr[l]]);
        (a[k][indxr[l]]) = (a[k][indxc[l]]);
        (a[k][indxc[l]]) = temp;
      };
  }
  for (i = 0; i < 4; i++)
    for (j = 0; j < 4; j++)
      r[i * 4 + j] = a[i][j];
  return 0;
}


x86 assembly (clang, -O0):
<matInverse2>:
push   %rbp
mov    %rsp,%rbp
sub    $0x130,%rsp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
lea    -0x130(%rbp),%rdi
xor    %esi,%esi
mov    $0x20,%edx
call   1030 <memset@plt>
movl   $0x0,-0xd4(%rbp)
cmpl   $0x4,-0xd4(%rbp)
jge    11cd <matInverse2+0xbd>
movl   $0x0,-0xe0(%rbp)
cmpl   $0x4,-0xe0(%rbp)
jge    11b4 <matInverse2+0xa4>
mov    -0x10(%rbp),%rax
mov    -0xd4(%rbp),%ecx
shl    $0x2,%ecx
add    -0xe0(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
movslq -0xd4(%rbp),%rcx
lea    -0xa0(%rbp),%rax
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0xe0(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0xe0(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xe0(%rbp)
jmp    1157 <matInverse2+0x47>
jmp    11b9 <matInverse2+0xa9>
mov    -0xd4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xd4(%rbp)
jmp    1140 <matInverse2+0x30>
movl   $0x0,-0xe0(%rbp)
cmpl   $0x4,-0xe0(%rbp)
jge    120a <matInverse2+0xfa>
movslq -0xe0(%rbp),%rax
movl   $0x0,-0xd0(%rbp,%rax,4)
mov    -0xe0(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xe0(%rbp)
jmp    11d7 <matInverse2+0xc7>
movl   $0x0,-0xd4(%rbp)
cmpl   $0x4,-0xd4(%rbp)
jge    186c <matInverse2+0x75c>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xf8(%rbp)
ff
movl   $0x0,-0xe0(%rbp)
cmpl   $0x4,-0xe0(%rbp)
jge    136c <matInverse2+0x25c>
movslq -0xe0(%rbp),%rax
cmpl   $0x1,-0xd0(%rbp,%rax,4)
01
je     1353 <matInverse2+0x243>
movl   $0x0,-0xe4(%rbp)
cmpl   $0x4,-0xe4(%rbp)
jge    134e <matInverse2+0x23e>
movslq -0xe4(%rbp),%rax
cmpl   $0x0,-0xd0(%rbp,%rax,4)
jne    130f <matInverse2+0x1ff>
movslq -0xe0(%rbp),%rcx
lea    -0xa0(%rbp),%rax
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0xe4(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movaps 0xd64(%rip),%xmm1
pand   %xmm1,%xmm0
ucomisd -0xf8(%rbp),%xmm0
ff
jb     130a <matInverse2+0x1fa>
movslq -0xe0(%rbp),%rcx
lea    -0xa0(%rbp),%rax
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0xe4(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movaps 0xd2a(%rip),%xmm1
pand   %xmm1,%xmm0
movsd  %xmm0,-0xf8(%rbp)
ff
mov    -0xe0(%rbp),%eax
mov    %eax,-0xdc(%rbp)
mov    -0xe4(%rbp),%eax
mov    %eax,-0xd8(%rbp)
jmp    1335 <matInverse2+0x225>
movslq -0xe4(%rbp),%rax
cmpl   $0x1,-0xd0(%rbp,%rax,4)
01
jle    1330 <matInverse2+0x220>
movl   $0xffffffff,-0x4(%rbp)
jmp    1a40 <matInverse2+0x930>
jmp    1335 <matInverse2+0x225>
jmp    133a <matInverse2+0x22a>
mov    -0xe4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xe4(%rbp)
jmp    1262 <matInverse2+0x152>
jmp    1353 <matInverse2+0x243>
jmp    1358 <matInverse2+0x248>
mov    -0xe0(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xe0(%rbp)
jmp    1236 <matInverse2+0x126>
movslq -0xd8(%rbp),%rax
mov    -0xd0(%rbp,%rax,4),%ecx
add    $0x1,%ecx
mov    %ecx,-0xd0(%rbp,%rax,4)
mov    -0xdc(%rbp),%eax
cmp    -0xd8(%rbp),%eax
je     1519 <matInverse2+0x409>
movl   $0x0,-0xe8(%rbp)
cmpl   $0x4,-0xe8(%rbp)
jge    1455 <matInverse2+0x345>
movslq -0xdc(%rbp),%rcx
lea    -0xa0(%rbp),%rax
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0xe8(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x110(%rbp)
ff
movslq -0xd8(%rbp),%rcx
lea    -0xa0(%rbp),%rax
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0xe8(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movslq -0xdc(%rbp),%rcx
lea    -0xa0(%rbp),%rax
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0xe8(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x110(%rbp),%xmm0
ff
movslq -0xd8(%rbp),%rcx
lea    -0xa0(%rbp),%rax
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0xe8(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0xe8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xe8(%rbp)
jmp    13a0 <matInverse2+0x290>
movl   $0x0,-0xe8(%rbp)
cmpl   $0x1,-0xe8(%rbp)
jge    1514 <matInverse2+0x404>
movslq -0xdc(%rbp),%rcx
lea    -0x130(%rbp),%rax
shl    $0x3,%rcx
add    %rcx,%rax
movslq -0xe8(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x110(%rbp)
ff
movslq -0xd8(%rbp),%rcx
lea    -0x130(%rbp),%rax
shl    $0x3,%rcx
add    %rcx,%rax
movslq -0xe8(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movslq -0xdc(%rbp),%rcx
lea    -0x130(%rbp),%rax
shl    $0x3,%rcx
add    %rcx,%rax
movslq -0xe8(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x110(%rbp),%xmm0
ff
movslq -0xd8(%rbp),%rcx
lea    -0x130(%rbp),%rax
shl    $0x3,%rcx
add    %rcx,%rax
movslq -0xe8(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0xe8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xe8(%rbp)
jmp    145f <matInverse2+0x34f>
jmp    1519 <matInverse2+0x409>
mov    -0xdc(%rbp),%ecx
movslq -0xd4(%rbp),%rax
mov    %ecx,-0xc0(%rbp,%rax,4)
mov    -0xd8(%rbp),%ecx
movslq -0xd4(%rbp),%rax
mov    %ecx,-0xb0(%rbp,%rax,4)
movslq -0xd8(%rbp),%rcx
lea    -0xa0(%rbp),%rax
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0xd8(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    1581 <matInverse2+0x471>
jp     1581 <matInverse2+0x471>
movl   $0xffffffff,-0x4(%rbp)
jmp    1a40 <matInverse2+0x930>
movslq -0xd8(%rbp),%rcx
lea    -0xa0(%rbp),%rax
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0xd8(%rbp),%rcx
movsd  0xa5b(%rip),%xmm0
divsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x108(%rbp)
ff
movslq -0xd8(%rbp),%rcx
lea    -0xa0(%rbp),%rax
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0xd8(%rbp),%rcx
movsd  0xa2a(%rip),%xmm0
movsd  %xmm0,(%rax,%rcx,8)
movl   $0x0,-0xe8(%rbp)
cmpl   $0x4,-0xe8(%rbp)
jge    1634 <matInverse2+0x524>
movsd  -0x108(%rbp),%xmm0
ff
movslq -0xd8(%rbp),%rcx
lea    -0xa0(%rbp),%rax
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0xe8(%rbp),%rcx
mulsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0xe8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xe8(%rbp)
jmp    15e5 <matInverse2+0x4d5>
movl   $0x0,-0xe8(%rbp)
cmpl   $0x1,-0xe8(%rbp)
jge    168d <matInverse2+0x57d>
movsd  -0x108(%rbp),%xmm0
ff
movslq -0xd8(%rbp),%rcx
lea    -0x130(%rbp),%rax
shl    $0x3,%rcx
add    %rcx,%rax
movslq -0xe8(%rbp),%rcx
mulsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0xe8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xe8(%rbp)
jmp    163e <matInverse2+0x52e>
movl   $0x0,-0xec(%rbp)
cmpl   $0x4,-0xec(%rbp)
jge    1853 <matInverse2+0x743>
mov    -0xec(%rbp),%eax
cmp    -0xd8(%rbp),%eax
je     183a <matInverse2+0x72a>
movslq -0xec(%rbp),%rcx
lea    -0xa0(%rbp),%rax
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0xd8(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x100(%rbp)
ff
movslq -0xec(%rbp),%rcx
lea    -0xa0(%rbp),%rax
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0xd8(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
movl   $0x0,-0xe8(%rbp)
cmpl   $0x4,-0xe8(%rbp)
jge    179c <matInverse2+0x68c>
movslq -0xd8(%rbp),%rcx
lea    -0xa0(%rbp),%rax
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0xe8(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  -0x100(%rbp),%xmm2
ff
movslq -0xec(%rbp),%rcx
lea    -0xa0(%rbp),%rax
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0xe8(%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    -0xe8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xe8(%rbp)
jmp    170d <matInverse2+0x5fd>
movl   $0x0,-0xe8(%rbp)
cmpl   $0x1,-0xe8(%rbp)
jge    1835 <matInverse2+0x725>
movslq -0xd8(%rbp),%rcx
lea    -0x130(%rbp),%rax
shl    $0x3,%rcx
add    %rcx,%rax
movslq -0xe8(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  -0x100(%rbp),%xmm2
ff
movslq -0xec(%rbp),%rcx
lea    -0x130(%rbp),%rax
shl    $0x3,%rcx
add    %rcx,%rax
movslq -0xe8(%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    -0xe8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xe8(%rbp)
jmp    17a6 <matInverse2+0x696>
jmp    183a <matInverse2+0x72a>
jmp    183f <matInverse2+0x72f>
mov    -0xec(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xec(%rbp)
jmp    1697 <matInverse2+0x587>
jmp    1858 <matInverse2+0x748>
mov    -0xd4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xd4(%rbp)
jmp    1214 <matInverse2+0x104>
movl   $0x3,-0xe8(%rbp)
cmpl   $0x0,-0xe8(%rbp)
jl     19a2 <matInverse2+0x892>
movslq -0xe8(%rbp),%rax
mov    -0xc0(%rbp,%rax,4),%eax
movslq -0xe8(%rbp),%rcx
cmp    -0xb0(%rbp,%rcx,4),%eax
je     1989 <matInverse2+0x879>
movl   $0x0,-0xe4(%rbp)
cmpl   $0x4,-0xe4(%rbp)
jge    1984 <matInverse2+0x874>
movslq -0xe4(%rbp),%rcx
lea    -0xa0(%rbp),%rax
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0xe8(%rbp),%rcx
movslq -0xc0(%rbp,%rcx,4),%rcx
ff
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x110(%rbp)
ff
movslq -0xe4(%rbp),%rcx
lea    -0xa0(%rbp),%rax
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0xe8(%rbp),%rcx
movslq -0xb0(%rbp,%rcx,4),%rcx
ff
movsd  (%rax,%rcx,8),%xmm0
movslq -0xe4(%rbp),%rcx
lea    -0xa0(%rbp),%rax
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0xe8(%rbp),%rcx
movslq -0xc0(%rbp,%rcx,4),%rcx
ff
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x110(%rbp),%xmm0
ff
movslq -0xe4(%rbp),%rcx
lea    -0xa0(%rbp),%rax
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0xe8(%rbp),%rcx
movslq -0xb0(%rbp,%rcx,4),%rcx
ff
movsd  %xmm0,(%rax,%rcx,8)
mov    -0xe4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xe4(%rbp)
jmp    18af <matInverse2+0x79f>
jmp    1989 <matInverse2+0x879>
jmp    198e <matInverse2+0x87e>
mov    -0xe8(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0xe8(%rbp)
jmp    1876 <matInverse2+0x766>
movl   $0x0,-0xd4(%rbp)
cmpl   $0x4,-0xd4(%rbp)
jge    1a39 <matInverse2+0x929>
movl   $0x0,-0xe0(%rbp)
cmpl   $0x4,-0xe0(%rbp)
jge    1a20 <matInverse2+0x910>
movslq -0xd4(%rbp),%rcx
lea    -0xa0(%rbp),%rax
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0xe0(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
mov    -0xd4(%rbp),%ecx
shl    $0x2,%ecx
add    -0xe0(%rbp),%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0xe0(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xe0(%rbp)
jmp    19c3 <matInverse2+0x8b3>
jmp    1a25 <matInverse2+0x915>
mov    -0xd4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xd4(%rbp)
jmp    19ac <matInverse2+0x89c>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x130,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<matInverse2>:
push   %rbx
sub    $0x50,%rsp
xorpd  %xmm0,%xmm0
movapd %xmm0,0x10(%rsp)
movapd %xmm0,(%rsp)
movups (%rdi),%xmm1
movups 0x10(%rdi),%xmm2
movupd 0x20(%rdi),%xmm3
movupd 0x30(%rdi),%xmm4
movaps %xmm1,-0x80(%rsp)
movaps %xmm2,-0x70(%rsp)
movapd %xmm3,-0x60(%rsp)
movapd %xmm4,-0x50(%rsp)
movups 0x40(%rdi),%xmm1
movaps %xmm1,-0x40(%rsp)
movups 0x50(%rdi),%xmm1
movaps %xmm1,-0x30(%rsp)
movups 0x60(%rdi),%xmm1
movaps %xmm1,-0x20(%rsp)
movups 0x70(%rdi),%xmm1
movaps %xmm1,-0x10(%rsp)
movapd %xmm0,0x20(%rsp)
xor    %ebx,%ebx
xorpd  %xmm0,%xmm0
movsd  0xe9d(%rip),%xmm1
movabs $0x3ff0000000000000,%r8
movapd 0xe7b(%rip),%xmm2
jmp    11f6 <matInverse2+0xf6>
nopw   0x0(%rax,%rax,1)
movsd  -0x20(%rsp,%rax,8),%xmm3
movq   $0x0,-0x20(%rsp,%rax,8)
movapd %xmm3,%xmm4
unpcklpd %xmm3,%xmm4
movapd (%rdx),%xmm5
mulpd  %xmm4,%xmm5
movapd -0x20(%rsp),%xmm6
subpd  %xmm5,%xmm6
movapd -0x10(%rsp),%xmm5
movapd %xmm6,-0x20(%rsp)
mulpd  (%rdi),%xmm4
subpd  %xmm4,%xmm5
movapd %xmm5,-0x10(%rsp)
movsd  0x18(%rsp),%xmm4
mulsd  (%rsp,%rax,8),%xmm3
subsd  %xmm3,%xmm4
movsd  %xmm4,0x18(%rsp)
add    $0x1,%rbx
cmp    $0x4,%rbx
je     1756 <matInverse2+0x656>
mov    0x20(%rsp),%ecx
mov    0x24(%rsp),%edx
mov    0x28(%rsp),%edi
mov    0x2c(%rsp),%r11d
cmp    $0x1,%ecx
jne    1220 <matInverse2+0x120>
xorpd  %xmm3,%xmm3
jmp    12e0 <matInverse2+0x1e0>
cs nopw 0x0(%rax,%rax,1)
nop
test   %ecx,%ecx
je     123f <matInverse2+0x13f>
xorpd  %xmm3,%xmm3
cmp    $0x1,%ecx
jg     174b <matInverse2+0x64b>
test   %edx,%edx
je     125d <matInverse2+0x15d>
cmp    $0x1,%edx
jle    1280 <matInverse2+0x180>
jmp    174b <matInverse2+0x64b>
movsd  -0x80(%rsp),%xmm3
ucomisd %xmm3,%xmm3
jp     173a <matInverse2+0x63a>
andpd  %xmm2,%xmm3
xor    %r9d,%r9d
xor    %r10d,%r10d
test   %edx,%edx
jne    1235 <matInverse2+0x135>
movsd  -0x78(%rsp),%xmm4
andpd  %xmm2,%xmm4
ucomisd %xmm3,%xmm4
jb     1280 <matInverse2+0x180>
xor    %r10d,%r10d
mov    $0x1,%r9d
movapd %xmm4,%xmm3
nopw   0x0(%rax,%rax,1)
test   %edi,%edi
je     128e <matInverse2+0x18e>
cmp    $0x1,%edi
jle    12b0 <matInverse2+0x1b0>
jmp    174b <matInverse2+0x64b>
movsd  -0x70(%rsp),%xmm4
andpd  %xmm2,%xmm4
ucomisd %xmm3,%xmm4
jb     12b0 <matInverse2+0x1b0>
xor    %r10d,%r10d
mov    $0x2,%r9d
movapd %xmm4,%xmm3
nopl   0x0(%rax,%rax,1)
test   %r11d,%r11d
je     12c0 <matInverse2+0x1c0>
cmp    $0x1,%r11d
jle    12e0 <matInverse2+0x1e0>
jmp    174b <matInverse2+0x64b>
movsd  -0x68(%rsp),%xmm4
andpd  %xmm2,%xmm4
ucomisd %xmm3,%xmm4
jb     12e0 <matInverse2+0x1e0>
xor    %r10d,%r10d
mov    $0x3,%r9d
movapd %xmm4,%xmm3
nopl   (%rax)
cmpl   $0x1,0x24(%rsp)
je     13b0 <matInverse2+0x2b0>
test   %ecx,%ecx
je     12f9 <matInverse2+0x1f9>
cmp    $0x1,%ecx
jle    1320 <matInverse2+0x220>
jmp    174b <matInverse2+0x64b>
movsd  -0x60(%rsp),%xmm4
andpd  %xmm2,%xmm4
ucomisd %xmm3,%xmm4
jb     1320 <matInverse2+0x220>
mov    $0x1,%r10d
xor    %r9d,%r9d
movapd %xmm4,%xmm3
cs nopw 0x0(%rax,%rax,1)
test   %edx,%edx
je     132e <matInverse2+0x22e>
cmp    $0x1,%edx
jle    1350 <matInverse2+0x250>
jmp    174b <matInverse2+0x64b>
movsd  -0x58(%rsp),%xmm4
andpd  %xmm2,%xmm4
ucomisd %xmm3,%xmm4
jb     1350 <matInverse2+0x250>
mov    $0x1,%r9d
mov    $0x1,%r10d
movapd %xmm4,%xmm3
xchg   %ax,%ax
test   %edi,%edi
je     135e <matInverse2+0x25e>
cmp    $0x1,%edi
jle    1380 <matInverse2+0x280>
jmp    174b <matInverse2+0x64b>
movsd  -0x50(%rsp),%xmm4
andpd  %xmm2,%xmm4
ucomisd %xmm3,%xmm4
jb     1380 <matInverse2+0x280>
mov    $0x1,%r10d
mov    $0x2,%r9d
movapd %xmm4,%xmm3
xchg   %ax,%ax
test   %r11d,%r11d
je     1390 <matInverse2+0x290>
cmp    $0x1,%r11d
jle    13b0 <matInverse2+0x2b0>
jmp    174b <matInverse2+0x64b>
movsd  -0x48(%rsp),%xmm4
andpd  %xmm2,%xmm4
ucomisd %xmm3,%xmm4
jb     13b0 <matInverse2+0x2b0>
mov    $0x1,%r10d
mov    $0x3,%r9d
movapd %xmm4,%xmm3
cmpl   $0x1,0x28(%rsp)
je     1480 <matInverse2+0x380>
test   %ecx,%ecx
je     13c9 <matInverse2+0x2c9>
cmp    $0x1,%ecx
jle    13f0 <matInverse2+0x2f0>
jmp    174b <matInverse2+0x64b>
movsd  -0x40(%rsp),%xmm4
andpd  %xmm2,%xmm4
ucomisd %xmm3,%xmm4
jb     13f0 <matInverse2+0x2f0>
mov    $0x2,%r10d
xor    %r9d,%r9d
movapd %xmm4,%xmm3
cs nopw 0x0(%rax,%rax,1)
test   %edx,%edx
je     13fe <matInverse2+0x2fe>
cmp    $0x1,%edx
jle    1420 <matInverse2+0x320>
jmp    174b <matInverse2+0x64b>
movsd  -0x38(%rsp),%xmm4
andpd  %xmm2,%xmm4
ucomisd %xmm3,%xmm4
jb     1420 <matInverse2+0x320>
mov    $0x2,%r10d
mov    $0x1,%r9d
movapd %xmm4,%xmm3
xchg   %ax,%ax
test   %edi,%edi
je     142e <matInverse2+0x32e>
cmp    $0x1,%edi
jle    1450 <matInverse2+0x350>
jmp    174b <matInverse2+0x64b>
movsd  -0x30(%rsp),%xmm4
andpd  %xmm2,%xmm4
ucomisd %xmm3,%xmm4
jb     1450 <matInverse2+0x350>
mov    $0x2,%r9d
mov    $0x2,%r10d
movapd %xmm4,%xmm3
xchg   %ax,%ax
test   %r11d,%r11d
je     1460 <matInverse2+0x360>
cmp    $0x1,%r11d
jle    1480 <matInverse2+0x380>
jmp    174b <matInverse2+0x64b>
movsd  -0x28(%rsp),%xmm4
andpd  %xmm2,%xmm4
ucomisd %xmm3,%xmm4
jb     1480 <matInverse2+0x380>
mov    $0x2,%r10d
mov    $0x3,%r9d
movapd %xmm4,%xmm3
cmpl   $0x1,0x2c(%rsp)
je     1550 <matInverse2+0x450>
test   %ecx,%ecx
je     1499 <matInverse2+0x399>
cmp    $0x1,%ecx
jle    14c0 <matInverse2+0x3c0>
jmp    174b <matInverse2+0x64b>
movsd  -0x20(%rsp),%xmm4
andpd  %xmm2,%xmm4
ucomisd %xmm3,%xmm4
jb     14c0 <matInverse2+0x3c0>
mov    $0x3,%r10d
xor    %r9d,%r9d
movapd %xmm4,%xmm3
cs nopw 0x0(%rax,%rax,1)
test   %edx,%edx
je     14ce <matInverse2+0x3ce>
cmp    $0x1,%edx
jle    14f0 <matInverse2+0x3f0>
jmp    174b <matInverse2+0x64b>
movsd  -0x18(%rsp),%xmm4
andpd  %xmm2,%xmm4
ucomisd %xmm3,%xmm4
jb     14f0 <matInverse2+0x3f0>
mov    $0x3,%r10d
mov    $0x1,%r9d
movapd %xmm4,%xmm3
xchg   %ax,%ax
test   %edi,%edi
je     14fe <matInverse2+0x3fe>
cmp    $0x1,%edi
jle    1520 <matInverse2+0x420>
jmp    174b <matInverse2+0x64b>
movsd  -0x10(%rsp),%xmm4
andpd  %xmm2,%xmm4
ucomisd %xmm3,%xmm4
jb     1520 <matInverse2+0x420>
mov    $0x3,%r10d
mov    $0x2,%r9d
movapd %xmm4,%xmm3
xchg   %ax,%ax
test   %r11d,%r11d
je     1530 <matInverse2+0x430>
cmp    $0x1,%r11d
jle    1550 <matInverse2+0x450>
jmp    174b <matInverse2+0x64b>
movsd  -0x8(%rsp),%xmm4
andpd  %xmm2,%xmm4
ucomisd %xmm3,%xmm4
jb     1550 <matInverse2+0x450>
mov    $0x3,%r9d
mov    $0x3,%r10d
nopl   0x0(%rax)
movslq %r9d,%rax
addl   $0x1,0x20(%rsp,%rax,4)
cmp    %eax,%r10d
je     15a9 <matInverse2+0x4a9>
movslq %r10d,%rcx
movsd  (%rsp,%rcx,8),%xmm3
movsd  (%rsp,%rax,8),%xmm4
movsd  %xmm4,(%rsp,%rcx,8)
shl    $0x5,%rcx
mov    %rax,%rdx
shl    $0x5,%rdx
movaps -0x80(%rsp,%rcx,1),%xmm4
movaps -0x80(%rsp,%rdx,1),%xmm5
movaps %xmm5,-0x80(%rsp,%rcx,1)
movaps %xmm4,-0x80(%rsp,%rdx,1)
movapd -0x70(%rsp,%rcx,1),%xmm4
movaps -0x70(%rsp,%rdx,1),%xmm5
movaps %xmm5,-0x70(%rsp,%rcx,1)
movapd %xmm4,-0x70(%rsp,%rdx,1)
movsd  %xmm3,(%rsp,%rax,8)
mov    %r10d,0x30(%rsp,%rbx,4)
mov    %eax,0x40(%rsp,%rbx,4)
mov    %rax,%rcx
shl    $0x5,%rcx
lea    (%rsp,%rcx,1),%rdx
add    $0xffffffffffffff80,%rdx
movsd  (%rdx,%rax,8),%xmm3
ucomisd %xmm0,%xmm3
jne    15d2 <matInverse2+0x4d2>
jnp    174b <matInverse2+0x64b>
lea    (%rdx,%rax,8),%rdi
movapd %xmm1,%xmm4
divsd  %xmm3,%xmm4
mov    %r8,(%rdi)
movapd %xmm4,%xmm3
unpcklpd %xmm4,%xmm3
movapd -0x80(%rsp,%rcx,1),%xmm5
mulpd  %xmm3,%xmm5
movapd %xmm5,-0x80(%rsp,%rcx,1)
lea    -0x70(%rsp,%rcx,1),%rdi
mulpd  -0x70(%rsp,%rcx,1),%xmm3
movapd %xmm3,-0x70(%rsp,%rcx,1)
mulsd  (%rsp,%rax,8),%xmm4
movsd  %xmm4,(%rsp,%rax,8)
test   %eax,%eax
je     1673 <matInverse2+0x573>
movsd  -0x80(%rsp,%rax,8),%xmm3
movq   $0x0,-0x80(%rsp,%rax,8)
movapd %xmm3,%xmm4
unpcklpd %xmm3,%xmm4
movapd (%rdx),%xmm5
mulpd  %xmm4,%xmm5
movapd -0x80(%rsp),%xmm6
subpd  %xmm5,%xmm6
movapd -0x70(%rsp),%xmm5
movapd %xmm6,-0x80(%rsp)
mulpd  (%rdi),%xmm4
subpd  %xmm4,%xmm5
movapd %xmm5,-0x70(%rsp)
mulsd  (%rsp,%rax,8),%xmm3
movsd  (%rsp),%xmm4
subsd  %xmm3,%xmm4
movsd  %xmm4,(%rsp)
cmp    $0x1,%eax
je     16d4 <matInverse2+0x5d4>
movsd  -0x60(%rsp,%rax,8),%xmm3
movq   $0x0,-0x60(%rsp,%rax,8)
movapd %xmm3,%xmm4
unpcklpd %xmm3,%xmm4
movapd (%rdx),%xmm5
mulpd  %xmm4,%xmm5
movapd -0x60(%rsp),%xmm6
subpd  %xmm5,%xmm6
movapd -0x50(%rsp),%xmm5
movapd %xmm6,-0x60(%rsp)
mulpd  (%rdi),%xmm4
subpd  %xmm4,%xmm5
movapd %xmm5,-0x50(%rsp)
mulsd  (%rsp,%rax,8),%xmm3
movsd  0x8(%rsp),%xmm4
subsd  %xmm3,%xmm4
movsd  %xmm4,0x8(%rsp)
cmp    $0x2,%eax
je     1190 <matInverse2+0x90>
movsd  -0x40(%rsp,%rax,8),%xmm3
movq   $0x0,-0x40(%rsp,%rax,8)
movapd %xmm3,%xmm4
unpcklpd %xmm3,%xmm4
movapd (%rdx),%xmm5
mulpd  %xmm4,%xmm5
movapd -0x40(%rsp),%xmm6
subpd  %xmm5,%xmm6
movapd -0x30(%rsp),%xmm5
movapd %xmm6,-0x40(%rsp)
mulpd  (%rdi),%xmm4
subpd  %xmm4,%xmm5
movapd %xmm5,-0x30(%rsp)
mulsd  (%rsp,%rax,8),%xmm3
movsd  0x10(%rsp),%xmm4
subsd  %xmm3,%xmm4
movsd  %xmm4,0x10(%rsp)
cmp    $0x3,%eax
jne    1190 <matInverse2+0x90>
jmp    11e8 <matInverse2+0xe8>
xorpd  %xmm3,%xmm3
test   %edx,%edx
jne    1235 <matInverse2+0x135>
jmp    125d <matInverse2+0x15d>
mov    $0xffffffff,%eax
add    $0x50,%rsp
pop    %rbx
ret
movslq 0x3c(%rsp),%rax
movslq 0x4c(%rsp),%rcx
cmp    %ecx,%eax
je     17c4 <matInverse2+0x6c4>
movsd  -0x80(%rsp,%rax,8),%xmm0
movsd  -0x80(%rsp,%rcx,8),%xmm1
movsd  %xmm1,-0x80(%rsp,%rax,8)
movsd  %xmm0,-0x80(%rsp,%rcx,8)
movsd  -0x60(%rsp,%rax,8),%xmm0
movsd  -0x60(%rsp,%rcx,8),%xmm1
movsd  %xmm1,-0x60(%rsp,%rax,8)
movsd  %xmm0,-0x60(%rsp,%rcx,8)
movsd  -0x40(%rsp,%rax,8),%xmm0
movsd  -0x40(%rsp,%rcx,8),%xmm1
movsd  %xmm1,-0x40(%rsp,%rax,8)
movsd  %xmm0,-0x40(%rsp,%rcx,8)
movsd  -0x20(%rsp,%rax,8),%xmm0
movsd  -0x20(%rsp,%rcx,8),%xmm1
movsd  %xmm1,-0x20(%rsp,%rax,8)
movsd  %xmm0,-0x20(%rsp,%rcx,8)
movslq 0x38(%rsp),%rax
movslq 0x48(%rsp),%rcx
cmp    %ecx,%eax
je     1832 <matInverse2+0x732>
movsd  -0x80(%rsp,%rax,8),%xmm0
movsd  -0x80(%rsp,%rcx,8),%xmm1
movsd  %xmm1,-0x80(%rsp,%rax,8)
movsd  %xmm0,-0x80(%rsp,%rcx,8)
movsd  -0x60(%rsp,%rax,8),%xmm0
movsd  -0x60(%rsp,%rcx,8),%xmm1
movsd  %xmm1,-0x60(%rsp,%rax,8)
movsd  %xmm0,-0x60(%rsp,%rcx,8)
movsd  -0x40(%rsp,%rax,8),%xmm0
movsd  -0x40(%rsp,%rcx,8),%xmm1
movsd  %xmm1,-0x40(%rsp,%rax,8)
movsd  %xmm0,-0x40(%rsp,%rcx,8)
movsd  -0x20(%rsp,%rax,8),%xmm0
movsd  -0x20(%rsp,%rcx,8),%xmm1
movsd  %xmm1,-0x20(%rsp,%rax,8)
movsd  %xmm0,-0x20(%rsp,%rcx,8)
movslq 0x34(%rsp),%rax
movslq 0x44(%rsp),%rcx
cmp    %ecx,%eax
je     18a0 <matInverse2+0x7a0>
movsd  -0x80(%rsp,%rax,8),%xmm0
movsd  -0x80(%rsp,%rcx,8),%xmm1
movsd  %xmm1,-0x80(%rsp,%rax,8)
movsd  %xmm0,-0x80(%rsp,%rcx,8)
movsd  -0x60(%rsp,%rax,8),%xmm0
movsd  -0x60(%rsp,%rcx,8),%xmm1
movsd  %xmm1,-0x60(%rsp,%rax,8)
movsd  %xmm0,-0x60(%rsp,%rcx,8)
movsd  -0x40(%rsp,%rax,8),%xmm0
movsd  -0x40(%rsp,%rcx,8),%xmm1
movsd  %xmm1,-0x40(%rsp,%rax,8)
movsd  %xmm0,-0x40(%rsp,%rcx,8)
movsd  -0x20(%rsp,%rax,8),%xmm0
movsd  -0x20(%rsp,%rcx,8),%xmm1
movsd  %xmm1,-0x20(%rsp,%rax,8)
movsd  %xmm0,-0x20(%rsp,%rcx,8)
movslq 0x30(%rsp),%rax
movslq 0x40(%rsp),%rcx
cmp    %ecx,%eax
je     190e <matInverse2+0x80e>
movsd  -0x80(%rsp,%rax,8),%xmm0
movsd  -0x80(%rsp,%rcx,8),%xmm1
movsd  %xmm1,-0x80(%rsp,%rax,8)
movsd  %xmm0,-0x80(%rsp,%rcx,8)
movsd  -0x60(%rsp,%rax,8),%xmm0
movsd  -0x60(%rsp,%rcx,8),%xmm1
movsd  %xmm1,-0x60(%rsp,%rax,8)
movsd  %xmm0,-0x60(%rsp,%rcx,8)
movsd  -0x40(%rsp,%rax,8),%xmm0
movsd  -0x40(%rsp,%rcx,8),%xmm1
movsd  %xmm1,-0x40(%rsp,%rax,8)
movsd  %xmm0,-0x40(%rsp,%rcx,8)
movsd  -0x20(%rsp,%rax,8),%xmm0
movsd  -0x20(%rsp,%rcx,8),%xmm1
movsd  %xmm1,-0x20(%rsp,%rax,8)
movsd  %xmm0,-0x20(%rsp,%rcx,8)
movaps -0x10(%rsp),%xmm0
movups %xmm0,0x70(%rsi)
movaps -0x20(%rsp),%xmm0
movups %xmm0,0x60(%rsi)
movaps -0x30(%rsp),%xmm0
movups %xmm0,0x50(%rsi)
movaps -0x40(%rsp),%xmm0
movups %xmm0,0x40(%rsi)
movapd -0x80(%rsp),%xmm0
movapd -0x70(%rsp),%xmm1
movapd -0x60(%rsp),%xmm2
movapd -0x50(%rsp),%xmm3
movupd %xmm3,0x30(%rsi)
movupd %xmm2,0x20(%rsi)
movupd %xmm1,0x10(%rsi)
movupd %xmm0,(%rsi)
xor    %eax,%eax
jmp    1750 <matInverse2+0x650>

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

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