#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);
int /*<<< orphan*/ rax_free(double *);
scalar_t__ rax_malloc(int);
void coreCatFlex(double *EIGN, double lz, int numberOfCategories, double *rptr,
                 int *cptr, int upper, volatile double *ext_dlnLdlz,
                 volatile double *ext_d2lnLdlz2, double *sumtable,
                 const int numStates, int *wgt) {
  int i, l;
  double *d1, *d_start, *sum, e[64], s[64], dd[64], tmp, inv_Li, dlnLidlz,
      d2lnLidlz2, dlnLdlz = 0.0, d2lnLdlz2 = 0.0;
  d1 = d_start =
      (double *)rax_malloc(numberOfCategories * numStates * sizeof(double));
  for (l = 1; l < numStates; l++) {
    e[l] = EIGN[l - 1] * EIGN[l - 1];
    s[l] = EIGN[l - 1];
    dd[l] = s[l] * lz;
  }
  for (i = 0; i < numberOfCategories; i++) {
    for (l = 1; l < numStates; l++)
      d1[numStates * i + l] = exp(dd[l] * rptr[i]);
  }
  for (i = 0; i < upper; i++) {
    double r = rptr[cptr[i]], wr1 = r * wgt[i], wr2 = r * r * wgt[i];
    d1 = &d_start[numStates * cptr[i]];
    sum = &sumtable[numStates * i];
    inv_Li = sum[0];
    dlnLidlz = 0.0;
    d2lnLidlz2 = 0.0;
    for (l = 1; l < numStates; l++) {
      inv_Li += (tmp = d1[l] * sum[l]);
      dlnLidlz += tmp * s[l];
      d2lnLidlz2 += tmp * e[l];
    }
    inv_Li = 1.0 / FABS(inv_Li);
    dlnLidlz *= inv_Li;
    d2lnLidlz2 *= inv_Li;
    dlnLdlz += wr1 * dlnLidlz;
    d2lnLdlz2 += wr2 * (d2lnLidlz2 - dlnLidlz * dlnLidlz);
  }
  *ext_dlnLdlz = dlnLdlz;
  *ext_d2lnLdlz2 = d2lnLdlz2;
  rax_free(d_start);
}


