double evaluateGTRGAMMAPROTMULT(int *ex1, int *ex2, int *modelptr, int *wptr,
                                double *x1, double *x2, double *EIGN,
                                double *gammaRates, double *tipVector,
                                double *pz, char *tipX1, int lower, int n,
                                int numberOfModels, int multiBranch) {
  double sum, z, lz = 0.0, term, ki;
  int i, j, model;
  double *diagptable, *diagptable_start, *left, *right;
  if (!multiBranch) {
    z = pz[0];
    if (z < 1.0E-15)
      z = 1.0E-15;
    lz = log(z);
  }
  diagptable = diagptable_start =
      (double *)malloc(sizeof(double) * 4 * 19 * 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[4 * 19 * model];
    for (i = 0; i < 4; i++) {
      ki = gammaRates[model * 4 + i];
      for (j = 0; j < 19; j++)
        *diagptable++ = exp(EIGN[model * 19 + j] * ki * lz);
    }
  }
  sum = 0.0;
  if (tipX1) {
    for (i = lower; i < n; i++) {
      model = modelptr[i];
      left = &(tipVector[460 * model + 20 * tipX1[i]]);
      diagptable = &diagptable_start[76 * model];
      term = 0;
      for (j = 0; j < 4; j++) {
        right = &(x2[80 * i + 20 * j]);
        term += left[0] * right[0];
        term += left[1] * right[1] * *diagptable++;
        term += left[2] * right[2] * *diagptable++;
        term += left[3] * right[3] * *diagptable++;
        term += left[4] * right[4] * *diagptable++;
        term += left[5] * right[5] * *diagptable++;
        term += left[6] * right[6] * *diagptable++;
        term += left[7] * right[7] * *diagptable++;
        term += left[8] * right[8] * *diagptable++;
        term += left[9] * right[9] * *diagptable++;
        term += left[10] * right[10] * *diagptable++;
        term += left[11] * right[11] * *diagptable++;
        term += left[12] * right[12] * *diagptable++;
        term += left[13] * right[13] * *diagptable++;
        term += left[14] * right[14] * *diagptable++;
        term += left[15] * right[15] * *diagptable++;
        term += left[16] * right[16] * *diagptable++;
        term += left[17] * right[17] * *diagptable++;
        term += left[18] * right[18] * *diagptable++;
        term += left[19] * right[19] * *diagptable++;
      }
      term =
          log(0.25 * term) +
          (ex2[i] *
           log((
               1.0 /
               115792089237316195423570985008687907853269984665640564039457584007913129639936.0)));
      sum += wptr[i] * term;
    }
    free(diagptable_start);
    return sum;
  }
  for (i = lower; i < n; i++) {
    diagptable = &diagptable_start[76 * modelptr[i]];
    term = 0;
    for (j = 0; j < 4; j++) {
      left = &(x1[80 * i + 20 * j]);
      right = &(x2[80 * i + 20 * j]);
      term += left[0] * right[0];
      term += left[1] * right[1] * *diagptable++;
      term += left[2] * right[2] * *diagptable++;
      term += left[3] * right[3] * *diagptable++;
      term += left[4] * right[4] * *diagptable++;
      term += left[5] * right[5] * *diagptable++;
      term += left[6] * right[6] * *diagptable++;
      term += left[7] * right[7] * *diagptable++;
      term += left[8] * right[8] * *diagptable++;
      term += left[9] * right[9] * *diagptable++;
      term += left[10] * right[10] * *diagptable++;
      term += left[11] * right[11] * *diagptable++;
      term += left[12] * right[12] * *diagptable++;
      term += left[13] * right[13] * *diagptable++;
      term += left[14] * right[14] * *diagptable++;
      term += left[15] * right[15] * *diagptable++;
      term += left[16] * right[16] * *diagptable++;
      term += left[17] * right[17] * *diagptable++;
      term += left[18] * right[18] * *diagptable++;
      term += left[19] * right[19] * *diagptable++;
    }
    term =
        log(0.25 * term) +
        ((ex1[i] + ex2[i]) *
         log((
             1.0 /
             115792089237316195423570985008687907853269984665640564039457584007913129639936.0)));
    sum += wptr[i] * term;
  }
  free(diagptable_start);
  return sum;
}


