#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 */
int /*<<< orphan*/ assert(int);
double fabs(double);
double sqrt(double);
int mytqli(double *d, double *e, const int n, double **z) {
  int m, l, iter, i, k;
  double s, r, p, g, f, dd, c, b;
  for (i = 2; i <= n; i++)
    e[i - 2] = e[i - 1];
  e[n - 1] = 0.0;
  for (l = 1; l <= n; l++) {
    iter = 0;
    do {
      for (m = l; m <= n - 1; m++) {
        dd = fabs(d[m - 1]) + fabs(d[m]);
        if (fabs(e[m - 1]) + dd == dd)
          break;
      }
      if (m != l) {
        assert(iter < 30);
        g = (d[l] - d[l - 1]) / (2.0 * e[l - 1]);
        r = sqrt((g * g) + 1.0);
        g = d[m - 1] - d[l - 1] +
            e[l - 1] / (g + ((g < 0) ? -fabs(r) : fabs(r)));
        s = c = 1.0;
        p = 0.0;
        for (i = m - 1; i >= l; i--) {
          f = s * e[i - 1];
          b = c * e[i - 1];
          if (fabs(f) >= fabs(g)) {
            c = g / f;
            r = sqrt((c * c) + 1.0);
            e[i] = f * r;
            c *= (s = 1.0 / r);
          } else {
            s = f / g;
            r = sqrt((s * s) + 1.0);
            e[i] = g * r;
            s *= (c = 1.0 / r);
          }
          g = d[i] - p;
          r = (d[i - 1] - g) * s + 2.0 * c * b;
          p = s * r;
          d[i] = g + p;
          g = c * r - b;
          for (k = 1; k <= n; k++) {
            f = z[i][k - 1];
            z[i][k - 1] = s * z[i - 1][k - 1] + c * f;
            z[i - 1][k - 1] = c * z[i - 1][k - 1] - s * f;
          }
        }
        d[l - 1] = d[l - 1] - p;
        e[l - 1] = g;
        e[m - 1] = 0.0;
      }
    } while (m != l);
  }
  return (1);
}


