#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 evlmem(double, double *, long, double);
double fabs(double);
double integ(double *aa, long m, double ee, double a, double b,
             double epsilon) {
  double f[3][31], fm[3][31], e[3][31], krtn[31];
  double sum = 0.0, t = 1.0, absa = 1.0, est = 1.0, f1 = 0.0, fa = 0.0,
         fb = 0.0, fp = 0.0, x = a, da = b - a, dx = 0.0, sx = 0.0, fm1 = 0.0,
         e1 = 0.0, s = 0.0;
  long l = 0, k = 0;
  fa = evlmem(a, aa, m, ee);
  fb = evlmem(b, aa, m, ee);
  fp = 4.0 * evlmem(0.5 * (a + b), aa, m, ee);
  while (1) {
    k = 1;
    l++;
    t *= 1.7;
    dx = da / 3.0;
    sx = dx / 6.0;
    fm1 = 4.0 * evlmem(x + 0.5 * dx, aa, m, ee);
    f1 = evlmem(x + dx, aa, m, ee);
    fm[1][l] = fp;
    f[1][l] = evlmem(x + 2.0 * dx, aa, m, ee);
    fm[2][l] = 4.0 * evlmem(x + 2.5 * dx, aa, m, ee);
    f[2][l] = fb;
    e1 = sx * (fa + fm1 + f1);
    e[1][l] = sx * (f1 + fp + f[1][l]);
    e[2][l] = sx * (f[1][l] + fm[2][l] + fb);
    s = e1 + e[1][l] + e[2][l];
    absa = absa - fabs(est) + fabs(e1) + fabs(e[1][l]) + fabs(e[2][l]);
    if (fabs(est - 1.0) < 1.0e-06) {
      est = e1;
      fp = fm1;
      fb = f1;
      da = dx;
      krtn[l] = k;
      continue;
    }
    if (t * fabs(est - s) <= epsilon * absa) {
      sum += s;
      do {
        l--;
        t /= 1.7;
        k = krtn[l];
        dx *= 3.0;
        if (k == 3 && l - 1 <= 0)
          return sum;
      } while (k == 3 && l - 1 > 0);
      est = e[k][l];
      fp = fm[k][l];
      fa = fb;
      fb = f[k][l];
      k++;
      x += da;
      da = dx;
      krtn[l] = k;
      continue;
    }
    if (l < 30) {
      est = e1;
      fp = fm1;
      fb = f1;
      da = dx;
      krtn[l] = k;
      continue;
    }
    sum += 5.0;
    do {
      l--;
      t /= 1.7;
      k = krtn[l];
      dx *= 3.0;
      if (k == 3 && l - 1 <= 0)
        return sum;
    } while (k == 3 && l - 1 > 0);
    est = e[k][l];
    fp = fm[k][l];
    fa = fb;
    fb = f[k][l];
    k++;
    x += da;
    da = dx;
    krtn[l] = k;
  }
}


