#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 */
double floor(double);
int TimeJulianToYMDHMS(double jd, int *yr, int *mo, int *dy, int *hr, int *mt,
                       double *sc) {
  int Z, month;
  int hour, minute;
  double A, B, C, D, E, F, alpha, day, year, factor, second;
  factor = 0.5 / 86400 / 1000;
  F = (jd + 0.5) - floor(jd + 0.5);
  if ((F + factor) >= 1.0) {
    jd = jd + factor;
    F = 0.0;
  }
  Z = floor(jd + 0.5);
  if (Z < 2299161)
    A = Z;
  else {
    alpha = floor((Z - 1867216.25) / 36524.25);
    A = Z + 1 + alpha - floor(alpha / 4);
  }
  B = A + 1524;
  C = floor((B - 122.1) / 365.25);
  D = floor(365.25 * C);
  E = floor((B - D) / 30.6001);
  day = B - D - floor(30.6001 * E) + F;
  if (E < 13.5)
    month = floor(E - 0.5);
  else
    month = floor(E - 12.5);
  if (month > 2.5)
    year = C - 4716;
  else
    year = C - 4715;
  *yr = (int)year;
  *mo = month;
  *dy = (int)floor(day);
  A = (day - floor(day)) * 86400;
  hour = (int)(A / 3600.0);
  minute = (int)((A - hour * 3600) / 60);
  second = A - hour * 3600 - minute * 60;
  *hr = hour;
  *mt = minute;
  *sc = second;
  return 0;
}


