#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*/ ep_time_to_mdyhms(long *, int *, int *, int *, int *, int *,
                                     float *);
void tm_ep_time_convrt_(int *epjday, int *epmsec, int *mon, int *day, int *yr,
                        int *hour, int *min, float *sec) {
  long time[2];
  time[0] = (long)*epjday;
  time[1] = (long)*epmsec;
  ep_time_to_mdyhms(time, mon, day, yr, hour, min, sec);
}


x86 assembly (clang, -O0):
<tm_ep_time_convrt_>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
mov    -0x8(%rbp),%rax
movslq (%rax),%rax
mov    %rax,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movslq (%rax),%rax
mov    %rax,-0x38(%rbp)
lea    -0x40(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    -0x20(%rbp),%rdx
mov    -0x28(%rbp),%rcx
mov    -0x30(%rbp),%r8
mov    0x10(%rbp),%r9
mov    0x18(%rbp),%rax
mov    %rax,(%rsp)
call   1030 <ep_time_to_mdyhms@plt>
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<tm_ep_time_convrt_>:
sub    $0x28,%rsp
mov    %r9,%rax
mov    0x30(%rsp),%r9
mov    0x38(%rsp),%r10
movslq (%rdi),%rdi
mov    %rdi,0x10(%rsp)
movslq (%rsi),%rsi
mov    %rsi,0x18(%rsp)
mov    %r10,(%rsp)
lea    0x10(%rsp),%rdi
mov    %rdx,%rsi
mov    %rcx,%rdx
mov    %r8,%rcx
mov    %rax,%r8
call   1030 <ep_time_to_mdyhms@plt>
add    $0x28,%rsp
ret

LLVM IR (-O0):
define void @tm_ep_time_convrt_(i32* %0, i32* %1, i32* %2, i32* %3, i32* %4, i32* %5, i32* %6, float* %7) {
%9 = alloca i32*
%10 = alloca i32*
%11 = alloca i32*
%12 = alloca i32*
%13 = alloca i32*
%14 = alloca i32*
%15 = alloca i32*
%16 = alloca float*
%17 = alloca [2 x i64]
store i32* %0, i32** %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 i32* %6, i32** %15
store float* %7, float** %16
%18 = load i32*, i32** %9
%19 = load i32, i32* %18
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [2 x i64], [2 x i64]* %17, i64 0, i64 0
store i64 %20, i64* %21
%22 = load i32*, i32** %10
%23 = load i32, i32* %22
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [2 x i64], [2 x i64]* %17, i64 0, i64 1
store i64 %24, i64* %25
%26 = getelementptr inbounds [2 x i64], [2 x i64]* %17, i64 0, i64 0
%27 = load i32*, i32** %11
%28 = load i32*, i32** %12
%29 = load i32*, i32** %13
%30 = load i32*, i32** %14
%31 = load i32*, i32** %15
%32 = load float*, float** %16
%33 = call i32 @ep_time_to_mdyhms(i64* %26, i32* %27, i32* %28, i32* %29, i32* %30, i32* %31, float* %32)
ret void
}

LLVM IR (-O2):
define void @tm_ep_time_convrt_(i32* nocapture %0, i32* nocapture %1, i32* %2, i32* %3, i32* %4, i32* %5, i32* %6, float* %7) {
%9 = alloca [2 x i64]
%10 = bitcast [2 x i64]* %9 to i8*
%11 = load i32, i32* %0
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [2 x i64], [2 x i64]* %9, i64 0, i64 0
store i64 %12, i64* %13
%14 = load i32, i32* %1
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [2 x i64], [2 x i64]* %9, i64 0, i64 1
store i64 %15, i64* %16
%17 = call i32 @ep_time_to_mdyhms(i64* %13, i32* %2, i32* %3, i32* %4, i32* %5, i32* %6, float* %7)
ret void
}