#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 pow(double const, double const);
int dispoly(int inverse, const int iparm[], const double dparm[], int Nhat,
            const double rawcrd[], double *discrd) {
  const int *iflgp, *imaxp, *imaxpow, *ipowp;
  int ip, ivar, jhat, k, m;
  const double *cptr, *dpolp, *pptr;
  double *aux, auxp0, *dvarpow, *dpowp, term, var;
  for (jhat = 0; jhat < Nhat; jhat++) {
    if (rawcrd[jhat] == 0.0) {
      *discrd = 0.0;
      return 0;
    }
  }
  aux = (double *)(dparm + iparm[13]);
  for (k = 0; k < iparm[6]; k++) {
    cptr = dparm + k * iparm[8];
    pptr = cptr + (1 + Nhat);
    aux[k] = *(cptr++);
    auxp0 = *(pptr++);
    for (jhat = 0; jhat < Nhat; jhat++) {
      aux[k] += *(cptr++) * pow(rawcrd[jhat], *(pptr++));
    }
    aux[k] = pow(aux[k], auxp0);
    if (aux[k] == 0.0) {
      *discrd = 0.0;
      return 0;
    }
  }
  imaxpow = iparm + iparm[15];
  dvarpow = (double *)(dparm + iparm[14]);
  imaxp = imaxpow;
  dpowp = dvarpow;
  for (jhat = 0; jhat < Nhat; jhat++, imaxp++) {
    var = 1.0;
    for (ip = 0; ip < *imaxp; ip++, dpowp++) {
      var *= rawcrd[jhat];
      *dpowp = var;
    }
  }
  for (k = 0; k < iparm[6]; k++, imaxp++) {
    var = 1.0;
    for (ip = 0; ip < *imaxp; ip++, dpowp++) {
      var *= aux[k];
      *dpowp = var;
    }
  }
  *discrd = 0.0;
  iflgp = iparm + iparm[17];
  ipowp = iparm + iparm[18];
  dpolp = dparm + iparm[12];
  for (m = 0; m < iparm[7]; m++) {
    term = *(dpolp++);
    imaxp = imaxpow;
    dpowp = dvarpow - 1;
    for (ivar = 0; ivar < iparm[10]; ivar++) {
      if (*iflgp & 2) {
      } else if (*iflgp) {
        if (*ipowp < 0) {
          term /= dpowp[*ipowp];
        } else {
          term *= dpowp[*ipowp];
        }
      } else {
        term *= pow(dpowp[0], *dpolp);
      }
      iflgp++;
      ipowp++;
      dpolp++;
      dpowp += *imaxp;
      imaxp++;
    }
    *discrd += term;
  }
  return 0;
}


