void evaluateGTRGAMMAMULT_VECTOR(int *ex2, int *modelptr, double *x2_start,
                                 double *v, double *EIGN, double *gammaRates,
                                 double *tipVector, double *pz, char *tipX1,
                                 int lower, int n, int numberOfModels,
                                 int multiBranch) {
  double z, lz = 0.0, term, ki;
  int i;
  double *diagptable, *diagptable_start;
  double *x1, *x2;
  int model;
  if (!multiBranch) {
    z = pz[0];
    if (z < 1.0E-15)
      z = 1.0E-15;
    lz = log(z);
  }
  diagptable = diagptable_start =
      (double *)malloc(sizeof(double) * 12 * numberOfModels);
  for (model = 0; model < numberOfModels; model++) {
    if (multiBranch) {
      z = pz[model];
      if (z < 1.0E-15)
        z = 1.0E-15;
      lz = log(z);
    }
    diagptable = &diagptable_start[12 * model];
    for (i = 0; i < 4; i++) {
      ki = gammaRates[model * 4 + i];
      *diagptable++ = exp(EIGN[model * 3] * ki * lz);
      *diagptable++ = exp(EIGN[model * 3 + 1] * ki * lz);
      *diagptable++ = exp(EIGN[model * 3 + 2] * ki * lz);
    }
  }
  for (i = lower; i < n; i++) {
    model = modelptr[i];
    x1 = &(tipVector[64 * model + 4 * tipX1[i]]);
    x2 = &x2_start[16 * i];
    diagptable = &diagptable_start[12 * model];
    term = x1[0] * x2[0];
    term += x1[1] * x2[1] * *diagptable++;
    term += x1[2] * x2[2] * *diagptable++;
    term += x1[3] * x2[3] * *diagptable++;
    term += x1[0] * x2[4];
    term += x1[1] * x2[5] * *diagptable++;
    term += x1[2] * x2[6] * *diagptable++;
    term += x1[3] * x2[7] * *diagptable++;
    term += x1[0] * x2[8];
    term += x1[1] * x2[9] * *diagptable++;
    term += x1[2] * x2[10] * *diagptable++;
    term += x1[3] * x2[11] * *diagptable++;
    term += x1[0] * x2[12];
    term += x1[1] * x2[13] * *diagptable++;
    term += x1[2] * x2[14] * *diagptable++;
    term += x1[3] * x2[15] * *diagptable++;
    term =
        log(0.25 * term) +
        ex2[i] *
            log((
                1.0 /
                115792089237316195423570985008687907853269984665640564039457584007913129639936.0));
    v[i] = term;
  }
  free(diagptable_start);
}


