#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);
double hypot(double, double);
double pow(double, double);
void tql2(double **V, int n, double *d, double *e) {
  int i, j, k, l, m, iter;
  double f, tst1, eps, g, p, r, dl1, h, c, c2, c3, el1, s, s2;
  for (i = 1; i < n; i++) {
    e[i - 1] = e[i];
  }
  e[n - 1] = 0.0;
  f = 0.0;
  tst1 = 0.0;
  eps = pow(2.0, -52.0);
  for (l = 0; l < n; l++) {
    if (tst1 < fabs(d[l]) + fabs(e[l])) {
      tst1 = fabs(d[l]) + fabs(e[l]);
    }
    m = l;
    while (m < n) {
      if (fabs(e[m]) <= eps * tst1) {
        break;
      }
      m++;
    }
    if (m > l) {
      iter = 0;
      do {
        iter = iter + 1;
        g = d[l];
        p = (d[l + 1] - g) / (2.0 * e[l]);
        r = hypot(p, 1.0);
        if (p < 0) {
          r = -r;
        }
        d[l] = e[l] / (p + r);
        d[l + 1] = e[l] * (p + r);
        dl1 = d[l + 1];
        h = g - d[l];
        for (i = l + 2; i < n; i++) {
          d[i] -= h;
        }
        f = f + h;
        p = d[m];
        c = 1.0;
        c2 = c;
        c3 = c;
        el1 = e[l + 1];
        s = 0.0;
        s2 = 0.0;
        for (i = m - 1; i >= l; i--) {
          c3 = c2;
          c2 = c;
          s2 = s;
          g = c * e[i];
          h = c * p;
          r = hypot(p, e[i]);
          e[i + 1] = s * r;
          s = e[i] / r;
          c = p / r;
          p = c * d[i] - s * g;
          d[i + 1] = h + s * (c * g + s * d[i]);
          for (k = 0; k < n; k++) {
            h = V[k][i + 1];
            V[k][i + 1] = s * V[k][i] + c * h;
            V[k][i] = c * V[k][i] - s * h;
          }
        }
        p = -s * s2 * c3 * el1 * e[l] / dl1;
        e[l] = s * p;
        d[l] = c * p;
      } while (fabs(e[l]) > eps * tst1);
    }
    d[l] = d[l] + f;
    e[l] = 0.0;
  }
  for (i = 0; i < n - 1; i++) {
    k = i;
    p = d[i];
    for (j = i + 1; j < n; j++) {
      if (d[j] < p) {
        k = j;
        p = d[j];
      }
    }
    if (k != i) {
      d[k] = d[i];
      d[i] = p;
      for (j = 0; j < n; j++) {
        p = V[j][i];
        V[j][i] = V[j][k];
        V[j][k] = p;
      }
    }
  }
}


