#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 ARC;
double P2;
double atan2(double, double);
double cos(double);
double cosEPS;
double sin(double);
double sinEPS;
double sqrt(double);
int MiniMoon(double T, double *RA, double *DEC) {
  double L0, L, LS, F, D, H, S, N, DL, CB, L_MOON, B_MOON, V, W, X, Y, Z, RHO;
  double frac(), cosEPS, sinEPS, P2, ARC;
  cosEPS = 0.91748;
  sinEPS = 0.39778;
  P2 = 6.283185307;
  ARC = 206264.8062;
  L0 = frac(0.606433 + 1336.855225 * T);
  L = P2 * frac(0.374897 + 1325.552410 * T);
  LS = P2 * frac(0.993133 + 99.997361 * T);
  D = P2 * frac(0.827361 + 1236.853086 * T);
  F = P2 * frac(0.259086 + 1342.227825 * T);
  DL = +22640.0 * sin(L) - 4586.0 * sin(L - 2.0 * D) + 2370.0 * sin(2.0 * D) +
       769.0 * sin(2.0 * L) - 668.0 * sin(LS) - 412.0 * sin(2.0 * F) -
       212.0 * sin(2.0 * L - 2.0 * D) - 206.0 * sin(L + LS - 2.0 * D) +
       192.0 * sin(L + 2.0 * D) - 165.0 * sin(LS - 2.0 * D) - 125.0 * sin(D) -
       110.0 * sin(L + LS) + 148.0 * sin(L - LS) -
       55.0 * sin(2.0 * F - 2.0 * D);
  S = F + (DL + 412.0 * sin(2.0 * F) + 541.0 * sin(LS)) / ARC;
  H = F - 2.0 * D;
  N = -526.0 * sin(H) + 44.0 * sin(L + H) - 31.0 * sin(-L + H) -
      23.0 * sin(LS + H) + 11.0 * sin(-LS + H) - 25.0 * sin(-2.0 * L + F) +
      21.0 * sin(-L + F);
  L_MOON = P2 * frac(L0 + DL / 1296e3);
  B_MOON = (18520.0 * sin(S) + N) / ARC;
  CB = cos(B_MOON);
  X = CB * cos(L_MOON);
  V = CB * sin(L_MOON);
  W = sin(B_MOON);
  Y = cosEPS * V - sinEPS * W;
  Z = sinEPS * V + cosEPS * W;
  RHO = sqrt(1.0 - Z * Z);
  *DEC = (360.0 / P2) * atan2(Z, RHO);
  *RA = (48.0 / P2) * atan2(Y, X + RHO);
  if (*RA < 0.0)
    *RA += 24.0;
  return (0);
}


