#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 cos(double);
double sin(double);
int epsiln(double *ea, double *eb, double time, double xt) {
  double om, dom, deb, temp;
  om = (23.43928 - 0.013014 * time +
        0.00256 * cos((1934 * time + 235) * 0.0174532925199433)) *
       0.0174532925199433;
  *ea = cos(om);
  *eb = sin(om);
  dom = -(0.013014 + 0.00256 * 1934 * 0.0174532925199433 *
                         sin((1934 * time + 235) * 0.0174532925199433)) *
        0.0174532925199433 * xt;
  deb = sin(dom);
  temp = *ea - *eb * deb;
  *eb = *eb + *ea * deb;
  *ea = temp;
  return (0);
}


x86 assembly (clang, -O0):
<epsiln>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movsd  %xmm0,-0x18(%rbp)
movsd  %xmm1,-0x20(%rbp)
movsd  -0x18(%rbp),%xmm0
movsd  0xee9(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xee5(%rip),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x18(%rbp),%xmm0
movsd  0xeaf(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xeab(%rip),%xmm1
addsd  %xmm1,%xmm0
movsd  0xe7f(%rip),%xmm1
mulsd  %xmm1,%xmm0
call   1040 <cos@plt>
movsd  -0x48(%rbp),%xmm1
movsd  0xe91(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  0xe59(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x28(%rbp),%xmm0
call   1040 <cos@plt>
mov    -0x8(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x28(%rbp),%xmm0
call   1030 <sin@plt>
mov    -0x10(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x18(%rbp),%xmm0
movsd  0xe37(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xe33(%rip),%xmm1
addsd  %xmm1,%xmm0
movsd  0xe07(%rip),%xmm1
mulsd  %xmm1,%xmm0
call   1030 <sin@plt>
movsd  0xdfe(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xdfa(%rip),%xmm1
addsd  %xmm1,%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  0xdc7(%rip),%xmm1
mulsd  %xmm1,%xmm0
mulsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x30(%rbp),%xmm0
call   1030 <sin@plt>
movsd  %xmm0,-0x38(%rbp)
mov    -0x8(%rbp),%rax
movsd  (%rax),%xmm1
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
movsd  -0x38(%rbp),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm1
mov    -0x8(%rbp),%rax
movsd  (%rax),%xmm0
movsd  -0x38(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x10(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x40(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,(%rax)
xor    %eax,%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<epsiln>:
push   %r14
push   %rbx
sub    $0x18,%rsp
movsd  %xmm1,0x10(%rsp)
mov    %rsi,%r14
mov    %rdi,%rbx
movsd  0xec5(%rip),%xmm1
mulsd  %xmm0,%xmm1
addsd  0xec1(%rip),%xmm1
movsd  %xmm1,(%rsp)
mulsd  0xebc(%rip),%xmm0
addsd  0xebc(%rip),%xmm0
mulsd  0xebc(%rip),%xmm0
movsd  %xmm0,0x8(%rsp)
call   1040 <cos@plt>
mulsd  0xeb1(%rip),%xmm0
addsd  (%rsp),%xmm0
mulsd  0xe9c(%rip),%xmm0
movsd  %xmm0,(%rsp)
call   1040 <cos@plt>
movsd  %xmm0,(%rbx)
movsd  (%rsp),%xmm0
call   1030 <sin@plt>
movsd  %xmm0,(%r14)
movsd  0x8(%rsp),%xmm0
call   1030 <sin@plt>
mulsd  0xe7c(%rip),%xmm0
addsd  0xe7c(%rip),%xmm0
mulsd  0xe7c(%rip),%xmm0
mulsd  0x10(%rsp),%xmm0
call   1030 <sin@plt>
movsd  (%rbx),%xmm1
movsd  (%r14),%xmm2
movapd %xmm1,%xmm3
mulsd  %xmm0,%xmm1
addsd  %xmm2,%xmm1
mulsd  %xmm0,%xmm2
subsd  %xmm2,%xmm3
movsd  %xmm1,(%r14)
movsd  %xmm3,(%rbx)
xor    %eax,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
define i32 @epsiln(double* %0, double* %1, double %2, double %3) {
%5 = alloca double*
%6 = alloca double*
%7 = alloca double
%8 = alloca double
%9 = alloca double
%10 = alloca double
%11 = alloca double
%12 = alloca double
store double* %0, double** %5
store double* %1, double** %6
store double %2, double* %7
store double %3, double* %8
%13 = load double, double* %7
%14 = call double @llvm.fmuladd.f64(double -1.301400e-02, double %13, double 0x40377074A771C971)
%15 = load double, double* %7
%16 = call double @llvm.fmuladd.f64(double 1.934000e+03, double %15, double 2.350000e+02)
%17 = fmul double %16, 0x3F91DF46A2529D3A
%18 = call double @cos(double %17)
%19 = call double @llvm.fmuladd.f64(double 2.560000e-03, double %18, double %14)
%20 = fmul double %19, 0x3F91DF46A2529D3A
store double %20, double* %9
%21 = load double, double* %9
%22 = call double @cos(double %21)
%23 = load double*, double** %5
store double %22, double* %23
%24 = load double, double* %9
%25 = call double @sin(double %24)
%26 = load double*, double** %6
store double %25, double* %26
%27 = load double, double* %7
%28 = call double @llvm.fmuladd.f64(double 1.934000e+03, double %27, double 2.350000e+02)
%29 = fmul double %28, 0x3F91DF46A2529D3A
%30 = call double @sin(double %29)
%31 = call double @llvm.fmuladd.f64(double 0x3FB61F17F0A5D392, double %30, double 1.301400e-02)
%32 = fneg double %31
%33 = fmul double %32, 0x3F91DF46A2529D3A
%34 = load double, double* %8
%35 = fmul double %33, %34
store double %35, double* %10
%36 = load double, double* %10
%37 = call double @sin(double %36)
store double %37, double* %11
%38 = load double*, double** %5
%39 = load double, double* %38
%40 = load double*, double** %6
%41 = load double, double* %40
%42 = load double, double* %11
%43 = fneg double %41
%44 = call double @llvm.fmuladd.f64(double %43, double %42, double %39)
store double %44, double* %12
%45 = load double*, double** %6
%46 = load double, double* %45
%47 = load double*, double** %5
%48 = load double, double* %47
%49 = load double, double* %11
%50 = call double @llvm.fmuladd.f64(double %48, double %49, double %46)
%51 = load double*, double** %6
store double %50, double* %51
%52 = load double, double* %12
%53 = load double*, double** %5
store double %52, double* %53
ret i32 0
}

LLVM IR (-O2):
define i32 @epsiln(double* nocapture %0, double* nocapture %1, double %2, double %3) {
%5 = tail call double @llvm.fmuladd.f64(double %2, double -1.301400e-02, double 0x40377074A771C971)
%6 = tail call double @llvm.fmuladd.f64(double %2, double 1.934000e+03, double 2.350000e+02)
%7 = fmul double %6, 0x3F91DF46A2529D3A
%8 = tail call double @cos(double %7)
%9 = tail call double @llvm.fmuladd.f64(double %8, double 2.560000e-03, double %5)
%10 = fmul double %9, 0x3F91DF46A2529D3A
%11 = tail call double @cos(double %10)
store double %11, double* %0
%12 = tail call double @sin(double %10)
store double %12, double* %1
%13 = tail call double @sin(double %7)
%14 = tail call double @llvm.fmuladd.f64(double %13, double 0x3FB61F17F0A5D392, double 1.301400e-02)
%15 = fmul double %14, 0xBF91DF46A2529D3A
%16 = fmul double %15, %3
%17 = tail call double @sin(double %16)
%18 = load double, double* %0
%19 = load double, double* %1
%20 = fneg double %19
%21 = tail call double @llvm.fmuladd.f64(double %20, double %17, double %18)
%22 = tail call double @llvm.fmuladd.f64(double %18, double %17, double %19)
store double %22, double* %1
store double %21, double* %0
ret i32 0
}