#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*/ derivs_three(double *, double *, double *, double const *);
void leech_three_rk4_full_output(double *y, const double dt, const unsigned N,
                                 const unsigned stride, const double *p,
                                 const double *kij, double *output) {
  unsigned i, j, k;
  double dt2, dt6;
  double y1[9], y2[9], k1[9], k2[9], k3[9], k4[9], P[12];
  dt2 = dt / 2.;
  dt6 = dt / 6.;
  for (j = 0; j < 12; j++)
    P[j] = p[j + 1];
  for (j = 0; j < 9; j++)
    output[j] = y[j];
  for (i = 1; i < N; i++) {
    for (j = 0; j < stride; j++) {
      derivs_three(y, k1, P, kij);
      for (k = 0; k < 9; k++)
        y1[k] = y[k] + k1[k] * dt2;
      derivs_three(y1, k2, P, kij);
      for (k = 0; k < 9; k++)
        y2[k] = y[k] + k2[k] * dt2;
      derivs_three(y2, k3, P, kij);
      for (k = 0; k < 9; k++)
        y2[k] = y[k] + k3[k] * dt;
      derivs_three(y2, k4, P, kij);
      for (k = 0; k < 9; k++)
        y[k] += dt6 * (k1[k] + 2. * (k2[k] + k3[k]) + k4[k]);
    }
    for (j = 0; j < 9; j++)
      output[9 * i + j] = y[j];
  }
}


