#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*/ sla_fk45z_(double *, double *, double *, double *, double *);
void slaFk45z(double r1950, double d1950, double bepoch, double *r2000,
              double *d2000) {
  double R1950;
  double D1950;
  double BEPOCH;
  double R2000;
  double D2000;
  R1950 = r1950;
  D1950 = d1950;
  BEPOCH = bepoch;
  sla_fk45z_(&R1950, &D1950, &BEPOCH, &R2000, &D2000);
  *r2000 = R2000;
  *d2000 = D2000;
}


x86 assembly (clang, -O0):
<slaFk45z>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  %xmm2,-0x18(%rbp)
mov    %rdi,-0x20(%rbp)
mov    %rsi,-0x28(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x40(%rbp)
lea    -0x30(%rbp),%rdi
lea    -0x38(%rbp),%rsi
lea    -0x40(%rbp),%rdx
lea    -0x48(%rbp),%rcx
lea    -0x50(%rbp),%r8
call   1030 <sla_fk45z_@plt>
movsd  -0x48(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x50(%rbp),%xmm0
mov    -0x28(%rbp),%rax
movsd  %xmm0,(%rax)
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<slaFk45z>:
push   %r14
push   %rbx
sub    $0x28,%rsp
mov    %rsi,%r14
mov    %rdi,%rbx
movsd  %xmm0,0x20(%rsp)
movsd  %xmm1,0x18(%rsp)
movsd  %xmm2,0x10(%rsp)
lea    0x20(%rsp),%rdi
lea    0x18(%rsp),%rsi
lea    0x10(%rsp),%rdx
lea    0x8(%rsp),%rcx
mov    %rsp,%r8
call   1030 <sla_fk45z_@plt>
movsd  0x8(%rsp),%xmm0
movsd  %xmm0,(%rbx)
movsd  (%rsp),%xmm0
movsd  %xmm0,(%r14)
add    $0x28,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
define void @slaFk45z(double %0, double %1, double %2, double* %3, double* %4) {
%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
%15 = alloca double
store double %0, double* %6
store double %1, double* %7
store double %2, double* %8
store double* %3, double** %9
store double* %4, double** %10
%16 = load double, double* %6
store double %16, double* %11
%17 = load double, double* %7
store double %17, double* %12
%18 = load double, double* %8
store double %18, double* %13
%19 = call i32 @sla_fk45z_(double* %11, double* %12, double* %13, double* %14, double* %15)
%20 = load double, double* %14
%21 = load double*, double** %9
store double %20, double* %21
%22 = load double, double* %15
%23 = load double*, double** %10
store double %22, double* %23
ret void
}

LLVM IR (-O2):
define void @slaFk45z(double %0, double %1, double %2, double* nocapture writeonly %3, double* nocapture writeonly %4) {
%6 = alloca double
%7 = alloca double
%8 = alloca double
%9 = alloca double
%10 = alloca double
%11 = bitcast double* %6 to i8*
%12 = bitcast double* %7 to i8*
%13 = bitcast double* %8 to i8*
%14 = bitcast double* %9 to i8*
%15 = bitcast double* %10 to i8*
store double %0, double* %6
store double %1, double* %7
store double %2, double* %8
%16 = call i32 @sla_fk45z_(double* %6, double* %7, double* %8, double* %9, double* %10)
%17 = load double, double* %9
store double %17, double* %3
%18 = load double, double* %10
store double %18, double* %4
ret void
}