#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 fmod(double, double);
double ml_sun(double t) {
  return fmod(280.4664567 + t * (36000.76982779 +
                                 t * (0.0003032028 +
                                      t * (1.0 / 499310.0 +
                                           t * (1.0 / -152990.0 +
                                                t * (1.0 / -19880000.0))))),
              360.0) *
         0.017453292519943295769236907684886;
}


x86 assembly (clang, -O0):
<ml_sun>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  -0x8(%rbp),%xmm1
movsd  -0x8(%rbp),%xmm2
movsd  -0x8(%rbp),%xmm3
movsd  -0x8(%rbp),%xmm4
movsd  0xef2(%rip),%xmm5
mulsd  %xmm5,%xmm4
movsd  0xeee(%rip),%xmm5
addsd  %xmm5,%xmm4
mulsd  %xmm4,%xmm3
movsd  0xece(%rip),%xmm4
addsd  %xmm4,%xmm3
mulsd  %xmm3,%xmm2
movsd  0xeb6(%rip),%xmm3
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm1
movsd  0xe9e(%rip),%xmm2
addsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xe86(%rip),%xmm1
addsd  %xmm1,%xmm0
movsd  0xe72(%rip),%xmm1
call   1030 <fmod@plt>
movsd  0xe5d(%rip),%xmm1
mulsd  %xmm1,%xmm0
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<ml_sun>:
push   %rax
movsd  0xee7(%rip),%xmm1
mulsd  %xmm0,%xmm1
addsd  0xee3(%rip),%xmm1
mulsd  %xmm0,%xmm1
addsd  0xedf(%rip),%xmm1
mulsd  %xmm0,%xmm1
addsd  0xedb(%rip),%xmm1
mulsd  %xmm0,%xmm1
addsd  0xed7(%rip),%xmm1
mulsd  %xmm1,%xmm0
addsd  0xed3(%rip),%xmm0
movsd  0xed3(%rip),%xmm1
call   1030 <fmod@plt>
mulsd  0xece(%rip),%xmm0
pop    %rax
ret

LLVM IR (-O0):
define double @ml_sun(double %0) {
%2 = alloca double
store double %0, double* %2
%3 = load double, double* %2
%4 = load double, double* %2
%5 = load double, double* %2
%6 = load double, double* %2
%7 = load double, double* %2
%8 = call double @llvm.fmuladd.f64(double %7, double 0xBE6B016DA1564A5A, double 0xBEDB6A610F0CBD98)
%9 = call double @llvm.fmuladd.f64(double %6, double %8, double 0x3EC0CCE70CF5D10D)
%10 = call double @llvm.fmuladd.f64(double %5, double %9, double 0x3F33DEE61C2C9B0E)
%11 = call double @llvm.fmuladd.f64(double %4, double %10, double 0x40E19418A26DE3B3)
%12 = call double @llvm.fmuladd.f64(double %3, double %11, double 0x407187769B4CF800)
%13 = call double @fmod(double %12, double 3.600000e+02)
%14 = fmul double %13, 0x3F91DF46A2529D39
ret double %14
}

LLVM IR (-O2):
define double @ml_sun(double %0) {
%2 = tail call double @llvm.fmuladd.f64(double %0, double 0xBE6B016DA1564A5A, double 0xBEDB6A610F0CBD98)
%3 = tail call double @llvm.fmuladd.f64(double %0, double %2, double 0x3EC0CCE70CF5D10D)
%4 = tail call double @llvm.fmuladd.f64(double %0, double %3, double 0x3F33DEE61C2C9B0E)
%5 = tail call double @llvm.fmuladd.f64(double %0, double %4, double 0x40E19418A26DE3B3)
%6 = tail call double @llvm.fmuladd.f64(double %0, double %5, double 0x407187769B4CF800)
%7 = tail call double @fmod(double %6, double 3.600000e+02)
%8 = fmul double %7, 0x3F91DF46A2529D39
ret double %8
}