#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 JDNow();
double Map24(double);
double acos(int /*<<< orphan*/);
double asin(double);
double atan2(double, double);
double cos(double);
double sin(double);
int /*<<< orphan*/ sqrt(double);
void PrecessToEOD(double epoch, double *ra, double *dec) {
  double ra_in, dec_in, ra_out, dec_out;
  double a, b, c;
  double zeta, z, theta;
  double T, t;
  double jdfixed, jdnow;
  ra_in = *ra;
  dec_in = *dec;
  ra_in = ra_in * 3.14159265358 / 12.;
  dec_in = dec_in * 3.14159265358 / 180.;
  jdfixed = (epoch - 2000.0) * 365.25 + 2451545.0;
  jdnow = JDNow();
  T = (jdfixed - 2451545.0) / 36525.0;
  t = (jdnow - jdfixed) / 36525.0;
  zeta = (2306.2181 + 1.39656 * T - 0.000139 * T * T) * t +
         (0.30188 - 0.000344 * T) * t * t + (0.017998) * t * t * t;
  z = (2306.2181 + 1.39656 * T - 0.000139 * T * T) * t +
      (1.09468 + 0.000066 * T) * t * t + (0.018203) * t * t * t;
  theta = (2004.3109 - 0.85330 * T - 0.000217 * T * T) * t +
          (-0.42665 - 0.000217 * T) * t * t + (-0.041833) * t * t * t;
  zeta = zeta * 3.14159265358 / (180. * 3600.);
  z = z * 3.14159265358 / (180. * 3600.);
  theta = theta * 3.14159265358 / (180. * 3600.);
  a = sin(ra_in + zeta) * cos(dec_in);
  b = cos(ra_in + zeta) * cos(theta) * cos(dec_in) - sin(theta) * sin(dec_in);
  c = cos(ra_in + zeta) * sin(theta) * cos(dec_in) + cos(theta) * sin(dec_in);
  if (c > 0.9) {
    dec_out = acos(sqrt(a * a + b * b));
  } else if (c < -0.9) {
    dec_out = -acos(sqrt(a * a + b * b));
  } else {
    dec_out = asin(c);
  }
  ra_out = atan2(a, b) + z;
  ra_out = ra_out * 12. / 3.14159265358;
  dec_out = dec_out * 180. / 3.14159265358;
  if (dec_out > 90.) {
    dec_out = 180. - dec_out;
    ra_out = ra_out + 12.;
  }
  if (dec_out < -90.) {
    dec_out = -180. - dec_out;
    ra_out = ra_out + 12.;
  }
  ra_out = Map24(ra_out);
  *ra = ra_out;
  *dec = dec_out;
}


