#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 */
double SL_G1(int, int);
double SL_G2(int, int);
void twobody_XC_slip_17(int n, double l, double *f, double *fk) {
  int q;
  for (q = 0; q <= 17; q++)
    fk[q] = 0.0;
  fk[6] = 1966080.0 * SL_G1(-4, 7) * SL_G1(0, 3) * SL_G2(0, 3) * SL_G2(0, 3);
  fk[8] = 7864320.0 * SL_G1(-3, 6) * SL_G2(-1, 4) * SL_G1(0, 3) * SL_G2(0, 3);
  fk[9] = 786432.0 * SL_G1(-1, 4) * SL_G1(0, 3) * SL_G1(0, 3) * SL_G2(0, 3) *
          SL_G2(0, 3) * SL_G2(0, 3);
  fk[10] = 11796480.0 * SL_G1(-2, 5) * SL_G2(-2, 5) * SL_G1(0, 3) * SL_G2(0, 3);
  fk[11] = 786432.0 * SL_G2(-1, 4) * SL_G1(0, 3) * SL_G1(0, 3) * SL_G1(0, 3) *
           SL_G2(0, 3) * SL_G2(0, 3);
  fk[12] = 7864320.0 * SL_G2(-3, 6) * SL_G1(-1, 4) * SL_G1(0, 3) * SL_G2(0, 3);
  fk[14] = 1966080.0 * SL_G2(-4, 7) * SL_G1(0, 3) * SL_G1(0, 3) * SL_G2(0, 3);
  f[17] = 0.0;
  for (q = 0; q <= 17; q++)
    f[17] = f[17] * l + fk[17 - q];
}