x86 assembly (clang, -O0):
<integ>:
push   %rbp
mov    %rsp,%rbp
sub    $0xa90,%rsp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
movsd  %xmm0,-0x20(%rbp)
movsd  %xmm1,-0x28(%rbp)
movsd  %xmm2,-0x30(%rbp)
movsd  %xmm3,-0x38(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xa08(%rbp)
ff
movsd  0xec6(%rip),%xmm0
movsd  %xmm0,-0xa10(%rbp)
ff
movsd  0xeb6(%rip),%xmm0
movsd  %xmm0,-0xa18(%rbp)
ff
movsd  0xea6(%rip),%xmm0
movsd  %xmm0,-0xa20(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xa28(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xa30(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xa38(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xa40(%rbp)
ff
movsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0xa48(%rbp)
ff
movsd  -0x30(%rbp),%xmm0
subsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0xa50(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xa58(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xa60(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xa68(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xa70(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xa78(%rbp)
ff
movq   $0x0,-0xa80(%rbp)
movq   $0x0,-0xa88(%rbp)
movsd  -0x28(%rbp),%xmm0
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
movsd  -0x20(%rbp),%xmm1
call   1030 <evlmem@plt>
movsd  %xmm0,-0xa30(%rbp)
ff
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
movsd  -0x20(%rbp),%xmm1
call   1030 <evlmem@plt>
movsd  %xmm0,-0xa38(%rbp)
ff
movsd  -0x28(%rbp),%xmm1
addsd  -0x30(%rbp),%xmm1
movsd  0xdae(%rip),%xmm0
mulsd  %xmm1,%xmm0
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
movsd  -0x20(%rbp),%xmm1
call   1030 <evlmem@plt>
movaps %xmm0,%xmm1
movsd  0xd85(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xa40(%rbp)
ff
movq   $0x1,-0xa88(%rbp)
mov    -0xa80(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0xa80(%rbp)
movsd  0xd8c(%rip),%xmm0
mulsd  -0xa10(%rbp),%xmm0
ff
movsd  %xmm0,-0xa10(%rbp)
ff
movsd  -0xa50(%rbp),%xmm0
ff
movsd  0xd64(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0xa58(%rbp)
ff
movsd  -0xa58(%rbp),%xmm0
ff
movsd  0xd40(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0xa60(%rbp)
ff
movsd  -0xa48(%rbp),%xmm1
ff
movsd  -0xa58(%rbp),%xmm0
ff
movsd  0xcfc(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
movsd  -0x20(%rbp),%xmm1
call   1030 <evlmem@plt>
movaps %xmm0,%xmm1
movsd  0xccf(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xa68(%rbp)
ff
movsd  -0xa48(%rbp),%xmm0
ff
addsd  -0xa58(%rbp),%xmm0
ff
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
movsd  -0x20(%rbp),%xmm1
call   1030 <evlmem@plt>
movsd  %xmm0,-0xa28(%rbp)
ff
movsd  -0xa40(%rbp),%xmm0
ff
mov    -0xa80(%rbp),%rax
movsd  %xmm0,-0x518(%rbp,%rax,8)
ff ff
movsd  -0xa48(%rbp),%xmm1
ff
movsd  -0xa58(%rbp),%xmm0
ff
addsd  %xmm0,%xmm0
addsd  %xmm1,%xmm0
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
movsd  -0x20(%rbp),%xmm1
call   1030 <evlmem@plt>
mov    -0xa80(%rbp),%rax
movsd  %xmm0,-0x228(%rbp,%rax,8)
ff ff
movsd  -0xa48(%rbp),%xmm1
ff
movsd  -0xa58(%rbp),%xmm0
ff
movsd  0xc4f(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
movsd  -0x20(%rbp),%xmm1
call   1030 <evlmem@plt>
movaps %xmm0,%xmm1
movsd  0xc0a(%rip),%xmm0
mulsd  %xmm1,%xmm0
mov    -0xa80(%rbp),%rax
movsd  %xmm0,-0x420(%rbp,%rax,8)
ff ff
movsd  -0xa38(%rbp),%xmm0
ff
mov    -0xa80(%rbp),%rax
movsd  %xmm0,-0x130(%rbp,%rax,8)
ff ff
movsd  -0xa60(%rbp),%xmm0
ff
movsd  -0xa30(%rbp),%xmm1
ff
addsd  -0xa68(%rbp),%xmm1
ff
addsd  -0xa28(%rbp),%xmm1
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xa70(%rbp)
ff
movsd  -0xa60(%rbp),%xmm0
ff
movsd  -0xa28(%rbp),%xmm1
ff
addsd  -0xa40(%rbp),%xmm1
ff
mov    -0xa80(%rbp),%rax
addsd  -0x228(%rbp,%rax,8),%xmm1
ff ff
mulsd  %xmm1,%xmm0
mov    -0xa80(%rbp),%rax
movsd  %xmm0,-0x808(%rbp,%rax,8)
ff ff
movsd  -0xa60(%rbp),%xmm0
ff
mov    -0xa80(%rbp),%rax
movsd  -0x228(%rbp,%rax,8),%xmm1
ff ff
mov    -0xa80(%rbp),%rax
addsd  -0x420(%rbp,%rax,8),%xmm1
ff ff
addsd  -0xa38(%rbp),%xmm1
ff
mulsd  %xmm1,%xmm0
mov    -0xa80(%rbp),%rax
movsd  %xmm0,-0x710(%rbp,%rax,8)
ff ff
movsd  -0xa70(%rbp),%xmm0
ff
mov    -0xa80(%rbp),%rax
addsd  -0x808(%rbp,%rax,8),%xmm0
ff ff
mov    -0xa80(%rbp),%rax
addsd  -0x710(%rbp,%rax,8),%xmm0
ff ff
movsd  %xmm0,-0xa78(%rbp)
ff
movsd  -0xa18(%rbp),%xmm0
ff
movsd  -0xa20(%rbp),%xmm1
ff
movaps 0xb3b(%rip),%xmm2
pand   %xmm2,%xmm1
subsd  %xmm1,%xmm0
movsd  -0xa70(%rbp),%xmm1
ff
movaps 0xb24(%rip),%xmm2
pand   %xmm2,%xmm1
addsd  %xmm1,%xmm0
mov    -0xa80(%rbp),%rax
movsd  -0x808(%rbp,%rax,8),%xmm1
ff ff
movaps 0xb05(%rip),%xmm2
pand   %xmm2,%xmm1
addsd  %xmm1,%xmm0
mov    -0xa80(%rbp),%rax
movsd  -0x710(%rbp,%rax,8),%xmm1
ff ff
movaps 0xae6(%rip),%xmm2
pand   %xmm2,%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa18(%rbp)
ff
movsd  -0xa20(%rbp),%xmm1
ff
movsd  0xa86(%rip),%xmm0
subsd  %xmm0,%xmm1
movaps 0xabb(%rip),%xmm0
pand   %xmm0,%xmm1
movsd  0xa77(%rip),%xmm0
ucomisd %xmm1,%xmm0
jbe    1609 <integ+0x4f9>
movsd  -0xa70(%rbp),%xmm0
ff
movsd  %xmm0,-0xa20(%rbp)
ff
movsd  -0xa68(%rbp),%xmm0
ff
movsd  %xmm0,-0xa40(%rbp)
ff
movsd  -0xa28(%rbp),%xmm0
ff
movsd  %xmm0,-0xa38(%rbp)
ff
movsd  -0xa58(%rbp),%xmm0
ff
movsd  %xmm0,-0xa50(%rbp)
ff
cvtsi2sdq -0xa88(%rbp),%xmm0
ff ff
mov    -0xa80(%rbp),%rax
movsd  %xmm0,-0xa00(%rbp,%rax,8)
ff ff
jmp    1287 <integ+0x177>
movsd  -0xa10(%rbp),%xmm1
ff
movsd  -0xa20(%rbp),%xmm0
ff
subsd  -0xa78(%rbp),%xmm0
ff
movaps 0xa28(%rip),%xmm2
pand   %xmm2,%xmm0
mulsd  %xmm0,%xmm1
movsd  -0x38(%rbp),%xmm0
mulsd  -0xa18(%rbp),%xmm0
ff
ucomisd %xmm1,%xmm0
jb     1816 <integ+0x706>
movsd  -0xa78(%rbp),%xmm0
ff
addsd  -0xa08(%rbp),%xmm0
ff
movsd  %xmm0,-0xa08(%rbp)
ff
mov    -0xa80(%rbp),%rax
add    $0xffffffffffffffff,%rax
mov    %rax,-0xa80(%rbp)
movsd  -0xa10(%rbp),%xmm0
ff
movsd  0x9b7(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0xa10(%rbp)
ff
mov    -0xa80(%rbp),%rax
cvttsd2si -0xa00(%rbp,%rax,8),%rax
f6 ff ff
mov    %rax,-0xa88(%rbp)
movsd  0x983(%rip),%xmm0
mulsd  -0xa58(%rbp),%xmm0
ff
movsd  %xmm0,-0xa58(%rbp)
ff
cmpq   $0x3,-0xa88(%rbp)
03
jne    16f2 <integ+0x5e2>
mov    -0xa80(%rbp),%rax
sub    $0x1,%rax
cmp    $0x0,%rax
jg     16f2 <integ+0x5e2>
movsd  -0xa08(%rbp),%xmm0
ff
movsd  %xmm0,-0x8(%rbp)
jmp    1a51 <integ+0x941>
jmp    16f7 <integ+0x5e7>
xor    %eax,%eax
cmpq   $0x3,-0xa88(%rbp)
mov    %al,-0xa89(%rbp)
jne    1725 <integ+0x615>
mov    -0xa80(%rbp),%rax
sub    $0x1,%rax
cmp    $0x0,%rax
setg   %al
mov    %al,-0xa89(%rbp)
mov    -0xa89(%rbp),%al
test   $0x1,%al
jne    165f <integ+0x54f>
lea    -0x900(%rbp),%rax
imul   $0xf8,-0xa88(%rbp),%rcx
add    %rcx,%rax
mov    -0xa80(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0xa20(%rbp)
ff
lea    -0x610(%rbp),%rax
imul   $0xf8,-0xa88(%rbp),%rcx
add    %rcx,%rax
mov    -0xa80(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0xa40(%rbp)
ff
movsd  -0xa38(%rbp),%xmm0
ff
movsd  %xmm0,-0xa30(%rbp)
ff
lea    -0x320(%rbp),%rax
imul   $0xf8,-0xa88(%rbp),%rcx
add    %rcx,%rax
mov    -0xa80(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0xa38(%rbp)
ff
mov    -0xa88(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0xa88(%rbp)
movsd  -0xa50(%rbp),%xmm0
ff
addsd  -0xa48(%rbp),%xmm0
ff
movsd  %xmm0,-0xa48(%rbp)
ff
movsd  -0xa58(%rbp),%xmm0
ff
movsd  %xmm0,-0xa50(%rbp)
ff
cvtsi2sdq -0xa88(%rbp),%xmm0
ff ff
mov    -0xa80(%rbp),%rax
movsd  %xmm0,-0xa00(%rbp,%rax,8)
ff ff
jmp    1287 <integ+0x177>
cmpq   $0x1e,-0xa80(%rbp)
1e
jge    1882 <integ+0x772>
movsd  -0xa70(%rbp),%xmm0
ff
movsd  %xmm0,-0xa20(%rbp)
ff
movsd  -0xa68(%rbp),%xmm0
ff
movsd  %xmm0,-0xa40(%rbp)
ff
movsd  -0xa28(%rbp),%xmm0
ff
movsd  %xmm0,-0xa38(%rbp)
ff
movsd  -0xa58(%rbp),%xmm0
ff
movsd  %xmm0,-0xa50(%rbp)
ff
cvtsi2sdq -0xa88(%rbp),%xmm0
ff ff
mov    -0xa80(%rbp),%rax
movsd  %xmm0,-0xa00(%rbp,%rax,8)
ff ff
jmp    1287 <integ+0x177>
movsd  0x7b6(%rip),%xmm0
addsd  -0xa08(%rbp),%xmm0
ff
movsd  %xmm0,-0xa08(%rbp)
ff
mov    -0xa80(%rbp),%rax
add    $0xffffffffffffffff,%rax
mov    %rax,-0xa80(%rbp)
movsd  -0xa10(%rbp),%xmm0
ff
movsd  0x77c(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0xa10(%rbp)
ff
mov    -0xa80(%rbp),%rax
cvttsd2si -0xa00(%rbp,%rax,8),%rax
f6 ff ff
mov    %rax,-0xa88(%rbp)
movsd  0x748(%rip),%xmm0
mulsd  -0xa58(%rbp),%xmm0
ff
movsd  %xmm0,-0xa58(%rbp)
ff
cmpq   $0x3,-0xa88(%rbp)
03
jne    192d <integ+0x81d>
mov    -0xa80(%rbp),%rax
sub    $0x1,%rax
cmp    $0x0,%rax
jg     192d <integ+0x81d>
movsd  -0xa08(%rbp),%xmm0
ff
movsd  %xmm0,-0x8(%rbp)
jmp    1a51 <integ+0x941>
jmp    1932 <integ+0x822>
xor    %eax,%eax
cmpq   $0x3,-0xa88(%rbp)
03
mov    %al,-0xa8a(%rbp)
jne    1960 <integ+0x850>
mov    -0xa80(%rbp),%rax
sub    $0x1,%rax
cmp    $0x0,%rax
setg   %al
mov    %al,-0xa8a(%rbp)
mov    -0xa8a(%rbp),%al
test   $0x1,%al
jne    189a <integ+0x78a>
lea    -0x900(%rbp),%rax
imul   $0xf8,-0xa88(%rbp),%rcx
add    %rcx,%rax
mov    -0xa80(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0xa20(%rbp)
ff
lea    -0x610(%rbp),%rax
imul   $0xf8,-0xa88(%rbp),%rcx
add    %rcx,%rax
mov    -0xa80(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0xa40(%rbp)
ff
movsd  -0xa38(%rbp),%xmm0
ff
movsd  %xmm0,-0xa30(%rbp)
ff
lea    -0x320(%rbp),%rax
imul   $0xf8,-0xa88(%rbp),%rcx
add    %rcx,%rax
mov    -0xa80(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0xa38(%rbp)
ff
mov    -0xa88(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0xa88(%rbp)
movsd  -0xa50(%rbp),%xmm0
ff
addsd  -0xa48(%rbp),%xmm0
ff
movsd  %xmm0,-0xa48(%rbp)
ff
movsd  -0xa58(%rbp),%xmm0
ff
movsd  %xmm0,-0xa50(%rbp)
ff
cvtsi2sdq -0xa88(%rbp),%xmm0
ff ff
mov    -0xa80(%rbp),%rax
movsd  %xmm0,-0xa00(%rbp,%rax,8)
ff ff
jmp    1287 <integ+0x177>
movsd  -0x8(%rbp),%xmm0
add    $0xa90,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<integ>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xa68,%rsp
movsd  %xmm3,0x40(%rsp)
movsd  %xmm2,0x8(%rsp)
movapd %xmm0,%xmm3
movsd  %xmm0,0x18(%rsp)
mov    %rsi,%r14
mov    %rdi,%rbx
movapd %xmm2,%xmm0
movsd  %xmm1,0x10(%rsp)
subsd  %xmm1,%xmm0
movsd  %xmm0,0x28(%rsp)
movapd %xmm1,%xmm0
movapd %xmm3,%xmm1
call   1030 <evlmem@plt>
movsd  %xmm0,0x38(%rsp)
movsd  0x8(%rsp),%xmm0
mov    %rbx,%rdi
mov    %r14,%rsi
movsd  0x18(%rsp),%xmm1
call   1030 <evlmem@plt>
movsd  %xmm0,0x30(%rsp)
movsd  0x8(%rsp),%xmm0
addsd  0x10(%rsp),%xmm0
mulsd  0xe6b(%rip),%xmm0
mov    %rbx,%rdi
mov    %r14,%rsi
movsd  0x18(%rsp),%xmm1
call   1030 <evlmem@plt>
movapd %xmm0,%xmm8
mulsd  0xe54(%rip),%xmm8
lea    0x788(%rsp),%rax
lea    0x498(%rsp),%rcx
movsd  0xe44(%rip),%xmm2
xorpd  %xmm0,%xmm0
movsd  %xmm0,0x20(%rsp)
lea    0x1a8(%rsp),%rdx
xor    %r12d,%r12d
movapd %xmm2,%xmm9
movapd %xmm2,%xmm7
movsd  0x28(%rsp),%xmm4
movapd %xmm7,0x70(%rsp)
movapd %xmm9,0x80(%rsp)
lea    (%rax,%r12,8),%r15
lea    (%rcx,%r12,8),%rbp
lea    (%rdx,%r12,8),%r13
jmp    1255 <integ+0x145>
xchg   %ax,%ax
movapd %xmm9,0x80(%rsp)
movabs $0x3ff0000000000000,%rax
mov    %rax,0xa8(%rsp,%r12,8)
add    $0x1,%r12
add    $0x8,%r15
add    $0x8,%rbp
add    $0x8,%r13
movapd %xmm1,0x70(%rsp)
movsd  %xmm10,0x30(%rsp)
movsd  0x8(%rsp),%xmm4
movsd  %xmm4,0x28(%rsp)
movapd %xmm8,0x90(%rsp)
mulsd  0xdb1(%rip),%xmm2
movsd  %xmm2,0x68(%rsp)
divsd  0xdab(%rip),%xmm4
movsd  %xmm4,0x8(%rsp)
movapd %xmm4,%xmm0
divsd  0xda1(%rip),%xmm0
movsd  %xmm0,0x60(%rsp)
movapd %xmm4,%xmm0
mulsd  0xd67(%rip),%xmm0
addsd  0x10(%rsp),%xmm0
mov    %rbx,%rdi
mov    %r14,%rsi
movsd  0x18(%rsp),%xmm1
call   1030 <evlmem@plt>
movapd %xmm0,%xmm1
movsd  0xd4c(%rip),%xmm0
mulsd  %xmm0,%xmm1
movsd  %xmm1,0x58(%rsp)
movsd  0x10(%rsp),%xmm0
addsd  0x8(%rsp),%xmm0
mov    %rbx,%rdi
mov    %r14,%rsi
movsd  0x18(%rsp),%xmm1
call   1030 <evlmem@plt>
movsd  %xmm0,0x48(%rsp)
movaps 0x90(%rsp),%xmm0
movsd  %xmm0,0x590(%rsp,%r12,8)
movsd  0x8(%rsp),%xmm0
addsd  %xmm0,%xmm0
addsd  0x10(%rsp),%xmm0
mov    %rbx,%rdi
mov    %r14,%rsi
movsd  0x18(%rsp),%xmm1
call   1030 <evlmem@plt>
movsd  %xmm0,0x50(%rsp)
movsd  %xmm0,0x880(%rsp,%r12,8)
movsd  0x8(%rsp),%xmm0
mulsd  0xcf6(%rip),%xmm0
addsd  0x10(%rsp),%xmm0
mov    %rbx,%rdi
mov    %r14,%rsi
movsd  0x18(%rsp),%xmm1
call   1030 <evlmem@plt>
movsd  0x48(%rsp),%xmm10
movapd 0x90(%rsp),%xmm7
movsd  0x58(%rsp),%xmm8
mulsd  0xc98(%rip),%xmm0
movsd  %xmm0,0x688(%rsp,%r12,8)
movsd  0x30(%rsp),%xmm5
movsd  %xmm5,0x978(%rsp,%r12,8)
movsd  0x38(%rsp),%xmm1
addsd  %xmm8,%xmm1
addsd  %xmm10,%xmm1
movsd  0x60(%rsp),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm10,%xmm7
movsd  0x50(%rsp),%xmm3
addsd  %xmm3,%xmm7
mulsd  %xmm2,%xmm7
movsd  %xmm7,0x2a0(%rsp,%r12,8)
addsd  %xmm3,%xmm0
addsd  %xmm5,%xmm0
mulsd  %xmm2,%xmm0
movsd  %xmm0,0x398(%rsp,%r12,8)
movapd 0x70(%rsp),%xmm4
movapd %xmm4,%xmm2
movapd 0xc67(%rip),%xmm6
andpd  %xmm6,%xmm2
movapd 0x80(%rsp),%xmm3
subsd  %xmm2,%xmm3
movapd %xmm1,%xmm2
andpd  %xmm6,%xmm2
addsd  %xmm3,%xmm2
movapd %xmm7,%xmm3
andpd  %xmm6,%xmm3
addsd  %xmm2,%xmm3
movapd %xmm0,%xmm9
andpd  %xmm6,%xmm9
addsd  %xmm3,%xmm9
movapd %xmm4,%xmm2
addsd  0xc0b(%rip),%xmm2
andpd  %xmm6,%xmm2
movsd  0xc07(%rip),%xmm3
ucomisd %xmm2,%xmm3
movsd  0x68(%rsp),%xmm2
ja     1210 <integ+0x100>
movapd %xmm5,%xmm3
addsd  %xmm1,%xmm7
addsd  %xmm0,%xmm7
subsd  %xmm7,%xmm4
andpd  0xbef(%rip),%xmm4
mulsd  %xmm2,%xmm4
movapd %xmm9,%xmm0
mulsd  0x40(%rsp),%xmm0
ucomisd %xmm4,%xmm0
jae    14f0 <integ+0x3e0>
cmp    $0x1d,%r12
jl     1210 <integ+0x100>
movsd  0x20(%rsp),%xmm0
addsd  0xbba(%rip),%xmm0
add    $0x1,%r12
mov    %r12,%rcx
movsd  0x8(%rsp),%xmm4
nopl   0x0(%rax,%rax,1)
cvttsd2si 0x98(%rsp,%rcx,8),%rax
divsd  0xb66(%rip),%xmm2
mulsd  0xb66(%rip),%xmm4
cmp    $0x3,%rax
jne    14ca <integ+0x3ba>
cmp    $0x3,%rcx
jb     15d4 <integ+0x4c4>
add    $0xfffffffffffffff8,%r15
add    $0xfffffffffffffff8,%rbp
add    $0xfffffffffffffff8,%r13
lea    -0x1(%rcx),%r12
cmp    $0x3,%rax
jne    1559 <integ+0x449>
cmp    $0x2,%rcx
mov    %r12,%rcx
ja     14a0 <integ+0x390>
jmp    1559 <integ+0x449>
nopl   0x0(%rax,%rax,1)
movsd  0x20(%rsp),%xmm0
addsd  %xmm7,%xmm0
add    $0x1,%r12
mov    %r12,%rcx
movsd  0x8(%rsp),%xmm4
nopw   0x0(%rax,%rax,1)
cvttsd2si 0x98(%rsp,%rcx,8),%rax
divsd  0xaf6(%rip),%xmm2
mulsd  0xaf6(%rip),%xmm4
cmp    $0x3,%rax
jne    153a <integ+0x42a>
cmp    $0x3,%rcx
jl     15d4 <integ+0x4c4>
add    $0xfffffffffffffff8,%r15
add    $0xfffffffffffffff8,%rbp
add    $0xfffffffffffffff8,%r13
lea    -0x1(%rcx),%r12
cmp    $0x3,%rax
jne    1559 <integ+0x449>
cmp    $0x2,%rcx
mov    %r12,%rcx
jg     1510 <integ+0x400>
movsd  %xmm0,0x20(%rsp)
imul   $0xf8,%rax,%rcx
add    %rcx,%r13
add    %rcx,%rbp
add    %rcx,%r15
movsd  0x0(%rbp),%xmm8
movsd  0x0(%r13),%xmm7
movsd  %xmm3,0x38(%rsp)
movsd  (%r15),%xmm0
add    $0x1,%rax
cvtsi2sd %rax,%xmm1
movsd  %xmm1,0xa0(%rsp,%r12,8)
movsd  0x10(%rsp),%xmm1
addsd  0x28(%rsp),%xmm1
movsd  %xmm1,0x10(%rsp)
movsd  %xmm0,0x30(%rsp)
movsd  %xmm4,0x28(%rsp)
lea    0x788(%rsp),%rax
lea    0x498(%rsp),%rcx
lea    0x1a8(%rsp),%rdx
jmp    11f0 <integ+0xe0>
add    $0xa68,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
define double @integ(double* %0, i64 %1, double %2, double %3, double %4, double %5) {
%7 = alloca [3 x [31 x double]]
%8 = alloca [3 x [31 x double]]
%9 = alloca [3 x [31 x double]]
%10 = alloca [31 x double]
%11 = bitcast [3 x [31 x double]]* %7 to i8*
%12 = bitcast [3 x [31 x double]]* %8 to i8*
%13 = bitcast [3 x [31 x double]]* %9 to i8*
%14 = bitcast [31 x double]* %10 to i8*
%15 = fsub double %4, %3
%16 = tail call double @evlmem(double %3, double* %0, i64 %1, double %2)
%17 = tail call double @evlmem(double %4, double* %0, i64 %1, double %2)
%18 = fadd double %3, %4
%19 = fmul double %18, 5.000000e-01
%20 = tail call double @evlmem(double %19, double* %0, i64 %1, double %2)
%21 = fmul double %20, 4.000000e+00
br label %22
22: ; preds = %113, %6
%23 = phi double [ 0.000000e+00, %6 ], [ %117, %113 ]
%24 = phi double [ 1.000000e+00, %6 ], [ %118, %113 ]
%25 = phi double [ 1.000000e+00, %6 ], [ %79, %113 ]
%26 = phi double [ 1.000000e+00, %6 ], [ %123, %113 ]
%27 = phi double [ %16, %6 ], [ %37, %113 ]
%28 = phi double [ %17, %6 ], [ %125, %113 ]
%29 = phi double [ %21, %6 ], [ %122, %113 ]
%30 = phi double [ %3, %6 ], [ %128, %113 ]
%31 = phi double [ %15, %6 ], [ %121, %113 ]
%32 = phi i64 [ 0, %6 ], [ %116, %113 ]
br label %33
33: ; preds = %83, %22
%34 = phi double [ %24, %22 ], [ %42, %83 ]
%35 = phi double [ %25, %22 ], [ %79, %83 ]
%36 = phi double [ %26, %22 ], [ %61, %83 ]
%37 = phi double [ %28, %22 ], [ %49, %83 ]
%38 = phi double [ %29, %22 ], [ %47, %83 ]
%39 = phi double [ %31, %22 ], [ %43, %83 ]
%40 = phi i64 [ %32, %22 ], [ %41, %83 ]
%41 = add nsw i64 %40, 1
%42 = fmul double %34, 1.700000e+00
%43 = fdiv double %39, 3.000000e+00
%44 = fdiv double %43, 6.000000e+00
%45 = tail call double @llvm.fmuladd.f64(double %43, double 5.000000e-01, double %30)
%46 = tail call double @evlmem(double %45, double* %0, i64 %1, double %2)
%47 = fmul double %46, 4.000000e+00
%48 = fadd double %30, %43
%49 = tail call double @evlmem(double %48, double* %0, i64 %1, double %2)
%50 = getelementptr inbounds [3 x [31 x double]], [3 x [31 x double]]* %8, i64 0, i64 1, i64 %41
store double %38, double* %50
%51 = tail call double @llvm.fmuladd.f64(double %43, double 2.000000e+00, double %30)
%52 = tail call double @evlmem(double %51, double* %0, i64 %1, double %2)
%53 = getelementptr inbounds [3 x [31 x double]], [3 x [31 x double]]* %7, i64 0, i64 1, i64 %41
store double %52, double* %53
%54 = tail call double @llvm.fmuladd.f64(double %43, double 2.500000e+00, double %30)
%55 = tail call double @evlmem(double %54, double* %0, i64 %1, double %2)
%56 = fmul double %55, 4.000000e+00
%57 = getelementptr inbounds [3 x [31 x double]], [3 x [31 x double]]* %8, i64 0, i64 2, i64 %41
store double %56, double* %57
%58 = getelementptr inbounds [3 x [31 x double]], [3 x [31 x double]]* %7, i64 0, i64 2, i64 %41
store double %37, double* %58
%59 = fadd double %27, %47
%60 = fadd double %49, %59
%61 = fmul double %44, %60
%62 = fadd double %38, %49
%63 = fadd double %62, %52
%64 = fmul double %44, %63
%65 = getelementptr inbounds [3 x [31 x double]], [3 x [31 x double]]* %9, i64 0, i64 1, i64 %41
store double %64, double* %65
%66 = fadd double %52, %56
%67 = fadd double %37, %66
%68 = fmul double %44, %67
%69 = getelementptr inbounds [3 x [31 x double]], [3 x [31 x double]]* %9, i64 0, i64 2, i64 %41
store double %68, double* %69
%70 = fadd double %61, %64
%71 = fadd double %70, %68
%72 = tail call double @llvm.fabs.f64(double %36)
%73 = fsub double %35, %72
%74 = tail call double @llvm.fabs.f64(double %61)
%75 = fadd double %73, %74
%76 = tail call double @llvm.fabs.f64(double %64)
%77 = fadd double %75, %76
%78 = tail call double @llvm.fabs.f64(double %68)
%79 = fadd double %77, %78
%80 = fadd double %36, -1.000000e+00
%81 = tail call double @llvm.fabs.f64(double %80)
%82 = fcmp olt double %81, 0x3EB0C6F7A0B5ED8D
br i1 %82, label %83, label %85
83: ; preds = %33, %129
%84 = getelementptr inbounds [31 x double], [31 x double]* %10, i64 0, i64 %41
store double 1.000000e+00, double* %84
br label %33
85: ; preds = %33
%86 = fsub double %36, %71
%87 = tail call double @llvm.fabs.f64(double %86)
%88 = fmul double %42, %87
%89 = fmul double %79, %5
%90 = fcmp ugt double %88, %89
br i1 %90, label %129, label %91
91: ; preds = %85
%92 = fadd double %23, %71
br label %93
93: ; preds = %106, %91
%94 = phi double [ %42, %91 ], [ %98, %106 ]
%95 = phi double [ %43, %91 ], [ %102, %106 ]
%96 = phi i64 [ %41, %91 ], [ %97, %106 ]
%97 = add nsw i64 %96, -1
%98 = fdiv double %94, 1.700000e+00
%99 = getelementptr inbounds [31 x double], [31 x double]* %10, i64 0, i64 %97
%100 = load double, double* %99
%101 = fptosi double %100 to i64
%102 = fmul double %95, 3.000000e+00
%103 = icmp eq i64 %101, 3
%104 = icmp slt i64 %96, 3
%105 = select i1 %103, i1 %104, i1 false
br i1 %105, label %153, label %106
106: ; preds = %93
%107 = icmp sgt i64 %96, 2
%108 = select i1 %103, i1 %107, i1 false
br i1 %108, label %93, label %109
109: ; preds = %106
%110 = getelementptr inbounds [3 x [31 x double]], [3 x [31 x double]]* %9, i64 0, i64 %101, i64 %97
%111 = getelementptr inbounds [3 x [31 x double]], [3 x [31 x double]]* %8, i64 0, i64 %101, i64 %97
%112 = getelementptr inbounds [3 x [31 x double]], [3 x [31 x double]]* %7, i64 0, i64 %101, i64 %97
br label %113
113: ; preds = %109, %149
%114 = phi double* [ %112, %109 ], [ %152, %149 ]
%115 = phi i64 [ %101, %109 ], [ %141, %149 ]
%116 = phi i64 [ %97, %109 ], [ %137, %149 ]
%117 = phi double [ %92, %109 ], [ %132, %149 ]
%118 = phi double [ %98, %109 ], [ %138, %149 ]
%119 = phi double* [ %110, %109 ], [ %150, %149 ]
%120 = phi double* [ %111, %109 ], [ %151, %149 ]
%121 = phi double [ %102, %109 ], [ %142, %149 ]
%122 = load double, double* %120
%123 = load double, double* %119
%124 = getelementptr inbounds [31 x double], [31 x double]* %10, i64 0, i64 %116
%125 = load double, double* %114
%126 = add nsw i64 %115, 1
%127 = sitofp i64 %126 to double
store double %127, double* %124
%128 = fadd double %30, %39
br label %22
129: ; preds = %85
%130 = icmp slt i64 %40, 29
br i1 %130, label %83, label %131
131: ; preds = %129
%132 = fadd double %23, 5.000000e+00
br label %133
133: ; preds = %146, %131
%134 = phi double [ %42, %131 ], [ %138, %146 ]
%135 = phi double [ %43, %131 ], [ %142, %146 ]
%136 = phi i64 [ %41, %131 ], [ %137, %146 ]
%137 = add nsw i64 %136, -1
%138 = fdiv double %134, 1.700000e+00
%139 = getelementptr inbounds [31 x double], [31 x double]* %10, i64 0, i64 %137
%140 = load double, double* %139
%141 = fptosi double %140 to i64
%142 = fmul double %135, 3.000000e+00
%143 = icmp eq i64 %141, 3
%144 = icmp ult i64 %136, 3
%145 = select i1 %143, i1 %144, i1 false
br i1 %145, label %153, label %146
146: ; preds = %133
%147 = icmp ugt i64 %136, 2
%148 = select i1 %143, i1 %147, i1 false
br i1 %148, label %133, label %149
149: ; preds = %146
%150 = getelementptr inbounds [3 x [31 x double]], [3 x [31 x double]]* %9, i64 0, i64 %141, i64 %137
%151 = getelementptr inbounds [3 x [31 x double]], [3 x [31 x double]]* %8, i64 0, i64 %141, i64 %137
%152 = getelementptr inbounds [3 x [31 x double]], [3 x [31 x double]]* %7, i64 0, i64 %141, i64 %137
br label %113
153: ; preds = %93, %133
%154 = phi double [ %132, %133 ], [ %92, %93 ]
ret double %154
}