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

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
double FABS(double);
double exp(double);
void coreGTRGAMMASECONDARYINVAR_6(double *gammaRates, double *EIGN,
                                  double *sumtable, int upper, int *wrptr,
                                  volatile double *ext_dlnLdlz,
                                  volatile double *ext_d2lnLdlz2, double lz,
                                  double *frequencies, double propInvar,
                                  int *iptr) {
  double *sum, diagptable[96];
  int i, l, j;
  double dlnLdlz = 0;
  double d2lnLdlz2 = 0;
  double ki, kisqr;
  double freqs[6];
  double scaler = 0.25 * (1.0 - propInvar);
  double tmp;
  double inv_Li, dlnLidlz, d2lnLidlz2;
  for (i = 0; i < 6; i++)
    freqs[i] = frequencies[i] * propInvar;
  for (i = 0; i < 4; i++) {
    ki = gammaRates[i];
    kisqr = ki * ki;
    for (l = 1; l < 6; l++) {
      diagptable[i * 24 + l * 4] = exp(EIGN[l - 1] * ki * lz);
      diagptable[i * 24 + l * 4 + 1] = EIGN[l - 1] * ki;
      diagptable[i * 24 + l * 4 + 2] = EIGN[l - 1] * EIGN[l - 1] * kisqr;
    }
  }
  for (i = 0; i < upper; i++) {
    sum = &sumtable[i * 24];
    inv_Li = 0.0;
    dlnLidlz = 0.0;
    d2lnLidlz2 = 0.0;
    for (j = 0; j < 4; j++) {
      inv_Li += sum[j * 6];
      for (l = 1; l < 6; l++) {
        inv_Li += (tmp = diagptable[j * 24 + l * 4] * sum[j * 6 + l]);
        dlnLidlz += tmp * diagptable[j * 24 + l * 4 + 1];
        d2lnLidlz2 += tmp * diagptable[j * 24 + l * 4 + 2];
      }
    }
    inv_Li = FABS(inv_Li) * scaler;
    if (iptr[i] < 6)
      inv_Li += freqs[iptr[i]];
    inv_Li = 1.0 / inv_Li;
    dlnLidlz *= inv_Li;
    d2lnLidlz2 *= inv_Li;
    dlnLidlz *= scaler;
    d2lnLidlz2 *= scaler;
    dlnLdlz += wrptr[i] * dlnLidlz;
    d2lnLdlz2 += wrptr[i] * (d2lnLidlz2 - dlnLidlz * dlnLidlz);
  }
  *ext_dlnLdlz = dlnLdlz;
  *ext_d2lnLdlz2 = d2lnLdlz2;
}