x86 assembly (clang, -O0):
<PrecessToEOD>:
push   %rbp
mov    %rsp,%rbp
sub    $0xd0,%rsp
movsd  %xmm0,-0x8(%rbp)
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x20(%rbp)
mov    -0x18(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  0xe56(%rip),%xmm0
mulsd  -0x20(%rbp),%xmm0
movsd  0xef1(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xe38(%rip),%xmm0
mulsd  -0x28(%rbp),%xmm0
movsd  0xecb(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  0xead(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  0xe99(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xe85(%rip),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
mov    $0x0,%al
call   1050 <JDNow@plt>
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x80(%rbp),%xmm0
movsd  0xe60(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  0xe4c(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x88(%rbp),%xmm0
ff
subsd  -0x80(%rbp),%xmm0
movsd  0xe2e(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x70(%rbp),%xmm0
movsd  0xdf0(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xdec(%rip),%xmm1
addsd  %xmm1,%xmm0
movsd  0xdd0(%rip),%xmm1
mulsd  -0x70(%rbp),%xmm1
movsd  -0x70(%rbp),%xmm2
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x78(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm0
movsd  0xdb5(%rip),%xmm3
mulsd  %xmm3,%xmm0
movsd  0xdb1(%rip),%xmm3
addsd  %xmm3,%xmm0
mulsd  -0x78(%rbp),%xmm0
mulsd  -0x78(%rbp),%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0xd83(%rip),%xmm0
mulsd  -0x78(%rbp),%xmm0
mulsd  -0x78(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x70(%rbp),%xmm0
movsd  0xd4a(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xd46(%rip),%xmm1
addsd  %xmm1,%xmm0
movsd  0xd2a(%rip),%xmm1
mulsd  -0x70(%rbp),%xmm1
movsd  -0x70(%rbp),%xmm2
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x78(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm0
movsd  0xcdf(%rip),%xmm3
mulsd  %xmm3,%xmm0
movsd  0xcdb(%rip),%xmm3
addsd  %xmm3,%xmm0
mulsd  -0x78(%rbp),%xmm0
mulsd  -0x78(%rbp),%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0xcad(%rip),%xmm0
mulsd  -0x78(%rbp),%xmm0
mulsd  -0x78(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x70(%rbp),%xmm0
movsd  0xc74(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xc70(%rip),%xmm1
addsd  %xmm1,%xmm0
movsd  0xc54(%rip),%xmm1
mulsd  -0x70(%rbp),%xmm1
movsd  -0x70(%rbp),%xmm2
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x78(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm0
movsd  0xc09(%rip),%xmm3
mulsd  %xmm3,%xmm0
movsd  0xc05(%rip),%xmm3
addsd  %xmm3,%xmm0
mulsd  -0x78(%rbp),%xmm0
mulsd  -0x78(%rbp),%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0xbd7(%rip),%xmm0
mulsd  -0x78(%rbp),%xmm0
mulsd  -0x78(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  0xbab(%rip),%xmm0
mulsd  -0x58(%rbp),%xmm0
movsd  0xb96(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  0xb8d(%rip),%xmm0
mulsd  -0x60(%rbp),%xmm0
movsd  0xb78(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  0xb6f(%rip),%xmm0
mulsd  -0x68(%rbp),%xmm0
movsd  0xb5a(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x20(%rbp),%xmm0
addsd  -0x58(%rbp),%xmm0
call   1070 <sin@plt>
movsd  %xmm0,-0xd0(%rbp)
ff
movsd  -0x28(%rbp),%xmm0
call   1090 <cos@plt>
movaps %xmm0,%xmm1
movsd  -0xd0(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x20(%rbp),%xmm0
addsd  -0x58(%rbp),%xmm0
call   1090 <cos@plt>
movsd  %xmm0,-0xc8(%rbp)
ff
movsd  -0x68(%rbp),%xmm0
call   1090 <cos@plt>
movaps %xmm0,%xmm1
movsd  -0xc8(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
movsd  -0x28(%rbp),%xmm0
call   1090 <cos@plt>
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  -0x68(%rbp),%xmm0
call   1070 <sin@plt>
movsd  %xmm0,-0xc0(%rbp)
ff
movsd  -0x28(%rbp),%xmm0
call   1070 <sin@plt>
movsd  -0xc0(%rbp),%xmm1
ff
movsd  -0xb8(%rbp),%xmm2
ff
movaps %xmm0,%xmm3
movsd  -0xb0(%rbp),%xmm0
ff
mulsd  %xmm3,%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x20(%rbp),%xmm0
addsd  -0x58(%rbp),%xmm0
call   1090 <cos@plt>
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0x68(%rbp),%xmm0
call   1070 <sin@plt>
movaps %xmm0,%xmm1
movsd  -0xa8(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x28(%rbp),%xmm0
call   1090 <cos@plt>
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x68(%rbp),%xmm0
call   1090 <cos@plt>
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x28(%rbp),%xmm0
call   1070 <sin@plt>
movsd  -0xa0(%rbp),%xmm1
ff
movsd  -0x98(%rbp),%xmm2
ff
movaps %xmm0,%xmm3
movsd  -0x90(%rbp),%xmm0
ff
mulsd  %xmm3,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x50(%rbp),%xmm0
movsd  0x9cc(%rip),%xmm1
ucomisd %xmm1,%xmm0
jbe    1670 <PrecessToEOD+0x4f0>
movsd  -0x40(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
call   10a0 <sqrt@plt>
mov    %eax,%edi
call   1060 <acos@plt>
movsd  %xmm0,-0x38(%rbp)
jmp    16e0 <PrecessToEOD+0x560>
movsd  0xa48(%rip),%xmm0
ucomisd -0x50(%rbp),%xmm0
jbe    16cc <PrecessToEOD+0x54c>
movsd  -0x40(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
call   10a0 <sqrt@plt>
mov    %eax,%edi
call   1060 <acos@plt>
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x38(%rbp)
jmp    16db <PrecessToEOD+0x55b>
movsd  -0x50(%rbp),%xmm0
call   1080 <asin@plt>
movsd  %xmm0,-0x38(%rbp)
jmp    16e0 <PrecessToEOD+0x560>
movsd  -0x40(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm1
call   1030 <atan2@plt>
addsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  0x9b7(%rip),%xmm0
mulsd  -0x30(%rbp),%xmm0
movsd  0x902(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  0x991(%rip),%xmm0
mulsd  -0x38(%rbp),%xmm0
movsd  0x8e4(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  0x986(%rip),%xmm1
ucomisd %xmm1,%xmm0
jbe    1770 <PrecessToEOD+0x5f0>
movsd  0x95c(%rip),%xmm0
subsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  0x952(%rip),%xmm0
addsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  0x958(%rip),%xmm0
ucomisd -0x38(%rbp),%xmm0
jbe    17a7 <PrecessToEOD+0x627>
movsd  0x94d(%rip),%xmm0
subsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  0x91b(%rip),%xmm0
addsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x30(%rbp),%xmm0
call   1040 <Map24@plt>
movsd  %xmm0,-0x30(%rbp)
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x38(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,(%rax)
add    $0xd0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<PrecessToEOD>:
push   %r14
push   %rbx
sub    $0x78,%rsp
mov    %rsi,%r14
movsd  (%rsi),%xmm1
mulsd  0xe6a(%rip),%xmm1
divsd  0xe6a(%rip),%xmm1
movsd  %xmm1,0x20(%rsp)
addsd  0xe64(%rip),%xmm0
mulsd  0xe64(%rip),%xmm0
mov    %rdi,%rbx
addsd  0xe61(%rip),%xmm0
movsd  %xmm0,0x48(%rsp)
movsd  (%rdi),%xmm0
movapd %xmm0,0x10(%rsp)
xor    %eax,%eax
call   1050 <JDNow@plt>
movsd  0x48(%rsp),%xmm4
subsd  %xmm4,%xmm0
addsd  0xe40(%rip),%xmm4
movsd  0xe40(%rip),%xmm1
divsd  %xmm1,%xmm4
divsd  %xmm1,%xmm0
movsd  0xe38(%rip),%xmm1
mulsd  %xmm4,%xmm1
addsd  0xe34(%rip),%xmm1
movsd  0xe34(%rip),%xmm3
mulsd  %xmm4,%xmm3
mulsd  %xmm4,%xmm3
addsd  %xmm1,%xmm3
movsd  0xe28(%rip),%xmm2
mulsd  %xmm4,%xmm2
movapd %xmm4,%xmm5
addsd  0xe20(%rip),%xmm2
mulsd  %xmm0,%xmm2
mulsd  %xmm0,%xmm2
mulsd  %xmm0,%xmm3
movsd  %xmm3,0x68(%rsp)
addsd  %xmm3,%xmm2
movsd  0xe0a(%rip),%xmm1
mulsd  %xmm0,%xmm1
mulsd  %xmm0,%xmm1
mulsd  %xmm0,%xmm1
addsd  %xmm2,%xmm1
movapd 0x10(%rsp),%xmm4
unpcklpd %xmm1,%xmm4
movsd  0xdf0(%rip),%xmm3
mulsd  %xmm5,%xmm3
addsd  0xdec(%rip),%xmm3
movsd  0xdec(%rip),%xmm1
mulsd  %xmm5,%xmm1
movapd %xmm1,%xmm2
movsd  %xmm5,0x48(%rsp)
mulsd  %xmm5,%xmm2
addsd  %xmm3,%xmm2
addsd  0xdd6(%rip),%xmm1
mulsd  %xmm0,%xmm1
mulsd  %xmm0,%xmm1
mulsd  %xmm0,%xmm2
addsd  %xmm1,%xmm2
movsd  0xdc6(%rip),%xmm1
mulsd  %xmm0,%xmm1
mulsd  %xmm0,%xmm1
movsd  %xmm0,0x70(%rsp)
mulsd  %xmm0,%xmm1
movapd %xmm4,%xmm0
mulpd  0xe00(%rip),%xmm0
addsd  %xmm2,%xmm1
divpd  0xe04(%rip),%xmm0
mulsd  0xd0c(%rip),%xmm1
divsd  0xd94(%rip),%xmm1
movsd  %xmm1,0x8(%rsp)
movapd %xmm0,%xmm1
unpckhpd %xmm0,%xmm1
addsd  %xmm0,%xmm1
movapd %xmm1,0x50(%rsp)
movapd %xmm1,%xmm0
call   1070 <sin@plt>
movsd  %xmm0,0x10(%rsp)
movsd  0x20(%rsp),%xmm0
call   1090 <cos@plt>
mulsd  0x10(%rsp),%xmm0
movsd  %xmm0,0x40(%rsp)
movaps 0x50(%rsp),%xmm0
call   1090 <cos@plt>
movsd  %xmm0,0x10(%rsp)
movsd  0x8(%rsp),%xmm0
call   1090 <cos@plt>
mulsd  0x10(%rsp),%xmm0
movsd  %xmm0,0x38(%rsp)
movsd  0x20(%rsp),%xmm0
call   1090 <cos@plt>
movsd  %xmm0,0x10(%rsp)
movsd  0x8(%rsp),%xmm0
call   1070 <sin@plt>
movsd  %xmm0,0x60(%rsp)
movsd  0x20(%rsp),%xmm0
call   1070 <sin@plt>
mulsd  0x60(%rsp),%xmm0
movsd  0x10(%rsp),%xmm1
mulsd  0x38(%rsp),%xmm1
subsd  %xmm0,%xmm1
movsd  %xmm1,0x10(%rsp)
movaps 0x50(%rsp),%xmm0
call   1090 <cos@plt>
movsd  %xmm0,0x50(%rsp)
movsd  0x8(%rsp),%xmm0
call   1070 <sin@plt>
mulsd  0x50(%rsp),%xmm0
movsd  %xmm0,0x50(%rsp)
movsd  0x20(%rsp),%xmm0
call   1090 <cos@plt>
movsd  %xmm0,0x38(%rsp)
movsd  0x8(%rsp),%xmm0
call   1090 <cos@plt>
movsd  %xmm0,0x8(%rsp)
movsd  0x20(%rsp),%xmm0
call   1070 <sin@plt>
movsd  0x38(%rsp),%xmm3
mulsd  0x8(%rsp),%xmm0
mulsd  0x50(%rsp),%xmm3
addsd  %xmm0,%xmm3
ucomisd 0xc7c(%rip),%xmm3
jbe    1444 <PrecessToEOD+0x2c4>
movsd  0x10(%rsp),%xmm1
mulsd  %xmm1,%xmm1
movsd  0x40(%rsp),%xmm0
mulsd  %xmm0,%xmm0
addsd  %xmm1,%xmm0
call   10a0 <sqrt@plt>
mov    %eax,%edi
call   1060 <acos@plt>
jmp    148d <PrecessToEOD+0x30d>
movsd  0x10(%rsp),%xmm1
movsd  0x40(%rsp),%xmm2
movsd  0xc48(%rip),%xmm0
ucomisd %xmm3,%xmm0
jbe    1484 <PrecessToEOD+0x304>
mulsd  %xmm1,%xmm1
movapd %xmm2,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
call   10a0 <sqrt@plt>
mov    %eax,%edi
call   1060 <acos@plt>
xorpd  0xc7e(%rip),%xmm0
jmp    148d <PrecessToEOD+0x30d>
movapd %xmm3,%xmm0
call   1080 <asin@plt>
movapd %xmm0,0x20(%rsp)
movsd  0xc0d(%rip),%xmm3
movsd  0x70(%rsp),%xmm1
mulsd  %xmm1,%xmm3
mulsd  %xmm1,%xmm3
movsd  0x48(%rsp),%xmm0
mulsd  0xbf9(%rip),%xmm0
addsd  0xbf9(%rip),%xmm0
mulsd  %xmm1,%xmm0
mulsd  %xmm1,%xmm0
movsd  0x68(%rsp),%xmm2
addsd  %xmm0,%xmm2
mulsd  %xmm1,%xmm3
addsd  %xmm2,%xmm3
movsd  0xb1f(%rip),%xmm0
mulsd  %xmm0,%xmm3
divsd  0xba3(%rip),%xmm3
movsd  %xmm3,0x8(%rsp)
movsd  0x40(%rsp),%xmm0
movsd  0x10(%rsp),%xmm1
call   1030 <atan2@plt>
addsd  0x8(%rsp),%xmm0
movsd  0xbae(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xae2(%rip),%xmm2
divsd  %xmm2,%xmm0
movsd  0xade(%rip),%xmm3
movapd 0x20(%rsp),%xmm4
mulsd  %xmm3,%xmm4
divsd  %xmm2,%xmm4
movsd  0xb88(%rip),%xmm2
ucomisd %xmm2,%xmm4
subsd  %xmm4,%xmm3
cmpltsd %xmm4,%xmm2
andpd  %xmm2,%xmm3
andnpd %xmm4,%xmm2
orpd   %xmm3,%xmm2
jbe    155f <PrecessToEOD+0x3df>
addsd  %xmm1,%xmm0
movsd  0xb69(%rip),%xmm3
ucomisd %xmm2,%xmm3
movsd  0xb65(%rip),%xmm4
subsd  %xmm2,%xmm4
movapd %xmm2,%xmm5
cmpltsd %xmm3,%xmm5
andpd  %xmm5,%xmm4
andnpd %xmm2,%xmm5
orpd   %xmm4,%xmm5
movapd %xmm5,0x20(%rsp)
jbe    1598 <PrecessToEOD+0x418>
addsd  %xmm1,%xmm0
call   1040 <Map24@plt>
movsd  %xmm0,(%rbx)
movaps 0x20(%rsp),%xmm0
movlps %xmm0,(%r14)
add    $0x78,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
define void @PrecessToEOD(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
store double %0, double* %4
store double* %1, double** %5
store double* %2, double** %6
%21 = load double*, double** %5
%22 = load double, double* %21
store double %22, double* %7
%23 = load double*, double** %6
%24 = load double, double* %23
store double %24, double* %8
%25 = load double, double* %7
%26 = fmul double %25, 0x400921FB5443D6F4
%27 = fdiv double %26, 1.200000e+01
store double %27, double* %7
%28 = load double, double* %8
%29 = fmul double %28, 0x400921FB5443D6F4
%30 = fdiv double %29, 1.800000e+02
store double %30, double* %8
%31 = load double, double* %4
%32 = fsub double %31, 2.000000e+03
%33 = call double @llvm.fmuladd.f64(double %32, double 3.652500e+02, double 0x4142B42C80000000)
store double %33, double* %19
%34 = call double (...) @JDNow()
store double %34, double* %20
%35 = load double, double* %19
%36 = fsub double %35, 0x4142B42C80000000
%37 = fdiv double %36, 3.652500e+04
store double %37, double* %17
%38 = load double, double* %20
%39 = load double, double* %19
%40 = fsub double %38, %39
%41 = fdiv double %40, 3.652500e+04
store double %41, double* %18
%42 = load double, double* %17
%43 = call double @llvm.fmuladd.f64(double 1.396560e+00, double %42, double 0x40A2046FAACD9E84)
%44 = load double, double* %17
%45 = fmul double 1.390000e-04, %44
%46 = load double, double* %17
%47 = fneg double %45
%48 = call double @llvm.fmuladd.f64(double %47, double %46, double %43)
%49 = load double, double* %18
%50 = load double, double* %17
%51 = call double @llvm.fmuladd.f64(double -3.440000e-04, double %50, double 3.018800e-01)
%52 = load double, double* %18
%53 = fmul double %51, %52
%54 = load double, double* %18
%55 = fmul double %53, %54
%56 = call double @llvm.fmuladd.f64(double %48, double %49, double %55)
%57 = load double, double* %18
%58 = fmul double 1.799800e-02, %57
%59 = load double, double* %18
%60 = fmul double %58, %59
%61 = load double, double* %18
%62 = call double @llvm.fmuladd.f64(double %60, double %61, double %56)
store double %62, double* %14
%63 = load double, double* %17
%64 = call double @llvm.fmuladd.f64(double 1.396560e+00, double %63, double 0x40A2046FAACD9E84)
%65 = load double, double* %17
%66 = fmul double 1.390000e-04, %65
%67 = load double, double* %17
%68 = fneg double %66
%69 = call double @llvm.fmuladd.f64(double %68, double %67, double %64)
%70 = load double, double* %18
%71 = load double, double* %17
%72 = call double @llvm.fmuladd.f64(double 6.600000e-05, double %71, double 1.094680e+00)
%73 = load double, double* %18
%74 = fmul double %72, %73
%75 = load double, double* %18
%76 = fmul double %74, %75
%77 = call double @llvm.fmuladd.f64(double %69, double %70, double %76)
%78 = load double, double* %18
%79 = fmul double 1.820300e-02, %78
%80 = load double, double* %18
%81 = fmul double %79, %80
%82 = load double, double* %18
%83 = call double @llvm.fmuladd.f64(double %81, double %82, double %77)
store double %83, double* %15
%84 = load double, double* %17
%85 = call double @llvm.fmuladd.f64(double -8.533000e-01, double %84, double 0x409F513E5C91D14E)
%86 = load double, double* %17
%87 = fmul double 2.170000e-04, %86
%88 = load double, double* %17
%89 = fneg double %87
%90 = call double @llvm.fmuladd.f64(double %89, double %88, double %85)
%91 = load double, double* %18
%92 = load double, double* %17
%93 = call double @llvm.fmuladd.f64(double -2.170000e-04, double %92, double -4.266500e-01)
%94 = load double, double* %18
%95 = fmul double %93, %94
%96 = load double, double* %18
%97 = fmul double %95, %96
%98 = call double @llvm.fmuladd.f64(double %90, double %91, double %97)
%99 = load double, double* %18
%100 = fmul double -4.183300e-02, %99
%101 = load double, double* %18
%102 = fmul double %100, %101
%103 = load double, double* %18
%104 = call double @llvm.fmuladd.f64(double %102, double %103, double %98)
store double %104, double* %16
%105 = load double, double* %14
%106 = fmul double %105, 0x400921FB5443D6F4
%107 = fdiv double %106, 6.480000e+05
store double %107, double* %14
%108 = load double, double* %15
%109 = fmul double %108, 0x400921FB5443D6F4
%110 = fdiv double %109, 6.480000e+05
store double %110, double* %15
%111 = load double, double* %16
%112 = fmul double %111, 0x400921FB5443D6F4
%113 = fdiv double %112, 6.480000e+05
store double %113, double* %16
%114 = load double, double* %7
%115 = load double, double* %14
%116 = fadd double %114, %115
%117 = call double @sin(double %116)
%118 = load double, double* %8
%119 = call double @cos(double %118)
%120 = fmul double %117, %119
store double %120, double* %11
%121 = load double, double* %7
%122 = load double, double* %14
%123 = fadd double %121, %122
%124 = call double @cos(double %123)
%125 = load double, double* %16
%126 = call double @cos(double %125)
%127 = fmul double %124, %126
%128 = load double, double* %8
%129 = call double @cos(double %128)
%130 = load double, double* %16
%131 = call double @sin(double %130)
%132 = load double, double* %8
%133 = call double @sin(double %132)
%134 = fmul double %131, %133
%135 = fneg double %134
%136 = call double @llvm.fmuladd.f64(double %127, double %129, double %135)
store double %136, double* %12
%137 = load double, double* %7
%138 = load double, double* %14
%139 = fadd double %137, %138
%140 = call double @cos(double %139)
%141 = load double, double* %16
%142 = call double @sin(double %141)
%143 = fmul double %140, %142
%144 = load double, double* %8
%145 = call double @cos(double %144)
%146 = load double, double* %16
%147 = call double @cos(double %146)
%148 = load double, double* %8
%149 = call double @sin(double %148)
%150 = fmul double %147, %149
%151 = call double @llvm.fmuladd.f64(double %143, double %145, double %150)
store double %151, double* %13
%152 = load double, double* %13
%153 = fcmp ogt double %152, 9.000000e-01
br i1 %153, label %154, label %163
154: ; preds = %3
%155 = load double, double* %11
%156 = load double, double* %11
%157 = load double, double* %12
%158 = load double, double* %12
%159 = fmul double %157, %158
%160 = call double @llvm.fmuladd.f64(double %155, double %156, double %159)
%161 = call i32 @sqrt(double %160)
%162 = call double @acos(i32 %161)
store double %162, double* %10
br label %180
163: ; preds = %3
%164 = load double, double* %13
%165 = fcmp olt double %164, -9.000000e-01
br i1 %165, label %166, label %176
166: ; preds = %163
%167 = load double, double* %11
%168 = load double, double* %11
%169 = load double, double* %12
%170 = load double, double* %12
%171 = fmul double %169, %170
%172 = call double @llvm.fmuladd.f64(double %167, double %168, double %171)
%173 = call i32 @sqrt(double %172)
%174 = call double @acos(i32 %173)
%175 = fneg double %174
store double %175, double* %10
br label %179
176: ; preds = %163
%177 = load double, double* %13
%178 = call double @asin(double %177)
store double %178, double* %10
br label %179
179: ; preds = %176, %166
br label %180
180: ; preds = %179, %154
%181 = load double, double* %11
%182 = load double, double* %12
%183 = call double @atan2(double %181, double %182)
%184 = load double, double* %15
%185 = fadd double %183, %184
store double %185, double* %9
%186 = load double, double* %9
%187 = fmul double %186, 1.200000e+01
%188 = fdiv double %187, 0x400921FB5443D6F4
store double %188, double* %9
%189 = load double, double* %10
%190 = fmul double %189, 1.800000e+02
%191 = fdiv double %190, 0x400921FB5443D6F4
store double %191, double* %10
%192 = load double, double* %10
%193 = fcmp ogt double %192, 9.000000e+01
br i1 %193, label %194, label %199
194: ; preds = %180
%195 = load double, double* %10
%196 = fsub double 1.800000e+02, %195
store double %196, double* %10
%197 = load double, double* %9
%198 = fadd double %197, 1.200000e+01
store double %198, double* %9
br label %199
199: ; preds = %194, %180
%200 = load double, double* %10
%201 = fcmp olt double %200, -9.000000e+01
br i1 %201, label %202, label %207
202: ; preds = %199
%203 = load double, double* %10
%204 = fsub double -1.800000e+02, %203
store double %204, double* %10
%205 = load double, double* %9
%206 = fadd double %205, 1.200000e+01
store double %206, double* %9
br label %207
207: ; preds = %202, %199
%208 = load double, double* %9
%209 = call double @Map24(double %208)
store double %209, double* %9
%210 = load double, double* %9
%211 = load double*, double** %5
store double %210, double* %211
%212 = load double, double* %10
%213 = load double*, double** %6
store double %212, double* %213
ret void
}

LLVM IR (-O2):
define void @PrecessToEOD(double %0, double* nocapture %1, double* nocapture %2) {
%4 = load double, double* %1
%5 = load double, double* %2
%6 = fmul double %5, 0x400921FB5443D6F4
%7 = fdiv double %6, 1.800000e+02
%8 = fadd double %0, -2.000000e+03
%9 = tail call double @llvm.fmuladd.f64(double %8, double 3.652500e+02, double 0x4142B42C80000000)
%10 = tail call double (...) @JDNow()
%11 = fadd double %9, 0xC142B42C80000000
%12 = fdiv double %11, 3.652500e+04
%13 = fsub double %10, %9
%14 = fdiv double %13, 3.652500e+04
%15 = tail call double @llvm.fmuladd.f64(double %12, double 1.396560e+00, double 0x40A2046FAACD9E84)
%16 = fmul double %12, -1.390000e-04
%17 = tail call double @llvm.fmuladd.f64(double %16, double %12, double %15)
%18 = tail call double @llvm.fmuladd.f64(double %12, double -3.440000e-04, double 3.018800e-01)
%19 = fmul double %18, %14
%20 = fmul double %14, %19
%21 = tail call double @llvm.fmuladd.f64(double %17, double %14, double %20)
%22 = fmul double %14, 1.799800e-02
%23 = fmul double %14, %22
%24 = tail call double @llvm.fmuladd.f64(double %23, double %14, double %21)
%25 = tail call double @llvm.fmuladd.f64(double %12, double -8.533000e-01, double 0x409F513E5C91D14E)
%26 = fmul double %12, -2.170000e-04
%27 = tail call double @llvm.fmuladd.f64(double %26, double %12, double %25)
%28 = tail call double @llvm.fmuladd.f64(double %12, double -2.170000e-04, double -4.266500e-01)
%29 = fmul double %28, %14
%30 = fmul double %14, %29
%31 = tail call double @llvm.fmuladd.f64(double %27, double %14, double %30)
%32 = fmul double %14, -4.183300e-02
%33 = fmul double %14, %32
%34 = tail call double @llvm.fmuladd.f64(double %33, double %14, double %31)
%35 = insertelement <2 x double> poison, double %4, i64 0
%36 = insertelement <2 x double> %35, double %24, i64 1
%37 = fmul <2 x double> %36, <double 0x400921FB5443D6F4, double 0x400921FB5443D6F4>
%38 = fdiv <2 x double> %37, <double 1.200000e+01, double 6.480000e+05>
%39 = fmul double %34, 0x400921FB5443D6F4
%40 = fdiv double %39, 6.480000e+05
%41 = shufflevector <2 x double> %38, <2 x double> poison, <2 x i32> <i32 1, i32 undef>
%42 = fadd <2 x double> %38, %41
%43 = extractelement <2 x double> %42, i64 0
%44 = tail call double @sin(double %43)
%45 = tail call double @cos(double %7)
%46 = fmul double %44, %45
%47 = tail call double @cos(double %43)
%48 = tail call double @cos(double %40)
%49 = fmul double %47, %48
%50 = tail call double @cos(double %7)
%51 = tail call double @sin(double %40)
%52 = tail call double @sin(double %7)
%53 = fneg double %51
%54 = fmul double %52, %53
%55 = tail call double @llvm.fmuladd.f64(double %49, double %50, double %54)
%56 = tail call double @cos(double %43)
%57 = tail call double @sin(double %40)
%58 = fmul double %56, %57
%59 = tail call double @cos(double %7)
%60 = tail call double @cos(double %40)
%61 = tail call double @sin(double %7)
%62 = fmul double %60, %61
%63 = tail call double @llvm.fmuladd.f64(double %58, double %59, double %62)
%64 = fcmp ogt double %63, 9.000000e-01
br i1 %64, label %65, label %70
65: ; preds = %3
%66 = fmul double %55, %55
%67 = tail call double @llvm.fmuladd.f64(double %46, double %46, double %66)
%68 = tail call i32 @sqrt(double %67)
%69 = tail call double @acos(i32 %68)
br label %80
70: ; preds = %3
%71 = fcmp olt double %63, -9.000000e-01
br i1 %71, label %72, label %78
72: ; preds = %70
%73 = fmul double %55, %55
%74 = tail call double @llvm.fmuladd.f64(double %46, double %46, double %73)
%75 = tail call i32 @sqrt(double %74)
%76 = tail call double @acos(i32 %75)
%77 = fneg double %76
br label %80
78: ; preds = %70
%79 = tail call double @asin(double %63)
br label %80
80: ; preds = %72, %78, %65
%81 = phi double [ %69, %65 ], [ %77, %72 ], [ %79, %78 ]
%82 = fmul double %14, 1.820300e-02
%83 = fmul double %14, %82
%84 = tail call double @llvm.fmuladd.f64(double %12, double 6.600000e-05, double 1.094680e+00)
%85 = fmul double %84, %14
%86 = fmul double %14, %85
%87 = tail call double @llvm.fmuladd.f64(double %17, double %14, double %86)
%88 = tail call double @llvm.fmuladd.f64(double %83, double %14, double %87)
%89 = fmul double %88, 0x400921FB5443D6F4
%90 = fdiv double %89, 6.480000e+05
%91 = tail call double @atan2(double %46, double %55)
%92 = fadd double %90, %91
%93 = fmul double %92, 1.200000e+01
%94 = fdiv double %93, 0x400921FB5443D6F4
%95 = fmul double %81, 1.800000e+02
%96 = fdiv double %95, 0x400921FB5443D6F4
%97 = fcmp ogt double %96, 9.000000e+01
%98 = fsub double 1.800000e+02, %96
%99 = fadd double %94, 1.200000e+01
%100 = select i1 %97, double %98, double %96
%101 = select i1 %97, double %99, double %94
%102 = fcmp olt double %100, -9.000000e+01
%103 = fsub double -1.800000e+02, %100
%104 = fadd double %101, 1.200000e+01
%105 = select i1 %102, double %103, double %100
%106 = select i1 %102, double %104, double %101
%107 = tail call double @Map24(double %106)
store double %107, double* %1
store double %105, double* %2
ret void
}