x86 assembly (clang, -O0):
<TimeJulianToYMDHMS>:
push   %rbp
mov    %rsp,%rbp
sub    $0xc0,%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)
mov    %r9,-0x38(%rbp)
movsd  0xed0(%rip),%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  0xeb8(%rip),%xmm0
addsd  -0x8(%rbp),%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  0xea3(%rip),%xmm0
addsd  -0x8(%rbp),%xmm0
call   1030 <floor@plt>
movaps %xmm0,%xmm1
movsd  -0xa8(%rbp),%xmm0
ff
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x78(%rbp),%xmm0
addsd  -0x98(%rbp),%xmm0
ff
movsd  0xe68(%rip),%xmm1
ucomisd %xmm1,%xmm0
jb     11bc <TimeJulianToYMDHMS+0xac>
movsd  -0x8(%rbp),%xmm0
addsd  -0x98(%rbp),%xmm0
ff
movsd  %xmm0,-0x8(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  0xe44(%rip),%xmm0
addsd  -0x8(%rbp),%xmm0
call   1030 <floor@plt>
cvttsd2si %xmm0,%eax
mov    %eax,-0x3c(%rbp)
cmpl   $0x231519,-0x3c(%rbp)
jge    11f1 <TimeJulianToYMDHMS+0xe1>
cvtsi2sdl -0x3c(%rbp),%xmm0
movsd  %xmm0,-0x50(%rbp)
jmp    1259 <TimeJulianToYMDHMS+0x149>
cvtsi2sdl -0x3c(%rbp),%xmm0
movsd  0xe2a(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  0xe16(%rip),%xmm1
divsd  %xmm1,%xmm0
call   1030 <floor@plt>
movsd  %xmm0,-0x80(%rbp)
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
cvtsi2sd %eax,%xmm0
addsd  -0x80(%rbp),%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
movsd  -0x80(%rbp),%xmm0
movsd  0xddc(%rip),%xmm1
divsd  %xmm1,%xmm0
call   1030 <floor@plt>
movaps %xmm0,%xmm1
movsd  -0xb0(%rbp),%xmm0
ff
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  0xdef(%rip),%xmm0
addsd  -0x50(%rbp),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x58(%rbp),%xmm0
movsd  0xdd0(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  0xdbc(%rip),%xmm1
divsd  %xmm1,%xmm0
call   1030 <floor@plt>
movsd  %xmm0,-0x60(%rbp)
movsd  0xda6(%rip),%xmm0
mulsd  -0x60(%rbp),%xmm0
call   1030 <floor@plt>
movsd  %xmm0,-0x68(%rbp)
movsd  -0x58(%rbp),%xmm0
subsd  -0x68(%rbp),%xmm0
movsd  0xd7d(%rip),%xmm1
divsd  %xmm1,%xmm0
call   1030 <floor@plt>
movsd  %xmm0,-0x70(%rbp)
movsd  -0x58(%rbp),%xmm0
subsd  -0x68(%rbp),%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  0xd55(%rip),%xmm0
mulsd  -0x70(%rbp),%xmm0
call   1030 <floor@plt>
movaps %xmm0,%xmm1
movsd  -0xb8(%rbp),%xmm0
ff
subsd  %xmm1,%xmm0
addsd  -0x78(%rbp),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  0xd1f(%rip),%xmm0
ucomisd -0x70(%rbp),%xmm0
jbe    133e <TimeJulianToYMDHMS+0x22e>
movsd  -0x70(%rbp),%xmm0
movsd  0xcdf(%rip),%xmm1
subsd  %xmm1,%xmm0
call   1030 <floor@plt>
cvttsd2si %xmm0,%eax
mov    %eax,-0x40(%rbp)
jmp    135b <TimeJulianToYMDHMS+0x24b>
movsd  -0x70(%rbp),%xmm0
movsd  0xd0d(%rip),%xmm1
subsd  %xmm1,%xmm0
call   1030 <floor@plt>
cvttsd2si %xmm0,%eax
mov    %eax,-0x40(%rbp)
cvtsi2sdl -0x40(%rbp),%xmm0
movsd  0xcf8(%rip),%xmm1
ucomisd %xmm1,%xmm0
jbe    1390 <TimeJulianToYMDHMS+0x280>
movsd  -0x60(%rbp),%xmm0
movsd  0xcf1(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
jmp    13a9 <TimeJulianToYMDHMS+0x299>
movsd  -0x60(%rbp),%xmm0
movsd  0xccb(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
cvttsd2si -0x90(%rbp),%ecx
ff
mov    -0x10(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x40(%rbp),%ecx
mov    -0x18(%rbp),%rax
mov    %ecx,(%rax)
movsd  -0x88(%rbp),%xmm0
ff
call   1030 <floor@plt>
cvttsd2si %xmm0,%ecx
mov    -0x20(%rbp),%rax
mov    %ecx,(%rax)
movsd  -0x88(%rbp),%xmm0
ff
movsd  %xmm0,-0xc0(%rbp)
ff
movsd  -0x88(%rbp),%xmm0
ff
call   1030 <floor@plt>
movaps %xmm0,%xmm1
movsd  -0xc0(%rbp),%xmm0
ff
subsd  %xmm1,%xmm0
movsd  0xc7d(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x50(%rbp),%xmm0
movsd  0xc5f(%rip),%xmm1
divsd  %xmm1,%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x44(%rbp)
movsd  -0x50(%rbp),%xmm0
imul   $0xe10,-0x44(%rbp),%eax
cvtsi2sd %eax,%xmm1
subsd  %xmm1,%xmm0
movsd  0xc30(%rip),%xmm1
divsd  %xmm1,%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x48(%rbp)
movsd  -0x50(%rbp),%xmm0
imul   $0xe10,-0x44(%rbp),%eax
cvtsi2sd %eax,%xmm1
subsd  %xmm1,%xmm0
imul   $0x3c,-0x48(%rbp),%eax
cvtsi2sd %eax,%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
mov    -0x44(%rbp),%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x48(%rbp),%ecx
mov    -0x30(%rbp),%rax
mov    %ecx,(%rax)
movsd  -0xa0(%rbp),%xmm0
ff
mov    -0x38(%rbp),%rax
movsd  %xmm0,(%rax)
xor    %eax,%eax
add    $0xc0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<TimeJulianToYMDHMS>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x48,%rsp
mov    %r9,0x40(%rsp)
mov    %r8,0x38(%rsp)
mov    %rcx,%r12
mov    %rdx,%r13
mov    %rsi,%r15
mov    %rdi,%rbp
movapd %xmm0,(%rsp)
addsd  0xebf(%rip),%xmm0
movapd %xmm0,0x10(%rsp)
call   1030 <floor@plt>
movapd 0x10(%rsp),%xmm2
subsd  %xmm0,%xmm2
movsd  0xeaa(%rip),%xmm1
movapd %xmm2,0x10(%rsp)
movapd %xmm2,%xmm0
addsd  %xmm1,%xmm0
movapd (%rsp),%xmm3
addsd  %xmm3,%xmm1
movsd  0xe93(%rip),%xmm2
cmpnlesd %xmm0,%xmm2
andpd  %xmm2,%xmm3
movapd %xmm2,0x20(%rsp)
movapd %xmm2,%xmm0
andnpd %xmm1,%xmm0
orpd   %xmm3,%xmm0
addsd  0xe60(%rip),%xmm0
call   1030 <floor@plt>
cvttsd2si %xmm0,%r14d
cvttpd2dq %xmm0,%xmm0
cvtdq2pd %xmm0,%xmm0
cmp    $0x231519,%r14d
jl     11ff <TimeJulianToYMDHMS+0xef>
addsd  0xe55(%rip),%xmm0
divsd  0xe55(%rip),%xmm0
call   1030 <floor@plt>
add    $0x1,%r14d
xorps  %xmm1,%xmm1
cvtsi2sd %r14d,%xmm1
addsd  %xmm0,%xmm1
movapd %xmm1,(%rsp)
mulsd  0xe3b(%rip),%xmm0
call   1030 <floor@plt>
movapd (%rsp),%xmm1
subsd  %xmm0,%xmm1
movapd %xmm1,%xmm0
movaps 0x20(%rsp),%xmm1
andps  0x10(%rsp),%xmm1
movaps %xmm1,0x20(%rsp)
addsd  0xe1a(%rip),%xmm0
movapd %xmm0,%xmm1
movapd %xmm0,(%rsp)
movsd  0xe11(%rip),%xmm0
addsd  %xmm1,%xmm0
divsd  0xe0d(%rip),%xmm0
call   1030 <floor@plt>
movsd  %xmm0,0x10(%rsp)
movsd  0xdfa(%rip),%xmm1
mulsd  %xmm0,%xmm1
movapd %xmm1,%xmm0
call   1030 <floor@plt>
movapd (%rsp),%xmm1
subsd  %xmm0,%xmm1
movapd %xmm1,(%rsp)
movapd %xmm1,%xmm0
divsd  0xddb(%rip),%xmm0
call   1030 <floor@plt>
movsd  %xmm0,0x30(%rsp)
movsd  0xdd0(%rip),%xmm1
xor    %ebx,%ebx
ucomisd %xmm0,%xmm1
seta   %bl
movsd  0xdb7(%rip),%xmm1
mulsd  %xmm0,%xmm1
movapd %xmm1,%xmm0
call   1030 <floor@plt>
movapd (%rsp),%xmm1
subsd  %xmm0,%xmm1
addsd  0x20(%rsp),%xmm1
movapd %xmm1,(%rsp)
lea    0xdb7(%rip),%rax
movsd  0x30(%rsp),%xmm0
addsd  (%rax,%rbx,8),%xmm0
call   1030 <floor@plt>
cvttsd2si %xmm0,%eax
xor    %ecx,%ecx
cmp    $0x3,%eax
setge  %cl
lea    0xda4(%rip),%rdx
movsd  0x10(%rsp),%xmm0
addsd  (%rdx,%rcx,8),%xmm0
cvttsd2si %xmm0,%ecx
mov    %ecx,0x0(%rbp)
mov    %eax,(%r15)
movapd (%rsp),%xmm0
call   1030 <floor@plt>
cvttsd2si %xmm0,%eax
mov    %eax,0x0(%r13)
movapd (%rsp),%xmm1
subsd  %xmm0,%xmm1
mulsd  0xd44(%rip),%xmm1
movapd %xmm1,%xmm0
divsd  0xd40(%rip),%xmm0
cvttsd2si %xmm0,%eax
imul   $0xe10,%eax,%ecx
xorps  %xmm0,%xmm0
cvtsi2sd %ecx,%xmm0
subsd  %xmm0,%xmm1
movapd %xmm1,%xmm0
divsd  0xd27(%rip),%xmm0
cvttsd2si %xmm0,%ecx
imul   $0x3c,%ecx,%edx
xorps  %xmm0,%xmm0
cvtsi2sd %edx,%xmm0
subsd  %xmm0,%xmm1
mov    %eax,(%r12)
mov    0x38(%rsp),%rax
mov    %ecx,(%rax)
mov    0x40(%rsp),%rax
movsd  %xmm1,(%rax)
xor    %eax,%eax
add    $0x48,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define i32 @TimeJulianToYMDHMS(double %0, i32* %1, i32* %2, i32* %3, i32* %4, i32* %5, double* %6) {
%8 = alloca double
%9 = alloca i32*
%10 = alloca i32*
%11 = alloca i32*
%12 = alloca i32*
%13 = alloca i32*
%14 = alloca double*
%15 = alloca i32
%16 = alloca i32
%17 = alloca i32
%18 = alloca i32
%19 = alloca double
%20 = alloca double
%21 = alloca double
%22 = alloca double
%23 = alloca double
%24 = alloca double
%25 = alloca double
%26 = alloca double
%27 = alloca double
%28 = alloca double
%29 = alloca double
store double %0, double* %8
store i32* %1, i32** %9
store i32* %2, i32** %10
store i32* %3, i32** %11
store i32* %4, i32** %12
store i32* %5, i32** %13
store double* %6, double** %14
store double 0x3E38DAEA1D7F4CF7, double* %28
%30 = load double, double* %8
%31 = fadd double %30, 5.000000e-01
%32 = load double, double* %8
%33 = fadd double %32, 5.000000e-01
%34 = call double @llvm.floor.f64(double %33)
%35 = fsub double %31, %34
store double %35, double* %24
%36 = load double, double* %24
%37 = load double, double* %28
%38 = fadd double %36, %37
%39 = fcmp oge double %38, 1.000000e+00
br i1 %39, label %40, label %44
40: ; preds = %7
%41 = load double, double* %8
%42 = load double, double* %28
%43 = fadd double %41, %42
store double %43, double* %8
store double 0.000000e+00, double* %24
br label %44
44: ; preds = %40, %7
%45 = load double, double* %8
%46 = fadd double %45, 5.000000e-01
%47 = call double @llvm.floor.f64(double %46)
%48 = fptosi double %47 to i32
store i32 %48, i32* %15
%49 = load i32, i32* %15
%50 = icmp slt i32 %49, 2299161
br i1 %50, label %51, label %54
51: ; preds = %44
%52 = load i32, i32* %15
%53 = sitofp i32 %52 to double
store double %53, double* %19
br label %69
54: ; preds = %44
%55 = load i32, i32* %15
%56 = sitofp i32 %55 to double
%57 = fsub double %56, 0x413C7DD040000000
%58 = fdiv double %57, 0x40E1D58800000000
%59 = call double @llvm.floor.f64(double %58)
store double %59, double* %25
%60 = load i32, i32* %15
%61 = add nsw i32 %60, 1
%62 = sitofp i32 %61 to double
%63 = load double, double* %25
%64 = fadd double %62, %63
%65 = load double, double* %25
%66 = fdiv double %65, 4.000000e+00
%67 = call double @llvm.floor.f64(double %66)
%68 = fsub double %64, %67
store double %68, double* %19
br label %69
69: ; preds = %54, %51
%70 = load double, double* %19
%71 = fadd double %70, 1.524000e+03
store double %71, double* %20
%72 = load double, double* %20
%73 = fsub double %72, 1.221000e+02
%74 = fdiv double %73, 3.652500e+02
%75 = call double @llvm.floor.f64(double %74)
store double %75, double* %21
%76 = load double, double* %21
%77 = fmul double 3.652500e+02, %76
%78 = call double @llvm.floor.f64(double %77)
store double %78, double* %22
%79 = load double, double* %20
%80 = load double, double* %22
%81 = fsub double %79, %80
%82 = fdiv double %81, 3.060010e+01
%83 = call double @llvm.floor.f64(double %82)
store double %83, double* %23
%84 = load double, double* %20
%85 = load double, double* %22
%86 = fsub double %84, %85
%87 = load double, double* %23
%88 = fmul double 3.060010e+01, %87
%89 = call double @llvm.floor.f64(double %88)
%90 = fsub double %86, %89
%91 = load double, double* %24
%92 = fadd double %90, %91
store double %92, double* %26
%93 = load double, double* %23
%94 = fcmp olt double %93, 1.350000e+01
br i1 %94, label %95, label %100
95: ; preds = %69
%96 = load double, double* %23
%97 = fsub double %96, 5.000000e-01
%98 = call double @llvm.floor.f64(double %97)
%99 = fptosi double %98 to i32
store i32 %99, i32* %16
br label %105
100: ; preds = %69
%101 = load double, double* %23
%102 = fsub double %101, 1.250000e+01
%103 = call double @llvm.floor.f64(double %102)
%104 = fptosi double %103 to i32
store i32 %104, i32* %16
br label %105
105: ; preds = %100, %95
%106 = load i32, i32* %16
%107 = sitofp i32 %106 to double
%108 = fcmp ogt double %107, 2.500000e+00
br i1 %108, label %109, label %112
109: ; preds = %105
%110 = load double, double* %21
%111 = fsub double %110, 4.716000e+03
store double %111, double* %27
br label %115
112: ; preds = %105
%113 = load double, double* %21
%114 = fsub double %113, 4.715000e+03
store double %114, double* %27
br label %115
115: ; preds = %112, %109
%116 = load double, double* %27
%117 = fptosi double %116 to i32
%118 = load i32*, i32** %9
store i32 %117, i32* %118
%119 = load i32, i32* %16
%120 = load i32*, i32** %10
store i32 %119, i32* %120
%121 = load double, double* %26
%122 = call double @llvm.floor.f64(double %121)
%123 = fptosi double %122 to i32
%124 = load i32*, i32** %11
store i32 %123, i32* %124
%125 = load double, double* %26
%126 = load double, double* %26
%127 = call double @llvm.floor.f64(double %126)
%128 = fsub double %125, %127
%129 = fmul double %128, 8.640000e+04
store double %129, double* %19
%130 = load double, double* %19
%131 = fdiv double %130, 3.600000e+03
%132 = fptosi double %131 to i32
store i32 %132, i32* %17
%133 = load double, double* %19
%134 = load i32, i32* %17
%135 = mul nsw i32 %134, 3600
%136 = sitofp i32 %135 to double
%137 = fsub double %133, %136
%138 = fdiv double %137, 6.000000e+01
%139 = fptosi double %138 to i32
store i32 %139, i32* %18
%140 = load double, double* %19
%141 = load i32, i32* %17
%142 = mul nsw i32 %141, 3600
%143 = sitofp i32 %142 to double
%144 = fsub double %140, %143
%145 = load i32, i32* %18
%146 = mul nsw i32 %145, 60
%147 = sitofp i32 %146 to double
%148 = fsub double %144, %147
store double %148, double* %29
%149 = load i32, i32* %17
%150 = load i32*, i32** %12
store i32 %149, i32* %150
%151 = load i32, i32* %18
%152 = load i32*, i32** %13
store i32 %151, i32* %152
%153 = load double, double* %29
%154 = load double*, double** %14
store double %153, double* %154
ret i32 0
}

LLVM IR (-O2):
define i32 @TimeJulianToYMDHMS(double %0, i32* nocapture writeonly %1, i32* nocapture writeonly %2, i32* nocapture writeonly %3, i32* nocapture writeonly %4, i32* nocapture writeonly %5, double* nocapture writeonly %6) {
%8 = fadd double %0, 5.000000e-01
%9 = tail call double @llvm.floor.f64(double %8)
%10 = fsub double %8, %9
%11 = fadd double %10, 0x3E38DAEA1D7F4CF7
%12 = fcmp ult double %11, 1.000000e+00
%13 = fadd double %0, 0x3E38DAEA1D7F4CF7
%14 = select i1 %12, double %0, double %13
%15 = fadd double %14, 5.000000e-01
%16 = tail call double @llvm.floor.f64(double %15)
%17 = fptosi double %16 to i32
%18 = icmp slt i32 %17, 2299161
%19 = sitofp i32 %17 to double
br i1 %18, label %30, label %20
20: ; preds = %7
%21 = fadd double %19, 0xC13C7DD040000000
%22 = fdiv double %21, 0x40E1D58800000000
%23 = tail call double @llvm.floor.f64(double %22)
%24 = add nuw nsw i32 %17, 1
%25 = sitofp i32 %24 to double
%26 = fadd double %23, %25
%27 = fmul double %23, 2.500000e-01
%28 = tail call double @llvm.floor.f64(double %27)
%29 = fsub double %26, %28
br label %30
30: ; preds = %7, %20
%31 = phi double [ %29, %20 ], [ %19, %7 ]
%32 = select i1 %12, double %10, double 0.000000e+00
%33 = fadd double %31, 1.524000e+03
%34 = fadd double %33, -1.221000e+02
%35 = fdiv double %34, 3.652500e+02
%36 = tail call double @llvm.floor.f64(double %35)
%37 = fmul double %36, 3.652500e+02
%38 = tail call double @llvm.floor.f64(double %37)
%39 = fsub double %33, %38
%40 = fdiv double %39, 3.060010e+01
%41 = tail call double @llvm.floor.f64(double %40)
%42 = fmul double %41, 3.060010e+01
%43 = tail call double @llvm.floor.f64(double %42)
%44 = fsub double %39, %43
%45 = fadd double %32, %44
%46 = fcmp olt double %41, 1.350000e+01
%47 = select i1 %46, double -5.000000e-01, double -1.250000e+01
%48 = fadd double %41, %47
%49 = tail call double @llvm.floor.f64(double %48)
%50 = fptosi double %49 to i32
%51 = icmp sgt i32 %50, 2
%52 = select i1 %51, double -4.716000e+03, double -4.715000e+03
%53 = fadd double %36, %52
%54 = fptosi double %53 to i32
store i32 %54, i32* %1
store i32 %50, i32* %2
%55 = tail call double @llvm.floor.f64(double %45)
%56 = fptosi double %55 to i32
store i32 %56, i32* %3
%57 = fsub double %45, %55
%58 = fmul double %57, 8.640000e+04
%59 = fdiv double %58, 3.600000e+03
%60 = fptosi double %59 to i32
%61 = mul nsw i32 %60, 3600
%62 = sitofp i32 %61 to double
%63 = fsub double %58, %62
%64 = fdiv double %63, 6.000000e+01
%65 = fptosi double %64 to i32
%66 = mul nsw i32 %65, 60
%67 = sitofp i32 %66 to double
%68 = fsub double %63, %67
store i32 %60, i32* %4
store i32 %65, i32* %5
store double %68, double* %6
ret i32 0
}