x86 assembly (clang, -O0):
<coreCatFlex>:
push   %rbp
mov    %rsp,%rbp
sub    $0x6b0,%rsp
mov    0x28(%rbp),%rax
mov    0x20(%rbp),%eax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %rdi,-0x8(%rbp)
movsd  %xmm0,-0x10(%rbp)
mov    %esi,-0x14(%rbp)
mov    %rdx,-0x20(%rbp)
mov    %rcx,-0x28(%rbp)
mov    %r8d,-0x2c(%rbp)
mov    %r9,-0x38(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x688(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x690(%rbp)
ff
mov    -0x14(%rbp),%eax
imul   0x20(%rbp),%eax
cltq
shl    $0x3,%rax
mov    %eax,%edi
call   1040 <rax_malloc@plt>
mov    %rax,-0x50(%rbp)
mov    %rax,-0x48(%rbp)
movl   $0x1,-0x40(%rbp)
mov    -0x40(%rbp),%eax
cmp    0x20(%rbp),%eax
jge    1238 <coreCatFlex+0xf8>
mov    -0x8(%rbp),%rax
mov    -0x40(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x8(%rbp),%rax
mov    -0x40(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
mulsd  (%rax,%rcx,8),%xmm0
movslq -0x40(%rbp),%rax
movsd  %xmm0,-0x260(%rbp,%rax,8)
ff ff
mov    -0x8(%rbp),%rax
mov    -0x40(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
movslq -0x40(%rbp),%rax
movsd  %xmm0,-0x460(%rbp,%rax,8)
ff ff
movslq -0x40(%rbp),%rax
movsd  -0x460(%rbp,%rax,8),%xmm0
ff ff
mulsd  -0x10(%rbp),%xmm0
movslq -0x40(%rbp),%rax
movsd  %xmm0,-0x660(%rbp,%rax,8)
ff ff
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
jmp    11af <coreCatFlex+0x6f>
movl   $0x0,-0x3c(%rbp)
mov    -0x3c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    12b4 <coreCatFlex+0x174>
movl   $0x1,-0x40(%rbp)
mov    -0x40(%rbp),%eax
cmp    0x20(%rbp),%eax
jge    12a1 <coreCatFlex+0x161>
movslq -0x40(%rbp),%rax
movsd  -0x660(%rbp,%rax,8),%xmm0
ff ff
mov    -0x20(%rbp),%rax
movslq -0x3c(%rbp),%rcx
mulsd  (%rax,%rcx,8),%xmm0
call   1060 <exp@plt>
mov    -0x48(%rbp),%rax
mov    0x20(%rbp),%ecx
imul   -0x3c(%rbp),%ecx
add    -0x40(%rbp),%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
jmp    1252 <coreCatFlex+0x112>
jmp    12a6 <coreCatFlex+0x166>
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    123f <coreCatFlex+0xff>
movl   $0x0,-0x3c(%rbp)
mov    -0x3c(%rbp),%eax
cmp    -0x2c(%rbp),%eax
jge    151c <coreCatFlex+0x3dc>
mov    -0x20(%rbp),%rax
mov    -0x28(%rbp),%rcx
movslq -0x3c(%rbp),%rdx
movslq (%rcx,%rdx,4),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x698(%rbp)
ff
movsd  -0x698(%rbp),%xmm0
ff
mov    0x28(%rbp),%rax
movslq -0x3c(%rbp),%rcx
cvtsi2sdl (%rax,%rcx,4),%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x6a0(%rbp)
ff
movsd  -0x698(%rbp),%xmm0
ff
mulsd  -0x698(%rbp),%xmm0
ff
mov    0x28(%rbp),%rax
movslq -0x3c(%rbp),%rcx
cvtsi2sdl (%rax,%rcx,4),%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x6a8(%rbp)
ff
mov    -0x50(%rbp),%rax
mov    0x20(%rbp),%ecx
mov    -0x28(%rbp),%rdx
movslq -0x3c(%rbp),%rsi
imul   (%rdx,%rsi,4),%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x48(%rbp)
mov    0x18(%rbp),%rax
mov    0x20(%rbp),%ecx
imul   -0x3c(%rbp),%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x58(%rbp)
mov    -0x58(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x670(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x678(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x680(%rbp)
ff
movl   $0x1,-0x40(%rbp)
mov    -0x40(%rbp),%eax
cmp    0x20(%rbp),%eax
jge    143b <coreCatFlex+0x2fb>
mov    -0x48(%rbp),%rax
movslq -0x40(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x58(%rbp),%rax
movslq -0x40(%rbp),%rcx
mulsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x668(%rbp)
ff
addsd  -0x670(%rbp),%xmm0
ff
movsd  %xmm0,-0x670(%rbp)
ff
movsd  -0x668(%rbp),%xmm0
ff
movslq -0x40(%rbp),%rax
movsd  -0x460(%rbp,%rax,8),%xmm2
ff ff
movsd  -0x678(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x678(%rbp)
ff
movsd  -0x668(%rbp),%xmm0
ff
movslq -0x40(%rbp),%rax
movsd  -0x260(%rbp,%rax,8),%xmm2
ff ff
movsd  -0x680(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x680(%rbp)
ff
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
jmp    1395 <coreCatFlex+0x255>
movsd  -0x670(%rbp),%xmm0
ff
call   1030 <FABS@plt>
movaps %xmm0,%xmm1
movsd  0xbad(%rip),%xmm0
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x670(%rbp)
ff
movsd  -0x670(%rbp),%xmm0
ff
mulsd  -0x678(%rbp),%xmm0
ff
movsd  %xmm0,-0x678(%rbp)
ff
movsd  -0x670(%rbp),%xmm0
ff
mulsd  -0x680(%rbp),%xmm0
ff
movsd  %xmm0,-0x680(%rbp)
ff
movsd  -0x6a0(%rbp),%xmm0
ff
movsd  -0x678(%rbp),%xmm2
ff
movsd  -0x688(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x688(%rbp)
ff
movsd  -0x6a8(%rbp),%xmm0
ff
movsd  -0x680(%rbp),%xmm1
ff
movsd  -0x678(%rbp),%xmm2
ff
movsd  -0x678(%rbp),%xmm3
ff
movq   %xmm2,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm2
mulsd  %xmm3,%xmm2
addsd  %xmm1,%xmm2
movsd  -0x690(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x690(%rbp)
ff
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    12bb <coreCatFlex+0x17b>
movsd  -0x688(%rbp),%xmm0
ff
mov    -0x38(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x690(%rbp),%xmm0
ff
mov    0x10(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x50(%rbp),%rdi
call   1050 <rax_free@plt>
add    $0x6b0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<coreCatFlex>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x6a8,%rsp
mov    %r9,0x48(%rsp)
mov    %r8d,0x50(%rsp)
mov    %rcx,%r12
mov    %rdx,%rbp
mov    %esi,%r13d
movapd %xmm0,0x30(%rsp)
mov    %rdi,%r14
mov    0x6f8(%rsp),%rax
mov    %rax,0x88(%rsp)
mov    0x6f0(%rsp),%ebx
mov    0x6e8(%rsp),%rax
mov    %rax,0x20(%rsp)
mov    0x6e0(%rsp),%rax
mov    %rax,0x40(%rsp)
mov    %esi,%edi
imul   %ebx,%edi
shl    $0x3,%edi
call   1040 <rax_malloc@plt>
mov    %rbx,%rdx
mov    %rax,0x8(%rsp)
mov    %edx,%r15d
cmp    $0x2,%edx
mov    %rbx,0x10(%rsp)
jl     137e <coreCatFlex+0x22e>
lea    0x4a8(%rsp),%rdi
add    $0xffffffff,%edx
shl    $0x3,%rdx
mov    %r14,%rsi
call   1060 <memcpy@plt>
movapd 0x30(%rsp),%xmm5
lea    -0x1(%r15),%rcx
mov    $0x1,%eax
cmp    $0x4,%rcx
jb     1349 <coreCatFlex+0x1f9>
mov    %rcx,%rax
and    $0xfffffffffffffffc,%rax
movapd %xmm5,%xmm0
unpcklpd %xmm5,%xmm0
lea    -0x4(%rax),%rsi
mov    %rsi,%rdx
shr    $0x2,%rdx
add    $0x1,%rdx
test   %rsi,%rsi
je     168f <coreCatFlex+0x53f>
mov    %rdx,%rdi
and    $0xfffffffffffffffe,%rdi
xor    %esi,%esi
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
movupd (%r14,%rsi,8),%xmm1
movupd 0x10(%r14,%rsi,8),%xmm2
movapd %xmm1,%xmm3
mulpd  %xmm1,%xmm3
movapd %xmm2,%xmm4
mulpd  %xmm2,%xmm4
movupd %xmm3,0xa8(%rsp,%rsi,8)
movupd %xmm4,0xb8(%rsp,%rsi,8)
mulpd  %xmm0,%xmm1
mulpd  %xmm0,%xmm2
movupd %xmm1,0x2a8(%rsp,%rsi,8)
movupd %xmm2,0x2b8(%rsp,%rsi,8)
movupd 0x20(%r14,%rsi,8),%xmm1
movupd 0x30(%r14,%rsi,8),%xmm2
movapd %xmm1,%xmm3
mulpd  %xmm1,%xmm3
movapd %xmm2,%xmm4
mulpd  %xmm2,%xmm4
movupd %xmm3,0xc8(%rsp,%rsi,8)
movupd %xmm4,0xd8(%rsp,%rsi,8)
mulpd  %xmm0,%xmm1
mulpd  %xmm0,%xmm2
movupd %xmm1,0x2c8(%rsp,%rsi,8)
movupd %xmm2,0x2d8(%rsp,%rsi,8)
add    $0x8,%rsi
add    $0xfffffffffffffffe,%rdi
jne    1240 <coreCatFlex+0xf0>
test   $0x1,%dl
je     133b <coreCatFlex+0x1eb>
lea    0x0(,%rsi,8),%rdx
movupd (%r14,%rsi,8),%xmm1
movupd 0x10(%r14,%rsi,8),%xmm2
movapd %xmm1,%xmm3
mulpd  %xmm1,%xmm3
movapd %xmm2,%xmm4
mulpd  %xmm2,%xmm4
or     $0x8,%rdx
movupd %xmm3,0xa0(%rsp,%rdx,1)
movupd %xmm4,0xb0(%rsp,%rdx,1)
mulpd  %xmm0,%xmm1
mulpd  %xmm0,%xmm2
movupd %xmm1,0x2a0(%rsp,%rdx,1)
movupd %xmm2,0x2b0(%rsp,%rdx,1)
cmp    %rax,%rcx
mov    0x10(%rsp),%rdx
je     137e <coreCatFlex+0x22e>
or     $0x1,%rax
mov    0x10(%rsp),%rdx
xchg   %ax,%ax
movsd  -0x8(%r14,%rax,8),%xmm0
movapd %xmm0,%xmm1
mulsd  %xmm0,%xmm1
movsd  %xmm1,0xa0(%rsp,%rax,8)
mulsd  %xmm5,%xmm0
movsd  %xmm0,0x2a0(%rsp,%rax,8)
add    $0x1,%rax
cmp    %rax,%r15
jne    1350 <coreCatFlex+0x200>
mov    %rbp,0x28(%rsp)
mov    %r12,0x68(%rsp)
movslq %edx,%rax
mov    %rax,0x18(%rsp)
test   %r13d,%r13d
jle    1406 <coreCatFlex+0x2b6>
mov    %r13d,%eax
mov    %rax,0x30(%rsp)
mov    0x18(%rsp),%rax
lea    0x0(,%rax,8),%r12
xor    %ebp,%ebp
mov    0x8(%rsp),%r13
mov    0x28(%rsp),%r14
jmp    13d3 <coreCatFlex+0x283>
nopl   0x0(%rax,%rax,1)
add    $0x1,%rbp
add    %r12,%r13
cmp    0x30(%rsp),%rbp
mov    0x10(%rsp),%rdx
je     1406 <coreCatFlex+0x2b6>
cmp    $0x2,%edx
jl     13c0 <coreCatFlex+0x270>
mov    $0x1,%ebx
nopl   (%rax)
movsd  0x2a0(%rsp,%rbx,8),%xmm0
mulsd  (%r14,%rbp,8),%xmm0
call   1070 <exp@plt>
movsd  %xmm0,0x0(%r13,%rbx,8)
add    $0x1,%rbx
cmp    %rbx,%r15
jne    13e0 <coreCatFlex+0x290>
jmp    13c0 <coreCatFlex+0x270>
mov    0x50(%rsp),%eax
test   %eax,%eax
jle    165e <coreCatFlex+0x50e>
mov    %eax,%eax
mov    %rax,0x80(%rsp)
add    $0xffffffffffffffff,%r15
mov    0x20(%rsp),%rax
lea    0x8(%rax),%r12
mov    0x18(%rsp),%rdi
lea    0x0(,%rdi,8),%rax
mov    %rax,0x78(%rsp)
mov    0x8(%rsp),%rax
add    $0x8,%rax
mov    %rax,0x70(%rsp)
mov    %r15,%r13
and    $0xfffffffffffffffe,%r13
neg    %r13
xorpd  %xmm1,%xmm1
xor    %r14d,%r14d
mov    0x68(%rsp),%rbx
mov    0x28(%rsp),%rbp
jmp    151d <coreCatFlex+0x3cd>
nopl   0x0(%rax)
xorpd  %xmm5,%xmm5
movapd %xmm5,0x90(%rsp)
movsd  0x0(%rbp,%rax,8),%xmm1
mov    0x88(%rsp),%rax
xorps  %xmm3,%xmm3
cvtsi2sdl (%rax,%r14,4),%xmm3
movapd %xmm1,%xmm2
mulsd  %xmm1,%xmm2
unpcklpd %xmm2,%xmm1
unpcklpd %xmm3,%xmm3
mulpd  %xmm1,%xmm3
movapd %xmm3,0x50(%rsp)
call   1030 <FABS@plt>
movsd  0xb45(%rip),%xmm1
divsd  %xmm0,%xmm1
movapd 0x90(%rsp),%xmm2
movapd %xmm2,%xmm0
mulsd  %xmm1,%xmm0
unpckhpd %xmm2,%xmm2
mulsd  %xmm1,%xmm2
movapd %xmm0,%xmm1
mulsd  %xmm0,%xmm1
subsd  %xmm1,%xmm2
unpcklpd %xmm2,%xmm0
mulpd  0x50(%rsp),%xmm0
movapd %xmm0,%xmm1
movapd 0x30(%rsp),%xmm2
addpd  %xmm2,%xmm1
add    $0x1,%r14
add    0x78(%rsp),%r12
cmp    0x80(%rsp),%r14
mov    0x10(%rsp),%rdx
mov    0x18(%rsp),%rdi
je     1658 <coreCatFlex+0x508>
movslq (%rbx,%r14,4),%rax
mov    %r14,%rcx
imul   %rdi,%rcx
mov    0x20(%rsp),%rsi
movsd  (%rsi,%rcx,8),%xmm0
cmp    $0x2,%edx
movapd %xmm1,0x30(%rsp)
jl     1470 <coreCatFlex+0x320>
mov    %rax,%rsi
imul   %rdi,%rsi
cmp    $0x2,%edx
jne    1570 <coreCatFlex+0x420>
xorpd  %xmm1,%xmm1
mov    $0x1,%edx
test   $0x1,%r15b
je     1474 <coreCatFlex+0x324>
jmp    1615 <coreCatFlex+0x4c5>
cs nopw 0x0(%rax,%rax,1)
nop
mov    0x70(%rsp),%rdx
lea    (%rdx,%rsi,8),%rdi
xorpd  %xmm1,%xmm1
mov    $0x1,%edx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movsd  -0x8(%rdi,%rdx,8),%xmm3
mulsd  -0x8(%r12,%rdx,8),%xmm3
movsd  (%rdi,%rdx,8),%xmm4
addsd  %xmm3,%xmm0
unpcklpd %xmm3,%xmm3
movsd  0x4a0(%rsp,%rdx,8),%xmm2
movsd  0x4a8(%rsp,%rdx,8),%xmm5
movhpd 0xa0(%rsp,%rdx,8),%xmm2
mulpd  %xmm3,%xmm2
addpd  %xmm1,%xmm2
mulsd  (%r12,%rdx,8),%xmm4
addsd  %xmm4,%xmm0
unpcklpd %xmm4,%xmm4
movhpd 0xa8(%rsp,%rdx,8),%xmm5
mulpd  %xmm4,%xmm5
movapd %xmm5,%xmm1
addpd  %xmm2,%xmm1
lea    (%rdx,%r13,1),%rbp
add    $0x2,%rbp
add    $0x2,%rdx
cmp    $0x1,%rbp
jne    1590 <coreCatFlex+0x440>
addpd  %xmm2,%xmm5
mov    0x28(%rsp),%rbp
test   $0x1,%r15b
je     1474 <coreCatFlex+0x324>
mov    0x8(%rsp),%rdi
lea    (%rdi,%rsi,8),%rsi
mov    0x20(%rsp),%rdi
lea    (%rdi,%rcx,8),%rcx
movsd  (%rsi,%rdx,8),%xmm2
mulsd  (%rcx,%rdx,8),%xmm2
addsd  %xmm2,%xmm0
unpcklpd %xmm2,%xmm2
movsd  0x4a0(%rsp,%rdx,8),%xmm5
movhpd 0xa0(%rsp,%rdx,8),%xmm5
mulpd  %xmm2,%xmm5
addpd  %xmm1,%xmm5
jmp    1474 <coreCatFlex+0x324>
addpd  %xmm2,%xmm0
jmp    1662 <coreCatFlex+0x512>
xorpd  %xmm0,%xmm0
mov    0x48(%rsp),%rax
mov    0x40(%rsp),%rcx
movlpd %xmm0,(%rax)
movhpd %xmm0,(%rcx)
mov    0x8(%rsp),%rdi
add    $0x6a8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1050 <rax_free@plt>
xor    %esi,%esi
test   $0x1,%dl
jne    12e6 <coreCatFlex+0x196>
jmp    133b <coreCatFlex+0x1eb>

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

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