x86 assembly (clang, -O0):
<twobody_XC_slip_17>:
push   %rbp
mov    %rsp,%rbp
sub    $0xf0,%rsp
mov    %edi,-0x4(%rbp)
movsd  %xmm0,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    %rdx,-0x20(%rbp)
movl   $0x0,-0x24(%rbp)
cmpl   $0x11,-0x24(%rbp)
jg     116a <twobody_XC_slip_17+0x4a>
mov    -0x20(%rbp),%rax
movslq -0x24(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1142 <twobody_XC_slip_17+0x22>
mov    $0xfffffffc,%edi
mov    $0x7,%esi
call   1040 <SL_G1@plt>
movaps %xmm0,%xmm1
movsd  0xe7c(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xf0(%rbp)
ff
xor    %edi,%edi
mov    $0x3,%esi
call   1040 <SL_G1@plt>
movaps %xmm0,%xmm1
movsd  -0xf0(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xe8(%rbp)
ff
xor    %edi,%edi
mov    $0x3,%esi
call   1030 <SL_G2@plt>
movaps %xmm0,%xmm1
movsd  -0xe8(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xe0(%rbp)
ff
xor    %edi,%edi
mov    $0x3,%esi
call   1030 <SL_G2@plt>
movaps %xmm0,%xmm1
movsd  -0xe0(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x30(%rax)
mov    $0xfffffffd,%edi
mov    $0x6,%esi
call   1040 <SL_G1@plt>
movaps %xmm0,%xmm1
movsd  0xdf4(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xd8(%rbp)
ff
mov    $0xffffffff,%edi
mov    $0x4,%esi
call   1030 <SL_G2@plt>
movaps %xmm0,%xmm1
movsd  -0xd8(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xd0(%rbp)
ff
xor    %edi,%edi
mov    $0x3,%esi
call   1040 <SL_G1@plt>
movaps %xmm0,%xmm1
movsd  -0xd0(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xc8(%rbp)
ff
xor    %edi,%edi
mov    $0x3,%esi
call   1030 <SL_G2@plt>
movaps %xmm0,%xmm1
movsd  -0xc8(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x40(%rax)
mov    $0xffffffff,%edi
mov    $0x4,%esi
call   1040 <SL_G1@plt>
movaps %xmm0,%xmm1
movsd  0xd69(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
xor    %edi,%edi
mov    $0x3,%esi
call   1040 <SL_G1@plt>
movaps %xmm0,%xmm1
movsd  -0xc0(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
xor    %edi,%edi
mov    $0x3,%esi
call   1040 <SL_G1@plt>
movaps %xmm0,%xmm1
movsd  -0xb8(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
xor    %edi,%edi
mov    $0x3,%esi
call   1030 <SL_G2@plt>
movaps %xmm0,%xmm1
movsd  -0xb0(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
xor    %edi,%edi
mov    $0x3,%esi
call   1030 <SL_G2@plt>
movaps %xmm0,%xmm1
movsd  -0xa8(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
xor    %edi,%edi
mov    $0x3,%esi
call   1030 <SL_G2@plt>
movaps %xmm0,%xmm1
movsd  -0xa0(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x48(%rax)
mov    $0xfffffffe,%edi
mov    $0x5,%esi
call   1040 <SL_G1@plt>
movaps %xmm0,%xmm1
movsd  0xc9b(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
mov    $0xfffffffe,%edi
mov    $0x5,%esi
call   1030 <SL_G2@plt>
movaps %xmm0,%xmm1
movsd  -0x98(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
xor    %edi,%edi
mov    $0x3,%esi
call   1040 <SL_G1@plt>
movaps %xmm0,%xmm1
movsd  -0x90(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
xor    %edi,%edi
mov    $0x3,%esi
call   1030 <SL_G2@plt>
movaps %xmm0,%xmm1
movsd  -0x88(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x50(%rax)
mov    $0xffffffff,%edi
mov    $0x4,%esi
call   1030 <SL_G2@plt>
movaps %xmm0,%xmm1
movsd  0xc00(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
xor    %edi,%edi
mov    $0x3,%esi
call   1040 <SL_G1@plt>
movaps %xmm0,%xmm1
movsd  -0x80(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
xor    %edi,%edi
mov    $0x3,%esi
call   1040 <SL_G1@plt>
movaps %xmm0,%xmm1
movsd  -0x78(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
xor    %edi,%edi
mov    $0x3,%esi
call   1040 <SL_G1@plt>
movaps %xmm0,%xmm1
movsd  -0x70(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
xor    %edi,%edi
mov    $0x3,%esi
call   1030 <SL_G2@plt>
movaps %xmm0,%xmm1
movsd  -0x68(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
xor    %edi,%edi
mov    $0x3,%esi
call   1030 <SL_G2@plt>
movaps %xmm0,%xmm1
movsd  -0x60(%rbp),%xmm0
mulsd  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x58(%rax)
mov    $0xfffffffd,%edi
mov    $0x6,%esi
call   1030 <SL_G2@plt>
movaps %xmm0,%xmm1
movsd  0xb40(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    $0xffffffff,%edi
mov    $0x4,%esi
call   1040 <SL_G1@plt>
movaps %xmm0,%xmm1
movsd  -0x58(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
xor    %edi,%edi
mov    $0x3,%esi
call   1040 <SL_G1@plt>
movaps %xmm0,%xmm1
movsd  -0x50(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
xor    %edi,%edi
mov    $0x3,%esi
call   1030 <SL_G2@plt>
movaps %xmm0,%xmm1
movsd  -0x48(%rbp),%xmm0
mulsd  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x60(%rax)
mov    $0xfffffffc,%edi
mov    $0x7,%esi
call   1030 <SL_G2@plt>
movaps %xmm0,%xmm1
movsd  0xab7(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
xor    %edi,%edi
mov    $0x3,%esi
call   1040 <SL_G1@plt>
movaps %xmm0,%xmm1
movsd  -0x40(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x38(%rbp)
xor    %edi,%edi
mov    $0x3,%esi
call   1040 <SL_G1@plt>
movaps %xmm0,%xmm1
movsd  -0x38(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x30(%rbp)
xor    %edi,%edi
mov    $0x3,%esi
call   1030 <SL_G2@plt>
movaps %xmm0,%xmm1
movsd  -0x30(%rbp),%xmm0
mulsd  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x70(%rax)
mov    -0x18(%rbp),%rax
xorps  %xmm0,%xmm0
movsd  %xmm0,0x88(%rax)
movl   $0x0,-0x24(%rbp)
cmpl   $0x11,-0x24(%rbp)
jg     1614 <twobody_XC_slip_17+0x4f4>
mov    -0x18(%rbp),%rax
movsd  0x88(%rax),%xmm0
movsd  -0x10(%rbp),%xmm2
mov    -0x20(%rbp),%rax
mov    $0x11,%ecx
sub    -0x24(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x88(%rax)
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    15c3 <twobody_XC_slip_17+0x4a3>
add    $0xf0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<twobody_XC_slip_17>:
push   %r14
push   %rbx
sub    $0x18,%rsp
mov    %rdx,%rbx
mov    %rsi,%r14
movsd  %xmm0,0x10(%rsp)
xorpd  %xmm0,%xmm0
movupd %xmm0,0x80(%rdx)
movupd %xmm0,0x70(%rdx)
movupd %xmm0,0x60(%rdx)
movupd %xmm0,0x50(%rdx)
movupd %xmm0,0x40(%rdx)
movupd %xmm0,0x30(%rdx)
movupd %xmm0,0x20(%rdx)
movupd %xmm0,0x10(%rdx)
movupd %xmm0,(%rdx)
mov    $0xfffffffc,%edi
mov    $0x7,%esi
call   1040 <SL_G1@plt>
mulsd  0xe83(%rip),%xmm0
movsd  %xmm0,0x8(%rsp)
xor    %edi,%edi
mov    $0x3,%esi
call   1040 <SL_G1@plt>
mulsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
xor    %edi,%edi
mov    $0x3,%esi
call   1030 <SL_G2@plt>
mulsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
xor    %edi,%edi
mov    $0x3,%esi
call   1030 <SL_G2@plt>
mulsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x30(%rbx)
mov    $0xfffffffd,%edi
mov    $0x6,%esi
call   1040 <SL_G1@plt>
mulsd  0xe27(%rip),%xmm0
movsd  %xmm0,0x8(%rsp)
mov    $0xffffffff,%edi
mov    $0x4,%esi
call   1030 <SL_G2@plt>
mulsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
xor    %edi,%edi
mov    $0x3,%esi
call   1040 <SL_G1@plt>
mulsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
xor    %edi,%edi
mov    $0x3,%esi
call   1030 <SL_G2@plt>
mulsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x40(%rbx)
mov    $0xffffffff,%edi
mov    $0x4,%esi
call   1040 <SL_G1@plt>
mulsd  0xdc8(%rip),%xmm0
movsd  %xmm0,0x8(%rsp)
xor    %edi,%edi
mov    $0x3,%esi
call   1040 <SL_G1@plt>
mulsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
xor    %edi,%edi
mov    $0x3,%esi
call   1040 <SL_G1@plt>
mulsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
xor    %edi,%edi
mov    $0x3,%esi
call   1030 <SL_G2@plt>
mulsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
xor    %edi,%edi
mov    $0x3,%esi
call   1030 <SL_G2@plt>
mulsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
xor    %edi,%edi
mov    $0x3,%esi
call   1030 <SL_G2@plt>
mulsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x48(%rbx)
mov    $0xfffffffe,%edi
mov    $0x5,%esi
call   1040 <SL_G1@plt>
mulsd  0xd3c(%rip),%xmm0
movsd  %xmm0,0x8(%rsp)
mov    $0xfffffffe,%edi
mov    $0x5,%esi
call   1030 <SL_G2@plt>
mulsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
xor    %edi,%edi
mov    $0x3,%esi
call   1040 <SL_G1@plt>
mulsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
xor    %edi,%edi
mov    $0x3,%esi
call   1030 <SL_G2@plt>
mulsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x50(%rbx)
mov    $0xffffffff,%edi
mov    $0x4,%esi
call   1030 <SL_G2@plt>
mulsd  0xccd(%rip),%xmm0
movsd  %xmm0,0x8(%rsp)
xor    %edi,%edi
mov    $0x3,%esi
call   1040 <SL_G1@plt>
mulsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
xor    %edi,%edi
mov    $0x3,%esi
call   1040 <SL_G1@plt>
mulsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
xor    %edi,%edi
mov    $0x3,%esi
call   1040 <SL_G1@plt>
mulsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
xor    %edi,%edi
mov    $0x3,%esi
call   1030 <SL_G2@plt>
mulsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
xor    %edi,%edi
mov    $0x3,%esi
call   1030 <SL_G2@plt>
mulsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x58(%rbx)
mov    $0xfffffffd,%edi
mov    $0x6,%esi
call   1030 <SL_G2@plt>
mulsd  0xc31(%rip),%xmm0
movsd  %xmm0,0x8(%rsp)
mov    $0xffffffff,%edi
mov    $0x4,%esi
call   1040 <SL_G1@plt>
mulsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
xor    %edi,%edi
mov    $0x3,%esi
call   1040 <SL_G1@plt>
mulsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
xor    %edi,%edi
mov    $0x3,%esi
call   1030 <SL_G2@plt>
mulsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x60(%rbx)
mov    $0xfffffffc,%edi
mov    $0x7,%esi
call   1030 <SL_G2@plt>
mulsd  0xbc2(%rip),%xmm0
movsd  %xmm0,0x8(%rsp)
xor    %edi,%edi
mov    $0x3,%esi
call   1040 <SL_G1@plt>
mulsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
xor    %edi,%edi
mov    $0x3,%esi
call   1040 <SL_G1@plt>
mulsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
xor    %edi,%edi
mov    $0x3,%esi
call   1030 <SL_G2@plt>
mulsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x70(%rbx)
movq   $0x0,0x88(%r14)
xorpd  %xmm0,%xmm0
movsd  0x10(%rsp),%xmm1
mulsd  %xmm1,%xmm0
addsd  0x88(%rbx),%xmm0
movsd  %xmm0,0x88(%r14)
mulsd  %xmm1,%xmm0
addsd  0x80(%rbx),%xmm0
movsd  %xmm0,0x88(%r14)
mulsd  %xmm1,%xmm0
addsd  0x78(%rbx),%xmm0
movsd  %xmm0,0x88(%r14)
mulsd  %xmm1,%xmm0
addsd  0x70(%rbx),%xmm0
movsd  %xmm0,0x88(%r14)
mulsd  %xmm1,%xmm0
addsd  0x68(%rbx),%xmm0
movsd  %xmm0,0x88(%r14)
mulsd  %xmm1,%xmm0
addsd  0x60(%rbx),%xmm0
movsd  %xmm0,0x88(%r14)
mulsd  %xmm1,%xmm0
addsd  0x58(%rbx),%xmm0
movsd  %xmm0,0x88(%r14)
mulsd  %xmm1,%xmm0
addsd  0x50(%rbx),%xmm0
movsd  %xmm0,0x88(%r14)
mulsd  %xmm1,%xmm0
addsd  0x48(%rbx),%xmm0
movsd  %xmm0,0x88(%r14)
mulsd  %xmm1,%xmm0
addsd  0x40(%rbx),%xmm0
movsd  %xmm0,0x88(%r14)
mulsd  %xmm1,%xmm0
addsd  0x38(%rbx),%xmm0
movsd  %xmm0,0x88(%r14)
mulsd  %xmm1,%xmm0
addsd  0x30(%rbx),%xmm0
movsd  %xmm0,0x88(%r14)
mulsd  %xmm1,%xmm0
addsd  0x28(%rbx),%xmm0
movsd  %xmm0,0x88(%r14)
mulsd  %xmm1,%xmm0
addsd  0x20(%rbx),%xmm0
movsd  %xmm0,0x88(%r14)
mulsd  %xmm1,%xmm0
addsd  0x18(%rbx),%xmm0
movsd  %xmm0,0x88(%r14)
mulsd  %xmm1,%xmm0
addsd  0x10(%rbx),%xmm0
movsd  %xmm0,0x88(%r14)
mulsd  %xmm1,%xmm0
addsd  0x8(%rbx),%xmm0
movsd  %xmm0,0x88(%r14)
mulsd  %xmm1,%xmm0
addsd  (%rbx),%xmm0
movsd  %xmm0,0x88(%r14)
add    $0x18,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
define void @twobody_XC_slip_17(i32 %0, double %1, double* %2, double* %3) {
%5 = alloca i32
%6 = alloca double
%7 = alloca double*
%8 = alloca double*
%9 = alloca i32
store i32 %0, i32* %5
store double %1, double* %6
store double* %2, double** %7
store double* %3, double** %8
store i32 0, i32* %9
br label %10
10: ; preds = %18, %4
%11 = load i32, i32* %9
%12 = icmp sle i32 %11, 17
br i1 %12, label %13, label %21
13: ; preds = %10
%14 = load double*, double** %8
%15 = load i32, i32* %9
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds double, double* %14, i64 %16
store double 0.000000e+00, double* %17
br label %18
18: ; preds = %13
%19 = load i32, i32* %9
%20 = add nsw i32 %19, 1
store i32 %20, i32* %9
br label %10
21: ; preds = %10
%22 = call double @SL_G1(i32 -4, i32 7)
%23 = fmul double 1.966080e+06, %22
%24 = call double @SL_G1(i32 0, i32 3)
%25 = fmul double %23, %24
%26 = call double @SL_G2(i32 0, i32 3)
%27 = fmul double %25, %26
%28 = call double @SL_G2(i32 0, i32 3)
%29 = fmul double %27, %28
%30 = load double*, double** %8
%31 = getelementptr inbounds double, double* %30, i64 6
store double %29, double* %31
%32 = call double @SL_G1(i32 -3, i32 6)
%33 = fmul double 7.864320e+06, %32
%34 = call double @SL_G2(i32 -1, i32 4)
%35 = fmul double %33, %34
%36 = call double @SL_G1(i32 0, i32 3)
%37 = fmul double %35, %36
%38 = call double @SL_G2(i32 0, i32 3)
%39 = fmul double %37, %38
%40 = load double*, double** %8
%41 = getelementptr inbounds double, double* %40, i64 8
store double %39, double* %41
%42 = call double @SL_G1(i32 -1, i32 4)
%43 = fmul double 7.864320e+05, %42
%44 = call double @SL_G1(i32 0, i32 3)
%45 = fmul double %43, %44
%46 = call double @SL_G1(i32 0, i32 3)
%47 = fmul double %45, %46
%48 = call double @SL_G2(i32 0, i32 3)
%49 = fmul double %47, %48
%50 = call double @SL_G2(i32 0, i32 3)
%51 = fmul double %49, %50
%52 = call double @SL_G2(i32 0, i32 3)
%53 = fmul double %51, %52
%54 = load double*, double** %8
%55 = getelementptr inbounds double, double* %54, i64 9
store double %53, double* %55
%56 = call double @SL_G1(i32 -2, i32 5)
%57 = fmul double 0x4166800000000000, %56
%58 = call double @SL_G2(i32 -2, i32 5)
%59 = fmul double %57, %58
%60 = call double @SL_G1(i32 0, i32 3)
%61 = fmul double %59, %60
%62 = call double @SL_G2(i32 0, i32 3)
%63 = fmul double %61, %62
%64 = load double*, double** %8
%65 = getelementptr inbounds double, double* %64, i64 10
store double %63, double* %65
%66 = call double @SL_G2(i32 -1, i32 4)
%67 = fmul double 7.864320e+05, %66
%68 = call double @SL_G1(i32 0, i32 3)
%69 = fmul double %67, %68
%70 = call double @SL_G1(i32 0, i32 3)
%71 = fmul double %69, %70
%72 = call double @SL_G1(i32 0, i32 3)
%73 = fmul double %71, %72
%74 = call double @SL_G2(i32 0, i32 3)
%75 = fmul double %73, %74
%76 = call double @SL_G2(i32 0, i32 3)
%77 = fmul double %75, %76
%78 = load double*, double** %8
%79 = getelementptr inbounds double, double* %78, i64 11
store double %77, double* %79
%80 = call double @SL_G2(i32 -3, i32 6)
%81 = fmul double 7.864320e+06, %80
%82 = call double @SL_G1(i32 -1, i32 4)
%83 = fmul double %81, %82
%84 = call double @SL_G1(i32 0, i32 3)
%85 = fmul double %83, %84
%86 = call double @SL_G2(i32 0, i32 3)
%87 = fmul double %85, %86
%88 = load double*, double** %8
%89 = getelementptr inbounds double, double* %88, i64 12
store double %87, double* %89
%90 = call double @SL_G2(i32 -4, i32 7)
%91 = fmul double 1.966080e+06, %90
%92 = call double @SL_G1(i32 0, i32 3)
%93 = fmul double %91, %92
%94 = call double @SL_G1(i32 0, i32 3)
%95 = fmul double %93, %94
%96 = call double @SL_G2(i32 0, i32 3)
%97 = fmul double %95, %96
%98 = load double*, double** %8
%99 = getelementptr inbounds double, double* %98, i64 14
store double %97, double* %99
%100 = load double*, double** %7
%101 = getelementptr inbounds double, double* %100, i64 17
store double 0.000000e+00, double* %101
store i32 0, i32* %9
br label %102
102: ; preds = %119, %21
%103 = load i32, i32* %9
%104 = icmp sle i32 %103, 17
br i1 %104, label %105, label %122
105: ; preds = %102
%106 = load double*, double** %7
%107 = getelementptr inbounds double, double* %106, i64 17
%108 = load double, double* %107
%109 = load double, double* %6
%110 = load double*, double** %8
%111 = load i32, i32* %9
%112 = sub nsw i32 17, %111
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds double, double* %110, i64 %113
%115 = load double, double* %114
%116 = call double @llvm.fmuladd.f64(double %108, double %109, double %115)
%117 = load double*, double** %7
%118 = getelementptr inbounds double, double* %117, i64 17
store double %116, double* %118
br label %119
119: ; preds = %105
%120 = load i32, i32* %9
%121 = add nsw i32 %120, 1
store i32 %121, i32* %9
br label %102
122: ; preds = %102
ret void
}

LLVM IR (-O2):
define void @twobody_XC_slip_17(i32 %0, double %1, double* nocapture %2, double* nocapture %3) {
%5 = bitcast double* %3 to i8*
%6 = tail call double @SL_G1(i32 -4, i32 7)
%7 = fmul double %6, 1.966080e+06
%8 = tail call double @SL_G1(i32 0, i32 3)
%9 = fmul double %7, %8
%10 = tail call double @SL_G2(i32 0, i32 3)
%11 = fmul double %9, %10
%12 = tail call double @SL_G2(i32 0, i32 3)
%13 = fmul double %11, %12
%14 = getelementptr inbounds double, double* %3, i64 6
store double %13, double* %14
%15 = tail call double @SL_G1(i32 -3, i32 6)
%16 = fmul double %15, 7.864320e+06
%17 = tail call double @SL_G2(i32 -1, i32 4)
%18 = fmul double %16, %17
%19 = tail call double @SL_G1(i32 0, i32 3)
%20 = fmul double %18, %19
%21 = tail call double @SL_G2(i32 0, i32 3)
%22 = fmul double %20, %21
%23 = getelementptr inbounds double, double* %3, i64 8
store double %22, double* %23
%24 = tail call double @SL_G1(i32 -1, i32 4)
%25 = fmul double %24, 7.864320e+05
%26 = tail call double @SL_G1(i32 0, i32 3)
%27 = fmul double %25, %26
%28 = tail call double @SL_G1(i32 0, i32 3)
%29 = fmul double %27, %28
%30 = tail call double @SL_G2(i32 0, i32 3)
%31 = fmul double %29, %30
%32 = tail call double @SL_G2(i32 0, i32 3)
%33 = fmul double %31, %32
%34 = tail call double @SL_G2(i32 0, i32 3)
%35 = fmul double %33, %34
%36 = getelementptr inbounds double, double* %3, i64 9
store double %35, double* %36
%37 = tail call double @SL_G1(i32 -2, i32 5)
%38 = fmul double %37, 0x4166800000000000
%39 = tail call double @SL_G2(i32 -2, i32 5)
%40 = fmul double %38, %39
%41 = tail call double @SL_G1(i32 0, i32 3)
%42 = fmul double %40, %41
%43 = tail call double @SL_G2(i32 0, i32 3)
%44 = fmul double %42, %43
%45 = getelementptr inbounds double, double* %3, i64 10
store double %44, double* %45
%46 = tail call double @SL_G2(i32 -1, i32 4)
%47 = fmul double %46, 7.864320e+05
%48 = tail call double @SL_G1(i32 0, i32 3)
%49 = fmul double %47, %48
%50 = tail call double @SL_G1(i32 0, i32 3)
%51 = fmul double %49, %50
%52 = tail call double @SL_G1(i32 0, i32 3)
%53 = fmul double %51, %52
%54 = tail call double @SL_G2(i32 0, i32 3)
%55 = fmul double %53, %54
%56 = tail call double @SL_G2(i32 0, i32 3)
%57 = fmul double %55, %56
%58 = getelementptr inbounds double, double* %3, i64 11
store double %57, double* %58
%59 = tail call double @SL_G2(i32 -3, i32 6)
%60 = fmul double %59, 7.864320e+06
%61 = tail call double @SL_G1(i32 -1, i32 4)
%62 = fmul double %60, %61
%63 = tail call double @SL_G1(i32 0, i32 3)
%64 = fmul double %62, %63
%65 = tail call double @SL_G2(i32 0, i32 3)
%66 = fmul double %64, %65
%67 = getelementptr inbounds double, double* %3, i64 12
store double %66, double* %67
%68 = tail call double @SL_G2(i32 -4, i32 7)
%69 = fmul double %68, 1.966080e+06
%70 = tail call double @SL_G1(i32 0, i32 3)
%71 = fmul double %69, %70
%72 = tail call double @SL_G1(i32 0, i32 3)
%73 = fmul double %71, %72
%74 = tail call double @SL_G2(i32 0, i32 3)
%75 = fmul double %73, %74
%76 = getelementptr inbounds double, double* %3, i64 14
store double %75, double* %76
%77 = getelementptr inbounds double, double* %2, i64 17
store double 0.000000e+00, double* %77
%78 = getelementptr inbounds double, double* %3, i64 17
%79 = load double, double* %78
%80 = tail call double @llvm.fmuladd.f64(double %1, double 0.000000e+00, double %79)
store double %80, double* %77
%81 = getelementptr inbounds double, double* %3, i64 16
%82 = load double, double* %81
%83 = tail call double @llvm.fmuladd.f64(double %80, double %1, double %82)
store double %83, double* %77
%84 = getelementptr inbounds double, double* %3, i64 15
%85 = load double, double* %84
%86 = tail call double @llvm.fmuladd.f64(double %83, double %1, double %85)
store double %86, double* %77
%87 = load double, double* %76
%88 = tail call double @llvm.fmuladd.f64(double %86, double %1, double %87)
store double %88, double* %77
%89 = getelementptr inbounds double, double* %3, i64 13
%90 = load double, double* %89
%91 = tail call double @llvm.fmuladd.f64(double %88, double %1, double %90)
store double %91, double* %77
%92 = load double, double* %67
%93 = tail call double @llvm.fmuladd.f64(double %91, double %1, double %92)
store double %93, double* %77
%94 = load double, double* %58
%95 = tail call double @llvm.fmuladd.f64(double %93, double %1, double %94)
store double %95, double* %77
%96 = load double, double* %45
%97 = tail call double @llvm.fmuladd.f64(double %95, double %1, double %96)
store double %97, double* %77
%98 = load double, double* %36
%99 = tail call double @llvm.fmuladd.f64(double %97, double %1, double %98)
store double %99, double* %77
%100 = load double, double* %23
%101 = tail call double @llvm.fmuladd.f64(double %99, double %1, double %100)
store double %101, double* %77
%102 = getelementptr inbounds double, double* %3, i64 7
%103 = load double, double* %102
%104 = tail call double @llvm.fmuladd.f64(double %101, double %1, double %103)
store double %104, double* %77
%105 = load double, double* %14
%106 = tail call double @llvm.fmuladd.f64(double %104, double %1, double %105)
store double %106, double* %77
%107 = getelementptr inbounds double, double* %3, i64 5
%108 = load double, double* %107
%109 = tail call double @llvm.fmuladd.f64(double %106, double %1, double %108)
store double %109, double* %77
%110 = getelementptr inbounds double, double* %3, i64 4
%111 = load double, double* %110
%112 = tail call double @llvm.fmuladd.f64(double %109, double %1, double %111)
store double %112, double* %77
%113 = getelementptr inbounds double, double* %3, i64 3
%114 = load double, double* %113
%115 = tail call double @llvm.fmuladd.f64(double %112, double %1, double %114)
store double %115, double* %77
%116 = getelementptr inbounds double, double* %3, i64 2
%117 = load double, double* %116
%118 = tail call double @llvm.fmuladd.f64(double %115, double %1, double %117)
store double %118, double* %77
%119 = getelementptr inbounds double, double* %3, i64 1
%120 = load double, double* %119
%121 = tail call double @llvm.fmuladd.f64(double %118, double %1, double %120)
store double %121, double* %77
%122 = load double, double* %3
%123 = tail call double @llvm.fmuladd.f64(double %121, double %1, double %122)
store double %123, double* %77
ret void
}