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

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ exp(double);
int /*<<< orphan*/ free(double *);
int log(double);
scalar_t__ malloc(int);
double pow(double, int);
void evaluateGTRGAMMAPROTMULTINVAR_VECTOR(int *ex2, int *modelptr, int *iptr,
                                          double *x2, double *v, double *EIGN,
                                          double *gammaRates, double *tipVector,
                                          double *tFreqs, double *invariants,
                                          double *pz, char *tipX1, int lower,
                                          int n, int numberOfModels,
                                          int multiBranch) {
  double z, lz = 0.0, term, ki;
  int i, j;
  double *diagptable, *diagptable_start;
  double *left, *right;
  int model;
  double *scalers;
  double *freqs;
  if (!multiBranch) {
    z = pz[0];
    if (z < 1.0E-15)
      z = 1.0E-15;
    lz = log(z);
  }
  diagptable = diagptable_start =
      (double *)malloc(sizeof(double) * 4 * 19 * numberOfModels);
  freqs = (double *)malloc(20 * numberOfModels * sizeof(double));
  scalers = (double *)malloc(numberOfModels * sizeof(double));
  for (model = 0; model < numberOfModels; model++) {
    if (multiBranch) {
      z = pz[model];
      if (z < 1.0E-15)
        z = 1.0E-15;
      lz = log(z);
    }
    diagptable = &diagptable_start[4 * 19 * model];
    scalers[model] = 0.25 * (1.0 - invariants[model]);
    for (i = 0; i < 20; i++)
      freqs[20 * model + i] = tFreqs[20 * model + i] * invariants[model];
    for (i = 0; i < 4; i++) {
      ki = gammaRates[model * 4 + i];
      for (j = 0; j < 19; j++)
        *diagptable++ = exp(EIGN[model * 19 + j] * ki * lz);
    }
  }
  for (i = lower; i < n; i++) {
    model = modelptr[i];
    left = &(tipVector[460 * model + 20 * tipX1[i]]);
    diagptable = &diagptable_start[76 * model];
    term = 0;
    for (j = 0; j < 4; j++) {
      right = &(x2[80 * i + 20 * j]);
      term += left[0] * right[0];
      term += left[1] * right[1] * *diagptable++;
      term += left[2] * right[2] * *diagptable++;
      term += left[3] * right[3] * *diagptable++;
      term += left[4] * right[4] * *diagptable++;
      term += left[5] * right[5] * *diagptable++;
      term += left[6] * right[6] * *diagptable++;
      term += left[7] * right[7] * *diagptable++;
      term += left[8] * right[8] * *diagptable++;
      term += left[9] * right[9] * *diagptable++;
      term += left[10] * right[10] * *diagptable++;
      term += left[11] * right[11] * *diagptable++;
      term += left[12] * right[12] * *diagptable++;
      term += left[13] * right[13] * *diagptable++;
      term += left[14] * right[14] * *diagptable++;
      term += left[15] * right[15] * *diagptable++;
      term += left[16] * right[16] * *diagptable++;
      term += left[17] * right[17] * *diagptable++;
      term += left[18] * right[18] * *diagptable++;
      term += left[19] * right[19] * *diagptable++;
    }
    if (iptr[i] < 20)
      term = log(
          (scalers[model] * term + freqs[model * 20 + iptr[i]]) *
          pow((1.0 /
               115792089237316195423570985008687907853269984665640564039457584007913129639936.0),
              ex2[i]));
    else
      term =
          log(scalers[model] * term) +
          ex2[i] *
              log((
                  1.0 /
                  115792089237316195423570985008687907853269984665640564039457584007913129639936.0));
    v[i] = term;
  }
  free(diagptable_start);
  free(freqs);
  free(scalers);
}


