#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 */
int /*<<< orphan*/ aberrate(double *, double *);
int /*<<< orphan*/ nutate(double *, double *);
int /*<<< orphan*/ precessFromAnyEpoch(double, double, double *, double *);
int /*<<< orphan*/ updateAstroValues(double);
void apparentCoord(double jd0, double jdf, double *RA, double *Dec) {
  *RA = *RA * 15.0;
  precessFromAnyEpoch(jd0, jdf, RA, Dec);
  updateAstroValues(jdf);
  nutate(RA, Dec);
  aberrate(RA, Dec);
  *RA = *RA / 15.0;
}


x86 assembly (clang, -O0):
<apparentCoord>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
mov    %rdi,-0x18(%rbp)
mov    %rsi,-0x20(%rbp)
mov    -0x18(%rbp),%rax
movsd  0xe9a(%rip),%xmm0
mulsd  (%rax),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x8(%rbp),%xmm0
movsd  -0x10(%rbp),%xmm1
mov    -0x18(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   1030 <precessFromAnyEpoch@plt>
movsd  -0x10(%rbp),%xmm0
call   1060 <updateAstroValues@plt>
mov    -0x18(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   1050 <nutate@plt>
mov    -0x18(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   1040 <aberrate@plt>
mov    -0x18(%rbp),%rax
movsd  (%rax),%xmm0
movsd  0xe43(%rip),%xmm1
divsd  %xmm1,%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,(%rax)
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<apparentCoord>:
push   %r14
push   %rbx
push   %rax
mov    %rsi,%r14
mov    %rdi,%rbx
movsd  %xmm1,(%rsp)
movsd  (%rdi),%xmm2
mulsd  0xea5(%rip),%xmm2
movsd  %xmm2,(%rdi)
call   1030 <precessFromAnyEpoch@plt>
movsd  (%rsp),%xmm0
call   1060 <updateAstroValues@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1050 <nutate@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1040 <aberrate@plt>
movsd  (%rbx),%xmm0
divsd  0xe70(%rip),%xmm0
movsd  %xmm0,(%rbx)
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
define void @apparentCoord(double %0, double %1, double* %2, double* %3) {
%5 = alloca double
%6 = alloca double
%7 = alloca double*
%8 = alloca double*
store double %0, double* %5
store double %1, double* %6
store double* %2, double** %7
store double* %3, double** %8
%9 = load double*, double** %7
%10 = load double, double* %9
%11 = fmul double %10, 1.500000e+01
%12 = load double*, double** %7
store double %11, double* %12
%13 = load double, double* %5
%14 = load double, double* %6
%15 = load double*, double** %7
%16 = load double*, double** %8
%17 = call i32 @precessFromAnyEpoch(double %13, double %14, double* %15, double* %16)
%18 = load double, double* %6
%19 = call i32 @updateAstroValues(double %18)
%20 = load double*, double** %7
%21 = load double*, double** %8
%22 = call i32 @nutate(double* %20, double* %21)
%23 = load double*, double** %7
%24 = load double*, double** %8
%25 = call i32 @aberrate(double* %23, double* %24)
%26 = load double*, double** %7
%27 = load double, double* %26
%28 = fdiv double %27, 1.500000e+01
%29 = load double*, double** %7
store double %28, double* %29
ret void
}

LLVM IR (-O2):
define void @apparentCoord(double %0, double %1, double* %2, double* %3) {
%5 = load double, double* %2
%6 = fmul double %5, 1.500000e+01
store double %6, double* %2
%7 = tail call i32 @precessFromAnyEpoch(double %0, double %1, double* %2, double* %3)
%8 = tail call i32 @updateAstroValues(double %1)
%9 = tail call i32 @nutate(double* %2, double* %3)
%10 = tail call i32 @aberrate(double* %2, double* %3)
%11 = load double, double* %2
%12 = fdiv double %11, 1.500000e+01
store double %12, double* %2
ret void
}