#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
double fabs(double);
double sqrt(double);
void orthes(int n, double **H, double **V, double *ort) {
  int low = 0;
  int high = n - 1;
  for (int m = low + 1; m <= high - 1; m++) {
    double scale = 0.0;
    for (int i = m; i <= high; i++) {
      scale = scale + fabs(H[i][m - 1]);
    }
    if (scale != 0.0) {
      double h = 0.0;
      for (int i = high; i >= m; i--) {
        ort[i] = H[i][m - 1] / scale;
        h += ort[i] * ort[i];
      }
      double g = sqrt(h);
      if (ort[m] > 0) {
        g = -g;
      }
      h = h - ort[m] * g;
      ort[m] = ort[m] - g;
      for (int j = m; j < n; j++) {
        double f = 0.0;
        for (int i = high; i >= m; i--) {
          f += ort[i] * H[i][j];
        }
        f = f / h;
        for (int i = m; i <= high; i++) {
          H[i][j] -= f * ort[i];
        }
      }
      for (int i = 0; i <= high; i++) {
        double f = 0.0;
        for (int j = high; j >= m; j--) {
          f += ort[j] * H[i][j];
        }
        f = f / h;
        for (int j = m; j <= high; j++) {
          H[i][j] -= f * ort[j];
        }
      }
      ort[m] = scale * ort[m];
      H[m][m - 1] = scale * g;
    }
  }
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < n; j++) {
      V[i][j] = (i == j ? 1.0 : 0.0);
    }
  }
  for (int m = high - 1; m >= low + 1; m--) {
    if (H[m][m - 1] != 0.0) {
      for (int i = m + 1; i <= high; i++) {
        ort[i] = H[i][m - 1];
      }
      for (int j = m; j <= high; j++) {
        double g = 0.0;
        for (int i = m; i <= high; i++) {
          g += ort[i] * V[i][j];
        }
        g = (g / ort[m]) / H[m][m - 1];
        for (int i = m; i <= high; i++) {
          V[i][j] += g * ort[i];
        }
      }
    }
  }
}


