void astr_irarc(double xi, double eta, double rac, double decc, double *ra,
                double *dec) {
  double rxi = ((xi)*0.01745329252);
  double reta = ((eta)*0.01745329252);
  double rrac = ((rac)*0.01745329252);
  double rdecc = ((decc)*0.01745329252);
  astr_iarc(rxi, reta, rrac, rdecc, ra, dec);
  *ra = ((*ra) * 57.29577951);
  *dec = ((*dec) * 57.29577951);
  return;
}


x86 assembly (clang, -O0):
<astr_irarc>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  %xmm2,-0x18(%rbp)
movsd  %xmm3,-0x20(%rbp)
mov    %rdi,-0x28(%rbp)
mov    %rsi,-0x30(%rbp)
movsd  0xecc(%rip),%xmm0
mulsd  -0x8(%rbp),%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  0xeba(%rip),%xmm0
mulsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  0xea8(%rip),%xmm0
mulsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  0xe96(%rip),%xmm0
mulsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm1
movsd  -0x48(%rbp),%xmm2
movsd  -0x50(%rbp),%xmm3
mov    -0x28(%rbp),%rdi
mov    -0x30(%rbp),%rsi
mov    $0x4,%al
call   1030 <astr_iarc@plt>
mov    -0x28(%rbp),%rax
movsd  0xe55(%rip),%xmm0
mulsd  (%rax),%xmm0
mov    -0x28(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x30(%rbp),%rax
movsd  0xe3d(%rip),%xmm0
mulsd  (%rax),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,(%rax)
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<astr_irarc>:
push   %r14
push   %rbx
push   %rax
mov    %rsi,%r14
mov    %rdi,%rbx
movsd  0xede(%rip),%xmm4
mulsd  %xmm4,%xmm0
mulsd  %xmm4,%xmm1
mulsd  %xmm4,%xmm2
mulsd  %xmm4,%xmm3
mov    $0x4,%al
call   1030 <astr_iarc@plt>
movsd  0xec7(%rip),%xmm0
movsd  (%rbx),%xmm1
mulsd  %xmm0,%xmm1
movsd  %xmm1,(%rbx)
mulsd  (%r14),%xmm0
movsd  %xmm0,(%r14)
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
define void @astr_irarc(double %0, double %1, double %2, double %3, double* %4, double* %5) {
%7 = alloca double
%8 = alloca double
%9 = alloca double
%10 = alloca double
%11 = alloca double*
%12 = alloca double*
%13 = alloca double
%14 = alloca double
%15 = alloca double
%16 = alloca double
store double %0, double* %7
store double %1, double* %8
store double %2, double* %9
store double %3, double* %10
store double* %4, double** %11
store double* %5, double** %12
%17 = load double, double* %7
%18 = fmul double %17, 0x3F91DF46A252DD11
store double %18, double* %13
%19 = load double, double* %8
%20 = fmul double %19, 0x3F91DF46A252DD11
store double %20, double* %14
%21 = load double, double* %9
%22 = fmul double %21, 0x3F91DF46A252DD11
store double %22, double* %15
%23 = load double, double* %10
%24 = fmul double %23, 0x3F91DF46A252DD11
store double %24, double* %16
%25 = load double, double* %13
%26 = load double, double* %14
%27 = load double, double* %15
%28 = load double, double* %16
%29 = load double*, double** %11
%30 = load double*, double** %12
%31 = call i32 (double, double, double, double, double*, double*, ...) bitcast (i32 (...)* @astr_iarc to i32 (double, double, double, double, double*, double*, ...)*)(double %25, double %26, double %27, double %28, double* %29, double* %30)
%32 = load double*, double** %11
%33 = load double, double* %32
%34 = fmul double %33, 0x404CA5DC1A5D2372
%35 = load double*, double** %11
store double %34, double* %35
%36 = load double*, double** %12
%37 = load double, double* %36
%38 = fmul double %37, 0x404CA5DC1A5D2372
%39 = load double*, double** %12
store double %38, double* %39
ret void
}

LLVM IR (-O2):
define void @astr_irarc(double %0, double %1, double %2, double %3, double* %4, double* %5) {
%7 = fmul double %0, 0x3F91DF46A252DD11
%8 = fmul double %1, 0x3F91DF46A252DD11
%9 = fmul double %2, 0x3F91DF46A252DD11
%10 = fmul double %3, 0x3F91DF46A252DD11
%11 = tail call i32 (double, double, double, double, double*, double*, ...) bitcast (i32 (...)* @astr_iarc to i32 (double, double, double, double, double*, double*, ...)*)(double %7, double %8, double %9, double %10, double* %4, double* %5)
%12 = load double, double* %4
%13 = fmul double %12, 0x404CA5DC1A5D2372
store double %13, double* %4
%14 = load double, double* %5
%15 = fmul double %14, 0x404CA5DC1A5D2372
store double %15, double* %5
ret void
}