#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 sqrt(double);
void cdrift_kepmd(const double dm, const double es, const double ec, double *x,
                  double *sx, double *cx) {
  const double A0 = 39916800.0, A1 = 6652800.0, A2 = 332640.0, A3 = 7920.0,
               A4 = 110.0;
  double dx;
  double y;
  double _x = *x, _sx = *sx, _cx = *cx;
  const double fac1 = 1.0 / (1.0 - ec);
  const double q = fac1 * dm;
  const double fac2 = es * es * fac1 - ec / 3.0;
  _x = q * (1.0 - 0.5 * fac1 * q * (es - q * fac2));
  y = _x * _x;
  _sx = _x * (A0 - y * (A1 - y * (A2 - y * (A3 - y * (A4 - y))))) / A0;
  _cx = sqrt(1.0 - _sx * _sx);
  const double f = _x - ec * _sx + es * (1. - _cx) - dm;
  const double fp = 1. - ec * _cx + es * _sx;
  const double fpp = ec * _sx + es * _cx;
  const double fppp = ec * _cx - es * _sx;
  dx = -f / fp;
  dx = -f / (fp + 0.5 * dx * fpp);
  dx = -f / (fp + 0.5 * dx * fpp + 0.16666666666666666 * dx * dx * fppp);
  _x = _x + dx;
  ;
  y = _x * _x;
  _sx = _x * (A0 - y * (A1 - y * (A2 - y * (A3 - y * (A4 - y))))) / A0;
  _cx = sqrt(1.0 - _sx * _sx);
  *x = _x, *sx = _sx, *cx = _cx;
  return;
}


