#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 unsigned int n, double **z) {
  unsigned 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
ja     117d <mytqli+0x5d>
mov    -0x10(%rbp),%rax
mov    -0x30(%rbp),%ecx
sub    $0x1,%ecx
mov    %ecx,%ecx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x30(%rbp),%ecx
sub    $0x2,%ecx
mov    %ecx,%ecx
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
mov    %ecx,%ecx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
movl   $0x1,-0x28(%rbp)
mov    -0x28(%rbp),%eax
cmp    -0x14(%rbp),%eax
ja     1725 <mytqli+0x605>
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
ja     1248 <mytqli+0x128>
mov    -0x8(%rbp),%rax
mov    -0x24(%rbp),%ecx
sub    $0x1,%ecx
mov    %ecx,%ecx
movsd  (%rax,%rcx,8),%xmm0
movaps 0xe26(%rip),%xmm1
pand   %xmm1,%xmm0
mov    -0x8(%rbp),%rax
mov    -0x24(%rbp),%ecx
movsd  (%rax,%rcx,8),%xmm1
movaps 0xe0f(%rip),%xmm2
pand   %xmm2,%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x10(%rbp),%rax
mov    -0x24(%rbp),%ecx
sub    $0x1,%ecx
mov    %ecx,%ecx
movsd  (%rax,%rcx,8),%xmm0
movaps 0xdea(%rip),%xmm1
pand   %xmm1,%xmm0
addsd  -0x68(%rbp),%xmm0
ucomisd -0x68(%rbp),%xmm0
jne    1235 <mytqli+0x115>
jp     1235 <mytqli+0x115>
jmp    1248 <mytqli+0x128>
jmp    123a <mytqli+0x11a>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    11b1 <mytqli+0x91>
mov    -0x24(%rbp),%eax
cmp    -0x28(%rbp),%eax
je     1701 <mytqli+0x5e1>
cmpl   $0x1e,-0x2c(%rbp)
setb   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
mov    -0x8(%rbp),%rax
mov    -0x28(%rbp),%ecx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x8(%rbp),%rax
mov    -0x28(%rbp),%ecx
sub    $0x1,%ecx
mov    %ecx,%ecx
subsd  (%rax,%rcx,8),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x28(%rbp),%ecx
sub    $0x1,%ecx
mov    %ecx,%ecx
movsd  0xd82(%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  0xd56(%rip),%xmm1
addsd  %xmm1,%xmm0
call   1040 <sqrt@plt>
movsd  %xmm0,-0x48(%rbp)
mov    -0x8(%rbp),%rax
mov    -0x24(%rbp),%ecx
sub    $0x1,%ecx
mov    %ecx,%ecx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x8(%rbp),%rax
mov    -0x28(%rbp),%ecx
sub    $0x1,%ecx
mov    %ecx,%ecx
subsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
mov    -0x10(%rbp),%rax
mov    -0x28(%rbp),%ecx
sub    $0x1,%ecx
mov    %ecx,%ecx
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    1357 <mytqli+0x237>
movsd  -0x48(%rbp),%xmm0
movaps 0xcd1(%rip),%xmm1
pand   %xmm1,%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
jmp    136f <mytqli+0x24f>
movsd  -0x48(%rbp),%xmm0
movaps 0xc9d(%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  0xc6b(%rip),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  0xc5e(%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
jb     16b0 <mytqli+0x590>
movsd  -0x40(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x30(%rbp),%ecx
sub    $0x1,%ecx
mov    %ecx,%ecx
mulsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x70(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x30(%rbp),%ecx
sub    $0x1,%ecx
mov    %ecx,%ecx
mulsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x60(%rbp),%xmm0
movaps 0xbea(%rip),%xmm1
pand   %xmm1,%xmm0
movsd  -0x58(%rbp),%xmm1
movaps 0xbda(%rip),%xmm2
pand   %xmm2,%xmm1
ucomisd %xmm1,%xmm0
jb     149e <mytqli+0x37e>
movsd  -0x58(%rbp),%xmm0
divsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x70(%rbp),%xmm0
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xbb7(%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
mov    -0x30(%rbp),%ecx
movsd  %xmm0,(%rax,%rcx,8)
movsd  0xb8b(%rip),%xmm0
divsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x40(%rbp)
mulsd  -0x70(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
jmp    1503 <mytqli+0x3e3>
movsd  -0x60(%rbp),%xmm0
divsd  -0x58(%rbp),%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xb4d(%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
mov    -0x30(%rbp),%ecx
movsd  %xmm0,(%rax,%rcx,8)
movsd  0xb21(%rip),%xmm0
divsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
mulsd  -0x40(%rbp),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x8(%rbp),%rax
mov    -0x30(%rbp),%ecx
movsd  (%rax,%rcx,8),%xmm0
subsd  -0x50(%rbp),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x8(%rbp),%rax
mov    -0x30(%rbp),%ecx
sub    $0x1,%ecx
mov    %ecx,%ecx
movsd  (%rax,%rcx,8),%xmm0
subsd  -0x58(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
movsd  0xadc(%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
mov    -0x30(%rbp),%ecx
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
ja     169d <mytqli+0x57d>
mov    -0x20(%rbp),%rax
mov    -0x30(%rbp),%ecx
mov    (%rax,%rcx,8),%rax
mov    -0x34(%rbp),%ecx
sub    $0x1,%ecx
mov    %ecx,%ecx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x40(%rbp),%xmm0
mov    -0x20(%rbp),%rax
mov    -0x30(%rbp),%ecx
sub    $0x1,%ecx
mov    %ecx,%ecx
mov    (%rax,%rcx,8),%rax
mov    -0x34(%rbp),%ecx
sub    $0x1,%ecx
mov    %ecx,%ecx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  -0x60(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
mov    -0x30(%rbp),%ecx
mov    (%rax,%rcx,8),%rax
mov    -0x34(%rbp),%ecx
sub    $0x1,%ecx
mov    %ecx,%ecx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x70(%rbp),%xmm0
mov    -0x20(%rbp),%rax
mov    -0x30(%rbp),%ecx
sub    $0x1,%ecx
mov    %ecx,%ecx
mov    (%rax,%rcx,8),%rax
mov    -0x34(%rbp),%ecx
sub    $0x1,%ecx
mov    %ecx,%ecx
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
mov    %ecx,%ecx
mov    (%rax,%rcx,8),%rax
mov    -0x34(%rbp),%ecx
sub    $0x1,%ecx
mov    %ecx,%ecx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    15b2 <mytqli+0x492>
jmp    16a2 <mytqli+0x582>
mov    -0x30(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x30(%rbp)
jmp    13c8 <mytqli+0x2a8>
mov    -0x8(%rbp),%rax
mov    -0x28(%rbp),%ecx
sub    $0x1,%ecx
mov    %ecx,%ecx
movsd  (%rax,%rcx,8),%xmm0
subsd  -0x50(%rbp),%xmm0
mov    -0x8(%rbp),%rax
mov    -0x28(%rbp),%ecx
sub    $0x1,%ecx
mov    %ecx,%ecx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x58(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x28(%rbp),%ecx
sub    $0x1,%ecx
mov    %ecx,%ecx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x10(%rbp),%rax
mov    -0x24(%rbp),%ecx
sub    $0x1,%ecx
mov    %ecx,%ecx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
jmp    1706 <mytqli+0x5e6>
mov    -0x24(%rbp),%eax
cmp    -0x28(%rbp),%eax
jne    11ab <mytqli+0x8b>
jmp    1717 <mytqli+0x5f7>
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    1198 <mytqli+0x78>
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    $0xa8,%rsp
mov    %rcx,0xa0(%rsp)
mov    %edx,%r15d
mov    %rsi,%r12
mov    %rdi,%rbx
cmp    $0x2,%edx
jae    1181 <mytqli+0x51>
lea    -0x1(%r15),%eax
movq   $0x0,(%r12,%rax,8)
xor    %ebp,%ebp
test   %r15d,%r15d
jne    11a2 <mytqli+0x72>
mov    $0x1,%eax
add    $0xa8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0x8(%r12),%rsi
lea    -0x1(%r15),%ebp
lea    0x0(,%rbp,8),%rdx
mov    %r12,%rdi
call   1040 <memmove@plt>
movq   $0x0,(%r12,%rbp,8)
mov    %r15d,%edi
lea    0x1(%rdi),%r14
lea    -0x2(%rdi),%rax
mov    %rax,0x98(%rsp)
mov    %rax,%rcx
shr    %rcx
add    $0x1,%rcx
mov    %edi,%eax
and    $0xfffffffe,%eax
mov    %rax,0x88(%rsp)
mov    %rdi,%rax
or     $0x1,%rax
mov    %rax,0x80(%rsp)
mov    %rcx,%rax
mov    %rcx,0x90(%rsp)
and    $0xfffffffffffffffe,%rcx
mov    %rcx,0x78(%rsp)
mov    $0x1,%r8d
movapd 0xe02(%rip),%xmm9
mov    %r15,0x58(%rsp)
mov    %rbp,0x60(%rsp)
mov    %rdi,(%rsp)
jmp    1222 <mytqli+0xf2>
xchg   %ax,%ax
add    $0x1,%r8d
mov    0x58(%rsp),%r15
cmp    %r15d,%r8d
ja     116a <mytqli+0x3a>
cmp    %ebp,%r8d
ja     1210 <mytqli+0xe0>
lea    -0x1(%r8),%r15d
mov    %r8d,%eax
mov    %rax,0x70(%rsp)
mov    %r8,0x8(%rsp)
mov    %r15,0x68(%rsp)
jmp    126e <mytqli+0x13e>
nop
mov    0x68(%rsp),%r15
movsd  (%rbx,%r15,8),%xmm1
mov    0x60(%rsp),%rbp
subsd  %xmm12,%xmm1
movsd  %xmm1,(%rbx,%r15,8)
movsd  %xmm11,(%r12,%r15,8)
movq   $0x0,(%r12,%r13,8)
cmp    %ebp,%r8d
ja     1210 <mytqli+0xe0>
movsd  (%rbx,%r15,8),%xmm0
mov    %r8d,%r13d
nopw   0x0(%rax,%rax,1)
lea    -0x1(%r13),%eax
movapd %xmm0,%xmm1
andpd  %xmm9,%xmm1
mov    %r13d,%ecx
movsd  (%rbx,%rcx,8),%xmm0
movapd %xmm0,%xmm2
andpd  %xmm9,%xmm2
addsd  %xmm1,%xmm2
movsd  (%r12,%rax,8),%xmm1
andpd  %xmm9,%xmm1
addsd  %xmm2,%xmm1
ucomisd %xmm2,%xmm1
jne    12b9 <mytqli+0x189>
jnp    12c2 <mytqli+0x192>
add    $0x1,%r13d
cmp    %ebp,%r13d
jbe    1280 <mytqli+0x150>
cmp    %r8d,%r13d
je     1210 <mytqli+0xe0>
mov    $0x1,%edi
call   1030 <assert@plt>
mov    0x70(%rsp),%rax
movsd  (%rbx,%rax,8),%xmm5
subsd  (%rbx,%r15,8),%xmm5
movsd  (%r12,%r15,8),%xmm0
addsd  %xmm0,%xmm0
divsd  %xmm0,%xmm5
movapd %xmm5,%xmm0
mulsd  %xmm5,%xmm0
movsd  0xd1c(%rip),%xmm10
addsd  %xmm10,%xmm0
ucomisd 0xd17(%rip),%xmm0
jb     1320 <mytqli+0x1f0>
sqrtsd %xmm0,%xmm0
jmp    133a <mytqli+0x20a>
nopl   0x0(%rax)
movsd  %xmm5,0x20(%rsp)
call   1050 <sqrt@plt>
movsd  0x20(%rsp),%xmm5
movsd  0xce6(%rip),%xmm10
mov    (%rsp),%rdi
mov    0x8(%rsp),%r8
movapd 0xcb4(%rip),%xmm9
add    $0xffffffff,%r13d
movsd  (%rbx,%r13,8),%xmm2
movsd  (%rbx,%r15,8),%xmm1
subsd  %xmm1,%xmm2
movsd  (%r12,%r15,8),%xmm11
movapd %xmm0,%xmm3
andpd  0xc8e(%rip),%xmm3
orpd   0xc96(%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    %r8d,%r13d
jb     1250 <mytqli+0x120>
xorpd  %xmm12,%xmm12
movapd %xmm10,%xmm1
movapd %xmm10,%xmm13
mov    %r13d,%r15d
jmp    13d3 <mytqli+0x2a3>
mulsd  %xmm1,%xmm11
subsd  %xmm14,%xmm11
cmp    %r8d,%r15d
jb     1240 <mytqli+0x110>
movapd %xmm1,%xmm14
mov    %r15d,%ebp
add    $0xffffffff,%r15d
movsd  (%r12,%r15,8),%xmm2
mulsd  %xmm2,%xmm13
movapd %xmm13,%xmm0
andpd  %xmm9,%xmm0
movapd %xmm11,%xmm1
andpd  %xmm9,%xmm1
ucomisd %xmm1,%xmm0
jae    1430 <mytqli+0x300>
divsd  %xmm11,%xmm13
movapd %xmm13,%xmm0
mulsd  %xmm13,%xmm0
addsd  %xmm10,%xmm0
ucomisd 0xc08(%rip),%xmm0
jb     1460 <mytqli+0x330>
sqrtsd %xmm0,%xmm0
jmp    14c4 <mytqli+0x394>
nopl   0x0(%rax,%rax,1)
divsd  %xmm13,%xmm11
movapd %xmm11,%xmm0
mulsd  %xmm11,%xmm0
addsd  %xmm10,%xmm0
ucomisd 0xbdc(%rip),%xmm0
jb     14f0 <mytqli+0x3c0>
sqrtsd %xmm0,%xmm0
jmp    1554 <mytqli+0x424>
nopl   0x0(%rax,%rax,1)
movapd %xmm11,0x20(%rsp)
movapd %xmm12,0x40(%rsp)
movapd %xmm13,0x30(%rsp)
movsd  %xmm14,0x18(%rsp)
movsd  %xmm2,0x10(%rsp)
call   1050 <sqrt@plt>
movsd  0x10(%rsp),%xmm2
movsd  0x18(%rsp),%xmm14
movapd 0x30(%rsp),%xmm13
movapd 0x40(%rsp),%xmm12
movapd 0x20(%rsp),%xmm11
movsd  0xb6e(%rip),%xmm10
movapd 0xb45(%rip),%xmm9
mov    0x8(%rsp),%r8
mov    (%rsp),%rdi
mulsd  %xmm0,%xmm11
movsd  %xmm11,(%r12,%rbp,8)
movapd %xmm10,%xmm1
divsd  %xmm0,%xmm1
mulsd  %xmm1,%xmm13
jmp    1573 <mytqli+0x443>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movapd %xmm11,0x20(%rsp)
movapd %xmm12,0x40(%rsp)
movapd %xmm13,0x30(%rsp)
movsd  %xmm14,0x18(%rsp)
movsd  %xmm2,0x10(%rsp)
call   1050 <sqrt@plt>
movsd  0x10(%rsp),%xmm2
movsd  0x18(%rsp),%xmm14
movapd 0x30(%rsp),%xmm13
movapd 0x40(%rsp),%xmm12
movapd 0x20(%rsp),%xmm11
movsd  0xade(%rip),%xmm10
movapd 0xab5(%rip),%xmm9
mov    0x8(%rsp),%r8
mov    (%rsp),%rdi
mulsd  %xmm0,%xmm13
movsd  %xmm13,(%r12,%rbp,8)
movapd %xmm10,%xmm13
divsd  %xmm0,%xmm13
mulsd  %xmm13,%xmm11
movapd %xmm11,%xmm1
mulsd  %xmm2,%xmm14
movsd  (%rbx,%rbp,8),%xmm0
subsd  %xmm12,%xmm0
movsd  (%rbx,%r15,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,(%rbx,%rbp,8)
mov    0xa0(%rsp),%rcx
mov    (%rcx,%rbp,8),%rax
mov    (%rcx,%r15,8),%rcx
movapd %xmm13,%xmm0
xorpd  0xa3b(%rip),%xmm0
mov    $0x1,%edx
cmp    $0x2,%edi
jb     1700 <mytqli+0x5d0>
lea    (%rcx,%rdi,8),%rsi
cmp    %rsi,%rax
jae    15f9 <mytqli+0x4c9>
lea    (%rax,%rdi,8),%rsi
cmp    %rsi,%rcx
jb     1700 <mytqli+0x5d0>
movapd %xmm1,%xmm2
unpcklpd %xmm1,%xmm2
movapd %xmm13,%xmm3
unpcklpd %xmm13,%xmm3
movapd %xmm0,%xmm8
unpcklpd %xmm0,%xmm8
cmpq   $0x2,0x98(%rsp)
jae    1627 <mytqli+0x4f7>
xor    %edx,%edx
jmp    16a8 <mytqli+0x578>
mov    0x78(%rsp),%rsi
xor    %edx,%edx
xchg   %ax,%ax
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    1630 <mytqli+0x500>
testb  $0x1,0x90(%rsp)
01
je     16e4 <mytqli+0x5b4>
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    0x80(%rsp),%rdx
cmp    0x88(%rsp),%rdi
je     13c0 <mytqli+0x290>
nopw   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,%r14
jne    1700 <mytqli+0x5d0>
jmp    13c0 <mytqli+0x290>

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 ule 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 i32 %28, 1
%30 = zext 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 i32 %34, 2
%36 = zext 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 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 i32 %43, 1
%45 = zext 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 ule 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 i32 %56, 1
%58 = icmp ule 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 i32 %61, 1
%63 = zext 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 = zext 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 i32 %75, 1
%77 = zext 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 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 ult 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 = zext 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 i32 %105, 1
%107 = zext 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 i32 %112, 1
%114 = zext 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 i32 %124, 1
%126 = zext 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 i32 %130, 1
%132 = zext 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 i32 %137, 1
%139 = zext 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 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 uge 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 i32 %166, 1
%168 = zext 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 i32 %174, 1
%176 = zext 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 = zext 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 = zext 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 = zext 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 i32 %232, 1
%234 = zext 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 = zext 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 ule i32 %261, %262
br i1 %263, label %264, label %330
264: ; preds = %260
%265 = load double**, double*** %8
%266 = load i32, i32* %12
%267 = zext i32 %266 to i64
%268 = getelementptr inbounds double*, double** %265, i64 %267
%269 = load double*, double** %268
%270 = load i32, i32* %13
%271 = sub i32 %270, 1
%272 = zext 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 i32 %277, 1
%279 = zext i32 %278 to i64
%280 = getelementptr inbounds double*, double** %276, i64 %279
%281 = load double*, double** %280
%282 = load i32, i32* %13
%283 = sub i32 %282, 1
%284 = zext 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 = zext i32 %292 to i64
%294 = getelementptr inbounds double*, double** %291, i64 %293
%295 = load double*, double** %294
%296 = load i32, i32* %13
%297 = sub i32 %296, 1
%298 = zext 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 i32 %302, 1
%304 = zext i32 %303 to i64
%305 = getelementptr inbounds double*, double** %301, i64 %304
%306 = load double*, double** %305
%307 = load i32, i32* %13
%308 = sub i32 %307, 1
%309 = zext 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 i32 %318, 1
%320 = zext i32 %319 to i64
%321 = getelementptr inbounds double*, double** %317, i64 %320
%322 = load double*, double** %321
%323 = load i32, i32* %13
%324 = sub i32 %323, 1
%325 = zext 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 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 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 i32 %336, 1
%338 = zext 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 i32 %344, 1
%346 = zext 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 i32 %350, 1
%352 = zext 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 i32 %355, 1
%357 = zext 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 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 ult i32 %2, 2
br i1 %5, label %16, 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 i32 %2, -1
%11 = zext i32 %10 to i64
%12 = shl nuw nsw i64 %11, 3
%13 = add i32 %2, -1
%14 = zext i32 %13 to i64
%15 = getelementptr inbounds double, double* %1, i64 %14
store double 0.000000e+00, double* %15
br label %21
16: ; preds = %4
%17 = add nsw i32 %2, -1
%18 = zext i32 %17 to i64
%19 = getelementptr inbounds double, double* %1, i64 %18
store double 0.000000e+00, double* %19
%20 = icmp eq i32 %2, 0
br i1 %20, label %240, label %21
21: ; preds = %6, %16
%22 = phi i32 [ %13, %6 ], [ 0, %16 ]
%23 = add nuw i32 %2, 1
%24 = zext i32 %23 to i64
%25 = add nsw i64 %24, -1
%26 = add nsw i64 %24, -1
%27 = add nsw i64 %24, -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 = %21, %237
%39 = phi i32 [ 1, %21 ], [ %238, %237 ]
%40 = icmp ugt i32 %39, %22
%41 = zext i32 %39 to i64
%42 = getelementptr inbounds double, double* %0, i64 %41
%43 = add i32 %39, -1
%44 = zext i32 %43 to i64
%45 = getelementptr inbounds double, double* %0, i64 %44
%46 = getelementptr inbounds double, double* %1, i64 %44
br i1 %40, label %237, label %47
47: ; preds = %38, %231
%48 = load double, double* %45
br label %49
49: ; preds = %47, %65
%50 = phi double [ %57, %65 ], [ %48, %47 ]
%51 = phi i32 [ %66, %65 ], [ %39, %47 ]
%52 = add i32 %51, -1
%53 = zext i32 %52 to i64
%54 = tail call double @llvm.fabs.f64(double %50)
%55 = zext i32 %51 to i64
%56 = getelementptr inbounds double, double* %0, i64 %55
%57 = load double, double* %56
%58 = tail call double @llvm.fabs.f64(double %57)
%59 = fadd double %54, %58
%60 = getelementptr inbounds double, double* %1, i64 %53
%61 = load double, double* %60
%62 = tail call double @llvm.fabs.f64(double %61)
%63 = fadd double %62, %59
%64 = fcmp oeq double %63, %59
br i1 %64, label %68, label %65
65: ; preds = %49
%66 = add i32 %51, 1
%67 = icmp ugt i32 %66, %22
br i1 %67, label %68, label %49
68: ; preds = %65, %49
%69 = phi i32 [ %66, %65 ], [ %51, %49 ]
%70 = icmp eq i32 %69, %39
br i1 %70, label %237, label %71
71: ; preds = %68
%72 = tail call i32 @assert(i32 1)
%73 = load double, double* %42
%74 = load double, double* %45
%75 = fsub double %73, %74
%76 = load double, double* %46
%77 = fmul double %76, 2.000000e+00
%78 = fdiv double %75, %77
%79 = tail call double @llvm.fmuladd.f64(double %78, double %78, double 1.000000e+00)
%80 = tail call double @sqrt(double %79)
%81 = add i32 %69, -1
%82 = zext i32 %81 to i64
%83 = getelementptr inbounds double, double* %0, i64 %82
%84 = load double, double* %83
%85 = load double, double* %45
%86 = fsub double %84, %85
%87 = load double, double* %46
%88 = fcmp olt double %78, 0.000000e+00
%89 = tail call double @llvm.fabs.f64(double %80)
%90 = fneg double %89
%91 = select i1 %88, double %90, double %89
%92 = fadd double %78, %91
%93 = fdiv double %87, %92
%94 = fadd double %86, %93
%95 = icmp ult i32 %81, %39
br i1 %95, label %231, label %98
96: ; preds = %215, %212
%97 = icmp ult i32 %104, %39
br i1 %97, label %229, label %98
98: ; preds = %71, %96
%99 = phi double [ %134, %96 ], [ 1.000000e+00, %71 ]
%100 = phi double [ %147, %96 ], [ %94, %71 ]
%101 = phi double [ %144, %96 ], [ 0.000000e+00, %71 ]
%102 = phi double [ %133, %96 ], [ 1.000000e+00, %71 ]
%103 = phi i32 [ %104, %96 ], [ %81, %71 ]
%104 = add i32 %103, -1
%105 = zext i32 %104 to i64
%106 = getelementptr inbounds double, double* %1, i64 %105
%107 = load double, double* %106
%108 = fmul double %102, %107
%109 = fmul double %99, %107
%110 = tail call double @llvm.fabs.f64(double %108)
%111 = tail call double @llvm.fabs.f64(double %100)
%112 = fcmp ult double %110, %111
br i1 %112, label %122, label %113
113: ; preds = %98
%114 = fdiv double %100, %108
%115 = tail call double @llvm.fmuladd.f64(double %114, double %114, double 1.000000e+00)
%116 = tail call double @sqrt(double %115)
%117 = fmul double %108, %116
%118 = zext i32 %103 to i64
%119 = getelementptr inbounds double, double* %1, i64 %118
store double %117, double* %119
%120 = fdiv double 1.000000e+00, %116
%121 = fmul double %114, %120
br label %131
122: ; preds = %98
%123 = fdiv double %108, %100
%124 = tail call double @llvm.fmuladd.f64(double %123, double %123, double 1.000000e+00)
%125 = tail call double @sqrt(double %124)
%126 = fmul double %100, %125
%127 = zext i32 %103 to i64
%128 = getelementptr inbounds double, double* %1, i64 %127
store double %126, double* %128
%129 = fdiv double 1.000000e+00, %125
%130 = fmul double %123, %129
br label %131
131: ; preds = %113, %122
%132 = phi i64 [ %127, %122 ], [ %118, %113 ]
%133 = phi double [ %130, %122 ], [ %120, %113 ]
%134 = phi double [ %129, %122 ], [ %121, %113 ]
%135 = getelementptr inbounds double, double* %0, i64 %132
%136 = load double, double* %135
%137 = fsub double %136, %101
%138 = getelementptr inbounds double, double* %0, i64 %105
%139 = load double, double* %138
%140 = fsub double %139, %137
%141 = fmul double %134, 2.000000e+00
%142 = fmul double %109, %141
%143 = tail call double @llvm.fmuladd.f64(double %140, double %133, double %142)
%144 = fmul double %133, %143
%145 = fadd double %137, %144
store double %145, double* %135
%146 = fneg double %109
%147 = tail call double @llvm.fmuladd.f64(double %134, double %143, double %146)
%148 = getelementptr inbounds double*, double** %3, i64 %132
%149 = load double*, double** %148
%150 = getelementptr inbounds double*, double** %3, i64 %105
%151 = load double*, double** %150
%152 = fneg double %133
br i1 %30, label %213, label %153
153: ; preds = %131
%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 %134, i64 0
%161 = shufflevector <2 x double> %160, <2 x double> poison, <2 x i32> zeroinitializer
%162 = insertelement <2 x double> poison, double %133, 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 %96, label %213
213: ; preds = %153, %131, %212
%214 = phi i64 [ 1, %153 ], [ 1, %131 ], [ %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 %134, %219
%223 = tail call double @llvm.fmuladd.f64(double %133, 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 %134, double %224, double %225)
store double %226, double* %220
%227 = add nuw nsw i64 %216, 1
%228 = icmp eq i64 %227, %24
br i1 %228, label %96, label %215
229: ; preds = %96
%230 = load double, double* %45
br label %231
231: ; preds = %229, %71
%232 = phi double [ %85, %71 ], [ %230, %229 ]
%233 = phi double [ 0.000000e+00, %71 ], [ %144, %229 ]
%234 = phi double [ %94, %71 ], [ %147, %229 ]
%235 = fsub double %232, %233
store double %235, double* %45
store double %234, double* %46
%236 = getelementptr inbounds double, double* %1, i64 %82
store double 0.000000e+00, double* %236
br i1 %40, label %237, label %47
237: ; preds = %68, %231, %38
%238 = add i32 %39, 1
%239 = icmp ugt i32 %238, %2
br i1 %239, label %240, label %38
240: ; preds = %237, %16
ret i32 1
}