x86 assembly (clang, -O0):
<tql2>:
push   %rbp
mov    %rsp,%rbp
sub    $0xb0,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
movl   $0x1,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    117a <tql2+0x5a>
mov    -0x20(%rbp),%rax
movslq -0x24(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x20(%rbp),%rax
mov    -0x24(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1141 <tql2+0x21>
mov    -0x20(%rbp),%rax
mov    -0xc(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x40(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  0xe59(%rip),%xmm0
movsd  0xe59(%rip),%xmm1
call   1040 <pow@plt>
movsd  %xmm0,-0x50(%rbp)
movl   $0x0,-0x30(%rbp)
mov    -0x30(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    17bc <tql2+0x69c>
movsd  -0x48(%rbp),%xmm1
mov    -0x18(%rbp),%rax
movslq -0x30(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movaps 0xe3b(%rip),%xmm2
pand   %xmm2,%xmm0
mov    -0x20(%rbp),%rax
movslq -0x30(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
movaps 0xe23(%rip),%xmm3
pand   %xmm3,%xmm2
addsd  %xmm2,%xmm0
ucomisd %xmm1,%xmm0
jbe    1248 <tql2+0x128>
mov    -0x18(%rbp),%rax
movslq -0x30(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movaps 0xdfd(%rip),%xmm1
pand   %xmm1,%xmm0
mov    -0x20(%rbp),%rax
movslq -0x30(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
movaps 0xde5(%rip),%xmm2
pand   %xmm2,%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x30(%rbp),%eax
mov    %eax,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    1299 <tql2+0x179>
mov    -0x20(%rbp),%rax
movslq -0x34(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
movaps 0xdb2(%rip),%xmm0
pand   %xmm0,%xmm1
movsd  -0x50(%rbp),%xmm0
mulsd  -0x48(%rbp),%xmm0
ucomisd %xmm1,%xmm0
jb     128b <tql2+0x16b>
jmp    1299 <tql2+0x179>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    124e <tql2+0x12e>
mov    -0x34(%rbp),%eax
cmp    -0x30(%rbp),%eax
jle    177f <tql2+0x65f>
movl   $0x0,-0x38(%rbp)
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
mov    -0x18(%rbp),%rax
movslq -0x30(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x18(%rbp),%rax
mov    -0x30(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
subsd  -0x58(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movslq -0x30(%rbp),%rcx
movsd  0xd12(%rip),%xmm1
mulsd  (%rax,%rcx,8),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x60(%rbp),%xmm0
movsd  0xd07(%rip),%xmm1
call   1030 <hypot@plt>
movsd  %xmm0,-0x68(%rbp)
xorps  %xmm0,%xmm0
ucomisd -0x60(%rbp),%xmm0
jbe    1342 <tql2+0x222>
movsd  -0x68(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x20(%rbp),%rax
movslq -0x30(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  -0x60(%rbp),%xmm1
addsd  -0x68(%rbp),%xmm1
divsd  %xmm1,%xmm0
mov    -0x18(%rbp),%rax
movslq -0x30(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x20(%rbp),%rax
movslq -0x30(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  -0x60(%rbp),%xmm1
addsd  -0x68(%rbp),%xmm1
mulsd  %xmm1,%xmm0
mov    -0x18(%rbp),%rax
mov    -0x30(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x18(%rbp),%rax
mov    -0x30(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x58(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movslq -0x30(%rbp),%rcx
subsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x78(%rbp)
mov    -0x30(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    1403 <tql2+0x2e3>
movsd  -0x78(%rbp),%xmm1
mov    -0x18(%rbp),%rax
movslq -0x24(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
subsd  %xmm1,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    13ce <tql2+0x2ae>
movsd  -0x40(%rbp),%xmm0
addsd  -0x78(%rbp),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x18(%rbp),%rax
movslq -0x34(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  0xbe4(%rip),%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x80(%rbp),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x80(%rbp),%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
mov    -0x20(%rbp),%rax
mov    -0x30(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
mov    -0x34(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0x30(%rbp),%eax
jl     16cf <tql2+0x5af>
movsd  -0x88(%rbp),%xmm0
ff
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x80(%rbp),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0xa0(%rbp),%xmm0
ff
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0x80(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movslq -0x24(%rbp),%rcx
mulsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x80(%rbp),%xmm0
mulsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x60(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movslq -0x24(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
call   1030 <hypot@plt>
movsd  %xmm0,-0x68(%rbp)
movsd  -0xa0(%rbp),%xmm0
ff
mulsd  -0x68(%rbp),%xmm0
mov    -0x20(%rbp),%rax
mov    -0x24(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x20(%rbp),%rax
movslq -0x24(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
divsd  -0x68(%rbp),%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x60(%rbp),%xmm0
divsd  -0x68(%rbp),%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x80(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movslq -0x24(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0xa0(%rbp),%xmm1
ff
mulsd  -0x58(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x78(%rbp),%xmm1
movsd  -0xa0(%rbp),%xmm0
ff
movsd  -0x80(%rbp),%xmm2
movsd  -0x58(%rbp),%xmm4
movsd  -0xa0(%rbp),%xmm3
ff
mov    -0x18(%rbp),%rax
movslq -0x24(%rbp),%rcx
mulsd  (%rax,%rcx,8),%xmm3
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x18(%rbp),%rax
mov    -0x24(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    16bc <tql2+0x59c>
mov    -0x8(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    -0x24(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0xa0(%rbp),%xmm0
ff
mov    -0x8(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x24(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  -0x78(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    -0x24(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x80(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x24(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0xa0(%rbp),%xmm1
ff
mulsd  -0x78(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x24(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    15df <tql2+0x4bf>
jmp    16c1 <tql2+0x5a1>
mov    -0x24(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x24(%rbp)
jmp    1484 <tql2+0x364>
movsd  -0xa0(%rbp),%xmm0
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  -0xa8(%rbp),%xmm0
ff
mulsd  -0x90(%rbp),%xmm0
ff
mulsd  -0x98(%rbp),%xmm0
ff
mov    -0x20(%rbp),%rax
movslq -0x30(%rbp),%rcx
mulsd  (%rax,%rcx,8),%xmm0
divsd  -0x70(%rbp),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0xa0(%rbp),%xmm0
ff
mulsd  -0x60(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movslq -0x30(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x80(%rbp),%xmm0
mulsd  -0x60(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movslq -0x30(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x20(%rbp),%rax
movslq -0x30(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movaps 0x8be(%rip),%xmm1
pand   %xmm1,%xmm0
movsd  -0x50(%rbp),%xmm1
mulsd  -0x48(%rbp),%xmm1
ucomisd %xmm1,%xmm0
ja     12ac <tql2+0x18c>
jmp    177f <tql2+0x65f>
mov    -0x18(%rbp),%rax
movslq -0x30(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
addsd  -0x40(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movslq -0x30(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x20(%rbp),%rax
movslq -0x30(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    11c0 <tql2+0xa0>
movl   $0x0,-0x24(%rbp)
mov    -0x24(%rbp),%eax
mov    -0xc(%rbp),%ecx
sub    $0x1,%ecx
cmp    %ecx,%eax
jge    1917 <tql2+0x7f7>
mov    -0x24(%rbp),%eax
mov    %eax,-0x2c(%rbp)
mov    -0x18(%rbp),%rax
movslq -0x24(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
mov    -0x28(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    1848 <tql2+0x728>
mov    -0x18(%rbp),%rax
movslq -0x28(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
movsd  -0x60(%rbp),%xmm0
ucomisd %xmm1,%xmm0
jbe    1835 <tql2+0x715>
mov    -0x28(%rbp),%eax
mov    %eax,-0x2c(%rbp)
mov    -0x18(%rbp),%rax
movslq -0x28(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x60(%rbp)
jmp    183a <tql2+0x71a>
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    17f5 <tql2+0x6d5>
mov    -0x2c(%rbp),%eax
cmp    -0x24(%rbp),%eax
je     1904 <tql2+0x7e4>
mov    -0x18(%rbp),%rax
movslq -0x24(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x60(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movslq -0x24(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movl   $0x0,-0x28(%rbp)
mov    -0x28(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    18ff <tql2+0x7df>
mov    -0x8(%rbp),%rax
movslq -0x28(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x24(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    -0x8(%rbp),%rax
movslq -0x28(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x8(%rbp),%rax
movslq -0x28(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x24(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x60(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movslq -0x28(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x2c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    1887 <tql2+0x767>
jmp    1904 <tql2+0x7e4>
jmp    1909 <tql2+0x7e9>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    17c3 <tql2+0x6a3>
add    $0xb0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<tql2>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x128,%rsp
mov    %rcx,%r15
mov    %esi,%ecx
mov    %rdi,%rbx
cmp    $0x2,%esi
mov    %rdx,0x20(%rsp)
jl     1174 <tql2+0x54>
lea    0x8(%r15),%rsi
lea    -0x1(%rcx),%ebp
mov    %rcx,%r12
lea    0x0(,%rbp,8),%rdx
mov    %r15,%rdi
call   1040 <memmove@plt>
mov    0x20(%rsp),%rdx
mov    %r12,%rcx
mov    %rbp,0x30(%rsp)
movq   $0x0,(%r15,%rbp,8)
jmp    1190 <tql2+0x70>
movslq %ecx,%rax
movq   $0x0,-0x8(%r15,%rax,8)
cmp    $0x1,%ecx
jne    18cf <tql2+0x7af>
xor    %eax,%eax
mov    %rax,0x30(%rsp)
mov    %rcx,0x38(%rsp)
mov    %ecx,%edi
lea    -0x2(%rdi),%rax
mov    %rax,0x70(%rsp)
lea    -0x1(%rdi),%rax
mov    %rax,0x10(%rsp)
mov    %edi,%ebp
and    $0xfffffffe,%ebp
lea    0x40(%rdx),%rcx
lea    -0x6(%rdi),%rsi
mov    $0x2,%eax
mov    %rax,0x8(%rsp)
xor    %r12d,%r12d
xorpd  %xmm1,%xmm1
xorpd  %xmm4,%xmm4
mov    %rdi,0x18(%rsp)
jmp    1223 <tql2+0x103>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movapd %xmm6,%xmm2
addsd  %xmm4,%xmm2
movsd  %xmm2,(%rdx,%r12,8)
movq   $0x0,(%r15,%r12,8)
addq   $0x1,0x8(%rsp)
mov    0x40(%rsp),%rcx
add    $0x8,%rcx
mov    0x78(%rsp),%rsi
add    $0xffffffffffffffff,%rsi
mov    %r14,%r12
cmp    %rdi,%r14
movapd 0xe0(%rsp),%xmm1
je     17b0 <tql2+0x690>
movsd  (%rdx,%r12,8),%xmm5
movapd %xmm5,%xmm6
movapd 0xdcb(%rip),%xmm3
andpd  %xmm3,%xmm5
movsd  (%r15,%r12,8),%xmm7
movapd %xmm7,%xmm2
andpd  %xmm3,%xmm2
addsd  %xmm2,%xmm5
maxsd  %xmm1,%xmm5
movapd %xmm5,%xmm1
mulsd  0xdc5(%rip),%xmm1
ucomisd %xmm2,%xmm1
mov    %r12,%rax
jae    12a5 <tql2+0x185>
mov    %r12,%rax
nopw   0x0(%rax,%rax,1)
cmp    %rax,0x10(%rsp)
je     12a0 <tql2+0x180>
movsd  0x8(%r15,%rax,8),%xmm2
andpd  0xd7a(%rip),%xmm2
add    $0x1,%rax
ucomisd %xmm2,%xmm1
jb     1270 <tql2+0x150>
jmp    12a5 <tql2+0x185>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    0x38(%rsp),%rax
mov    %eax,%r8d
lea    0x1(%r12),%r14
cmp    %r8,%r12
mov    %rcx,0x40(%rsp)
mov    %rsi,0x78(%rsp)
movapd %xmm5,0xe0(%rsp)
jae    11e0 <tql2+0xc0>
mov    0x70(%rsp),%rax
sub    %r12,%rax
shr    $0x2,%rsi
lea    -0x4(%rax),%rcx
add    $0x1,%rsi
mov    %rcx,0xa0(%rsp)
shr    $0x2,%rcx
and    $0xfffffffffffffffe,%rsi
mov    %rsi,0x80(%rsp)
add    $0x1,%rcx
mov    %rcx,0x98(%rsp)
lea    0x2(%r12),%rcx
mov    %rcx,0xb0(%rsp)
mov    %r8,%rcx
mov    %r8,0xa8(%rsp)
movslq %r8d,%rcx
mov    %rcx,0x50(%rsp)
mulsd  0xcf7(%rip),%xmm5
movapd %xmm5,0xf0(%rsp)
mov    %rax,0x48(%rsp)
mov    %rax,%rcx
and    $0xfffffffffffffffc,%rcx
mov    0x8(%rsp),%rax
mov    %rcx,0x90(%rsp)
add    %rcx,%rax
mov    %rax,0x88(%rsp)
mov    %r14,0xb8(%rsp)
jmp    13fb <tql2+0x2db>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movsd  0xc8(%rsp),%xmm4
addsd  0x60(%rsp),%xmm4
movapd %xmm1,%xmm0
unpckhpd %xmm1,%xmm0
movapd %xmm0,%xmm2
xorpd  %xmm6,%xmm2
mulsd  %xmm8,%xmm2
mulsd  0x58(%rsp),%xmm2
movsd  0xc0(%rsp),%xmm3
mulsd  %xmm2,%xmm3
movapd %xmm3,%xmm2
mulsd  (%r15,%r12,8),%xmm2
divsd  0x100(%rsp),%xmm2
mulsd  %xmm2,%xmm0
movsd  %xmm0,(%r15,%r12,8)
mulsd  %xmm1,%xmm2
movsd  %xmm2,(%rdx,%r12,8)
movsd  (%r15,%r12,8),%xmm7
movapd %xmm7,%xmm1
andpd  0xc20(%rip),%xmm1
ucomisd 0xf0(%rsp),%xmm1
movapd %xmm2,%xmm6
mov    0xb8(%rsp),%r14
jbe    11e4 <tql2+0xc4>
movapd %xmm6,0x60(%rsp)
movsd  %xmm4,0xc8(%rsp)
movsd  (%rdx,%r14,8),%xmm0
subsd  %xmm6,%xmm0
addsd  %xmm7,%xmm7
divsd  %xmm7,%xmm0
movsd  %xmm0,0x28(%rsp)
movsd  0xbfe(%rip),%xmm1
call   1030 <hypot@plt>
mov    0x20(%rsp),%rdx
movapd 0xbd4(%rip),%xmm6
mov    0x18(%rsp),%rdi
movsd  0x28(%rsp),%xmm3
movapd %xmm3,%xmm2
cmpltsd 0xbdc(%rip),%xmm2
movapd %xmm2,%xmm1
andnpd %xmm0,%xmm1
xorpd  %xmm6,%xmm0
andpd  %xmm2,%xmm0
orpd   %xmm1,%xmm0
movapd 0x60(%rsp),%xmm5
movsd  (%r15,%r12,8),%xmm1
addsd  %xmm3,%xmm0
divsd  %xmm0,%xmm1
movsd  %xmm1,(%rdx,%r12,8)
mulsd  (%r15,%r12,8),%xmm0
movapd %xmm0,0x100(%rsp)
movsd  %xmm0,(%rdx,%r14,8)
subsd  %xmm1,%xmm5
cmp    %rdi,0xb0(%rsp)
jae    1587 <tql2+0x467>
mov    0x8(%rsp),%rax
cmpq   $0x4,0x48(%rsp)
jb     1570 <tql2+0x450>
movapd %xmm5,%xmm0
unpcklpd %xmm5,%xmm0
cmpq   $0x4,0xa0(%rsp)
jae    14d1 <tql2+0x3b1>
xor    %eax,%eax
jmp    1528 <tql2+0x408>
mov    0x80(%rsp),%rcx
xor    %eax,%eax
mov    0x40(%rsp),%rsi
movupd -0x30(%rsi,%rax,8),%xmm1
movupd -0x20(%rsi,%rax,8),%xmm2
movupd -0x10(%rsi,%rax,8),%xmm3
movupd (%rsi,%rax,8),%xmm4
subpd  %xmm0,%xmm1
subpd  %xmm0,%xmm2
movupd %xmm1,-0x30(%rsi,%rax,8)
movupd %xmm2,-0x20(%rsi,%rax,8)
subpd  %xmm0,%xmm3
subpd  %xmm0,%xmm4
movupd %xmm3,-0x10(%rsi,%rax,8)
movupd %xmm4,(%rsi,%rax,8)
add    $0x8,%rax
add    $0xfffffffffffffffe,%rcx
jne    14e0 <tql2+0x3c0>
testb  $0x1,0x98(%rsp)
01
je     1555 <tql2+0x435>
add    0x8(%rsp),%rax
movupd (%rdx,%rax,8),%xmm1
movupd 0x10(%rdx,%rax,8),%xmm2
subpd  %xmm0,%xmm1
subpd  %xmm0,%xmm2
movupd %xmm1,(%rdx,%rax,8)
movupd %xmm2,0x10(%rdx,%rax,8)
mov    0x88(%rsp),%rax
mov    0x90(%rsp),%rcx
cmp    %rcx,0x48(%rsp)
je     1587 <tql2+0x467>
nopl   0x0(%rax)
movsd  (%rdx,%rax,8),%xmm0
subsd  %xmm5,%xmm0
movsd  %xmm0,(%rdx,%rax,8)
add    $0x1,%rax
cmp    %rax,%rdi
jne    1570 <tql2+0x450>
movapd %xmm5,0x60(%rsp)
movsd  (%r15,%r14,8),%xmm0
movsd  %xmm0,0xc0(%rsp)
xorpd  %xmm8,%xmm8
movsd  0xa7f(%rip),%xmm0
movsd  %xmm0,0x58(%rsp)
movsd  0xa71(%rip),%xmm1
cmp    0x50(%rsp),%r12
jge    1370 <tql2+0x250>
mov    0xa8(%rsp),%rax
movsd  (%rdx,%rax,8),%xmm0
xorpd  %xmm7,%xmm7
mov    0x50(%rsp),%r13
movsd  0xa48(%rip),%xmm1
movaps %xmm1,%xmm2
movaps %xmm1,%xmm3
jmp    1613 <tql2+0x4f3>
nopl   0x0(%rax,%rax,1)
mulsd  %xmm7,%xmm10
mulsd  %xmm1,%xmm0
subsd  %xmm10,%xmm0
movapd %xmm9,%xmm2
movapd %xmm1,%xmm3
mov    %r14,%r12
cmp    %r14,%r13
jle    1370 <tql2+0x250>
movapd %xmm0,0x110(%rsp)
movsd  %xmm3,0x28(%rsp)
mov    %r12,%r14
movsd  %xmm2,0x58(%rsp)
movsd  %xmm7,0xd8(%rsp)
mov    %r13,%r12
add    $0xffffffffffffffff,%r13
movsd  -0x8(%r15,%r12,8),%xmm1
movsd  %xmm1,0xd0(%rsp)
call   1030 <hypot@plt>
movsd  0xd0(%rsp),%xmm10
movsd  0x28(%rsp),%xmm9
movsd  0xd8(%rsp),%xmm8
mov    0x20(%rsp),%rdx
movapd 0x998(%rip),%xmm6
mulsd  %xmm9,%xmm10
movapd 0x110(%rsp),%xmm2
movapd %xmm2,%xmm3
mulsd  %xmm9,%xmm3
movapd %xmm8,%xmm1
mulsd  %xmm0,%xmm1
movsd  %xmm1,(%r15,%r12,8)
movhpd -0x8(%r15,%r12,8),%xmm2
movapd %xmm2,%xmm1
unpcklpd %xmm0,%xmm0
divpd  %xmm0,%xmm1
movsd  -0x8(%rdx,%r12,8),%xmm0
movapd %xmm1,%xmm7
unpckhpd %xmm1,%xmm7
movapd %xmm7,%xmm2
xorpd  %xmm6,%xmm2
movapd %xmm7,%xmm4
mulsd  %xmm0,%xmm4
movapd %xmm1,%xmm5
mulsd  %xmm10,%xmm5
addsd  %xmm4,%xmm5
mulsd  %xmm7,%xmm5
addsd  %xmm3,%xmm5
movsd  %xmm5,(%rdx,%r12,8)
unpcklpd %xmm1,%xmm2
cmpq   $0x0,0x10(%rsp)
je     1770 <tql2+0x650>
xor    %eax,%eax
mov    0x18(%rsp),%rdi
xchg   %ax,%ax
mov    (%rbx,%rax,8),%rcx
movsd  (%rcx,%r12,8),%xmm3
unpcklpd %xmm3,%xmm3
mulpd  %xmm2,%xmm3
movsd  (%rcx,%r13,8),%xmm4
unpcklpd %xmm4,%xmm4
mulpd  %xmm1,%xmm4
addpd  %xmm3,%xmm4
movupd %xmm4,(%rcx,%r13,8)
mov    0x8(%rbx,%rax,8),%rcx
movsd  (%rcx,%r12,8),%xmm3
unpcklpd %xmm3,%xmm3
mulpd  %xmm2,%xmm3
movsd  (%rcx,%r13,8),%xmm4
unpcklpd %xmm4,%xmm4
mulpd  %xmm1,%xmm4
addpd  %xmm3,%xmm4
movupd %xmm4,(%rcx,%r13,8)
add    $0x2,%rax
cmp    %rax,%rbp
jne    1700 <tql2+0x5e0>
test   $0x1,%dil
je     15f0 <tql2+0x4d0>
jmp    1781 <tql2+0x661>
nopw   0x0(%rax,%rax,1)
xor    %eax,%eax
mov    0x18(%rsp),%rdi
test   $0x1,%dil
je     15f0 <tql2+0x4d0>
mov    (%rbx,%rax,8),%rax
movsd  (%rax,%r12,8),%xmm3
unpcklpd %xmm3,%xmm3
mulpd  %xmm2,%xmm3
movsd  (%rax,%r13,8),%xmm2
unpcklpd %xmm2,%xmm2
mulpd  %xmm1,%xmm2
addpd  %xmm3,%xmm2
movupd %xmm2,(%rax,%r13,8)
jmp    15f0 <tql2+0x4d0>
cmpl   $0x2,0x38(%rsp)
mov    0x30(%rsp),%r9
jl     18cf <tql2+0x7af>
mov    %edi,%r11d
and    $0xfffffffe,%r11d
mov    $0x1,%r10d
xor    %r8d,%r8d
jmp    17ed <tql2+0x6cd>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
add    $0x1,%r10
cmp    %r9,%r8
je     18cf <tql2+0x7af>
mov    %r8,%rsi
movsd  (%rdx,%r8,8),%xmm0
add    $0x1,%r8
cmp    %rdi,%r8
jae    1830 <tql2+0x710>
mov    %r10,%rcx
movapd %xmm0,%xmm2
mov    %esi,%eax
nopl   0x0(%rax,%rax,1)
movsd  (%rdx,%rcx,8),%xmm1
ucomisd %xmm1,%xmm2
cmova  %ecx,%eax
minsd  %xmm2,%xmm1
add    $0x1,%rcx
movapd %xmm1,%xmm2
cmp    %rcx,%rdi
jne    1810 <tql2+0x6f0>
jmp    1836 <tql2+0x716>
nop
mov    %esi,%eax
movapd %xmm0,%xmm1
mov    %eax,%ecx
cmp    %rcx,%rsi
je     17e0 <tql2+0x6c0>
cltq
movsd  %xmm0,(%rdx,%rax,8)
movsd  %xmm1,(%rdx,%rsi,8)
cmpq   $0x0,0x10(%rsp)
je     18a6 <tql2+0x786>
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    (%rbx,%rbp,8),%rcx
movsd  (%rcx,%rsi,8),%xmm0
movsd  (%rcx,%rax,8),%xmm1
movsd  %xmm1,(%rcx,%rsi,8)
movsd  %xmm0,(%rcx,%rax,8)
mov    0x8(%rbx,%rbp,8),%rcx
movsd  (%rcx,%rsi,8),%xmm0
movsd  (%rcx,%rax,8),%xmm1
movsd  %xmm1,(%rcx,%rsi,8)
movsd  %xmm0,(%rcx,%rax,8)
add    $0x2,%rbp
cmp    %rbp,%r11
jne    1860 <tql2+0x740>
test   $0x1,%dil
je     17e0 <tql2+0x6c0>
jmp    18b2 <tql2+0x792>
xor    %ebp,%ebp
test   $0x1,%dil
je     17e0 <tql2+0x6c0>
mov    (%rbx,%rbp,8),%rcx
movsd  (%rcx,%rsi,8),%xmm0
movsd  (%rcx,%rax,8),%xmm1
movsd  %xmm1,(%rcx,%rsi,8)
movsd  %xmm0,(%rcx,%rax,8)
jmp    17e0 <tql2+0x6c0>
add    $0x128,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
define void @tql2(double** nocapture %0, i32 %1, double* nocapture %2, double* nocapture %3) {
%5 = icmp sgt i32 %1, 1
br i1 %5, label %6, label %16
6: ; preds = %4
%7 = bitcast double* %3 to i8*
%8 = getelementptr double, double* %3, i64 1
%9 = bitcast double* %8 to i8*
%10 = add nsw i32 %1, -1
%11 = zext i32 %10 to i64
%12 = shl nuw nsw i64 %11, 3
%13 = zext i32 %10 to i64
%14 = getelementptr inbounds double, double* %3, i64 %13
store double 0.000000e+00, double* %14
%15 = zext i32 %10 to i64
br label %21
16: ; preds = %4
%17 = add nsw i32 %1, -1
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds double, double* %3, i64 %18
store double 0.000000e+00, double* %19
%20 = icmp eq i32 %1, 1
br i1 %20, label %21, label %347
21: ; preds = %6, %16
%22 = phi i64 [ %15, %6 ], [ 0, %16 ]
%23 = zext i32 %1 to i64
%24 = zext i32 %1 to i64
%25 = add nsw i64 %24, -2
%26 = add nsw i64 %24, -1
%27 = and i64 %24, 1
%28 = icmp eq i64 %26, 0
%29 = and i64 %24, 4294967294
%30 = icmp eq i64 %27, 0
br label %39
31: ; preds = %282
br i1 %5, label %32, label %347
32: ; preds = %31
%33 = zext i32 %1 to i64
%34 = zext i32 %1 to i64
%35 = and i64 %24, 1
%36 = icmp eq i64 %26, 0
%37 = and i64 %24, 4294967294
%38 = icmp eq i64 %35, 0
br label %288
39: ; preds = %282, %21
%40 = phi i64 [ 2, %21 ], [ %286, %282 ]
%41 = phi i64 [ 0, %21 ], [ %77, %282 ]
%42 = phi double [ 0.000000e+00, %21 ], [ %57, %282 ]
%43 = phi double [ 0.000000e+00, %21 ], [ %284, %282 ]
%44 = sub i64 %25, %41
%45 = add i64 %44, -4
%46 = lshr i64 %45, 2
%47 = add nuw nsw i64 %46, 1
%48 = sub i64 %25, %41
%49 = getelementptr inbounds double, double* %2, i64 %41
%50 = load double, double* %49
%51 = tail call double @llvm.fabs.f64(double %50)
%52 = getelementptr inbounds double, double* %3, i64 %41
%53 = load double, double* %52
%54 = tail call double @llvm.fabs.f64(double %53)
%55 = fadd double %51, %54
%56 = fcmp olt double %42, %55
%57 = select i1 %56, double %55, double %42
%58 = fmul double %57, 0x3CB0000000000000
%59 = tail call double @llvm.fabs.f64(double %53)
%60 = fcmp ugt double %59, %58
br i1 %60, label %61, label %70
61: ; preds = %39, %65
%62 = phi i64 [ %63, %65 ], [ %41, %39 ]
%63 = add nuw nsw i64 %62, 1
%64 = icmp eq i64 %63, %24
br i1 %64, label %73, label %65
65: ; preds = %61
%66 = getelementptr inbounds double, double* %3, i64 %63
%67 = load double, double* %66
%68 = tail call double @llvm.fabs.f64(double %67)
%69 = fcmp ugt double %68, %58
br i1 %69, label %61, label %70
70: ; preds = %65, %39
%71 = phi i64 [ %41, %39 ], [ %63, %65 ]
%72 = trunc i64 %71 to i32
br label %73
73: ; preds = %61, %70
%74 = phi i32 [ %72, %70 ], [ %1, %61 ]
%75 = zext i32 %74 to i64
%76 = icmp ult i64 %41, %75
%77 = add nuw nsw i64 %41, 1
br i1 %76, label %78, label %282
78: ; preds = %73
%79 = getelementptr inbounds double, double* %2, i64 %77
%80 = add nuw nsw i64 %41, 2
%81 = icmp ult i64 %80, %23
%82 = getelementptr inbounds double, double* %2, i64 %75
%83 = getelementptr inbounds double, double* %3, i64 %77
%84 = sext i32 %74 to i64
%85 = icmp slt i64 %41, %84
%86 = fmul double %57, 0x3CB0000000000000
%87 = icmp ult i64 %48, 4
%88 = and i64 %48, -4
%89 = add i64 %40, %88
%90 = and i64 %47, 1
%91 = icmp ult i64 %45, 4
%92 = and i64 %47, 9223372036854775806
%93 = icmp eq i64 %90, 0
%94 = icmp eq i64 %48, %88
br label %95
95: ; preds = %78, %264
%96 = phi double [ %279, %264 ], [ %53, %78 ]
%97 = phi double [ %278, %264 ], [ %50, %78 ]
%98 = phi double [ %173, %264 ], [ %43, %78 ]
%99 = load double, double* %79
%100 = fsub double %99, %97
%101 = fmul double %96, 2.000000e+00
%102 = fdiv double %100, %101
%103 = tail call double @hypot(double %102, double 1.000000e+00)
%104 = fcmp olt double %102, 0.000000e+00
%105 = fneg double %103
%106 = select i1 %104, double %105, double %103
%107 = load double, double* %52
%108 = fadd double %102, %106
%109 = fdiv double %107, %108
store double %109, double* %49
%110 = load double, double* %52
%111 = fmul double %110, %108
store double %111, double* %79
%112 = fsub double %97, %109
br i1 %81, label %113, label %172
113: ; preds = %95
br i1 %87, label %163, label %114
114: ; preds = %113
%115 = insertelement <2 x double> poison, double %112, i64 0
%116 = shufflevector <2 x double> %115, <2 x double> poison, <2 x i32> zeroinitializer
%117 = insertelement <2 x double> poison, double %112, i64 0
%118 = shufflevector <2 x double> %117, <2 x double> poison, <2 x i32> zeroinitializer
br i1 %91, label %148, label %119
119: ; preds = %114, %119
%120 = phi i64 [ %145, %119 ], [ 0, %114 ]
%121 = phi i64 [ %146, %119 ], [ 0, %114 ]
%122 = add i64 %40, %120
%123 = getelementptr inbounds double, double* %2, i64 %122
%124 = bitcast double* %123 to <2 x double>*
%125 = load <2 x double>, <2 x double>* %124
%126 = getelementptr inbounds double, double* %123, i64 2
%127 = bitcast double* %126 to <2 x double>*
%128 = load <2 x double>, <2 x double>* %127
%129 = fsub <2 x double> %125, %116
%130 = fsub <2 x double> %128, %118
%131 = bitcast double* %123 to <2 x double>*
store <2 x double> %129, <2 x double>* %131
%132 = bitcast double* %126 to <2 x double>*
store <2 x double> %130, <2 x double>* %132
%133 = or i64 %120, 4
%134 = add i64 %40, %133
%135 = getelementptr inbounds double, double* %2, i64 %134
%136 = bitcast double* %135 to <2 x double>*
%137 = load <2 x double>, <2 x double>* %136
%138 = getelementptr inbounds double, double* %135, i64 2
%139 = bitcast double* %138 to <2 x double>*
%140 = load <2 x double>, <2 x double>* %139
%141 = fsub <2 x double> %137, %116
%142 = fsub <2 x double> %140, %118
%143 = bitcast double* %135 to <2 x double>*
store <2 x double> %141, <2 x double>* %143
%144 = bitcast double* %138 to <2 x double>*
store <2 x double> %142, <2 x double>* %144
%145 = add nuw i64 %120, 8
%146 = add i64 %121, 2
%147 = icmp eq i64 %146, %92
br i1 %147, label %148, label %119
148: ; preds = %119, %114
%149 = phi i64 [ 0, %114 ], [ %145, %119 ]
br i1 %93, label %162, label %150
150: ; preds = %148
%151 = add i64 %40, %149
%152 = getelementptr inbounds double, double* %2, i64 %151
%153 = bitcast double* %152 to <2 x double>*
%154 = load <2 x double>, <2 x double>* %153
%155 = getelementptr inbounds double, double* %152, i64 2
%156 = bitcast double* %155 to <2 x double>*
%157 = load <2 x double>, <2 x double>* %156
%158 = fsub <2 x double> %154, %116
%159 = fsub <2 x double> %157, %118
%160 = bitcast double* %152 to <2 x double>*
store <2 x double> %158, <2 x double>* %160
%161 = bitcast double* %155 to <2 x double>*
store <2 x double> %159, <2 x double>* %161
br label %162
162: ; preds = %148, %150
br i1 %94, label %172, label %163
163: ; preds = %113, %162
%164 = phi i64 [ %40, %113 ], [ %89, %162 ]
br label %165
165: ; preds = %163, %165
%166 = phi i64 [ %170, %165 ], [ %164, %163 ]
%167 = getelementptr inbounds double, double* %2, i64 %166
%168 = load double, double* %167
%169 = fsub double %168, %112
store double %169, double* %167
%170 = add nuw nsw i64 %166, 1
%171 = icmp eq i64 %170, %24
br i1 %171, label %172, label %165
172: ; preds = %165, %162, %95
%173 = fadd double %98, %112
%174 = load double, double* %83
br i1 %85, label %175, label %264
175: ; preds = %172
%176 = load double, double* %82
br label %196
177: ; preds = %231, %196
%178 = phi i64 [ 0, %196 ], [ %261, %231 ]
br i1 %30, label %194, label %179
179: ; preds = %177
%180 = getelementptr inbounds double*, double** %0, i64 %178
%181 = load double*, double** %180
%182 = getelementptr inbounds double, double* %181, i64 %197
%183 = load double, double* %182
%184 = getelementptr inbounds double, double* %181, i64 %202
%185 = load double, double* %184
%186 = insertelement <2 x double> poison, double %183, i64 0
%187 = shufflevector <2 x double> %186, <2 x double> poison, <2 x i32> zeroinitializer
%188 = shufflevector <2 x double> %227, <2 x double> %215, <2 x i32> <i32 0, i32 2>
%189 = fmul <2 x double> %187, %188
%190 = insertelement <2 x double> poison, double %185, i64 0
%191 = shufflevector <2 x double> %190, <2 x double> poison, <2 x i32> zeroinitializer
%192 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %215, <2 x double> %191, <2 x double> %189)
%193 = bitcast double* %184 to <2 x double>*
store <2 x double> %192, <2 x double>* %193
br label %194
194: ; preds = %177, %179
%195 = icmp sgt i64 %202, %41
br i1 %195, label %196, label %264
196: ; preds = %194, %175
%197 = phi i64 [ %84, %175 ], [ %202, %194 ]
%198 = phi double [ 0.000000e+00, %175 ], [ %218, %194 ]
%199 = phi double [ 1.000000e+00, %175 ], [ %200, %194 ]
%200 = phi double [ 1.000000e+00, %175 ], [ %221, %194 ]
%201 = phi double [ %176, %175 ], [ %222, %194 ]
%202 = add nsw i64 %197, -1
%203 = getelementptr inbounds double, double* %3, i64 %202
%204 = load double, double* %203
%205 = fmul double %200, %204
%206 = fmul double %201, %200
%207 = tail call double @hypot(double %201, double %204)
%208 = fmul double %198, %207
%209 = getelementptr inbounds double, double* %3, i64 %197
store double %208, double* %209
%210 = load double, double* %203
%211 = insertelement <2 x double> poison, double %201, i64 0
%212 = insertelement <2 x double> %211, double %210, i64 1
%213 = insertelement <2 x double> poison, double %207, i64 0
%214 = shufflevector <2 x double> %213, <2 x double> poison, <2 x i32> zeroinitializer
%215 = fdiv <2 x double> %212, %214
%216 = getelementptr inbounds double, double* %2, i64 %202
%217 = load double, double* %216
%218 = extractelement <2 x double> %215, i64 1
%219 = fneg double %218
%220 = fmul double %205, %219
%221 = extractelement <2 x double> %215, i64 0
%222 = tail call double @llvm.fmuladd.f64(double %221, double %217, double %220)
%223 = fmul double %218, %217
%224 = tail call double @llvm.fmuladd.f64(double %221, double %205, double %223)
%225 = tail call double @llvm.fmuladd.f64(double %218, double %224, double %206)
%226 = getelementptr inbounds double, double* %2, i64 %197
store double %225, double* %226
%227 = insertelement <2 x double> poison, double %219, i64 0
br i1 %28, label %177, label %228
228: ; preds = %196
%229 = shufflevector <2 x double> %227, <2 x double> %215, <2 x i32> <i32 0, i32 2>
%230 = shufflevector <2 x double> %227, <2 x double> %215, <2 x i32> <i32 0, i32 2>
br label %231
231: ; preds = %231, %228
%232 = phi i64 [ 0, %228 ], [ %261, %231 ]
%233 = phi i64 [ 0, %228 ], [ %262, %231 ]
%234 = getelementptr inbounds double*, double** %0, i64 %232
%235 = load double*, double** %234
%236 = getelementptr inbounds double, double* %235, i64 %197
%237 = load double, double* %236
%238 = getelementptr inbounds double, double* %235, i64 %202
%239 = load double, double* %238
%240 = insertelement <2 x double> poison, double %237, i64 0
%241 = shufflevector <2 x double> %240, <2 x double> poison, <2 x i32> zeroinitializer
%242 = fmul <2 x double> %241, %229
%243 = insertelement <2 x double> poison, double %239, i64 0
%244 = shufflevector <2 x double> %243, <2 x double> poison, <2 x i32> zeroinitializer
%245 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %215, <2 x double> %244, <2 x double> %242)
%246 = bitcast double* %238 to <2 x double>*
store <2 x double> %245, <2 x double>* %246
%247 = or i64 %232, 1
%248 = getelementptr inbounds double*, double** %0, i64 %247
%249 = load double*, double** %248
%250 = getelementptr inbounds double, double* %249, i64 %197
%251 = load double, double* %250
%252 = getelementptr inbounds double, double* %249, i64 %202
%253 = load double, double* %252
%254 = insertelement <2 x double> poison, double %251, i64 0
%255 = shufflevector <2 x double> %254, <2 x double> poison, <2 x i32> zeroinitializer
%256 = fmul <2 x double> %255, %230
%257 = insertelement <2 x double> poison, double %253, i64 0
%258 = shufflevector <2 x double> %257, <2 x double> poison, <2 x i32> zeroinitializer
%259 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %215, <2 x double> %258, <2 x double> %256)
%260 = bitcast double* %252 to <2 x double>*
store <2 x double> %259, <2 x double>* %260
%261 = add nuw nsw i64 %232, 2
%262 = add i64 %233, 2
%263 = icmp eq i64 %262, %29
br i1 %263, label %177, label %231
264: ; preds = %194, %172
%265 = phi double [ 1.000000e+00, %172 ], [ %199, %194 ]
%266 = phi double [ 0.000000e+00, %172 ], [ %198, %194 ]
%267 = phi <2 x double> [ <double 1.000000e+00, double 0.000000e+00>, %172 ], [ %215, %194 ]
%268 = extractelement <2 x double> %267, i64 1
%269 = fneg double %268
%270 = fmul double %266, %269
%271 = fmul double %265, %270
%272 = fmul double %174, %271
%273 = load double, double* %52
%274 = fmul double %272, %273
%275 = fdiv double %274, %111
%276 = fmul double %268, %275
store double %276, double* %52
%277 = extractelement <2 x double> %267, i64 0
%278 = fmul double %277, %275
store double %278, double* %49
%279 = load double, double* %52
%280 = tail call double @llvm.fabs.f64(double %279)
%281 = fcmp ogt double %280, %86
br i1 %281, label %95, label %282
282: ; preds = %264, %73
%283 = phi double [ %50, %73 ], [ %278, %264 ]
%284 = phi double [ %43, %73 ], [ %173, %264 ]
%285 = fadd double %284, %283
store double %285, double* %49
store double 0.000000e+00, double* %52
%286 = add nuw nsw i64 %40, 1
%287 = icmp eq i64 %77, %24
br i1 %287, label %31, label %39
288: ; preds = %32, %344
%289 = phi i64 [ 0, %32 ], [ %293, %344 ]
%290 = phi i64 [ 1, %32 ], [ %345, %344 ]
%291 = getelementptr inbounds double, double* %2, i64 %289
%292 = load double, double* %291
%293 = add nuw nsw i64 %289, 1
%294 = icmp ult i64 %293, %33
%295 = trunc i64 %289 to i32
br i1 %294, label %296, label %308
296: ; preds = %288, %296
%297 = phi i64 [ %306, %296 ], [ %290, %288 ]
%298 = phi double [ %305, %296 ], [ %292, %288 ]
%299 = phi i32 [ %304, %296 ], [ %295, %288 ]
%300 = getelementptr inbounds double, double* %2, i64 %297
%301 = load double, double* %300
%302 = fcmp olt double %301, %298
%303 = trunc i64 %297 to i32
%304 = select i1 %302, i32 %303, i32 %299
%305 = select i1 %302, double %301, double %298
%306 = add nuw nsw i64 %297, 1
%307 = icmp eq i64 %306, %34
br i1 %307, label %308, label %296
308: ; preds = %296, %288
%309 = phi i32 [ %295, %288 ], [ %304, %296 ]
%310 = phi double [ %292, %288 ], [ %305, %296 ]
%311 = zext i32 %309 to i64
%312 = icmp eq i64 %289, %311
br i1 %312, label %344, label %313
313: ; preds = %308
%314 = sext i32 %309 to i64
%315 = getelementptr inbounds double, double* %2, i64 %314
store double %292, double* %315
store double %310, double* %291
br i1 %36, label %335, label %316
316: ; preds = %313, %316
%317 = phi i64 [ %332, %316 ], [ 0, %313 ]
%318 = phi i64 [ %333, %316 ], [ 0, %313 ]
%319 = getelementptr inbounds double*, double** %0, i64 %317
%320 = load double*, double** %319
%321 = getelementptr inbounds double, double* %320, i64 %289
%322 = load double, double* %321
%323 = getelementptr inbounds double, double* %320, i64 %314
%324 = load double, double* %323
store double %324, double* %321
store double %322, double* %323
%325 = or i64 %317, 1
%326 = getelementptr inbounds double*, double** %0, i64 %325
%327 = load double*, double** %326
%328 = getelementptr inbounds double, double* %327, i64 %289
%329 = load double, double* %328
%330 = getelementptr inbounds double, double* %327, i64 %314
%331 = load double, double* %330
store double %331, double* %328
store double %329, double* %330
%332 = add nuw nsw i64 %317, 2
%333 = add i64 %318, 2
%334 = icmp eq i64 %333, %37
br i1 %334, label %335, label %316
335: ; preds = %316, %313
%336 = phi i64 [ 0, %313 ], [ %332, %316 ]
br i1 %38, label %344, label %337
337: ; preds = %335
%338 = getelementptr inbounds double*, double** %0, i64 %336
%339 = load double*, double** %338
%340 = getelementptr inbounds double, double* %339, i64 %289
%341 = load double, double* %340
%342 = getelementptr inbounds double, double* %339, i64 %314
%343 = load double, double* %342
store double %343, double* %340
store double %341, double* %342
br label %344
344: ; preds = %337, %335, %308
%345 = add nuw nsw i64 %290, 1
%346 = icmp eq i64 %293, %22
br i1 %346, label %347, label %288
347: ; preds = %344, %16, %31
ret void
}