x86 assembly (clang, -O0):
<cdrift_kepmd>:
push   %rbp
mov    %rsp,%rbp
sub    $0xc0,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  %xmm2,-0x18(%rbp)
mov    %rdi,-0x20(%rbp)
mov    %rsi,-0x28(%rbp)
mov    %rdx,-0x30(%rbp)
movsd  0xeca(%rip),%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  0xec5(%rip),%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  0xec0(%rip),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  0xebb(%rip),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  0xeb6(%rip),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x20(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    -0x28(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x78(%rbp)
mov    -0x30(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  0xe5a(%rip),%xmm1
subsd  -0x18(%rbp),%xmm1
movsd  0xe4d(%rip),%xmm0
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x88(%rbp),%xmm0
ff
mulsd  -0x8(%rbp),%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x10(%rbp),%xmm0
mulsd  -0x10(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0x18(%rbp),%xmm1
movsd  0xe4d(%rip),%xmm3
divsd  %xmm3,%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x90(%rbp),%xmm0
ff
movsd  0xe0a(%rip),%xmm1
mulsd  -0x88(%rbp),%xmm1
ff
mulsd  -0x90(%rbp),%xmm1
ff
movsd  -0x10(%rbp),%xmm3
movsd  -0x90(%rbp),%xmm2
ff
movsd  -0x98(%rbp),%xmm4
ff
movq   %xmm2,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm2
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm1
movsd  0xd6b(%rip),%xmm2
addsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x70(%rbp),%xmm0
mulsd  -0x70(%rbp),%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x70(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm1
movsd  -0x68(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm3
movsd  -0x68(%rbp),%xmm4
movsd  0xd56(%rip),%xmm5
subsd  -0x68(%rbp),%xmm5
movq   %xmm4,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm4
mulsd  %xmm5,%xmm4
movsd  0xd26(%rip),%xmm5
addsd  %xmm5,%xmm4
movq   %xmm3,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm3
mulsd  %xmm4,%xmm3
movsd  0xcf7(%rip),%xmm4
addsd  %xmm4,%xmm3
movq   %xmm2,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm2
mulsd  %xmm3,%xmm2
movsd  0xcc8(%rip),%xmm3
addsd  %xmm3,%xmm2
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm1
movsd  0xc99(%rip),%xmm2
addsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xc89(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x78(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm1
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm1,%xmm0
movsd  0xc4b(%rip),%xmm1
addsd  %xmm1,%xmm0
call   1030 <sqrt@plt>
movsd  %xmm0,-0x80(%rbp)
movsd  -0x70(%rbp),%xmm0
movsd  -0x18(%rbp),%xmm1
movsd  -0x78(%rbp),%xmm2
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x10(%rbp),%xmm0
movsd  0xc02(%rip),%xmm2
subsd  -0x80(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
subsd  -0x8(%rbp),%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x18(%rbp),%xmm1
movsd  -0x80(%rbp),%xmm0
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm0,%xmm1
movsd  0xbbb(%rip),%xmm0
addsd  %xmm0,%xmm1
movsd  -0x10(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0x18(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  -0x10(%rbp),%xmm1
mulsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
movsd  -0x18(%rbp),%xmm0
movsd  -0x80(%rbp),%xmm2
movsd  -0x10(%rbp),%xmm1
mulsd  -0x78(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  -0xa0(%rbp),%xmm0
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
divsd  -0xa8(%rbp),%xmm0
ff
movsd  %xmm0,-0x60(%rbp)
movsd  -0xa0(%rbp),%xmm0
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  -0xa8(%rbp),%xmm2
ff
movsd  0xb1b(%rip),%xmm1
mulsd  -0x60(%rbp),%xmm1
movsd  -0xb0(%rbp),%xmm3
ff
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0xa0(%rbp),%xmm0
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  -0xa8(%rbp),%xmm1
ff
movsd  0xace(%rip),%xmm2
mulsd  -0x60(%rbp),%xmm2
movsd  -0xb0(%rbp),%xmm3
ff
mulsd  %xmm3,%xmm2
addsd  %xmm1,%xmm2
movsd  0xaa9(%rip),%xmm1
mulsd  -0x60(%rbp),%xmm1
mulsd  -0x60(%rbp),%xmm1
movsd  -0xb8(%rbp),%xmm3
ff
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x70(%rbp),%xmm0
addsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x70(%rbp),%xmm0
mulsd  -0x70(%rbp),%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x70(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm1
movsd  -0x68(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm3
movsd  -0x68(%rbp),%xmm4
movsd  0xa3f(%rip),%xmm5
subsd  -0x68(%rbp),%xmm5
movq   %xmm4,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm4
mulsd  %xmm5,%xmm4
movsd  0xa0f(%rip),%xmm5
addsd  %xmm5,%xmm4
movq   %xmm3,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm3
mulsd  %xmm4,%xmm3
movsd  0x9e0(%rip),%xmm4
addsd  %xmm4,%xmm3
movq   %xmm2,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm2
mulsd  %xmm3,%xmm2
movsd  0x9b1(%rip),%xmm3
addsd  %xmm3,%xmm2
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm1
movsd  0x982(%rip),%xmm2
addsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  0x972(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x78(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm1
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm1,%xmm0
movsd  0x934(%rip),%xmm1
addsd  %xmm1,%xmm0
call   1030 <sqrt@plt>
movsd  %xmm0,-0x80(%rbp)
movsd  -0x70(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x78(%rbp),%xmm0
mov    -0x28(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x80(%rbp),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,(%rax)
add    $0xc0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<cdrift_kepmd>:
push   %r15
push   %r14
push   %rbx
sub    $0x50,%rsp
mov    %rdx,%r14
mov    %rsi,%r15
mov    %rdi,%rbx
movapd %xmm0,%xmm14
movsd  0xed1(%rip),%xmm6
movapd %xmm6,%xmm0
subsd  %xmm2,%xmm0
movapd %xmm6,%xmm5
divsd  %xmm0,%xmm5
movapd %xmm5,%xmm0
mulsd  %xmm14,%xmm0
movapd %xmm1,%xmm4
mulsd  %xmm1,%xmm4
movapd %xmm2,%xmm3
divsd  0xeac(%rip),%xmm3
mulsd  %xmm5,%xmm4
addsd  %xmm3,%xmm4
mulsd  %xmm0,%xmm4
movapd %xmm1,%xmm3
subsd  %xmm4,%xmm3
mulsd  0xe98(%rip),%xmm5
mulsd  %xmm0,%xmm5
mulsd  %xmm3,%xmm5
addsd  %xmm6,%xmm5
mulsd  %xmm0,%xmm5
movapd %xmm5,%xmm0
mulsd  %xmm5,%xmm0
movsd  0xe7f(%rip),%xmm12
movapd %xmm12,%xmm4
subsd  %xmm0,%xmm4
mulsd  %xmm0,%xmm4
movsd  0xe71(%rip),%xmm8
movapd %xmm8,%xmm3
subsd  %xmm4,%xmm3
mulsd  %xmm0,%xmm3
movsd  0xe63(%rip),%xmm9
movapd %xmm9,%xmm4
subsd  %xmm3,%xmm4
mulsd  %xmm0,%xmm4
movsd  0xe55(%rip),%xmm10
movapd %xmm10,%xmm3
subsd  %xmm4,%xmm3
mulsd  %xmm0,%xmm3
movsd  0xe47(%rip),%xmm11
movapd %xmm11,%xmm0
subsd  %xmm3,%xmm0
mulsd  %xmm5,%xmm0
divsd  %xmm11,%xmm0
movapd 0xe54(%rip),%xmm15
xorpd  %xmm0,%xmm15
movapd %xmm0,0x10(%rsp)
movapd %xmm0,%xmm3
mulsd  %xmm0,%xmm3
movapd %xmm6,%xmm0
subsd  %xmm3,%xmm0
xorpd  %xmm3,%xmm3
ucomisd %xmm3,%xmm0
jb     1237 <cdrift_kepmd+0x127>
sqrtsd %xmm0,%xmm0
jmp    12b1 <cdrift_kepmd+0x1a1>
movsd  %xmm5,0x8(%rsp)
movsd  %xmm2,0x38(%rsp)
movsd  %xmm1,0x30(%rsp)
movsd  %xmm14,0x28(%rsp)
movapd %xmm15,0x40(%rsp)
call   1030 <sqrt@plt>
movapd 0x40(%rsp),%xmm15
movsd  0x28(%rsp),%xmm14
movsd  0x30(%rsp),%xmm1
movsd  0x38(%rsp),%xmm2
movsd  0xdb9(%rip),%xmm11
movsd  0xda8(%rip),%xmm10
movsd  0xd97(%rip),%xmm9
movsd  0xd86(%rip),%xmm8
movsd  0xd75(%rip),%xmm12
movsd  0xd55(%rip),%xmm6
movsd  0x8(%rsp),%xmm5
movapd %xmm2,%xmm13
movapd 0x10(%rsp),%xmm4
mulsd  %xmm4,%xmm13
movapd %xmm5,%xmm3
subsd  %xmm13,%xmm3
movapd %xmm6,%xmm7
subsd  %xmm0,%xmm7
mulsd  %xmm1,%xmm7
addsd  %xmm3,%xmm7
subsd  %xmm14,%xmm7
mulsd  %xmm0,%xmm2
movapd %xmm6,%xmm3
subsd  %xmm2,%xmm3
mulsd  %xmm1,%xmm4
addsd  %xmm3,%xmm4
mulsd  %xmm1,%xmm0
addsd  %xmm13,%xmm0
mulsd  %xmm1,%xmm15
addsd  %xmm2,%xmm15
movapd %xmm7,%xmm2
divsd  %xmm4,%xmm2
movsd  0xd2a(%rip),%xmm3
mulsd  %xmm3,%xmm2
mulsd  %xmm0,%xmm2
movapd %xmm4,%xmm1
subsd  %xmm2,%xmm1
movapd 0xd32(%rip),%xmm2
xorpd  %xmm7,%xmm2
divsd  %xmm1,%xmm2
mulsd  %xmm2,%xmm3
mulsd  %xmm0,%xmm3
addsd  %xmm4,%xmm3
movsd  0xcfe(%rip),%xmm0
mulsd  %xmm2,%xmm0
mulsd  %xmm2,%xmm0
mulsd  %xmm15,%xmm0
addsd  %xmm3,%xmm0
divsd  %xmm0,%xmm7
subsd  %xmm7,%xmm5
movapd %xmm5,%xmm0
mulsd  %xmm5,%xmm0
subsd  %xmm0,%xmm12
mulsd  %xmm0,%xmm12
subsd  %xmm12,%xmm8
mulsd  %xmm0,%xmm8
subsd  %xmm8,%xmm9
mulsd  %xmm0,%xmm9
subsd  %xmm9,%xmm10
mulsd  %xmm0,%xmm10
movapd %xmm11,%xmm1
subsd  %xmm10,%xmm1
mulsd  %xmm5,%xmm1
divsd  %xmm11,%xmm1
movapd %xmm1,%xmm0
mulsd  %xmm1,%xmm0
subsd  %xmm0,%xmm6
ucomisd 0xc96(%rip),%xmm6
jb     13c5 <cdrift_kepmd+0x2b5>
xorps  %xmm0,%xmm0
sqrtsd %xmm6,%xmm0
jmp    13e6 <cdrift_kepmd+0x2d6>
movapd %xmm6,%xmm0
movsd  %xmm5,0x8(%rsp)
movsd  %xmm1,0x10(%rsp)
call   1030 <sqrt@plt>
movsd  0x10(%rsp),%xmm1
movsd  0x8(%rsp),%xmm5
movsd  %xmm5,(%rbx)
movsd  %xmm1,(%r15)
movsd  %xmm0,(%r14)
add    $0x50,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
define void @cdrift_kepmd(double %0, double %1, double %2, double* %3, double* %4, double* %5) {
%7 = alloca double
%8 = alloca double
%9 = alloca double
%10 = alloca double*
%11 = alloca double*
%12 = alloca double*
%13 = alloca double
%14 = alloca double
%15 = alloca double
%16 = alloca double
%17 = alloca double
%18 = alloca double
%19 = alloca double
%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 double
%29 = alloca double
store double %0, double* %7
store double %1, double* %8
store double %2, double* %9
store double* %3, double** %10
store double* %4, double** %11
store double* %5, double** %12
store double 3.991680e+07, double* %13
store double 6.652800e+06, double* %14
store double 3.326400e+05, double* %15
store double 7.920000e+03, double* %16
store double 1.100000e+02, double* %17
%30 = load double*, double** %10
%31 = load double, double* %30
store double %31, double* %20
%32 = load double*, double** %11
%33 = load double, double* %32
store double %33, double* %21
%34 = load double*, double** %12
%35 = load double, double* %34
store double %35, double* %22
%36 = load double, double* %9
%37 = fsub double 1.000000e+00, %36
%38 = fdiv double 1.000000e+00, %37
store double %38, double* %23
%39 = load double, double* %23
%40 = load double, double* %7
%41 = fmul double %39, %40
store double %41, double* %24
%42 = load double, double* %8
%43 = load double, double* %8
%44 = fmul double %42, %43
%45 = load double, double* %23
%46 = load double, double* %9
%47 = fdiv double %46, 3.000000e+00
%48 = fneg double %47
%49 = call double @llvm.fmuladd.f64(double %44, double %45, double %48)
store double %49, double* %25
%50 = load double, double* %24
%51 = load double, double* %23
%52 = fmul double 5.000000e-01, %51
%53 = load double, double* %24
%54 = fmul double %52, %53
%55 = load double, double* %8
%56 = load double, double* %24
%57 = load double, double* %25
%58 = fneg double %56
%59 = call double @llvm.fmuladd.f64(double %58, double %57, double %55)
%60 = fneg double %54
%61 = call double @llvm.fmuladd.f64(double %60, double %59, double 1.000000e+00)
%62 = fmul double %50, %61
store double %62, double* %20
%63 = load double, double* %20
%64 = load double, double* %20
%65 = fmul double %63, %64
store double %65, double* %19
%66 = load double, double* %20
%67 = load double, double* %19
%68 = load double, double* %19
%69 = load double, double* %19
%70 = load double, double* %19
%71 = load double, double* %19
%72 = fsub double 1.100000e+02, %71
%73 = fneg double %70
%74 = call double @llvm.fmuladd.f64(double %73, double %72, double 7.920000e+03)
%75 = fneg double %69
%76 = call double @llvm.fmuladd.f64(double %75, double %74, double 3.326400e+05)
%77 = fneg double %68
%78 = call double @llvm.fmuladd.f64(double %77, double %76, double 6.652800e+06)
%79 = fneg double %67
%80 = call double @llvm.fmuladd.f64(double %79, double %78, double 3.991680e+07)
%81 = fmul double %66, %80
%82 = fdiv double %81, 3.991680e+07
store double %82, double* %21
%83 = load double, double* %21
%84 = load double, double* %21
%85 = fneg double %83
%86 = call double @llvm.fmuladd.f64(double %85, double %84, double 1.000000e+00)
%87 = call double @sqrt(double %86)
store double %87, double* %22
%88 = load double, double* %20
%89 = load double, double* %9
%90 = load double, double* %21
%91 = fneg double %89
%92 = call double @llvm.fmuladd.f64(double %91, double %90, double %88)
%93 = load double, double* %8
%94 = load double, double* %22
%95 = fsub double 1.000000e+00, %94
%96 = call double @llvm.fmuladd.f64(double %93, double %95, double %92)
%97 = load double, double* %7
%98 = fsub double %96, %97
store double %98, double* %26
%99 = load double, double* %9
%100 = load double, double* %22
%101 = fneg double %99
%102 = call double @llvm.fmuladd.f64(double %101, double %100, double 1.000000e+00)
%103 = load double, double* %8
%104 = load double, double* %21
%105 = call double @llvm.fmuladd.f64(double %103, double %104, double %102)
store double %105, double* %27
%106 = load double, double* %9
%107 = load double, double* %21
%108 = load double, double* %8
%109 = load double, double* %22
%110 = fmul double %108, %109
%111 = call double @llvm.fmuladd.f64(double %106, double %107, double %110)
store double %111, double* %28
%112 = load double, double* %9
%113 = load double, double* %22
%114 = load double, double* %8
%115 = load double, double* %21
%116 = fmul double %114, %115
%117 = fneg double %116
%118 = call double @llvm.fmuladd.f64(double %112, double %113, double %117)
store double %118, double* %29
%119 = load double, double* %26
%120 = fneg double %119
%121 = load double, double* %27
%122 = fdiv double %120, %121
store double %122, double* %18
%123 = load double, double* %26
%124 = fneg double %123
%125 = load double, double* %27
%126 = load double, double* %18
%127 = fmul double 5.000000e-01, %126
%128 = load double, double* %28
%129 = call double @llvm.fmuladd.f64(double %127, double %128, double %125)
%130 = fdiv double %124, %129
store double %130, double* %18
%131 = load double, double* %26
%132 = fneg double %131
%133 = load double, double* %27
%134 = load double, double* %18
%135 = fmul double 5.000000e-01, %134
%136 = load double, double* %28
%137 = call double @llvm.fmuladd.f64(double %135, double %136, double %133)
%138 = load double, double* %18
%139 = fmul double 0x3FC5555555555555, %138
%140 = load double, double* %18
%141 = fmul double %139, %140
%142 = load double, double* %29
%143 = call double @llvm.fmuladd.f64(double %141, double %142, double %137)
%144 = fdiv double %132, %143
store double %144, double* %18
%145 = load double, double* %20
%146 = load double, double* %18
%147 = fadd double %145, %146
store double %147, double* %20
%148 = load double, double* %20
%149 = load double, double* %20
%150 = fmul double %148, %149
store double %150, double* %19
%151 = load double, double* %20
%152 = load double, double* %19
%153 = load double, double* %19
%154 = load double, double* %19
%155 = load double, double* %19
%156 = load double, double* %19
%157 = fsub double 1.100000e+02, %156
%158 = fneg double %155
%159 = call double @llvm.fmuladd.f64(double %158, double %157, double 7.920000e+03)
%160 = fneg double %154
%161 = call double @llvm.fmuladd.f64(double %160, double %159, double 3.326400e+05)
%162 = fneg double %153
%163 = call double @llvm.fmuladd.f64(double %162, double %161, double 6.652800e+06)
%164 = fneg double %152
%165 = call double @llvm.fmuladd.f64(double %164, double %163, double 3.991680e+07)
%166 = fmul double %151, %165
%167 = fdiv double %166, 3.991680e+07
store double %167, double* %21
%168 = load double, double* %21
%169 = load double, double* %21
%170 = fneg double %168
%171 = call double @llvm.fmuladd.f64(double %170, double %169, double 1.000000e+00)
%172 = call double @sqrt(double %171)
store double %172, double* %22
%173 = load double, double* %20
%174 = load double*, double** %10
store double %173, double* %174
%175 = load double, double* %21
%176 = load double*, double** %11
store double %175, double* %176
%177 = load double, double* %22
%178 = load double*, double** %12
store double %177, double* %178
ret void
}

LLVM IR (-O2):
define void @cdrift_kepmd(double %0, double %1, double %2, double* nocapture writeonly %3, double* nocapture writeonly %4, double* nocapture writeonly %5) {
%7 = fsub double 1.000000e+00, %2
%8 = fdiv double 1.000000e+00, %7
%9 = fmul double %8, %0
%10 = fmul double %1, %1
%11 = fdiv double %2, -3.000000e+00
%12 = tail call double @llvm.fmuladd.f64(double %10, double %8, double %11)
%13 = fneg double %9
%14 = tail call double @llvm.fmuladd.f64(double %13, double %12, double %1)
%15 = fmul double %8, -5.000000e-01
%16 = fmul double %15, %9
%17 = tail call double @llvm.fmuladd.f64(double %16, double %14, double 1.000000e+00)
%18 = fmul double %9, %17
%19 = fmul double %18, %18
%20 = fsub double 1.100000e+02, %19
%21 = fneg double %19
%22 = tail call double @llvm.fmuladd.f64(double %21, double %20, double 7.920000e+03)
%23 = tail call double @llvm.fmuladd.f64(double %21, double %22, double 3.326400e+05)
%24 = tail call double @llvm.fmuladd.f64(double %21, double %23, double 6.652800e+06)
%25 = tail call double @llvm.fmuladd.f64(double %21, double %24, double 3.991680e+07)
%26 = fmul double %18, %25
%27 = fdiv double %26, 3.991680e+07
%28 = fneg double %27
%29 = tail call double @llvm.fmuladd.f64(double %28, double %27, double 1.000000e+00)
%30 = tail call double @sqrt(double %29)
%31 = fneg double %2
%32 = tail call double @llvm.fmuladd.f64(double %31, double %27, double %18)
%33 = fsub double 1.000000e+00, %30
%34 = tail call double @llvm.fmuladd.f64(double %1, double %33, double %32)
%35 = fsub double %34, %0
%36 = tail call double @llvm.fmuladd.f64(double %31, double %30, double 1.000000e+00)
%37 = tail call double @llvm.fmuladd.f64(double %1, double %27, double %36)
%38 = fmul double %30, %1
%39 = tail call double @llvm.fmuladd.f64(double %2, double %27, double %38)
%40 = fmul double %28, %1
%41 = tail call double @llvm.fmuladd.f64(double %2, double %30, double %40)
%42 = fneg double %35
%43 = fdiv double %42, %37
%44 = fmul double %43, 5.000000e-01
%45 = tail call double @llvm.fmuladd.f64(double %44, double %39, double %37)
%46 = fdiv double %42, %45
%47 = fmul double %46, 5.000000e-01
%48 = tail call double @llvm.fmuladd.f64(double %47, double %39, double %37)
%49 = fmul double %46, 0x3FC5555555555555
%50 = fmul double %46, %49
%51 = tail call double @llvm.fmuladd.f64(double %50, double %41, double %48)
%52 = fdiv double %35, %51
%53 = fsub double %18, %52
%54 = fmul double %53, %53
%55 = fsub double 1.100000e+02, %54
%56 = fneg double %54
%57 = tail call double @llvm.fmuladd.f64(double %56, double %55, double 7.920000e+03)
%58 = tail call double @llvm.fmuladd.f64(double %56, double %57, double 3.326400e+05)
%59 = tail call double @llvm.fmuladd.f64(double %56, double %58, double 6.652800e+06)
%60 = tail call double @llvm.fmuladd.f64(double %56, double %59, double 3.991680e+07)
%61 = fmul double %53, %60
%62 = fdiv double %61, 3.991680e+07
%63 = fneg double %62
%64 = tail call double @llvm.fmuladd.f64(double %63, double %62, double 1.000000e+00)
%65 = tail call double @sqrt(double %64)
store double %53, double* %3
store double %62, double* %4
store double %65, double* %5
ret void
}