#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 SIGN(double, double);
double fabs(double);
double pythag(double, double);
void tqli(double d[], double e[], int n, double z[]) {
  int m, l, iter, i, k;
  double s, r, p, g, f, dd, c, b;
  for (i = 1; i < n; i++)
    e[i - 1] = e[i];
  e[n - 1] = 0.0;
  for (l = 0; l < n; l++) {
    iter = 0;
    do {
      for (m = l; m < n - 1; m++) {
        dd = fabs(d[m]) + fabs(d[m + 1]);
        if ((double)(fabs(e[m]) + dd) == dd)
          break;
      }
      if (m != l) {
        if (iter++ == 30)
          break;
        g = (d[l + 1] - d[l]) / (2.0 * e[l]);
        r = pythag(g, 1.0);
        g = d[m] - d[l] + e[l] / (g + SIGN(r, g));
        s = c = 1.0;
        p = 0.0;
        for (i = m - 1; i >= l; i--) {
          f = s * e[i];
          b = c * e[i];
          e[i + 1] = (r = pythag(f, g));
          if (r == 0.0) {
            d[i + 1] -= p;
            e[m] = 0.0;
            break;
          }
          s = f / r;
          c = g / r;
          g = d[i + 1] - p;
          r = (d[i] - g) * s + 2.0 * c * b;
          d[i + 1] = g + (p = s * r);
          g = c * r - b;
          for (k = 0; k < n; k++) {
            f = z[i + 1 + k * n];
            z[i + 1 + k * n] = s * z[i + k * n] + c * f;
            z[i + k * n] = c * z[i + k * n] - s * f;
          }
        }
        if (r == 0.0 && i >= l)
          continue;
        d[l] -= p;
        e[l] = g;
        e[m] = 0.0;
      }
    } while (m != l);
  }
}