x86 assembly (clang, -O0):
<leech_three_rk4_full_output>:
push   %rbp
mov    %rsp,%rbp
sub    $0x290,%rsp
mov    %rdi,-0x8(%rbp)
movsd  %xmm0,-0x10(%rbp)
mov    %esi,-0x14(%rbp)
mov    %edx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xec5(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xea7(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
movl   $0x0,-0x38(%rbp)
cmpl   $0xc,-0x38(%rbp)
jae    119e <leech_three_rk4_full_output+0x8e>
mov    -0x20(%rbp),%rax
mov    -0x38(%rbp),%ecx
add    $0x1,%ecx
mov    %ecx,%ecx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x38(%rbp),%eax
movsd  %xmm0,-0x290(%rbp,%rax,8)
ff ff
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    1169 <leech_three_rk4_full_output+0x59>
movl   $0x0,-0x38(%rbp)
cmpl   $0x9,-0x38(%rbp)
jae    11d5 <leech_three_rk4_full_output+0xc5>
mov    -0x8(%rbp),%rax
mov    -0x38(%rbp),%ecx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x30(%rbp),%rax
mov    -0x38(%rbp),%ecx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    11a5 <leech_three_rk4_full_output+0x95>
movl   $0x1,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0x14(%rbp),%eax
jae    1438 <leech_three_rk4_full_output+0x328>
movl   $0x0,-0x38(%rbp)
mov    -0x38(%rbp),%eax
cmp    -0x18(%rbp),%eax
jae    13e8 <leech_three_rk4_full_output+0x2d8>
mov    -0x8(%rbp),%rdi
lea    -0x140(%rbp),%rsi
lea    -0x290(%rbp),%rdx
mov    -0x28(%rbp),%rcx
call   1030 <derivs_three@plt>
movl   $0x0,-0x3c(%rbp)
cmpl   $0x9,-0x3c(%rbp)
jae    1266 <leech_three_rk4_full_output+0x156>
mov    -0x8(%rbp),%rax
mov    -0x3c(%rbp),%ecx
movsd  (%rax,%rcx,8),%xmm1
mov    -0x3c(%rbp),%eax
movsd  -0x140(%rbp,%rax,8),%xmm0
ff ff
movsd  -0x48(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x3c(%rbp),%eax
movsd  %xmm0,-0xa0(%rbp,%rax,8)
ff ff
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    121d <leech_three_rk4_full_output+0x10d>
lea    -0xa0(%rbp),%rdi
lea    -0x190(%rbp),%rsi
lea    -0x290(%rbp),%rdx
mov    -0x28(%rbp),%rcx
call   1030 <derivs_three@plt>
movl   $0x0,-0x3c(%rbp)
cmpl   $0x9,-0x3c(%rbp)
jae    12d4 <leech_three_rk4_full_output+0x1c4>
mov    -0x8(%rbp),%rax
mov    -0x3c(%rbp),%ecx
movsd  (%rax,%rcx,8),%xmm1
mov    -0x3c(%rbp),%eax
movsd  -0x190(%rbp,%rax,8),%xmm0
ff ff
movsd  -0x48(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x3c(%rbp),%eax
movsd  %xmm0,-0xf0(%rbp,%rax,8)
ff ff
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    128b <leech_three_rk4_full_output+0x17b>
lea    -0xf0(%rbp),%rdi
lea    -0x1e0(%rbp),%rsi
lea    -0x290(%rbp),%rdx
mov    -0x28(%rbp),%rcx
call   1030 <derivs_three@plt>
movl   $0x0,-0x3c(%rbp)
cmpl   $0x9,-0x3c(%rbp)
jae    1342 <leech_three_rk4_full_output+0x232>
mov    -0x8(%rbp),%rax
mov    -0x3c(%rbp),%ecx
movsd  (%rax,%rcx,8),%xmm1
mov    -0x3c(%rbp),%eax
movsd  -0x1e0(%rbp,%rax,8),%xmm0
ff ff
movsd  -0x10(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x3c(%rbp),%eax
movsd  %xmm0,-0xf0(%rbp,%rax,8)
ff ff
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    12f9 <leech_three_rk4_full_output+0x1e9>
lea    -0xf0(%rbp),%rdi
lea    -0x230(%rbp),%rsi
lea    -0x290(%rbp),%rdx
mov    -0x28(%rbp),%rcx
call   1030 <derivs_three@plt>
movl   $0x0,-0x3c(%rbp)
cmpl   $0x9,-0x3c(%rbp)
jae    13d5 <leech_three_rk4_full_output+0x2c5>
movsd  -0x50(%rbp),%xmm0
mov    -0x3c(%rbp),%eax
movsd  -0x140(%rbp,%rax,8),%xmm1
ff ff
mov    -0x3c(%rbp),%eax
movsd  -0x190(%rbp,%rax,8),%xmm2
ff ff
mov    -0x3c(%rbp),%eax
addsd  -0x1e0(%rbp,%rax,8),%xmm2
ff ff
addsd  %xmm2,%xmm2
addsd  %xmm1,%xmm2
mov    -0x3c(%rbp),%eax
addsd  -0x230(%rbp,%rax,8),%xmm2
ff ff
mov    -0x8(%rbp),%rax
mov    -0x3c(%rbp),%ecx
movsd  (%rax,%rcx,8),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    1367 <leech_three_rk4_full_output+0x257>
jmp    13da <leech_three_rk4_full_output+0x2ca>
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    11ef <leech_three_rk4_full_output+0xdf>
movl   $0x0,-0x38(%rbp)
cmpl   $0x9,-0x38(%rbp)
jae    1425 <leech_three_rk4_full_output+0x315>
mov    -0x8(%rbp),%rax
mov    -0x38(%rbp),%ecx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x30(%rbp),%rax
imul   $0x9,-0x34(%rbp),%ecx
add    -0x38(%rbp),%ecx
mov    %ecx,%ecx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    13ef <leech_three_rk4_full_output+0x2df>
jmp    142a <leech_three_rk4_full_output+0x31a>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    11dc <leech_three_rk4_full_output+0xcc>
add    $0x290,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<leech_three_rk4_full_output>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x2c8,%rsp
mov    %edx,0x4(%rsp)
movapd %xmm0,%xmm4
movups 0x58(%rcx),%xmm0
movaps %xmm0,0x2b0(%rsp)
movups 0x48(%rcx),%xmm0
movaps %xmm0,0x2a0(%rsp)
movups 0x8(%rcx),%xmm0
movupd 0x18(%rcx),%xmm1
movupd 0x28(%rcx),%xmm2
movupd 0x38(%rcx),%xmm3
movapd %xmm3,0x290(%rsp)
movapd %xmm2,0x280(%rsp)
movapd %xmm1,0x270(%rsp)
movaps %xmm0,0x260(%rsp)
movsd  (%rdi),%xmm0
movsd  %xmm0,(%r9)
movsd  0x8(%rdi),%xmm0
movsd  %xmm0,0x8(%r9)
movsd  0x10(%rdi),%xmm0
movsd  %xmm0,0x10(%r9)
movsd  0x18(%rdi),%xmm0
movsd  %xmm0,0x18(%r9)
movsd  0x20(%rdi),%xmm0
movsd  %xmm0,0x20(%r9)
movsd  0x28(%rdi),%xmm0
movsd  %xmm0,0x28(%r9)
movsd  0x30(%rdi),%xmm0
movsd  %xmm0,0x30(%r9)
movsd  0x38(%rdi),%xmm0
movsd  %xmm0,0x38(%r9)
movsd  0x40(%rdi),%xmm0
mov    %r9,0x18(%rsp)
movsd  %xmm0,0x40(%r9)
cmp    $0x2,%esi
jb     168f <leech_three_rk4_full_output+0x57f>
mov    %r8,%rbx
mov    %rdi,%rbp
movsd  0xe0c(%rip),%xmm1
mulsd  %xmm4,%xmm1
movapd %xmm4,%xmm2
divsd  0xe04(%rip),%xmm2
mov    %esi,%eax
mov    %rax,0x10(%rsp)
movapd %xmm1,%xmm3
unpcklpd %xmm1,%xmm3
movapd %xmm4,%xmm5
unpcklpd %xmm4,%xmm5
movapd %xmm2,%xmm6
unpcklpd %xmm2,%xmm6
mov    $0x1,%edx
lea    0xe0(%rsp),%r15
lea    0x260(%rsp),%r12
lea    0x130(%rsp),%r13
movapd %xmm2,0x1b0(%rsp)
movapd %xmm6,0x1a0(%rsp)
movapd %xmm3,0x30(%rsp)
movapd %xmm5,0x190(%rsp)
movapd %xmm4,0x180(%rsp)
movapd %xmm1,0x20(%rsp)
jmp    1318 <leech_three_rk4_full_output+0x208>
cs nopw 0x0(%rax,%rax,1)
nop
movsd  0x0(%rbp),%xmm0
mov    0x8(%rsp),%rdx
lea    (%rdx,%rdx,8),%eax
mov    0x18(%rsp),%rcx
movsd  %xmm0,(%rcx,%rax,8)
movsd  0x8(%rbp),%xmm0
lea    0x1(%rdx,%rdx,8),%eax
movsd  %xmm0,(%rcx,%rax,8)
movsd  0x10(%rbp),%xmm0
lea    0x2(%rdx,%rdx,8),%eax
movsd  %xmm0,(%rcx,%rax,8)
movsd  0x18(%rbp),%xmm0
lea    0x3(%rdx,%rdx,8),%eax
movsd  %xmm0,(%rcx,%rax,8)
movsd  0x20(%rbp),%xmm0
lea    0x4(%rdx,%rdx,8),%eax
movsd  %xmm0,(%rcx,%rax,8)
movsd  0x28(%rbp),%xmm0
lea    0x5(%rdx,%rdx,8),%eax
movsd  %xmm0,(%rcx,%rax,8)
movsd  0x30(%rbp),%xmm0
lea    0x6(%rdx,%rdx,8),%eax
movsd  %xmm0,(%rcx,%rax,8)
movsd  0x38(%rbp),%xmm0
lea    0x7(%rdx,%rdx,8),%eax
movsd  %xmm0,(%rcx,%rax,8)
movsd  0x40(%rbp),%xmm0
lea    (%rdx,%rdx,8),%eax
add    $0x8,%eax
movsd  %xmm0,(%rcx,%rax,8)
add    $0x1,%rdx
cmp    0x10(%rsp),%rdx
je     168f <leech_three_rk4_full_output+0x57f>
mov    %rdx,0x8(%rsp)
mov    0x4(%rsp),%eax
mov    %eax,%r14d
test   %eax,%eax
je     1280 <leech_three_rk4_full_output+0x170>
nopl   0x0(%rax)
mov    %rbp,%rdi
mov    %r15,%rsi
mov    %r12,%rdx
mov    %rbx,%rcx
call   1030 <derivs_three@plt>
movupd 0x0(%rbp),%xmm0
movapd 0xe0(%rsp),%xmm1
movapd 0x30(%rsp),%xmm2
mulpd  %xmm2,%xmm1
addpd  %xmm0,%xmm1
movapd %xmm1,0x210(%rsp)
movupd 0x10(%rbp),%xmm0
movapd 0xf0(%rsp),%xmm1
mulpd  %xmm2,%xmm1
addpd  %xmm0,%xmm1
movapd %xmm1,0x220(%rsp)
movupd 0x20(%rbp),%xmm0
movapd 0x100(%rsp),%xmm1
mulpd  %xmm2,%xmm1
addpd  %xmm0,%xmm1
movapd %xmm1,0x230(%rsp)
movupd 0x30(%rbp),%xmm0
movapd 0x110(%rsp),%xmm1
mulpd  %xmm2,%xmm1
addpd  %xmm0,%xmm1
movapd %xmm1,0x240(%rsp)
movsd  0x120(%rsp),%xmm0
mulsd  0x20(%rsp),%xmm0
addsd  0x40(%rbp),%xmm0
movsd  %xmm0,0x250(%rsp)
lea    0x210(%rsp),%rdi
lea    0x90(%rsp),%rsi
mov    %r12,%rdx
mov    %rbx,%rcx
call   1030 <derivs_three@plt>
movupd 0x0(%rbp),%xmm0
movapd 0x90(%rsp),%xmm1
movapd 0x30(%rsp),%xmm2
mulpd  %xmm2,%xmm1
addpd  %xmm0,%xmm1
movapd %xmm1,0x130(%rsp)
movupd 0x10(%rbp),%xmm0
movapd 0xa0(%rsp),%xmm1
mulpd  %xmm2,%xmm1
addpd  %xmm0,%xmm1
movapd %xmm1,0x140(%rsp)
movupd 0x20(%rbp),%xmm0
movapd 0xb0(%rsp),%xmm1
mulpd  %xmm2,%xmm1
addpd  %xmm0,%xmm1
movapd %xmm1,0x150(%rsp)
movupd 0x30(%rbp),%xmm0
movapd 0xc0(%rsp),%xmm1
mulpd  %xmm2,%xmm1
addpd  %xmm0,%xmm1
movapd %xmm1,0x160(%rsp)
movsd  0xd0(%rsp),%xmm0
mulsd  0x20(%rsp),%xmm0
addsd  0x40(%rbp),%xmm0
movsd  %xmm0,0x170(%rsp)
mov    %r13,%rdi
lea    0x40(%rsp),%rsi
mov    %r12,%rdx
mov    %rbx,%rcx
call   1030 <derivs_three@plt>
movupd 0x0(%rbp),%xmm0
movapd 0x40(%rsp),%xmm1
movapd 0x190(%rsp),%xmm2
mulpd  %xmm2,%xmm1
addpd  %xmm0,%xmm1
movapd %xmm1,0x130(%rsp)
movupd 0x10(%rbp),%xmm0
movapd 0x50(%rsp),%xmm1
mulpd  %xmm2,%xmm1
addpd  %xmm0,%xmm1
movapd %xmm1,0x140(%rsp)
movupd 0x20(%rbp),%xmm0
movapd 0x60(%rsp),%xmm1
mulpd  %xmm2,%xmm1
addpd  %xmm0,%xmm1
movapd %xmm1,0x150(%rsp)
movupd 0x30(%rbp),%xmm0
movapd 0x70(%rsp),%xmm1
mulpd  %xmm2,%xmm1
addpd  %xmm0,%xmm1
movapd %xmm1,0x160(%rsp)
movsd  0x80(%rsp),%xmm0
mulsd  0x180(%rsp),%xmm0
addsd  0x40(%rbp),%xmm0
movsd  %xmm0,0x170(%rsp)
mov    %r13,%rdi
lea    0x1c0(%rsp),%rsi
mov    %r12,%rdx
mov    %rbx,%rcx
call   1030 <derivs_three@plt>
movapd 0x1a0(%rsp),%xmm6
movapd 0x90(%rsp),%xmm1
addpd  0x40(%rsp),%xmm1
addpd  %xmm1,%xmm1
addpd  0xe0(%rsp),%xmm1
addpd  0x1c0(%rsp),%xmm1
movupd 0x0(%rbp),%xmm0
mulpd  %xmm6,%xmm1
addpd  %xmm1,%xmm0
movupd 0x10(%rbp),%xmm1
movupd 0x20(%rbp),%xmm2
movupd %xmm0,0x0(%rbp)
movapd 0xa0(%rsp),%xmm3
addpd  0x50(%rsp),%xmm3
addpd  %xmm3,%xmm3
addpd  0xf0(%rsp),%xmm3
addpd  0x1d0(%rsp),%xmm3
mulpd  %xmm6,%xmm3
addpd  %xmm1,%xmm3
movupd %xmm3,0x10(%rbp)
movapd 0xb0(%rsp),%xmm1
addpd  0x60(%rsp),%xmm1
addpd  %xmm1,%xmm1
addpd  0x100(%rsp),%xmm1
addpd  0x1e0(%rsp),%xmm1
mulpd  %xmm6,%xmm1
addpd  %xmm2,%xmm1
movupd %xmm1,0x20(%rbp)
movapd 0xc0(%rsp),%xmm1
addpd  0x70(%rsp),%xmm1
addpd  %xmm1,%xmm1
addpd  0x110(%rsp),%xmm1
addpd  0x1f0(%rsp),%xmm1
movupd 0x30(%rbp),%xmm2
mulpd  %xmm6,%xmm1
addpd  %xmm2,%xmm1
movapd 0x1b0(%rsp),%xmm2
movupd %xmm1,0x30(%rbp)
movsd  0xd0(%rsp),%xmm1
addsd  0x80(%rsp),%xmm1
addsd  %xmm1,%xmm1
addsd  0x120(%rsp),%xmm1
addsd  0x200(%rsp),%xmm1
mulsd  %xmm2,%xmm1
addsd  0x40(%rbp),%xmm1
movsd  %xmm1,0x40(%rbp)
add    $0xffffffff,%r14d
jne    1330 <leech_three_rk4_full_output+0x220>
jmp    1285 <leech_three_rk4_full_output+0x175>
add    $0x2c8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

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