x86 assembly (clang, -O0):
<mytqli>:
push   %rbp
mov    %rsp,%rbp
sub    $0xa0,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    %rcx,-0x20(%rbp)
movl   $0x2,-0x30(%rbp)
mov    -0x30(%rbp),%eax
cmp    -0x14(%rbp),%eax
jg     117f <mytqli+0x5f>
mov    -0x10(%rbp),%rax
mov    -0x30(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x30(%rbp),%ecx
sub    $0x2,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    1141 <mytqli+0x21>
mov    -0x10(%rbp),%rax
mov    -0x14(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
movl   $0x1,-0x28(%rbp)
mov    -0x28(%rbp),%eax
cmp    -0x14(%rbp),%eax
jg     1746 <mytqli+0x626>
movl   $0x0,-0x2c(%rbp)
mov    -0x28(%rbp),%eax
mov    %eax,-0x24(%rbp)
mov    -0x24(%rbp),%eax
mov    -0x14(%rbp),%ecx
sub    $0x1,%ecx
cmp    %ecx,%eax
jg     124e <mytqli+0x12e>
mov    -0x8(%rbp),%rax
mov    -0x24(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
movaps 0xe22(%rip),%xmm1
pand   %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movslq -0x24(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
movaps 0xe0a(%rip),%xmm2
pand   %xmm2,%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x10(%rbp),%rax
mov    -0x24(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
movaps 0xde4(%rip),%xmm1
pand   %xmm1,%xmm0
addsd  -0x68(%rbp),%xmm0
ucomisd -0x68(%rbp),%xmm0
jne    123b <mytqli+0x11b>
jp     123b <mytqli+0x11b>
jmp    124e <mytqli+0x12e>
jmp    1240 <mytqli+0x120>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    11b4 <mytqli+0x94>
mov    -0x24(%rbp),%eax
cmp    -0x28(%rbp),%eax
je     1722 <mytqli+0x602>
cmpl   $0x1e,-0x2c(%rbp)
setl   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
mov    -0x8(%rbp),%rax
movslq -0x28(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x8(%rbp),%rax
mov    -0x28(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
subsd  (%rax,%rcx,8),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x28(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  0xd79(%rip),%xmm1
mulsd  (%rax,%rcx,8),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x58(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xd4d(%rip),%xmm1
addsd  %xmm1,%xmm0
call   1040 <sqrt@plt>
movsd  %xmm0,-0x48(%rbp)
mov    -0x8(%rbp),%rax
mov    -0x24(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x8(%rbp),%rax
mov    -0x28(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
subsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
mov    -0x10(%rbp),%rax
mov    -0x28(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x58(%rbp),%xmm0
movsd  %xmm0,-0x80(%rbp)
xorps  %xmm0,%xmm0
ucomisd -0x58(%rbp),%xmm0
jbe    1363 <mytqli+0x243>
movsd  -0x48(%rbp),%xmm0
movaps 0xcc5(%rip),%xmm1
pand   %xmm1,%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
jmp    137b <mytqli+0x25b>
movsd  -0x48(%rbp),%xmm0
movaps 0xc91(%rip),%xmm1
pand   %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x90(%rbp),%xmm0
ff
movsd  -0x88(%rbp),%xmm1
ff
movsd  -0x80(%rbp),%xmm2
movsd  -0x98(%rbp),%xmm3
ff
addsd  %xmm3,%xmm2
divsd  %xmm2,%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  0xc5f(%rip),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  0xc52(%rip),%xmm0
movsd  %xmm0,-0x40(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x24(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x30(%rbp)
mov    -0x30(%rbp),%eax
cmp    -0x28(%rbp),%eax
jl     16cd <mytqli+0x5ad>
movsd  -0x40(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x30(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
mulsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x70(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x30(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
mulsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x60(%rbp),%xmm0
movaps 0xbdc(%rip),%xmm1
pand   %xmm1,%xmm0
movsd  -0x58(%rbp),%xmm1
movaps 0xbcc(%rip),%xmm2
pand   %xmm2,%xmm1
ucomisd %xmm1,%xmm0
jb     14ad <mytqli+0x38d>
movsd  -0x58(%rbp),%xmm0
divsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x70(%rbp),%xmm0
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xba9(%rip),%xmm1
addsd  %xmm1,%xmm0
call   1040 <sqrt@plt>
movsd  %xmm0,-0x48(%rbp)
movsd  -0x60(%rbp),%xmm0
mulsd  -0x48(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x30(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  0xb7c(%rip),%xmm0
divsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x40(%rbp)
mulsd  -0x70(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
jmp    1513 <mytqli+0x3f3>
movsd  -0x60(%rbp),%xmm0
divsd  -0x58(%rbp),%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xb3e(%rip),%xmm1
addsd  %xmm1,%xmm0
call   1040 <sqrt@plt>
movsd  %xmm0,-0x48(%rbp)
movsd  -0x58(%rbp),%xmm0
mulsd  -0x48(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x30(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  0xb11(%rip),%xmm0
divsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
mulsd  -0x40(%rbp),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x8(%rbp),%rax
movslq -0x30(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
subsd  -0x50(%rbp),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x8(%rbp),%rax
mov    -0x30(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
subsd  -0x58(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
movsd  0xaca(%rip),%xmm1
mulsd  -0x70(%rbp),%xmm1
mulsd  -0x78(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x40(%rbp),%xmm0
mulsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x58(%rbp),%xmm0
addsd  -0x50(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movslq -0x30(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x70(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movl   $0x1,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0x14(%rbp),%eax
jg     16ba <mytqli+0x59a>
mov    -0x20(%rbp),%rax
movslq -0x30(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    -0x34(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x40(%rbp),%xmm0
mov    -0x20(%rbp),%rax
mov    -0x30(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,8),%rax
mov    -0x34(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  -0x60(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
movslq -0x30(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    -0x34(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x70(%rbp),%xmm0
mov    -0x20(%rbp),%rax
mov    -0x30(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,8),%rax
mov    -0x34(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0x40(%rbp),%xmm1
mulsd  -0x60(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
mov    -0x30(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,8),%rax
mov    -0x34(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    15c5 <mytqli+0x4a5>
jmp    16bf <mytqli+0x59f>
mov    -0x30(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x30(%rbp)
jmp    13d4 <mytqli+0x2b4>
mov    -0x8(%rbp),%rax
mov    -0x28(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
subsd  -0x50(%rbp),%xmm0
mov    -0x8(%rbp),%rax
mov    -0x28(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x58(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x28(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x10(%rbp),%rax
mov    -0x24(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
jmp    1727 <mytqli+0x607>
mov    -0x24(%rbp),%eax
cmp    -0x28(%rbp),%eax
jne    11ae <mytqli+0x8e>
jmp    1738 <mytqli+0x618>
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    119b <mytqli+0x7b>
mov    $0x1,%eax
add    $0xa0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<mytqli>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x88,%rsp
mov    %rcx,0x80(%rsp)
mov    %edx,%r12d
mov    %rsi,%r15
mov    %rdi,%r13
cmp    $0x2,%edx
jge    1180 <mytqli+0x50>
movslq %r12d,%rax
movq   $0x0,-0x8(%r15,%rax,8)
cmp    $0x1,%r12d
je     11a1 <mytqli+0x71>
mov    $0x1,%eax
add    $0x88,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0x8(%r15),%rsi
lea    -0x1(%r12),%ebx
lea    0x0(,%rbx,8),%rdx
mov    %r15,%rdi
call   1040 <memmove@plt>
movq   $0x0,(%r15,%rbx,8)
mov    %r12d,%r12d
lea    0x1(%r12),%rbx
lea    -0x2(%r12),%rax
mov    %rax,0x78(%rsp)
mov    %rax,%rcx
shr    %rcx
add    $0x1,%rcx
mov    %r12d,%eax
and    $0xfffffffe,%eax
mov    %rax,0x68(%rsp)
mov    %r12,%rax
or     $0x1,%rax
mov    %rax,0x60(%rsp)
mov    %rcx,%rax
mov    %rcx,0x70(%rsp)
and    $0xfffffffffffffffe,%rcx
mov    %rcx,0x58(%rsp)
mov    $0x1,%edi
movapd 0xe0d(%rip),%xmm9
jmp    120d <mytqli+0xdd>
cs nopw 0x0(%rax,%rax,1)
nop
add    $0x1,%rdi
cmp    %rbx,%rdi
je     1169 <mytqli+0x39>
mov    %rdi,0x8(%rsp)
jmp    1247 <mytqli+0x117>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
movsd  -0x8(%r13,%rdi,8),%xmm1
mov    0x50(%rsp),%r14
subsd  %xmm12,%xmm1
movsd  %xmm1,-0x8(%r13,%rdi,8)
movsd  %xmm11,-0x8(%r15,%rdi,8)
movq   $0x0,(%r15,%r14,8)
mov    %edi,%ebp
cmp    %r12,%rdi
jae    12a1 <mytqli+0x171>
movsd  -0x8(%r13,%rdi,8),%xmm0
mov    %rdi,%rbp
nopl   0x0(%rax,%rax,1)
movapd %xmm0,%xmm1
andpd  %xmm9,%xmm1
movsd  0x0(%r13,%rbp,8),%xmm0
movapd %xmm0,%xmm2
andpd  %xmm9,%xmm2
addsd  %xmm1,%xmm2
movsd  -0x8(%r15,%rbp,8),%xmm1
andpd  %xmm9,%xmm1
addsd  %xmm2,%xmm1
ucomisd %xmm2,%xmm1
jne    1295 <mytqli+0x165>
jnp    12a1 <mytqli+0x171>
add    $0x1,%rbp
cmp    %rbp,%r12
jne    1260 <mytqli+0x130>
mov    %r12d,%ebp
mov    %ebp,%eax
cmp    %rax,%rdi
je     1200 <mytqli+0xd0>
mov    $0x1,%edi
call   1030 <assert@plt>
movsd  0xd61(%rip),%xmm10
mov    0x8(%rsp),%rdi
movsd  0x0(%r13,%rdi,8),%xmm5
subsd  -0x8(%r13,%rdi,8),%xmm5
movsd  -0x8(%r15,%rdi,8),%xmm0
addsd  %xmm0,%xmm0
divsd  %xmm0,%xmm5
movapd %xmm5,%xmm0
mulsd  %xmm5,%xmm0
addsd  %xmm10,%xmm0
ucomisd 0xd32(%rip),%xmm0
jb     1300 <mytqli+0x1d0>
sqrtsd %xmm0,%xmm0
jmp    131f <mytqli+0x1ef>
xchg   %ax,%ax
movsd  %xmm5,0x20(%rsp)
call   1050 <sqrt@plt>
movsd  0x20(%rsp),%xmm5
movsd  0xd06(%rip),%xmm10
mov    0x8(%rsp),%rdi
movapd 0xcd8(%rip),%xmm9
movslq %ebp,%rax
lea    -0x1(%rax),%r14
movsd  -0x8(%r13,%rax,8),%xmm2
movsd  -0x8(%r13,%rdi,8),%xmm1
subsd  %xmm1,%xmm2
movsd  -0x8(%r15,%rdi,8),%xmm11
movapd %xmm0,%xmm3
andpd  0xcac(%rip),%xmm3
orpd   0xcb4(%rip),%xmm0
xorpd  %xmm12,%xmm12
movapd %xmm5,%xmm4
cmpltsd %xmm12,%xmm4
andpd  %xmm4,%xmm0
andnpd %xmm3,%xmm4
orpd   %xmm0,%xmm4
addsd  %xmm5,%xmm4
divsd  %xmm4,%xmm11
addsd  %xmm2,%xmm11
cmp    %rax,%rdi
jge    122c <mytqli+0xfc>
xorpd  %xmm12,%xmm12
mov    %r14,0x50(%rsp)
movapd %xmm10,%xmm1
movapd %xmm10,%xmm13
jmp    13c3 <mytqli+0x293>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mulsd  %xmm1,%xmm11
subsd  %xmm14,%xmm11
cmp    %rdi,%rbp
jle    1220 <mytqli+0xf0>
movapd %xmm1,%xmm14
mov    %r14,%rbp
add    $0xffffffffffffffff,%r14
movsd  -0x8(%r15,%rbp,8),%xmm3
mulsd  %xmm3,%xmm13
movapd %xmm13,%xmm0
andpd  %xmm9,%xmm0
movapd %xmm11,%xmm1
andpd  %xmm9,%xmm1
ucomisd %xmm1,%xmm0
jae    1420 <mytqli+0x2f0>
divsd  %xmm11,%xmm13
movapd %xmm13,%xmm0
mulsd  %xmm13,%xmm0
addsd  %xmm10,%xmm0
ucomisd 0xc17(%rip),%xmm0
jb     1450 <mytqli+0x320>
sqrtsd %xmm0,%xmm0
jmp    14b0 <mytqli+0x380>
nopl   0x0(%rax)
divsd  %xmm13,%xmm11
movapd %xmm11,%xmm0
mulsd  %xmm11,%xmm0
addsd  %xmm10,%xmm0
ucomisd 0xbec(%rip),%xmm0
jb     14d0 <mytqli+0x3a0>
sqrtsd %xmm0,%xmm0
jmp    1530 <mytqli+0x400>
nopl   0x0(%rax,%rax,1)
movapd %xmm11,0x20(%rsp)
movapd %xmm12,0x40(%rsp)
movapd %xmm13,0x30(%rsp)
movsd  %xmm14,0x18(%rsp)
movsd  %xmm3,0x10(%rsp)
call   1050 <sqrt@plt>
movsd  0x10(%rsp),%xmm3
movsd  0x18(%rsp),%xmm14
movapd 0x30(%rsp),%xmm13
movapd 0x40(%rsp),%xmm12
movapd 0x20(%rsp),%xmm11
movsd  0xb7e(%rip),%xmm10
movapd 0xb55(%rip),%xmm9
mov    0x8(%rsp),%rdi
mulsd  %xmm0,%xmm11
movapd %xmm10,%xmm1
divsd  %xmm0,%xmm1
mulsd  %xmm1,%xmm13
movapd %xmm11,%xmm2
jmp    1552 <mytqli+0x422>
nopl   (%rax)
movapd %xmm11,0x20(%rsp)
movapd %xmm12,0x40(%rsp)
movapd %xmm13,0x30(%rsp)
movsd  %xmm14,0x18(%rsp)
movsd  %xmm3,0x10(%rsp)
call   1050 <sqrt@plt>
movsd  0x10(%rsp),%xmm3
movsd  0x18(%rsp),%xmm14
movapd 0x30(%rsp),%xmm13
movapd 0x40(%rsp),%xmm12
movapd 0x20(%rsp),%xmm11
movsd  0xafe(%rip),%xmm10
movapd 0xad5(%rip),%xmm9
mov    0x8(%rsp),%rdi
mulsd  %xmm0,%xmm13
movapd %xmm13,%xmm2
movapd %xmm10,%xmm1
divsd  %xmm0,%xmm1
mulsd  %xmm1,%xmm11
movapd %xmm1,%xmm13
movapd %xmm11,%xmm1
mulsd  %xmm3,%xmm14
movsd  %xmm2,(%r15,%rbp,8)
movsd  0x0(%r13,%rbp,8),%xmm0
subsd  %xmm12,%xmm0
movsd  0x0(%r13,%r14,8),%xmm11
subsd  %xmm0,%xmm11
movapd %xmm1,%xmm2
addsd  %xmm1,%xmm2
mulsd  %xmm14,%xmm2
mulsd  %xmm13,%xmm11
addsd  %xmm2,%xmm11
movapd %xmm13,%xmm12
mulsd  %xmm11,%xmm12
addsd  %xmm12,%xmm0
movsd  %xmm0,0x0(%r13,%rbp,8)
mov    0x80(%rsp),%rcx
mov    (%rcx,%rbp,8),%rax
mov    (%rcx,%r14,8),%rcx
movapd %xmm13,%xmm0
xorpd  0xa51(%rip),%xmm0
mov    $0x1,%edx
cmp    $0x2,%r12d
jb     16f0 <mytqli+0x5c0>
lea    (%rcx,%r12,8),%rsi
cmp    %rsi,%rax
jae    15e4 <mytqli+0x4b4>
lea    (%rax,%r12,8),%rsi
cmp    %rsi,%rcx
jb     16f0 <mytqli+0x5c0>
movapd %xmm1,%xmm2
unpcklpd %xmm1,%xmm2
movapd %xmm13,%xmm3
unpcklpd %xmm13,%xmm3
movapd %xmm0,%xmm8
unpcklpd %xmm0,%xmm8
cmpq   $0x2,0x78(%rsp)
jae    160f <mytqli+0x4df>
xor    %edx,%edx
jmp    1698 <mytqli+0x568>
mov    0x58(%rsp),%rsi
xor    %edx,%edx
cs nopw 0x0(%rax,%rax,1)
movupd (%rax,%rdx,8),%xmm5
movupd (%rcx,%rdx,8),%xmm6
movapd %xmm2,%xmm7
mulpd  %xmm5,%xmm7
movapd %xmm3,%xmm4
mulpd  %xmm6,%xmm4
addpd  %xmm7,%xmm4
movupd %xmm4,(%rax,%rdx,8)
mulpd  %xmm8,%xmm5
mulpd  %xmm2,%xmm6
addpd  %xmm5,%xmm6
movupd %xmm6,(%rcx,%rdx,8)
movupd 0x10(%rax,%rdx,8),%xmm4
movupd 0x10(%rcx,%rdx,8),%xmm5
movapd %xmm2,%xmm6
mulpd  %xmm4,%xmm6
movapd %xmm3,%xmm7
mulpd  %xmm5,%xmm7
addpd  %xmm6,%xmm7
movupd %xmm7,0x10(%rax,%rdx,8)
mulpd  %xmm8,%xmm4
mulpd  %xmm2,%xmm5
addpd  %xmm4,%xmm5
movupd %xmm5,0x10(%rcx,%rdx,8)
add    $0x4,%rdx
add    $0xfffffffffffffffe,%rsi
jne    1620 <mytqli+0x4f0>
testb  $0x1,0x70(%rsp)
je     16d1 <mytqli+0x5a1>
movupd (%rax,%rdx,8),%xmm4
movupd (%rcx,%rdx,8),%xmm5
movapd %xmm2,%xmm6
mulpd  %xmm4,%xmm6
mulpd  %xmm5,%xmm3
addpd  %xmm6,%xmm3
movupd %xmm3,(%rax,%rdx,8)
mulpd  %xmm4,%xmm8
mulpd  %xmm5,%xmm2
addpd  %xmm8,%xmm2
movupd %xmm2,(%rcx,%rdx,8)
mov    0x60(%rsp),%rdx
cmp    0x68(%rsp),%r12
je     13b0 <mytqli+0x280>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movsd  -0x8(%rax,%rdx,8),%xmm2
movapd %xmm1,%xmm3
mulsd  %xmm2,%xmm3
movsd  -0x8(%rcx,%rdx,8),%xmm4
mulsd  %xmm13,%xmm4
addsd  %xmm3,%xmm4
movsd  %xmm4,-0x8(%rax,%rdx,8)
mulsd  %xmm0,%xmm2
movsd  -0x8(%rcx,%rdx,8),%xmm3
mulsd  %xmm1,%xmm3
addsd  %xmm2,%xmm3
movsd  %xmm3,-0x8(%rcx,%rdx,8)
add    $0x1,%rdx
cmp    %rdx,%rbx
jne    16f0 <mytqli+0x5c0>
jmp    13b0 <mytqli+0x280>

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

LLVM IR (-O2):
define i32 @mytqli(double* nocapture %0, double* nocapture %1, i32 %2, double** nocapture %3) {
%5 = icmp slt i32 %2, 2
br i1 %5, label %15, label %6
6: ; preds = %4
%7 = bitcast double* %1 to i8*
%8 = getelementptr double, double* %1, i64 1
%9 = bitcast double* %8 to i8*
%10 = add nsw i32 %2, -1
%11 = zext i32 %10 to i64
%12 = shl nuw nsw i64 %11, 3
%13 = zext i32 %10 to i64
%14 = getelementptr inbounds double, double* %1, i64 %13
store double 0.000000e+00, double* %14
br label %20
15: ; preds = %4
%16 = add nsw i32 %2, -1
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds double, double* %1, i64 %17
store double 0.000000e+00, double* %18
%19 = icmp eq i32 %2, 1
br i1 %19, label %20, label %240
20: ; preds = %6, %15
%21 = add nuw i32 %2, 1
%22 = zext i32 %2 to i64
%23 = zext i32 %21 to i64
%24 = zext i32 %2 to i64
%25 = add nsw i64 %23, -1
%26 = add nsw i64 %23, -1
%27 = add nsw i64 %23, -3
%28 = lshr i64 %27, 1
%29 = add nuw i64 %28, 1
%30 = icmp ult i64 %26, 2
%31 = and i64 %26, -2
%32 = or i64 %26, 1
%33 = and i64 %29, 1
%34 = icmp ult i64 %27, 2
%35 = and i64 %29, -2
%36 = icmp eq i64 %33, 0
%37 = icmp eq i64 %26, %31
br label %38
38: ; preds = %20, %237
%39 = phi i64 [ 1, %20 ], [ %238, %237 ]
%40 = icmp ult i64 %39, %22
%41 = getelementptr inbounds double, double* %0, i64 %39
%42 = add nsw i64 %39, -1
%43 = getelementptr inbounds double, double* %0, i64 %42
%44 = getelementptr inbounds double, double* %1, i64 %42
%45 = trunc i64 %39 to i32
br label %46
46: ; preds = %38, %231
br i1 %40, label %47, label %68
47: ; preds = %46
%48 = load double, double* %43
br label %49
49: ; preds = %47, %63
%50 = phi double [ %48, %47 ], [ %55, %63 ]
%51 = phi i64 [ %39, %47 ], [ %64, %63 ]
%52 = add nsw i64 %51, -1
%53 = tail call double @llvm.fabs.f64(double %50)
%54 = getelementptr inbounds double, double* %0, i64 %51
%55 = load double, double* %54
%56 = tail call double @llvm.fabs.f64(double %55)
%57 = fadd double %53, %56
%58 = getelementptr inbounds double, double* %1, i64 %52
%59 = load double, double* %58
%60 = tail call double @llvm.fabs.f64(double %59)
%61 = fadd double %60, %57
%62 = fcmp oeq double %61, %57
br i1 %62, label %66, label %63
63: ; preds = %49
%64 = add nuw nsw i64 %51, 1
%65 = icmp eq i64 %64, %24
br i1 %65, label %68, label %49
66: ; preds = %49
%67 = trunc i64 %51 to i32
br label %68
68: ; preds = %63, %66, %46
%69 = phi i32 [ %45, %46 ], [ %67, %66 ], [ %2, %63 ]
%70 = zext i32 %69 to i64
%71 = icmp eq i64 %39, %70
br i1 %71, label %237, label %72
72: ; preds = %68
%73 = tail call i32 @assert(i32 1)
%74 = load double, double* %41
%75 = load double, double* %43
%76 = fsub double %74, %75
%77 = load double, double* %44
%78 = fmul double %77, 2.000000e+00
%79 = fdiv double %76, %78
%80 = tail call double @llvm.fmuladd.f64(double %79, double %79, double 1.000000e+00)
%81 = tail call double @sqrt(double %80)
%82 = add nsw i32 %69, -1
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds double, double* %0, i64 %83
%85 = load double, double* %84
%86 = load double, double* %43
%87 = fsub double %85, %86
%88 = load double, double* %44
%89 = fcmp olt double %79, 0.000000e+00
%90 = tail call double @llvm.fabs.f64(double %81)
%91 = fneg double %90
%92 = select i1 %89, double %91, double %90
%93 = fadd double %79, %92
%94 = fdiv double %88, %93
%95 = fadd double %87, %94
%96 = sext i32 %69 to i64
%97 = icmp slt i64 %39, %96
br i1 %97, label %98, label %231
98: ; preds = %72
%99 = add nsw i64 %96, -1
br label %102
100: ; preds = %215, %212
%101 = icmp sgt i64 %103, %39
br i1 %101, label %102, label %229
102: ; preds = %98, %100
%103 = phi i64 [ %99, %98 ], [ %108, %100 ]
%104 = phi double [ 1.000000e+00, %98 ], [ %133, %100 ]
%105 = phi double [ %95, %98 ], [ %147, %100 ]
%106 = phi double [ 0.000000e+00, %98 ], [ %144, %100 ]
%107 = phi double [ 1.000000e+00, %98 ], [ %132, %100 ]
%108 = add nsw i64 %103, -1
%109 = getelementptr inbounds double, double* %1, i64 %108
%110 = load double, double* %109
%111 = fmul double %107, %110
%112 = fmul double %104, %110
%113 = tail call double @llvm.fabs.f64(double %111)
%114 = tail call double @llvm.fabs.f64(double %105)
%115 = fcmp ult double %113, %114
br i1 %115, label %123, label %116
116: ; preds = %102
%117 = fdiv double %105, %111
%118 = tail call double @llvm.fmuladd.f64(double %117, double %117, double 1.000000e+00)
%119 = tail call double @sqrt(double %118)
%120 = fmul double %111, %119
%121 = fdiv double 1.000000e+00, %119
%122 = fmul double %117, %121
br label %130
123: ; preds = %102
%124 = fdiv double %111, %105
%125 = tail call double @llvm.fmuladd.f64(double %124, double %124, double 1.000000e+00)
%126 = tail call double @sqrt(double %125)
%127 = fmul double %105, %126
%128 = fdiv double 1.000000e+00, %126
%129 = fmul double %124, %128
br label %130
130: ; preds = %116, %123
%131 = phi double [ %127, %123 ], [ %120, %116 ]
%132 = phi double [ %129, %123 ], [ %121, %116 ]
%133 = phi double [ %128, %123 ], [ %122, %116 ]
%134 = getelementptr inbounds double, double* %1, i64 %103
store double %131, double* %134
%135 = getelementptr inbounds double, double* %0, i64 %103
%136 = load double, double* %135
%137 = fsub double %136, %106
%138 = getelementptr inbounds double, double* %0, i64 %108
%139 = load double, double* %138
%140 = fsub double %139, %137
%141 = fmul double %133, 2.000000e+00
%142 = fmul double %112, %141
%143 = tail call double @llvm.fmuladd.f64(double %140, double %132, double %142)
%144 = fmul double %132, %143
%145 = fadd double %137, %144
store double %145, double* %135
%146 = fneg double %112
%147 = tail call double @llvm.fmuladd.f64(double %133, double %143, double %146)
%148 = getelementptr inbounds double*, double** %3, i64 %103
%149 = load double*, double** %148
%150 = getelementptr inbounds double*, double** %3, i64 %108
%151 = load double*, double** %150
%152 = fneg double %132
br i1 %30, label %213, label %153
153: ; preds = %130
%154 = getelementptr double, double* %149, i64 %25
%155 = getelementptr double, double* %151, i64 %25
%156 = icmp ult double* %149, %155
%157 = icmp ult double* %151, %154
%158 = and i1 %156, %157
br i1 %158, label %213, label %159
159: ; preds = %153
%160 = insertelement <2 x double> poison, double %133, i64 0
%161 = shufflevector <2 x double> %160, <2 x double> poison, <2 x i32> zeroinitializer
%162 = insertelement <2 x double> poison, double %132, i64 0
%163 = shufflevector <2 x double> %162, <2 x double> poison, <2 x i32> zeroinitializer
%164 = insertelement <2 x double> poison, double %152, i64 0
%165 = shufflevector <2 x double> %164, <2 x double> poison, <2 x i32> zeroinitializer
br i1 %34, label %197, label %166
166: ; preds = %159, %166
%167 = phi i64 [ %194, %166 ], [ 0, %159 ]
%168 = phi i64 [ %195, %166 ], [ 0, %159 ]
%169 = getelementptr inbounds double, double* %149, i64 %167
%170 = bitcast double* %169 to <2 x double>*
%171 = load <2 x double>, <2 x double>* %170
%172 = getelementptr inbounds double, double* %151, i64 %167
%173 = bitcast double* %172 to <2 x double>*
%174 = load <2 x double>, <2 x double>* %173
%175 = fmul <2 x double> %161, %171
%176 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %163, <2 x double> %174, <2 x double> %175)
%177 = bitcast double* %169 to <2 x double>*
store <2 x double> %176, <2 x double>* %177
%178 = fmul <2 x double> %171, %165
%179 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %161, <2 x double> %174, <2 x double> %178)
%180 = bitcast double* %172 to <2 x double>*
store <2 x double> %179, <2 x double>* %180
%181 = or i64 %167, 2
%182 = getelementptr inbounds double, double* %149, i64 %181
%183 = bitcast double* %182 to <2 x double>*
%184 = load <2 x double>, <2 x double>* %183
%185 = getelementptr inbounds double, double* %151, i64 %181
%186 = bitcast double* %185 to <2 x double>*
%187 = load <2 x double>, <2 x double>* %186
%188 = fmul <2 x double> %161, %184
%189 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %163, <2 x double> %187, <2 x double> %188)
%190 = bitcast double* %182 to <2 x double>*
store <2 x double> %189, <2 x double>* %190
%191 = fmul <2 x double> %184, %165
%192 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %161, <2 x double> %187, <2 x double> %191)
%193 = bitcast double* %185 to <2 x double>*
store <2 x double> %192, <2 x double>* %193
%194 = add nuw i64 %167, 4
%195 = add nuw i64 %168, 2
%196 = icmp eq i64 %195, %35
br i1 %196, label %197, label %166
197: ; preds = %166, %159
%198 = phi i64 [ 0, %159 ], [ %194, %166 ]
br i1 %36, label %212, label %199
199: ; preds = %197
%200 = getelementptr inbounds double, double* %149, i64 %198
%201 = bitcast double* %200 to <2 x double>*
%202 = load <2 x double>, <2 x double>* %201
%203 = getelementptr inbounds double, double* %151, i64 %198
%204 = bitcast double* %203 to <2 x double>*
%205 = load <2 x double>, <2 x double>* %204
%206 = fmul <2 x double> %161, %202
%207 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %163, <2 x double> %205, <2 x double> %206)
%208 = bitcast double* %200 to <2 x double>*
store <2 x double> %207, <2 x double>* %208
%209 = fmul <2 x double> %202, %165
%210 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %161, <2 x double> %205, <2 x double> %209)
%211 = bitcast double* %203 to <2 x double>*
store <2 x double> %210, <2 x double>* %211
br label %212
212: ; preds = %197, %199
br i1 %37, label %100, label %213
213: ; preds = %153, %130, %212
%214 = phi i64 [ 1, %153 ], [ 1, %130 ], [ %32, %212 ]
br label %215
215: ; preds = %213, %215
%216 = phi i64 [ %227, %215 ], [ %214, %213 ]
%217 = add nsw i64 %216, -1
%218 = getelementptr inbounds double, double* %149, i64 %217
%219 = load double, double* %218
%220 = getelementptr inbounds double, double* %151, i64 %217
%221 = load double, double* %220
%222 = fmul double %133, %219
%223 = tail call double @llvm.fmuladd.f64(double %132, double %221, double %222)
store double %223, double* %218
%224 = load double, double* %220
%225 = fmul double %219, %152
%226 = tail call double @llvm.fmuladd.f64(double %133, double %224, double %225)
store double %226, double* %220
%227 = add nuw nsw i64 %216, 1
%228 = icmp eq i64 %227, %23
br i1 %228, label %100, label %215
229: ; preds = %100
%230 = load double, double* %43
br label %231
231: ; preds = %229, %72
%232 = phi double [ %86, %72 ], [ %230, %229 ]
%233 = phi double [ 0.000000e+00, %72 ], [ %144, %229 ]
%234 = phi double [ %95, %72 ], [ %147, %229 ]
%235 = fsub double %232, %233
store double %235, double* %43
store double %234, double* %44
%236 = getelementptr inbounds double, double* %1, i64 %83
store double 0.000000e+00, double* %236
br label %46
237: ; preds = %68
%238 = add nuw nsw i64 %39, 1
%239 = icmp eq i64 %238, %23
br i1 %239, label %240, label %38
240: ; preds = %237, %15
ret i32 1
}