#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 */
scalar_t__ fabs(double);
double sqrt(double);
void eigenvector_tred2(double **a, int n, double d[], double e[]) {
  register int l, k, j, i;
  double scale, hh, h, g, f;
  for (i = n; i >= 2; i--) {
    l = i - 1;
    h = scale = 0.0;
    if (l > 1) {
      for (k = 1; k <= l; k++)
        scale += fabs(a[i][k]);
      if (scale == 0.0)
        e[i] = a[i][l];
      else {
        for (k = 1; k <= l; k++) {
          a[i][k] /= scale;
          h += a[i][k] * a[i][k];
        }
        f = a[i][l];
        g = (f >= 0.0 ? -sqrt(h) : sqrt(h));
        e[i] = scale * g;
        h -= f * g;
        a[i][l] = f - g;
        f = 0.0;
        for (j = 1; j <= l; j++) {
          a[j][i] = a[i][j] / h;
          g = 0.0;
          for (k = 1; k <= j; k++)
            g += a[j][k] * a[i][k];
          for (k = j + 1; k <= l; k++)
            g += a[k][j] * a[i][k];
          e[j] = g / h;
          f += e[j] * a[i][j];
        }
        hh = f / (h + h);
        for (j = 1; j <= l; j++) {
          f = a[i][j];
          e[j] = g = e[j] - hh * f;
          for (k = 1; k <= j; k++)
            a[j][k] -= (f * e[k] + g * a[i][k]);
        }
      }
    } else
      e[i] = a[i][l];
    d[i] = h;
  }
  d[1] = 0.0;
  e[1] = 0.0;
  for (i = 1; i <= n; i++) {
    l = i - 1;
    if (d[i]) {
      for (j = 1; j <= l; j++) {
        g = 0.0;
        for (k = 1; k <= l; k++)
          g += a[i][k] * a[k][j];
        for (k = 1; k <= l; k++)
          a[k][j] -= g * a[k][i];
      }
    }
    d[i] = a[i][i];
    a[i][i] = 1.0;
    for (j = 1; j <= l; j++)
      a[j][i] = a[i][j] = 0.0;
  }
}