x86 assembly (clang, -O0):
<MiniMoon>:
push   %rbp
mov    %rsp,%rbp
sub    $0x1c0,%rsp
movsd  %xmm0,-0x8(%rbp)
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
movsd  0xfe0(%rip),%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
movsd  0xfc8(%rip),%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  0xfb0(%rip),%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
movsd  0xf98(%rip),%xmm0
movsd  %xmm0,-0xc8(%rbp)
ff
movsd  -0x8(%rbp),%xmm0
movsd  0xf73(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xf6f(%rip),%xmm1
addsd  %xmm1,%xmm0
mov    $0x1,%al
call   1050 <frac@plt>
movsd  %xmm0,-0x20(%rbp)
movsd  -0xc0(%rbp),%xmm0
ff
movsd  %xmm0,-0x1c0(%rbp)
ff
movsd  -0x8(%rbp),%xmm0
movsd  0xf2a(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xf26(%rip),%xmm1
addsd  %xmm1,%xmm0
mov    $0x1,%al
call   1050 <frac@plt>
movaps %xmm0,%xmm1
movsd  -0x1c0(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0xc0(%rbp),%xmm0
ff
movsd  %xmm0,-0x1b8(%rbp)
ff
movsd  -0x8(%rbp),%xmm0
movsd  0xed2(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xece(%rip),%xmm1
addsd  %xmm1,%xmm0
mov    $0x1,%al
call   1050 <frac@plt>
movaps %xmm0,%xmm1
movsd  -0x1b8(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0xc0(%rbp),%xmm0
ff
movsd  %xmm0,-0x1b0(%rbp)
ff
movsd  -0x8(%rbp),%xmm0
movsd  0xe7a(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xe76(%rip),%xmm1
addsd  %xmm1,%xmm0
mov    $0x1,%al
call   1050 <frac@plt>
movaps %xmm0,%xmm1
movsd  -0x1b0(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0xc0(%rbp),%xmm0
ff
movsd  %xmm0,-0x1a8(%rbp)
ff
movsd  -0x8(%rbp),%xmm0
movsd  0xe22(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xe1e(%rip),%xmm1
addsd  %xmm1,%xmm0
mov    $0x1,%al
call   1050 <frac@plt>
movaps %xmm0,%xmm1
movsd  -0x1a8(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x28(%rbp),%xmm0
call   1040 <sin@plt>
movsd  %xmm0,-0x1a0(%rbp)
ff
movsd  -0x28(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm1
addsd  %xmm1,%xmm1
subsd  %xmm1,%xmm0
call   1040 <sin@plt>
movaps %xmm0,%xmm2
movsd  -0x1a0(%rbp),%xmm0
ff
movsd  0xdb3(%rip),%xmm1
mulsd  %xmm2,%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
movsd  0xd88(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x198(%rbp)
ff
movsd  0xd08(%rip),%xmm0
mulsd  -0x40(%rbp),%xmm0
call   1040 <sin@plt>
movsd  -0x198(%rbp),%xmm1
ff
movsd  0xd4e(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x190(%rbp)
ff
movsd  0xcd6(%rip),%xmm0
mulsd  -0x28(%rbp),%xmm0
call   1040 <sin@plt>
movsd  -0x190(%rbp),%xmm1
ff
movsd  0xd14(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x188(%rbp)
ff
movsd  -0x30(%rbp),%xmm0
call   1040 <sin@plt>
movsd  -0x188(%rbp),%xmm1
ff
movsd  0xce2(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x180(%rbp)
ff
movsd  0xc7a(%rip),%xmm0
mulsd  -0x38(%rbp),%xmm0
call   1040 <sin@plt>
movsd  -0x180(%rbp),%xmm1
ff
movsd  0xca8(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x178(%rbp)
ff
movsd  -0x28(%rbp),%xmm0
movsd  0xc43(%rip),%xmm1
mulsd  -0x40(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
addsd  %xmm0,%xmm0
addsd  %xmm1,%xmm0
call   1040 <sin@plt>
movsd  -0x178(%rbp),%xmm1
ff
movsd  0xc4a(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x170(%rbp)
ff
movsd  -0x28(%rbp),%xmm0
addsd  -0x30(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm1
addsd  %xmm1,%xmm1
subsd  %xmm1,%xmm0
call   1040 <sin@plt>
movsd  -0x170(%rbp),%xmm1
ff
movsd  0xc06(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x168(%rbp)
ff
movsd  -0x28(%rbp),%xmm1
movsd  -0x40(%rbp),%xmm0
addsd  %xmm0,%xmm0
addsd  %xmm1,%xmm0
call   1040 <sin@plt>
movsd  -0x168(%rbp),%xmm1
ff
movsd  0xbc7(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x160(%rbp)
ff
movsd  -0x30(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm1
addsd  %xmm1,%xmm1
subsd  %xmm1,%xmm0
call   1040 <sin@plt>
movsd  -0x160(%rbp),%xmm1
ff
movsd  0xb88(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x158(%rbp)
ff
movsd  -0x40(%rbp),%xmm0
call   1040 <sin@plt>
movsd  -0x158(%rbp),%xmm1
ff
movsd  0xb56(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x150(%rbp)
ff
movsd  -0x28(%rbp),%xmm0
addsd  -0x30(%rbp),%xmm0
call   1040 <sin@plt>
movsd  -0x150(%rbp),%xmm1
ff
movsd  0xb1f(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x148(%rbp)
ff
movsd  -0x28(%rbp),%xmm0
subsd  -0x30(%rbp),%xmm0
call   1040 <sin@plt>
movsd  -0x148(%rbp),%xmm1
ff
movsd  0xae8(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x140(%rbp)
ff
movsd  -0x38(%rbp),%xmm0
movsd  0xabb(%rip),%xmm1
mulsd  -0x40(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
addsd  %xmm0,%xmm0
addsd  %xmm1,%xmm0
call   1040 <sin@plt>
movsd  -0x140(%rbp),%xmm1
ff
movsd  0xa8a(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0x128(%rbp)
ff
movsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0x138(%rbp)
ff
movsd  0xa53(%rip),%xmm0
mulsd  -0x38(%rbp),%xmm0
call   1040 <sin@plt>
movsd  -0x138(%rbp),%xmm1
ff
movsd  0xa31(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x130(%rbp)
ff
movsd  -0x30(%rbp),%xmm0
call   1040 <sin@plt>
movsd  -0x130(%rbp),%xmm2
ff
movaps %xmm0,%xmm1
movsd  -0x128(%rbp),%xmm0
ff
movsd  0x9f4(%rip),%xmm3
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
divsd  -0xc8(%rbp),%xmm1
ff
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm1
addsd  %xmm1,%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x48(%rbp),%xmm0
call   1040 <sin@plt>
movsd  %xmm0,-0x120(%rbp)
ff
movsd  -0x28(%rbp),%xmm0
addsd  -0x48(%rbp),%xmm0
call   1040 <sin@plt>
movaps %xmm0,%xmm2
movsd  -0x120(%rbp),%xmm0
ff
movsd  0x988(%rip),%xmm1
mulsd  %xmm2,%xmm1
movsd  0x974(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x118(%rbp)
ff
movsd  -0x28(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
addsd  -0x48(%rbp),%xmm0
call   1040 <sin@plt>
movsd  -0x118(%rbp),%xmm1
ff
movsd  0x926(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x110(%rbp)
ff
movsd  -0x30(%rbp),%xmm0
addsd  -0x48(%rbp),%xmm0
call   1040 <sin@plt>
movsd  -0x110(%rbp),%xmm1
ff
movsd  0x8ef(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x108(%rbp)
ff
movsd  -0x30(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
addsd  -0x48(%rbp),%xmm0
call   1040 <sin@plt>
movsd  -0x108(%rbp),%xmm1
ff
movsd  0x8a1(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x100(%rbp)
ff
movsd  -0x28(%rbp),%xmm1
movsd  -0x38(%rbp),%xmm0
addsd  %xmm1,%xmm1
subsd  %xmm1,%xmm0
call   1040 <sin@plt>
movsd  -0x100(%rbp),%xmm1
ff
movsd  0x862(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xf8(%rbp)
ff
movsd  -0x28(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
addsd  -0x38(%rbp),%xmm0
call   1040 <sin@plt>
movsd  -0xf8(%rbp),%xmm1
ff
movsd  0x814(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0xc0(%rbp),%xmm0
ff
movsd  %xmm0,-0xf0(%rbp)
ff
movsd  -0x20(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm1
movsd  0x7dd(%rip),%xmm2
divsd  %xmm2,%xmm1
addsd  %xmm1,%xmm0
mov    $0x1,%al
call   1050 <frac@plt>
movaps %xmm0,%xmm1
movsd  -0xf0(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x50(%rbp),%xmm0
call   1040 <sin@plt>
movsd  -0x58(%rbp),%xmm1
movsd  0x79b(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
divsd  -0xc8(%rbp),%xmm0
ff
movsd  %xmm0,-0x78(%rbp)
movsd  -0x78(%rbp),%xmm0
call   1060 <cos@plt>
movsd  %xmm0,-0x68(%rbp)
movsd  -0x68(%rbp),%xmm0
movsd  %xmm0,-0xe8(%rbp)
ff
movsd  -0x70(%rbp),%xmm0
call   1060 <cos@plt>
movaps %xmm0,%xmm1
movsd  -0xe8(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x68(%rbp),%xmm0
movsd  %xmm0,-0xe0(%rbp)
ff
movsd  -0x70(%rbp),%xmm0
call   1040 <sin@plt>
movaps %xmm0,%xmm1
movsd  -0xe0(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x78(%rbp),%xmm0
call   1040 <sin@plt>
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0xb0(%rbp),%xmm0
ff
movsd  -0x80(%rbp),%xmm2
movsd  -0xb8(%rbp),%xmm1
ff
mulsd  -0x88(%rbp),%xmm1
ff
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0xb8(%rbp),%xmm0
ff
movsd  -0x80(%rbp),%xmm2
movsd  -0xb0(%rbp),%xmm1
ff
mulsd  -0x88(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0xa0(%rbp),%xmm0
ff
movsd  -0xa0(%rbp),%xmm1
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm1,%xmm0
movsd  0x660(%rip),%xmm1
addsd  %xmm1,%xmm0
call   1070 <sqrt@plt>
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  0x63f(%rip),%xmm0
divsd  -0xc0(%rbp),%xmm0
ff
movsd  %xmm0,-0xd8(%rbp)
ff
movsd  -0xa0(%rbp),%xmm0
ff
movsd  -0xa8(%rbp),%xmm1
ff
call   1030 <atan2@plt>
movaps %xmm0,%xmm1
movsd  -0xd8(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  0x5f3(%rip),%xmm0
divsd  -0xc0(%rbp),%xmm0
ff
movsd  %xmm0,-0xd0(%rbp)
ff
movsd  -0x98(%rbp),%xmm0
ff
movsd  -0x90(%rbp),%xmm1
ff
addsd  -0xa8(%rbp),%xmm1
ff
call   1030 <atan2@plt>
movaps %xmm0,%xmm1
movsd  -0xd0(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
mov    -0x10(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x10(%rbp),%rax
xorps  %xmm0,%xmm0
ucomisd (%rax),%xmm0
jbe    1a76 <MiniMoon+0x926>
mov    -0x10(%rbp),%rax
movsd  0x6ea(%rip),%xmm0
addsd  (%rax),%xmm0
movsd  %xmm0,(%rax)
xor    %eax,%eax
add    $0x1c0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<MiniMoon>:
push   %r14
push   %rbx
sub    $0x58,%rsp
mov    %rsi,%rbx
mov    %rdi,%r14
movapd %xmm0,%xmm1
movsd  %xmm0,(%rsp)
movsd  0xe92(%rip),%xmm0
mulsd  %xmm1,%xmm0
addsd  0xe8e(%rip),%xmm0
mov    $0x1,%al
call   1050 <frac@plt>
movsd  %xmm0,0x50(%rsp)
movsd  0xe81(%rip),%xmm0
mulsd  (%rsp),%xmm0
addsd  0xe7c(%rip),%xmm0
mov    $0x1,%al
call   1050 <frac@plt>
mulsd  0xe75(%rip),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0xe6f(%rip),%xmm0
mulsd  (%rsp),%xmm0
addsd  0xe6a(%rip),%xmm0
mov    $0x1,%al
call   1050 <frac@plt>
mulsd  0xe4b(%rip),%xmm0
movsd  %xmm0,0x28(%rsp)
movsd  0xe55(%rip),%xmm0
mulsd  (%rsp),%xmm0
addsd  0xe50(%rip),%xmm0
mov    $0x1,%al
call   1050 <frac@plt>
mulsd  0xe21(%rip),%xmm0
movsd  %xmm0,0x18(%rsp)
movsd  (%rsp),%xmm0
mulsd  0xe36(%rip),%xmm0
addsd  0xe36(%rip),%xmm0
mov    $0x1,%al
call   1050 <frac@plt>
mulsd  0xdf7(%rip),%xmm0
movsd  %xmm0,0x30(%rsp)
movsd  0x8(%rsp),%xmm0
call   1040 <sin@plt>
movsd  %xmm0,0x20(%rsp)
movsd  0xe10(%rip),%xmm0
mulsd  0x18(%rsp),%xmm0
movsd  %xmm0,(%rsp)
addsd  0x8(%rsp),%xmm0
call   1040 <sin@plt>
mulsd  0xdfa(%rip),%xmm0
movsd  0x20(%rsp),%xmm1
mulsd  0xdf4(%rip),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,0x48(%rsp)
movsd  0x18(%rsp),%xmm0
addsd  %xmm0,%xmm0
movsd  %xmm0,0x20(%rsp)
call   1040 <sin@plt>
mulsd  0xdd5(%rip),%xmm0
addsd  0x48(%rsp),%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0x8(%rsp),%xmm0
addsd  %xmm0,%xmm0
movsd  %xmm0,0x48(%rsp)
call   1040 <sin@plt>
mulsd  0xdb4(%rip),%xmm0
addsd  0x10(%rsp),%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0x28(%rsp),%xmm0
call   1040 <sin@plt>
mulsd  0xd9d(%rip),%xmm0
addsd  0x10(%rsp),%xmm0
movsd  %xmm0,0x40(%rsp)
movsd  0x30(%rsp),%xmm0
addsd  %xmm0,%xmm0
movsd  %xmm0,0x10(%rsp)
call   1040 <sin@plt>
mulsd  0xd7c(%rip),%xmm0
addsd  0x40(%rsp),%xmm0
movsd  %xmm0,0x40(%rsp)
movsd  0x48(%rsp),%xmm0
subsd  0x20(%rsp),%xmm0
call   1040 <sin@plt>
mulsd  0xd5f(%rip),%xmm0
addsd  0x40(%rsp),%xmm0
movsd  %xmm0,0x38(%rsp)
movsd  0x8(%rsp),%xmm1
addsd  0x28(%rsp),%xmm1
movsd  %xmm1,0x40(%rsp)
movsd  (%rsp),%xmm0
addsd  %xmm1,%xmm0
call   1040 <sin@plt>
mulsd  0xd33(%rip),%xmm0
addsd  0x38(%rsp),%xmm0
movsd  %xmm0,0x38(%rsp)
movsd  0x20(%rsp),%xmm0
addsd  0x8(%rsp),%xmm0
call   1040 <sin@plt>
mulsd  0xd16(%rip),%xmm0
addsd  0x38(%rsp),%xmm0
movsd  %xmm0,0x38(%rsp)
movsd  (%rsp),%xmm0
addsd  0x28(%rsp),%xmm0
call   1040 <sin@plt>
mulsd  0xcfa(%rip),%xmm0
addsd  0x38(%rsp),%xmm0
movsd  %xmm0,0x38(%rsp)
movsd  0x18(%rsp),%xmm0
call   1040 <sin@plt>
mulsd  0xce3(%rip),%xmm0
addsd  0x38(%rsp),%xmm0
movsd  %xmm0,0x18(%rsp)
movsd  0x40(%rsp),%xmm0
call   1040 <sin@plt>
mulsd  0xccc(%rip),%xmm0
addsd  0x18(%rsp),%xmm0
movsd  %xmm0,0x18(%rsp)
movsd  0x8(%rsp),%xmm0
subsd  0x28(%rsp),%xmm0
call   1040 <sin@plt>
mulsd  0xcaf(%rip),%xmm0
addsd  0x18(%rsp),%xmm0
movsd  %xmm0,0x18(%rsp)
movsd  0x10(%rsp),%xmm0
subsd  0x20(%rsp),%xmm0
call   1040 <sin@plt>
mulsd  0xc92(%rip),%xmm0
addsd  0x18(%rsp),%xmm0
movsd  %xmm0,0x18(%rsp)
movsd  0x10(%rsp),%xmm0
call   1040 <sin@plt>
mulsd  0xc7b(%rip),%xmm0
addsd  0x18(%rsp),%xmm0
movsd  %xmm0,0x20(%rsp)
movsd  0x28(%rsp),%xmm0
call   1040 <sin@plt>
mulsd  0xc64(%rip),%xmm0
addsd  0x20(%rsp),%xmm0
divsd  0xc5e(%rip),%xmm0
movsd  0x30(%rsp),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,0x20(%rsp)
movsd  (%rsp),%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rsp)
call   1040 <sin@plt>
movsd  %xmm0,0x10(%rsp)
movsd  0x8(%rsp),%xmm0
addsd  (%rsp),%xmm0
call   1040 <sin@plt>
mulsd  0xc25(%rip),%xmm0
movsd  0x10(%rsp),%xmm1
mulsd  0xc1f(%rip),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  (%rsp),%xmm0
subsd  0x8(%rsp),%xmm0
call   1040 <sin@plt>
mulsd  0xc05(%rip),%xmm0
addsd  0x10(%rsp),%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0x28(%rsp),%xmm0
addsd  (%rsp),%xmm0
call   1040 <sin@plt>
mulsd  0xbe9(%rip),%xmm0
addsd  0x10(%rsp),%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  (%rsp),%xmm0
subsd  0x28(%rsp),%xmm0
call   1040 <sin@plt>
mulsd  0xbcd(%rip),%xmm0
addsd  0x10(%rsp),%xmm0
movsd  %xmm0,(%rsp)
movsd  0x30(%rsp),%xmm0
subsd  0x48(%rsp),%xmm0
call   1040 <sin@plt>
mulsd  0xbb1(%rip),%xmm0
addsd  (%rsp),%xmm0
movsd  %xmm0,(%rsp)
movsd  0x30(%rsp),%xmm0
subsd  0x8(%rsp),%xmm0
call   1040 <sin@plt>
mulsd  0xb96(%rip),%xmm0
addsd  (%rsp),%xmm0
movsd  %xmm0,(%rsp)
movsd  0x18(%rsp),%xmm0
divsd  0xb86(%rip),%xmm0
addsd  0x50(%rsp),%xmm0
mov    $0x1,%al
call   1050 <frac@plt>
mulsd  0xa71(%rip),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0x20(%rsp),%xmm0
call   1040 <sin@plt>
mulsd  0xb60(%rip),%xmm0
addsd  (%rsp),%xmm0
divsd  0xb0b(%rip),%xmm0
movsd  %xmm0,0x30(%rsp)
call   1060 <cos@plt>
movsd  %xmm0,(%rsp)
movsd  0x8(%rsp),%xmm0
call   1060 <cos@plt>
mulsd  (%rsp),%xmm0
movsd  %xmm0,0x28(%rsp)
movsd  0x8(%rsp),%xmm0
call   1040 <sin@plt>
mulsd  (%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0x30(%rsp),%xmm0
call   1040 <sin@plt>
movsd  0xb0c(%rip),%xmm1
mulsd  %xmm0,%xmm1
movsd  0xb08(%rip),%xmm2
movsd  0x8(%rsp),%xmm4
movapd %xmm4,%xmm3
mulsd  %xmm2,%xmm3
addsd  %xmm1,%xmm3
movsd  %xmm3,(%rsp)
movapd %xmm4,%xmm1
mulsd  0xaed(%rip),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm0,%xmm1
movsd  %xmm1,0x8(%rsp)
mulsd  %xmm1,%xmm1
movsd  0xadb(%rip),%xmm0
subsd  %xmm1,%xmm0
xorpd  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jb     1684 <MiniMoon+0x534>
xorps  %xmm1,%xmm1
sqrtsd %xmm0,%xmm1
jmp    168d <MiniMoon+0x53d>
call   1070 <sqrt@plt>
movapd %xmm0,%xmm1
movsd  0x8(%rsp),%xmm0
movsd  %xmm1,0x30(%rsp)
call   1030 <atan2@plt>
mulsd  0xaaa(%rip),%xmm0
movsd  %xmm0,(%rbx)
movsd  0x28(%rsp),%xmm1
addsd  0x30(%rsp),%xmm1
movsd  (%rsp),%xmm0
call   1030 <atan2@plt>
mulsd  0xa90(%rip),%xmm0
movsd  0xa90(%rip),%xmm1
addsd  %xmm0,%xmm1
movapd %xmm0,%xmm2
cmpltsd 0xa87(%rip),%xmm2
andpd  %xmm2,%xmm1
andnpd %xmm0,%xmm2
orpd   %xmm1,%xmm2
movlpd %xmm2,(%r14)
xor    %eax,%eax
add    $0x58,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@ARC = global double 0.000000e+00
@P2 = global double 0.000000e+00
@cosEPS = global double 0.000000e+00
@sinEPS = global double 0.000000e+00
define i32 @MiniMoon(double %0, double* %1, double* %2) {
%4 = alloca double
%5 = alloca double*
%6 = alloca double*
%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
store double %0, double* %4
store double* %1, double** %5
store double* %2, double** %6
store double 9.174800e-01, double* %25
store double 3.977800e-01, double* %26
store double 0x401921FB54411744, double* %27
store double 0x41092DC67318FC50, double* %28
%29 = load double, double* %4
%30 = call double @llvm.fmuladd.f64(double 0x4094E36BC01A36E3, double %29, double 6.064330e-01)
%31 = call double (double, ...) bitcast (double (...)* @frac to double (double, ...)*)(double %30)
store double %31, double* %7
%32 = load double, double* %27
%33 = load double, double* %4
%34 = call double @llvm.fmuladd.f64(double 0x4094B635AAF78FEF, double %33, double 3.748970e-01)
%35 = call double (double, ...) bitcast (double (...)* @frac to double (double, ...)*)(double %34)
%36 = fmul double %32, %35
store double %36, double* %8
%37 = load double, double* %27
%38 = load double, double* %4
%39 = call double @llvm.fmuladd.f64(double 0x4058FFD4C33B5393, double %38, double 9.931330e-01)
%40 = call double (double, ...) bitcast (double (...)* @frac to double (double, ...)*)(double %39)
%41 = fmul double %37, %40
store double %41, double* %9
%42 = load double, double* %27
%43 = load double, double* %4
%44 = call double @llvm.fmuladd.f64(double 0x409353698F605AB4, double %43, double 8.273610e-01)
%45 = call double (double, ...) bitcast (double (...)* @frac to double (double, ...)*)(double %44)
%46 = fmul double %42, %45
store double %46, double* %11
%47 = load double, double* %27
%48 = load double, double* %4
%49 = call double @llvm.fmuladd.f64(double 0x4094F8E94AF4F0D8, double %48, double 2.590860e-01)
%50 = call double (double, ...) bitcast (double (...)* @frac to double (double, ...)*)(double %49)
%51 = fmul double %47, %50
store double %51, double* %10
%52 = load double, double* %8
%53 = call double @sin(double %52)
%54 = load double, double* %8
%55 = load double, double* %11
%56 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %55, double %54)
%57 = call double @sin(double %56)
%58 = fmul double 4.586000e+03, %57
%59 = fneg double %58
%60 = call double @llvm.fmuladd.f64(double 2.264000e+04, double %53, double %59)
%61 = load double, double* %11
%62 = fmul double 2.000000e+00, %61
%63 = call double @sin(double %62)
%64 = call double @llvm.fmuladd.f64(double 2.370000e+03, double %63, double %60)
%65 = load double, double* %8
%66 = fmul double 2.000000e+00, %65
%67 = call double @sin(double %66)
%68 = call double @llvm.fmuladd.f64(double 7.690000e+02, double %67, double %64)
%69 = load double, double* %9
%70 = call double @sin(double %69)
%71 = call double @llvm.fmuladd.f64(double -6.680000e+02, double %70, double %68)
%72 = load double, double* %10
%73 = fmul double 2.000000e+00, %72
%74 = call double @sin(double %73)
%75 = call double @llvm.fmuladd.f64(double -4.120000e+02, double %74, double %71)
%76 = load double, double* %8
%77 = load double, double* %11
%78 = fmul double 2.000000e+00, %77
%79 = fneg double %78
%80 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %76, double %79)
%81 = call double @sin(double %80)
%82 = call double @llvm.fmuladd.f64(double -2.120000e+02, double %81, double %75)
%83 = load double, double* %8
%84 = load double, double* %9
%85 = fadd double %83, %84
%86 = load double, double* %11
%87 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %86, double %85)
%88 = call double @sin(double %87)
%89 = call double @llvm.fmuladd.f64(double -2.060000e+02, double %88, double %82)
%90 = load double, double* %8
%91 = load double, double* %11
%92 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %91, double %90)
%93 = call double @sin(double %92)
%94 = call double @llvm.fmuladd.f64(double 1.920000e+02, double %93, double %89)
%95 = load double, double* %9
%96 = load double, double* %11
%97 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %96, double %95)
%98 = call double @sin(double %97)
%99 = call double @llvm.fmuladd.f64(double -1.650000e+02, double %98, double %94)
%100 = load double, double* %11
%101 = call double @sin(double %100)
%102 = call double @llvm.fmuladd.f64(double -1.250000e+02, double %101, double %99)
%103 = load double, double* %8
%104 = load double, double* %9
%105 = fadd double %103, %104
%106 = call double @sin(double %105)
%107 = call double @llvm.fmuladd.f64(double -1.100000e+02, double %106, double %102)
%108 = load double, double* %8
%109 = load double, double* %9
%110 = fsub double %108, %109
%111 = call double @sin(double %110)
%112 = call double @llvm.fmuladd.f64(double 1.480000e+02, double %111, double %107)
%113 = load double, double* %10
%114 = load double, double* %11
%115 = fmul double 2.000000e+00, %114
%116 = fneg double %115
%117 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %113, double %116)
%118 = call double @sin(double %117)
%119 = call double @llvm.fmuladd.f64(double -5.500000e+01, double %118, double %112)
store double %119, double* %15
%120 = load double, double* %10
%121 = load double, double* %15
%122 = load double, double* %10
%123 = fmul double 2.000000e+00, %122
%124 = call double @sin(double %123)
%125 = call double @llvm.fmuladd.f64(double 4.120000e+02, double %124, double %121)
%126 = load double, double* %9
%127 = call double @sin(double %126)
%128 = call double @llvm.fmuladd.f64(double 5.410000e+02, double %127, double %125)
%129 = load double, double* %28
%130 = fdiv double %128, %129
%131 = fadd double %120, %130
store double %131, double* %13
%132 = load double, double* %10
%133 = load double, double* %11
%134 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %133, double %132)
store double %134, double* %12
%135 = load double, double* %12
%136 = call double @sin(double %135)
%137 = load double, double* %8
%138 = load double, double* %12
%139 = fadd double %137, %138
%140 = call double @sin(double %139)
%141 = fmul double 4.400000e+01, %140
%142 = call double @llvm.fmuladd.f64(double -5.260000e+02, double %136, double %141)
%143 = load double, double* %8
%144 = fneg double %143
%145 = load double, double* %12
%146 = fadd double %144, %145
%147 = call double @sin(double %146)
%148 = call double @llvm.fmuladd.f64(double -3.100000e+01, double %147, double %142)
%149 = load double, double* %9
%150 = load double, double* %12
%151 = fadd double %149, %150
%152 = call double @sin(double %151)
%153 = call double @llvm.fmuladd.f64(double -2.300000e+01, double %152, double %148)
%154 = load double, double* %9
%155 = fneg double %154
%156 = load double, double* %12
%157 = fadd double %155, %156
%158 = call double @sin(double %157)
%159 = call double @llvm.fmuladd.f64(double 1.100000e+01, double %158, double %153)
%160 = load double, double* %8
%161 = load double, double* %10
%162 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %160, double %161)
%163 = call double @sin(double %162)
%164 = call double @llvm.fmuladd.f64(double -2.500000e+01, double %163, double %159)
%165 = load double, double* %8
%166 = fneg double %165
%167 = load double, double* %10
%168 = fadd double %166, %167
%169 = call double @sin(double %168)
%170 = call double @llvm.fmuladd.f64(double 2.100000e+01, double %169, double %164)
store double %170, double* %14
%171 = load double, double* %27
%172 = load double, double* %7
%173 = load double, double* %15
%174 = fdiv double %173, 1.296000e+06
%175 = fadd double %172, %174
%176 = call double (double, ...) bitcast (double (...)* @frac to double (double, ...)*)(double %175)
%177 = fmul double %171, %176
store double %177, double* %17
%178 = load double, double* %13
%179 = call double @sin(double %178)
%180 = load double, double* %14
%181 = call double @llvm.fmuladd.f64(double 1.852000e+04, double %179, double %180)
%182 = load double, double* %28
%183 = fdiv double %181, %182
store double %183, double* %18
%184 = load double, double* %18
%185 = call double @cos(double %184)
store double %185, double* %16
%186 = load double, double* %16
%187 = load double, double* %17
%188 = call double @cos(double %187)
%189 = fmul double %186, %188
store double %189, double* %21
%190 = load double, double* %16
%191 = load double, double* %17
%192 = call double @sin(double %191)
%193 = fmul double %190, %192
store double %193, double* %19
%194 = load double, double* %18
%195 = call double @sin(double %194)
store double %195, double* %20
%196 = load double, double* %25
%197 = load double, double* %19
%198 = load double, double* %26
%199 = load double, double* %20
%200 = fmul double %198, %199
%201 = fneg double %200
%202 = call double @llvm.fmuladd.f64(double %196, double %197, double %201)
store double %202, double* %22
%203 = load double, double* %26
%204 = load double, double* %19
%205 = load double, double* %25
%206 = load double, double* %20
%207 = fmul double %205, %206
%208 = call double @llvm.fmuladd.f64(double %203, double %204, double %207)
store double %208, double* %23
%209 = load double, double* %23
%210 = load double, double* %23
%211 = fneg double %209
%212 = call double @llvm.fmuladd.f64(double %211, double %210, double 1.000000e+00)
%213 = call double @sqrt(double %212)
store double %213, double* %24
%214 = load double, double* %27
%215 = fdiv double 3.600000e+02, %214
%216 = load double, double* %23
%217 = load double, double* %24
%218 = call double @atan2(double %216, double %217)
%219 = fmul double %215, %218
%220 = load double*, double** %6
store double %219, double* %220
%221 = load double, double* %27
%222 = fdiv double 4.800000e+01, %221
%223 = load double, double* %22
%224 = load double, double* %21
%225 = load double, double* %24
%226 = fadd double %224, %225
%227 = call double @atan2(double %223, double %226)
%228 = fmul double %222, %227
%229 = load double*, double** %5
store double %228, double* %229
%230 = load double*, double** %5
%231 = load double, double* %230
%232 = fcmp olt double %231, 0.000000e+00
br i1 %232, label %233, label %237
233: ; preds = %3
%234 = load double*, double** %5
%235 = load double, double* %234
%236 = fadd double %235, 2.400000e+01
store double %236, double* %234
br label %237
237: ; preds = %233, %3
ret i32 0
}

LLVM IR (-O2):
@ARC = global double 0.000000e+00
@P2 = global double 0.000000e+00
@cosEPS = global double 0.000000e+00
@sinEPS = global double 0.000000e+00
define i32 @MiniMoon(double %0, double* nocapture writeonly %1, double* nocapture writeonly %2) {
%4 = tail call double @llvm.fmuladd.f64(double %0, double 0x4094E36BC01A36E3, double 6.064330e-01)
%5 = tail call double (double, ...) bitcast (double (...)* @frac to double (double, ...)*)(double %4)
%6 = tail call double @llvm.fmuladd.f64(double %0, double 0x4094B635AAF78FEF, double 3.748970e-01)
%7 = tail call double (double, ...) bitcast (double (...)* @frac to double (double, ...)*)(double %6)
%8 = fmul double %7, 0x401921FB54411744
%9 = tail call double @llvm.fmuladd.f64(double %0, double 0x4058FFD4C33B5393, double 9.931330e-01)
%10 = tail call double (double, ...) bitcast (double (...)* @frac to double (double, ...)*)(double %9)
%11 = fmul double %10, 0x401921FB54411744
%12 = tail call double @llvm.fmuladd.f64(double %0, double 0x409353698F605AB4, double 8.273610e-01)
%13 = tail call double (double, ...) bitcast (double (...)* @frac to double (double, ...)*)(double %12)
%14 = fmul double %13, 0x401921FB54411744
%15 = tail call double @llvm.fmuladd.f64(double %0, double 0x4094F8E94AF4F0D8, double 2.590860e-01)
%16 = tail call double (double, ...) bitcast (double (...)* @frac to double (double, ...)*)(double %15)
%17 = fmul double %16, 0x401921FB54411744
%18 = tail call double @sin(double %8)
%19 = tail call double @llvm.fmuladd.f64(double %14, double -2.000000e+00, double %8)
%20 = tail call double @sin(double %19)
%21 = fmul double %20, -4.586000e+03
%22 = tail call double @llvm.fmuladd.f64(double %18, double 2.264000e+04, double %21)
%23 = fmul double %14, 2.000000e+00
%24 = tail call double @sin(double %23)
%25 = tail call double @llvm.fmuladd.f64(double %24, double 2.370000e+03, double %22)
%26 = fmul double %8, 2.000000e+00
%27 = tail call double @sin(double %26)
%28 = tail call double @llvm.fmuladd.f64(double %27, double 7.690000e+02, double %25)
%29 = tail call double @sin(double %11)
%30 = tail call double @llvm.fmuladd.f64(double %29, double -6.680000e+02, double %28)
%31 = fmul double %17, 2.000000e+00
%32 = tail call double @sin(double %31)
%33 = tail call double @llvm.fmuladd.f64(double %32, double -4.120000e+02, double %30)
%34 = fneg double %23
%35 = tail call double @llvm.fmuladd.f64(double %8, double 2.000000e+00, double %34)
%36 = tail call double @sin(double %35)
%37 = tail call double @llvm.fmuladd.f64(double %36, double -2.120000e+02, double %33)
%38 = fadd double %8, %11
%39 = tail call double @llvm.fmuladd.f64(double %14, double -2.000000e+00, double %38)
%40 = tail call double @sin(double %39)
%41 = tail call double @llvm.fmuladd.f64(double %40, double -2.060000e+02, double %37)
%42 = tail call double @llvm.fmuladd.f64(double %14, double 2.000000e+00, double %8)
%43 = tail call double @sin(double %42)
%44 = tail call double @llvm.fmuladd.f64(double %43, double 1.920000e+02, double %41)
%45 = tail call double @llvm.fmuladd.f64(double %14, double -2.000000e+00, double %11)
%46 = tail call double @sin(double %45)
%47 = tail call double @llvm.fmuladd.f64(double %46, double -1.650000e+02, double %44)
%48 = tail call double @sin(double %14)
%49 = tail call double @llvm.fmuladd.f64(double %48, double -1.250000e+02, double %47)
%50 = tail call double @sin(double %38)
%51 = tail call double @llvm.fmuladd.f64(double %50, double -1.100000e+02, double %49)
%52 = fsub double %8, %11
%53 = tail call double @sin(double %52)
%54 = tail call double @llvm.fmuladd.f64(double %53, double 1.480000e+02, double %51)
%55 = tail call double @llvm.fmuladd.f64(double %17, double 2.000000e+00, double %34)
%56 = tail call double @sin(double %55)
%57 = tail call double @llvm.fmuladd.f64(double %56, double -5.500000e+01, double %54)
%58 = tail call double @sin(double %31)
%59 = tail call double @llvm.fmuladd.f64(double %58, double 4.120000e+02, double %57)
%60 = tail call double @sin(double %11)
%61 = tail call double @llvm.fmuladd.f64(double %60, double 5.410000e+02, double %59)
%62 = fdiv double %61, 0x41092DC67318FC50
%63 = fadd double %17, %62
%64 = tail call double @llvm.fmuladd.f64(double %14, double -2.000000e+00, double %17)
%65 = tail call double @sin(double %64)
%66 = fadd double %8, %64
%67 = tail call double @sin(double %66)
%68 = fmul double %67, 4.400000e+01
%69 = tail call double @llvm.fmuladd.f64(double %65, double -5.260000e+02, double %68)
%70 = fsub double %64, %8
%71 = tail call double @sin(double %70)
%72 = tail call double @llvm.fmuladd.f64(double %71, double -3.100000e+01, double %69)
%73 = fadd double %11, %64
%74 = tail call double @sin(double %73)
%75 = tail call double @llvm.fmuladd.f64(double %74, double -2.300000e+01, double %72)
%76 = fsub double %64, %11
%77 = tail call double @sin(double %76)
%78 = tail call double @llvm.fmuladd.f64(double %77, double 1.100000e+01, double %75)
%79 = tail call double @llvm.fmuladd.f64(double %8, double -2.000000e+00, double %17)
%80 = tail call double @sin(double %79)
%81 = tail call double @llvm.fmuladd.f64(double %80, double -2.500000e+01, double %78)
%82 = fsub double %17, %8
%83 = tail call double @sin(double %82)
%84 = tail call double @llvm.fmuladd.f64(double %83, double 2.100000e+01, double %81)
%85 = fdiv double %57, 1.296000e+06
%86 = fadd double %5, %85
%87 = tail call double (double, ...) bitcast (double (...)* @frac to double (double, ...)*)(double %86)
%88 = fmul double %87, 0x401921FB54411744
%89 = tail call double @sin(double %63)
%90 = tail call double @llvm.fmuladd.f64(double %89, double 1.852000e+04, double %84)
%91 = fdiv double %90, 0x41092DC67318FC50
%92 = tail call double @cos(double %91)
%93 = tail call double @cos(double %88)
%94 = fmul double %92, %93
%95 = tail call double @sin(double %88)
%96 = fmul double %92, %95
%97 = tail call double @sin(double %91)
%98 = fmul double %97, -3.977800e-01
%99 = tail call double @llvm.fmuladd.f64(double %96, double 9.174800e-01, double %98)
%100 = fmul double %97, 9.174800e-01
%101 = tail call double @llvm.fmuladd.f64(double %96, double 3.977800e-01, double %100)
%102 = fneg double %101
%103 = tail call double @llvm.fmuladd.f64(double %102, double %101, double 1.000000e+00)
%104 = tail call double @sqrt(double %103)
%105 = tail call double @atan2(double %101, double %104)
%106 = fmul double %105, 0x404CA5DC1A674644
store double %106, double* %2
%107 = fadd double %94, %104
%108 = tail call double @atan2(double %99, double %107)
%109 = fmul double %108, 0x401E8EC8A4B26D15
%110 = fcmp olt double %109, 0.000000e+00
%111 = fadd double %109, 2.400000e+01
%112 = select i1 %110, double %111, double %109
store double %112, double* %1
ret i32 0
}