x86 assembly (clang, -O0):
<orthes>:
push   %rbp
mov    %rsp,%rbp
sub    $0xc0,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
movl   $0x0,-0x24(%rbp)
mov    -0x4(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x28(%rbp)
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
mov    -0x28(%rbp),%ecx
sub    $0x1,%ecx
cmp    %ecx,%eax
jg     1561 <orthes+0x451>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x38(%rbp)
mov    -0x2c(%rbp),%eax
mov    %eax,-0x3c(%rbp)
mov    -0x3c(%rbp),%eax
cmp    -0x28(%rbp),%eax
jg     11af <orthes+0x9f>
movsd  -0x38(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x3c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    -0x2c(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm1
movaps 0xe7c(%rip),%xmm2
pand   %xmm2,%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x38(%rbp)
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    1162 <orthes+0x52>
movsd  -0x38(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    11cc <orthes+0xbc>
jp     11cc <orthes+0xbc>
jmp    154e <orthes+0x43e>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x28(%rbp),%eax
mov    %eax,-0x4c(%rbp)
mov    -0x4c(%rbp),%eax
cmp    -0x2c(%rbp),%eax
jl     124c <orthes+0x13c>
mov    -0x10(%rbp),%rax
movslq -0x4c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    -0x2c(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
divsd  -0x38(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movslq -0x4c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x20(%rbp),%rax
movslq -0x4c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x20(%rbp),%rax
movslq -0x4c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x4c(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x4c(%rbp)
jmp    11da <orthes+0xca>
movsd  -0x48(%rbp),%xmm0
call   1030 <sqrt@plt>
movsd  %xmm0,-0x58(%rbp)
mov    -0x20(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jbe    1296 <orthes+0x186>
movsd  -0x58(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x48(%rbp),%xmm1
mov    -0x20(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%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,-0x48(%rbp)
mov    -0x20(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
subsd  -0x58(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x2c(%rbp),%eax
mov    %eax,-0x5c(%rbp)
mov    -0x5c(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    13eb <orthes+0x2db>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x28(%rbp),%eax
mov    %eax,-0x6c(%rbp)
mov    -0x6c(%rbp),%eax
cmp    -0x2c(%rbp),%eax
jl     135e <orthes+0x24e>
mov    -0x20(%rbp),%rax
movslq -0x6c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x6c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x5c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x6c(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x6c(%rbp)
jmp    1310 <orthes+0x200>
movsd  -0x68(%rbp),%xmm0
divsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x2c(%rbp),%eax
mov    %eax,-0x70(%rbp)
mov    -0x70(%rbp),%eax
cmp    -0x28(%rbp),%eax
jg     13d8 <orthes+0x2c8>
movsd  -0x68(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movslq -0x70(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
mov    -0x10(%rbp),%rax
movslq -0x70(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x5c(%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    -0x70(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x70(%rbp)
jmp    1373 <orthes+0x263>
jmp    13dd <orthes+0x2cd>
mov    -0x5c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x5c(%rbp)
jmp    12f6 <orthes+0x1e6>
movl   $0x0,-0x74(%rbp)
mov    -0x74(%rbp),%eax
cmp    -0x28(%rbp),%eax
jg     150b <orthes+0x3fb>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x80(%rbp)
mov    -0x28(%rbp),%eax
mov    %eax,-0x84(%rbp)
mov    -0x84(%rbp),%eax
cmp    -0x2c(%rbp),%eax
jl     146c <orthes+0x35c>
mov    -0x20(%rbp),%rax
movslq -0x84(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x74(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x84(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
mov    -0x84(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x84(%rbp)
jmp    140f <orthes+0x2ff>
movsd  -0x80(%rbp),%xmm0
divsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x80(%rbp)
mov    -0x2c(%rbp),%eax
mov    %eax,-0x88(%rbp)
mov    -0x88(%rbp),%eax
cmp    -0x28(%rbp),%eax
jg     14f8 <orthes+0x3e8>
movsd  -0x80(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movslq -0x88(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
mov    -0x10(%rbp),%rax
movslq -0x74(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x88(%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    -0x88(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x88(%rbp)
jmp    1484 <orthes+0x374>
jmp    14fd <orthes+0x3ed>
mov    -0x74(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x74(%rbp)
jmp    13f2 <orthes+0x2e2>
movsd  -0x38(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mulsd  (%rax,%rcx,8),%xmm0
mov    -0x20(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x38(%rbp),%xmm0
mulsd  -0x58(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    -0x2c(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
jmp    1553 <orthes+0x443>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    1143 <orthes+0x33>
movl   $0x0,-0x8c(%rbp)
mov    -0x8c(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    1622 <orthes+0x512>
movl   $0x0,-0x90(%rbp)
mov    -0x90(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    1609 <orthes+0x4f9>
mov    -0x8c(%rbp),%eax
mov    -0x90(%rbp),%ecx
movsd  0xa59(%rip),%xmm0
xorps  %xmm1,%xmm1
movsd  %xmm1,-0xc0(%rbp)
ff
cmp    %ecx,%eax
movsd  %xmm0,-0xb8(%rbp)
ff
je     15d2 <orthes+0x4c2>
movsd  -0xc0(%rbp),%xmm0
ff
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  -0xb8(%rbp),%xmm0
ff
mov    -0x18(%rbp),%rax
movslq -0x8c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x90(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x90(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x90(%rbp)
jmp    1584 <orthes+0x474>
jmp    160e <orthes+0x4fe>
mov    -0x8c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8c(%rbp)
jmp    156b <orthes+0x45b>
mov    -0x28(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x94(%rbp)
mov    -0x94(%rbp),%eax
mov    -0x24(%rbp),%ecx
add    $0x1,%ecx
cmp    %ecx,%eax
jl     185a <orthes+0x74a>
mov    -0x10(%rbp),%rax
movslq -0x94(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    -0x94(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    167a <orthes+0x56a>
jp     167a <orthes+0x56a>
jmp    1841 <orthes+0x731>
mov    -0x94(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x98(%rbp)
mov    -0x98(%rbp),%eax
cmp    -0x28(%rbp),%eax
jg     16dc <orthes+0x5cc>
mov    -0x10(%rbp),%rax
movslq -0x98(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    -0x94(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x20(%rbp),%rax
movslq -0x98(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x98(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x98(%rbp)
jmp    1689 <orthes+0x579>
mov    -0x94(%rbp),%eax
mov    %eax,-0x9c(%rbp)
mov    -0x9c(%rbp),%eax
cmp    -0x28(%rbp),%eax
jg     183c <orthes+0x72c>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
mov    -0x94(%rbp),%eax
mov    %eax,-0xac(%rbp)
mov    -0xac(%rbp),%eax
cmp    -0x28(%rbp),%eax
jg     1774 <orthes+0x664>
mov    -0x20(%rbp),%rax
movslq -0xac(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
movslq -0xac(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x9c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0xa8(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
mov    -0xac(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xac(%rbp)
jmp    170e <orthes+0x5fe>
movsd  -0xa8(%rbp),%xmm0
ff
mov    -0x20(%rbp),%rax
movslq -0x94(%rbp),%rcx
divsd  (%rax,%rcx,8),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x94(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    -0x94(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
divsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
mov    -0x94(%rbp),%eax
mov    %eax,-0xb0(%rbp)
mov    -0xb0(%rbp),%eax
cmp    -0x28(%rbp),%eax
jg     1823 <orthes+0x713>
movsd  -0xa8(%rbp),%xmm0
ff
mov    -0x20(%rbp),%rax
movslq -0xb0(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
mov    -0x18(%rbp),%rax
movslq -0xb0(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x9c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0xb0(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xb0(%rbp)
jmp    17c0 <orthes+0x6b0>
jmp    1828 <orthes+0x718>
mov    -0x9c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x9c(%rbp)
jmp    16e8 <orthes+0x5d8>
jmp    1841 <orthes+0x731>
jmp    1846 <orthes+0x736>
mov    -0x94(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x94(%rbp)
jmp    162e <orthes+0x51e>
add    $0xc0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<orthes>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x98,%rsp
mov    %rcx,%rbx
mov    %rdx,%r14
lea    -0x1(%rdi),%eax
mov    %eax,0x1c(%rsp)
mov    %edi,%r11d
mov    %rdi,0x38(%rsp)
cmp    $0x3,%edi
mov    %rsi,0x48(%rsp)
mov    %r11,0x68(%rsp)
jge    1540 <orthes+0x430>
cmpl   $0x0,0x38(%rsp)
jle    152e <orthes+0x41e>
mov    0x38(%rsp),%rax
lea    -0x2(%rax),%r8d
lea    -0x1(%r11),%r9
mov    %r11d,%edx
and    $0x3,%edx
mov    %r11d,%r10d
and    $0xfffffffc,%r10d
xor    %edi,%edi
movsd  0xea8(%rip),%xmm0
jmp    118d <orthes+0x7d>
nopw   0x0(%rax,%rax,1)
add    $0x1,%rdi
cmp    %r11,%rdi
je     1233 <orthes+0x123>
mov    (%r14,%rdi,8),%rbp
xor    %eax,%eax
cmp    $0x3,%r9
jae    11df <orthes+0xcf>
test   %rdx,%rdx
je     1180 <orthes+0x70>
lea    0x0(%rbp,%rax,8),%rbp
mov    %rdi,%rcx
sub    %rax,%rcx
xor    %eax,%eax
jmp    11bf <orthes+0xaf>
nopl   (%rax)
movsd  %xmm1,0x0(%rbp,%rax,8)
add    $0x1,%rax
cmp    %rax,%rdx
je     1180 <orthes+0x70>
movapd %xmm0,%xmm1
cmp    %rax,%rcx
je     11b0 <orthes+0xa0>
xorpd  %xmm1,%xmm1
jmp    11b0 <orthes+0xa0>
xchg   %ax,%ax
movsd  %xmm1,0x18(%rbp,%rax,8)
add    $0x4,%rax
cmp    %r10,%rax
je     1199 <orthes+0x89>
movapd %xmm0,%xmm1
cmp    %rax,%rdi
je     11ec <orthes+0xdc>
xorpd  %xmm1,%xmm1
movsd  %xmm1,0x0(%rbp,%rax,8)
lea    0x1(%rax),%rcx
movapd %xmm0,%xmm1
cmp    %rcx,%rdi
je     1203 <orthes+0xf3>
xorpd  %xmm1,%xmm1
movsd  %xmm1,0x8(%rbp,%rax,8)
lea    0x2(%rax),%rcx
movapd %xmm0,%xmm1
cmp    %rcx,%rdi
je     121a <orthes+0x10a>
xorpd  %xmm1,%xmm1
movsd  %xmm1,0x10(%rbp,%rax,8)
lea    0x3(%rax),%rcx
movapd %xmm0,%xmm1
cmp    %rcx,%rdi
je     11d0 <orthes+0xc0>
xorpd  %xmm1,%xmm1
jmp    11d0 <orthes+0xc0>
cmpl   $0x3,0x38(%rsp)
jl     152e <orthes+0x41e>
mov    %r8d,%r15d
mov    0x1c(%rsp),%eax
mov    %rax,0x40(%rsp)
mov    %r15,%rax
neg    %rax
mov    %rax,0x10(%rsp)
lea    (%rbx,%r15,8),%rax
add    $0x8,%rax
lea    (%rsi,%r15,8),%rdx
add    $0x8,%rdx
lea    (%r14,%r15,8),%rdi
lea    (%rbx,%r15,8),%rbp
xor    %ecx,%ecx
mov    %rcx,0x8(%rsp)
mov    $0x1,%r9b
mov    $0x2,%cl
xorpd  %xmm0,%xmm0
jmp    12bb <orthes+0x1ab>
nop
addq   $0x1,0x10(%rsp)
mov    0x30(%rsp),%rax
add    $0xfffffffffffffff8,%rax
mov    0x28(%rsp),%rdx
add    $0xfffffffffffffff8,%rdx
add    $0x1,%r9b
add    $0xfffffffffffffff8,%rdi
add    $0xfffffffffffffff8,%rbp
add    $0x1,%cl
cmp    $0x1,%r15
mov    0x48(%rsp),%rsi
mov    0x20(%rsp),%r15
jle    152e <orthes+0x41e>
mov    %rdx,0x28(%rsp)
mov    %rax,0x30(%rsp)
mov    0x8(%rsp),%r13
movzbl %cl,%ecx
and    $0x3,%ecx
movzbl %r9b,%r9d
and    $0x3,%r9d
lea    0x1(%r13),%eax
mov    %rax,0x8(%rsp)
mov    (%rsi,%r15,8),%rdx
lea    -0x1(%r15),%rax
mov    %rax,0x20(%rsp)
mov    %eax,%r10d
mov    %rdx,0x60(%rsp)
movsd  (%rdx,%r10,8),%xmm1
ucomisd %xmm0,%xmm1
jne    1308 <orthes+0x1f8>
jnp    1280 <orthes+0x170>
mov    0x40(%rsp),%r8
cmp    %r8,%r15
jge    13b0 <orthes+0x2a0>
mov    %r15,%rsi
testb  $0x3,0x8(%rsp)
je     134e <orthes+0x23e>
xor    %esi,%esi
mov    0x30(%rsp),%r12
mov    0x28(%rsp),%rdx
nopl   0x0(%rax)
mov    (%rdx,%rsi,8),%rax
movsd  (%rax,%r10,8),%xmm1
movsd  %xmm1,(%r12,%rsi,8)
add    $0x1,%rsi
cmp    %esi,%r9d
jne    1330 <orthes+0x220>
sub    0x10(%rsp),%rsi
cmp    $0x3,%r13d
mov    0x48(%rsp),%rdx
jb     13b0 <orthes+0x2a0>
nopl   0x0(%rax)
mov    0x8(%rdx,%rsi,8),%rax
movsd  (%rax,%r10,8),%xmm1
movsd  %xmm1,0x8(%rbx,%rsi,8)
mov    0x10(%rdx,%rsi,8),%rax
movsd  (%rax,%r10,8),%xmm1
movsd  %xmm1,0x10(%rbx,%rsi,8)
mov    0x18(%rdx,%rsi,8),%rax
movsd  (%rax,%r10,8),%xmm1
movsd  %xmm1,0x18(%rbx,%rsi,8)
mov    0x20(%rdx,%rsi,8),%rax
movsd  (%rax,%r10,8),%xmm1
movsd  %xmm1,0x20(%rbx,%rsi,8)
lea    0x4(%rsi),%rax
mov    %rax,%rsi
cmp    %eax,%r8d
jne    1360 <orthes+0x250>
cmp    %r11,%r15
jge    1280 <orthes+0x170>
lea    0x2(%r13),%r8d
lea    0x1(%r15),%rax
mov    %rax,0x50(%rsp)
mov    0x10(%rsp),%rax
neg    %rax
mov    %rax,0x58(%rsp)
mov    %r15,%rsi
jmp    13ee <orthes+0x2de>
nopl   0x0(%rax,%rax,1)
add    $0x1,%rsi
cmp    0x38(%rsp),%esi
je     1280 <orthes+0x170>
xorpd  %xmm1,%xmm1
test   $0x3,%r8b
je     1430 <orthes+0x320>
xor    %r11d,%r11d
nopl   0x0(%rax,%rax,1)
movsd  0x0(%rbp,%r11,8),%xmm2
mov    (%rdi,%r11,8),%rax
mulsd  (%rax,%rsi,8),%xmm2
addsd  %xmm2,%xmm1
add    $0x1,%r11
cmp    %r11d,%ecx
jne    1400 <orthes+0x2f0>
add    0x58(%rsp),%r11
jmp    1433 <orthes+0x323>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    %r15,%r11
cmpl   $0x3,0x8(%rsp)
mov    0x68(%rsp),%rdx
jb     149c <orthes+0x38c>
nop
movsd  (%rbx,%r11,8),%xmm2
movsd  0x8(%rbx,%r11,8),%xmm3
mov    (%r14,%r11,8),%rax
mov    0x8(%r14,%r11,8),%r12
mulsd  (%rax,%rsi,8),%xmm2
addsd  %xmm1,%xmm2
mulsd  (%r12,%rsi,8),%xmm3
addsd  %xmm2,%xmm3
movsd  0x10(%rbx,%r11,8),%xmm2
mov    0x10(%r14,%r11,8),%rax
mulsd  (%rax,%rsi,8),%xmm2
movsd  0x18(%rbx,%r11,8),%xmm1
mov    0x18(%r14,%r11,8),%rax
mulsd  (%rax,%rsi,8),%xmm1
addsd  %xmm3,%xmm2
addsd  %xmm2,%xmm1
add    $0x4,%r11
cmp    %r11d,%edx
jne    1440 <orthes+0x330>
divsd  (%rbx,%r15,8),%xmm1
mov    0x60(%rsp),%rax
divsd  (%rax,%r10,8),%xmm1
mov    %r15,%rax
test   $0x1,%r13b
je     14d3 <orthes+0x3c3>
mov    (%r14,%r15,8),%rax
movsd  (%rbx,%r15,8),%xmm2
mulsd  %xmm1,%xmm2
addsd  (%rax,%rsi,8),%xmm2
movsd  %xmm2,(%rax,%rsi,8)
mov    0x50(%rsp),%rax
cmp    $0xffffffff,%r13d
mov    0x68(%rsp),%r11
je     13e0 <orthes+0x2d0>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    (%r14,%rax,8),%rdx
movsd  (%rbx,%rax,8),%xmm2
mulsd  %xmm1,%xmm2
addsd  (%rdx,%rsi,8),%xmm2
movsd  %xmm2,(%rdx,%rsi,8)
mov    0x8(%r14,%rax,8),%rdx
movsd  0x8(%rbx,%rax,8),%xmm2
mulsd  %xmm1,%xmm2
addsd  (%rdx,%rsi,8),%xmm2
movsd  %xmm2,(%rdx,%rsi,8)
add    $0x2,%rax
cmp    %eax,%r11d
jne    14f0 <orthes+0x3e0>
jmp    13e0 <orthes+0x2d0>
add    $0x98,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
lea    -0x1(%r11),%rax
mov    %rax,0x88(%rsp)
mov    0x1c(%rsp),%r8d
lea    (%rbx,%r11,8),%rax
mov    %rax,0x50(%rsp)
mov    %r11,%rax
neg    %rax
mov    %rax,0x60(%rsp)
lea    -0x5(%r11),%rdi
mov    $0x1,%r12d
mov    $0x7,%r9d
xor    %edx,%edx
movapd 0xa81(%rip),%xmm1
xorpd  %xmm9,%xmm9
movapd 0xa83(%rip),%xmm10
mov    %rbx,%rbp
mov    %r11,%r13
mov    %rsi,%r15
mov    %r8,0x80(%rsp)
jmp    1600 <orthes+0x4f0>
movsd  (%rbx,%r12,8),%xmm0
mulsd  %xmm11,%xmm0
movsd  %xmm0,(%rbx,%r12,8)
mulsd  %xmm11,%xmm8
mov    (%rsi,%r12,8),%rax
movsd  %xmm8,-0x8(%rax,%r12,8)
mov    0x80(%rsp),%r8
mov    0x40(%rsp),%rdi
mov    0x20(%rsp),%r9
mov    0x90(%rsp),%rdx
add    $0x1,%r12
add    $0x1,%rdx
add    $0x8,%r15
add    $0xffffffffffffffff,%r13
add    $0x8,%rbp
add    $0x1,%r9
add    $0xffffffffffffffff,%rdi
cmp    %r8,%r12
je     1149 <orthes+0x39>
cmp    %r11,%r12
jae    15db <orthes+0x4cb>
mov    %rdi,%rax
shr    $0x2,%rax
add    $0x1,%rax
and    $0xfffffffffffffffe,%rax
mov    %rax,0x10(%rsp)
mov    0x88(%rsp),%rax
sub    %rdx,%rax
mov    %rax,0x8(%rsp)
add    $0xfffffffffffffffc,%rax
mov    %rax,0x30(%rsp)
shr    $0x2,%rax
add    $0x1,%rax
mov    %rax,0x28(%rsp)
lea    (%rbx,%r12,8),%rax
mov    %rax,0x58(%rsp)
xorpd  %xmm11,%xmm11
mov    $0x1,%eax
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    (%r15,%rax,8),%rcx
movsd  -0x8(%rcx,%r12,8),%xmm0
andpd  %xmm1,%xmm0
addsd  %xmm0,%xmm11
add    $0x1,%rax
cmp    %rax,%r13
jne    1660 <orthes+0x550>
ucomisd %xmm9,%xmm11
jne    168a <orthes+0x57a>
jnp    15db <orthes+0x4cb>
xorpd  %xmm12,%xmm12
cmp    %r11,%r12
jae    16c9 <orthes+0x5b9>
xorpd  %xmm12,%xmm12
mov    %r11,%rax
nopl   0x0(%rax)
mov    -0x8(%rsi,%rax,8),%rcx
movsd  -0x8(%rcx,%r12,8),%xmm0
divsd  %xmm11,%xmm0
movsd  %xmm0,-0x8(%rbx,%rax,8)
mulsd  %xmm0,%xmm0
addsd  %xmm0,%xmm12
add    $0xffffffffffffffff,%rax
cmp    %r12,%rax
jg     16a0 <orthes+0x590>
ucomisd %xmm9,%xmm12
mov    %rdi,0x40(%rsp)
mov    %r9,0x20(%rsp)
mov    %rdx,0x90(%rsp)
jb     16ec <orthes+0x5dc>
xorps  %xmm0,%xmm0
sqrtsd %xmm12,%xmm0
jmp    1732 <orthes+0x622>
movapd %xmm12,%xmm0
movsd  %xmm11,0x78(%rsp)
movsd  %xmm12,0x70(%rsp)
call   1030 <sqrt@plt>
movsd  0x70(%rsp),%xmm12
movsd  0x78(%rsp),%xmm11
movapd 0x8f5(%rip),%xmm10
xorpd  %xmm9,%xmm9
movapd 0x8d8(%rip),%xmm1
mov    0x68(%rsp),%r11
mov    0x48(%rsp),%rsi
movsd  (%rbx,%r12,8),%xmm2
movapd %xmm0,%xmm3
xorpd  %xmm10,%xmm3
xorpd  %xmm8,%xmm8
cmpltsd %xmm2,%xmm8
andpd  %xmm8,%xmm3
andnpd %xmm0,%xmm8
orpd   %xmm3,%xmm8
movapd %xmm2,%xmm0
mulsd  %xmm8,%xmm0
subsd  %xmm0,%xmm12
subsd  %xmm8,%xmm2
movsd  %xmm2,(%rbx,%r12,8)
mov    %r12,%rax
cmp    %r11,%r12
jae    17ea <orthes+0x6da>
nopl   0x0(%rax)
xorpd  %xmm0,%xmm0
mov    %r11,%rcx
nopw   0x0(%rax,%rax,1)
movsd  -0x8(%rbx,%rcx,8),%xmm2
mov    -0x8(%rsi,%rcx,8),%rdx
mulsd  (%rdx,%rax,8),%xmm2
addsd  %xmm2,%xmm0
add    $0xffffffffffffffff,%rcx
cmp    %r12,%rcx
jg     1790 <orthes+0x680>
xorpd  %xmm10,%xmm0
divsd  %xmm12,%xmm0
mov    $0x1,%ecx
nopl   0x0(%rax)
mov    (%r15,%rcx,8),%rdx
movsd  0x0(%rbp,%rcx,8),%xmm2
mulsd  %xmm0,%xmm2
addsd  (%rdx,%rax,8),%xmm2
movsd  %xmm2,(%rdx,%rax,8)
add    $0x1,%rcx
cmp    %rcx,%r13
jne    17c0 <orthes+0x6b0>
add    $0x1,%rax
cmp    %r11,%rax
jne    1780 <orthes+0x670>
mov    0x8(%rsp),%r9
and    $0xfffffffffffffffc,%r9
lea    (%r12,%r9,1),%r8
xor    %r10d,%r10d
jmp    180d <orthes+0x6fd>
nopl   0x0(%rax)
add    $0x1,%r10
cmp    %r11,%r10
je     15a0 <orthes+0x490>
cmp    %r11,%r12
jae    1800 <orthes+0x6f0>
mov    (%rsi,%r10,8),%rax
xorpd  %xmm0,%xmm0
mov    %r11,%rcx
nopl   (%rax)
movsd  -0x8(%rbx,%rcx,8),%xmm2
mulsd  -0x8(%rax,%rcx,8),%xmm2
addsd  %xmm2,%xmm0
add    $0xffffffffffffffff,%rcx
cmp    %r12,%rcx
jg     1820 <orthes+0x710>
cmp    %r11,%r12
jae    1800 <orthes+0x6f0>
mov    (%rsi,%r10,8),%rdx
xorpd  %xmm10,%xmm0
divsd  %xmm12,%xmm0
mov    %r12,%rax
cmpq   $0x4,0x8(%rsp)
jb     1960 <orthes+0x850>
lea    (%rdx,%r12,8),%rax
cmp    0x50(%rsp),%rax
jae    1878 <orthes+0x768>
lea    (%rdx,%r11,8),%rcx
mov    %r12,%rax
cmp    %rcx,0x58(%rsp)
jb     1960 <orthes+0x850>
movapd %xmm0,%xmm2
unpcklpd %xmm0,%xmm2
cmpq   $0x4,0x30(%rsp)
jae    188f <orthes+0x77f>
xor    %edi,%edi
jmp    1910 <orthes+0x800>
mov    0x20(%rsp),%rax
lea    (%rdx,%rax,8),%rcx
mov    0x10(%rsp),%rax
xor    %edi,%edi
nop
movupd 0x8(%rbp,%rdi,8),%xmm3
movupd 0x18(%rbp,%rdi,8),%xmm4
mulpd  %xmm2,%xmm3
movupd -0x30(%rcx,%rdi,8),%xmm5
addpd  %xmm3,%xmm5
movupd -0x20(%rcx,%rdi,8),%xmm3
movupd -0x10(%rcx,%rdi,8),%xmm6
movupd (%rcx,%rdi,8),%xmm7
mulpd  %xmm2,%xmm4
addpd  %xmm3,%xmm4
movupd %xmm5,-0x30(%rcx,%rdi,8)
movupd %xmm4,-0x20(%rcx,%rdi,8)
movupd 0x28(%rbp,%rdi,8),%xmm3
movupd 0x38(%rbp,%rdi,8),%xmm4
mulpd  %xmm2,%xmm3
addpd  %xmm6,%xmm3
mulpd  %xmm2,%xmm4
addpd  %xmm7,%xmm4
movupd %xmm3,-0x10(%rcx,%rdi,8)
movupd %xmm4,(%rcx,%rdi,8)
add    $0x8,%rdi
add    $0xfffffffffffffffe,%rax
jne    18a0 <orthes+0x790>
testb  $0x1,0x28(%rsp)
je     194b <orthes+0x83b>
add    %r12,%rdi
movupd (%rbx,%rdi,8),%xmm3
movupd 0x10(%rbx,%rdi,8),%xmm4
movupd (%rdx,%rdi,8),%xmm5
movupd 0x10(%rdx,%rdi,8),%xmm6
mulpd  %xmm2,%xmm3
addpd  %xmm5,%xmm3
mulpd  %xmm2,%xmm4
addpd  %xmm6,%xmm4
movupd %xmm3,(%rdx,%rdi,8)
movupd %xmm4,0x10(%rdx,%rdi,8)
mov    %r8,%rax
cmp    %r9,0x8(%rsp)
je     1800 <orthes+0x6f0>
nopl   0x0(%rax)
mov    %r11d,%edi
sub    %eax,%edi
mov    %rax,%rcx
test   $0x1,%dil
je     1985 <orthes+0x875>
movsd  (%rbx,%rax,8),%xmm2
mulsd  %xmm0,%xmm2
addsd  (%rdx,%rax,8),%xmm2
movsd  %xmm2,(%rdx,%rax,8)
lea    0x1(%rax),%rcx
not    %rax
cmp    0x60(%rsp),%rax
je     1800 <orthes+0x6f0>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movsd  (%rbx,%rcx,8),%xmm2
mulsd  %xmm0,%xmm2
addsd  (%rdx,%rcx,8),%xmm2
movsd  %xmm2,(%rdx,%rcx,8)
movsd  0x8(%rbx,%rcx,8),%xmm2
mulsd  %xmm0,%xmm2
addsd  0x8(%rdx,%rcx,8),%xmm2
movsd  %xmm2,0x8(%rdx,%rcx,8)
add    $0x2,%rcx
cmp    %rcx,%r11
jne    19a0 <orthes+0x890>
jmp    1800 <orthes+0x6f0>

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

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