double AscDash(double x, double f, double sine, double cose) {
  double cosx = cos((x) * (3.14159265358979323846 / 180.0));
  double sinx = sin((x) * (3.14159265358979323846 / 180.0));
  double sinx2 = sinx * sinx;
  double c = cose * cosx - tan((f) * (3.14159265358979323846 / 180.0)) * sine;
  double d = sinx2 + c * c;
  double dudt;
  if (d > 1E-10) {
    dudt = (cosx * c + cose * sinx2) / d;
  } else {
    dudt = 0.0;
  }
  return dudt * ((365.24219893 + 1) / 365.24219893 * 360);
}


x86 assembly (clang, -O0):
<AscDash>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  %xmm2,-0x18(%rbp)
movsd  %xmm3,-0x20(%rbp)
movsd  0xeb4(%rip),%xmm0
mulsd  -0x8(%rbp),%xmm0
call   1050 <cos@plt>
movsd  %xmm0,-0x28(%rbp)
movsd  0xe9d(%rip),%xmm0
mulsd  -0x8(%rbp),%xmm0
call   1030 <sin@plt>
movsd  %xmm0,-0x30(%rbp)
movsd  -0x30(%rbp),%xmm0
mulsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  0xe63(%rip),%xmm0
mulsd  -0x10(%rbp),%xmm0
call   1040 <tan@plt>
movsd  -0x60(%rbp),%xmm2
movaps %xmm0,%xmm1
movsd  -0x58(%rbp),%xmm0
mulsd  -0x18(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x38(%rbp),%xmm1
movsd  -0x40(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  0xdf2(%rip),%xmm1
ucomisd %xmm1,%xmm0
jbe    1243 <AscDash+0x113>
movsd  -0x28(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
movsd  -0x20(%rbp),%xmm1
mulsd  -0x38(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
divsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x50(%rbp)
jmp    124b <AscDash+0x11b>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  0xdbd(%rip),%xmm0
mulsd  -0x50(%rbp),%xmm0
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<AscDash>:
sub    $0x28,%rsp
movsd  %xmm3,0x18(%rsp)
movsd  %xmm2,0x20(%rsp)
movsd  %xmm1,0x10(%rsp)
mulsd  0xeb2(%rip),%xmm0
movsd  %xmm0,(%rsp)
call   1050 <cos@plt>
movsd  %xmm0,0x8(%rsp)
movsd  (%rsp),%xmm0
call   1030 <sin@plt>
mulsd  %xmm0,%xmm0
movsd  %xmm0,(%rsp)
movsd  0x10(%rsp),%xmm0
mulsd  0xe81(%rip),%xmm0
call   1040 <tan@plt>
movsd  (%rsp),%xmm5
movsd  0x8(%rsp),%xmm4
movsd  0x18(%rsp),%xmm3
mulsd  0x20(%rsp),%xmm0
movapd %xmm3,%xmm1
mulsd  %xmm4,%xmm1
subsd  %xmm0,%xmm1
movapd %xmm1,%xmm2
mulsd  %xmm1,%xmm2
addsd  %xmm5,%xmm2
xorpd  %xmm0,%xmm0
ucomisd 0xe49(%rip),%xmm2
jbe    11dd <AscDash+0xad>
mulsd  %xmm3,%xmm5
mulsd  %xmm1,%xmm4
addsd  %xmm5,%xmm4
divsd  %xmm2,%xmm4
mulsd  0xe37(%rip),%xmm4
movapd %xmm4,%xmm0
add    $0x28,%rsp
ret

LLVM IR (-O0):
define double @AscDash(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
%13 = alloca double
%14 = alloca double
store double %0, double* %5
store double %1, double* %6
store double %2, double* %7
store double %3, double* %8
%15 = load double, double* %5
%16 = fmul double %15, 0x3F91DF46A2529D39
%17 = call double @cos(double %16)
store double %17, double* %9
%18 = load double, double* %5
%19 = fmul double %18, 0x3F91DF46A2529D39
%20 = call double @sin(double %19)
store double %20, double* %10
%21 = load double, double* %10
%22 = load double, double* %10
%23 = fmul double %21, %22
store double %23, double* %11
%24 = load double, double* %8
%25 = load double, double* %9
%26 = load double, double* %6
%27 = fmul double %26, 0x3F91DF46A2529D39
%28 = call double @tan(double %27)
%29 = load double, double* %7
%30 = fmul double %28, %29
%31 = fneg double %30
%32 = call double @llvm.fmuladd.f64(double %24, double %25, double %31)
store double %32, double* %12
%33 = load double, double* %11
%34 = load double, double* %12
%35 = load double, double* %12
%36 = call double @llvm.fmuladd.f64(double %34, double %35, double %33)
store double %36, double* %13
%37 = load double, double* %13
%38 = fcmp ogt double %37, 1.000000e-10
br i1 %38, label %39, label %48
39: ; preds = %4
%40 = load double, double* %9
%41 = load double, double* %12
%42 = load double, double* %8
%43 = load double, double* %11
%44 = fmul double %42, %43
%45 = call double @llvm.fmuladd.f64(double %40, double %41, double %44)
%46 = load double, double* %13
%47 = fdiv double %45, %46
store double %47, double* %14
br label %49
48: ; preds = %4
store double 0.000000e+00, double* %14
br label %49
49: ; preds = %48, %39
%50 = load double, double* %14
%51 = fmul double %50, 0x40768FC53623D284
ret double %51
}

LLVM IR (-O2):
define double @AscDash(double %0, double %1, double %2, double %3) {
%5 = fmul double %0, 0x3F91DF46A2529D39
%6 = tail call double @cos(double %5)
%7 = tail call double @sin(double %5)
%8 = fmul double %7, %7
%9 = fmul double %1, 0x3F91DF46A2529D39
%10 = tail call double @tan(double %9)
%11 = fneg double %10
%12 = fmul double %11, %2
%13 = tail call double @llvm.fmuladd.f64(double %3, double %6, double %12)
%14 = tail call double @llvm.fmuladd.f64(double %13, double %13, double %8)
%15 = fcmp ogt double %14, 1.000000e-10
br i1 %15, label %16, label %21
16: ; preds = %4
%17 = fmul double %8, %3
%18 = tail call double @llvm.fmuladd.f64(double %6, double %13, double %17)
%19 = fdiv double %18, %14
%20 = fmul double %19, 0x40768FC53623D284
br label %21
21: ; preds = %4, %16
%22 = phi double [ %20, %16 ], [ 0.000000e+00, %4 ]
ret double %22
}