x86 assembly (clang, -O0):
<eigenvector_tred2>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    -0xc(%rbp),%eax
mov    %eax,-0x30(%rbp)
cmpl   $0x2,-0x30(%rbp)
jl     1612 <eigenvector_tred2+0x4f2>
mov    -0x30(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x24(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x38(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x48(%rbp)
cmpl   $0x1,-0x24(%rbp)
jle    15d0 <eigenvector_tred2+0x4b0>
movl   $0x1,-0x28(%rbp)
mov    -0x28(%rbp),%eax
cmp    -0x24(%rbp),%eax
jg     11b4 <eigenvector_tred2+0x94>
mov    -0x8(%rbp),%rax
movslq -0x30(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x28(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
call   1030 <fabs@plt>
cvtsi2sd %rax,%xmm0
addsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0x38(%rbp)
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    1171 <eigenvector_tred2+0x51>
movsd  -0x38(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    11f3 <eigenvector_tred2+0xd3>
jp     11f3 <eigenvector_tred2+0xd3>
mov    -0x8(%rbp),%rax
movslq -0x30(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x24(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x20(%rbp),%rax
movslq -0x30(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
jmp    15cb <eigenvector_tred2+0x4ab>
movl   $0x1,-0x28(%rbp)
mov    -0x28(%rbp),%eax
cmp    -0x24(%rbp),%eax
jg     1273 <eigenvector_tred2+0x153>
movsd  -0x38(%rbp),%xmm1
mov    -0x8(%rbp),%rax
movslq -0x30(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x28(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
divsd  %xmm1,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x8(%rbp),%rax
movslq -0x30(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x28(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x8(%rbp),%rax
movslq -0x30(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x28(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    11fa <eigenvector_tred2+0xda>
mov    -0x8(%rbp),%rax
movslq -0x30(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x24(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x58(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jb     12ca <eigenvector_tred2+0x1aa>
movsd  -0x48(%rbp),%xmm0
call   1040 <sqrt@plt>
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x60(%rbp)
jmp    12d9 <eigenvector_tred2+0x1b9>
movsd  -0x48(%rbp),%xmm0
call   1040 <sqrt@plt>
movsd  %xmm0,-0x60(%rbp)
movsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x38(%rbp),%xmm0
mulsd  -0x50(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movslq -0x30(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x58(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x48(%rbp),%xmm1
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x58(%rbp),%xmm0
subsd  -0x50(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movslq -0x30(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x24(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x58(%rbp)
movl   $0x1,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x24(%rbp),%eax
jg     14b3 <eigenvector_tred2+0x393>
mov    -0x8(%rbp),%rax
movslq -0x30(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
divsd  -0x48(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x30(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x50(%rbp)
movl   $0x1,-0x28(%rbp)
mov    -0x28(%rbp),%eax
cmp    -0x2c(%rbp),%eax
jg     13fb <eigenvector_tred2+0x2db>
mov    -0x8(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x28(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x8(%rbp),%rax
movslq -0x30(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x28(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0x50(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    13a5 <eigenvector_tred2+0x285>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
mov    -0x28(%rbp),%eax
cmp    -0x24(%rbp),%eax
jg     145a <eigenvector_tred2+0x33a>
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 -0x30(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x28(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0x50(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    1404 <eigenvector_tred2+0x2e4>
movsd  -0x50(%rbp),%xmm0
divsd  -0x48(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x20(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x8(%rbp),%rax
movslq -0x30(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    135b <eigenvector_tred2+0x23b>
movsd  -0x58(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm1
addsd  -0x48(%rbp),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
movl   $0x1,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x24(%rbp),%eax
jg     15c6 <eigenvector_tred2+0x4a6>
mov    -0x8(%rbp),%rax
movslq -0x30(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x20(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
movsd  -0x40(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x20(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movl   $0x1,-0x28(%rbp)
mov    -0x28(%rbp),%eax
cmp    -0x2c(%rbp),%eax
jg     15b3 <eigenvector_tred2+0x493>
movsd  -0x58(%rbp),%xmm1
mov    -0x20(%rbp),%rax
movslq -0x28(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0x50(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movslq -0x30(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x28(%rbp),%rcx
mulsd  (%rax,%rcx,8),%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
mov    -0x8(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x28(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
subsd  %xmm1,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    1547 <eigenvector_tred2+0x427>
jmp    15b8 <eigenvector_tred2+0x498>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    14d2 <eigenvector_tred2+0x3b2>
jmp    15cb <eigenvector_tred2+0x4ab>
jmp    15f2 <eigenvector_tred2+0x4d2>
mov    -0x8(%rbp),%rax
movslq -0x30(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x24(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x20(%rbp),%rax
movslq -0x30(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x48(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movslq -0x30(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x30(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x30(%rbp)
jmp    113d <eigenvector_tred2+0x1d>
mov    -0x18(%rbp),%rax
xorps  %xmm0,%xmm0
movsd  %xmm0,0x8(%rax)
mov    -0x20(%rbp),%rax
xorps  %xmm0,%xmm0
movsd  %xmm0,0x8(%rax)
movl   $0x1,-0x30(%rbp)
mov    -0x30(%rbp),%eax
cmp    -0xc(%rbp),%eax
jg     1812 <eigenvector_tred2+0x6f2>
mov    -0x30(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x24(%rbp)
mov    -0x18(%rbp),%rax
movslq -0x30(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    166b <eigenvector_tred2+0x54b>
jp     166b <eigenvector_tred2+0x54b>
jmp    176f <eigenvector_tred2+0x64f>
movl   $0x1,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x24(%rbp),%eax
jg     176a <eigenvector_tred2+0x64a>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x50(%rbp)
movl   $0x1,-0x28(%rbp)
mov    -0x28(%rbp),%eax
cmp    -0x24(%rbp),%eax
jg     16e3 <eigenvector_tred2+0x5c3>
mov    -0x8(%rbp),%rax
movslq -0x30(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x28(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x8(%rbp),%rax
movslq -0x28(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0x50(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    168d <eigenvector_tred2+0x56d>
movl   $0x1,-0x28(%rbp)
mov    -0x28(%rbp),%eax
cmp    -0x24(%rbp),%eax
jg     1757 <eigenvector_tred2+0x637>
movsd  -0x50(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movslq -0x28(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x30(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
mov    -0x8(%rbp),%rax
movslq -0x28(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
movq   %xmm0,%rdx
movabs $0x8000000000000000,%rsi
xor    %rsi,%rdx
movq   %rdx,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    16ea <eigenvector_tred2+0x5ca>
jmp    175c <eigenvector_tred2+0x63c>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    1672 <eigenvector_tred2+0x552>
jmp    176f <eigenvector_tred2+0x64f>
mov    -0x8(%rbp),%rax
movslq -0x30(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x30(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
movslq -0x30(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x8(%rbp),%rax
movslq -0x30(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x30(%rbp),%rcx
movsd  0x857(%rip),%xmm0
movsd  %xmm0,(%rax,%rcx,8)
movl   $0x1,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x24(%rbp),%eax
jg     17ff <eigenvector_tred2+0x6df>
mov    -0x8(%rbp),%rax
movslq -0x30(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x2c(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x8(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x30(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    17b5 <eigenvector_tred2+0x695>
jmp    1804 <eigenvector_tred2+0x6e4>
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    1631 <eigenvector_tred2+0x511>
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<eigenvector_tred2>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x48,%rsp
mov    %rcx,%r12
mov    %rdx,0x18(%rsp)
mov    %rdi,%r13
mov    %rsi,0x8(%rsp)
cmp    $0x2,%esi
jl     1677 <eigenvector_tred2+0x557>
movabs $0x100000000,%r15
mov    0x8(%rsp),%ebx
lea    0x8(%r12),%rax
mov    %rax,0x40(%rsp)
lea    0x10(%r13),%rax
mov    %rax,0x38(%rsp)
jmp    119d <eigenvector_tred2+0x7d>
nopw   0x0(%rax,%rax,1)
mov    0x20(%rsp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,(%r12,%rbx,8)
xorpd  %xmm9,%xmm9
mov    0x18(%rsp),%rax
movsd  %xmm9,(%rax,%rbx,8)
cmp    $0x2,%rbx
mov    %rcx,%rbx
jle    1677 <eigenvector_tred2+0x557>
cmp    $0x2,%rbx
je     165a <eigenvector_tred2+0x53a>
lea    -0x1(%rbx),%rax
mov    %rax,0x20(%rsp)
xorps  %xmm1,%xmm1
mov    $0x1,%ebp
nopl   0x0(%rax,%rax,1)
movsd  %xmm1,0x10(%rsp)
mov    0x0(%r13,%rbx,8),%rax
movsd  (%rax,%rbp,8),%xmm0
call   1030 <fabs@plt>
movsd  0x10(%rsp),%xmm1
xorps  %xmm0,%xmm0
cvtsi2sd %rax,%xmm0
addsd  %xmm0,%xmm1
add    $0x1,%rbp
cmp    %rbp,%rbx
jne    11c0 <eigenvector_tred2+0xa0>
ucomisd 0xe18(%rip),%xmm1
mov    0x0(%r13,%rbx,8),%rax
jne    1205 <eigenvector_tred2+0xe5>
jnp    1170 <eigenvector_tred2+0x50>
xorpd  %xmm9,%xmm9
mov    $0x1,%ecx
mov    0x20(%rsp),%rbp
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
movsd  (%rax,%rcx,8),%xmm0
divsd  %xmm1,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mulsd  %xmm0,%xmm0
addsd  %xmm0,%xmm9
add    $0x1,%rcx
cmp    %rcx,%rbx
jne    1220 <eigenvector_tred2+0x100>
movsd  (%rax,%rbp,8),%xmm4
ucomisd 0xdc2(%rip),%xmm9
jb     125a <eigenvector_tred2+0x13a>
xorps  %xmm0,%xmm0
sqrtsd %xmm9,%xmm0
jmp    128a <eigenvector_tred2+0x16a>
movapd %xmm9,%xmm0
movsd  %xmm9,0x30(%rsp)
movsd  %xmm1,0x10(%rsp)
movsd  %xmm4,0x28(%rsp)
call   1040 <sqrt@plt>
movsd  0x28(%rsp),%xmm4
movsd  0x10(%rsp),%xmm1
movsd  0x30(%rsp),%xmm9
xorpd  %xmm8,%xmm8
xorpd  %xmm2,%xmm2
cmpnlesd %xmm4,%xmm2
movapd %xmm2,%xmm3
andpd  %xmm0,%xmm3
xorpd  0xd58(%rip),%xmm0
andnpd %xmm0,%xmm2
orpd   %xmm3,%xmm2
mulsd  %xmm2,%xmm1
movsd  %xmm1,(%r12,%rbx,8)
movapd %xmm4,%xmm0
mulsd  %xmm2,%xmm0
subsd  %xmm0,%xmm9
subsd  %xmm2,%xmm4
mov    0x0(%r13,%rbx,8),%rax
movsd  %xmm4,(%rax,%rbp,8)
lea    0x10(%rax),%r10
mov    $0x1,%ecx
movabs $0x300000000,%r9
mov    0x38(%rsp),%r11
xor    %r8d,%r8d
jmp    132c <eigenvector_tred2+0x20c>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
divsd  %xmm9,%xmm0
movsd  %xmm0,(%r12,%rcx,8)
mulsd  (%rax,%rcx,8),%xmm0
addsd  %xmm0,%xmm8
add    $0x8,%r10
add    $0x8,%r11
add    %r15,%r9
mov    %rdx,%rcx
cmp    %rbx,%rdx
je     1440 <eigenvector_tred2+0x320>
mov    %r8,%rsi
add    $0x1,%r8
movsd  (%rax,%rcx,8),%xmm0
divsd  %xmm9,%xmm0
mov    0x0(%r13,%rcx,8),%rbp
movsd  %xmm0,0x0(%rbp,%rbx,8)
mov    $0x1,%edx
xorpd  %xmm0,%xmm0
cmp    $0x3,%rsi
jb     13bd <eigenvector_tred2+0x29d>
mov    %rcx,%rdi
and    $0xfffffffffffffffc,%rdi
xorpd  %xmm0,%xmm0
xor    %edx,%edx
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
movsd  0x8(%rbp,%rdx,8),%xmm2
movsd  0x10(%rbp,%rdx,8),%xmm3
mulsd  0x8(%rax,%rdx,8),%xmm2
mulsd  0x10(%rax,%rdx,8),%xmm3
addsd  %xmm0,%xmm2
movsd  0x18(%rbp,%rdx,8),%xmm4
mulsd  0x18(%rax,%rdx,8),%xmm4
addsd  %xmm2,%xmm3
movsd  0x20(%rbp,%rdx,8),%xmm0
mulsd  0x20(%rax,%rdx,8),%xmm0
addsd  %xmm3,%xmm4
addsd  %xmm4,%xmm0
add    $0x4,%rdx
cmp    %rdx,%rdi
jne    1370 <eigenvector_tred2+0x250>
add    $0x1,%rdx
test   $0x3,%r8b
je     13f7 <eigenvector_tred2+0x2d7>
mov    %ecx,%edi
and    $0x3,%edi
lea    (%rax,%rdx,8),%rsi
lea    0x0(,%rdx,8),%rdx
add    %rbp,%rdx
xor    %ebp,%ebp
nopl   0x0(%rax)
movsd  (%rdx,%rbp,8),%xmm2
mulsd  (%rsi,%rbp,8),%xmm2
addsd  %xmm2,%xmm0
add    $0x1,%rbp
cmp    %rbp,%rdi
jne    13e0 <eigenvector_tred2+0x2c0>
lea    0x1(%rcx),%rdx
cmp    %rbx,%rdx
jge    1300 <eigenvector_tred2+0x1e0>
mov    %r9,%rdi
xor    %ebp,%ebp
nopl   0x0(%rax)
mov    (%r11,%rbp,1),%rsi
movsd  (%rsi,%rcx,8),%xmm2
mulsd  (%r10,%rbp,1),%xmm2
addsd  %xmm2,%xmm0
mov    %rdi,%rsi
sar    $0x20,%rsi
add    $0x8,%rbp
add    %r15,%rdi
cmp    %rbx,%rsi
jl     1410 <eigenvector_tred2+0x2f0>
jmp    1300 <eigenvector_tred2+0x1e0>
nopl   0x0(%rax,%rax,1)
movapd %xmm9,%xmm0
addsd  %xmm9,%xmm0
xorpd  0xbad(%rip),%xmm8
divsd  %xmm0,%xmm8
lea    0x8(%rax),%rcx
mov    %rcx,0x10(%rsp)
mov    $0x2,%edx
mov    $0x1,%r10d
xor    %r9d,%r9d
jmp    1491 <eigenvector_tred2+0x371>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
add    $0x1,%r10
add    $0x1,%rdx
cmp    %rbx,%r10
je     1650 <eigenvector_tred2+0x530>
mov    %r9,%rsi
add    $0x1,%r9
movsd  (%rax,%r10,8),%xmm0
movapd %xmm8,%xmm2
mulsd  %xmm0,%xmm2
addsd  (%r12,%r10,8),%xmm2
movsd  %xmm2,(%r12,%r10,8)
mov    0x0(%r13,%r10,8),%rcx
mov    $0x1,%edi
cmp    $0x4,%r9
jb     15b0 <eigenvector_tred2+0x490>
add    $0x2,%rsi
lea    (%rax,%rsi,8),%r11
lea    (%r12,%rsi,8),%rbp
lea    0x8(%rcx),%rdi
lea    (%rcx,%rsi,8),%r14
cmp    %rbp,%rdi
setb   %bpl
cmp    %r14,0x40(%rsp)
setb   %r8b
cmp    %r11,%rdi
setb   %sil
cmp    %r14,0x10(%rsp)
setb   %r11b
mov    $0x1,%edi
test   %r8b,%bpl
jne    15b0 <eigenvector_tred2+0x490>
mov    $0x1,%edi
and    %r11b,%sil
jne    15b0 <eigenvector_tred2+0x490>
mov    %r10,%rsi
and    $0xfffffffffffffffc,%rsi
mov    %r9,%r11
and    $0xfffffffffffffffc,%r11
lea    0x1(%r11),%rdi
movapd %xmm2,%xmm3
unpcklpd %xmm2,%xmm3
movapd %xmm0,%xmm4
unpcklpd %xmm0,%xmm4
xor    %ebp,%ebp
nopl   0x0(%rax,%rax,1)
movupd 0x8(%r12,%rbp,8),%xmm5
movupd 0x18(%r12,%rbp,8),%xmm6
movupd 0x8(%rax,%rbp,8),%xmm7
movupd 0x18(%rax,%rbp,8),%xmm1
mulpd  %xmm3,%xmm7
mulpd  %xmm3,%xmm1
mulpd  %xmm4,%xmm5
addpd  %xmm7,%xmm5
mulpd  %xmm4,%xmm6
addpd  %xmm1,%xmm6
movupd 0x8(%rcx,%rbp,8),%xmm1
subpd  %xmm5,%xmm1
movupd 0x18(%rcx,%rbp,8),%xmm5
subpd  %xmm6,%xmm5
movupd %xmm1,0x8(%rcx,%rbp,8)
movupd %xmm5,0x18(%rcx,%rbp,8)
add    $0x4,%rbp
cmp    %rbp,%rsi
jne    1540 <eigenvector_tred2+0x420>
cmp    %r11,%r9
je     1480 <eigenvector_tred2+0x360>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    %rdi,%rbp
test   $0x1,%dl
jne    15e1 <eigenvector_tred2+0x4c1>
movsd  (%rax,%rdi,8),%xmm1
mulsd  %xmm2,%xmm1
movsd  (%r12,%rdi,8),%xmm3
mulsd  %xmm0,%xmm3
addsd  %xmm1,%xmm3
movsd  (%rcx,%rdi,8),%xmm1
subsd  %xmm3,%xmm1
movsd  %xmm1,(%rcx,%rdi,8)
lea    0x1(%rdi),%rbp
cmp    %rdi,%r9
je     1480 <eigenvector_tred2+0x360>
nopw   0x0(%rax,%rax,1)
movsd  (%rax,%rbp,8),%xmm1
mulsd  %xmm2,%xmm1
movsd  (%r12,%rbp,8),%xmm3
mulsd  %xmm0,%xmm3
addsd  %xmm1,%xmm3
movsd  (%rcx,%rbp,8),%xmm1
subsd  %xmm3,%xmm1
movsd  0x8(%rcx,%rbp,8),%xmm3
movsd  %xmm1,(%rcx,%rbp,8)
movsd  0x8(%rax,%rbp,8),%xmm1
mulsd  %xmm2,%xmm1
movsd  0x8(%r12,%rbp,8),%xmm4
mulsd  %xmm0,%xmm4
addsd  %xmm1,%xmm4
subsd  %xmm4,%xmm3
movsd  %xmm3,0x8(%rcx,%rbp,8)
add    $0x2,%rbp
cmp    %rbp,%rdx
jne    15f0 <eigenvector_tred2+0x4d0>
jmp    1480 <eigenvector_tred2+0x360>
nopl   0x0(%rax)
mov    0x20(%rsp),%rcx
jmp    1185 <eigenvector_tred2+0x65>
mov    0x10(%r13),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,0x10(%r12)
mov    0x18(%rsp),%rax
movq   $0x0,(%rax,%rbx,8)
mov    0x18(%rsp),%rax
movq   $0x0,0x8(%rax)
movq   $0x0,0x8(%r12)
cmpl   $0x0,0x8(%rsp)
jle    1952 <eigenvector_tred2+0x832>
mov    %rax,%r12
mov    0x8(%rsp),%rax
add    $0x1,%eax
mov    %rax,0x8(%rsp)
mov    $0x1,%eax
xor    %r10d,%r10d
xorpd  %xmm0,%xmm0
movapd 0x944(%rip),%xmm1
movabs $0x3ff0000000000000,%r8
jmp    16e3 <eigenvector_tred2+0x5c3>
nopl   0x0(%rax,%rax,1)
add    $0x1,%rax
add    $0x1,%r10
cmp    0x8(%rsp),%rax
je     1952 <eigenvector_tred2+0x832>
mov    %r10d,%r14d
and    $0x3,%r14d
mov    %r10,%r11
and    $0xfffffffffffffffc,%r11
lea    -0x1(%r10),%r9
movsd  (%r12,%rax,8),%xmm2
ucomisd %xmm0,%xmm2
jne    1707 <eigenvector_tred2+0x5e7>
jnp    1880 <eigenvector_tred2+0x760>
cmp    $0x2,%rax
jb     1880 <eigenvector_tred2+0x760>
mov    %r10,%r15
and    $0xfffffffffffffffe,%r15
neg    %r15
mov    0x0(%r13,%rax,8),%rbp
mov    $0x1,%edx
jmp    173d <eigenvector_tred2+0x61d>
nopw   0x0(%rax,%rax,1)
add    $0x1,%rdx
cmp    %rax,%rdx
je     1880 <eigenvector_tred2+0x760>
xorpd  %xmm2,%xmm2
mov    $0x1,%edi
cmp    $0x3,%r9
jb     17bd <eigenvector_tred2+0x69d>
xorpd  %xmm2,%xmm2
xor    %edi,%edi
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movsd  0x8(%rbp,%rdi,8),%xmm3
movsd  0x10(%rbp,%rdi,8),%xmm4
mov    0x8(%r13,%rdi,8),%rcx
mov    0x10(%r13,%rdi,8),%rsi
mulsd  (%rcx,%rdx,8),%xmm3
addsd  %xmm2,%xmm3
mulsd  (%rsi,%rdx,8),%xmm4
addsd  %xmm3,%xmm4
movsd  0x18(%rbp,%rdi,8),%xmm3
mov    0x18(%r13,%rdi,8),%rcx
mulsd  (%rcx,%rdx,8),%xmm3
movsd  0x20(%rbp,%rdi,8),%xmm2
mov    0x20(%r13,%rdi,8),%rcx
mulsd  (%rcx,%rdx,8),%xmm2
addsd  %xmm4,%xmm3
addsd  %xmm3,%xmm2
add    $0x4,%rdi
cmp    %rdi,%r11
jne    1760 <eigenvector_tred2+0x640>
add    $0x1,%rdi
test   $0x3,%r10b
je     17fb <eigenvector_tred2+0x6db>
lea    0x0(,%rdi,8),%rsi
add    %r13,%rsi
lea    0x0(,%rdi,8),%rdi
add    %rbp,%rdi
xor    %ecx,%ecx
nopl   0x0(%rax,%rax,1)
movsd  (%rdi,%rcx,8),%xmm3
mov    (%rsi,%rcx,8),%rbx
mulsd  (%rbx,%rdx,8),%xmm3
addsd  %xmm3,%xmm2
add    $0x1,%rcx
cmp    %rcx,%r14
jne    17e0 <eigenvector_tred2+0x6c0>
xorpd  %xmm1,%xmm2
mov    $0x1,%edi
cmp    $0x1,%r10
je     1852 <eigenvector_tred2+0x732>
mov    $0x1,%edi
nop
mov    0x0(%r13,%rdi,8),%rcx
movsd  (%rcx,%rax,8),%xmm3
mulsd  %xmm2,%xmm3
addsd  (%rcx,%rdx,8),%xmm3
movsd  %xmm3,(%rcx,%rdx,8)
mov    0x8(%r13,%rdi,8),%rcx
movsd  (%rcx,%rax,8),%xmm3
mulsd  %xmm2,%xmm3
addsd  (%rcx,%rdx,8),%xmm3
movsd  %xmm3,(%rcx,%rdx,8)
lea    (%r15,%rdi,1),%rcx
add    $0x2,%rcx
add    $0x2,%rdi
cmp    $0x1,%rcx
jne    1810 <eigenvector_tred2+0x6f0>
test   $0x1,%r10b
je     1730 <eigenvector_tred2+0x610>
mov    0x0(%r13,%rdi,8),%rcx
mulsd  (%rcx,%rax,8),%xmm2
addsd  (%rcx,%rdx,8),%xmm2
movsd  %xmm2,(%rcx,%rdx,8)
jmp    1730 <eigenvector_tred2+0x610>
cs nopw 0x0(%rax,%rax,1)
nop
mov    0x0(%r13,%rax,8),%rcx
movsd  (%rcx,%rax,8),%xmm2
movsd  %xmm2,(%r12,%rax,8)
mov    %r8,(%rcx,%rax,8)
cmp    $0x2,%rax
jb     16d0 <eigenvector_tred2+0x5b0>
mov    $0x1,%edx
cmp    $0x3,%r9
jb     1915 <eigenvector_tred2+0x7f5>
xor    %edx,%edx
nopl   0x0(%rax,%rax,1)
movq   $0x0,0x8(%rcx,%rdx,8)
mov    0x8(%r13,%rdx,8),%rsi
movq   $0x0,(%rsi,%rax,8)
movq   $0x0,0x10(%rcx,%rdx,8)
mov    0x10(%r13,%rdx,8),%rsi
movq   $0x0,(%rsi,%rax,8)
movq   $0x0,0x18(%rcx,%rdx,8)
mov    0x18(%r13,%rdx,8),%rsi
movq   $0x0,(%rsi,%rax,8)
movq   $0x0,0x20(%rcx,%rdx,8)
mov    0x20(%r13,%rdx,8),%rsi
movq   $0x0,(%rsi,%rax,8)
add    $0x4,%rdx
cmp    %rdx,%r11
jne    18b0 <eigenvector_tred2+0x790>
add    $0x1,%rdx
test   $0x3,%r10b
je     16d0 <eigenvector_tred2+0x5b0>
lea    0x0(,%rdx,8),%rsi
add    %r13,%rsi
lea    (%rcx,%rdx,8),%rcx
xor    %edx,%edx
movq   $0x0,(%rcx,%rdx,8)
mov    (%rsi,%rdx,8),%rdi
movq   $0x0,(%rdi,%rax,8)
add    $0x1,%rdx
cmp    %rdx,%r14
jne    1930 <eigenvector_tred2+0x810>
jmp    16d0 <eigenvector_tred2+0x5b0>
add    $0x48,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

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