x86 assembly (clang, -O0):
<coreGTRGAMMASECONDARYINVAR_6>:
push   %rbp
mov    %rsp,%rbp
sub    $0x3e0,%rsp
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %ecx,-0x1c(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
movsd  %xmm0,-0x38(%rbp)
movsd  %xmm1,-0x40(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x368(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x370(%rbp)
ff
movsd  0xe92(%rip),%xmm1
subsd  -0x40(%rbp),%xmm1
movsd  0xe7d(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x3b8(%rbp)
ff
movl   $0x0,-0x354(%rbp)
cmpl   $0x6,-0x354(%rbp)
jge    11df <coreGTRGAMMASECONDARYINVAR_6+0xbf>
mov    0x18(%rbp),%rax
movslq -0x354(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mulsd  -0x40(%rbp),%xmm0
movslq -0x354(%rbp),%rax
movsd  %xmm0,-0x3b0(%rbp,%rax,8)
ff ff
mov    -0x354(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x354(%rbp)
jmp    1199 <coreGTRGAMMASECONDARYINVAR_6+0x79>
movl   $0x0,-0x354(%rbp)
cmpl   $0x4,-0x354(%rbp)
jge    133d <coreGTRGAMMASECONDARYINVAR_6+0x21d>
mov    -0x8(%rbp),%rax
movslq -0x354(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x378(%rbp)
ff
movsd  -0x378(%rbp),%xmm0
ff
mulsd  -0x378(%rbp),%xmm0
ff
movsd  %xmm0,-0x380(%rbp)
ff
movl   $0x1,-0x358(%rbp)
cmpl   $0x6,-0x358(%rbp)
jge    1324 <coreGTRGAMMASECONDARYINVAR_6+0x204>
mov    -0x10(%rbp),%rax
mov    -0x358(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mulsd  -0x378(%rbp),%xmm0
ff
mulsd  -0x38(%rbp),%xmm0
call   1040 <exp@plt>
imul   $0x18,-0x354(%rbp),%eax
mov    -0x358(%rbp),%ecx
shl    $0x2,%ecx
add    %ecx,%eax
cltq
movsd  %xmm0,-0x350(%rbp,%rax,8)
ff ff
mov    -0x10(%rbp),%rax
mov    -0x358(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mulsd  -0x378(%rbp),%xmm0
ff
imul   $0x18,-0x354(%rbp),%eax
mov    -0x358(%rbp),%ecx
shl    $0x2,%ecx
add    %ecx,%eax
add    $0x1,%eax
cltq
movsd  %xmm0,-0x350(%rbp,%rax,8)
ff ff
mov    -0x10(%rbp),%rax
mov    -0x358(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x358(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
mulsd  (%rax,%rcx,8),%xmm0
mulsd  -0x380(%rbp),%xmm0
ff
imul   $0x18,-0x354(%rbp),%eax
mov    -0x358(%rbp),%ecx
shl    $0x2,%ecx
add    %ecx,%eax
add    $0x2,%eax
cltq
movsd  %xmm0,-0x350(%rbp,%rax,8)
ff ff
mov    -0x358(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x358(%rbp)
jmp    1230 <coreGTRGAMMASECONDARYINVAR_6+0x110>
jmp    1329 <coreGTRGAMMASECONDARYINVAR_6+0x209>
mov    -0x354(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x354(%rbp)
jmp    11e9 <coreGTRGAMMASECONDARYINVAR_6+0xc9>
movl   $0x0,-0x354(%rbp)
mov    -0x354(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    1651 <coreGTRGAMMASECONDARYINVAR_6+0x531>
mov    -0x18(%rbp),%rax
imul   $0x18,-0x354(%rbp),%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x48(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x3c8(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x3d0(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x3d8(%rbp)
ff
movl   $0x0,-0x35c(%rbp)
cmpl   $0x4,-0x35c(%rbp)
jge    14dc <coreGTRGAMMASECONDARYINVAR_6+0x3bc>
mov    -0x48(%rbp),%rax
imul   $0x6,-0x35c(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
addsd  -0x3c8(%rbp),%xmm0
ff
movsd  %xmm0,-0x3c8(%rbp)
ff
movl   $0x1,-0x358(%rbp)
cmpl   $0x6,-0x358(%rbp)
jge    14c3 <coreGTRGAMMASECONDARYINVAR_6+0x3a3>
imul   $0x18,-0x35c(%rbp),%eax
mov    -0x358(%rbp),%ecx
shl    $0x2,%ecx
add    %ecx,%eax
cltq
movsd  -0x350(%rbp,%rax,8),%xmm0
ff ff
mov    -0x48(%rbp),%rax
imul   $0x6,-0x35c(%rbp),%ecx
add    -0x358(%rbp),%ecx
movslq %ecx,%rcx
mulsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x3c0(%rbp)
ff
addsd  -0x3c8(%rbp),%xmm0
ff
movsd  %xmm0,-0x3c8(%rbp)
ff
movsd  -0x3c0(%rbp),%xmm0
ff
imul   $0x18,-0x35c(%rbp),%eax
mov    -0x358(%rbp),%ecx
shl    $0x2,%ecx
add    %ecx,%eax
add    $0x1,%eax
cltq
movsd  -0x350(%rbp,%rax,8),%xmm2
ff ff
movsd  -0x3d0(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x3d0(%rbp)
ff
movsd  -0x3c0(%rbp),%xmm0
ff
imul   $0x18,-0x35c(%rbp),%eax
mov    -0x358(%rbp),%ecx
shl    $0x2,%ecx
add    %ecx,%eax
add    $0x2,%eax
cltq
movsd  -0x350(%rbp,%rax,8),%xmm2
ff ff
movsd  -0x3d8(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x3d8(%rbp)
ff
mov    -0x358(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x358(%rbp)
jmp    13d4 <coreGTRGAMMASECONDARYINVAR_6+0x2b4>
jmp    14c8 <coreGTRGAMMASECONDARYINVAR_6+0x3a8>
mov    -0x35c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x35c(%rbp)
jmp    139a <coreGTRGAMMASECONDARYINVAR_6+0x27a>
movsd  -0x3c8(%rbp),%xmm0
ff
call   1030 <FABS@plt>
mulsd  -0x3b8(%rbp),%xmm0
ff
movsd  %xmm0,-0x3c8(%rbp)
ff
mov    0x20(%rbp),%rax
movslq -0x354(%rbp),%rcx
cmpl   $0x6,(%rax,%rcx,4)
jge    1536 <coreGTRGAMMASECONDARYINVAR_6+0x416>
mov    0x20(%rbp),%rax
movslq -0x354(%rbp),%rcx
movslq (%rax,%rcx,4),%rax
movsd  -0x3b0(%rbp,%rax,8),%xmm0
ff ff
addsd  -0x3c8(%rbp),%xmm0
ff
movsd  %xmm0,-0x3c8(%rbp)
ff
movsd  0xaca(%rip),%xmm0
divsd  -0x3c8(%rbp),%xmm0
ff
movsd  %xmm0,-0x3c8(%rbp)
ff
movsd  -0x3c8(%rbp),%xmm0
ff
mulsd  -0x3d0(%rbp),%xmm0
ff
movsd  %xmm0,-0x3d0(%rbp)
ff
movsd  -0x3c8(%rbp),%xmm0
ff
mulsd  -0x3d8(%rbp),%xmm0
ff
movsd  %xmm0,-0x3d8(%rbp)
ff
movsd  -0x3b8(%rbp),%xmm0
ff
mulsd  -0x3d0(%rbp),%xmm0
ff
movsd  %xmm0,-0x3d0(%rbp)
ff
movsd  -0x3b8(%rbp),%xmm0
ff
mulsd  -0x3d8(%rbp),%xmm0
ff
movsd  %xmm0,-0x3d8(%rbp)
ff
mov    -0x28(%rbp),%rax
movslq -0x354(%rbp),%rcx
cvtsi2sdl (%rax,%rcx,4),%xmm0
movsd  -0x3d0(%rbp),%xmm2
ff
movsd  -0x368(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x368(%rbp)
ff
mov    -0x28(%rbp),%rax
movslq -0x354(%rbp),%rcx
cvtsi2sdl (%rax,%rcx,4),%xmm0
movsd  -0x3d8(%rbp),%xmm1
ff
movsd  -0x3d0(%rbp),%xmm2
ff
movsd  -0x3d0(%rbp),%xmm3
ff
movq   %xmm2,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm2
mulsd  %xmm3,%xmm2
addsd  %xmm1,%xmm2
movsd  -0x370(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x370(%rbp)
ff
mov    -0x354(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x354(%rbp)
jmp    1347 <coreGTRGAMMASECONDARYINVAR_6+0x227>
movsd  -0x368(%rbp),%xmm0
ff
mov    -0x30(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x370(%rbp),%xmm0
ff
mov    0x10(%rbp),%rax
movsd  %xmm0,(%rax)
add    $0x3e0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<coreGTRGAMMASECONDARYINVAR_6>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x628,%rsp
movsd  %xmm0,0x10(%rsp)
mov    %r9,0x58(%rsp)
mov    %r8,%r15
mov    %ecx,0x40(%rsp)
mov    %rdx,%rbx
mov    %rsi,%rbp
mov    %rdi,%r13
mov    0x668(%rsp),%rax
movsd  0xea4(%rip),%xmm0
subsd  %xmm1,%xmm0
movsd  %xmm0,0x28(%rsp)
movupd (%rax),%xmm0
unpcklpd %xmm1,%xmm1
mulpd  %xmm1,%xmm0
movapd %xmm0,0x2f0(%rsp)
movupd 0x10(%rax),%xmm0
mulpd  %xmm1,%xmm0
movapd %xmm0,0x300(%rsp)
movupd 0x20(%rax),%xmm0
mulpd  %xmm1,%xmm0
movapd %xmm0,0x310(%rsp)
lea    0x3c8(%rsp),%r12
xor    %r14d,%r14d
nopw   0x0(%rax,%rax,1)
movsd  0x0(%r13,%r14,8),%xmm1
movapd %xmm1,0x30(%rsp)
movapd %xmm1,%xmm0
mulsd  %xmm1,%xmm0
movapd %xmm0,(%rsp)
movsd  0x0(%rbp),%xmm0
mulsd  %xmm1,%xmm0
mulsd  0x10(%rsp),%xmm0
call   1040 <exp@plt>
movsd  %xmm0,-0x88(%r12)
ff ff ff
movsd  0x0(%rbp),%xmm0
movapd %xmm0,%xmm1
mulsd  %xmm0,%xmm1
movapd 0x30(%rsp),%xmm3
movapd %xmm3,%xmm2
unpcklpd (%rsp),%xmm2
movapd %xmm2,(%rsp)
unpcklpd %xmm1,%xmm0
mulpd  %xmm2,%xmm0
movupd %xmm0,-0x80(%r12)
movsd  0x8(%rbp),%xmm0
mulsd  %xmm3,%xmm0
mulsd  0x10(%rsp),%xmm0
call   1040 <exp@plt>
movsd  %xmm0,-0x68(%r12)
movsd  0x8(%rbp),%xmm0
movapd %xmm0,%xmm1
mulsd  %xmm0,%xmm1
unpcklpd %xmm1,%xmm0
mulpd  (%rsp),%xmm0
movupd %xmm0,-0x60(%r12)
movsd  0x10(%rbp),%xmm0
mulsd  0x30(%rsp),%xmm0
mulsd  0x10(%rsp),%xmm0
call   1040 <exp@plt>
movsd  %xmm0,-0x48(%r12)
movsd  0x10(%rbp),%xmm0
movapd %xmm0,%xmm1
mulsd  %xmm0,%xmm1
unpcklpd %xmm1,%xmm0
mulpd  (%rsp),%xmm0
movupd %xmm0,-0x40(%r12)
movsd  0x18(%rbp),%xmm0
mulsd  0x30(%rsp),%xmm0
mulsd  0x10(%rsp),%xmm0
call   1040 <exp@plt>
movsd  %xmm0,-0x28(%r12)
movsd  0x18(%rbp),%xmm0
movapd %xmm0,%xmm1
mulsd  %xmm0,%xmm1
unpcklpd %xmm1,%xmm0
mulpd  (%rsp),%xmm0
movupd %xmm0,-0x20(%r12)
movapd 0x30(%rsp),%xmm0
mulsd  0x20(%rbp),%xmm0
mulsd  0x10(%rsp),%xmm0
call   1040 <exp@plt>
movsd  %xmm0,-0x8(%r12)
movsd  0x20(%rbp),%xmm0
movapd %xmm0,%xmm1
mulsd  %xmm0,%xmm1
unpcklpd %xmm1,%xmm0
mulpd  (%rsp),%xmm0
movupd %xmm0,(%r12)
add    $0x1,%r14
add    $0xc0,%r12
cmp    $0x4,%r14
jne    11b0 <coreGTRGAMMASECONDARYINVAR_6+0x90>
mov    0x40(%rsp),%eax
test   %eax,%eax
jle    1d00 <coreGTRGAMMASECONDARYINVAR_6+0xbe0>
movsd  0x28(%rsp),%xmm3
mulsd  0xcdc(%rip),%xmm3
mov    %eax,%r12d
movsd  0x340(%rsp),%xmm0
movsd  %xmm0,0x1f8(%rsp)
movsd  0x348(%rsp),%xmm0
movsd  %xmm0,0x1f0(%rsp)
movsd  0x350(%rsp),%xmm0
movsd  %xmm0,0x1e8(%rsp)
movsd  0x360(%rsp),%xmm0
movsd  %xmm0,0x1e0(%rsp)
movsd  0x368(%rsp),%xmm0
movsd  %xmm0,0x1d8(%rsp)
movsd  0x370(%rsp),%xmm0
movsd  %xmm0,0x1d0(%rsp)
movsd  0x380(%rsp),%xmm0
movsd  %xmm0,0x1c8(%rsp)
movsd  0x388(%rsp),%xmm0
movsd  %xmm0,0x1c0(%rsp)
movsd  0x390(%rsp),%xmm0
movsd  %xmm0,0x1b8(%rsp)
movsd  0x3a0(%rsp),%xmm0
movsd  %xmm0,0x1b0(%rsp)
movsd  0x3a8(%rsp),%xmm0
movsd  %xmm0,0x1a8(%rsp)
movaps 0x4e0(%rsp),%xmm0
movapd 0x520(%rsp),%xmm1
movapd 0x5a0(%rsp),%xmm2
movapd 0x5e0(%rsp),%xmm4
movhpd 0x600(%rsp),%xmm4
movapd %xmm4,0x260(%rsp)
movhpd 0x5c0(%rsp),%xmm2
movapd %xmm2,0x270(%rsp)
movhpd 0x540(%rsp),%xmm1
movapd %xmm1,0x280(%rsp)
movhps 0x500(%rsp),%xmm0
movaps %xmm0,0x290(%rsp)
movsd  0x3b0(%rsp),%xmm0
movsd  %xmm0,0x1a0(%rsp)
xor    %ebp,%ebp
movsd  0x3c0(%rsp),%xmm0
movsd  %xmm0,0x198(%rsp)
movsd  0x3c8(%rsp),%xmm0
movsd  %xmm0,0x190(%rsp)
movsd  0x3d0(%rsp),%xmm0
movsd  %xmm0,0x188(%rsp)
movsd  0x400(%rsp),%xmm0
movsd  %xmm0,0x180(%rsp)
movsd  0x408(%rsp),%xmm0
movsd  %xmm0,0x178(%rsp)
movsd  0x410(%rsp),%xmm0
movsd  %xmm0,0x170(%rsp)
movsd  0x420(%rsp),%xmm0
movsd  %xmm0,0x168(%rsp)
movsd  0x428(%rsp),%xmm0
movsd  %xmm0,0x160(%rsp)
movsd  0x430(%rsp),%xmm0
movsd  %xmm0,0x158(%rsp)
movsd  0x440(%rsp),%xmm0
movsd  %xmm0,0x150(%rsp)
movsd  0x448(%rsp),%xmm0
movsd  %xmm0,0x148(%rsp)
movsd  0x450(%rsp),%xmm0
movsd  %xmm0,0x140(%rsp)
movsd  0x460(%rsp),%xmm0
movsd  %xmm0,0x138(%rsp)
movsd  0x468(%rsp),%xmm0
movsd  %xmm0,0x130(%rsp)
movsd  0x470(%rsp),%xmm0
movsd  %xmm0,0x128(%rsp)
movsd  0x480(%rsp),%xmm0
movsd  %xmm0,0x120(%rsp)
movsd  0x488(%rsp),%xmm0
movsd  %xmm0,0x118(%rsp)
movsd  0x490(%rsp),%xmm0
movsd  %xmm0,0x110(%rsp)
movsd  0x4c0(%rsp),%xmm0
movsd  %xmm0,0x108(%rsp)
movsd  0x4c8(%rsp),%xmm0
movsd  %xmm0,0x100(%rsp)
movsd  0x4d0(%rsp),%xmm0
movsd  %xmm0,0xf8(%rsp)
movsd  0x4e8(%rsp),%xmm0
movsd  %xmm0,0xf0(%rsp)
movsd  0x4f0(%rsp),%xmm0
movsd  %xmm0,0xe8(%rsp)
movsd  0x508(%rsp),%xmm0
movsd  %xmm0,0xe0(%rsp)
movsd  0x510(%rsp),%xmm0
movsd  %xmm0,0xd8(%rsp)
movsd  0x528(%rsp),%xmm0
movsd  %xmm0,0xd0(%rsp)
movsd  0x530(%rsp),%xmm0
movsd  %xmm0,0xc8(%rsp)
movsd  0x548(%rsp),%xmm0
movsd  %xmm0,0xc0(%rsp)
movsd  0x550(%rsp),%xmm0
movsd  %xmm0,0xb8(%rsp)
movsd  0x580(%rsp),%xmm0
movsd  %xmm0,0xb0(%rsp)
movsd  0x588(%rsp),%xmm0
movsd  %xmm0,0xa8(%rsp)
movsd  0x590(%rsp),%xmm0
movsd  %xmm0,0xa0(%rsp)
movsd  0x5a8(%rsp),%xmm0
movsd  %xmm0,0x98(%rsp)
movsd  0x5b0(%rsp),%xmm0
movsd  %xmm0,0x90(%rsp)
movsd  0x5c8(%rsp),%xmm0
movsd  %xmm0,0x88(%rsp)
movsd  0x5d0(%rsp),%xmm0
movsd  %xmm0,0x80(%rsp)
movsd  0x5e8(%rsp),%xmm0
movsd  %xmm0,0x78(%rsp)
movsd  0x5f0(%rsp),%xmm0
movsd  %xmm0,0x70(%rsp)
movsd  0x608(%rsp),%xmm0
movsd  %xmm0,0x68(%rsp)
movsd  0x610(%rsp),%xmm0
movsd  %xmm0,0x60(%rsp)
xorpd  %xmm0,%xmm0
xorpd  %xmm4,%xmm4
mov    0x670(%rsp),%r14
movsd  %xmm3,0x28(%rsp)
jmp    1ab9 <coreGTRGAMMASECONDARYINVAR_6+0x999>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movsd  0x200(%rsp),%xmm6
movapd %xmm6,%xmm1
mulsd  0x1f0(%rsp),%xmm1
xorpd  %xmm4,%xmm4
addsd  %xmm4,%xmm1
movsd  0x208(%rsp),%xmm5
movapd %xmm5,%xmm2
mulsd  0x1d8(%rsp),%xmm2
addsd  %xmm1,%xmm2
mulsd  0x1e8(%rsp),%xmm6
addsd  %xmm4,%xmm6
mulsd  0x1d0(%rsp),%xmm5
addsd  %xmm6,%xmm5
movsd  0x210(%rsp),%xmm6
movapd %xmm6,%xmm1
mulsd  0x1c0(%rsp),%xmm1
addsd  %xmm2,%xmm1
mulsd  0x1b8(%rsp),%xmm6
addsd  %xmm5,%xmm6
movsd  0x218(%rsp),%xmm5
movapd %xmm5,%xmm2
mulsd  0x1a8(%rsp),%xmm2
addsd  %xmm1,%xmm2
mulsd  0x1a0(%rsp),%xmm5
addsd  %xmm6,%xmm5
movsd  0x220(%rsp),%xmm6
movapd %xmm6,%xmm1
mulsd  0x190(%rsp),%xmm1
addsd  %xmm2,%xmm1
mulsd  0x188(%rsp),%xmm6
addsd  %xmm5,%xmm6
movsd  0x228(%rsp),%xmm5
movapd %xmm5,%xmm2
mulsd  0x178(%rsp),%xmm2
addsd  %xmm1,%xmm2
mulsd  0x170(%rsp),%xmm5
addsd  %xmm6,%xmm5
movsd  0x230(%rsp),%xmm6
movapd %xmm6,%xmm1
mulsd  0x160(%rsp),%xmm1
addsd  %xmm2,%xmm1
mulsd  0x158(%rsp),%xmm6
addsd  %xmm5,%xmm6
movsd  0x238(%rsp),%xmm5
movapd %xmm5,%xmm2
mulsd  0x148(%rsp),%xmm2
addsd  %xmm1,%xmm2
mulsd  0x140(%rsp),%xmm5
addsd  %xmm6,%xmm5
movsd  0x240(%rsp),%xmm6
movapd %xmm6,%xmm1
mulsd  0x130(%rsp),%xmm1
addsd  %xmm2,%xmm1
mulsd  0x128(%rsp),%xmm6
addsd  %xmm5,%xmm6
movsd  0x248(%rsp),%xmm5
movapd %xmm5,%xmm2
mulsd  0x118(%rsp),%xmm2
addsd  %xmm1,%xmm2
mulsd  0x110(%rsp),%xmm5
addsd  %xmm6,%xmm5
movsd  0x250(%rsp),%xmm6
movapd %xmm6,%xmm1
mulsd  0x100(%rsp),%xmm1
addsd  %xmm2,%xmm1
mulsd  0xf8(%rsp),%xmm6
addsd  %xmm5,%xmm6
movapd 0x2b0(%rsp),%xmm5
movapd %xmm5,%xmm2
mulsd  0xf0(%rsp),%xmm2
addsd  %xmm1,%xmm2
mulsd  0xe8(%rsp),%xmm5
addsd  %xmm6,%xmm5
movapd 0x2a0(%rsp),%xmm6
movapd %xmm6,%xmm1
mulsd  0xe0(%rsp),%xmm1
addsd  %xmm2,%xmm1
mulsd  0xd8(%rsp),%xmm6
addsd  %xmm5,%xmm6
movapd 0x2d0(%rsp),%xmm5
movapd %xmm5,%xmm2
mulsd  0xd0(%rsp),%xmm2
addsd  %xmm1,%xmm2
mulsd  0xc8(%rsp),%xmm5
addsd  %xmm6,%xmm5
movapd 0x2c0(%rsp),%xmm7
movapd %xmm7,%xmm1
mulsd  0xc0(%rsp),%xmm1
addsd  %xmm2,%xmm1
mulsd  0xb8(%rsp),%xmm7
addsd  %xmm5,%xmm7
movsd  0x258(%rsp),%xmm6
movapd %xmm6,%xmm2
mulsd  0xa8(%rsp),%xmm2
addsd  %xmm1,%xmm2
mulsd  0xa0(%rsp),%xmm6
addsd  %xmm7,%xmm6
movapd 0x30(%rsp),%xmm5
movapd %xmm5,%xmm1
mulsd  0x98(%rsp),%xmm1
addsd  %xmm2,%xmm1
mulsd  0x90(%rsp),%xmm5
addsd  %xmm6,%xmm5
movapd 0x2e0(%rsp),%xmm6
movapd %xmm6,%xmm2
mulsd  0x88(%rsp),%xmm2
addsd  %xmm1,%xmm2
mulsd  0x80(%rsp),%xmm6
addsd  %xmm5,%xmm6
movapd (%rsp),%xmm5
movapd %xmm5,%xmm1
mulsd  0x78(%rsp),%xmm1
addsd  %xmm2,%xmm1
mulsd  0x70(%rsp),%xmm5
addsd  %xmm6,%xmm5
movapd 0x40(%rsp),%xmm6
movapd %xmm6,%xmm2
mulsd  0x68(%rsp),%xmm2
addsd  %xmm1,%xmm2
mulsd  0x60(%rsp),%xmm6
addsd  %xmm5,%xmm6
movsd  0x59e(%rip),%xmm1
divsd  %xmm0,%xmm1
mulsd  %xmm1,%xmm2
mulsd  %xmm6,%xmm1
mulsd  %xmm3,%xmm2
mulsd  %xmm3,%xmm1
movapd %xmm2,%xmm0
mulsd  %xmm2,%xmm0
subsd  %xmm0,%xmm1
unpcklpd %xmm2,%xmm1
xorps  %xmm0,%xmm0
cvtsi2sdl (%r15,%rbp,4),%xmm0
unpcklpd %xmm0,%xmm0
mulpd  %xmm0,%xmm1
movapd %xmm1,%xmm0
movapd 0x10(%rsp),%xmm2
addpd  %xmm2,%xmm0
add    $0x1,%rbp
add    $0xc0,%rbx
cmp    %rbp,%r12
je     1cfa <coreGTRGAMMASECONDARYINVAR_6+0xbda>
movapd %xmm0,0x10(%rsp)
movsd  (%rbx),%xmm0
addsd  %xmm4,%xmm0
movsd  0x8(%rbx),%xmm1
mulsd  0x1f8(%rsp),%xmm1
movsd  %xmm1,0x200(%rsp)
addsd  %xmm1,%xmm0
movsd  0x10(%rbx),%xmm1
mulsd  0x1e0(%rsp),%xmm1
movsd  %xmm1,0x208(%rsp)
addsd  %xmm1,%xmm0
movsd  0x18(%rbx),%xmm1
mulsd  0x1c8(%rsp),%xmm1
movsd  %xmm1,0x210(%rsp)
addsd  %xmm1,%xmm0
movsd  0x20(%rbx),%xmm1
mulsd  0x1b0(%rsp),%xmm1
movsd  %xmm1,0x218(%rsp)
addsd  %xmm1,%xmm0
movsd  0x28(%rbx),%xmm1
mulsd  0x198(%rsp),%xmm1
movsd  %xmm1,0x220(%rsp)
addsd  %xmm1,%xmm0
addsd  0x30(%rbx),%xmm0
movsd  0x38(%rbx),%xmm1
mulsd  0x180(%rsp),%xmm1
movsd  %xmm1,0x228(%rsp)
addsd  %xmm1,%xmm0
movsd  0x40(%rbx),%xmm1
mulsd  0x168(%rsp),%xmm1
movsd  %xmm1,0x230(%rsp)
addsd  %xmm1,%xmm0
movsd  0x48(%rbx),%xmm1
mulsd  0x150(%rsp),%xmm1
movsd  %xmm1,0x238(%rsp)
addsd  %xmm1,%xmm0
movsd  0x50(%rbx),%xmm1
mulsd  0x138(%rsp),%xmm1
movsd  %xmm1,0x240(%rsp)
addsd  %xmm1,%xmm0
movsd  0x58(%rbx),%xmm1
mulsd  0x120(%rsp),%xmm1
movsd  %xmm1,0x248(%rsp)
addsd  %xmm1,%xmm0
addsd  0x60(%rbx),%xmm0
movsd  0x68(%rbx),%xmm1
mulsd  0x108(%rsp),%xmm1
movsd  %xmm1,0x250(%rsp)
addsd  %xmm1,%xmm0
movupd 0x70(%rbx),%xmm4
mulpd  0x290(%rsp),%xmm4
movupd 0x80(%rbx),%xmm3
mulpd  0x280(%rsp),%xmm3
movupd 0xa0(%rbx),%xmm2
mulpd  0x270(%rsp),%xmm2
movupd 0xb0(%rbx),%xmm1
mulpd  0x260(%rsp),%xmm1
addsd  %xmm4,%xmm0
movapd %xmm4,0x2b0(%rsp)
unpckhpd %xmm4,%xmm4
movapd %xmm4,0x2a0(%rsp)
addsd  %xmm4,%xmm0
addsd  %xmm3,%xmm0
movapd %xmm3,0x2d0(%rsp)
unpckhpd %xmm3,%xmm3
movapd %xmm3,0x2c0(%rsp)
addsd  %xmm3,%xmm0
addsd  0x90(%rbx),%xmm0
movsd  0x98(%rbx),%xmm3
mulsd  0xb0(%rsp),%xmm3
movsd  %xmm3,0x258(%rsp)
addsd  %xmm3,%xmm0
addsd  %xmm2,%xmm0
movapd %xmm2,0x30(%rsp)
unpckhpd %xmm2,%xmm2
movapd %xmm2,0x2e0(%rsp)
addsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movapd %xmm1,(%rsp)
unpckhpd %xmm1,%xmm1
movapd %xmm1,0x40(%rsp)
addsd  %xmm1,%xmm0
call   1030 <FABS@plt>
movsd  0x28(%rsp),%xmm3
mulsd  %xmm3,%xmm0
movslq (%r14,%rbp,4),%rax
cmp    $0x5,%rax
jg     1760 <coreGTRGAMMASECONDARYINVAR_6+0x640>
addsd  0x2f0(%rsp,%rax,8),%xmm0
jmp    1760 <coreGTRGAMMASECONDARYINVAR_6+0x640>
addpd  %xmm2,%xmm1
jmp    1d04 <coreGTRGAMMASECONDARYINVAR_6+0xbe4>
xorpd  %xmm1,%xmm1
mov    0x58(%rsp),%rax
movhpd %xmm1,(%rax)
mov    0x660(%rsp),%rax
movlpd %xmm1,(%rax)
add    $0x628,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

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