x86 assembly (clang, -O0):
<evaluateGTRGAMMAMULT_VECTOR>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%rsp
mov    0x40(%rbp),%eax
mov    0x38(%rbp),%eax
mov    0x30(%rbp),%eax
mov    0x28(%rbp),%eax
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    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x40(%rbp)
cmpl   $0x0,0x40(%rbp)
jne    11c9 <evaluateGTRGAMMAMULT_VECTOR+0x89>
mov    0x18(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  0xe5e(%rip),%xmm0
ucomisd -0x38(%rbp),%xmm0
jbe    11ba <evaluateGTRGAMMAMULT_VECTOR+0x7a>
movsd  0xe4b(%rip),%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x38(%rbp),%xmm0
call   1060 <log@plt>
movsd  %xmm0,-0x40(%rbp)
movslq 0x38(%rbp),%rax
imul   $0x60,%rax,%rdi
call   1040 <malloc@plt>
mov    %rax,-0x68(%rbp)
mov    %rax,-0x60(%rbp)
movl   $0x0,-0x7c(%rbp)
mov    -0x7c(%rbp),%eax
cmp    0x38(%rbp),%eax
jge    133a <evaluateGTRGAMMAMULT_VECTOR+0x1fa>
cmpl   $0x0,0x40(%rbp)
je     123c <evaluateGTRGAMMAMULT_VECTOR+0xfc>
mov    0x18(%rbp),%rax
movslq -0x7c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  0xdeb(%rip),%xmm0
ucomisd -0x38(%rbp),%xmm0
jbe    122d <evaluateGTRGAMMAMULT_VECTOR+0xed>
movsd  0xdd8(%rip),%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x38(%rbp),%xmm0
call   1060 <log@plt>
movsd  %xmm0,-0x40(%rbp)
mov    -0x68(%rbp),%rax
imul   $0xc,-0x7c(%rbp),%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x60(%rbp)
movl   $0x0,-0x54(%rbp)
cmpl   $0x4,-0x54(%rbp)
jge    1327 <evaluateGTRGAMMAMULT_VECTOR+0x1e7>
mov    -0x30(%rbp),%rax
mov    -0x7c(%rbp),%ecx
shl    $0x2,%ecx
add    -0x54(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x28(%rbp),%rax
imul   $0x3,-0x7c(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mulsd  -0x50(%rbp),%xmm0
mulsd  -0x40(%rbp),%xmm0
call   1050 <exp@plt>
mov    -0x60(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x60(%rbp)
movsd  %xmm0,(%rax)
mov    -0x28(%rbp),%rax
imul   $0x3,-0x7c(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mulsd  -0x50(%rbp),%xmm0
mulsd  -0x40(%rbp),%xmm0
call   1050 <exp@plt>
mov    -0x60(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x60(%rbp)
movsd  %xmm0,(%rax)
mov    -0x28(%rbp),%rax
imul   $0x3,-0x7c(%rbp),%ecx
add    $0x2,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mulsd  -0x50(%rbp),%xmm0
mulsd  -0x40(%rbp),%xmm0
call   1050 <exp@plt>
mov    -0x60(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x60(%rbp)
movsd  %xmm0,(%rax)
mov    -0x54(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
jmp    1259 <evaluateGTRGAMMAMULT_VECTOR+0x119>
jmp    132c <evaluateGTRGAMMAMULT_VECTOR+0x1ec>
mov    -0x7c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x7c(%rbp)
jmp    11e5 <evaluateGTRGAMMAMULT_VECTOR+0xa5>
mov    0x28(%rbp),%eax
mov    %eax,-0x54(%rbp)
mov    -0x54(%rbp),%eax
cmp    0x30(%rbp),%eax
jge    173f <evaluateGTRGAMMAMULT_VECTOR+0x5ff>
mov    -0x10(%rbp),%rax
movslq -0x54(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
mov    %eax,-0x7c(%rbp)
mov    0x10(%rbp),%rax
mov    -0x7c(%rbp),%ecx
shl    $0x6,%ecx
mov    0x20(%rbp),%rdx
movslq -0x54(%rbp),%rsi
movsbl (%rdx,%rsi,1),%edx
shl    $0x2,%edx
add    %edx,%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x70(%rbp)
mov    -0x18(%rbp),%rax
mov    -0x54(%rbp),%ecx
shl    $0x4,%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x78(%rbp)
mov    -0x68(%rbp),%rax
imul   $0xc,-0x7c(%rbp),%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x60(%rbp)
mov    -0x70(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x78(%rbp),%rax
mulsd  (%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x70(%rbp),%rax
movsd  0x8(%rax),%xmm0
mov    -0x78(%rbp),%rax
mulsd  0x8(%rax),%xmm0
mov    -0x60(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x60(%rbp)
movsd  (%rax),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x70(%rbp),%rax
movsd  0x10(%rax),%xmm0
mov    -0x78(%rbp),%rax
mulsd  0x10(%rax),%xmm0
mov    -0x60(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x60(%rbp)
movsd  (%rax),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x70(%rbp),%rax
movsd  0x18(%rax),%xmm0
mov    -0x78(%rbp),%rax
mulsd  0x18(%rax),%xmm0
mov    -0x60(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x60(%rbp)
movsd  (%rax),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x70(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x78(%rbp),%rax
movsd  0x20(%rax),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x70(%rbp),%rax
movsd  0x8(%rax),%xmm0
mov    -0x78(%rbp),%rax
mulsd  0x28(%rax),%xmm0
mov    -0x60(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x60(%rbp)
movsd  (%rax),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x70(%rbp),%rax
movsd  0x10(%rax),%xmm0
mov    -0x78(%rbp),%rax
mulsd  0x30(%rax),%xmm0
mov    -0x60(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x60(%rbp)
movsd  (%rax),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x70(%rbp),%rax
movsd  0x18(%rax),%xmm0
mov    -0x78(%rbp),%rax
mulsd  0x38(%rax),%xmm0
mov    -0x60(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x60(%rbp)
movsd  (%rax),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x70(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x78(%rbp),%rax
movsd  0x40(%rax),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x70(%rbp),%rax
movsd  0x8(%rax),%xmm0
mov    -0x78(%rbp),%rax
mulsd  0x48(%rax),%xmm0
mov    -0x60(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x60(%rbp)
movsd  (%rax),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x70(%rbp),%rax
movsd  0x10(%rax),%xmm0
mov    -0x78(%rbp),%rax
mulsd  0x50(%rax),%xmm0
mov    -0x60(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x60(%rbp)
movsd  (%rax),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x70(%rbp),%rax
movsd  0x18(%rax),%xmm0
mov    -0x78(%rbp),%rax
mulsd  0x58(%rax),%xmm0
mov    -0x60(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x60(%rbp)
movsd  (%rax),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x70(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x78(%rbp),%rax
movsd  0x60(%rax),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x70(%rbp),%rax
movsd  0x8(%rax),%xmm0
mov    -0x78(%rbp),%rax
mulsd  0x68(%rax),%xmm0
mov    -0x60(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x60(%rbp)
movsd  (%rax),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x70(%rbp),%rax
movsd  0x10(%rax),%xmm0
mov    -0x78(%rbp),%rax
mulsd  0x70(%rax),%xmm0
mov    -0x60(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x60(%rbp)
movsd  (%rax),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x70(%rbp),%rax
movsd  0x18(%rax),%xmm0
mov    -0x78(%rbp),%rax
mulsd  0x78(%rax),%xmm0
mov    -0x60(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x60(%rbp)
movsd  (%rax),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  0x945(%rip),%xmm0
mulsd  -0x48(%rbp),%xmm0
call   1060 <log@plt>
movsd  %xmm0,-0x90(%rbp)
ff
mov    -0x8(%rbp),%rax
movslq -0x54(%rbp),%rcx
cvtsi2sdl (%rax,%rcx,4),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  0x90e(%rip),%xmm0
call   1060 <log@plt>
movsd  -0x90(%rbp),%xmm1
ff
movaps %xmm0,%xmm2
movsd  -0x88(%rbp),%xmm0
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x48(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movslq -0x54(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x54(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
jmp    1340 <evaluateGTRGAMMAMULT_VECTOR+0x200>
mov    -0x68(%rbp),%rdi
call   1030 <free@plt>
add    $0x90,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<evaluateGTRGAMMAMULT_VECTOR>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x88,%rsp
mov    %r9,0x78(%rsp)
mov    %r8,0x70(%rsp)
mov    %rcx,0x60(%rsp)
mov    %rdx,0x48(%rsp)
mov    %rsi,0x58(%rsp)
mov    %rdi,0x50(%rsp)
mov    0xf0(%rsp),%ecx
mov    0xe8(%rsp),%r12d
mov    0xe0(%rsp),%eax
mov    %eax,0x20(%rsp)
mov    0xd8(%rsp),%eax
mov    %rax,0x28(%rsp)
mov    0xd0(%rsp),%rax
mov    %rax,0x40(%rsp)
mov    0xc8(%rsp),%rax
mov    %rax,0x30(%rsp)
mov    0xc0(%rsp),%rax
mov    %rax,0x38(%rsp)
xorpd  %xmm0,%xmm0
movsd  %xmm0,0x8(%rsp)
mov    %ecx,0x24(%rsp)
test   %ecx,%ecx
jne    11ea <evaluateGTRGAMMAMULT_VECTOR+0xaa>
movsd  0xe2a(%rip),%xmm0
mov    0x30(%rsp),%rax
maxsd  (%rax),%xmm0
call   1060 <log@plt>
movsd  %xmm0,0x8(%rsp)
movslq %r12d,%rbp
mov    %rbp,%rax
shl    $0x5,%rax
lea    (%rax,%rax,2),%rdi
call   1040 <malloc@plt>
mov    %rax,%r14
test   %ebp,%ebp
jle    1429 <evaluateGTRGAMMAMULT_VECTOR+0x2e9>
mov    %r12d,%eax
mov    %rax,0x68(%rsp)
xor    %ebp,%ebp
mov    0x70(%rsp),%r15
jmp    13fc <evaluateGTRGAMMAMULT_VECTOR+0x2bc>
nopl   0x0(%rax)
lea    0x0(,%rbp,4),%eax
mov    %rax,0x18(%rsp)
lea    (%rax,%rax,2),%ebx
lea    0x0(%rbp,%rbp,2),%r13d
mov    0x78(%rsp),%rcx
movsd  (%rcx,%rax,8),%xmm1
movsd  %xmm1,0x10(%rsp)
mov    %rcx,%r12
movsd  (%r15,%r13,8),%xmm0
mulsd  %xmm1,%xmm0
mulsd  0x8(%rsp),%xmm0
call   1050 <exp@plt>
movsd  %xmm0,(%r14,%rbx,8)
movsd  0x8(%r15,%r13,8),%xmm0
mulsd  0x10(%rsp),%xmm0
mulsd  0x8(%rsp),%xmm0
call   1050 <exp@plt>
movsd  %xmm0,0x8(%r14,%rbx,8)
movsd  0x10(%rsp),%xmm0
mulsd  0x10(%r15,%r13,8),%xmm0
mulsd  0x8(%rsp),%xmm0
call   1050 <exp@plt>
movsd  %xmm0,0x10(%r14,%rbx,8)
mov    %rbp,0x80(%rsp)
mov    %r12,%rbp
mov    0x18(%rsp),%r12
movsd  0x8(%rbp,%r12,8),%xmm1
movsd  %xmm1,0x10(%rsp)
movsd  (%r15,%r13,8),%xmm0
mulsd  %xmm1,%xmm0
mulsd  0x8(%rsp),%xmm0
call   1050 <exp@plt>
movsd  %xmm0,0x18(%r14,%rbx,8)
movsd  0x8(%r15,%r13,8),%xmm0
mulsd  0x10(%rsp),%xmm0
mulsd  0x8(%rsp),%xmm0
call   1050 <exp@plt>
movsd  %xmm0,0x20(%r14,%rbx,8)
movsd  0x10(%rsp),%xmm0
mulsd  0x10(%r15,%r13,8),%xmm0
mulsd  0x8(%rsp),%xmm0
call   1050 <exp@plt>
movsd  %xmm0,0x28(%r14,%rbx,8)
movsd  0x10(%rbp,%r12,8),%xmm1
movsd  %xmm1,0x10(%rsp)
movsd  (%r15,%r13,8),%xmm0
mulsd  %xmm1,%xmm0
mulsd  0x8(%rsp),%xmm0
call   1050 <exp@plt>
movsd  %xmm0,0x30(%r14,%rbx,8)
movsd  0x8(%r15,%r13,8),%xmm0
mulsd  0x10(%rsp),%xmm0
mulsd  0x8(%rsp),%xmm0
call   1050 <exp@plt>
movsd  %xmm0,0x38(%r14,%rbx,8)
movsd  0x10(%rsp),%xmm0
mulsd  0x10(%r15,%r13,8),%xmm0
mulsd  0x8(%rsp),%xmm0
call   1050 <exp@plt>
movsd  %xmm0,0x40(%r14,%rbx,8)
mov    0x18(%rsp),%rax
movsd  0x18(%rbp,%rax,8),%xmm1
movsd  %xmm1,0x18(%rsp)
mov    0x80(%rsp),%rbp
movsd  (%r15,%r13,8),%xmm0
mulsd  %xmm1,%xmm0
mulsd  0x8(%rsp),%xmm0
call   1050 <exp@plt>
movsd  %xmm0,0x48(%r14,%rbx,8)
movsd  0x8(%r15,%r13,8),%xmm0
mulsd  0x18(%rsp),%xmm0
mulsd  0x8(%rsp),%xmm0
call   1050 <exp@plt>
movsd  %xmm0,0x50(%r14,%rbx,8)
movsd  0x18(%rsp),%xmm0
mulsd  0x10(%r15,%r13,8),%xmm0
mulsd  0x8(%rsp),%xmm0
call   1050 <exp@plt>
movsd  %xmm0,0x58(%r14,%rbx,8)
add    $0x1,%rbp
cmp    0x68(%rsp),%rbp
je     1429 <evaluateGTRGAMMAMULT_VECTOR+0x2e9>
cmpl   $0x0,0x24(%rsp)
je     1220 <evaluateGTRGAMMAMULT_VECTOR+0xe0>
movsd  0xbf1(%rip),%xmm0
mov    0x30(%rsp),%rax
maxsd  (%rax,%rbp,8),%xmm0
call   1060 <log@plt>
movsd  %xmm0,0x8(%rsp)
jmp    1220 <evaluateGTRGAMMAMULT_VECTOR+0xe0>
mov    0x20(%rsp),%r8d
cmp    %r8d,0x28(%rsp)
mov    0x48(%rsp),%rbp
mov    0x40(%rsp),%r12
mov    0x38(%rsp),%r13
jge    1600 <evaluateGTRGAMMAMULT_VECTOR+0x4c0>
mov    0x28(%rsp),%rbx
movslq %ebx,%r15
movslq %r8d,%rdi
mov    %rdi,0x8(%rsp)
shl    $0x4,%ebx
nopl   0x0(%rax,%rax,1)
mov    0x58(%rsp),%rax
movslq (%rax,%r15,4),%rcx
lea    (%rcx,%rcx,2),%rax
shl    $0x6,%rcx
movsbq (%r12,%r15,1),%rdx
lea    (%rcx,%rdx,4),%rcx
movslq %ebx,%rbx
shl    $0x5,%rax
movsd  0x0(%r13,%rcx,8),%xmm2
movsd  0x8(%r13,%rcx,8),%xmm1
movsd  0x0(%rbp,%rbx,8),%xmm0
mulsd  %xmm2,%xmm0
movsd  0x8(%rbp,%rbx,8),%xmm4
mulsd  %xmm1,%xmm4
mulsd  (%r14,%rax,1),%xmm4
addsd  %xmm0,%xmm4
movsd  0x10(%r13,%rcx,8),%xmm3
movsd  0x10(%rbp,%rbx,8),%xmm5
mulsd  %xmm3,%xmm5
mulsd  0x8(%r14,%rax,1),%xmm5
addsd  %xmm4,%xmm5
movsd  0x18(%r13,%rcx,8),%xmm0
movsd  0x18(%rbp,%rbx,8),%xmm4
mulsd  %xmm0,%xmm4
mulsd  0x10(%r14,%rax,1),%xmm4
addsd  %xmm5,%xmm4
movsd  0x20(%rbp,%rbx,8),%xmm5
mulsd  %xmm2,%xmm5
addsd  %xmm4,%xmm5
movsd  0x28(%rbp,%rbx,8),%xmm4
mulsd  %xmm1,%xmm4
mulsd  0x18(%r14,%rax,1),%xmm4
movsd  0x30(%rbp,%rbx,8),%xmm6
mulsd  %xmm3,%xmm6
mulsd  0x20(%r14,%rax,1),%xmm6
addsd  %xmm5,%xmm4
addsd  %xmm4,%xmm6
movsd  0x38(%rbp,%rbx,8),%xmm4
mulsd  %xmm0,%xmm4
mulsd  0x28(%r14,%rax,1),%xmm4
addsd  %xmm6,%xmm4
movsd  0x40(%rbp,%rbx,8),%xmm5
mulsd  %xmm2,%xmm5
addsd  %xmm4,%xmm5
movsd  0x48(%rbp,%rbx,8),%xmm4
mulsd  %xmm1,%xmm4
mulsd  0x30(%r14,%rax,1),%xmm4
addsd  %xmm5,%xmm4
movsd  0x50(%rbp,%rbx,8),%xmm5
mulsd  %xmm3,%xmm5
mulsd  0x38(%r14,%rax,1),%xmm5
addsd  %xmm4,%xmm5
movsd  0x58(%rbp,%rbx,8),%xmm4
mulsd  %xmm0,%xmm4
mulsd  0x40(%r14,%rax,1),%xmm4
addsd  %xmm5,%xmm4
mulsd  0x60(%rbp,%rbx,8),%xmm2
addsd  %xmm4,%xmm2
mulsd  0x68(%rbp,%rbx,8),%xmm1
mulsd  0x48(%r14,%rax,1),%xmm1
mulsd  0x70(%rbp,%rbx,8),%xmm3
mulsd  0x50(%r14,%rax,1),%xmm3
addsd  %xmm2,%xmm1
addsd  %xmm1,%xmm3
mulsd  0x78(%rbp,%rbx,8),%xmm0
mulsd  0x58(%r14,%rax,1),%xmm0
addsd  %xmm3,%xmm0
mulsd  0xa44(%rip),%xmm0
call   1060 <log@plt>
mov    0x50(%rsp),%rdx
mov    0x60(%rsp),%rcx
xorps  %xmm1,%xmm1
cvtsi2sdl (%rdx,%r15,4),%xmm1
mulsd  0xa2c(%rip),%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,(%rcx,%r15,8)
add    $0x1,%r15
add    $0x10,%ebx
cmp    %r15,0x8(%rsp)
jne    1460 <evaluateGTRGAMMAMULT_VECTOR+0x320>
mov    %r14,%rdi
add    $0x88,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <free@plt>

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

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