#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 pow(double, double);
double radians(double);
double mean_ecliptic_obliquity(double tm) {
  double rc =
      pow(0.001813 * tm, 3.0) - pow(0.00059 * tm, 2.0) - 46.815 * tm + 21.448;
  return radians(23.0 + (26.0 + rc / 60.0) / 60.0);
}


x86 assembly (clang, -O0):
<mean_ecliptic_obliquity>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  0xf0b(%rip),%xmm0
mulsd  -0x8(%rbp),%xmm0
movsd  0xef6(%rip),%xmm1
call   1040 <pow@plt>
movsd  %xmm0,-0x18(%rbp)
movsd  0xedc(%rip),%xmm0
mulsd  -0x8(%rbp),%xmm0
movsd  0xec7(%rip),%xmm1
call   1040 <pow@plt>
movsd  -0x18(%rbp),%xmm1
subsd  %xmm0,%xmm1
movsd  -0x8(%rbp),%xmm0
movsd  0xea4(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  0xe8c(%rip),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x10(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  0xe66(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  0xe62(%rip),%xmm1
addsd  %xmm0,%xmm1
movsd  0xe4e(%rip),%xmm0
divsd  %xmm0,%xmm1
movsd  0xe3a(%rip),%xmm0
addsd  %xmm1,%xmm0
call   1030 <radians@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<mean_ecliptic_obliquity>:
push   %rax
movapd %xmm0,%xmm1
movsd  %xmm0,(%rsp)
movsd  0xece(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  0xeca(%rip),%xmm1
call   1040 <pow@plt>
movsd  0xec5(%rip),%xmm1
movsd  (%rsp),%xmm2
mulsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm1
mulsd  0xeb8(%rip),%xmm2
subsd  %xmm1,%xmm0
addsd  %xmm2,%xmm0
addsd  0xeb0(%rip),%xmm0
movsd  0xeb0(%rip),%xmm1
divsd  %xmm1,%xmm0
addsd  0xeac(%rip),%xmm0
divsd  %xmm1,%xmm0
addsd  0xea8(%rip),%xmm0
pop    %rax
jmp    1030 <radians@plt>

LLVM IR (-O0):
define double @mean_ecliptic_obliquity(double %0) {
%2 = alloca double
%3 = alloca double
store double %0, double* %2
%4 = load double, double* %2
%5 = fmul double 1.813000e-03, %4
%6 = call double @pow(double %5, double 3.000000e+00)
%7 = load double, double* %2
%8 = fmul double 5.900000e-04, %7
%9 = call double @pow(double %8, double 2.000000e+00)
%10 = fsub double %6, %9
%11 = load double, double* %2
%12 = call double @llvm.fmuladd.f64(double -4.681500e+01, double %11, double %10)
%13 = fadd double %12, 2.144800e+01
store double %13, double* %3
%14 = load double, double* %3
%15 = fdiv double %14, 6.000000e+01
%16 = fadd double 2.600000e+01, %15
%17 = fdiv double %16, 6.000000e+01
%18 = fadd double 2.300000e+01, %17
%19 = call double @radians(double %18)
ret double %19
}

LLVM IR (-O2):
define double @mean_ecliptic_obliquity(double %0) {
%2 = fmul double %0, 1.813000e-03
%3 = tail call double @pow(double %2, double 3.000000e+00)
%4 = fmul double %0, 5.900000e-04
%5 = fmul double %4, %4
%6 = fsub double %3, %5
%7 = tail call double @llvm.fmuladd.f64(double %0, double -4.681500e+01, double %6)
%8 = fadd double %7, 2.144800e+01
%9 = fdiv double %8, 6.000000e+01
%10 = fadd double %9, 2.600000e+01
%11 = fdiv double %10, 6.000000e+01
%12 = fadd double %11, 2.300000e+01
%13 = tail call double @radians(double %12)
ret double %13
}