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


x86 assembly (clang, -O0):
<evaluateGTRCATPROT>:
push   %rbp
mov    %rsp,%rbp
sub    $0x150,%rsp
mov    0x40(%rbp),%eax
mov    0x38(%rbp),%eax
mov    0x30(%rbp),%eax
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)
movsd  %xmm0,-0x40(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  0x1e6d(%rip),%xmm0
ucomisd -0x50(%rbp),%xmm0
jbe    11ab <evaluateGTRCATPROT+0x6b>
movsd  0x1e5a(%rip),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x50(%rbp),%xmm0
call   1060 <log@plt>
movsd  %xmm0,-0x58(%rbp)
movl   $0x0,-0x128(%rbp)
cmpl   $0x13,-0x128(%rbp)
jge    120a <evaluateGTRCATPROT+0xca>
mov    0x10(%rbp),%rax
movslq -0x128(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mulsd  -0x58(%rbp),%xmm0
movslq -0x128(%rbp),%rax
movsd  %xmm0,-0x100(%rbp,%rax,8)
ff ff
mov    -0x128(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x128(%rbp)
jmp    11c4 <evaluateGTRCATPROT+0x84>
movslq 0x40(%rbp),%rax
shl    $0x3,%rax
imul   $0x13,%rax,%rdi
call   1040 <malloc@plt>
mov    %rax,-0x110(%rbp)
mov    %rax,-0x108(%rbp)
movl   $0x0,-0x124(%rbp)
mov    -0x124(%rbp),%eax
cmp    0x40(%rbp),%eax
jge    1593 <evaluateGTRCATPROT+0x453>
mov    0x18(%rbp),%rax
movslq -0x124(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x60(%rbp),%xmm0
mulsd  -0x100(%rbp),%xmm0
ff
call   1050 <exp@plt>
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  %xmm0,(%rax)
movsd  -0x60(%rbp),%xmm0
mulsd  -0xf8(%rbp),%xmm0
ff
call   1050 <exp@plt>
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  %xmm0,(%rax)
movsd  -0x60(%rbp),%xmm0
mulsd  -0xf0(%rbp),%xmm0
ff
call   1050 <exp@plt>
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  %xmm0,(%rax)
movsd  -0x60(%rbp),%xmm0
mulsd  -0xe8(%rbp),%xmm0
ff
call   1050 <exp@plt>
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  %xmm0,(%rax)
movsd  -0x60(%rbp),%xmm0
mulsd  -0xe0(%rbp),%xmm0
ff
call   1050 <exp@plt>
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  %xmm0,(%rax)
movsd  -0x60(%rbp),%xmm0
mulsd  -0xd8(%rbp),%xmm0
ff
call   1050 <exp@plt>
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  %xmm0,(%rax)
movsd  -0x60(%rbp),%xmm0
mulsd  -0xd0(%rbp),%xmm0
ff
call   1050 <exp@plt>
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  %xmm0,(%rax)
movsd  -0x60(%rbp),%xmm0
mulsd  -0xc8(%rbp),%xmm0
ff
call   1050 <exp@plt>
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  %xmm0,(%rax)
movsd  -0x60(%rbp),%xmm0
mulsd  -0xc0(%rbp),%xmm0
ff
call   1050 <exp@plt>
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  %xmm0,(%rax)
movsd  -0x60(%rbp),%xmm0
mulsd  -0xb8(%rbp),%xmm0
ff
call   1050 <exp@plt>
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  %xmm0,(%rax)
movsd  -0x60(%rbp),%xmm0
mulsd  -0xb0(%rbp),%xmm0
ff
call   1050 <exp@plt>
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  %xmm0,(%rax)
movsd  -0x60(%rbp),%xmm0
mulsd  -0xa8(%rbp),%xmm0
ff
call   1050 <exp@plt>
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  %xmm0,(%rax)
movsd  -0x60(%rbp),%xmm0
mulsd  -0xa0(%rbp),%xmm0
ff
call   1050 <exp@plt>
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  %xmm0,(%rax)
movsd  -0x60(%rbp),%xmm0
mulsd  -0x98(%rbp),%xmm0
ff
call   1050 <exp@plt>
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  %xmm0,(%rax)
movsd  -0x60(%rbp),%xmm0
mulsd  -0x90(%rbp),%xmm0
ff
call   1050 <exp@plt>
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  %xmm0,(%rax)
movsd  -0x60(%rbp),%xmm0
mulsd  -0x88(%rbp),%xmm0
ff
call   1050 <exp@plt>
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  %xmm0,(%rax)
movsd  -0x60(%rbp),%xmm0
mulsd  -0x80(%rbp),%xmm0
call   1050 <exp@plt>
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  %xmm0,(%rax)
movsd  -0x60(%rbp),%xmm0
mulsd  -0x78(%rbp),%xmm0
call   1050 <exp@plt>
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  %xmm0,(%rax)
movsd  -0x60(%rbp),%xmm0
mulsd  -0x70(%rbp),%xmm0
call   1050 <exp@plt>
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  %xmm0,(%rax)
mov    -0x124(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x124(%rbp)
jmp    1233 <evaluateGTRCATPROT+0xf3>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x48(%rbp)
cmpq   $0x0,0x28(%rbp)
je     1c01 <evaluateGTRCATPROT+0xac1>
mov    0x30(%rbp),%eax
mov    %eax,-0x124(%rbp)
mov    -0x124(%rbp),%eax
cmp    0x38(%rbp),%eax
jge    1be6 <evaluateGTRCATPROT+0xaa6>
mov    0x20(%rbp),%rax
mov    0x28(%rbp),%rcx
movslq -0x124(%rbp),%rdx
movsbl (%rcx,%rdx,1),%ecx
imul   $0x14,%ecx,%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x118(%rbp)
mov    -0x38(%rbp),%rax
imul   $0x14,-0x124(%rbp),%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x120(%rbp)
mov    -0x110(%rbp),%rax
mov    -0x20(%rbp),%rcx
movslq -0x124(%rbp),%rdx
imul   $0x13,(%rcx,%rdx,4),%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x108(%rbp)
mov    -0x118(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x120(%rbp),%rax
mulsd  (%rax),%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x118(%rbp),%rax
movsd  0x8(%rax),%xmm0
mov    -0x120(%rbp),%rax
mulsd  0x8(%rax),%xmm0
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  (%rax),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x118(%rbp),%rax
movsd  0x10(%rax),%xmm0
mov    -0x120(%rbp),%rax
mulsd  0x10(%rax),%xmm0
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  (%rax),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x118(%rbp),%rax
movsd  0x18(%rax),%xmm0
mov    -0x120(%rbp),%rax
mulsd  0x18(%rax),%xmm0
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  (%rax),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x118(%rbp),%rax
movsd  0x20(%rax),%xmm0
mov    -0x120(%rbp),%rax
mulsd  0x20(%rax),%xmm0
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  (%rax),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x118(%rbp),%rax
movsd  0x28(%rax),%xmm0
mov    -0x120(%rbp),%rax
mulsd  0x28(%rax),%xmm0
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  (%rax),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x118(%rbp),%rax
movsd  0x30(%rax),%xmm0
mov    -0x120(%rbp),%rax
mulsd  0x30(%rax),%xmm0
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  (%rax),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x118(%rbp),%rax
movsd  0x38(%rax),%xmm0
mov    -0x120(%rbp),%rax
mulsd  0x38(%rax),%xmm0
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  (%rax),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x118(%rbp),%rax
movsd  0x40(%rax),%xmm0
mov    -0x120(%rbp),%rax
mulsd  0x40(%rax),%xmm0
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  (%rax),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x118(%rbp),%rax
movsd  0x48(%rax),%xmm0
mov    -0x120(%rbp),%rax
mulsd  0x48(%rax),%xmm0
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  (%rax),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x118(%rbp),%rax
movsd  0x50(%rax),%xmm0
mov    -0x120(%rbp),%rax
mulsd  0x50(%rax),%xmm0
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  (%rax),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x118(%rbp),%rax
movsd  0x58(%rax),%xmm0
mov    -0x120(%rbp),%rax
mulsd  0x58(%rax),%xmm0
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  (%rax),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x118(%rbp),%rax
movsd  0x60(%rax),%xmm0
mov    -0x120(%rbp),%rax
mulsd  0x60(%rax),%xmm0
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  (%rax),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x118(%rbp),%rax
movsd  0x68(%rax),%xmm0
mov    -0x120(%rbp),%rax
mulsd  0x68(%rax),%xmm0
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  (%rax),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x118(%rbp),%rax
movsd  0x70(%rax),%xmm0
mov    -0x120(%rbp),%rax
mulsd  0x70(%rax),%xmm0
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  (%rax),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x118(%rbp),%rax
movsd  0x78(%rax),%xmm0
mov    -0x120(%rbp),%rax
mulsd  0x78(%rax),%xmm0
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  (%rax),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x118(%rbp),%rax
movsd  0x80(%rax),%xmm0
mov    -0x120(%rbp),%rax
mulsd  0x80(%rax),%xmm0
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  (%rax),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x118(%rbp),%rax
movsd  0x88(%rax),%xmm0
mov    -0x120(%rbp),%rax
mulsd  0x88(%rax),%xmm0
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  (%rax),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x118(%rbp),%rax
movsd  0x90(%rax),%xmm0
mov    -0x120(%rbp),%rax
mulsd  0x90(%rax),%xmm0
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  (%rax),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x118(%rbp),%rax
movsd  0x98(%rax),%xmm0
mov    -0x120(%rbp),%rax
mulsd  0x98(%rax),%xmm0
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  (%rax),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x68(%rbp),%xmm0
call   1060 <log@plt>
movsd  %xmm0,-0x138(%rbp)
ff
mov    -0x18(%rbp),%rax
movslq -0x124(%rbp),%rcx
cvtsi2sdl (%rax,%rcx,4),%xmm0
movsd  %xmm0,-0x130(%rbp)
ff
movsd  0x1482(%rip),%xmm0
call   1060 <log@plt>
movsd  -0x138(%rbp),%xmm1
ff
movaps %xmm0,%xmm2
movsd  -0x130(%rbp),%xmm0
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x28(%rbp),%rax
movslq -0x124(%rbp),%rcx
cvtsi2sdl (%rax,%rcx,4),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x124(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x124(%rbp)
jmp    15af <evaluateGTRCATPROT+0x46f>
mov    -0x110(%rbp),%rdi
call   1030 <free@plt>
movsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    225c <evaluateGTRCATPROT+0x111c>
mov    0x30(%rbp),%eax
mov    %eax,-0x124(%rbp)
mov    -0x124(%rbp),%eax
cmp    0x38(%rbp),%eax
jge    2246 <evaluateGTRCATPROT+0x1106>
mov    -0x110(%rbp),%rax
mov    -0x20(%rbp),%rcx
movslq -0x124(%rbp),%rdx
imul   $0x13,(%rcx,%rdx,4),%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x108(%rbp)
mov    -0x30(%rbp),%rax
imul   $0x14,-0x124(%rbp),%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x118(%rbp)
mov    -0x38(%rbp),%rax
imul   $0x14,-0x124(%rbp),%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x120(%rbp)
mov    -0x118(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x120(%rbp),%rax
mulsd  (%rax),%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x118(%rbp),%rax
movsd  0x8(%rax),%xmm0
mov    -0x120(%rbp),%rax
mulsd  0x8(%rax),%xmm0
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  (%rax),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x118(%rbp),%rax
movsd  0x10(%rax),%xmm0
mov    -0x120(%rbp),%rax
mulsd  0x10(%rax),%xmm0
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  (%rax),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x118(%rbp),%rax
movsd  0x18(%rax),%xmm0
mov    -0x120(%rbp),%rax
mulsd  0x18(%rax),%xmm0
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  (%rax),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x118(%rbp),%rax
movsd  0x20(%rax),%xmm0
mov    -0x120(%rbp),%rax
mulsd  0x20(%rax),%xmm0
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  (%rax),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x118(%rbp),%rax
movsd  0x28(%rax),%xmm0
mov    -0x120(%rbp),%rax
mulsd  0x28(%rax),%xmm0
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  (%rax),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x118(%rbp),%rax
movsd  0x30(%rax),%xmm0
mov    -0x120(%rbp),%rax
mulsd  0x30(%rax),%xmm0
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  (%rax),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x118(%rbp),%rax
movsd  0x38(%rax),%xmm0
mov    -0x120(%rbp),%rax
mulsd  0x38(%rax),%xmm0
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  (%rax),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x118(%rbp),%rax
movsd  0x40(%rax),%xmm0
mov    -0x120(%rbp),%rax
mulsd  0x40(%rax),%xmm0
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  (%rax),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x118(%rbp),%rax
movsd  0x48(%rax),%xmm0
mov    -0x120(%rbp),%rax
mulsd  0x48(%rax),%xmm0
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  (%rax),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x118(%rbp),%rax
movsd  0x50(%rax),%xmm0
mov    -0x120(%rbp),%rax
mulsd  0x50(%rax),%xmm0
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  (%rax),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x118(%rbp),%rax
movsd  0x58(%rax),%xmm0
mov    -0x120(%rbp),%rax
mulsd  0x58(%rax),%xmm0
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  (%rax),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x118(%rbp),%rax
movsd  0x60(%rax),%xmm0
mov    -0x120(%rbp),%rax
mulsd  0x60(%rax),%xmm0
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  (%rax),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x118(%rbp),%rax
movsd  0x68(%rax),%xmm0
mov    -0x120(%rbp),%rax
mulsd  0x68(%rax),%xmm0
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  (%rax),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x118(%rbp),%rax
movsd  0x70(%rax),%xmm0
mov    -0x120(%rbp),%rax
mulsd  0x70(%rax),%xmm0
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  (%rax),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x118(%rbp),%rax
movsd  0x78(%rax),%xmm0
mov    -0x120(%rbp),%rax
mulsd  0x78(%rax),%xmm0
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  (%rax),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x118(%rbp),%rax
movsd  0x80(%rax),%xmm0
mov    -0x120(%rbp),%rax
mulsd  0x80(%rax),%xmm0
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  (%rax),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x118(%rbp),%rax
movsd  0x88(%rax),%xmm0
mov    -0x120(%rbp),%rax
mulsd  0x88(%rax),%xmm0
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  (%rax),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x118(%rbp),%rax
movsd  0x90(%rax),%xmm0
mov    -0x120(%rbp),%rax
mulsd  0x90(%rax),%xmm0
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  (%rax),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x118(%rbp),%rax
movsd  0x98(%rax),%xmm0
mov    -0x120(%rbp),%rax
mulsd  0x98(%rax),%xmm0
mov    -0x108(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x108(%rbp)
movsd  (%rax),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x68(%rbp),%xmm0
call   1060 <log@plt>
movsd  %xmm0,-0x148(%rbp)
ff
mov    -0x10(%rbp),%rax
movslq -0x124(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
mov    -0x18(%rbp),%rcx
movslq -0x124(%rbp),%rdx
add    (%rcx,%rdx,4),%eax
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0x140(%rbp)
ff
movsd  0xe22(%rip),%xmm0
call   1060 <log@plt>
movsd  -0x148(%rbp),%xmm1
ff
movaps %xmm0,%xmm2
movsd  -0x140(%rbp),%xmm0
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x28(%rbp),%rax
movslq -0x124(%rbp),%rcx
cvtsi2sdl (%rax,%rcx,4),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x124(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x124(%rbp)
jmp    1c0a <evaluateGTRCATPROT+0xaca>
mov    -0x110(%rbp),%rdi
call   1030 <free@plt>
movsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x8(%rbp)
movsd  -0x8(%rbp),%xmm0
add    $0x150,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<evaluateGTRCATPROT>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xc8,%rsp
mov    %r9,0x40(%rsp)
mov    %r8,%r15
mov    %rcx,0x38(%rsp)
mov    %rdx,0x28(%rsp)
mov    %rsi,0x30(%rsp)
mov    %rdi,0x48(%rsp)
movslq 0x130(%rsp),%r12
mov    0x100(%rsp),%rbx
movsd  0xe7b(%rip),%xmm1
maxsd  %xmm0,%xmm1
movapd %xmm1,%xmm0
call   1060 <log@plt>
movsd  (%rbx),%xmm1
mulsd  %xmm0,%xmm1
movsd  %xmm1,0x20(%rsp)
movsd  0x8(%rbx),%xmm1
mulsd  %xmm0,%xmm1
movsd  %xmm1,0x18(%rsp)
movsd  0x10(%rbx),%xmm1
mulsd  %xmm0,%xmm1
movsd  %xmm1,0x10(%rsp)
movsd  0x18(%rbx),%xmm1
mulsd  %xmm0,%xmm1
movsd  %xmm1,0xc0(%rsp)
movsd  0x20(%rbx),%xmm1
mulsd  %xmm0,%xmm1
movsd  %xmm1,0xb8(%rsp)
movsd  0x28(%rbx),%xmm1
mulsd  %xmm0,%xmm1
movsd  %xmm1,0xb0(%rsp)
movsd  0x30(%rbx),%xmm1
mulsd  %xmm0,%xmm1
movsd  %xmm1,0xa8(%rsp)
movsd  0x38(%rbx),%xmm1
mulsd  %xmm0,%xmm1
movsd  %xmm1,0xa0(%rsp)
movsd  0x40(%rbx),%xmm1
mulsd  %xmm0,%xmm1
movsd  %xmm1,0x98(%rsp)
movsd  0x48(%rbx),%xmm1
mulsd  %xmm0,%xmm1
movsd  %xmm1,0x90(%rsp)
movsd  0x50(%rbx),%xmm1
mulsd  %xmm0,%xmm1
movsd  %xmm1,0x88(%rsp)
movsd  0x58(%rbx),%xmm1
mulsd  %xmm0,%xmm1
movsd  %xmm1,0x80(%rsp)
movsd  0x60(%rbx),%xmm1
mulsd  %xmm0,%xmm1
movsd  %xmm1,0x78(%rsp)
movsd  0x68(%rbx),%xmm1
mulsd  %xmm0,%xmm1
movsd  %xmm1,0x70(%rsp)
movsd  0x70(%rbx),%xmm1
mulsd  %xmm0,%xmm1
movsd  %xmm1,0x68(%rsp)
movsd  0x78(%rbx),%xmm1
mulsd  %xmm0,%xmm1
movsd  %xmm1,0x60(%rsp)
movsd  0x80(%rbx),%xmm1
mulsd  %xmm0,%xmm1
movsd  %xmm1,0x58(%rsp)
movsd  0x88(%rbx),%xmm1
mulsd  %xmm0,%xmm1
movsd  %xmm1,0x50(%rsp)
mulsd  0x90(%rbx),%xmm0
movsd  %xmm0,0x8(%rsp)
imul   $0x98,%r12,%rdi
call   1040 <malloc@plt>
mov    %rax,%r14
test   %r12,%r12
jle    14e0 <evaluateGTRCATPROT+0x3a0>
mov    0x108(%rsp),%rbp
mov    %r12d,%r12d
xor    %ebx,%ebx
mov    %r14,%r13
cs nopw 0x0(%rax,%rax,1)
movsd  0x0(%rbp,%rbx,8),%xmm0
movsd  %xmm0,(%rsp)
mulsd  0x20(%rsp),%xmm0
call   1050 <exp@plt>
movsd  %xmm0,0x0(%r13)
movsd  (%rsp),%xmm0
mulsd  0x18(%rsp),%xmm0
call   1050 <exp@plt>
movsd  %xmm0,0x8(%r13)
movsd  (%rsp),%xmm0
mulsd  0x10(%rsp),%xmm0
call   1050 <exp@plt>
movsd  %xmm0,0x10(%r13)
movsd  (%rsp),%xmm0
mulsd  0xc0(%rsp),%xmm0
call   1050 <exp@plt>
movsd  %xmm0,0x18(%r13)
movsd  (%rsp),%xmm0
mulsd  0xb8(%rsp),%xmm0
call   1050 <exp@plt>
movsd  %xmm0,0x20(%r13)
movsd  (%rsp),%xmm0
mulsd  0xb0(%rsp),%xmm0
call   1050 <exp@plt>
movsd  %xmm0,0x28(%r13)
movsd  (%rsp),%xmm0
mulsd  0xa8(%rsp),%xmm0
call   1050 <exp@plt>
movsd  %xmm0,0x30(%r13)
movsd  (%rsp),%xmm0
mulsd  0xa0(%rsp),%xmm0
call   1050 <exp@plt>
movsd  %xmm0,0x38(%r13)
movsd  (%rsp),%xmm0
mulsd  0x98(%rsp),%xmm0
call   1050 <exp@plt>
movsd  %xmm0,0x40(%r13)
movsd  (%rsp),%xmm0
mulsd  0x90(%rsp),%xmm0
call   1050 <exp@plt>
movsd  %xmm0,0x48(%r13)
movsd  (%rsp),%xmm0
mulsd  0x88(%rsp),%xmm0
call   1050 <exp@plt>
movsd  %xmm0,0x50(%r13)
movsd  (%rsp),%xmm0
mulsd  0x80(%rsp),%xmm0
call   1050 <exp@plt>
movsd  %xmm0,0x58(%r13)
movsd  (%rsp),%xmm0
mulsd  0x78(%rsp),%xmm0
call   1050 <exp@plt>
movsd  %xmm0,0x60(%r13)
movsd  (%rsp),%xmm0
mulsd  0x70(%rsp),%xmm0
call   1050 <exp@plt>
movsd  %xmm0,0x68(%r13)
movsd  (%rsp),%xmm0
mulsd  0x68(%rsp),%xmm0
call   1050 <exp@plt>
movsd  %xmm0,0x70(%r13)
movsd  (%rsp),%xmm0
mulsd  0x60(%rsp),%xmm0
call   1050 <exp@plt>
movsd  %xmm0,0x78(%r13)
movsd  (%rsp),%xmm0
mulsd  0x58(%rsp),%xmm0
call   1050 <exp@plt>
movsd  %xmm0,0x80(%r13)
movsd  (%rsp),%xmm0
mulsd  0x50(%rsp),%xmm0
call   1050 <exp@plt>
movsd  %xmm0,0x88(%r13)
movsd  (%rsp),%xmm0
mulsd  0x8(%rsp),%xmm0
call   1050 <exp@plt>
movsd  %xmm0,0x90(%r13)
add    $0x1,%rbx
add    $0x98,%r13
cmp    %rbx,%r12
jne    1300 <evaluateGTRCATPROT+0x1c0>
mov    0x128(%rsp),%eax
mov    0x120(%rsp),%ecx
mov    0x118(%rsp),%rsi
xorpd  %xmm0,%xmm0
test   %rsi,%rsi
je     179b <evaluateGTRCATPROT+0x65b>
cmp    %eax,%ecx
mov    0x40(%rsp),%rbx
mov    0x38(%rsp),%r12
mov    0x30(%rsp),%r13
mov    0x28(%rsp),%r15
jge    1a74 <evaluateGTRCATPROT+0x934>
movslq %ecx,%rbp
cltq
mov    %rax,0x8(%rsp)
lea    0x0(,%rbp,4),%rax
add    %rbp,%rax
shl    $0x5,%rax
add    %rax,%rbx
add    $0x98,%rbx
xorpd  %xmm0,%xmm0
cs nopw 0x0(%rax,%rax,1)
movsd  %xmm0,(%rsp)
movsbq (%rsi,%rbp,1),%rax
lea    (%rax,%rax,4),%rax
shl    $0x5,%rax
movslq (%r15,%rbp,4),%rcx
mov    0x110(%rsp),%rsi
movsd  (%rsi,%rax,1),%xmm0
movsd  0x8(%rsi,%rax,1),%xmm1
mulsd  -0x98(%rbx),%xmm0
ff
mulsd  -0x90(%rbx),%xmm1
ff
imul   $0x98,%rcx,%rcx
mulsd  (%r14,%rcx,1),%xmm1
movsd  0x10(%rsi,%rax,1),%xmm2
mulsd  -0x88(%rbx),%xmm2
ff
mulsd  0x8(%r14,%rcx,1),%xmm2
addsd  %xmm0,%xmm1
movsd  0x18(%rsi,%rax,1),%xmm0
mulsd  -0x80(%rbx),%xmm0
addsd  %xmm1,%xmm2
mulsd  0x10(%r14,%rcx,1),%xmm0
movsd  0x20(%rsi,%rax,1),%xmm1
mulsd  -0x78(%rbx),%xmm1
mulsd  0x18(%r14,%rcx,1),%xmm1
addsd  %xmm2,%xmm0
movsd  0x28(%rsi,%rax,1),%xmm2
mulsd  -0x70(%rbx),%xmm2
addsd  %xmm0,%xmm1
mulsd  0x20(%r14,%rcx,1),%xmm2
movsd  0x30(%rsi,%rax,1),%xmm0
mulsd  -0x68(%rbx),%xmm0
mulsd  0x28(%r14,%rcx,1),%xmm0
addsd  %xmm1,%xmm2
movsd  0x38(%rsi,%rax,1),%xmm1
mulsd  -0x60(%rbx),%xmm1
addsd  %xmm2,%xmm0
mulsd  0x30(%r14,%rcx,1),%xmm1
movsd  0x40(%rsi,%rax,1),%xmm2
mulsd  -0x58(%rbx),%xmm2
mulsd  0x38(%r14,%rcx,1),%xmm2
addsd  %xmm0,%xmm1
movsd  0x48(%rsi,%rax,1),%xmm0
mulsd  -0x50(%rbx),%xmm0
addsd  %xmm1,%xmm2
mulsd  0x40(%r14,%rcx,1),%xmm0
movsd  0x50(%rsi,%rax,1),%xmm1
mulsd  -0x48(%rbx),%xmm1
mulsd  0x48(%r14,%rcx,1),%xmm1
addsd  %xmm2,%xmm0
movsd  0x58(%rsi,%rax,1),%xmm2
mulsd  -0x40(%rbx),%xmm2
addsd  %xmm0,%xmm1
mulsd  0x50(%r14,%rcx,1),%xmm2
movsd  0x60(%rsi,%rax,1),%xmm0
mulsd  -0x38(%rbx),%xmm0
mulsd  0x58(%r14,%rcx,1),%xmm0
addsd  %xmm1,%xmm2
movsd  0x68(%rsi,%rax,1),%xmm1
mulsd  -0x30(%rbx),%xmm1
addsd  %xmm2,%xmm0
mulsd  0x60(%r14,%rcx,1),%xmm1
movsd  0x70(%rsi,%rax,1),%xmm2
mulsd  -0x28(%rbx),%xmm2
mulsd  0x68(%r14,%rcx,1),%xmm2
addsd  %xmm0,%xmm1
movsd  0x78(%rsi,%rax,1),%xmm0
mulsd  -0x20(%rbx),%xmm0
addsd  %xmm1,%xmm2
mulsd  0x70(%r14,%rcx,1),%xmm0
movsd  0x80(%rsi,%rax,1),%xmm1
mulsd  -0x18(%rbx),%xmm1
mulsd  0x78(%r14,%rcx,1),%xmm1
addsd  %xmm2,%xmm0
movsd  0x88(%rsi,%rax,1),%xmm2
mulsd  -0x10(%rbx),%xmm2
addsd  %xmm0,%xmm1
mulsd  0x80(%r14,%rcx,1),%xmm2
movsd  0x90(%rsi,%rax,1),%xmm3
mulsd  -0x8(%rbx),%xmm3
mulsd  0x88(%r14,%rcx,1),%xmm3
addsd  %xmm1,%xmm2
movsd  0x98(%rsi,%rax,1),%xmm0
mulsd  (%rbx),%xmm0
addsd  %xmm2,%xmm3
mulsd  0x90(%r14,%rcx,1),%xmm0
addsd  %xmm3,%xmm0
call   1060 <log@plt>
mov    0x118(%rsp),%rsi
xorps  %xmm1,%xmm1
cvtsi2sdl 0x0(%r13,%rbp,4),%xmm1
mulsd  0x8ac(%rip),%xmm1
addsd  %xmm0,%xmm1
xorps  %xmm0,%xmm0
cvtsi2sdl (%r12,%rbp,4),%xmm0
mulsd  %xmm1,%xmm0
movsd  (%rsp),%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,(%rsp)
movsd  (%rsp),%xmm0
add    $0x1,%rbp
add    $0xa0,%rbx
cmp    %rbp,0x8(%rsp)
jne    1550 <evaluateGTRCATPROT+0x410>
jmp    1a74 <evaluateGTRCATPROT+0x934>
cmp    %eax,%ecx
mov    0x40(%rsp),%rbp
mov    0x38(%rsp),%rdx
mov    0x30(%rsp),%rsi
mov    0x28(%rsp),%rdi
jge    1a74 <evaluateGTRCATPROT+0x934>
movslq %ecx,%rcx
movslq %eax,%r13
lea    (%rcx,%rcx,4),%rax
lea    0x26(,%rax,8),%r12
lea    (%rdi,%rcx,4),%rax
mov    %rax,0x8(%rsp)
mov    0x48(%rsp),%rax
lea    (%rax,%rcx,4),%rax
mov    %rax,0x20(%rsp)
lea    (%rsi,%rcx,4),%rax
mov    %rax,0x18(%rsp)
lea    (%rdx,%rcx,4),%rax
mov    %rax,0x10(%rsp)
sub    %rcx,%r13
xorpd  %xmm0,%xmm0
xor    %ebx,%ebx
nopl   0x0(%rax,%rax,1)
movsd  %xmm0,(%rsp)
mov    0x8(%rsp),%rax
movslq (%rax,%rbx,4),%rax
movsd  -0x98(%r15,%r12,4),%xmm0
ff ff ff
movsd  -0x90(%r15,%r12,4),%xmm1
ff ff ff
mulsd  -0x98(%rbp,%r12,4),%xmm0
ff ff ff
mulsd  -0x90(%rbp,%r12,4),%xmm1
ff ff ff
imul   $0x98,%rax,%rax
mulsd  (%r14,%rax,1),%xmm1
movsd  -0x88(%r15,%r12,4),%xmm2
ff ff ff
mulsd  -0x88(%rbp,%r12,4),%xmm2
ff ff ff
mulsd  0x8(%r14,%rax,1),%xmm2
addsd  %xmm0,%xmm1
movsd  -0x80(%r15,%r12,4),%xmm0
mulsd  -0x80(%rbp,%r12,4),%xmm0
addsd  %xmm1,%xmm2
mulsd  0x10(%r14,%rax,1),%xmm0
movsd  -0x78(%r15,%r12,4),%xmm1
mulsd  -0x78(%rbp,%r12,4),%xmm1
mulsd  0x18(%r14,%rax,1),%xmm1
addsd  %xmm2,%xmm0
movsd  -0x70(%r15,%r12,4),%xmm2
mulsd  -0x70(%rbp,%r12,4),%xmm2
addsd  %xmm0,%xmm1
mulsd  0x20(%r14,%rax,1),%xmm2
movsd  -0x68(%r15,%r12,4),%xmm0
mulsd  -0x68(%rbp,%r12,4),%xmm0
mulsd  0x28(%r14,%rax,1),%xmm0
addsd  %xmm1,%xmm2
movsd  -0x60(%r15,%r12,4),%xmm1
mulsd  -0x60(%rbp,%r12,4),%xmm1
addsd  %xmm2,%xmm0
mulsd  0x30(%r14,%rax,1),%xmm1
movsd  -0x58(%r15,%r12,4),%xmm2
mulsd  -0x58(%rbp,%r12,4),%xmm2
mulsd  0x38(%r14,%rax,1),%xmm2
addsd  %xmm0,%xmm1
movsd  -0x50(%r15,%r12,4),%xmm0
mulsd  -0x50(%rbp,%r12,4),%xmm0
addsd  %xmm1,%xmm2
mulsd  0x40(%r14,%rax,1),%xmm0
movsd  -0x48(%r15,%r12,4),%xmm1
mulsd  -0x48(%rbp,%r12,4),%xmm1
mulsd  0x48(%r14,%rax,1),%xmm1
addsd  %xmm2,%xmm0
movsd  -0x40(%r15,%r12,4),%xmm2
mulsd  -0x40(%rbp,%r12,4),%xmm2
addsd  %xmm0,%xmm1
mulsd  0x50(%r14,%rax,1),%xmm2
movsd  -0x38(%r15,%r12,4),%xmm0
mulsd  -0x38(%rbp,%r12,4),%xmm0
mulsd  0x58(%r14,%rax,1),%xmm0
addsd  %xmm1,%xmm2
movsd  -0x30(%r15,%r12,4),%xmm1
mulsd  -0x30(%rbp,%r12,4),%xmm1
addsd  %xmm2,%xmm0
mulsd  0x60(%r14,%rax,1),%xmm1
movsd  -0x28(%r15,%r12,4),%xmm2
mulsd  -0x28(%rbp,%r12,4),%xmm2
mulsd  0x68(%r14,%rax,1),%xmm2
addsd  %xmm0,%xmm1
movsd  -0x20(%r15,%r12,4),%xmm0
mulsd  -0x20(%rbp,%r12,4),%xmm0
addsd  %xmm1,%xmm2
mulsd  0x70(%r14,%rax,1),%xmm0
movsd  -0x18(%r15,%r12,4),%xmm1
mulsd  -0x18(%rbp,%r12,4),%xmm1
mulsd  0x78(%r14,%rax,1),%xmm1
addsd  %xmm2,%xmm0
movsd  -0x10(%r15,%r12,4),%xmm2
mulsd  -0x10(%rbp,%r12,4),%xmm2
addsd  %xmm0,%xmm1
mulsd  0x80(%r14,%rax,1),%xmm2
movsd  -0x8(%r15,%r12,4),%xmm3
mulsd  -0x8(%rbp,%r12,4),%xmm3
mulsd  0x88(%r14,%rax,1),%xmm3
addsd  %xmm1,%xmm2
movsd  (%r15,%r12,4),%xmm0
mulsd  0x0(%rbp,%r12,4),%xmm0
addsd  %xmm2,%xmm3
mulsd  0x90(%r14,%rax,1),%xmm0
addsd  %xmm3,%xmm0
call   1060 <log@plt>
mov    0x18(%rsp),%rax
mov    (%rax,%rbx,4),%eax
mov    0x20(%rsp),%rcx
add    (%rcx,%rbx,4),%eax
xorps  %xmm1,%xmm1
cvtsi2sd %eax,%xmm1
mulsd  0x5cd(%rip),%xmm1
addsd  %xmm0,%xmm1
mov    0x10(%rsp),%rax
xorps  %xmm0,%xmm0
cvtsi2sdl (%rax,%rbx,4),%xmm0
mulsd  %xmm1,%xmm0
movsd  (%rsp),%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,(%rsp)
movsd  (%rsp),%xmm0
add    $0x28,%r12
add    $0x1,%rbx
cmp    %rbx,%r13
jne    1800 <evaluateGTRCATPROT+0x6c0>
movsd  %xmm0,(%rsp)
mov    %r14,%rdi
call   1030 <free@plt>
movsd  (%rsp),%xmm0
add    $0xc8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

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