#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_djcl_(double *, int *, int *, int *, double *, int *);
void slaDjcl(double djm, int *iy, int *im, int *id, double *fd, int *j) {
  double DJM;
  int IY;
  int IM;
  int ID;
  double FD;
  int J;
  DJM = djm;
  sla_djcl_(&DJM, &IY, &IM, &ID, &FD, &J);
  *iy = IY;
  *im = IM;
  *id = ID;
  *fd = FD;
  *j = J;
}


x86 assembly (clang, -O0):
<slaDjcl>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
movsd  %xmm0,-0x8(%rbp)
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    %rdx,-0x20(%rbp)
mov    %rcx,-0x28(%rbp)
mov    %r8,-0x30(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  %xmm0,-0x38(%rbp)
lea    -0x38(%rbp),%rdi
lea    -0x3c(%rbp),%rsi
lea    -0x40(%rbp),%rdx
lea    -0x44(%rbp),%rcx
lea    -0x50(%rbp),%r8
lea    -0x54(%rbp),%r9
call   1030 <sla_djcl_@plt>
mov    -0x3c(%rbp),%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x40(%rbp),%ecx
mov    -0x18(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x44(%rbp),%ecx
mov    -0x20(%rbp),%rax
mov    %ecx,(%rax)
movsd  -0x50(%rbp),%xmm0
mov    -0x28(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x54(%rbp),%ecx
mov    -0x30(%rbp),%rax
mov    %ecx,(%rax)
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<slaDjcl>:
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x20,%rsp
mov    %r8,%r14
mov    %rcx,%r15
mov    %rdx,%r12
mov    %rsi,%r13
mov    %rdi,%rbx
movsd  %xmm0,0x18(%rsp)
lea    0x18(%rsp),%rdi
lea    0xc(%rsp),%rsi
lea    0x8(%rsp),%rdx
lea    0x4(%rsp),%rcx
lea    0x10(%rsp),%r8
mov    %rsp,%r9
call   1030 <sla_djcl_@plt>
mov    0xc(%rsp),%eax
mov    %eax,(%rbx)
mov    0x8(%rsp),%eax
mov    %eax,0x0(%r13)
mov    0x4(%rsp),%eax
mov    %eax,(%r12)
movsd  0x10(%rsp),%xmm0
movsd  %xmm0,(%r15)
mov    (%rsp),%eax
mov    %eax,(%r14)
add    $0x20,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
define void @slaDjcl(double %0, i32* %1, i32* %2, i32* %3, double* %4, i32* %5) {
%7 = alloca double
%8 = alloca i32*
%9 = alloca i32*
%10 = alloca i32*
%11 = alloca double*
%12 = alloca i32*
%13 = alloca double
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = alloca double
%18 = alloca i32
store double %0, double* %7
store i32* %1, i32** %8
store i32* %2, i32** %9
store i32* %3, i32** %10
store double* %4, double** %11
store i32* %5, i32** %12
%19 = load double, double* %7
store double %19, double* %13
%20 = call i32 @sla_djcl_(double* %13, i32* %14, i32* %15, i32* %16, double* %17, i32* %18)
%21 = load i32, i32* %14
%22 = load i32*, i32** %8
store i32 %21, i32* %22
%23 = load i32, i32* %15
%24 = load i32*, i32** %9
store i32 %23, i32* %24
%25 = load i32, i32* %16
%26 = load i32*, i32** %10
store i32 %25, i32* %26
%27 = load double, double* %17
%28 = load double*, double** %11
store double %27, double* %28
%29 = load i32, i32* %18
%30 = load i32*, i32** %12
store i32 %29, i32* %30
ret void
}

LLVM IR (-O2):
define void @slaDjcl(double %0, i32* nocapture writeonly %1, i32* nocapture writeonly %2, i32* nocapture writeonly %3, double* nocapture writeonly %4, i32* nocapture writeonly %5) {
%7 = alloca double
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca double
%12 = alloca i32
%13 = bitcast double* %7 to i8*
%14 = bitcast i32* %8 to i8*
%15 = bitcast i32* %9 to i8*
%16 = bitcast i32* %10 to i8*
%17 = bitcast double* %11 to i8*
%18 = bitcast i32* %12 to i8*
store double %0, double* %7
%19 = call i32 @sla_djcl_(double* %7, i32* %8, i32* %9, i32* %10, double* %11, i32* %12)
%20 = load i32, i32* %8
store i32 %20, i32* %1
%21 = load i32, i32* %9
store i32 %21, i32* %2
%22 = load i32, i32* %10
store i32 %22, i32* %3
%23 = load double, double* %11
store double %23, double* %4
%24 = load i32, i32* %12
store i32 %24, i32* %5
ret void
}