void jacobi(double **a, int n, double d[], double **v, int *nrot) {
  int j, i;
  int iq, ip;
  double tresh, theta, tau, t, sm, s, h, g, c, *b, *z;
  (b) = save_calloc("b",
                    "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                    "outputs/2022-01-22/02-19-57/repos/Chadi-akel/cere/refs/"
                    "heads/master/tests/test_07/nrjac.c",
                    53, (n), sizeof(*(b)));
  (z) = save_calloc("z",
                    "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                    "outputs/2022-01-22/02-19-57/repos/Chadi-akel/cere/refs/"
                    "heads/master/tests/test_07/nrjac.c",
                    54, (n), sizeof(*(z)));
  for (ip = 0; ip < n; ip++) {
    for (iq = 0; iq < n; iq++)
      v[ip][iq] = 0.0;
    v[ip][ip] = 1.0;
  }
  for (ip = 0; ip < n; ip++) {
    b[ip] = d[ip] = a[ip][ip];
    z[ip] = 0.0;
  }
  *nrot = 0;
  for (i = 1; i <= 50; i++) {
    sm = 0.0;
    for (ip = 0; ip < n - 1; ip++) {
      for (iq = ip + 1; iq < n; iq++)
        sm += fabs(a[ip][iq]);
    }
    if (fabs(sm) < 1.2e-38) {
      save_free("z",
                "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                "outputs/2022-01-22/02-19-57/repos/Chadi-akel/cere/refs/heads/"
                "master/tests/test_07/nrjac.c",
                71, (z));
      save_free("b",
                "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                "outputs/2022-01-22/02-19-57/repos/Chadi-akel/cere/refs/heads/"
                "master/tests/test_07/nrjac.c",
                72, (b));
      return;
    }
    if (i < 4)
      tresh = 0.2 * sm / (n * n);
    else
      tresh = 0.0;
    for (ip = 0; ip < n - 1; ip++) {
      for (iq = ip + 1; iq < n; iq++) {
        g = 100.0 * fabs(a[ip][iq]);
        if (i > 4 && (g < 1.2e-07 * fabs(d[ip])) && (g < 1.2e-07 * fabs(d[iq])))
          a[ip][iq] = 0.0;
        else if (fabs(a[ip][iq]) > tresh) {
          h = d[iq] - d[ip];
          if (g < 1.2e-07 * fabs(h))
            t = (a[ip][iq]) / h;
          else {
            theta = 0.5 * h / (a[ip][iq]);
            t = 1.0 / (fabs(theta) + sqrt(1.0 + theta * theta));
            if (theta < 0.0)
              t = -t;
          }
          c = 1.0 / sqrt(1 + t * t);
          s = t * c;
          tau = s / (1.0 + c);
          h = t * a[ip][iq];
          z[ip] -= h;
          z[iq] += h;
          d[ip] -= h;
          d[iq] += h;
          a[ip][iq] = 0.0;
          for (j = 0; j < ip; j++) {
            g = a[j][ip];
            h = a[j][iq];
            a[j][ip] = g - s * (h + g * tau);
            a[j][iq] = h + s * (g - h * tau);
          }
          for (j = ip + 1; j < iq; j++) {
            g = a[ip][j];
            h = a[j][iq];
            a[ip][j] = g - s * (h + g * tau);
            a[j][iq] = h + s * (g - h * tau);
          }
          for (j = iq + 1; j < n; j++) {
            g = a[ip][j];
            h = a[iq][j];
            a[ip][j] = g - s * (h + g * tau);
            a[iq][j] = h + s * (g - h * tau);
          }
          for (j = 0; j < n; j++) {
            g = v[j][ip];
            h = v[j][iq];
            v[j][ip] = g - s * (h + g * tau);
            v[j][iq] = h + s * (g - h * tau);
          }
          ++(*nrot);
        }
      }
    }
    for (ip = 0; ip < n; ip++) {
      b[ip] += z[ip];
      d[ip] = b[ip];
      z[ip] = 0.0;
    }
  }
  jacobierror("Too many iterations in routine JACOBI");
}