x86 assembly (clang, -O0):
<evaluateGTRGAMMAPROTMULT>:
push   %rbp
mov    %rsp,%rbp
sub    $0xb0,%rsp
mov    0x50(%rbp),%eax
mov    0x48(%rbp),%eax
mov    0x40(%rbp),%eax
mov    0x38(%rbp),%eax
mov    0x30(%rbp),%rax
mov    0x28(%rbp),%rax
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    %rdx,-0x20(%rbp)
mov    %rcx,-0x28(%rbp)
mov    %r8,-0x30(%rbp)
mov    %r9,-0x38(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x50(%rbp)
cmpl   $0x0,0x50(%rbp)
jne    11d1 <evaluateGTRGAMMAPROTMULT+0x91>
mov    0x28(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  0xe56(%rip),%xmm0
ucomisd -0x48(%rbp),%xmm0
jbe    11c2 <evaluateGTRGAMMAPROTMULT+0x82>
movsd  0xe43(%rip),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x48(%rbp),%xmm0
call   1060 <log@plt>
movsd  %xmm0,-0x50(%rbp)
movslq 0x48(%rbp),%rax
imul   $0x260,%rax,%rdi
call   1040 <malloc@plt>
mov    %rax,-0x80(%rbp)
mov    %rax,-0x78(%rbp)
movl   $0x0,-0x6c(%rbp)
mov    -0x6c(%rbp),%eax
cmp    0x48(%rbp),%eax
jge    1302 <evaluateGTRGAMMAPROTMULT+0x1c2>
cmpl   $0x0,0x50(%rbp)
je     1247 <evaluateGTRGAMMAPROTMULT+0x107>
mov    0x28(%rbp),%rax
movslq -0x6c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  0xde0(%rip),%xmm0
ucomisd -0x48(%rbp),%xmm0
jbe    1238 <evaluateGTRGAMMAPROTMULT+0xf8>
movsd  0xdcd(%rip),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x48(%rbp),%xmm0
call   1060 <log@plt>
movsd  %xmm0,-0x50(%rbp)
mov    -0x80(%rbp),%rax
imul   $0x4c,-0x6c(%rbp),%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x78(%rbp)
movl   $0x0,-0x64(%rbp)
cmpl   $0x4,-0x64(%rbp)
jge    12ef <evaluateGTRGAMMAPROTMULT+0x1af>
mov    0x18(%rbp),%rax
mov    -0x6c(%rbp),%ecx
shl    $0x2,%ecx
add    -0x64(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x60(%rbp)
movl   $0x0,-0x68(%rbp)
cmpl   $0x13,-0x68(%rbp)
jge    12dc <evaluateGTRGAMMAPROTMULT+0x19c>
mov    0x10(%rbp),%rax
imul   $0x13,-0x6c(%rbp),%ecx
add    -0x68(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mulsd  -0x60(%rbp),%xmm0
mulsd  -0x50(%rbp),%xmm0
call   1050 <exp@plt>
mov    -0x78(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x78(%rbp)
movsd  %xmm0,(%rax)
mov    -0x68(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x68(%rbp)
jmp    128f <evaluateGTRGAMMAPROTMULT+0x14f>
jmp    12e1 <evaluateGTRGAMMAPROTMULT+0x1a1>
mov    -0x64(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x64(%rbp)
jmp    1264 <evaluateGTRGAMMAPROTMULT+0x124>
jmp    12f4 <evaluateGTRGAMMAPROTMULT+0x1b4>
mov    -0x6c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x6c(%rbp)
jmp    11f0 <evaluateGTRGAMMAPROTMULT+0xb0>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x40(%rbp)
cmpq   $0x0,0x30(%rbp)
je     192b <evaluateGTRGAMMAPROTMULT+0x7eb>
mov    0x38(%rbp),%eax
mov    %eax,-0x64(%rbp)
mov    -0x64(%rbp),%eax
cmp    0x40(%rbp),%eax
jge    1913 <evaluateGTRGAMMAPROTMULT+0x7d3>
mov    -0x20(%rbp),%rax
movslq -0x64(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
mov    %eax,-0x6c(%rbp)
mov    0x20(%rbp),%rax
imul   $0x1cc,-0x6c(%rbp),%ecx
mov    0x30(%rbp),%rdx
movslq -0x64(%rbp),%rsi
movsbl (%rdx,%rsi,1),%edx
imul   $0x14,%edx,%edx
add    %edx,%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x88(%rbp)
mov    -0x80(%rbp),%rax
imul   $0x4c,-0x6c(%rbp),%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x78(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x58(%rbp)
movl   $0x0,-0x68(%rbp)
cmpl   $0x4,-0x68(%rbp)
jge    1885 <evaluateGTRGAMMAPROTMULT+0x745>
mov    -0x38(%rbp),%rax
imul   $0x50,-0x64(%rbp),%ecx
imul   $0x14,-0x68(%rbp),%edx
add    %edx,%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x90(%rbp)
mov    -0x88(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x90(%rbp),%rax
movsd  (%rax),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x88(%rbp),%rax
movsd  0x8(%rax),%xmm0
mov    -0x90(%rbp),%rax
mulsd  0x8(%rax),%xmm0
mov    -0x78(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x78(%rbp)
movsd  (%rax),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x88(%rbp),%rax
movsd  0x10(%rax),%xmm0
mov    -0x90(%rbp),%rax
mulsd  0x10(%rax),%xmm0
mov    -0x78(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x78(%rbp)
movsd  (%rax),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x88(%rbp),%rax
movsd  0x18(%rax),%xmm0
mov    -0x90(%rbp),%rax
mulsd  0x18(%rax),%xmm0
mov    -0x78(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x78(%rbp)
movsd  (%rax),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x88(%rbp),%rax
movsd  0x20(%rax),%xmm0
mov    -0x90(%rbp),%rax
mulsd  0x20(%rax),%xmm0
mov    -0x78(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x78(%rbp)
movsd  (%rax),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x88(%rbp),%rax
movsd  0x28(%rax),%xmm0
mov    -0x90(%rbp),%rax
mulsd  0x28(%rax),%xmm0
mov    -0x78(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x78(%rbp)
movsd  (%rax),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x88(%rbp),%rax
movsd  0x30(%rax),%xmm0
mov    -0x90(%rbp),%rax
mulsd  0x30(%rax),%xmm0
mov    -0x78(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x78(%rbp)
movsd  (%rax),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x88(%rbp),%rax
movsd  0x38(%rax),%xmm0
mov    -0x90(%rbp),%rax
mulsd  0x38(%rax),%xmm0
mov    -0x78(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x78(%rbp)
movsd  (%rax),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x88(%rbp),%rax
movsd  0x40(%rax),%xmm0
mov    -0x90(%rbp),%rax
mulsd  0x40(%rax),%xmm0
mov    -0x78(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x78(%rbp)
movsd  (%rax),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x88(%rbp),%rax
movsd  0x48(%rax),%xmm0
mov    -0x90(%rbp),%rax
mulsd  0x48(%rax),%xmm0
mov    -0x78(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x78(%rbp)
movsd  (%rax),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x88(%rbp),%rax
movsd  0x50(%rax),%xmm0
mov    -0x90(%rbp),%rax
mulsd  0x50(%rax),%xmm0
mov    -0x78(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x78(%rbp)
movsd  (%rax),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x88(%rbp),%rax
movsd  0x58(%rax),%xmm0
mov    -0x90(%rbp),%rax
mulsd  0x58(%rax),%xmm0
mov    -0x78(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x78(%rbp)
movsd  (%rax),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x88(%rbp),%rax
movsd  0x60(%rax),%xmm0
mov    -0x90(%rbp),%rax
mulsd  0x60(%rax),%xmm0
mov    -0x78(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x78(%rbp)
movsd  (%rax),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x88(%rbp),%rax
movsd  0x68(%rax),%xmm0
mov    -0x90(%rbp),%rax
mulsd  0x68(%rax),%xmm0
mov    -0x78(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x78(%rbp)
movsd  (%rax),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x88(%rbp),%rax
movsd  0x70(%rax),%xmm0
mov    -0x90(%rbp),%rax
mulsd  0x70(%rax),%xmm0
mov    -0x78(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x78(%rbp)
movsd  (%rax),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x88(%rbp),%rax
movsd  0x78(%rax),%xmm0
mov    -0x90(%rbp),%rax
mulsd  0x78(%rax),%xmm0
mov    -0x78(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x78(%rbp)
movsd  (%rax),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x88(%rbp),%rax
movsd  0x80(%rax),%xmm0
mov    -0x90(%rbp),%rax
mulsd  0x80(%rax),%xmm0
mov    -0x78(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x78(%rbp)
movsd  (%rax),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x88(%rbp),%rax
movsd  0x88(%rax),%xmm0
mov    -0x90(%rbp),%rax
mulsd  0x88(%rax),%xmm0
mov    -0x78(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x78(%rbp)
movsd  (%rax),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x88(%rbp),%rax
movsd  0x90(%rax),%xmm0
mov    -0x90(%rbp),%rax
mulsd  0x90(%rax),%xmm0
mov    -0x78(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x78(%rbp)
movsd  (%rax),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x88(%rbp),%rax
movsd  0x98(%rax),%xmm0
mov    -0x90(%rbp),%rax
mulsd  0x98(%rax),%xmm0
mov    -0x78(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x78(%rbp)
movsd  (%rax),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x68(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x68(%rbp)
jmp    1387 <evaluateGTRGAMMAPROTMULT+0x247>
movsd  0x783(%rip),%xmm0
mulsd  -0x58(%rbp),%xmm0
call   1060 <log@plt>
movsd  %xmm0,-0xa0(%rbp)
ff
mov    -0x18(%rbp),%rax
movslq -0x64(%rbp),%rcx
cvtsi2sdl (%rax,%rcx,4),%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  0x74c(%rip),%xmm0
call   1060 <log@plt>
movsd  -0xa0(%rbp),%xmm1
ff
movaps %xmm0,%xmm2
movsd  -0x98(%rbp),%xmm0
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x28(%rbp),%rax
movslq -0x64(%rbp),%rcx
cvtsi2sdl (%rax,%rcx,4),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x40(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x64(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x64(%rbp)
jmp    131b <evaluateGTRGAMMAPROTMULT+0x1db>
mov    -0x80(%rbp),%rdi
call   1030 <free@plt>
movsd  -0x40(%rbp),%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    1f35 <evaluateGTRGAMMAPROTMULT+0xdf5>
mov    0x38(%rbp),%eax
mov    %eax,-0x64(%rbp)
mov    -0x64(%rbp),%eax
cmp    0x40(%rbp),%eax
jge    1f22 <evaluateGTRGAMMAPROTMULT+0xde2>
mov    -0x80(%rbp),%rax
mov    -0x20(%rbp),%rcx
movslq -0x64(%rbp),%rdx
imul   $0x4c,(%rcx,%rdx,4),%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x78(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x58(%rbp)
movl   $0x0,-0x68(%rbp)
cmpl   $0x4,-0x68(%rbp)
jge    1e87 <evaluateGTRGAMMAPROTMULT+0xd47>
mov    -0x30(%rbp),%rax
imul   $0x50,-0x64(%rbp),%ecx
imul   $0x14,-0x68(%rbp),%edx
add    %edx,%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x88(%rbp)
mov    -0x38(%rbp),%rax
imul   $0x50,-0x64(%rbp),%ecx
imul   $0x14,-0x68(%rbp),%edx
add    %edx,%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x90(%rbp)
mov    -0x88(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x90(%rbp),%rax
movsd  (%rax),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x88(%rbp),%rax
movsd  0x8(%rax),%xmm0
mov    -0x90(%rbp),%rax
mulsd  0x8(%rax),%xmm0
mov    -0x78(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x78(%rbp)
movsd  (%rax),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x88(%rbp),%rax
movsd  0x10(%rax),%xmm0
mov    -0x90(%rbp),%rax
mulsd  0x10(%rax),%xmm0
mov    -0x78(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x78(%rbp)
movsd  (%rax),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x88(%rbp),%rax
movsd  0x18(%rax),%xmm0
mov    -0x90(%rbp),%rax
mulsd  0x18(%rax),%xmm0
mov    -0x78(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x78(%rbp)
movsd  (%rax),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x88(%rbp),%rax
movsd  0x20(%rax),%xmm0
mov    -0x90(%rbp),%rax
mulsd  0x20(%rax),%xmm0
mov    -0x78(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x78(%rbp)
movsd  (%rax),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x88(%rbp),%rax
movsd  0x28(%rax),%xmm0
mov    -0x90(%rbp),%rax
mulsd  0x28(%rax),%xmm0
mov    -0x78(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x78(%rbp)
movsd  (%rax),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x88(%rbp),%rax
movsd  0x30(%rax),%xmm0
mov    -0x90(%rbp),%rax
mulsd  0x30(%rax),%xmm0
mov    -0x78(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x78(%rbp)
movsd  (%rax),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x88(%rbp),%rax
movsd  0x38(%rax),%xmm0
mov    -0x90(%rbp),%rax
mulsd  0x38(%rax),%xmm0
mov    -0x78(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x78(%rbp)
movsd  (%rax),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x88(%rbp),%rax
movsd  0x40(%rax),%xmm0
mov    -0x90(%rbp),%rax
mulsd  0x40(%rax),%xmm0
mov    -0x78(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x78(%rbp)
movsd  (%rax),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x88(%rbp),%rax
movsd  0x48(%rax),%xmm0
mov    -0x90(%rbp),%rax
mulsd  0x48(%rax),%xmm0
mov    -0x78(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x78(%rbp)
movsd  (%rax),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x88(%rbp),%rax
movsd  0x50(%rax),%xmm0
mov    -0x90(%rbp),%rax
mulsd  0x50(%rax),%xmm0
mov    -0x78(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x78(%rbp)
movsd  (%rax),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x88(%rbp),%rax
movsd  0x58(%rax),%xmm0
mov    -0x90(%rbp),%rax
mulsd  0x58(%rax),%xmm0
mov    -0x78(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x78(%rbp)
movsd  (%rax),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x88(%rbp),%rax
movsd  0x60(%rax),%xmm0
mov    -0x90(%rbp),%rax
mulsd  0x60(%rax),%xmm0
mov    -0x78(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x78(%rbp)
movsd  (%rax),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x88(%rbp),%rax
movsd  0x68(%rax),%xmm0
mov    -0x90(%rbp),%rax
mulsd  0x68(%rax),%xmm0
mov    -0x78(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x78(%rbp)
movsd  (%rax),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x88(%rbp),%rax
movsd  0x70(%rax),%xmm0
mov    -0x90(%rbp),%rax
mulsd  0x70(%rax),%xmm0
mov    -0x78(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x78(%rbp)
movsd  (%rax),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x88(%rbp),%rax
movsd  0x78(%rax),%xmm0
mov    -0x90(%rbp),%rax
mulsd  0x78(%rax),%xmm0
mov    -0x78(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x78(%rbp)
movsd  (%rax),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x88(%rbp),%rax
movsd  0x80(%rax),%xmm0
mov    -0x90(%rbp),%rax
mulsd  0x80(%rax),%xmm0
mov    -0x78(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x78(%rbp)
movsd  (%rax),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x88(%rbp),%rax
movsd  0x88(%rax),%xmm0
mov    -0x90(%rbp),%rax
mulsd  0x88(%rax),%xmm0
mov    -0x78(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x78(%rbp)
movsd  (%rax),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x88(%rbp),%rax
movsd  0x90(%rax),%xmm0
mov    -0x90(%rbp),%rax
mulsd  0x90(%rax),%xmm0
mov    -0x78(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x78(%rbp)
movsd  (%rax),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x88(%rbp),%rax
movsd  0x98(%rax),%xmm0
mov    -0x90(%rbp),%rax
mulsd  0x98(%rax),%xmm0
mov    -0x78(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x78(%rbp)
movsd  (%rax),%xmm2
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x68(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x68(%rbp)
jmp    196a <evaluateGTRGAMMAPROTMULT+0x82a>
movsd  0x181(%rip),%xmm0
mulsd  -0x58(%rbp),%xmm0
call   1060 <log@plt>
movsd  %xmm0,-0xb0(%rbp)
ff
mov    -0x10(%rbp),%rax
movslq -0x64(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
mov    -0x18(%rbp),%rcx
movslq -0x64(%rbp),%rdx
add    (%rcx,%rdx,4),%eax
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  0x13d(%rip),%xmm0
call   1060 <log@plt>
movsd  -0xb0(%rbp),%xmm1
ff
movaps %xmm0,%xmm2
movsd  -0xa8(%rbp),%xmm0
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x28(%rbp),%rax
movslq -0x64(%rbp),%rcx
cvtsi2sdl (%rax,%rcx,4),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x40(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x64(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x64(%rbp)
jmp    1931 <evaluateGTRGAMMAPROTMULT+0x7f1>
mov    -0x80(%rbp),%rdi
call   1030 <free@plt>
movsd  -0x40(%rbp),%xmm0
movsd  %xmm0,-0x8(%rbp)
movsd  -0x8(%rbp),%xmm0
add    $0xb0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<evaluateGTRGAMMAPROTMULT>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x68,%rsp
mov    %r9,%rbx
mov    %r8,0x20(%rsp)
mov    %rcx,0x50(%rsp)
mov    %rdx,0x60(%rsp)
mov    %rsi,0x58(%rsp)
mov    %rdi,0x28(%rsp)
mov    0xd8(%rsp),%r14d
xorpd  %xmm0,%xmm0
cmpl   $0x0,0xe0(%rsp)
jne    1199 <evaluateGTRGAMMAPROTMULT+0x59>
movsd  0xe78(%rip),%xmm0
mov    0xb8(%rsp),%rax
maxsd  (%rax),%xmm0
call   1060 <log@plt>
movsd  %xmm0,0x8(%rsp)
movslq %r14d,%rbp
imul   $0x260,%rbp,%rdi
call   1040 <malloc@plt>
movsd  0x8(%rsp),%xmm1
mov    %rax,0x18(%rsp)
test   %ebp,%ebp
jle    1394 <evaluateGTRGAMMAPROTMULT+0x254>
mov    0xa8(%rsp),%r15
mov    %r14d,%eax
mov    %rax,0x30(%rsp)
xor    %ebp,%ebp
xor    %r13d,%r13d
cs nopw 0x0(%rax,%rax,1)
mov    %ebp,%r14d
and    $0x3fffffff,%r14d
shl    $0x5,%r14
add    0x18(%rsp),%r14
cmpl   $0x0,0xe0(%rsp)
je     121c <evaluateGTRGAMMAPROTMULT+0xdc>
movsd  0xdfb(%rip),%xmm0
mov    0xb8(%rsp),%rax
maxsd  (%rax,%r13,8),%xmm0
call   1060 <log@plt>
movapd %xmm0,%xmm1
mov    %rbp,0x48(%rsp)
mov    %ebp,%eax
mov    0xa0(%rsp),%rcx
lea    (%rcx,%rax,8),%r12
mov    %r13,0x40(%rsp)
lea    0x0(,%r13,4),%r13d
movsd  (%r15,%r13,8),%xmm0
movsd  %xmm0,(%rsp)
xor    %ebp,%ebp
movsd  %xmm1,0x8(%rsp)
nop
movsd  (%r12,%rbp,1),%xmm0
mulsd  (%rsp),%xmm0
mulsd  %xmm1,%xmm0
call   1050 <exp@plt>
movsd  0x8(%rsp),%xmm1
movsd  %xmm0,(%r14,%rbp,1)
add    $0x8,%rbp
cmp    $0x98,%rbp
jne    1250 <evaluateGTRGAMMAPROTMULT+0x110>
shl    $0x3,%r13
mov    %r13,0x38(%rsp)
mov    %r13,%rax
or     $0x8,%rax
movsd  (%r15,%rax,1),%xmm0
movsd  %xmm0,(%rsp)
add    %rbp,%r14
mov    $0x13,%r13d
mov    %r12,%r15
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
movsd  (%r15),%xmm0
mulsd  (%rsp),%xmm0
mulsd  %xmm1,%xmm0
call   1050 <exp@plt>
movsd  0x8(%rsp),%xmm1
movsd  %xmm0,(%r14)
add    $0x8,%r14
add    $0x8,%r15
add    $0xffffffffffffffff,%r13
jne    12b0 <evaluateGTRGAMMAPROTMULT+0x170>
mov    0x38(%rsp),%r13
mov    %r13,%rax
or     $0x10,%rax
mov    0xa8(%rsp),%r15
movsd  (%r15,%rax,1),%xmm0
movsd  %xmm0,(%rsp)
xor    %ebp,%ebp
nopl   (%rax)
movsd  (%r12,%rbp,8),%xmm0
mulsd  (%rsp),%xmm0
mulsd  %xmm1,%xmm0
call   1050 <exp@plt>
movsd  0x8(%rsp),%xmm1
movsd  %xmm0,(%r14)
add    $0x8,%r14
add    $0x1,%rbp
cmp    $0x13,%rbp
jne    1300 <evaluateGTRGAMMAPROTMULT+0x1c0>
or     $0x18,%r13
movsd  (%r15,%r13,1),%xmm0
movsd  %xmm0,(%rsp)
xor    %ebp,%ebp
mov    0x40(%rsp),%r13
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movsd  (%r12,%rbp,8),%xmm0
mulsd  (%rsp),%xmm0
mulsd  %xmm1,%xmm0
call   1050 <exp@plt>
movsd  0x8(%rsp),%xmm1
movsd  %xmm0,(%r14)
add    $0x8,%r14
add    $0x1,%rbp
cmp    $0x13,%rbp
jne    1350 <evaluateGTRGAMMAPROTMULT+0x210>
add    $0x1,%r13
mov    0x48(%rsp),%rbp
add    $0x13,%ebp
cmp    0x30(%rsp),%r13
jne    11e0 <evaluateGTRGAMMAPROTMULT+0xa0>
mov    0xd0(%rsp),%eax
mov    0xc8(%rsp),%ecx
xorpd  %xmm1,%xmm1
cmpq   $0x0,0xc0(%rsp)
je     16ef <evaluateGTRGAMMAPROTMULT+0x5af>
cmp    %eax,%ecx
mov    0x50(%rsp),%r12
jge    19a7 <evaluateGTRGAMMAPROTMULT+0x867>
mov    0xb0(%rsp),%rbp
movslq %ecx,%r14
movslq %eax,%r15
lea    (%r14,%r14,4),%rax
shl    $0x7,%rax
add    %rax,%rbx
xorpd  %xmm1,%xmm1
nop
movsd  %xmm1,0x10(%rsp)
mov    0x60(%rsp),%rax
movslq (%rax,%r14,4),%rax
imul   $0x1cc,%rax,%rcx
mov    0xc0(%rsp),%rdx
movsbq (%rdx,%r14,1),%rdx
lea    (%rdx,%rdx,4),%rdx
lea    (%rcx,%rdx,4),%rdx
imul   $0x260,%rax,%rax
add    0x18(%rsp),%rax
movsd  0x0(%rbp,%rdx,8),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0x8(%rbp,%rdx,8),%xmm0
movsd  %xmm0,(%rsp)
movsd  0x10(%rbp,%rdx,8),%xmm0
movsd  %xmm0,0x48(%rsp)
movsd  0x18(%rbp,%rdx,8),%xmm0
movsd  %xmm0,0x40(%rsp)
movsd  0x20(%rbp,%rdx,8),%xmm0
movsd  %xmm0,0x38(%rsp)
movsd  0x28(%rbp,%rdx,8),%xmm0
movsd  %xmm0,0x30(%rsp)
movsd  0x30(%rbp,%rdx,8),%xmm0
movsd  %xmm0,0x28(%rsp)
movsd  0x38(%rbp,%rdx,8),%xmm0
movsd  %xmm0,0x20(%rsp)
movsd  0x40(%rbp,%rdx,8),%xmm14
movsd  0x48(%rbp,%rdx,8),%xmm15
movsd  0x50(%rbp,%rdx,8),%xmm4
movsd  0x58(%rbp,%rdx,8),%xmm5
movsd  0x60(%rbp,%rdx,8),%xmm6
movsd  0x68(%rbp,%rdx,8),%xmm7
movsd  0x70(%rbp,%rdx,8),%xmm1
movsd  0x78(%rbp,%rdx,8),%xmm8
mov    $0x98,%ecx
movsd  0x80(%rbp,%rdx,8),%xmm9
movsd  0x88(%rbp,%rdx,8),%xmm10
movsd  0x90(%rbp,%rdx,8),%xmm11
movsd  0x98(%rbp,%rdx,8),%xmm12
xorpd  %xmm0,%xmm0
nopw   0x0(%rax,%rax,1)
movsd  -0x98(%rbx,%rcx,1),%xmm13
ff ff ff
mulsd  0x8(%rsp),%xmm13
addsd  %xmm0,%xmm13
movsd  -0x90(%rbx,%rcx,1),%xmm0
ff ff
mulsd  (%rsp),%xmm0
mulsd  (%rax),%xmm0
addsd  %xmm13,%xmm0
movsd  -0x88(%rbx,%rcx,1),%xmm2
ff ff
mulsd  0x48(%rsp),%xmm2
mulsd  0x8(%rax),%xmm2
addsd  %xmm0,%xmm2
movsd  -0x80(%rbx,%rcx,1),%xmm0
mulsd  0x40(%rsp),%xmm0
mulsd  0x10(%rax),%xmm0
movsd  -0x78(%rbx,%rcx,1),%xmm3
mulsd  0x38(%rsp),%xmm3
mulsd  0x18(%rax),%xmm3
addsd  %xmm2,%xmm0
addsd  %xmm0,%xmm3
movsd  -0x70(%rbx,%rcx,1),%xmm0
mulsd  0x30(%rsp),%xmm0
mulsd  0x20(%rax),%xmm0
addsd  %xmm3,%xmm0
movsd  -0x68(%rbx,%rcx,1),%xmm2
mulsd  0x28(%rsp),%xmm2
mulsd  0x28(%rax),%xmm2
addsd  %xmm0,%xmm2
movsd  -0x60(%rbx,%rcx,1),%xmm0
mulsd  0x20(%rsp),%xmm0
mulsd  0x30(%rax),%xmm0
movsd  -0x58(%rbx,%rcx,1),%xmm3
mulsd  %xmm14,%xmm3
mulsd  0x38(%rax),%xmm3
addsd  %xmm2,%xmm0
addsd  %xmm0,%xmm3
movsd  -0x50(%rbx,%rcx,1),%xmm0
mulsd  %xmm15,%xmm0
mulsd  0x40(%rax),%xmm0
addsd  %xmm3,%xmm0
movsd  -0x48(%rbx,%rcx,1),%xmm2
mulsd  %xmm4,%xmm2
mulsd  0x48(%rax),%xmm2
addsd  %xmm0,%xmm2
movsd  -0x40(%rbx,%rcx,1),%xmm0
mulsd  %xmm5,%xmm0
mulsd  0x50(%rax),%xmm0
movsd  -0x38(%rbx,%rcx,1),%xmm3
mulsd  %xmm6,%xmm3
mulsd  0x58(%rax),%xmm3
addsd  %xmm2,%xmm0
addsd  %xmm0,%xmm3
movsd  -0x30(%rbx,%rcx,1),%xmm0
mulsd  %xmm7,%xmm0
mulsd  0x60(%rax),%xmm0
addsd  %xmm3,%xmm0
movsd  -0x28(%rbx,%rcx,1),%xmm2
mulsd  %xmm1,%xmm2
mulsd  0x68(%rax),%xmm2
addsd  %xmm0,%xmm2
movsd  -0x20(%rbx,%rcx,1),%xmm0
mulsd  %xmm8,%xmm0
mulsd  0x70(%rax),%xmm0
movsd  -0x18(%rbx,%rcx,1),%xmm3
mulsd  %xmm9,%xmm3
mulsd  0x78(%rax),%xmm3
addsd  %xmm2,%xmm0
addsd  %xmm0,%xmm3
movsd  -0x10(%rbx,%rcx,1),%xmm0
mulsd  %xmm10,%xmm0
mulsd  0x80(%rax),%xmm0
addsd  %xmm3,%xmm0
movsd  -0x8(%rbx,%rcx,1),%xmm2
mulsd  %xmm11,%xmm2
mulsd  0x88(%rax),%xmm2
addsd  %xmm0,%xmm2
movsd  (%rbx,%rcx,1),%xmm0
mulsd  %xmm12,%xmm0
mulsd  0x90(%rax),%xmm0
addsd  %xmm2,%xmm0
add    $0xa0,%rcx
add    $0x98,%rax
cmp    $0x318,%rcx
jne    14e0 <evaluateGTRGAMMAPROTMULT+0x3a0>
mulsd  0x965(%rip),%xmm0
call   1060 <log@plt>
mov    0x58(%rsp),%rax
cvtsi2sdl (%rax,%r14,4),%xmm1
mulsd  0x955(%rip),%xmm1
addsd  %xmm0,%xmm1
xorps  %xmm0,%xmm0
cvtsi2sdl (%r12,%r14,4),%xmm0
mulsd  %xmm1,%xmm0
movsd  0x10(%rsp),%xmm1
addsd  %xmm0,%xmm1
add    $0x1,%r14
add    $0x280,%rbx
cmp    %r15,%r14
jne    13e0 <evaluateGTRGAMMAPROTMULT+0x2a0>
jmp    19a7 <evaluateGTRGAMMAPROTMULT+0x867>
cmp    %eax,%ecx
mov    0x50(%rsp),%r12
jge    19a7 <evaluateGTRGAMMAPROTMULT+0x867>
movslq %ecx,%rbp
movslq %eax,%r15
lea    0x0(,%rbp,4),%rax
add    %rbp,%rax
shl    $0x7,%rax
mov    0x20(%rsp),%rcx
lea    (%rcx,%rax,1),%r14
add    $0x98,%r14
add    %rax,%rbx
add    $0x98,%rbx
xorpd  %xmm1,%xmm1
nop
movsd  %xmm1,0x10(%rsp)
mov    0x60(%rsp),%rax
movslq (%rax,%rbp,4),%rax
imul   $0x260,%rax,%rax
add    0x18(%rsp),%rax
xor    %ecx,%ecx
xorpd  %xmm0,%xmm0
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movsd  -0x98(%r14,%rcx,1),%xmm1
ff ff ff
movsd  -0x90(%r14,%rcx,1),%xmm2
ff ff ff
mulsd  -0x98(%rbx,%rcx,1),%xmm1
ff ff
addsd  %xmm0,%xmm1
mulsd  -0x90(%rbx,%rcx,1),%xmm2
ff ff
mulsd  (%rax),%xmm2
addsd  %xmm1,%xmm2
movsd  -0x88(%r14,%rcx,1),%xmm0
ff ff ff
mulsd  -0x88(%rbx,%rcx,1),%xmm0
ff ff
mulsd  0x8(%rax),%xmm0
addsd  %xmm2,%xmm0
movsd  -0x80(%r14,%rcx,1),%xmm1
mulsd  -0x80(%rbx,%rcx,1),%xmm1
mulsd  0x10(%rax),%xmm1
addsd  %xmm0,%xmm1
movsd  -0x78(%r14,%rcx,1),%xmm0
mulsd  -0x78(%rbx,%rcx,1),%xmm0
mulsd  0x18(%rax),%xmm0
addsd  %xmm1,%xmm0
movsd  -0x70(%r14,%rcx,1),%xmm1
mulsd  -0x70(%rbx,%rcx,1),%xmm1
mulsd  0x20(%rax),%xmm1
addsd  %xmm0,%xmm1
movsd  -0x68(%r14,%rcx,1),%xmm0
mulsd  -0x68(%rbx,%rcx,1),%xmm0
mulsd  0x28(%rax),%xmm0
addsd  %xmm1,%xmm0
movsd  -0x60(%r14,%rcx,1),%xmm1
mulsd  -0x60(%rbx,%rcx,1),%xmm1
mulsd  0x30(%rax),%xmm1
addsd  %xmm0,%xmm1
movsd  -0x58(%r14,%rcx,1),%xmm0
mulsd  -0x58(%rbx,%rcx,1),%xmm0
mulsd  0x38(%rax),%xmm0
addsd  %xmm1,%xmm0
movsd  -0x50(%r14,%rcx,1),%xmm1
mulsd  -0x50(%rbx,%rcx,1),%xmm1
mulsd  0x40(%rax),%xmm1
addsd  %xmm0,%xmm1
movsd  -0x48(%r14,%rcx,1),%xmm0
mulsd  -0x48(%rbx,%rcx,1),%xmm0
mulsd  0x48(%rax),%xmm0
addsd  %xmm1,%xmm0
movsd  -0x40(%r14,%rcx,1),%xmm1
mulsd  -0x40(%rbx,%rcx,1),%xmm1
mulsd  0x50(%rax),%xmm1
addsd  %xmm0,%xmm1
movsd  -0x38(%r14,%rcx,1),%xmm0
mulsd  -0x38(%rbx,%rcx,1),%xmm0
mulsd  0x58(%rax),%xmm0
addsd  %xmm1,%xmm0
movsd  -0x30(%r14,%rcx,1),%xmm1
mulsd  -0x30(%rbx,%rcx,1),%xmm1
mulsd  0x60(%rax),%xmm1
addsd  %xmm0,%xmm1
movsd  -0x28(%r14,%rcx,1),%xmm0
mulsd  -0x28(%rbx,%rcx,1),%xmm0
mulsd  0x68(%rax),%xmm0
addsd  %xmm1,%xmm0
movsd  -0x20(%r14,%rcx,1),%xmm1
mulsd  -0x20(%rbx,%rcx,1),%xmm1
mulsd  0x70(%rax),%xmm1
addsd  %xmm0,%xmm1
movsd  -0x18(%r14,%rcx,1),%xmm0
mulsd  -0x18(%rbx,%rcx,1),%xmm0
mulsd  0x78(%rax),%xmm0
addsd  %xmm1,%xmm0
movsd  -0x10(%r14,%rcx,1),%xmm1
mulsd  -0x10(%rbx,%rcx,1),%xmm1
mulsd  0x80(%rax),%xmm1
addsd  %xmm0,%xmm1
movsd  -0x8(%r14,%rcx,1),%xmm2
mulsd  -0x8(%rbx,%rcx,1),%xmm2
mulsd  0x88(%rax),%xmm2
addsd  %xmm1,%xmm2
movsd  (%r14,%rcx,1),%xmm0
mulsd  (%rbx,%rcx,1),%xmm0
mulsd  0x90(%rax),%xmm0
addsd  %xmm2,%xmm0
add    $0xa0,%rcx
add    $0x98,%rax
cmp    $0x280,%rcx
jne    1760 <evaluateGTRGAMMAPROTMULT+0x620>
mulsd  0x6bb(%rip),%xmm0
call   1060 <log@plt>
mov    0x58(%rsp),%rax
mov    (%rax,%rbp,4),%eax
mov    0x28(%rsp),%rcx
add    (%rcx,%rbp,4),%eax
xorps  %xmm1,%xmm1
cvtsi2sd %eax,%xmm1
mulsd  0x69f(%rip),%xmm1
addsd  %xmm0,%xmm1
xorps  %xmm0,%xmm0
cvtsi2sdl (%r12,%rbp,4),%xmm0
mulsd  %xmm1,%xmm0
movsd  0x10(%rsp),%xmm1
addsd  %xmm0,%xmm1
add    $0x1,%rbp
add    $0x280,%r14
add    $0x280,%rbx
cmp    %r15,%rbp
jne    1730 <evaluateGTRGAMMAPROTMULT+0x5f0>
movsd  %xmm1,0x10(%rsp)
mov    0x18(%rsp),%rdi
call   1030 <free@plt>
movsd  0x10(%rsp),%xmm0
add    $0x68,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define double @evaluateGTRGAMMAPROTMULT(i32* %0, i32* %1, i32* %2, i32* %3, double* %4, double* %5, double* %6, double* %7, double* %8, double* %9, i8* %10, i32 %11, i32 %12, i32 %13, i32 %14) {
%16 = alloca double
%17 = alloca i32*
%18 = alloca i32*
%19 = alloca i32*
%20 = alloca i32*
%21 = alloca double*
%22 = alloca double*
%23 = alloca double*
%24 = alloca double*
%25 = alloca double*
%26 = alloca double*
%27 = alloca i8*
%28 = alloca i32
%29 = alloca i32
%30 = alloca i32
%31 = alloca i32
%32 = alloca double
%33 = alloca double
%34 = alloca double
%35 = alloca double
%36 = alloca double
%37 = alloca i32
%38 = alloca i32
%39 = alloca i32
%40 = alloca double*
%41 = alloca double*
%42 = alloca double*
%43 = alloca double*
store i32* %0, i32** %17
store i32* %1, i32** %18
store i32* %2, i32** %19
store i32* %3, i32** %20
store double* %4, double** %21
store double* %5, double** %22
store double* %6, double** %23
store double* %7, double** %24
store double* %8, double** %25
store double* %9, double** %26
store i8* %10, i8** %27
store i32 %11, i32* %28
store i32 %12, i32* %29
store i32 %13, i32* %30
store i32 %14, i32* %31
store double 0.000000e+00, double* %34
%44 = load i32, i32* %31
%45 = icmp ne i32 %44, 0
br i1 %45, label %56, label %46
46: ; preds = %15
%47 = load double*, double** %26
%48 = getelementptr inbounds double, double* %47, i64 0
%49 = load double, double* %48
store double %49, double* %33
%50 = load double, double* %33
%51 = fcmp olt double %50, 1.000000e-15
br i1 %51, label %52, label %53
52: ; preds = %46
store double 1.000000e-15, double* %33
br label %53
53: ; preds = %52, %46
%54 = load double, double* %33
%55 = call double @log(double %54)
store double %55, double* %34
br label %56
56: ; preds = %53, %15
%57 = load i32, i32* %30
%58 = sext i32 %57 to i64
%59 = mul i64 608, %58
%60 = call i8* @malloc(i64 %59)
%61 = bitcast i8* %60 to double*
store double* %61, double** %41
store double* %61, double** %40
store i32 0, i32* %39
br label %62
62: ; preds = %126, %56
%63 = load i32, i32* %39
%64 = load i32, i32* %30
%65 = icmp slt i32 %63, %64
br i1 %65, label %66, label %129
66: ; preds = %62
%67 = load i32, i32* %31
%68 = icmp ne i32 %67, 0
br i1 %68, label %69, label %81
69: ; preds = %66
%70 = load double*, double** %26
%71 = load i32, i32* %39
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds double, double* %70, i64 %72
%74 = load double, double* %73
store double %74, double* %33
%75 = load double, double* %33
%76 = fcmp olt double %75, 1.000000e-15
br i1 %76, label %77, label %78
77: ; preds = %69
store double 1.000000e-15, double* %33
br label %78
78: ; preds = %77, %69
%79 = load double, double* %33
%80 = call double @log(double %79)
store double %80, double* %34
br label %81
81: ; preds = %78, %66
%82 = load double*, double** %41
%83 = load i32, i32* %39
%84 = mul nsw i32 76, %83
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds double, double* %82, i64 %85
store double* %86, double** %40
store i32 0, i32* %37
br label %87
87: ; preds = %122, %81
%88 = load i32, i32* %37
%89 = icmp slt i32 %88, 4
br i1 %89, label %90, label %125
90: ; preds = %87
%91 = load double*, double** %24
%92 = load i32, i32* %39
%93 = mul nsw i32 %92, 4
%94 = load i32, i32* %37
%95 = add nsw i32 %93, %94
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds double, double* %91, i64 %96
%98 = load double, double* %97
store double %98, double* %36
store i32 0, i32* %38
br label %99
99: ; preds = %118, %90
%100 = load i32, i32* %38
%101 = icmp slt i32 %100, 19
br i1 %101, label %102, label %121
102: ; preds = %99
%103 = load double*, double** %23
%104 = load i32, i32* %39
%105 = mul nsw i32 %104, 19
%106 = load i32, i32* %38
%107 = add nsw i32 %105, %106
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds double, double* %103, i64 %108
%110 = load double, double* %109
%111 = load double, double* %36
%112 = fmul double %110, %111
%113 = load double, double* %34
%114 = fmul double %112, %113
%115 = call double @exp(double %114)
%116 = load double*, double** %40
%117 = getelementptr inbounds double, double* %116, i32 1
store double* %117, double** %40
store double %115, double* %116
br label %118
118: ; preds = %102
%119 = load i32, i32* %38
%120 = add nsw i32 %119, 1
store i32 %120, i32* %38
br label %99
121: ; preds = %99
br label %122
122: ; preds = %121
%123 = load i32, i32* %37
%124 = add nsw i32 %123, 1
store i32 %124, i32* %37
br label %87
125: ; preds = %87
br label %126
126: ; preds = %125
%127 = load i32, i32* %39
%128 = add nsw i32 %127, 1
store i32 %128, i32* %39
br label %62
129: ; preds = %62
store double 0.000000e+00, double* %32
%130 = load i8*, i8** %27
%131 = icmp ne i8* %130, null
br i1 %131, label %132, label %441
132: ; preds = %129
%133 = load i32, i32* %28
store i32 %133, i32* %37
br label %134
134: ; preds = %434, %132
%135 = load i32, i32* %37
%136 = load i32, i32* %29
%137 = icmp slt i32 %135, %136
br i1 %137, label %138, label %437
138: ; preds = %134
%139 = load i32*, i32** %19
%140 = load i32, i32* %37
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds i32, i32* %139, i64 %141
%143 = load i32, i32* %142
store i32 %143, i32* %39
%144 = load double*, double** %25
%145 = load i32, i32* %39
%146 = mul nsw i32 460, %145
%147 = load i8*, i8** %27
%148 = load i32, i32* %37
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds i8, i8* %147, i64 %149
%151 = load i8, i8* %150
%152 = sext i8 %151 to i32
%153 = mul nsw i32 20, %152
%154 = add nsw i32 %146, %153
%155 = sext i32 %154 to i64
%156 = getelementptr inbounds double, double* %144, i64 %155
store double* %156, double** %42
%157 = load double*, double** %41
%158 = load i32, i32* %39
%159 = mul nsw i32 76, %158
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds double, double* %157, i64 %160
store double* %161, double** %40
store double 0.000000e+00, double* %35
store i32 0, i32* %38
br label %162
162: ; preds = %410, %138
%163 = load i32, i32* %38
%164 = icmp slt i32 %163, 4
br i1 %164, label %165, label %413
165: ; preds = %162
%166 = load double*, double** %22
%167 = load i32, i32* %37
%168 = mul nsw i32 80, %167
%169 = load i32, i32* %38
%170 = mul nsw i32 20, %169
%171 = add nsw i32 %168, %170
%172 = sext i32 %171 to i64
%173 = getelementptr inbounds double, double* %166, i64 %172
store double* %173, double** %43
%174 = load double*, double** %42
%175 = getelementptr inbounds double, double* %174, i64 0
%176 = load double, double* %175
%177 = load double*, double** %43
%178 = getelementptr inbounds double, double* %177, i64 0
%179 = load double, double* %178
%180 = load double, double* %35
%181 = call double @llvm.fmuladd.f64(double %176, double %179, double %180)
store double %181, double* %35
%182 = load double*, double** %42
%183 = getelementptr inbounds double, double* %182, i64 1
%184 = load double, double* %183
%185 = load double*, double** %43
%186 = getelementptr inbounds double, double* %185, i64 1
%187 = load double, double* %186
%188 = fmul double %184, %187
%189 = load double*, double** %40
%190 = getelementptr inbounds double, double* %189, i32 1
store double* %190, double** %40
%191 = load double, double* %189
%192 = load double, double* %35
%193 = call double @llvm.fmuladd.f64(double %188, double %191, double %192)
store double %193, double* %35
%194 = load double*, double** %42
%195 = getelementptr inbounds double, double* %194, i64 2
%196 = load double, double* %195
%197 = load double*, double** %43
%198 = getelementptr inbounds double, double* %197, i64 2
%199 = load double, double* %198
%200 = fmul double %196, %199
%201 = load double*, double** %40
%202 = getelementptr inbounds double, double* %201, i32 1
store double* %202, double** %40
%203 = load double, double* %201
%204 = load double, double* %35
%205 = call double @llvm.fmuladd.f64(double %200, double %203, double %204)
store double %205, double* %35
%206 = load double*, double** %42
%207 = getelementptr inbounds double, double* %206, i64 3
%208 = load double, double* %207
%209 = load double*, double** %43
%210 = getelementptr inbounds double, double* %209, i64 3
%211 = load double, double* %210
%212 = fmul double %208, %211
%213 = load double*, double** %40
%214 = getelementptr inbounds double, double* %213, i32 1
store double* %214, double** %40
%215 = load double, double* %213
%216 = load double, double* %35
%217 = call double @llvm.fmuladd.f64(double %212, double %215, double %216)
store double %217, double* %35
%218 = load double*, double** %42
%219 = getelementptr inbounds double, double* %218, i64 4
%220 = load double, double* %219
%221 = load double*, double** %43
%222 = getelementptr inbounds double, double* %221, i64 4
%223 = load double, double* %222
%224 = fmul double %220, %223
%225 = load double*, double** %40
%226 = getelementptr inbounds double, double* %225, i32 1
store double* %226, double** %40
%227 = load double, double* %225
%228 = load double, double* %35
%229 = call double @llvm.fmuladd.f64(double %224, double %227, double %228)
store double %229, double* %35
%230 = load double*, double** %42
%231 = getelementptr inbounds double, double* %230, i64 5
%232 = load double, double* %231
%233 = load double*, double** %43
%234 = getelementptr inbounds double, double* %233, i64 5
%235 = load double, double* %234
%236 = fmul double %232, %235
%237 = load double*, double** %40
%238 = getelementptr inbounds double, double* %237, i32 1
store double* %238, double** %40
%239 = load double, double* %237
%240 = load double, double* %35
%241 = call double @llvm.fmuladd.f64(double %236, double %239, double %240)
store double %241, double* %35
%242 = load double*, double** %42
%243 = getelementptr inbounds double, double* %242, i64 6
%244 = load double, double* %243
%245 = load double*, double** %43
%246 = getelementptr inbounds double, double* %245, i64 6
%247 = load double, double* %246
%248 = fmul double %244, %247
%249 = load double*, double** %40
%250 = getelementptr inbounds double, double* %249, i32 1
store double* %250, double** %40
%251 = load double, double* %249
%252 = load double, double* %35
%253 = call double @llvm.fmuladd.f64(double %248, double %251, double %252)
store double %253, double* %35
%254 = load double*, double** %42
%255 = getelementptr inbounds double, double* %254, i64 7
%256 = load double, double* %255
%257 = load double*, double** %43
%258 = getelementptr inbounds double, double* %257, i64 7
%259 = load double, double* %258
%260 = fmul double %256, %259
%261 = load double*, double** %40
%262 = getelementptr inbounds double, double* %261, i32 1
store double* %262, double** %40
%263 = load double, double* %261
%264 = load double, double* %35
%265 = call double @llvm.fmuladd.f64(double %260, double %263, double %264)
store double %265, double* %35
%266 = load double*, double** %42
%267 = getelementptr inbounds double, double* %266, i64 8
%268 = load double, double* %267
%269 = load double*, double** %43
%270 = getelementptr inbounds double, double* %269, i64 8
%271 = load double, double* %270
%272 = fmul double %268, %271
%273 = load double*, double** %40
%274 = getelementptr inbounds double, double* %273, i32 1
store double* %274, double** %40
%275 = load double, double* %273
%276 = load double, double* %35
%277 = call double @llvm.fmuladd.f64(double %272, double %275, double %276)
store double %277, double* %35
%278 = load double*, double** %42
%279 = getelementptr inbounds double, double* %278, i64 9
%280 = load double, double* %279
%281 = load double*, double** %43
%282 = getelementptr inbounds double, double* %281, i64 9
%283 = load double, double* %282
%284 = fmul double %280, %283
%285 = load double*, double** %40
%286 = getelementptr inbounds double, double* %285, i32 1
store double* %286, double** %40
%287 = load double, double* %285
%288 = load double, double* %35
%289 = call double @llvm.fmuladd.f64(double %284, double %287, double %288)
store double %289, double* %35
%290 = load double*, double** %42
%291 = getelementptr inbounds double, double* %290, i64 10
%292 = load double, double* %291
%293 = load double*, double** %43
%294 = getelementptr inbounds double, double* %293, i64 10
%295 = load double, double* %294
%296 = fmul double %292, %295
%297 = load double*, double** %40
%298 = getelementptr inbounds double, double* %297, i32 1
store double* %298, double** %40
%299 = load double, double* %297
%300 = load double, double* %35
%301 = call double @llvm.fmuladd.f64(double %296, double %299, double %300)
store double %301, double* %35
%302 = load double*, double** %42
%303 = getelementptr inbounds double, double* %302, i64 11
%304 = load double, double* %303
%305 = load double*, double** %43
%306 = getelementptr inbounds double, double* %305, i64 11
%307 = load double, double* %306
%308 = fmul double %304, %307
%309 = load double*, double** %40
%310 = getelementptr inbounds double, double* %309, i32 1
store double* %310, double** %40
%311 = load double, double* %309
%312 = load double, double* %35
%313 = call double @llvm.fmuladd.f64(double %308, double %311, double %312)
store double %313, double* %35
%314 = load double*, double** %42
%315 = getelementptr inbounds double, double* %314, i64 12
%316 = load double, double* %315
%317 = load double*, double** %43
%318 = getelementptr inbounds double, double* %317, i64 12
%319 = load double, double* %318
%320 = fmul double %316, %319
%321 = load double*, double** %40
%322 = getelementptr inbounds double, double* %321, i32 1
store double* %322, double** %40
%323 = load double, double* %321
%324 = load double, double* %35
%325 = call double @llvm.fmuladd.f64(double %320, double %323, double %324)
store double %325, double* %35
%326 = load double*, double** %42
%327 = getelementptr inbounds double, double* %326, i64 13
%328 = load double, double* %327
%329 = load double*, double** %43
%330 = getelementptr inbounds double, double* %329, i64 13
%331 = load double, double* %330
%332 = fmul double %328, %331
%333 = load double*, double** %40
%334 = getelementptr inbounds double, double* %333, i32 1
store double* %334, double** %40
%335 = load double, double* %333
%336 = load double, double* %35
%337 = call double @llvm.fmuladd.f64(double %332, double %335, double %336)
store double %337, double* %35
%338 = load double*, double** %42
%339 = getelementptr inbounds double, double* %338, i64 14
%340 = load double, double* %339
%341 = load double*, double** %43
%342 = getelementptr inbounds double, double* %341, i64 14
%343 = load double, double* %342
%344 = fmul double %340, %343
%345 = load double*, double** %40
%346 = getelementptr inbounds double, double* %345, i32 1
store double* %346, double** %40
%347 = load double, double* %345
%348 = load double, double* %35
%349 = call double @llvm.fmuladd.f64(double %344, double %347, double %348)
store double %349, double* %35
%350 = load double*, double** %42
%351 = getelementptr inbounds double, double* %350, i64 15
%352 = load double, double* %351
%353 = load double*, double** %43
%354 = getelementptr inbounds double, double* %353, i64 15
%355 = load double, double* %354
%356 = fmul double %352, %355
%357 = load double*, double** %40
%358 = getelementptr inbounds double, double* %357, i32 1
store double* %358, double** %40
%359 = load double, double* %357
%360 = load double, double* %35
%361 = call double @llvm.fmuladd.f64(double %356, double %359, double %360)
store double %361, double* %35
%362 = load double*, double** %42
%363 = getelementptr inbounds double, double* %362, i64 16
%364 = load double, double* %363
%365 = load double*, double** %43
%366 = getelementptr inbounds double, double* %365, i64 16
%367 = load double, double* %366
%368 = fmul double %364, %367
%369 = load double*, double** %40
%370 = getelementptr inbounds double, double* %369, i32 1
store double* %370, double** %40
%371 = load double, double* %369
%372 = load double, double* %35
%373 = call double @llvm.fmuladd.f64(double %368, double %371, double %372)
store double %373, double* %35
%374 = load double*, double** %42
%375 = getelementptr inbounds double, double* %374, i64 17
%376 = load double, double* %375
%377 = load double*, double** %43
%378 = getelementptr inbounds double, double* %377, i64 17
%379 = load double, double* %378
%380 = fmul double %376, %379
%381 = load double*, double** %40
%382 = getelementptr inbounds double, double* %381, i32 1
store double* %382, double** %40
%383 = load double, double* %381
%384 = load double, double* %35
%385 = call double @llvm.fmuladd.f64(double %380, double %383, double %384)
store double %385, double* %35
%386 = load double*, double** %42
%387 = getelementptr inbounds double, double* %386, i64 18
%388 = load double, double* %387
%389 = load double*, double** %43
%390 = getelementptr inbounds double, double* %389, i64 18
%391 = load double, double* %390
%392 = fmul double %388, %391
%393 = load double*, double** %40
%394 = getelementptr inbounds double, double* %393, i32 1
store double* %394, double** %40
%395 = load double, double* %393
%396 = load double, double* %35
%397 = call double @llvm.fmuladd.f64(double %392, double %395, double %396)
store double %397, double* %35
%398 = load double*, double** %42
%399 = getelementptr inbounds double, double* %398, i64 19
%400 = load double, double* %399
%401 = load double*, double** %43
%402 = getelementptr inbounds double, double* %401, i64 19
%403 = load double, double* %402
%404 = fmul double %400, %403
%405 = load double*, double** %40
%406 = getelementptr inbounds double, double* %405, i32 1
store double* %406, double** %40
%407 = load double, double* %405
%408 = load double, double* %35
%409 = call double @llvm.fmuladd.f64(double %404, double %407, double %408)
store double %409, double* %35
br label %410
410: ; preds = %165
%411 = load i32, i32* %38
%412 = add nsw i32 %411, 1
store i32 %412, i32* %38
br label %162
413: ; preds = %162
%414 = load double, double* %35
%415 = fmul double 2.500000e-01, %414
%416 = call double @log(double %415)
%417 = load i32*, i32** %18
%418 = load i32, i32* %37
%419 = sext i32 %418 to i64
%420 = getelementptr inbounds i32, i32* %417, i64 %419
%421 = load i32, i32* %420
%422 = sitofp i32 %421 to double
%423 = call double @log(double 0x2FF0000000000000)
%424 = call double @llvm.fmuladd.f64(double %422, double %423, double %416)
store double %424, double* %35
%425 = load i32*, i32** %20
%426 = load i32, i32* %37
%427 = sext i32 %426 to i64
%428 = getelementptr inbounds i32, i32* %425, i64 %427
%429 = load i32, i32* %428
%430 = sitofp i32 %429 to double
%431 = load double, double* %35
%432 = load double, double* %32
%433 = call double @llvm.fmuladd.f64(double %430, double %431, double %432)
store double %433, double* %32
br label %434
434: ; preds = %413
%435 = load i32, i32* %37
%436 = add nsw i32 %435, 1
store i32 %436, i32* %37
br label %134
437: ; preds = %134
%438 = load double*, double** %41
%439 = bitcast double* %438 to i8*
%440 = load double, double* %32
store double %440, double* %16
br label %750
441: ; preds = %129
%442 = load i32, i32* %28
store i32 %442, i32* %37
br label %443
443: ; preds = %743, %441
%444 = load i32, i32* %37
%445 = load i32, i32* %29
%446 = icmp slt i32 %444, %445
br i1 %446, label %447, label %746
447: ; preds = %443
%448 = load double*, double** %41
%449 = load i32*, i32** %19
%450 = load i32, i32* %37
%451 = sext i32 %450 to i64
%452 = getelementptr inbounds i32, i32* %449, i64 %451
%453 = load i32, i32* %452
%454 = mul nsw i32 76, %453
%455 = sext i32 %454 to i64
%456 = getelementptr inbounds double, double* %448, i64 %455
store double* %456, double** %40
store double 0.000000e+00, double* %35
store i32 0, i32* %38
br label %457
457: ; preds = %713, %447
%458 = load i32, i32* %38
%459 = icmp slt i32 %458, 4
br i1 %459, label %460, label %716
460: ; preds = %457
%461 = load double*, double** %21
%462 = load i32, i32* %37
%463 = mul nsw i32 80, %462
%464 = load i32, i32* %38
%465 = mul nsw i32 20, %464
%466 = add nsw i32 %463, %465
%467 = sext i32 %466 to i64
%468 = getelementptr inbounds double, double* %461, i64 %467
store double* %468, double** %42
%469 = load double*, double** %22
%470 = load i32, i32* %37
%471 = mul nsw i32 80, %470
%472 = load i32, i32* %38
%473 = mul nsw i32 20, %472
%474 = add nsw i32 %471, %473
%475 = sext i32 %474 to i64
%476 = getelementptr inbounds double, double* %469, i64 %475
store double* %476, double** %43
%477 = load double*, double** %42
%478 = getelementptr inbounds double, double* %477, i64 0
%479 = load double, double* %478
%480 = load double*, double** %43
%481 = getelementptr inbounds double, double* %480, i64 0
%482 = load double, double* %481
%483 = load double, double* %35
%484 = call double @llvm.fmuladd.f64(double %479, double %482, double %483)
store double %484, double* %35
%485 = load double*, double** %42
%486 = getelementptr inbounds double, double* %485, i64 1
%487 = load double, double* %486
%488 = load double*, double** %43
%489 = getelementptr inbounds double, double* %488, i64 1
%490 = load double, double* %489
%491 = fmul double %487, %490
%492 = load double*, double** %40
%493 = getelementptr inbounds double, double* %492, i32 1
store double* %493, double** %40
%494 = load double, double* %492
%495 = load double, double* %35
%496 = call double @llvm.fmuladd.f64(double %491, double %494, double %495)
store double %496, double* %35
%497 = load double*, double** %42
%498 = getelementptr inbounds double, double* %497, i64 2
%499 = load double, double* %498
%500 = load double*, double** %43
%501 = getelementptr inbounds double, double* %500, i64 2
%502 = load double, double* %501
%503 = fmul double %499, %502
%504 = load double*, double** %40
%505 = getelementptr inbounds double, double* %504, i32 1
store double* %505, double** %40
%506 = load double, double* %504
%507 = load double, double* %35
%508 = call double @llvm.fmuladd.f64(double %503, double %506, double %507)
store double %508, double* %35
%509 = load double*, double** %42
%510 = getelementptr inbounds double, double* %509, i64 3
%511 = load double, double* %510
%512 = load double*, double** %43
%513 = getelementptr inbounds double, double* %512, i64 3
%514 = load double, double* %513
%515 = fmul double %511, %514
%516 = load double*, double** %40
%517 = getelementptr inbounds double, double* %516, i32 1
store double* %517, double** %40
%518 = load double, double* %516
%519 = load double, double* %35
%520 = call double @llvm.fmuladd.f64(double %515, double %518, double %519)
store double %520, double* %35
%521 = load double*, double** %42
%522 = getelementptr inbounds double, double* %521, i64 4
%523 = load double, double* %522
%524 = load double*, double** %43
%525 = getelementptr inbounds double, double* %524, i64 4
%526 = load double, double* %525
%527 = fmul double %523, %526
%528 = load double*, double** %40
%529 = getelementptr inbounds double, double* %528, i32 1
store double* %529, double** %40
%530 = load double, double* %528
%531 = load double, double* %35
%532 = call double @llvm.fmuladd.f64(double %527, double %530, double %531)
store double %532, double* %35
%533 = load double*, double** %42
%534 = getelementptr inbounds double, double* %533, i64 5
%535 = load double, double* %534
%536 = load double*, double** %43
%537 = getelementptr inbounds double, double* %536, i64 5
%538 = load double, double* %537
%539 = fmul double %535, %538
%540 = load double*, double** %40
%541 = getelementptr inbounds double, double* %540, i32 1
store double* %541, double** %40
%542 = load double, double* %540
%543 = load double, double* %35
%544 = call double @llvm.fmuladd.f64(double %539, double %542, double %543)
store double %544, double* %35
%545 = load double*, double** %42
%546 = getelementptr inbounds double, double* %545, i64 6
%547 = load double, double* %546
%548 = load double*, double** %43
%549 = getelementptr inbounds double, double* %548, i64 6
%550 = load double, double* %549
%551 = fmul double %547, %550
%552 = load double*, double** %40
%553 = getelementptr inbounds double, double* %552, i32 1
store double* %553, double** %40
%554 = load double, double* %552
%555 = load double, double* %35
%556 = call double @llvm.fmuladd.f64(double %551, double %554, double %555)
store double %556, double* %35
%557 = load double*, double** %42
%558 = getelementptr inbounds double, double* %557, i64 7
%559 = load double, double* %558
%560 = load double*, double** %43
%561 = getelementptr inbounds double, double* %560, i64 7
%562 = load double, double* %561
%563 = fmul double %559, %562
%564 = load double*, double** %40
%565 = getelementptr inbounds double, double* %564, i32 1
store double* %565, double** %40
%566 = load double, double* %564
%567 = load double, double* %35
%568 = call double @llvm.fmuladd.f64(double %563, double %566, double %567)
store double %568, double* %35
%569 = load double*, double** %42
%570 = getelementptr inbounds double, double* %569, i64 8
%571 = load double, double* %570
%572 = load double*, double** %43
%573 = getelementptr inbounds double, double* %572, i64 8
%574 = load double, double* %573
%575 = fmul double %571, %574
%576 = load double*, double** %40
%577 = getelementptr inbounds double, double* %576, i32 1
store double* %577, double** %40
%578 = load double, double* %576
%579 = load double, double* %35
%580 = call double @llvm.fmuladd.f64(double %575, double %578, double %579)
store double %580, double* %35
%581 = load double*, double** %42
%582 = getelementptr inbounds double, double* %581, i64 9
%583 = load double, double* %582
%584 = load double*, double** %43
%585 = getelementptr inbounds double, double* %584, i64 9
%586 = load double, double* %585
%587 = fmul double %583, %586
%588 = load double*, double** %40
%589 = getelementptr inbounds double, double* %588, i32 1
store double* %589, double** %40
%590 = load double, double* %588
%591 = load double, double* %35
%592 = call double @llvm.fmuladd.f64(double %587, double %590, double %591)
store double %592, double* %35
%593 = load double*, double** %42
%594 = getelementptr inbounds double, double* %593, i64 10
%595 = load double, double* %594
%596 = load double*, double** %43
%597 = getelementptr inbounds double, double* %596, i64 10
%598 = load double, double* %597
%599 = fmul double %595, %598
%600 = load double*, double** %40
%601 = getelementptr inbounds double, double* %600, i32 1
store double* %601, double** %40
%602 = load double, double* %600
%603 = load double, double* %35
%604 = call double @llvm.fmuladd.f64(double %599, double %602, double %603)
store double %604, double* %35
%605 = load double*, double** %42
%606 = getelementptr inbounds double, double* %605, i64 11
%607 = load double, double* %606
%608 = load double*, double** %43
%609 = getelementptr inbounds double, double* %608, i64 11
%610 = load double, double* %609
%611 = fmul double %607, %610
%612 = load double*, double** %40
%613 = getelementptr inbounds double, double* %612, i32 1
store double* %613, double** %40
%614 = load double, double* %612
%615 = load double, double* %35
%616 = call double @llvm.fmuladd.f64(double %611, double %614, double %615)
store double %616, double* %35
%617 = load double*, double** %42
%618 = getelementptr inbounds double, double* %617, i64 12
%619 = load double, double* %618
%620 = load double*, double** %43
%621 = getelementptr inbounds double, double* %620, i64 12
%622 = load double, double* %621
%623 = fmul double %619, %622
%624 = load double*, double** %40
%625 = getelementptr inbounds double, double* %624, i32 1
store double* %625, double** %40
%626 = load double, double* %624
%627 = load double, double* %35
%628 = call double @llvm.fmuladd.f64(double %623, double %626, double %627)
store double %628, double* %35
%629 = load double*, double** %42
%630 = getelementptr inbounds double, double* %629, i64 13
%631 = load double, double* %630
%632 = load double*, double** %43
%633 = getelementptr inbounds double, double* %632, i64 13
%634 = load double, double* %633
%635 = fmul double %631, %634
%636 = load double*, double** %40
%637 = getelementptr inbounds double, double* %636, i32 1
store double* %637, double** %40
%638 = load double, double* %636
%639 = load double, double* %35
%640 = call double @llvm.fmuladd.f64(double %635, double %638, double %639)
store double %640, double* %35
%641 = load double*, double** %42
%642 = getelementptr inbounds double, double* %641, i64 14
%643 = load double, double* %642
%644 = load double*, double** %43
%645 = getelementptr inbounds double, double* %644, i64 14
%646 = load double, double* %645
%647 = fmul double %643, %646
%648 = load double*, double** %40
%649 = getelementptr inbounds double, double* %648, i32 1
store double* %649, double** %40
%650 = load double, double* %648
%651 = load double, double* %35
%652 = call double @llvm.fmuladd.f64(double %647, double %650, double %651)
store double %652, double* %35
%653 = load double*, double** %42
%654 = getelementptr inbounds double, double* %653, i64 15
%655 = load double, double* %654
%656 = load double*, double** %43
%657 = getelementptr inbounds double, double* %656, i64 15
%658 = load double, double* %657
%659 = fmul double %655, %658
%660 = load double*, double** %40
%661 = getelementptr inbounds double, double* %660, i32 1
store double* %661, double** %40
%662 = load double, double* %660
%663 = load double, double* %35
%664 = call double @llvm.fmuladd.f64(double %659, double %662, double %663)
store double %664, double* %35
%665 = load double*, double** %42
%666 = getelementptr inbounds double, double* %665, i64 16
%667 = load double, double* %666
%668 = load double*, double** %43
%669 = getelementptr inbounds double, double* %668, i64 16
%670 = load double, double* %669
%671 = fmul double %667, %670
%672 = load double*, double** %40
%673 = getelementptr inbounds double, double* %672, i32 1
store double* %673, double** %40
%674 = load double, double* %672
%675 = load double, double* %35
%676 = call double @llvm.fmuladd.f64(double %671, double %674, double %675)
store double %676, double* %35
%677 = load double*, double** %42
%678 = getelementptr inbounds double, double* %677, i64 17
%679 = load double, double* %678
%680 = load double*, double** %43
%681 = getelementptr inbounds double, double* %680, i64 17
%682 = load double, double* %681
%683 = fmul double %679, %682
%684 = load double*, double** %40
%685 = getelementptr inbounds double, double* %684, i32 1
store double* %685, double** %40
%686 = load double, double* %684
%687 = load double, double* %35
%688 = call double @llvm.fmuladd.f64(double %683, double %686, double %687)
store double %688, double* %35
%689 = load double*, double** %42
%690 = getelementptr inbounds double, double* %689, i64 18
%691 = load double, double* %690
%692 = load double*, double** %43
%693 = getelementptr inbounds double, double* %692, i64 18
%694 = load double, double* %693
%695 = fmul double %691, %694
%696 = load double*, double** %40
%697 = getelementptr inbounds double, double* %696, i32 1
store double* %697, double** %40
%698 = load double, double* %696
%699 = load double, double* %35
%700 = call double @llvm.fmuladd.f64(double %695, double %698, double %699)
store double %700, double* %35
%701 = load double*, double** %42
%702 = getelementptr inbounds double, double* %701, i64 19
%703 = load double, double* %702
%704 = load double*, double** %43
%705 = getelementptr inbounds double, double* %704, i64 19
%706 = load double, double* %705
%707 = fmul double %703, %706
%708 = load double*, double** %40
%709 = getelementptr inbounds double, double* %708, i32 1
store double* %709, double** %40
%710 = load double, double* %708
%711 = load double, double* %35
%712 = call double @llvm.fmuladd.f64(double %707, double %710, double %711)
store double %712, double* %35
br label %713
713: ; preds = %460
%714 = load i32, i32* %38
%715 = add nsw i32 %714, 1
store i32 %715, i32* %38
br label %457
716: ; preds = %457
%717 = load double, double* %35
%718 = fmul double 2.500000e-01, %717
%719 = call double @log(double %718)
%720 = load i32*, i32** %17
%721 = load i32, i32* %37
%722 = sext i32 %721 to i64
%723 = getelementptr inbounds i32, i32* %720, i64 %722
%724 = load i32, i32* %723
%725 = load i32*, i32** %18
%726 = load i32, i32* %37
%727 = sext i32 %726 to i64
%728 = getelementptr inbounds i32, i32* %725, i64 %727
%729 = load i32, i32* %728
%730 = add nsw i32 %724, %729
%731 = sitofp i32 %730 to double
%732 = call double @log(double 0x2FF0000000000000)
%733 = call double @llvm.fmuladd.f64(double %731, double %732, double %719)
store double %733, double* %35
%734 = load i32*, i32** %20
%735 = load i32, i32* %37
%736 = sext i32 %735 to i64
%737 = getelementptr inbounds i32, i32* %734, i64 %736
%738 = load i32, i32* %737
%739 = sitofp i32 %738 to double
%740 = load double, double* %35
%741 = load double, double* %32
%742 = call double @llvm.fmuladd.f64(double %739, double %740, double %741)
store double %742, double* %32
br label %743
743: ; preds = %716
%744 = load i32, i32* %37
%745 = add nsw i32 %744, 1
store i32 %745, i32* %37
br label %443
746: ; preds = %443
%747 = load double*, double** %41
%748 = bitcast double* %747 to i8*
%749 = load double, double* %32
store double %749, double* %16
br label %750
750: ; preds = %746, %437
%751 = load double, double* %16
ret double %751
}

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