void epb2i(epoch, iyr, imon, iday, ihr, imn, sec, ndsec) double epoch;
int *iyr;
int *imon;
int *iday;
int *ihr;
int *imn;
double *sec;
int ndsec;
{
  double date, time;
  epb2dt(epoch, &date, &time);
  dt2i(date, time, iyr, imon, iday, ihr, imn, sec, ndsec);
  return;
}


x86 assembly (clang, -O0):
<epb2i>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    0x10(%rbp),%eax
movsd  %xmm0,-0x8(%rbp)
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    %rdx,-0x20(%rbp)
mov    %rcx,-0x28(%rbp)
mov    %r8,-0x30(%rbp)
mov    %r9,-0x38(%rbp)
movsd  -0x8(%rbp),%xmm0
lea    -0x40(%rbp),%rdi
lea    -0x48(%rbp),%rsi
mov    $0x1,%al
call   1030 <epb2dt@plt>
movsd  -0x40(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm1
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    -0x20(%rbp),%rdx
mov    -0x28(%rbp),%rcx
mov    -0x30(%rbp),%r8
mov    -0x38(%rbp),%r9
mov    0x10(%rbp),%eax
mov    %eax,(%rsp)
mov    $0x2,%al
call   1040 <dt2i@plt>
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<epb2i>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    %r9,%r14
mov    %r8,%r15
mov    %rcx,%r12
mov    %rdx,%r13
mov    %rsi,%rbx
mov    %rdi,%rbp
lea    0x10(%rsp),%rdi
lea    0x8(%rsp),%rsi
mov    $0x1,%al
call   1030 <epb2dt@plt>
movsd  0x10(%rsp),%xmm0
movsd  0x8(%rsp),%xmm1
mov    0x50(%rsp),%eax
mov    %eax,(%rsp)
mov    %rbp,%rdi
mov    %rbx,%rsi
mov    %r13,%rdx
mov    %r12,%rcx
mov    %r15,%r8
mov    %r14,%r9
mov    $0x2,%al
call   1040 <dt2i@plt>
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
define void @epb2i(double %0, i32* %1, i32* %2, i32* %3, i32* %4, i32* %5, double* %6, i32 %7) {
%9 = alloca double
%10 = alloca double
%11 = bitcast double* %9 to i8*
%12 = bitcast double* %10 to i8*
%13 = call i32 (double, double*, double*, ...) bitcast (i32 (...)* @epb2dt to i32 (double, double*, double*, ...)*)(double %0, double* %9, double* %10)
%14 = load double, double* %9
%15 = load double, double* %10
%16 = call i32 (double, double, i32*, i32*, i32*, i32*, i32*, double*, i32, ...) bitcast (i32 (...)* @dt2i to i32 (double, double, i32*, i32*, i32*, i32*, i32*, double*, i32, ...)*)(double %14, double %15, i32* %1, i32* %2, i32* %3, i32* %4, i32* %5, double* %6, i32 %7)
ret void
}