x86 assembly (clang, -O0):
<dispoly>:
push   %rbp
mov    %rsp,%rbp
sub    $0xc0,%rsp
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %ecx,-0x1c(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
movl   $0x0,-0x5c(%rbp)
mov    -0x5c(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    118e <dispoly+0x7e>
mov    -0x28(%rbp),%rax
movslq -0x5c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    117b <dispoly+0x6b>
jp     117b <dispoly+0x6b>
mov    -0x30(%rbp),%rax
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax)
movl   $0x0,-0x4(%rbp)
jmp    16bd <dispoly+0x5ad>
jmp    1180 <dispoly+0x70>
mov    -0x5c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x5c(%rbp)
jmp    1138 <dispoly+0x28>
mov    -0x18(%rbp),%rax
mov    -0x10(%rbp),%rcx
movslq 0x34(%rcx),%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x88(%rbp)
movl   $0x0,-0x60(%rbp)
mov    -0x60(%rbp),%eax
mov    -0x10(%rbp),%rcx
cmp    0x18(%rcx),%eax
jge    1335 <dispoly+0x225>
mov    -0x18(%rbp),%rax
mov    -0x60(%rbp),%ecx
mov    -0x10(%rbp),%rdx
imul   0x20(%rdx),%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x70(%rbp)
mov    -0x70(%rbp),%rax
mov    -0x1c(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x80(%rbp)
mov    -0x70(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x70(%rbp)
movsd  (%rax),%xmm0
mov    -0x88(%rbp),%rax
movslq -0x60(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x80(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x80(%rbp)
movsd  (%rax),%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movl   $0x0,-0x5c(%rbp)
mov    -0x5c(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    12bb <dispoly+0x1ab>
mov    -0x70(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x70(%rbp)
movsd  (%rax),%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
mov    -0x28(%rbp),%rax
movslq -0x5c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x80(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x80(%rbp)
movsd  (%rax),%xmm1
call   1030 <pow@plt>
movaps %xmm0,%xmm2
movsd  -0xb8(%rbp),%xmm0
ff
mov    -0x88(%rbp),%rax
movslq -0x60(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x5c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x5c(%rbp)
jmp    1239 <dispoly+0x129>
mov    -0x88(%rbp),%rax
movslq -0x60(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  -0x90(%rbp),%xmm1
ff
call   1030 <pow@plt>
mov    -0x88(%rbp),%rax
movslq -0x60(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x88(%rbp),%rax
movslq -0x60(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    1322 <dispoly+0x212>
jp     1322 <dispoly+0x212>
mov    -0x30(%rbp),%rax
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax)
movl   $0x0,-0x4(%rbp)
jmp    16bd <dispoly+0x5ad>
jmp    1327 <dispoly+0x217>
mov    -0x60(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x60(%rbp)
jmp    11af <dispoly+0x9f>
mov    -0x10(%rbp),%rax
mov    -0x10(%rbp),%rcx
movslq 0x3c(%rcx),%rcx
shl    $0x2,%rcx
add    %rcx,%rax
mov    %rax,-0x48(%rbp)
mov    -0x18(%rbp),%rax
mov    -0x10(%rbp),%rcx
movslq 0x38(%rcx),%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x98(%rbp)
mov    -0x48(%rbp),%rax
mov    %rax,-0x40(%rbp)
mov    -0x98(%rbp),%rax
mov    %rax,-0xa0(%rbp)
movl   $0x0,-0x5c(%rbp)
mov    -0x5c(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    1424 <dispoly+0x314>
movsd  0xc69(%rip),%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
movl   $0x0,-0x54(%rbp)
mov    -0x54(%rbp),%eax
mov    -0x40(%rbp),%rcx
cmp    (%rcx),%eax
jge    1405 <dispoly+0x2f5>
mov    -0x28(%rbp),%rax
movslq -0x5c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mulsd  -0xb0(%rbp),%xmm0
ff
movsd  %xmm0,-0xb0(%rbp)
ff
movsd  -0xb0(%rbp),%xmm0
ff
mov    -0xa0(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x54(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
mov    -0xa0(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0xa0(%rbp)
jmp    13a6 <dispoly+0x296>
jmp    140a <dispoly+0x2fa>
mov    -0x5c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x5c(%rbp)
mov    -0x40(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x40(%rbp)
jmp    1383 <dispoly+0x273>
movl   $0x0,-0x60(%rbp)
mov    -0x60(%rbp),%eax
mov    -0x10(%rbp),%rcx
cmp    0x18(%rcx),%eax
jge    14d3 <dispoly+0x3c3>
movsd  0xbbd(%rip),%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
movl   $0x0,-0x54(%rbp)
mov    -0x54(%rbp),%eax
mov    -0x40(%rbp),%rcx
cmp    (%rcx),%eax
jge    14b4 <dispoly+0x3a4>
mov    -0x88(%rbp),%rax
movslq -0x60(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mulsd  -0xb0(%rbp),%xmm0
ff
movsd  %xmm0,-0xb0(%rbp)
ff
movsd  -0xb0(%rbp),%xmm0
ff
mov    -0xa0(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x54(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
mov    -0xa0(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0xa0(%rbp)
jmp    1452 <dispoly+0x342>
jmp    14b9 <dispoly+0x3a9>
mov    -0x60(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x60(%rbp)
mov    -0x40(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x40(%rbp)
jmp    142b <dispoly+0x31b>
mov    -0x30(%rbp),%rax
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax)
mov    -0x10(%rbp),%rax
mov    -0x10(%rbp),%rcx
movslq 0x44(%rcx),%rcx
shl    $0x2,%rcx
add    %rcx,%rax
mov    %rax,-0x38(%rbp)
mov    -0x10(%rbp),%rax
mov    -0x10(%rbp),%rcx
movslq 0x48(%rcx),%rcx
shl    $0x2,%rcx
add    %rcx,%rax
mov    %rax,-0x50(%rbp)
mov    -0x18(%rbp),%rax
mov    -0x10(%rbp),%rcx
movslq 0x30(%rcx),%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x78(%rbp)
movl   $0x0,-0x64(%rbp)
mov    -0x64(%rbp),%eax
mov    -0x10(%rbp),%rcx
cmp    0x1c(%rcx),%eax
jge    16b6 <dispoly+0x5a6>
mov    -0x78(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x78(%rbp)
movsd  (%rax),%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
mov    -0x48(%rbp),%rax
mov    %rax,-0x40(%rbp)
mov    -0x98(%rbp),%rax
add    $0xfffffffffffffff8,%rax
mov    %rax,-0xa0(%rbp)
movl   $0x0,-0x58(%rbp)
mov    -0x58(%rbp),%eax
mov    -0x10(%rbp),%rcx
cmp    0x28(%rcx),%eax
jge    1694 <dispoly+0x584>
mov    -0x38(%rbp),%rax
mov    (%rax),%eax
and    $0x2,%eax
cmp    $0x0,%eax
je     159d <dispoly+0x48d>
jmp    1638 <dispoly+0x528>
mov    -0x38(%rbp),%rax
cmpl   $0x0,(%rax)
je     160b <dispoly+0x4fb>
mov    -0x50(%rbp),%rax
cmpl   $0x0,(%rax)
jge    15e3 <dispoly+0x4d3>
mov    -0xa0(%rbp),%rax
mov    -0x50(%rbp),%rcx
movslq (%rcx),%rcx
movsd  (%rax,%rcx,8),%xmm1
movsd  -0xa8(%rbp),%xmm0
ff
divsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
jmp    1606 <dispoly+0x4f6>
mov    -0xa0(%rbp),%rax
mov    -0x50(%rbp),%rcx
movslq (%rcx),%rcx
movsd  (%rax,%rcx,8),%xmm0
mulsd  -0xa8(%rbp),%xmm0
ff
movsd  %xmm0,-0xa8(%rbp)
ff
jmp    1633 <dispoly+0x523>
mov    -0xa0(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x78(%rbp),%rax
movsd  (%rax),%xmm1
call   1030 <pow@plt>
mulsd  -0xa8(%rbp),%xmm0
ff
movsd  %xmm0,-0xa8(%rbp)
ff
jmp    1638 <dispoly+0x528>
mov    -0x38(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x38(%rbp)
mov    -0x50(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x50(%rbp)
mov    -0x78(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x78(%rbp)
mov    -0x40(%rbp),%rax
mov    (%rax),%ecx
mov    -0xa0(%rbp),%rax
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0xa0(%rbp)
mov    -0x40(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x40(%rbp)
mov    -0x58(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x58(%rbp)
jmp    1576 <dispoly+0x466>
movsd  -0xa8(%rbp),%xmm0
ff
mov    -0x30(%rbp),%rax
addsd  (%rax),%xmm0
movsd  %xmm0,(%rax)
mov    -0x64(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x64(%rbp)
jmp    152a <dispoly+0x41a>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0xc0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<dispoly>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x58,%rsp
mov    %r9,0x28(%rsp)
mov    %rdx,%r14
mov    %ecx,%r15d
mov    %rcx,0x18(%rsp)
test   %ecx,%ecx
jle    115b <dispoly+0x4b>
xor    %eax,%eax
xorpd  %xmm0,%xmm0
nopl   0x0(%rax,%rax,1)
movsd  (%r8,%rax,8),%xmm1
ucomisd %xmm0,%xmm1
jne    1152 <dispoly+0x42>
jnp    1408 <dispoly+0x2f8>
add    $0x1,%rax
cmp    %rax,%r15
jne    1140 <dispoly+0x30>
movslq 0x34(%rsi),%rax
lea    (%r14,%rax,8),%r11
mov    0x18(%rsi),%r10d
test   %r10d,%r10d
mov    %rsi,0x48(%rsp)
jle    1339 <dispoly+0x229>
mov    0x18(%rsp),%rax
add    $0x1,%eax
cltq
mov    %rax,0x10(%rsp)
mov    %r15d,%eax
and    $0xfffffffe,%eax
mov    %rax,0x30(%rsp)
xor    %r12d,%r12d
mov    %r14,0x50(%rsp)
mov    %r8,0x20(%rsp)
mov    %r15,0x40(%rsp)
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movslq 0x20(%rsi),%rax
movslq %r12d,%rcx
imul   %rax,%rcx
lea    (%r14,%rcx,8),%rbx
movsd  (%r14,%rcx,8),%xmm0
movsd  %xmm0,(%r11,%r12,8)
mov    0x10(%rsp),%rax
movsd  (%rbx,%rax,8),%xmm1
cmpl   $0x0,0x18(%rsp)
mov    %r11,%rbp
jle    12fa <dispoly+0x1ea>
mov    0x10(%rsp),%rax
lea    (%rbx,%rax,8),%r13
cmpl   $0x1,0x18(%rsp)
movsd  %xmm1,0x38(%rsp)
jne    1210 <dispoly+0x100>
xor    %r15d,%r15d
jmp    12ad <dispoly+0x19d>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
xor    %r15d,%r15d
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movsd  0x8(%rbx),%xmm0
movsd  %xmm0,0x8(%rsp)
lea    0x0(,%r15,8),%r14
mov    0x20(%rsp),%rax
movsd  (%rax,%r15,8),%xmm0
movsd  0x8(%r13),%xmm1
call   1030 <pow@plt>
mulsd  0x8(%rsp),%xmm0
addsd  0x0(%rbp,%r12,8),%xmm0
movsd  %xmm0,0x0(%rbp,%r12,8)
movsd  0x10(%rbx),%xmm0
movsd  %xmm0,0x8(%rsp)
add    $0x10,%rbx
or     $0x8,%r14
mov    0x20(%rsp),%rax
movsd  (%rax,%r14,1),%xmm0
movsd  0x10(%r13),%xmm1
add    $0x10,%r13
call   1030 <pow@plt>
mulsd  0x8(%rsp),%xmm0
addsd  0x0(%rbp,%r12,8),%xmm0
movsd  %xmm0,0x0(%rbp,%r12,8)
add    $0x2,%r15
cmp    0x30(%rsp),%r15
jne    1220 <dispoly+0x110>
testb  $0x1,0x40(%rsp)
mov    0x50(%rsp),%r14
movsd  0x38(%rsp),%xmm1
je     12fa <dispoly+0x1ea>
movsd  0x8(%rbx),%xmm0
movsd  %xmm0,0x8(%rsp)
mov    0x20(%rsp),%rax
movsd  (%rax,%r15,8),%xmm0
movsd  0x8(%r13),%xmm1
call   1030 <pow@plt>
movsd  0x38(%rsp),%xmm1
mulsd  0x8(%rsp),%xmm0
addsd  0x0(%rbp,%r12,8),%xmm0
movsd  %xmm0,0x0(%rbp,%r12,8)
call   1030 <pow@plt>
movsd  %xmm0,0x0(%rbp,%r12,8)
ucomisd 0xcfa(%rip),%xmm0
mov    0x48(%rsp),%rsi
mov    0x20(%rsp),%r8
mov    0x40(%rsp),%r15
jne    1325 <dispoly+0x215>
jnp    1408 <dispoly+0x2f8>
mov    %rbp,%r11
add    $0x1,%r12
movslq 0x18(%rsi),%r10
cmp    %r10,%r12
jl     11b0 <dispoly+0xa0>
movslq 0x3c(%rsi),%rax
lea    (%rsi,%rax,4),%r9
movslq 0x38(%rsi),%rax
lea    (%r14,%rax,8),%rcx
mov    %r9,%rax
mov    %rcx,0x10(%rsp)
cmpl   $0x0,0x18(%rsp)
jle    1419 <dispoly+0x309>
xor    %edx,%edx
movsd  0xc9a(%rip),%xmm0
mov    0x10(%rsp),%rcx
mov    %r9,%rax
jmp    1381 <dispoly+0x271>
add    $0x1,%rdx
add    $0x4,%rax
cmp    %r15,%rdx
je     1419 <dispoly+0x309>
mov    (%rax),%ebx
test   %ebx,%ebx
jle    1370 <dispoly+0x260>
lea    -0x1(%rbx),%ebp
mov    %ebx,%edi
and    $0x3,%edi
cmp    $0x3,%ebp
jae    13a0 <dispoly+0x290>
movapd %xmm0,%xmm1
jmp    13e4 <dispoly+0x2d4>
nopw   0x0(%rax,%rax,1)
and    $0xfffffffc,%ebx
movapd %xmm0,%xmm1
nopw   0x0(%rax,%rax,1)
mulsd  (%r8,%rdx,8),%xmm1
movsd  %xmm1,(%rcx)
mulsd  (%r8,%rdx,8),%xmm1
movsd  %xmm1,0x8(%rcx)
mulsd  (%r8,%rdx,8),%xmm1
movsd  %xmm1,0x10(%rcx)
mulsd  (%r8,%rdx,8),%xmm1
movsd  %xmm1,0x18(%rcx)
add    $0x20,%rcx
add    $0xfffffffc,%ebx
jne    13b0 <dispoly+0x2a0>
test   %edi,%edi
je     1370 <dispoly+0x260>
nopl   0x0(%rax,%rax,1)
mulsd  (%r8,%rdx,8),%xmm1
movsd  %xmm1,(%rcx)
add    $0x8,%rcx
add    $0xffffffff,%edi
jne    13f0 <dispoly+0x2e0>
jmp    1370 <dispoly+0x260>
mov    0x28(%rsp),%rax
movq   $0x0,(%rax)
jmp    15f6 <dispoly+0x4e6>
test   %r10d,%r10d
mov    0x28(%rsp),%r12
jle    14d8 <dispoly+0x3c8>
mov    %r10d,%r8d
xor    %edx,%edx
movsd  0xbcc(%rip),%xmm0
jmp    1451 <dispoly+0x341>
cs nopw 0x0(%rax,%rax,1)
add    $0x1,%rdx
add    $0x4,%rax
cmp    %r8,%rdx
je     14d8 <dispoly+0x3c8>
mov    (%rax),%ebx
test   %ebx,%ebx
jle    1440 <dispoly+0x330>
lea    -0x1(%rbx),%r10d
mov    %ebx,%edi
and    $0x3,%edi
cmp    $0x3,%r10d
jae    1470 <dispoly+0x360>
movapd %xmm0,%xmm1
jmp    14b4 <dispoly+0x3a4>
nopl   0x0(%rax)
and    $0xfffffffc,%ebx
movapd %xmm0,%xmm1
nopw   0x0(%rax,%rax,1)
mulsd  (%r11,%rdx,8),%xmm1
movsd  %xmm1,(%rcx)
mulsd  (%r11,%rdx,8),%xmm1
movsd  %xmm1,0x8(%rcx)
mulsd  (%r11,%rdx,8),%xmm1
movsd  %xmm1,0x10(%rcx)
mulsd  (%r11,%rdx,8),%xmm1
movsd  %xmm1,0x18(%rcx)
add    $0x20,%rcx
add    $0xfffffffc,%ebx
jne    1480 <dispoly+0x370>
test   %edi,%edi
je     1440 <dispoly+0x330>
nopl   0x0(%rax,%rax,1)
mulsd  (%r11,%rdx,8),%xmm1
movsd  %xmm1,(%rcx)
add    $0x8,%rcx
add    $0xffffffff,%edi
jne    14c0 <dispoly+0x3b0>
jmp    1440 <dispoly+0x330>
movq   $0x0,(%r12)
mov    0x1c(%rsi),%ecx
test   %ecx,%ecx
jle    15f6 <dispoly+0x4e6>
movslq 0x30(%rsi),%rax
lea    (%r14,%rax,8),%rdx
movslq 0x48(%rsi),%rax
lea    (%rsi,%rax,4),%rbp
movslq 0x44(%rsi),%rax
lea    (%rsi,%rax,4),%rdi
addq   $0xfffffffffffffff8,0x10(%rsp)
mov    0x28(%rsi),%eax
xor    %ebx,%ebx
xorpd  %xmm0,%xmm0
mov    %r9,0x30(%rsp)
jmp    1550 <dispoly+0x440>
nopl   0x0(%rax)
mov    0x28(%rsp),%r12
movsd  (%r12),%xmm0
mov    0x1c(%rsi),%ecx
add    %r15,%rdi
add    %r15,%rbp
mov    %r13,%rdx
mov    0x18(%rsp),%ebx
addsd  %xmm1,%xmm0
movsd  %xmm0,(%r12)
add    $0x1,%ebx
cmp    %ecx,%ebx
jge    15f6 <dispoly+0x4e6>
movsd  (%rdx),%xmm1
add    $0x8,%rdx
test   %eax,%eax
jle    153b <dispoly+0x42b>
mov    %ebx,0x18(%rsp)
xor    %r15d,%r15d
mov    %rdx,%r13
mov    0x10(%rsp),%r14
xor    %r12d,%r12d
mov    %rdx,0x8(%rsp)
jmp    15cd <dispoly+0x4bd>
movsd  (%r14),%xmm0
movsd  %xmm1,0x20(%rsp)
movsd  (%rdx,%r15,2),%xmm1
mov    %rdi,%rbx
call   1030 <pow@plt>
movsd  0x20(%rsp),%xmm1
mov    0x8(%rsp),%rdx
mov    %rbx,%rdi
mov    0x30(%rsp),%r9
mov    0x48(%rsp),%rsi
mulsd  %xmm0,%xmm1
mov    0x28(%rsi),%eax
nopl   (%rax)
movslq (%r9,%r15,1),%rcx
lea    (%r14,%rcx,8),%r14
add    $0x1,%r12d
add    $0x8,%r13
add    $0x4,%r15
cmp    %eax,%r12d
jge    1520 <dispoly+0x410>
mov    (%rdi,%r15,1),%ecx
test   $0x2,%cl
jne    15b0 <dispoly+0x4a0>
test   %ecx,%ecx
je     1575 <dispoly+0x465>
movslq 0x0(%rbp,%r15,1),%rcx
test   %rcx,%rcx
js     15ee <dispoly+0x4de>
mov    %ecx,%ecx
mulsd  (%r14,%rcx,8),%xmm1
jmp    15b0 <dispoly+0x4a0>
divsd  (%r14,%rcx,8),%xmm1
jmp    15b0 <dispoly+0x4a0>
xor    %eax,%eax
add    $0x58,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

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