x86 assembly (clang, -O0):
<tqli>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    %rcx,-0x20(%rbp)
movl   $0x1,-0x30(%rbp)
mov    -0x30(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    117a <tqli+0x5a>
mov    -0x10(%rbp),%rax
movslq -0x30(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x30(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    1141 <tqli+0x21>
mov    -0x10(%rbp),%rax
mov    -0x14(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
movl   $0x0,-0x28(%rbp)
mov    -0x28(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1661 <tqli+0x541>
movl   $0x0,-0x2c(%rbp)
mov    -0x28(%rbp),%eax
mov    %eax,-0x24(%rbp)
mov    -0x24(%rbp),%eax
mov    -0x14(%rbp),%ecx
sub    $0x1,%ecx
cmp    %ecx,%eax
jge    1244 <tqli+0x124>
mov    -0x8(%rbp),%rax
movslq -0x24(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movaps 0xe2c(%rip),%xmm1
pand   %xmm1,%xmm0
mov    -0x8(%rbp),%rax
mov    -0x24(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm1
movaps 0xe0f(%rip),%xmm2
pand   %xmm2,%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movaps 0xdee(%rip),%xmm1
pand   %xmm1,%xmm0
addsd  -0x68(%rbp),%xmm0
ucomisd -0x68(%rbp),%xmm0
jne    1231 <tqli+0x111>
jp     1231 <tqli+0x111>
jmp    1244 <tqli+0x124>
jmp    1236 <tqli+0x116>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    11af <tqli+0x8f>
mov    -0x24(%rbp),%eax
cmp    -0x28(%rbp),%eax
je     163d <tqli+0x51d>
mov    -0x2c(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x2c(%rbp)
cmp    $0x1e,%eax
jne    1269 <tqli+0x149>
jmp    164e <tqli+0x52e>
mov    -0x8(%rbp),%rax
mov    -0x28(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x8(%rbp),%rax
movslq -0x28(%rbp),%rcx
subsd  (%rax,%rcx,8),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x28(%rbp),%rcx
movsd  0xd80(%rip),%xmm1
mulsd  (%rax,%rcx,8),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x58(%rbp),%xmm0
movsd  0xd5d(%rip),%xmm1
call   1040 <pythag@plt>
movsd  %xmm0,-0x48(%rbp)
mov    -0x8(%rbp),%rax
movslq -0x24(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x8(%rbp),%rax
movslq -0x28(%rbp),%rcx
subsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x80(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x28(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x58(%rbp),%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x48(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm1
call   1030 <SIGN@plt>
movsd  -0x90(%rbp),%xmm2
ff
movsd  -0x88(%rbp),%xmm1
ff
movaps %xmm0,%xmm3
movsd  -0x80(%rbp),%xmm0
addsd  %xmm3,%xmm2
divsd  %xmm2,%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  0xcd2(%rip),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  0xcc5(%rip),%xmm0
movsd  %xmm0,-0x40(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x24(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x30(%rbp)
mov    -0x30(%rbp),%eax
cmp    -0x28(%rbp),%eax
jl     15d7 <tqli+0x4b7>
movsd  -0x40(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x30(%rbp),%rcx
mulsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x70(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x30(%rbp),%rcx
mulsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x60(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm1
call   1040 <pythag@plt>
movsd  %xmm0,-0x48(%rbp)
mov    -0x10(%rbp),%rax
mov    -0x30(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x48(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    140e <tqli+0x2ee>
jp     140e <tqli+0x2ee>
movsd  -0x50(%rbp),%xmm1
mov    -0x8(%rbp),%rax
mov    -0x30(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
subsd  %xmm1,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
jmp    15d7 <tqli+0x4b7>
movsd  -0x60(%rbp),%xmm0
divsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x58(%rbp),%xmm0
divsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    -0x8(%rbp),%rax
mov    -0x30(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
subsd  -0x50(%rbp),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x8(%rbp),%rax
movslq -0x30(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
subsd  -0x58(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
movsd  0xbb1(%rip),%xmm1
mulsd  -0x70(%rbp),%xmm1
mulsd  -0x78(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x58(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm1
mulsd  -0x48(%rbp),%xmm1
movsd  %xmm1,-0x50(%rbp)
addsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
mov    -0x30(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x70(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    15c4 <tqli+0x4a4>
mov    -0x20(%rbp),%rax
mov    -0x30(%rbp),%ecx
add    $0x1,%ecx
mov    -0x34(%rbp),%edx
imul   -0x14(%rbp),%edx
add    %edx,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x40(%rbp),%xmm0
mov    -0x20(%rbp),%rax
mov    -0x30(%rbp),%ecx
mov    -0x34(%rbp),%edx
imul   -0x14(%rbp),%edx
add    %edx,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  -0x60(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
mov    -0x30(%rbp),%ecx
add    $0x1,%ecx
mov    -0x34(%rbp),%edx
imul   -0x14(%rbp),%edx
add    %edx,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x70(%rbp),%xmm0
mov    -0x20(%rbp),%rax
mov    -0x30(%rbp),%ecx
mov    -0x34(%rbp),%edx
imul   -0x14(%rbp),%edx
add    %edx,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0x40(%rbp),%xmm1
mulsd  -0x60(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
mov    -0x30(%rbp),%ecx
mov    -0x34(%rbp),%edx
imul   -0x14(%rbp),%edx
add    %edx,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    14e2 <tqli+0x3c2>
jmp    15c9 <tqli+0x4a9>
mov    -0x30(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x30(%rbp)
jmp    1361 <tqli+0x241>
movsd  -0x48(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    1600 <tqli+0x4e0>
jp     1600 <tqli+0x4e0>
mov    -0x30(%rbp),%eax
cmp    -0x28(%rbp),%eax
jl     1600 <tqli+0x4e0>
jmp    1642 <tqli+0x522>
movsd  -0x50(%rbp),%xmm1
mov    -0x8(%rbp),%rax
movslq -0x28(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
subsd  %xmm1,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x58(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x28(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
jmp    1642 <tqli+0x522>
mov    -0x24(%rbp),%eax
cmp    -0x28(%rbp),%eax
jne    11a9 <tqli+0x89>
jmp    1653 <tqli+0x533>
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    1196 <tqli+0x76>
add    $0x90,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<tqli>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xc8,%rsp
mov    %rcx,0x70(%rsp)
mov    %rsi,%r14
mov    %rdi,%rbx
cmp    $0x2,%edx
mov    %rdx,0x78(%rsp)
jl     117c <tqli+0x4c>
lea    0x8(%r14),%rsi
lea    -0x1(%rdx),%ebp
lea    0x0(,%rbp,8),%rdx
mov    %r14,%rdi
call   1050 <memmove@plt>
mov    %rbp,0x50(%rsp)
movq   $0x0,(%r14,%rbp,8)
jmp    1198 <tqli+0x68>
movslq %edx,%rax
movq   $0x0,-0x8(%r14,%rax,8)
xor    %eax,%eax
mov    %rax,0x50(%rsp)
cmp    $0x1,%edx
jne    15b1 <tqli+0x481>
mov    0x78(%rsp),%r13d
mov    %r13d,%ebp
and    $0xfffffffe,%ebp
mov    0x70(%rsp),%rax
lea    (%rax,%r13,8),%rcx
add    $0xfffffffffffffff8,%rcx
mov    %rcx,0x98(%rsp)
mov    %r13,0x30(%rsp)
shl    $0x4,%r13
add    $0xfffffffffffffff8,%rax
mov    %rax,0x90(%rsp)
movq   $0xffffffffffffffff,0x68(%rsp)
ff ff
xor    %edx,%edx
movsd  0xe40(%rip),%xmm1
movdqa 0xe18(%rip),%xmm3
mov    %r14,0x28(%rsp)
mov    %rbx,0x20(%rsp)
jmp    1211 <tqli+0xe1>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
addq   $0x1,0x68(%rsp)
cmp    0x30(%rsp),%rdx
je     15b1 <tqli+0x481>
mov    0x50(%rsp),%rax
cmp    %eax,%edx
cmovg  %edx,%eax
mov    %rax,0xa0(%rsp)
mov    %rax,%rsi
neg    %rsi
mov    %rdx,0x18(%rsp)
add    $0x1,%rdx
xor    %r12d,%r12d
mov    %rdx,0x60(%rsp)
mov    %rsi,0x58(%rsp)
jmp    129f <tqli+0x16f>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    0x20(%rsp),%rbx
mov    0x18(%rsp),%rax
movsd  (%rbx,%rax,8),%xmm0
subsd  %xmm5,%xmm0
movsd  %xmm0,(%rbx,%rax,8)
mov    0x28(%rsp),%r14
movsd  %xmm1,(%r14,%rax,8)
mov    0x10(%rsp),%rax
movq   $0x0,(%r14,%rax,8)
movsd  0xd98(%rip),%xmm1
movdqa 0xd70(%rip),%xmm3
mov    0x60(%rsp),%rdx
mov    0x58(%rsp),%rsi
mov    0xc(%rsp),%r12d
mov    0x68(%rsp),%rax
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
lea    (%rsi,%rax,1),%rcx
cmp    $0xffffffffffffffff,%rcx
je     1300 <tqli+0x1d0>
movdqu 0x8(%rbx,%rax,8),%xmm0
pand   %xmm3,%xmm0
pshufd $0xee,%xmm0,%xmm2
addsd  %xmm0,%xmm2
movq   0x8(%r14,%rax,8),%xmm0
pand   %xmm3,%xmm0
addsd  %xmm2,%xmm0
add    $0x1,%rax
ucomisd %xmm2,%xmm0
jne    12b0 <tqli+0x180>
jp     12b0 <tqli+0x180>
mov    %eax,%eax
cmp    0x18(%rsp),%rax
jne    1313 <tqli+0x1e3>
jmp    1200 <tqli+0xd0>
cs nopw 0x0(%rax,%rax,1)
mov    0xa0(%rsp),%rax
cmp    0x18(%rsp),%rax
je     1200 <tqli+0xd0>
cmp    $0x1e,%r12d
je     1200 <tqli+0xd0>
movsd  (%rbx,%rdx,8),%xmm0
mov    0x18(%rsp),%r15
subsd  (%rbx,%r15,8),%xmm0
add    $0x1,%r12d
movsd  (%r14,%r15,8),%xmm2
addsd  %xmm2,%xmm2
divsd  %xmm2,%xmm0
movsd  %xmm0,0x40(%rsp)
mov    %rax,0x10(%rsp)
call   1040 <pythag@plt>
mov    0x10(%rsp),%rax
movsd  (%rbx,%rax,8),%xmm1
subsd  (%rbx,%r15,8),%xmm1
movsd  %xmm1,0x38(%rsp)
movsd  (%r14,%r15,8),%xmm1
movaps %xmm1,0x80(%rsp)
movsd  0x40(%rsp),%xmm1
call   1030 <SIGN@plt>
movapd 0x80(%rsp),%xmm1
mov    0x10(%rsp),%rcx
addsd  0x40(%rsp),%xmm0
divsd  %xmm0,%xmm1
addsd  0x38(%rsp),%xmm1
xorpd  %xmm5,%xmm5
cmp    %r15,%rcx
mov    %r12d,0xc(%rsp)
jbe    1250 <tqli+0x120>
mov    0x98(%rsp),%rax
lea    (%rax,%rcx,8),%r15
mov    0x90(%rsp),%rax
lea    (%rax,%rcx,8),%r14
xorpd  %xmm5,%xmm5
mov    %rcx,%rax
movsd  0xc4b(%rip),%xmm0
movapd %xmm0,%xmm4
jmp    13fb <tqli+0x2cb>
nopl   0x0(%rax,%rax,1)
mulsd  %xmm4,%xmm1
subsd  %xmm6,%xmm1
add    $0xfffffffffffffff8,%r15
add    $0xfffffffffffffff8,%r14
cmp    0x18(%rsp),%rax
jle    1250 <tqli+0x120>
movapd %xmm1,0x80(%rsp)
movsd  %xmm4,0x38(%rsp)
movapd %xmm5,0x40(%rsp)
mov    %rax,%r12
mov    0x28(%rsp),%rbx
movsd  -0x8(%rbx,%rax,8),%xmm2
movsd  %xmm2,0xa8(%rsp)
mulsd  %xmm2,%xmm0
movapd %xmm0,0xb0(%rsp)
call   1040 <pythag@plt>
movsd  %xmm0,(%rbx,%r12,8)
ucomisd 0xbe1(%rip),%xmm0
jne    144f <tqli+0x31f>
jnp    1590 <tqli+0x460>
lea    -0x1(%r12),%rax
movsd  0x38(%rsp),%xmm6
mulsd  0xa8(%rsp),%xmm6
movapd 0x80(%rsp),%xmm4
unpcklpd 0xb0(%rsp),%xmm4
unpcklpd %xmm0,%xmm0
divpd  %xmm0,%xmm4
mov    0x20(%rsp),%rcx
movsd  (%rcx,%r12,8),%xmm3
subsd  0x40(%rsp),%xmm3
movsd  (%rcx,%rax,8),%xmm1
subsd  %xmm3,%xmm1
movapd %xmm4,%xmm2
addsd  %xmm4,%xmm2
mulsd  %xmm6,%xmm2
movapd %xmm4,%xmm0
unpckhpd %xmm4,%xmm0
mulsd  %xmm0,%xmm1
addsd  %xmm2,%xmm1
movapd %xmm0,%xmm5
mulsd  %xmm1,%xmm5
addsd  %xmm5,%xmm3
movsd  %xmm3,(%rcx,%r12,8)
movapd %xmm0,%xmm7
xorpd  0xb3f(%rip),%xmm7
unpcklpd %xmm4,%xmm7
cmpl   $0x1,0x78(%rsp)
jne    14e0 <tqli+0x3b0>
xor    %ecx,%ecx
jmp    154a <tqli+0x41a>
xor    %edx,%edx
xor    %ecx,%ecx
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
movsd  (%r14,%rdx,1),%xmm2
movsd  0x8(%r14,%rdx,1),%xmm3
unpcklpd %xmm3,%xmm3
mulpd  %xmm7,%xmm3
unpcklpd %xmm2,%xmm2
mulpd  %xmm4,%xmm2
addpd  %xmm3,%xmm2
movupd %xmm2,(%r14,%rdx,1)
movsd  (%r15,%rdx,1),%xmm2
movsd  0x8(%r15,%rdx,1),%xmm3
unpcklpd %xmm3,%xmm3
mulpd  %xmm7,%xmm3
unpcklpd %xmm2,%xmm2
mulpd  %xmm4,%xmm2
addpd  %xmm3,%xmm2
movupd %xmm2,(%r15,%rdx,1)
add    $0x2,%rcx
add    %r13,%rdx
cmp    %rcx,%rbp
jne    14f0 <tqli+0x3c0>
testb  $0x1,0x30(%rsp)
je     13e0 <tqli+0x2b0>
imul   0x30(%rsp),%rcx
add    %rcx,%r12
add    %rax,%rcx
mov    0x70(%rsp),%rdx
movsd  (%rdx,%r12,8),%xmm2
unpcklpd %xmm2,%xmm2
mulpd  %xmm7,%xmm2
movsd  (%rdx,%rcx,8),%xmm3
unpcklpd %xmm3,%xmm3
mulpd  %xmm4,%xmm3
addpd  %xmm2,%xmm3
movupd %xmm3,(%rdx,%rcx,8)
jmp    13e0 <tqli+0x2b0>
nop
mov    0x20(%rsp),%rbx
movsd  (%rbx,%r12,8),%xmm0
subsd  0x40(%rsp),%xmm0
movsd  %xmm0,(%rbx,%r12,8)
mov    0x28(%rsp),%r14
jmp    1273 <tqli+0x143>
add    $0xc8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
define void @tqli(double* nocapture %0, double* nocapture %1, i32 %2, double* nocapture %3) {
%5 = icmp sgt i32 %2, 1
br i1 %5, label %6, label %15
6: ; preds = %4
%7 = bitcast double* %1 to i8*
%8 = getelementptr double, double* %1, i64 1
%9 = bitcast double* %8 to i8*
%10 = add nsw i32 %2, -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* %1, i64 %13
store double 0.000000e+00, double* %14
br label %20
15: ; preds = %4
%16 = add nsw i32 %2, -1
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds double, double* %1, i64 %17
store double 0.000000e+00, double* %18
%19 = icmp eq i32 %2, 1
br i1 %19, label %20, label %190
20: ; preds = %6, %15
%21 = phi i32 [ %10, %6 ], [ 0, %15 ]
%22 = zext i32 %2 to i64
%23 = zext i32 %2 to i64
%24 = and i64 %23, 1
%25 = icmp eq i32 %2, 1
%26 = and i64 %23, 4294967294
%27 = icmp eq i64 %24, 0
br label %28
28: ; preds = %20, %188
%29 = phi i64 [ 0, %20 ], [ %32, %188 ]
%30 = trunc i64 %29 to i32
%31 = call i32 @llvm.smax.i32(i32 %30, i32 %21)
%32 = add nuw nsw i64 %29, 1
%33 = getelementptr inbounds double, double* %0, i64 %32
%34 = getelementptr inbounds double, double* %0, i64 %29
%35 = getelementptr inbounds double, double* %1, i64 %29
%36 = zext i32 %31 to i64
br label %37
37: ; preds = %186, %28
%38 = phi i32 [ %62, %186 ], [ 0, %28 ]
br label %39
39: ; preds = %42, %37
%40 = phi i64 [ %44, %42 ], [ %29, %37 ]
%41 = icmp eq i64 %40, %36
br i1 %41, label %58, label %42
42: ; preds = %39
%43 = getelementptr inbounds double, double* %0, i64 %40
%44 = add nuw nsw i64 %40, 1
%45 = bitcast double* %43 to <2 x double>*
%46 = load <2 x double>, <2 x double>* %45
%47 = call <2 x double> @llvm.fabs.v2f64(<2 x double> %46)
%48 = shufflevector <2 x double> %47, <2 x double> poison, <2 x i32> <i32 1, i32 undef>
%49 = fadd <2 x double> %47, %48
%50 = extractelement <2 x double> %49, i64 0
%51 = getelementptr inbounds double, double* %1, i64 %40
%52 = load double, double* %51
%53 = tail call double @llvm.fabs.f64(double %52)
%54 = fadd double %53, %50
%55 = fcmp oeq double %54, %50
br i1 %55, label %56, label %39
56: ; preds = %42
%57 = and i64 %40, 4294967295
br label %58
58: ; preds = %39, %56
%59 = phi i64 [ %57, %56 ], [ %36, %39 ]
%60 = icmp eq i64 %59, %29
br i1 %60, label %188, label %61
61: ; preds = %58
%62 = add nuw nsw i32 %38, 1
%63 = icmp eq i32 %38, 30
br i1 %63, label %188, label %64
64: ; preds = %61
%65 = load double, double* %33
%66 = load double, double* %34
%67 = fsub double %65, %66
%68 = load double, double* %35
%69 = fmul double %68, 2.000000e+00
%70 = fdiv double %67, %69
%71 = tail call double @pythag(double %70, double 1.000000e+00)
%72 = getelementptr inbounds double, double* %0, i64 %59
%73 = load double, double* %72
%74 = load double, double* %34
%75 = fsub double %73, %74
%76 = load double, double* %35
%77 = tail call double @SIGN(double %71, double %70)
%78 = fadd double %70, %77
%79 = fdiv double %76, %78
%80 = fadd double %75, %79
%81 = icmp ugt i64 %59, %29
br i1 %81, label %102, label %181
82: ; preds = %142, %116
%83 = phi i64 [ 0, %116 ], [ %174, %142 ]
br i1 %27, label %100, label %84
84: ; preds = %82
%85 = mul nsw i64 %83, %22
%86 = add nsw i64 %85, %103
%87 = getelementptr inbounds double, double* %3, i64 %86
%88 = load double, double* %87
%89 = add nsw i64 %85, %108
%90 = getelementptr inbounds double, double* %3, i64 %89
%91 = load double, double* %90
%92 = insertelement <2 x double> poison, double %88, i64 0
%93 = shufflevector <2 x double> %92, <2 x double> poison, <2 x i32> zeroinitializer
%94 = shufflevector <2 x double> %138, <2 x double> %121, <2 x i32> <i32 0, i32 2>
%95 = fmul <2 x double> %93, %94
%96 = insertelement <2 x double> poison, double %91, i64 0
%97 = shufflevector <2 x double> %96, <2 x double> poison, <2 x i32> zeroinitializer
%98 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %121, <2 x double> %97, <2 x double> %95)
%99 = bitcast double* %90 to <2 x double>*
store <2 x double> %98, <2 x double>* %99
br label %100
100: ; preds = %82, %84
%101 = icmp sgt i64 %108, %29
br i1 %101, label %102, label %181
102: ; preds = %64, %100
%103 = phi i64 [ %108, %100 ], [ %59, %64 ]
%104 = phi double [ %128, %100 ], [ 1.000000e+00, %64 ]
%105 = phi double [ %136, %100 ], [ %80, %64 ]
%106 = phi double [ %133, %100 ], [ 0.000000e+00, %64 ]
%107 = phi double [ %131, %100 ], [ 1.000000e+00, %64 ]
%108 = add nsw i64 %103, -1
%109 = getelementptr inbounds double, double* %1, i64 %108
%110 = load double, double* %109
%111 = fmul double %107, %110
%112 = fmul double %104, %110
%113 = tail call double @pythag(double %111, double %105)
%114 = getelementptr inbounds double, double* %1, i64 %103
store double %113, double* %114
%115 = fcmp oeq double %113, 0.000000e+00
br i1 %115, label %177, label %116
116: ; preds = %102
%117 = insertelement <2 x double> poison, double %105, i64 0
%118 = insertelement <2 x double> %117, double %111, i64 1
%119 = insertelement <2 x double> poison, double %113, i64 0
%120 = shufflevector <2 x double> %119, <2 x double> poison, <2 x i32> zeroinitializer
%121 = fdiv <2 x double> %118, %120
%122 = getelementptr inbounds double, double* %0, i64 %103
%123 = load double, double* %122
%124 = fsub double %123, %106
%125 = getelementptr inbounds double, double* %0, i64 %108
%126 = load double, double* %125
%127 = fsub double %126, %124
%128 = extractelement <2 x double> %121, i64 0
%129 = fmul double %128, 2.000000e+00
%130 = fmul double %112, %129
%131 = extractelement <2 x double> %121, i64 1
%132 = tail call double @llvm.fmuladd.f64(double %127, double %131, double %130)
%133 = fmul double %131, %132
%134 = fadd double %124, %133
store double %134, double* %122
%135 = fneg double %112
%136 = tail call double @llvm.fmuladd.f64(double %128, double %132, double %135)
%137 = fneg double %131
%138 = insertelement <2 x double> poison, double %137, i64 0
br i1 %25, label %82, label %139
139: ; preds = %116
%140 = shufflevector <2 x double> %138, <2 x double> %121, <2 x i32> <i32 0, i32 2>
%141 = shufflevector <2 x double> %138, <2 x double> %121, <2 x i32> <i32 0, i32 2>
br label %142
142: ; preds = %142, %139
%143 = phi i64 [ 0, %139 ], [ %174, %142 ]
%144 = phi i64 [ 0, %139 ], [ %175, %142 ]
%145 = mul nsw i64 %143, %22
%146 = add nsw i64 %145, %103
%147 = getelementptr inbounds double, double* %3, i64 %146
%148 = load double, double* %147
%149 = add nsw i64 %145, %108
%150 = getelementptr inbounds double, double* %3, i64 %149
%151 = load double, double* %150
%152 = insertelement <2 x double> poison, double %148, i64 0
%153 = shufflevector <2 x double> %152, <2 x double> poison, <2 x i32> zeroinitializer
%154 = fmul <2 x double> %153, %140
%155 = insertelement <2 x double> poison, double %151, i64 0
%156 = shufflevector <2 x double> %155, <2 x double> poison, <2 x i32> zeroinitializer
%157 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %121, <2 x double> %156, <2 x double> %154)
%158 = bitcast double* %150 to <2 x double>*
store <2 x double> %157, <2 x double>* %158
%159 = or i64 %143, 1
%160 = mul nsw i64 %159, %22
%161 = add nsw i64 %160, %103
%162 = getelementptr inbounds double, double* %3, i64 %161
%163 = load double, double* %162
%164 = add nsw i64 %160, %108
%165 = getelementptr inbounds double, double* %3, i64 %164
%166 = load double, double* %165
%167 = insertelement <2 x double> poison, double %163, i64 0
%168 = shufflevector <2 x double> %167, <2 x double> poison, <2 x i32> zeroinitializer
%169 = fmul <2 x double> %168, %141
%170 = insertelement <2 x double> poison, double %166, i64 0
%171 = shufflevector <2 x double> %170, <2 x double> poison, <2 x i32> zeroinitializer
%172 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %121, <2 x double> %171, <2 x double> %169)
%173 = bitcast double* %165 to <2 x double>*
store <2 x double> %172, <2 x double>* %173
%174 = add nuw nsw i64 %143, 2
%175 = add i64 %144, 2
%176 = icmp eq i64 %175, %26
br i1 %176, label %82, label %142
177: ; preds = %102
%178 = getelementptr inbounds double, double* %0, i64 %103
%179 = load double, double* %178
%180 = fsub double %179, %106
store double %180, double* %178
br label %186
181: ; preds = %100, %64
%182 = phi double [ 0.000000e+00, %64 ], [ %133, %100 ]
%183 = phi double [ %80, %64 ], [ %136, %100 ]
%184 = load double, double* %34
%185 = fsub double %184, %182
store double %185, double* %34
store double %183, double* %35
br label %186
186: ; preds = %177, %181
%187 = getelementptr inbounds double, double* %1, i64 %59
store double 0.000000e+00, double* %187
br label %37
188: ; preds = %58, %61
%189 = icmp eq i64 %32, %23
br i1 %189, label %190, label %28
190: ; preds = %188, %15
ret void
}