#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 MeanObliquity(void) {
  double eps0;
  double jdnow, dt, t;
  dt = 35.0;
  dt = dt + 32.184;
  dt = dt / (36525 * 24. * 60. * 60.);
  jdnow = JDNow();
  t = (jdnow - 2451545.0) / 36525.0;
  t = t + dt;
  eps0 = 23.0 + 26. / 60 + 21.448 / 3600.;
  eps0 = eps0 + (-46.8150 * t - 0.00059 * t * t + 0.001813 * t * t * t) / 3600.;
  return (eps0);
}


x86 assembly (clang, -O0):
<MeanObliquity>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movsd  0xf28(%rip),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  0xf13(%rip),%xmm0
addsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  -0x18(%rbp),%xmm0
movsd  0xef4(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x18(%rbp)
mov    $0x0,%al
call   1030 <JDNow@plt>
movsd  %xmm0,-0x10(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xeca(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  0xeb6(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  -0x20(%rbp),%xmm0
addsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xe8e(%rip),%xmm0
movsd  %xmm0,-0x8(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  -0x20(%rbp),%xmm2
movsd  0xe6f(%rip),%xmm1
mulsd  -0x20(%rbp),%xmm1
mulsd  -0x20(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
movsd  0xe3e(%rip),%xmm3
mulsd  %xmm3,%xmm2
addsd  %xmm1,%xmm2
movsd  0xe26(%rip),%xmm1
mulsd  -0x20(%rbp),%xmm1
mulsd  -0x20(%rbp),%xmm1
movsd  -0x20(%rbp),%xmm3
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
movsd  0xdff(%rip),%xmm2
divsd  %xmm2,%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x8(%rbp)
movsd  -0x8(%rbp),%xmm0
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<MeanObliquity>:
push   %rax
xor    %eax,%eax
call   1030 <JDNow@plt>
addsd  0xee0(%rip),%xmm0
divsd  0xee0(%rip),%xmm0
addsd  0xee0(%rip),%xmm0
movsd  0xee0(%rip),%xmm1
mulsd  %xmm0,%xmm1
mulsd  %xmm0,%xmm1
movsd  0xed8(%rip),%xmm2
mulsd  %xmm0,%xmm2
addsd  %xmm1,%xmm2
movsd  0xed0(%rip),%xmm1
mulsd  %xmm0,%xmm1
mulsd  %xmm0,%xmm1
mulsd  %xmm1,%xmm0
addsd  %xmm2,%xmm0
divsd  0xec0(%rip),%xmm0
addsd  0xec0(%rip),%xmm0
pop    %rax
ret

LLVM IR (-O0):
define double @MeanObliquity() {
%1 = alloca double
%2 = alloca double
%3 = alloca double
%4 = alloca double
store double 3.500000e+01, double* %3
%5 = load double, double* %3
%6 = fadd double %5, 3.218400e+01
store double %6, double* %3
%7 = load double, double* %3
%8 = fdiv double %7, 3.155760e+09
store double %8, double* %3
%9 = call double (...) @JDNow()
store double %9, double* %2
%10 = load double, double* %2
%11 = fsub double %10, 0x4142B42C80000000
%12 = fdiv double %11, 3.652500e+04
store double %12, double* %4
%13 = load double, double* %4
%14 = load double, double* %3
%15 = fadd double %13, %14
store double %15, double* %4
store double 0x4037707561DBA54E, double* %1
%16 = load double, double* %1
%17 = load double, double* %4
%18 = load double, double* %4
%19 = fmul double 5.900000e-04, %18
%20 = load double, double* %4
%21 = fmul double %19, %20
%22 = fneg double %21
%23 = call double @llvm.fmuladd.f64(double -4.681500e+01, double %17, double %22)
%24 = load double, double* %4
%25 = fmul double 1.813000e-03, %24
%26 = load double, double* %4
%27 = fmul double %25, %26
%28 = load double, double* %4
%29 = call double @llvm.fmuladd.f64(double %27, double %28, double %23)
%30 = fdiv double %29, 3.600000e+03
%31 = fadd double %16, %30
store double %31, double* %1
%32 = load double, double* %1
ret double %32
}

LLVM IR (-O2):
define double @MeanObliquity() {
%1 = tail call double (...) @JDNow()
%2 = fadd double %1, 0xC142B42C80000000
%3 = fdiv double %2, 3.652500e+04
%4 = fadd double %3, 0x3E56DBF70F0D61B1
%5 = fmul double %4, -5.900000e-04
%6 = fmul double %4, %5
%7 = tail call double @llvm.fmuladd.f64(double %4, double -4.681500e+01, double %6)
%8 = fmul double %4, 1.813000e-03
%9 = fmul double %4, %8
%10 = tail call double @llvm.fmuladd.f64(double %9, double %4, double %7)
%11 = fdiv double %10, 3.600000e+03
%12 = fadd double %11, 0x4037707561DBA54E
ret double %12
}