x86 assembly (clang, -O0):
<evaluateGTRGAMMAPROTMULTINVAR_VECTOR>:
push   %rbp
mov    %rsp,%rbp
sub    $0xa0,%rsp
mov    0x58(%rbp),%eax
mov    0x50(%rbp),%eax
mov    0x48(%rbp),%eax
mov    0x40(%rbp),%eax
mov    0x38(%rbp),%rax
mov    0x30(%rbp),%rax
mov    0x28(%rbp),%rax
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x40(%rbp)
cmpl   $0x0,0x58(%rbp)
jne    11e9 <evaluateGTRGAMMAPROTMULTINVAR_VECTOR+0x99>
mov    0x30(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  0xe42(%rip),%xmm0
ucomisd -0x38(%rbp),%xmm0
jbe    11d6 <evaluateGTRGAMMAPROTMULTINVAR_VECTOR+0x86>
movsd  0xe2f(%rip),%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x38(%rbp),%xmm0
call   1060 <log@plt>
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0x40(%rbp)
movslq 0x50(%rbp),%rax
imul   $0x260,%rax,%rax
mov    %eax,%edi
call   1040 <malloc@plt>
mov    %rax,-0x68(%rbp)
mov    %rax,-0x60(%rbp)
imul   $0x14,0x50(%rbp),%eax
cltq
shl    $0x3,%rax
mov    %eax,%edi
call   1040 <malloc@plt>
mov    %rax,-0x90(%rbp)
movslq 0x50(%rbp),%rax
shl    $0x3,%rax
mov    %eax,%edi
call   1040 <malloc@plt>
mov    %rax,-0x88(%rbp)
movl   $0x0,-0x7c(%rbp)
mov    -0x7c(%rbp),%eax
cmp    0x50(%rbp),%eax
jge    13d8 <evaluateGTRGAMMAPROTMULTINVAR_VECTOR+0x288>
cmpl   $0x0,0x58(%rbp)
je     1293 <evaluateGTRGAMMAPROTMULTINVAR_VECTOR+0x143>
mov    0x30(%rbp),%rax
movslq -0x7c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  0xd98(%rip),%xmm0
ucomisd -0x38(%rbp),%xmm0
jbe    1280 <evaluateGTRGAMMAPROTMULTINVAR_VECTOR+0x130>
movsd  0xd85(%rip),%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x38(%rbp),%xmm0
call   1060 <log@plt>
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x68(%rbp),%rax
imul   $0x4c,-0x7c(%rbp),%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x60(%rbp)
mov    0x28(%rbp),%rax
movslq -0x7c(%rbp),%rcx
movsd  0xd5f(%rip),%xmm1
subsd  (%rax,%rcx,8),%xmm1
movsd  0xd4a(%rip),%xmm0
mulsd  %xmm1,%xmm0
mov    -0x88(%rbp),%rax
movslq -0x7c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movl   $0x0,-0x54(%rbp)
cmpl   $0x14,-0x54(%rbp)
jge    132f <evaluateGTRGAMMAPROTMULTINVAR_VECTOR+0x1df>
mov    0x20(%rbp),%rax
imul   $0x14,-0x7c(%rbp),%ecx
add    -0x54(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    0x28(%rbp),%rax
movslq -0x7c(%rbp),%rcx
mulsd  (%rax,%rcx,8),%xmm0
mov    -0x90(%rbp),%rax
imul   $0x14,-0x7c(%rbp),%ecx
add    -0x54(%rbp),%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x54(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
jmp    12e1 <evaluateGTRGAMMAPROTMULTINVAR_VECTOR+0x191>
movl   $0x0,-0x54(%rbp)
cmpl   $0x4,-0x54(%rbp)
jge    13c5 <evaluateGTRGAMMAPROTMULTINVAR_VECTOR+0x275>
mov    0x10(%rbp),%rax
mov    -0x7c(%rbp),%ecx
shl    $0x2,%ecx
add    -0x54(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x50(%rbp)
movl   $0x0,-0x58(%rbp)
cmpl   $0x13,-0x58(%rbp)
jge    13b2 <evaluateGTRGAMMAPROTMULTINVAR_VECTOR+0x262>
mov    -0x30(%rbp),%rax
imul   $0x13,-0x7c(%rbp),%ecx
add    -0x58(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mulsd  -0x50(%rbp),%xmm0
mulsd  -0x40(%rbp),%xmm0
call   1050 <exp@plt>
cvtsi2sd %eax,%xmm0
mov    -0x60(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x60(%rbp)
movsd  %xmm0,(%rax)
mov    -0x58(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x58(%rbp)
jmp    1361 <evaluateGTRGAMMAPROTMULTINVAR_VECTOR+0x211>
jmp    13b7 <evaluateGTRGAMMAPROTMULTINVAR_VECTOR+0x267>
mov    -0x54(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
jmp    1336 <evaluateGTRGAMMAPROTMULTINVAR_VECTOR+0x1e6>
jmp    13ca <evaluateGTRGAMMAPROTMULTINVAR_VECTOR+0x27a>
mov    -0x7c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x7c(%rbp)
jmp    1238 <evaluateGTRGAMMAPROTMULTINVAR_VECTOR+0xe8>
mov    0x40(%rbp),%eax
mov    %eax,-0x54(%rbp)
mov    -0x54(%rbp),%eax
cmp    0x48(%rbp),%eax
jge    19d3 <evaluateGTRGAMMAPROTMULTINVAR_VECTOR+0x883>
mov    -0x10(%rbp),%rax
movslq -0x54(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
mov    %eax,-0x7c(%rbp)
mov    0x18(%rbp),%rax
imul   $0x1cc,-0x7c(%rbp),%ecx
mov    0x38(%rbp),%rdx
movslq -0x54(%rbp),%rsi
movsbl (%rdx,%rsi,1),%edx
imul   $0x14,%edx,%edx
add    %edx,%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x70(%rbp)
mov    -0x68(%rbp),%rax
imul   $0x4c,-0x7c(%rbp),%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x60(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x48(%rbp)
movl   $0x0,-0x58(%rbp)
cmpl   $0x4,-0x58(%rbp)
jge    18ca <evaluateGTRGAMMAPROTMULTINVAR_VECTOR+0x77a>
mov    -0x20(%rbp),%rax
imul   $0x50,-0x54(%rbp),%ecx
imul   $0x14,-0x58(%rbp),%edx
add    %edx,%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x78(%rbp)
mov    -0x70(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x78(%rbp),%rax
movsd  (%rax),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x70(%rbp),%rax
movsd  0x8(%rax),%xmm0
mov    -0x78(%rbp),%rax
mulsd  0x8(%rax),%xmm0
mov    -0x60(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x60(%rbp)
movsd  (%rax),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x70(%rbp),%rax
movsd  0x10(%rax),%xmm0
mov    -0x78(%rbp),%rax
mulsd  0x10(%rax),%xmm0
mov    -0x60(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x60(%rbp)
movsd  (%rax),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x70(%rbp),%rax
movsd  0x18(%rax),%xmm0
mov    -0x78(%rbp),%rax
mulsd  0x18(%rax),%xmm0
mov    -0x60(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x60(%rbp)
movsd  (%rax),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x70(%rbp),%rax
movsd  0x20(%rax),%xmm0
mov    -0x78(%rbp),%rax
mulsd  0x20(%rax),%xmm0
mov    -0x60(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x60(%rbp)
movsd  (%rax),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x70(%rbp),%rax
movsd  0x28(%rax),%xmm0
mov    -0x78(%rbp),%rax
mulsd  0x28(%rax),%xmm0
mov    -0x60(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x60(%rbp)
movsd  (%rax),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x70(%rbp),%rax
movsd  0x30(%rax),%xmm0
mov    -0x78(%rbp),%rax
mulsd  0x30(%rax),%xmm0
mov    -0x60(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x60(%rbp)
movsd  (%rax),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x70(%rbp),%rax
movsd  0x38(%rax),%xmm0
mov    -0x78(%rbp),%rax
mulsd  0x38(%rax),%xmm0
mov    -0x60(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x60(%rbp)
movsd  (%rax),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x70(%rbp),%rax
movsd  0x40(%rax),%xmm0
mov    -0x78(%rbp),%rax
mulsd  0x40(%rax),%xmm0
mov    -0x60(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x60(%rbp)
movsd  (%rax),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x70(%rbp),%rax
movsd  0x48(%rax),%xmm0
mov    -0x78(%rbp),%rax
mulsd  0x48(%rax),%xmm0
mov    -0x60(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x60(%rbp)
movsd  (%rax),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x70(%rbp),%rax
movsd  0x50(%rax),%xmm0
mov    -0x78(%rbp),%rax
mulsd  0x50(%rax),%xmm0
mov    -0x60(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x60(%rbp)
movsd  (%rax),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x70(%rbp),%rax
movsd  0x58(%rax),%xmm0
mov    -0x78(%rbp),%rax
mulsd  0x58(%rax),%xmm0
mov    -0x60(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x60(%rbp)
movsd  (%rax),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x70(%rbp),%rax
movsd  0x60(%rax),%xmm0
mov    -0x78(%rbp),%rax
mulsd  0x60(%rax),%xmm0
mov    -0x60(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x60(%rbp)
movsd  (%rax),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x70(%rbp),%rax
movsd  0x68(%rax),%xmm0
mov    -0x78(%rbp),%rax
mulsd  0x68(%rax),%xmm0
mov    -0x60(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x60(%rbp)
movsd  (%rax),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x70(%rbp),%rax
movsd  0x70(%rax),%xmm0
mov    -0x78(%rbp),%rax
mulsd  0x70(%rax),%xmm0
mov    -0x60(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x60(%rbp)
movsd  (%rax),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x70(%rbp),%rax
movsd  0x78(%rax),%xmm0
mov    -0x78(%rbp),%rax
mulsd  0x78(%rax),%xmm0
mov    -0x60(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x60(%rbp)
movsd  (%rax),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x70(%rbp),%rax
movsd  0x80(%rax),%xmm0
mov    -0x78(%rbp),%rax
mulsd  0x80(%rax),%xmm0
mov    -0x60(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x60(%rbp)
movsd  (%rax),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x70(%rbp),%rax
movsd  0x88(%rax),%xmm0
mov    -0x78(%rbp),%rax
mulsd  0x88(%rax),%xmm0
mov    -0x60(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x60(%rbp)
movsd  (%rax),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x70(%rbp),%rax
movsd  0x90(%rax),%xmm0
mov    -0x78(%rbp),%rax
mulsd  0x90(%rax),%xmm0
mov    -0x60(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x60(%rbp)
movsd  (%rax),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x70(%rbp),%rax
movsd  0x98(%rax),%xmm0
mov    -0x78(%rbp),%rax
mulsd  0x98(%rax),%xmm0
mov    -0x60(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x60(%rbp)
movsd  (%rax),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x58(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x58(%rbp)
jmp    1447 <evaluateGTRGAMMAPROTMULTINVAR_VECTOR+0x2f7>
mov    -0x18(%rbp),%rax
movslq -0x54(%rbp),%rcx
cmpl   $0x14,(%rax,%rcx,4)
jge    1959 <evaluateGTRGAMMAPROTMULTINVAR_VECTOR+0x809>
mov    -0x88(%rbp),%rax
movslq -0x7c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  -0x48(%rbp),%xmm2
mov    -0x90(%rbp),%rax
imul   $0x14,-0x7c(%rbp),%ecx
mov    -0x18(%rbp),%rdx
movslq -0x54(%rbp),%rsi
add    (%rdx,%rsi,4),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
mov    -0x8(%rbp),%rax
movslq -0x54(%rbp),%rcx
mov    (%rax,%rcx,4),%edi
movsd  0x6d6(%rip),%xmm0
call   1070 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x98(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
call   1060 <log@plt>
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0x48(%rbp)
jmp    19b3 <evaluateGTRGAMMAPROTMULTINVAR_VECTOR+0x863>
mov    -0x88(%rbp),%rax
movslq -0x7c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mulsd  -0x48(%rbp),%xmm0
call   1060 <log@plt>
mov    %eax,-0x9c(%rbp)
mov    -0x8(%rbp),%rax
movslq -0x54(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
mov    %eax,-0xa0(%rbp)
movsd  0x676(%rip),%xmm0
call   1060 <log@plt>
mov    -0xa0(%rbp),%ecx
mov    %eax,%edx
mov    -0x9c(%rbp),%eax
imul   %edx,%ecx
add    %ecx,%eax
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x48(%rbp),%xmm0
mov    -0x28(%rbp),%rax
movslq -0x54(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x54(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
jmp    13de <evaluateGTRGAMMAPROTMULTINVAR_VECTOR+0x28e>
mov    -0x68(%rbp),%rdi
call   1030 <free@plt>
mov    -0x90(%rbp),%rdi
call   1030 <free@plt>
mov    -0x88(%rbp),%rdi
call   1030 <free@plt>
add    $0xa0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<evaluateGTRGAMMAPROTMULTINVAR_VECTOR>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xb8,%rsp
mov    %r9,0x40(%rsp)
mov    %r8,0x80(%rsp)
mov    %rcx,%rbx
mov    %rdx,0x78(%rsp)
mov    %rsi,0x98(%rsp)
mov    %rdi,0x70(%rsp)
mov    0x138(%rsp),%ecx
mov    0x130(%rsp),%r14d
mov    0x128(%rsp),%eax
mov    %eax,0x14(%rsp)
mov    0x120(%rsp),%eax
mov    %eax,0x64(%rsp)
mov    0x118(%rsp),%rax
mov    %rax,0x90(%rsp)
mov    0x110(%rsp),%rax
mov    %rax,0x68(%rsp)
mov    0x108(%rsp),%rax
mov    %rax,0x30(%rsp)
mov    0x100(%rsp),%rax
mov    %rax,0xb0(%rsp)
mov    0xf8(%rsp),%rax
mov    %rax,0x88(%rsp)
xorpd  %xmm0,%xmm0
mov    0xf0(%rsp),%r12
mov    %ecx,0x38(%rsp)
test   %ecx,%ecx
jne    1223 <evaluateGTRGAMMAPROTMULTINVAR_VECTOR+0xd3>
movsd  0xdf2(%rip),%xmm0
mov    0x68(%rsp),%rax
maxsd  (%rax),%xmm0
call   1060 <log@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  %xmm0,(%rsp)
imul   $0x260,%r14d,%edi
call   1040 <malloc@plt>
mov    %rax,0x28(%rsp)
mov    %r14d,%eax
shl    $0x5,%eax
lea    (%rax,%rax,4),%edi
call   1040 <malloc@plt>
mov    %rax,0x18(%rsp)
lea    0x0(,%r14,8),%edi
call   1040 <malloc@plt>
movsd  (%rsp),%xmm1
mov    %rax,0x20(%rsp)
test   %r14d,%r14d
jle    1610 <evaluateGTRGAMMAPROTMULTINVAR_VECTOR+0x4c0>
mov    %r14d,%eax
mov    %rax,0xa0(%rsp)
xor    %r14d,%r14d
xor    %ebp,%ebp
mov    %r12,0xa8(%rsp)
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    %r14d,%r15d
and    $0x3fffffff,%r15d
shl    $0x5,%r15
add    0x28(%rsp),%r15
cmpl   $0x0,0x38(%rsp)
je     12c8 <evaluateGTRGAMMAPROTMULTINVAR_VECTOR+0x178>
movsd  0xd4e(%rip),%xmm0
mov    0x68(%rsp),%rax
maxsd  (%rax,%rbp,8),%xmm0
call   1060 <log@plt>
xorps  %xmm1,%xmm1
cvtsi2sd %eax,%xmm1
movsd  0xd38(%rip),%xmm0
mov    0x30(%rsp),%rdx
subsd  (%rdx,%rbp,8),%xmm0
mov    %r14,0x58(%rsp)
mov    %r14d,%r8d
mulsd  0xd26(%rip),%xmm0
mov    0x20(%rsp),%rcx
movsd  %xmm0,(%rcx,%rbp,8)
lea    0x0(,%rbp,4),%r14d
lea    (%r14,%r14,4),%ecx
mov    0xb0(%rsp),%rax
movsd  (%rax,%rcx,8),%xmm0
mulsd  (%rdx,%rbp,8),%xmm0
lea    0x0(,%rcx,8),%r9
mov    0x18(%rsp),%rdi
movsd  %xmm0,(%rdi,%rcx,8)
mov    %r9,%rsi
or     $0x8,%rsi
movsd  (%rax,%rsi,1),%xmm0
mulsd  (%rdx,%rbp,8),%xmm0
movsd  %xmm0,(%rdi,%rsi,1)
mov    %r9,%rsi
or     $0x10,%rsi
movsd  (%rax,%rsi,1),%xmm0
mulsd  (%rdx,%rbp,8),%xmm0
movsd  %xmm0,(%rdi,%rsi,1)
or     $0x18,%r9
movsd  (%rax,%r9,1),%xmm0
mulsd  (%rdx,%rbp,8),%xmm0
movsd  %xmm0,(%rdi,%r9,1)
movsd  0x20(%rax,%rcx,8),%xmm0
mulsd  (%rdx,%rbp,8),%xmm0
movsd  %xmm0,0x20(%rdi,%rcx,8)
movsd  0x28(%rax,%rcx,8),%xmm0
mulsd  (%rdx,%rbp,8),%xmm0
movsd  %xmm0,0x28(%rdi,%rcx,8)
movsd  0x30(%rax,%rcx,8),%xmm0
mulsd  (%rdx,%rbp,8),%xmm0
movsd  %xmm0,0x30(%rdi,%rcx,8)
movsd  0x38(%rax,%rcx,8),%xmm0
mulsd  (%rdx,%rbp,8),%xmm0
movsd  %xmm0,0x38(%rdi,%rcx,8)
movsd  0x40(%rax,%rcx,8),%xmm0
mulsd  (%rdx,%rbp,8),%xmm0
movsd  %xmm0,0x40(%rdi,%rcx,8)
movsd  0x48(%rax,%rcx,8),%xmm0
mulsd  (%rdx,%rbp,8),%xmm0
movsd  %xmm0,0x48(%rdi,%rcx,8)
movsd  0x50(%rax,%rcx,8),%xmm0
mulsd  (%rdx,%rbp,8),%xmm0
movsd  %xmm0,0x50(%rdi,%rcx,8)
movsd  0x58(%rax,%rcx,8),%xmm0
mulsd  (%rdx,%rbp,8),%xmm0
movsd  %xmm0,0x58(%rdi,%rcx,8)
movsd  0x60(%rax,%rcx,8),%xmm0
mulsd  (%rdx,%rbp,8),%xmm0
movsd  %xmm0,0x60(%rdi,%rcx,8)
movsd  0x68(%rax,%rcx,8),%xmm0
mulsd  (%rdx,%rbp,8),%xmm0
movsd  %xmm0,0x68(%rdi,%rcx,8)
movsd  0x70(%rax,%rcx,8),%xmm0
mulsd  (%rdx,%rbp,8),%xmm0
movsd  %xmm0,0x70(%rdi,%rcx,8)
movsd  0x78(%rax,%rcx,8),%xmm0
mulsd  (%rdx,%rbp,8),%xmm0
movsd  %xmm0,0x78(%rdi,%rcx,8)
movsd  0x80(%rax,%rcx,8),%xmm0
mulsd  (%rdx,%rbp,8),%xmm0
movsd  %xmm0,0x80(%rdi,%rcx,8)
movsd  0x88(%rax,%rcx,8),%xmm0
mulsd  (%rdx,%rbp,8),%xmm0
movsd  %xmm0,0x88(%rdi,%rcx,8)
movsd  0x90(%rax,%rcx,8),%xmm0
mulsd  (%rdx,%rbp,8),%xmm0
movsd  %xmm0,0x90(%rdi,%rcx,8)
movsd  0x98(%rax,%rcx,8),%xmm0
mov    %rbp,0x50(%rsp)
mulsd  (%rdx,%rbp,8),%xmm0
mov    0x40(%rsp),%rdx
lea    (%rdx,%r8,8),%r13
movsd  %xmm0,0x98(%rdi,%rcx,8)
movsd  (%r12,%r14,8),%xmm0
movsd  %xmm0,0x8(%rsp)
xor    %ebp,%ebp
movsd  %xmm1,(%rsp)
xchg   %ax,%ax
movsd  0x0(%r13,%rbp,1),%xmm0
mulsd  0x8(%rsp),%xmm0
mulsd  %xmm1,%xmm0
call   1050 <exp@plt>
movsd  (%rsp),%xmm1
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  %xmm0,(%r15,%rbp,1)
add    $0x8,%rbp
cmp    $0x98,%rbp
jne    14b0 <evaluateGTRGAMMAPROTMULTINVAR_VECTOR+0x360>
shl    $0x3,%r14
mov    %r14,0x48(%rsp)
mov    %r14,%rax
or     $0x8,%rax
movsd  (%r12,%rax,1),%xmm0
movsd  %xmm0,0x8(%rsp)
add    %rbp,%r15
mov    $0x13,%r12d
mov    %r13,%r14
nopl   (%rax)
movsd  (%r14),%xmm0
mulsd  0x8(%rsp),%xmm0
mulsd  %xmm1,%xmm0
call   1050 <exp@plt>
movsd  (%rsp),%xmm1
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  %xmm0,(%r15)
add    $0x8,%r15
add    $0x8,%r14
add    $0xffffffffffffffff,%r12
jne    1510 <evaluateGTRGAMMAPROTMULTINVAR_VECTOR+0x3c0>
mov    0x48(%rsp),%r14
mov    %r14,%rax
or     $0x10,%rax
mov    0xa8(%rsp),%r12
movsd  (%r12,%rax,1),%xmm0
movsd  %xmm0,0x8(%rsp)
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
nop
movsd  0x0(%r13,%rbp,8),%xmm0
mulsd  0x8(%rsp),%xmm0
mulsd  %xmm1,%xmm0
call   1050 <exp@plt>
movsd  (%rsp),%xmm1
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  %xmm0,(%r15)
add    $0x8,%r15
add    $0x1,%rbp
cmp    $0x13,%rbp
jne    1570 <evaluateGTRGAMMAPROTMULTINVAR_VECTOR+0x420>
or     $0x18,%r14
movsd  (%r12,%r14,1),%xmm0
movsd  %xmm0,0x8(%rsp)
xor    %ebp,%ebp
mov    0x58(%rsp),%r14
nopl   0x0(%rax)
movsd  0x0(%r13,%rbp,8),%xmm0
mulsd  0x8(%rsp),%xmm0
mulsd  %xmm1,%xmm0
call   1050 <exp@plt>
movsd  (%rsp),%xmm1
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  %xmm0,(%r15)
add    $0x8,%r15
add    $0x1,%rbp
cmp    $0x13,%rbp
jne    15c0 <evaluateGTRGAMMAPROTMULTINVAR_VECTOR+0x470>
mov    0x50(%rsp),%rbp
add    $0x1,%rbp
add    $0x13,%r14d
cmp    0xa0(%rsp),%rbp
jne    1290 <evaluateGTRGAMMAPROTMULTINVAR_VECTOR+0x140>
mov    0x14(%rsp),%r14d
mov    0x64(%rsp),%eax
cmp    %r14d,%eax
mov    0x80(%rsp),%r12
mov    0x78(%rsp),%r13
jge    19b3 <evaluateGTRGAMMAPROTMULTINVAR_VECTOR+0x863>
movslq %eax,%rbp
lea    0x0(,%rbp,4),%rax
add    %rbp,%rax
shl    $0x7,%rax
add    %rax,%rbx
jmp    169f <evaluateGTRGAMMAPROTMULTINVAR_VECTOR+0x54f>
cs nopw 0x0(%rax,%rax,1)
mulsd  %xmm1,%xmm0
call   1060 <log@plt>
mov    %eax,%r15d
mov    0x70(%rsp),%rax
mov    (%rax,%rbp,4),%r14d
movsd  0x9ab(%rip),%xmm0
call   1060 <log@plt>
imul   %r14d,%eax
mov    0x14(%rsp),%r14d
add    %r15d,%eax
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  %xmm0,(%r12,%rbp,8)
add    $0x1,%rbp
add    $0x280,%rbx
cmp    %r14d,%ebp
je     19b3 <evaluateGTRGAMMAPROTMULTINVAR_VECTOR+0x863>
mov    0x98(%rsp),%rax
movslq (%rax,%rbp,4),%rax
imul   $0x1cc,%rax,%rcx
mov    0x90(%rsp),%rdx
movsbq (%rdx,%rbp,1),%rdx
lea    (%rdx,%rdx,4),%rdx
lea    (%rcx,%rdx,4),%rsi
imul   $0x260,%rax,%rcx
add    0x28(%rsp),%rcx
mov    0x88(%rsp),%rdi
movsd  (%rdi,%rsi,8),%xmm0
movsd  %xmm0,(%rsp)
movsd  0x8(%rdi,%rsi,8),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0x10(%rdi,%rsi,8),%xmm0
movsd  %xmm0,0x58(%rsp)
movsd  0x18(%rdi,%rsi,8),%xmm0
movsd  %xmm0,0x50(%rsp)
movsd  0x20(%rdi,%rsi,8),%xmm0
movsd  %xmm0,0x48(%rsp)
movsd  0x28(%rdi,%rsi,8),%xmm0
movsd  %xmm0,0x40(%rsp)
movsd  0x30(%rdi,%rsi,8),%xmm0
movsd  %xmm0,0x38(%rsp)
movsd  0x38(%rdi,%rsi,8),%xmm0
movsd  %xmm0,0x30(%rsp)
movsd  0x40(%rdi,%rsi,8),%xmm14
movsd  0x48(%rdi,%rsi,8),%xmm15
movsd  0x50(%rdi,%rsi,8),%xmm4
movsd  0x58(%rdi,%rsi,8),%xmm5
movsd  0x60(%rdi,%rsi,8),%xmm6
movsd  0x68(%rdi,%rsi,8),%xmm7
movsd  0x70(%rdi,%rsi,8),%xmm1
movsd  0x78(%rdi,%rsi,8),%xmm8
mov    $0x98,%edx
movsd  0x80(%rdi,%rsi,8),%xmm9
movsd  0x88(%rdi,%rsi,8),%xmm10
movsd  0x90(%rdi,%rsi,8),%xmm11
movsd  0x98(%rdi,%rsi,8),%xmm12
xorpd  %xmm0,%xmm0
nopl   (%rax)
movsd  -0x98(%rbx,%rdx,1),%xmm13
ff ff ff
mulsd  (%rsp),%xmm13
addsd  %xmm0,%xmm13
movsd  -0x90(%rbx,%rdx,1),%xmm0
ff ff
mulsd  0x8(%rsp),%xmm0
mulsd  (%rcx),%xmm0
addsd  %xmm13,%xmm0
movsd  -0x88(%rbx,%rdx,1),%xmm2
ff ff
mulsd  0x58(%rsp),%xmm2
mulsd  0x8(%rcx),%xmm2
addsd  %xmm0,%xmm2
movsd  -0x80(%rbx,%rdx,1),%xmm0
mulsd  0x50(%rsp),%xmm0
mulsd  0x10(%rcx),%xmm0
movsd  -0x78(%rbx,%rdx,1),%xmm3
mulsd  0x48(%rsp),%xmm3
mulsd  0x18(%rcx),%xmm3
addsd  %xmm2,%xmm0
addsd  %xmm0,%xmm3
movsd  -0x70(%rbx,%rdx,1),%xmm0
mulsd  0x40(%rsp),%xmm0
mulsd  0x20(%rcx),%xmm0
addsd  %xmm3,%xmm0
movsd  -0x68(%rbx,%rdx,1),%xmm2
mulsd  0x38(%rsp),%xmm2
mulsd  0x28(%rcx),%xmm2
addsd  %xmm0,%xmm2
movsd  -0x60(%rbx,%rdx,1),%xmm0
mulsd  0x30(%rsp),%xmm0
mulsd  0x30(%rcx),%xmm0
movsd  -0x58(%rbx,%rdx,1),%xmm3
mulsd  %xmm14,%xmm3
mulsd  0x38(%rcx),%xmm3
addsd  %xmm2,%xmm0
addsd  %xmm0,%xmm3
movsd  -0x50(%rbx,%rdx,1),%xmm0
mulsd  %xmm15,%xmm0
mulsd  0x40(%rcx),%xmm0
addsd  %xmm3,%xmm0
movsd  -0x48(%rbx,%rdx,1),%xmm2
mulsd  %xmm4,%xmm2
mulsd  0x48(%rcx),%xmm2
addsd  %xmm0,%xmm2
movsd  -0x40(%rbx,%rdx,1),%xmm0
mulsd  %xmm5,%xmm0
mulsd  0x50(%rcx),%xmm0
movsd  -0x38(%rbx,%rdx,1),%xmm3
mulsd  %xmm6,%xmm3
mulsd  0x58(%rcx),%xmm3
addsd  %xmm2,%xmm0
addsd  %xmm0,%xmm3
movsd  -0x30(%rbx,%rdx,1),%xmm0
mulsd  %xmm7,%xmm0
mulsd  0x60(%rcx),%xmm0
addsd  %xmm3,%xmm0
movsd  -0x28(%rbx,%rdx,1),%xmm2
mulsd  %xmm1,%xmm2
mulsd  0x68(%rcx),%xmm2
addsd  %xmm0,%xmm2
movsd  -0x20(%rbx,%rdx,1),%xmm0
mulsd  %xmm8,%xmm0
mulsd  0x70(%rcx),%xmm0
movsd  -0x18(%rbx,%rdx,1),%xmm3
mulsd  %xmm9,%xmm3
mulsd  0x78(%rcx),%xmm3
addsd  %xmm2,%xmm0
addsd  %xmm0,%xmm3
movsd  -0x10(%rbx,%rdx,1),%xmm0
mulsd  %xmm10,%xmm0
mulsd  0x80(%rcx),%xmm0
addsd  %xmm3,%xmm0
movsd  -0x8(%rbx,%rdx,1),%xmm2
mulsd  %xmm11,%xmm2
mulsd  0x88(%rcx),%xmm2
addsd  %xmm0,%xmm2
movsd  (%rbx,%rdx,1),%xmm0
mulsd  %xmm12,%xmm0
mulsd  0x90(%rcx),%xmm0
addsd  %xmm2,%xmm0
add    $0xa0,%rdx
add    $0x98,%rcx
cmp    $0x318,%rdx
jne    17a0 <evaluateGTRGAMMAPROTMULTINVAR_VECTOR+0x650>
mov    0x0(%r13,%rbp,4),%ecx
mov    0x20(%rsp),%rdx
movsd  (%rdx,%rax,8),%xmm1
cmp    $0x13,%ecx
jg     1650 <evaluateGTRGAMMAPROTMULTINVAR_VECTOR+0x500>
lea    (%rax,%rax,4),%eax
lea    (%rcx,%rax,4),%eax
cltq
mulsd  %xmm0,%xmm1
mov    0x18(%rsp),%rcx
addsd  (%rcx,%rax,8),%xmm1
movsd  %xmm1,(%rsp)
mov    0x70(%rsp),%rax
mov    (%rax,%rbp,4),%edi
movsd  0x679(%rip),%xmm0
call   1070 <pow@plt>
mulsd  (%rsp),%xmm0
call   1060 <log@plt>
jmp    167e <evaluateGTRGAMMAPROTMULTINVAR_VECTOR+0x52e>
mov    0x28(%rsp),%rdi
call   1030 <free@plt>
mov    0x18(%rsp),%rdi
call   1030 <free@plt>
mov    0x20(%rsp),%rdi
add    $0xb8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <free@plt>

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

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