x86 assembly (clang, -O0):
<jacobi>:
push   %rbp
mov    %rsp,%rbp
sub    $0xa0,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    -0xc(%rbp),%ecx
lea    0xed8(%rip),%rdi
lea    0xed3(%rip),%rsi
mov    $0x35,%edx
mov    $0x8,%r8d
mov    $0x0,%al
call   1030 <save_calloc@plt>
cltq
mov    %rax,-0x88(%rbp)
mov    -0xc(%rbp),%ecx
lea    0xf40(%rip),%rdi
lea    0xea7(%rip),%rsi
mov    $0x36,%edx
mov    $0x8,%r8d
mov    $0x0,%al
call   1030 <save_calloc@plt>
cltq
mov    %rax,-0x90(%rbp)
movl   $0x0,-0x38(%rbp)
mov    -0x38(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    122d <jacobi+0xed>
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    1202 <jacobi+0xc2>
mov    -0x20(%rbp),%rax
movslq -0x38(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x34(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    11d0 <jacobi+0x90>
mov    -0x20(%rbp),%rax
movslq -0x38(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x38(%rbp),%rcx
movsd  0xe06(%rip),%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    11bd <jacobi+0x7d>
movl   $0x0,-0x38(%rbp)
mov    -0x38(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    1293 <jacobi+0x153>
mov    -0x8(%rbp),%rax
movslq -0x38(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x38(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
movslq -0x38(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x88(%rbp),%rax
movslq -0x38(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x90(%rbp),%rax
movslq -0x38(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    1234 <jacobi+0xf4>
mov    -0x28(%rbp),%rax
movl   $0x0,(%rax)
movl   $0x1,-0x30(%rbp)
cmpl   $0x32,-0x30(%rbp)
jg     1bbf <jacobi+0xa7f>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x60(%rbp)
movl   $0x0,-0x38(%rbp)
mov    -0x38(%rbp),%eax
mov    -0xc(%rbp),%ecx
sub    $0x1,%ecx
cmp    %ecx,%eax
jge    132e <jacobi+0x1ee>
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    131b <jacobi+0x1db>
mov    -0x8(%rbp),%rax
movslq -0x38(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x34(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movaps 0xd31(%rip),%xmm1
pand   %xmm1,%xmm0
addsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    12d7 <jacobi+0x197>
jmp    1320 <jacobi+0x1e0>
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    12bd <jacobi+0x17d>
movsd  -0x60(%rbp),%xmm1
movaps 0xcf6(%rip),%xmm0
pand   %xmm0,%xmm1
movsd  0xcba(%rip),%xmm0
ucomisd %xmm1,%xmm0
jbe    1397 <jacobi+0x257>
mov    -0x90(%rbp),%rcx
lea    0xd76(%rip),%rdi
lea    0xcdd(%rip),%rsi
mov    $0x47,%edx
mov    $0x0,%al
call   1040 <save_free@plt>
mov    -0x88(%rbp),%rcx
lea    0xcc1(%rip),%rdi
lea    0xcbc(%rip),%rsi
mov    $0x48,%edx
mov    $0x0,%al
call   1040 <save_free@plt>
jmp    1bcd <jacobi+0xa8d>
cmpl   $0x4,-0x30(%rbp)
jge    13c7 <jacobi+0x287>
movsd  0xc5f(%rip),%xmm0
mulsd  -0x60(%rbp),%xmm0
mov    -0xc(%rbp),%eax
imul   -0xc(%rbp),%eax
cvtsi2sd %eax,%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
jmp    13cf <jacobi+0x28f>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x40(%rbp)
movl   $0x0,-0x38(%rbp)
mov    -0x38(%rbp),%eax
mov    -0xc(%rbp),%ecx
sub    $0x1,%ecx
cmp    %ecx,%eax
jge    1b36 <jacobi+0x9f6>
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    1b23 <jacobi+0x9e3>
mov    -0x8(%rbp),%rax
movslq -0x38(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x34(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
movaps 0xc18(%rip),%xmm0
pand   %xmm0,%xmm1
movsd  0xbec(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
cmpl   $0x4,-0x30(%rbp)
jle    14ba <jacobi+0x37a>
movsd  -0x78(%rbp),%xmm1
mov    -0x18(%rbp),%rax
movslq -0x38(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
movaps 0xbe0(%rip),%xmm0
pand   %xmm0,%xmm2
movsd  0xbbc(%rip),%xmm0
mulsd  %xmm2,%xmm0
ucomisd %xmm1,%xmm0
jbe    14ba <jacobi+0x37a>
movsd  -0x78(%rbp),%xmm1
mov    -0x18(%rbp),%rax
movslq -0x34(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
movaps 0xbad(%rip),%xmm0
pand   %xmm0,%xmm2
movsd  0xb89(%rip),%xmm0
mulsd  %xmm2,%xmm0
ucomisd %xmm1,%xmm0
jbe    14ba <jacobi+0x37a>
mov    -0x8(%rbp),%rax
movslq -0x38(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x34(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
jmp    1b10 <jacobi+0x9d0>
mov    -0x8(%rbp),%rax
movslq -0x38(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x34(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movaps 0xb5a(%rip),%xmm1
pand   %xmm1,%xmm0
ucomisd -0x40(%rbp),%xmm0
jbe    1b0b <jacobi+0x9cb>
mov    -0x18(%rbp),%rax
movslq -0x34(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
movslq -0x38(%rbp),%rcx
subsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x78(%rbp),%xmm1
movsd  -0x70(%rbp),%xmm2
movaps 0xb1b(%rip),%xmm0
pand   %xmm0,%xmm2
movsd  0xaf7(%rip),%xmm0
mulsd  %xmm2,%xmm0
ucomisd %xmm1,%xmm0
jbe    1553 <jacobi+0x413>
mov    -0x8(%rbp),%rax
movslq -0x38(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x34(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
divsd  -0x70(%rbp),%xmm0
movsd  %xmm0,-0x58(%rbp)
jmp    1602 <jacobi+0x4c2>
movsd  0xacd(%rip),%xmm0
mulsd  -0x70(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movslq -0x38(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x34(%rbp),%rcx
divsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x48(%rbp),%xmm0
movaps 0xaaa(%rip),%xmm1
pand   %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x48(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xa78(%rip),%xmm1
addsd  %xmm1,%xmm0
call   1050 <sqrt@plt>
movsd  -0x98(%rbp),%xmm1
ff
addsd  %xmm0,%xmm1
movsd  0xa5b(%rip),%xmm0
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
xorps  %xmm0,%xmm0
ucomisd -0x48(%rbp),%xmm0
jbe    15fd <jacobi+0x4bd>
movsd  -0x58(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x58(%rbp)
jmp    1602 <jacobi+0x4c2>
movsd  -0x58(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xa08(%rip),%xmm1
addsd  %xmm1,%xmm0
call   1050 <sqrt@plt>
movaps %xmm0,%xmm1
movsd  0x9f4(%rip),%xmm0
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x58(%rbp),%xmm0
mulsd  -0x80(%rbp),%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x68(%rbp),%xmm0
movsd  0x9cf(%rip),%xmm1
addsd  -0x80(%rbp),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x58(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movslq -0x38(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x34(%rbp),%rcx
mulsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x70(%rbp),%xmm1
mov    -0x90(%rbp),%rax
movslq -0x38(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
subsd  %xmm1,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x70(%rbp),%xmm0
mov    -0x90(%rbp),%rax
movslq -0x34(%rbp),%rcx
addsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x70(%rbp),%xmm1
mov    -0x18(%rbp),%rax
movslq -0x38(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
subsd  %xmm1,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x70(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movslq -0x34(%rbp),%rcx
addsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x8(%rbp),%rax
movslq -0x38(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x34(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x38(%rbp),%eax
jge    17ff <jacobi+0x6bf>
mov    -0x8(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x38(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x78(%rbp)
mov    -0x8(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x34(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x78(%rbp),%xmm1
movsd  -0x68(%rbp),%xmm0
movsd  -0x70(%rbp),%xmm3
movsd  -0x78(%rbp),%xmm2
movsd  -0x50(%rbp),%xmm4
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x38(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x70(%rbp),%xmm1
movsd  -0x68(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm3
movsd  -0x70(%rbp),%xmm2
movsd  -0x50(%rbp),%xmm4
movq   %xmm2,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm2
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x34(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    1707 <jacobi+0x5c7>
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x34(%rbp),%eax
jge    1900 <jacobi+0x7c0>
mov    -0x8(%rbp),%rax
movslq -0x38(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x78(%rbp)
mov    -0x8(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x34(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x78(%rbp),%xmm1
movsd  -0x68(%rbp),%xmm0
movsd  -0x70(%rbp),%xmm3
movsd  -0x78(%rbp),%xmm2
movsd  -0x50(%rbp),%xmm4
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movslq -0x38(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x2c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x70(%rbp),%xmm1
movsd  -0x68(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm3
movsd  -0x70(%rbp),%xmm2
movsd  -0x50(%rbp),%xmm4
movq   %xmm2,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm2
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x34(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    1808 <jacobi+0x6c8>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    1a01 <jacobi+0x8c1>
mov    -0x8(%rbp),%rax
movslq -0x38(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x78(%rbp)
mov    -0x8(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x78(%rbp),%xmm1
movsd  -0x68(%rbp),%xmm0
movsd  -0x70(%rbp),%xmm3
movsd  -0x78(%rbp),%xmm2
movsd  -0x50(%rbp),%xmm4
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movslq -0x38(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x2c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x70(%rbp),%xmm1
movsd  -0x68(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm3
movsd  -0x70(%rbp),%xmm2
movsd  -0x50(%rbp),%xmm4
movq   %xmm2,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm2
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x2c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    1909 <jacobi+0x7c9>
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    1b00 <jacobi+0x9c0>
mov    -0x20(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x38(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x78(%rbp)
mov    -0x20(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x34(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x78(%rbp),%xmm1
movsd  -0x68(%rbp),%xmm0
movsd  -0x70(%rbp),%xmm3
movsd  -0x78(%rbp),%xmm2
movsd  -0x50(%rbp),%xmm4
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x38(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x70(%rbp),%xmm1
movsd  -0x68(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm3
movsd  -0x70(%rbp),%xmm2
movsd  -0x50(%rbp),%xmm4
movq   %xmm2,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm2
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x34(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    1a08 <jacobi+0x8c8>
mov    -0x28(%rbp),%rax
mov    (%rax),%ecx
add    $0x1,%ecx
mov    %ecx,(%rax)
jmp    1b10 <jacobi+0x9d0>
jmp    1b15 <jacobi+0x9d5>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    13f0 <jacobi+0x2b0>
jmp    1b28 <jacobi+0x9e8>
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    13d6 <jacobi+0x296>
movl   $0x0,-0x38(%rbp)
mov    -0x38(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    1bac <jacobi+0xa6c>
mov    -0x90(%rbp),%rax
movslq -0x38(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x88(%rbp),%rax
movslq -0x38(%rbp),%rcx
addsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x88(%rbp),%rax
movslq -0x38(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
movslq -0x38(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x90(%rbp),%rax
movslq -0x38(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    1b3d <jacobi+0x9fd>
jmp    1bb1 <jacobi+0xa71>
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    12a4 <jacobi+0x164>
lea    0x510(%rip),%rdi
mov    $0x0,%al
call   1060 <jacobierror@plt>
add    $0xa0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<jacobi>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xe8,%rsp
mov    %r8,0x78(%rsp)
mov    %rcx,0x18(%rsp)
mov    %rdx,%rbx
mov    %esi,%r14d
mov    %rdi,%rbp
lea    0xed5(%rip),%rdi
lea    0xed0(%rip),%r15
mov    $0x8,%r8d
mov    %r15,%rsi
mov    $0x35,%edx
mov    %r14d,%ecx
xor    %eax,%eax
call   1030 <save_calloc@plt>
movslq %eax,%r12
lea    0xf40(%rip),%rdi
mov    $0x8,%r8d
mov    %r15,%rsi
mov    $0x36,%edx
mov    %r14d,%ecx
xor    %eax,%eax
call   1030 <save_calloc@plt>
mov    %rbp,%r10
mov    %r14,%r9
movslq %eax,%rcx
mov    %r9d,%edi
test   %r9d,%r9d
mov    %r12,0x58(%rsp)
mov    %rbx,0x10(%rsp)
mov    %r14,0x30(%rsp)
mov    %rbp,0x28(%rsp)
mov    %rcx,0x50(%rsp)
mov    %rdi,0x70(%rsp)
jle    13a8 <jacobi+0x258>
lea    0x0(,%rdi,8),%rax
mov    %rax,0x8(%rsp)
lea    -0x1(%rdi),%rax
mov    %edi,%r14d
and    $0x3,%r14d
mov    %rax,0x38(%rsp)
cmp    $0x3,%rax
jae    1228 <jacobi+0xd8>
xor    %ebx,%ebx
mov    0x18(%rsp),%r13
movabs $0x3ff0000000000000,%r15
jmp    12d6 <jacobi+0x186>
and    $0xfffffffc,%edi
mov    %rdi,0x40(%rsp)
xor    %ebx,%ebx
mov    0x18(%rsp),%r13
movabs $0x3ff0000000000000,%r15
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    0x0(%r13,%rbx,8),%r12
mov    %r12,%rdi
xor    %esi,%esi
mov    0x8(%rsp),%rdx
call   1040 <memset@plt>
mov    %r15,(%r12,%rbx,8)
mov    0x8(%r13,%rbx,8),%rbp
mov    %rbp,%rdi
xor    %esi,%esi
mov    0x8(%rsp),%rdx
call   1040 <memset@plt>
movabs $0x3ff0000000000000,%rax
mov    %rax,0x8(%rbp,%rbx,8)
movabs $0x3ff0000000000000,%r15
mov    0x10(%r13,%rbx,8),%rbp
mov    %rbp,%rdi
xor    %esi,%esi
mov    0x8(%rsp),%rdx
call   1040 <memset@plt>
mov    %r15,0x10(%rbp,%rbx,8)
mov    0x18(%r13,%rbx,8),%rbp
mov    %rbp,%rdi
xor    %esi,%esi
mov    0x8(%rsp),%rdx
call   1040 <memset@plt>
mov    %r15,0x18(%rbp,%rbx,8)
add    $0x4,%rbx
cmp    %rbx,0x40(%rsp)
jne    1250 <jacobi+0x100>
test   %r14,%r14
mov    0x58(%rsp),%r12
je     1303 <jacobi+0x1b3>
mov    0x0(%r13,%rbx,8),%rbp
mov    %rbp,%rdi
xor    %esi,%esi
mov    0x8(%rsp),%rdx
call   1040 <memset@plt>
mov    %r15,0x0(%rbp,%rbx,8)
add    $0x1,%rbx
add    $0xffffffffffffffff,%r14
jne    12e0 <jacobi+0x190>
mov    0x30(%rsp),%r9
test   %r9d,%r9d
mov    0x10(%rsp),%rbx
mov    0x28(%rsp),%r10
mov    0x50(%rsp),%rcx
mov    0x70(%rsp),%rdi
jle    13a8 <jacobi+0x258>
cmpq   $0x0,0x38(%rsp)
je     1d7a <jacobi+0xc2a>
mov    %edi,%esi
and    $0xfffffffe,%esi
xor    %eax,%eax
nopl   0x0(%rax,%rax,1)
mov    (%r10,%rax,8),%rdx
movsd  (%rdx,%rax,8),%xmm0
movsd  %xmm0,(%rbx,%rax,8)
movsd  %xmm0,(%r12,%rax,8)
movq   $0x0,(%rcx,%rax,8)
mov    0x8(%r10,%rax,8),%rdx
movsd  0x8(%rdx,%rax,8),%xmm0
movsd  %xmm0,0x8(%rbx,%rax,8)
movsd  %xmm0,0x8(%r12,%rax,8)
movq   $0x0,0x8(%rcx,%rax,8)
add    $0x2,%rax
cmp    %rax,%rsi
jne    1340 <jacobi+0x1f0>
test   $0x1,%dil
je     13a8 <jacobi+0x258>
mov    (%r10,%rax,8),%rdx
movsd  (%rdx,%rax,8),%xmm0
movsd  %xmm0,(%rbx,%rax,8)
movsd  %xmm0,(%r12,%rax,8)
movq   $0x0,(%rcx,%rax,8)
mov    0x78(%rsp),%rax
movl   $0x0,(%rax)
lea    -0x1(%r9),%r8d
mov    %r9d,%eax
imul   %r9d,%eax
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  %xmm0,0xc8(%rsp)
movslq %r9d,%r14
lea    (%r12,%rdi,8),%rax
lea    (%rbx,%rdi,8),%r15
lea    (%rcx,%rdi,8),%rbp
lea    -0x3(%r9),%edx
mov    %edx,0x24(%rsp)
mov    %edi,%edx
and    $0xfffffffc,%edx
mov    %rdx,0xb0(%rsp)
add    $0xfffffffffffffffc,%rdx
mov    %rdx,0xa8(%rsp)
mov    %rdx,%rsi
shr    $0x2,%rsi
add    $0x1,%rsi
cmp    %r15,%r12
setb   %bl
cmp    0x10(%rsp),%rax
seta   %r11b
and    %bl,%r11b
cmp    %rbp,%r12
setb   %bl
cmp    %rax,%rcx
setb   %al
and    %bl,%al
mov    0x10(%rsp),%rbx
or     %r11b,%al
cmp    %rbx,%rbp
seta   %r11b
cmp    %r15,%rcx
setb   %dl
and    %r11b,%dl
or     %al,%dl
mov    %dl,0x7(%rsp)
mov    %rsi,%rax
mov    %rsi,0xa0(%rsp)
and    $0xfffffffffffffffe,%rsi
mov    %rsi,0x98(%rsp)
mov    %rdi,%rax
neg    %rax
mov    %rax,0xb8(%rsp)
lea    0x8(%r10),%rax
mov    %rax,0xc0(%rsp)
movl   $0x1,0x8(%rsp)
movapd 0xb77(%rip),%xmm9
movsd  0xb9e(%rip),%xmm10
movsd  0xb9d(%rip),%xmm11
movsd  0xba4(%rip),%xmm12
xorpd  %xmm13,%xmm13
movapd 0xb5e(%rip),%xmm14
mov    0x18(%rsp),%r11
mov    %r8,0xd8(%rsp)
mov    %r14,0xd0(%rsp)
jmp    14e4 <jacobi+0x394>
nopl   0x0(%rax)
mov    0x8(%rsp),%eax
add    $0x1,%eax
mov    %eax,0x8(%rsp)
cmp    $0x33,%eax
je     1d5b <jacobi+0xc0b>
xorpd  %xmm0,%xmm0
cmp    $0x2,%r9d
jl     1550 <jacobi+0x400>
xorpd  %xmm0,%xmm0
mov    %rdi,%rax
xor    %ebp,%ebp
jmp    1509 <jacobi+0x3b9>
nopl   0x0(%rax)
add    $0xffffffffffffffff,%rax
cmp    %r8,%rbp
je     1550 <jacobi+0x400>
mov    %rbp,%rsi
add    $0x1,%rbp
cmp    %r14,%rbp
jge    1500 <jacobi+0x3b0>
lea    0x0(,%rsi,8),%rdx
add    (%r10,%rsi,8),%rdx
mov    $0x1,%esi
cs nopw 0x0(%rax,%rax,1)
movsd  (%rdx,%rsi,8),%xmm1
andpd  %xmm9,%xmm1
addsd  %xmm1,%xmm0
add    $0x1,%rsi
cmp    %rsi,%rax
jne    1530 <jacobi+0x3e0>
jmp    1500 <jacobi+0x3b0>
nopl   0x0(%rax)
movapd %xmm0,%xmm1
andpd  %xmm9,%xmm1
movsd  0xabf(%rip),%xmm2
ucomisd %xmm1,%xmm2
ja     1d14 <jacobi+0xbc4>
xorpd  %xmm15,%xmm15
cmpl   $0x3,0x8(%rsp)
ja     158d <jacobi+0x43d>
mulsd  0xaa9(%rip),%xmm0
divsd  0xc8(%rsp),%xmm0
movapd %xmm0,%xmm15
cmp    $0x2,%r9d
jl     1b10 <jacobi+0x9c0>
mov    $0x1,%eax
mov    %rax,0x48(%rsp)
mov    $0x2,%eax
mov    %rax,0x60(%rsp)
mov    0x24(%rsp),%eax
mov    %eax,0x20(%rsp)
mov    0xc0(%rsp),%r15
xor    %r12d,%r12d
movsd  %xmm15,0x68(%rsp)
jmp    1603 <jacobi+0x4b3>
nopw   0x0(%rax,%rax,1)
addq   $0x1,0x48(%rsp)
addq   $0x1,0x60(%rsp)
add    $0x8,%r15
addl   $0xffffffff,0x20(%rsp)
mov    0xd8(%rsp),%r8
mov    0x38(%rsp),%r12
cmp    %r8,%r12
mov    0xd0(%rsp),%r14
je     1b10 <jacobi+0x9c0>
lea    0x1(%r12),%rax
mov    %rax,0x38(%rsp)
cmp    %r14,%rax
jge    15d0 <jacobi+0x480>
lea    0x3(%r12),%rax
mov    %rax,0xe0(%rsp)
mov    (%r10,%r12,8),%rax
mov    0x20(%rsp),%ecx
xor    %r13d,%r13d
mov    0x48(%rsp),%rbp
mov    0x60(%rsp),%r14
jmp    1664 <jacobi+0x514>
cs nopw 0x0(%rax,%rax,1)
mov    0x78(%rsp),%rcx
addl   $0x1,(%rcx)
mov    0x40(%rsp),%ecx
add    $0x1,%rbp
add    $0x1,%r14
add    $0x1,%r13
add    $0xffffffff,%ecx
cmp    %rdi,%rbp
je     15d0 <jacobi+0x480>
movsd  (%rax,%rbp,8),%xmm3
movapd %xmm3,%xmm1
andpd  %xmm9,%xmm1
movapd %xmm1,%xmm0
mulsd  %xmm10,%xmm0
cmpl   $0x5,0x8(%rsp)
jb     16c0 <jacobi+0x570>
movsd  (%rbx,%r12,8),%xmm2
andpd  %xmm9,%xmm2
mulsd  %xmm11,%xmm2
ucomisd %xmm0,%xmm2
jbe    16c0 <jacobi+0x570>
movsd  (%rbx,%rbp,8),%xmm2
andpd  %xmm9,%xmm2
mulsd  %xmm11,%xmm2
ucomisd %xmm0,%xmm2
jbe    16c0 <jacobi+0x570>
movq   $0x0,(%rax,%rbp,8)
jmp    164c <jacobi+0x4fc>
nopw   0x0(%rax,%rax,1)
ucomisd %xmm15,%xmm1
jbe    164c <jacobi+0x4fc>
movsd  (%rbx,%rbp,8),%xmm2
subsd  (%rbx,%r12,8),%xmm2
movapd %xmm2,%xmm1
andpd  %xmm9,%xmm1
mulsd  %xmm11,%xmm1
ucomisd %xmm0,%xmm1
jbe    16f0 <jacobi+0x5a0>
divsd  %xmm2,%xmm3
jmp    179c <jacobi+0x64c>
nop
mulsd  0x948(%rip),%xmm2
divsd  %xmm3,%xmm2
movapd %xmm2,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm12,%xmm0
ucomisd %xmm13,%xmm0
jb     1716 <jacobi+0x5c6>
sqrtsd %xmm0,%xmm0
jmp    177e <jacobi+0x62e>
mov    %ecx,%ebx
movapd %xmm2,0x80(%rsp)
call   1060 <sqrt@plt>
movapd 0x80(%rsp),%xmm2
mov    %ebx,%ecx
mov    0x10(%rsp),%rbx
movsd  0x68(%rsp),%xmm15
movapd 0x8ca(%rip),%xmm14
xorpd  %xmm13,%xmm13
movsd  0x8f4(%rip),%xmm12
movsd  0x8db(%rip),%xmm11
movsd  0x8ca(%rip),%xmm10
movapd 0x891(%rip),%xmm9
mov    0x28(%rsp),%r10
mov    0x30(%rsp),%r9
mov    0x18(%rsp),%r11
ucomisd %xmm2,%xmm13
andpd  %xmm9,%xmm2
addsd  %xmm0,%xmm2
movapd %xmm12,%xmm3
divsd  %xmm2,%xmm3
jbe    179c <jacobi+0x64c>
xorpd  %xmm14,%xmm3
movapd %xmm3,%xmm0
mulsd  %xmm3,%xmm0
addsd  %xmm12,%xmm0
ucomisd %xmm13,%xmm0
mov    %ecx,0x40(%rsp)
jb     17c0 <jacobi+0x670>
sqrtsd %xmm0,%xmm0
jmp    181f <jacobi+0x6cf>
nopw   0x0(%rax,%rax,1)
movapd %xmm3,0x80(%rsp)
call   1060 <sqrt@plt>
movapd 0x80(%rsp),%xmm3
movsd  0x68(%rsp),%xmm15
movapd 0x829(%rip),%xmm14
xorpd  %xmm13,%xmm13
movsd  0x853(%rip),%xmm12
movsd  0x83a(%rip),%xmm11
movsd  0x829(%rip),%xmm10
movapd 0x7f0(%rip),%xmm9
mov    0x28(%rsp),%r10
mov    0x30(%rsp),%r9
mov    0x18(%rsp),%r11
movapd %xmm12,%xmm2
divsd  %xmm0,%xmm2
movapd %xmm3,%xmm0
mulsd  %xmm2,%xmm0
mov    (%r10,%r12,8),%rax
mulsd  (%rax,%rbp,8),%xmm3
addsd  %xmm12,%xmm2
mov    0x50(%rsp),%rcx
movsd  (%rcx,%r12,8),%xmm1
subsd  %xmm3,%xmm1
movsd  %xmm1,(%rcx,%r12,8)
movsd  (%rcx,%rbp,8),%xmm1
addsd  %xmm3,%xmm1
movsd  %xmm1,(%rcx,%rbp,8)
movsd  (%rbx,%r12,8),%xmm1
subsd  %xmm3,%xmm1
movsd  %xmm1,(%rbx,%r12,8)
movapd %xmm0,%xmm1
addsd  (%rbx,%rbp,8),%xmm3
divsd  %xmm2,%xmm1
movsd  %xmm3,(%rbx,%rbp,8)
movq   $0x0,(%rax,%rbp,8)
test   %r12,%r12
je     18eb <jacobi+0x79b>
movapd %xmm0,%xmm2
xorpd  %xmm14,%xmm2
xor    %ecx,%ecx
nopl   0x0(%rax,%rax,1)
mov    (%r10,%rcx,8),%rdx
movsd  (%rdx,%r12,8),%xmm3
movsd  (%rdx,%rbp,8),%xmm4
movapd %xmm3,%xmm5
mulsd  %xmm1,%xmm5
addsd  %xmm4,%xmm5
mulsd  %xmm2,%xmm5
addsd  %xmm3,%xmm5
movsd  %xmm5,(%rdx,%r12,8)
movapd %xmm4,%xmm5
mulsd  %xmm1,%xmm5
subsd  %xmm5,%xmm3
mulsd  %xmm0,%xmm3
addsd  %xmm4,%xmm3
movsd  %xmm3,(%rdx,%rbp,8)
add    $0x1,%rcx
cmp    %rcx,%r12
jne    18a0 <jacobi+0x750>
cmp    %rbp,0x38(%rsp)
jae    1959 <jacobi+0x809>
movapd %xmm0,%xmm2
xorpd  %xmm14,%xmm2
mov    0x48(%rsp),%rcx
lea    (%rax,%rcx,8),%rcx
xor    %edx,%edx
cs nopw 0x0(%rax,%rax,1)
movsd  (%rcx,%rdx,8),%xmm3
mov    (%r15,%rdx,8),%rsi
movsd  (%rsi,%rbp,8),%xmm4
movapd %xmm3,%xmm5
mulsd  %xmm1,%xmm5
addsd  %xmm4,%xmm5
mulsd  %xmm2,%xmm5
addsd  %xmm3,%xmm5
movsd  %xmm5,(%rcx,%rdx,8)
movapd %xmm4,%xmm5
mulsd  %xmm1,%xmm5
subsd  %xmm5,%xmm3
mulsd  %xmm0,%xmm3
addsd  %xmm4,%xmm3
movsd  %xmm3,(%rsi,%rbp,8)
add    $0x1,%rdx
cmp    %rdx,%r13
jne    1910 <jacobi+0x7c0>
lea    0x1(%rbp),%ecx
cmp    %r9d,%ecx
jge    1aa5 <jacobi+0x955>
lea    (%r12,%r13,1),%esi
mov    0x24(%rsp),%ecx
mov    %ecx,%r8d
mov    (%r10,%rbp,8),%rcx
movapd %xmm0,%xmm2
xorpd  %xmm14,%xmm2
mov    %r14,%rdx
sub    %esi,%r8d
je     1a60 <jacobi+0x910>
mov    0xe0(%rsp),%rdx
add    %r13,%rdx
add    %r8,%rdx
lea    (%rax,%r14,8),%rdi
lea    (%rcx,%r14,8),%rsi
lea    (%rcx,%rdx,8),%rbx
cmp    %rbx,%rdi
jae    19bd <jacobi+0x86d>
lea    (%rax,%rdx,8),%rbx
mov    %r14,%rdx
cmp    %rbx,%rsi
mov    0x10(%rsp),%rbx
jb     1a60 <jacobi+0x910>
mov    0x40(%rsp),%r10d
add    $0x1,%r10
and    $0xfffffffffffffffe,%r10
add    $0x1,%r8
mov    %r8,%r9
and    $0xfffffffffffffffe,%r9
lea    (%r14,%r9,1),%rdx
movapd %xmm1,%xmm3
unpcklpd %xmm1,%xmm3
movapd %xmm2,%xmm8
unpcklpd %xmm2,%xmm8
movapd %xmm0,%xmm5
unpcklpd %xmm0,%xmm5
xor    %ebx,%ebx
cs nopw 0x0(%rax,%rax,1)
nop
movupd (%rdi,%rbx,8),%xmm4
movupd (%rsi,%rbx,8),%xmm7
movapd %xmm4,%xmm6
mulpd  %xmm3,%xmm6
addpd  %xmm7,%xmm6
mulpd  %xmm8,%xmm6
addpd  %xmm4,%xmm6
movupd %xmm6,(%rdi,%rbx,8)
movapd %xmm7,%xmm6
mulpd  %xmm3,%xmm6
subpd  %xmm6,%xmm4
mulpd  %xmm5,%xmm4
addpd  %xmm7,%xmm4
movupd %xmm4,(%rsi,%rbx,8)
add    $0x2,%rbx
cmp    %rbx,%r10
jne    1a00 <jacobi+0x8b0>
cmp    %r9,%r8
mov    0x10(%rsp),%rbx
mov    0x30(%rsp),%r9
mov    0x28(%rsp),%r10
je     1aa5 <jacobi+0x955>
nopw   0x0(%rax,%rax,1)
movsd  (%rax,%rdx,8),%xmm3
movsd  (%rcx,%rdx,8),%xmm4
movapd %xmm3,%xmm5
mulsd  %xmm1,%xmm5
addsd  %xmm4,%xmm5
mulsd  %xmm2,%xmm5
addsd  %xmm3,%xmm5
movsd  %xmm5,(%rax,%rdx,8)
movapd %xmm4,%xmm5
mulsd  %xmm1,%xmm5
subsd  %xmm5,%xmm3
mulsd  %xmm0,%xmm3
addsd  %xmm4,%xmm3
movsd  %xmm3,(%rcx,%rdx,8)
add    $0x1,%rdx
cmp    %r9d,%edx
jl     1a60 <jacobi+0x910>
test   %r9d,%r9d
mov    0x70(%rsp),%rdi
jle    1640 <jacobi+0x4f0>
movapd %xmm0,%xmm2
xorpd  %xmm14,%xmm2
xor    %ecx,%ecx
xchg   %ax,%ax
mov    (%r11,%rcx,8),%rdx
movsd  (%rdx,%r12,8),%xmm3
movsd  (%rdx,%rbp,8),%xmm4
movapd %xmm3,%xmm5
mulsd  %xmm1,%xmm5
addsd  %xmm4,%xmm5
mulsd  %xmm2,%xmm5
addsd  %xmm3,%xmm5
movsd  %xmm5,(%rdx,%r12,8)
movapd %xmm4,%xmm5
mulsd  %xmm1,%xmm5
subsd  %xmm5,%xmm3
mulsd  %xmm0,%xmm3
addsd  %xmm4,%xmm3
movsd  %xmm3,(%rdx,%rbp,8)
add    $0x1,%rcx
cmp    %rcx,%rdi
jne    1ac0 <jacobi+0x970>
jmp    1640 <jacobi+0x4f0>
test   %r9d,%r9d
mov    0x58(%rsp),%r12
mov    0x50(%rsp),%rcx
jle    14d0 <jacobi+0x380>
cmp    $0x4,%r9d
setb   %al
or     0x7(%rsp),%al
je     1b40 <jacobi+0x9f0>
xor    %edx,%edx
jmp    1c66 <jacobi+0xb16>
nopw   0x0(%rax,%rax,1)
cmpq   $0x0,0xa8(%rsp)
je     1cff <jacobi+0xbaf>
mov    0x98(%rsp),%rdx
xor    %eax,%eax
nopl   0x0(%rax)
movupd (%rcx,%rax,8),%xmm0
xorpd  %xmm3,%xmm3
movupd 0x10(%rcx,%rax,8),%xmm1
movupd (%r12,%rax,8),%xmm2
addpd  %xmm0,%xmm2
movupd 0x10(%r12,%rax,8),%xmm0
addpd  %xmm1,%xmm0
movupd %xmm2,(%r12,%rax,8)
movupd %xmm0,0x10(%r12,%rax,8)
movupd %xmm2,(%rbx,%rax,8)
movupd %xmm0,0x10(%rbx,%rax,8)
movupd %xmm3,(%rcx,%rax,8)
movupd %xmm3,0x10(%rcx,%rax,8)
movupd 0x20(%rcx,%rax,8),%xmm0
movupd 0x30(%rcx,%rax,8),%xmm1
movupd 0x20(%r12,%rax,8),%xmm2
addpd  %xmm0,%xmm2
movupd 0x30(%r12,%rax,8),%xmm0
addpd  %xmm1,%xmm0
xorpd  %xmm1,%xmm1
movupd %xmm2,0x20(%r12,%rax,8)
movupd %xmm0,0x30(%r12,%rax,8)
movupd %xmm2,0x20(%rbx,%rax,8)
movupd %xmm0,0x30(%rbx,%rax,8)
movupd %xmm1,0x20(%rcx,%rax,8)
movupd %xmm1,0x30(%rcx,%rax,8)
add    $0x8,%rax
add    $0xfffffffffffffffe,%rdx
jne    1b60 <jacobi+0xa10>
testb  $0x1,0xa0(%rsp)
01
je     1c52 <jacobi+0xb02>
movupd (%rcx,%rax,8),%xmm0
movupd 0x10(%rcx,%rax,8),%xmm1
movupd (%r12,%rax,8),%xmm2
addpd  %xmm0,%xmm2
movupd 0x10(%r12,%rax,8),%xmm0
addpd  %xmm1,%xmm0
xorpd  %xmm1,%xmm1
movupd %xmm2,(%r12,%rax,8)
movupd %xmm0,0x10(%r12,%rax,8)
movupd %xmm2,(%rbx,%rax,8)
movupd %xmm0,0x10(%rbx,%rax,8)
movupd %xmm1,(%rcx,%rax,8)
movupd %xmm1,0x10(%rcx,%rax,8)
mov    0xb0(%rsp),%rax
mov    %rax,%rdx
cmp    %rdi,%rax
je     14d0 <jacobi+0x380>
mov    %rdx,%rax
test   $0x1,%dil
je     1c94 <jacobi+0xb44>
movsd  (%rcx,%rdx,8),%xmm0
addsd  (%r12,%rdx,8),%xmm0
movsd  %xmm0,(%r12,%rdx,8)
movsd  %xmm0,(%rbx,%rdx,8)
movq   $0x0,(%rcx,%rdx,8)
mov    %rdx,%rax
or     $0x1,%rax
not    %rdx
cmp    0xb8(%rsp),%rdx
je     14d0 <jacobi+0x380>
cs nopw 0x0(%rax,%rax,1)
nop
movsd  (%rcx,%rax,8),%xmm0
addsd  (%r12,%rax,8),%xmm0
movsd  %xmm0,(%r12,%rax,8)
movsd  %xmm0,(%rbx,%rax,8)
movq   $0x0,(%rcx,%rax,8)
movsd  0x8(%rcx,%rax,8),%xmm0
addsd  0x8(%r12,%rax,8),%xmm0
movsd  %xmm0,0x8(%r12,%rax,8)
movsd  %xmm0,0x8(%rbx,%rax,8)
movq   $0x0,0x8(%rcx,%rax,8)
add    $0x2,%rax
cmp    %rax,%rdi
jne    1cb0 <jacobi+0xb60>
jmp    14d0 <jacobi+0x380>
xor    %eax,%eax
testb  $0x1,0xa0(%rsp)
01
jne    1c0b <jacobi+0xabb>
jmp    1c52 <jacobi+0xb02>
lea    0x3c9(%rip),%rdi
lea    0x330(%rip),%rbx
mov    %rbx,%rsi
mov    $0x47,%edx
xor    %eax,%eax
call   1050 <save_free@plt>
lea    0x318(%rip),%rdi
mov    %rbx,%rsi
mov    $0x48,%edx
mov    %r12,%rcx
xor    %eax,%eax
add    $0xe8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1050 <save_free@plt>
lea    0x384(%rip),%rdi
xor    %eax,%eax
add    $0xe8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1070 <jacobierror@plt>
xor    %eax,%eax
test   $0x1,%dil
jne    138c <jacobi+0x23c>
jmp    13a8 <jacobi+0x258>

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

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