#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 */
typedef int /*<<< orphan*/ units;

/* Variables and functions */
int /*<<< orphan*/ sprintf(char *, char *, long, char const *const, char *);
int /*<<< orphan*/ strcpy(char *, char *);
int strlen(char *);
const char *time_human(size_t sec) {
  static char buf[1024] = {0};
  static const size_t lmt[] = {60, 60 * 60, 60 * 60 * 24, 60 * 60 * 24 * 30,
                               60 * 60 * 24 * 30 * 12};
  static const char *const units[] = {"second", "minute", "hour",
                                      "day",    "month",  "year"};
  unsigned i, iters = 0, idx = 0;
  for (i = 0; i < (sizeof(units) / sizeof(*units)); i++)
    if (sec < lmt[i])
      break;
  do {
    long time = (!i) ? sec % lmt[0] : sec % lmt[i] / lmt[i - 1];
    if (time || (!i && !iters)) {
      char ins[100];
      sprintf(ins, "%ld %s%s, ", time, units[i], (time == 1) ? "" : "s");
      unsigned len = strlen(ins);
      strcpy(&buf[idx], ins);
      idx += len;
      iters++;
    }
  } while (i--);
  idx = strlen(buf) - 1;
  while (buf[idx] == ' ' || buf[idx] == ',')
    buf[idx--] = '\0';
  return buf;
}


x86 assembly (clang, -O0):
<time_human>:
push   %rbp
mov    %rsp,%rbp
sub    $0xb0,%rsp
mov    %rdi,-0x8(%rbp)
movl   $0x0,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
movl   $0x0,-0xc(%rbp)
mov    -0xc(%rbp),%eax
cmp    $0x6,%rax
jae    1193 <time_human+0x63>
mov    -0x8(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    %ecx,%edx
lea    0xe8f(%rip),%rcx
cmp    (%rcx,%rdx,8),%rax
jae    1180 <time_human+0x50>
jmp    1193 <time_human+0x63>
jmp    1185 <time_human+0x55>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    1154 <time_human+0x24>
jmp    1198 <time_human+0x68>
cmpl   $0x0,-0xc(%rbp)
jne    11bd <time_human+0x8d>
mov    -0x8(%rbp),%rax
xor    %ecx,%ecx
mov    %ecx,%edx
divq   0xe4f(%rip)
mov    %rdx,-0xa0(%rbp)
jmp    11f4 <time_human+0xc4>
mov    -0x8(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    %ecx,%esi
lea    0xe33(%rip),%rcx
xor    %edx,%edx
divq   (%rcx,%rsi,8)
mov    %rdx,%rax
mov    -0xc(%rbp),%ecx
sub    $0x1,%ecx
mov    %ecx,%ecx
mov    %ecx,%esi
lea    0xe19(%rip),%rcx
xor    %edx,%edx
divq   (%rcx,%rsi,8)
mov    %rax,-0xa0(%rbp)
mov    -0xa0(%rbp),%rax
mov    %rax,-0x20(%rbp)
cmpq   $0x0,-0x20(%rbp)
jne    121e <time_human+0xee>
cmpl   $0x0,-0xc(%rbp)
jne    129f <time_human+0x16f>
cmpl   $0x0,-0x10(%rbp)
jne    129f <time_human+0x16f>
lea    -0x90(%rbp),%rdi
mov    -0x20(%rbp),%rdx
mov    -0xc(%rbp),%eax
mov    %eax,%ecx
lea    0x2bbb(%rip),%rax
mov    (%rax,%rcx,8),%rcx
mov    -0x20(%rbp),%rsi
lea    0xe11(%rip),%r8
lea    0xe09(%rip),%rax
cmp    $0x1,%rsi
cmove  %rax,%r8
lea    0xdf0(%rip),%rsi
call   1050 <sprintf@plt>
lea    -0x90(%rbp),%rdi
call   1040 <strlen@plt>
mov    %eax,-0x94(%rbp)
mov    -0x14(%rbp),%eax
lea    0x2dd5(%rip),%rdi
add    %rax,%rdi
lea    -0x90(%rbp),%rsi
call   1030 <strcpy@plt>
mov    -0x94(%rbp),%eax
add    -0x14(%rbp),%eax
mov    %eax,-0x14(%rbp)
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    12a4 <time_human+0x174>
mov    -0xc(%rbp),%eax
mov    %eax,%ecx
add    $0xffffffff,%ecx
mov    %ecx,-0xc(%rbp)
cmp    $0x0,%eax
jne    1198 <time_human+0x68>
lea    0x2d91(%rip),%rdi
call   1040 <strlen@plt>
sub    $0x1,%eax
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%eax
mov    %eax,%ecx
lea    0x2d7a(%rip),%rax
movsbl (%rax,%rcx,1),%ecx
mov    $0x1,%al
cmp    $0x20,%ecx
mov    %al,-0xa1(%rbp)
je     1307 <time_human+0x1d7>
mov    -0x14(%rbp),%eax
mov    %eax,%ecx
lea    0x2d59(%rip),%rax
movsbl (%rax,%rcx,1),%eax
cmp    $0x2c,%eax
sete   %al
mov    %al,-0xa1(%rbp)
mov    -0xa1(%rbp),%al
test   $0x1,%al
jne    131a <time_human+0x1ea>
jmp    1339 <time_human+0x209>
mov    -0x14(%rbp),%eax
mov    %eax,%ecx
add    $0xffffffff,%ecx
mov    %ecx,-0x14(%rbp)
mov    %eax,%eax
mov    %eax,%ecx
lea    0x2d20(%rip),%rax
movb   $0x0,(%rax,%rcx,1)
jmp    12ca <time_human+0x19a>
lea    0x2d10(%rip),%rax
add    $0xb0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<time_human>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xa8,%rsp
mov    %rdi,%r15
xor    %eax,%eax
mov    %rax,0x18(%rsp)
cmp    $0x3c,%rdi
jae    1155 <time_human+0x25>
xor    %esi,%esi
jmp    1193 <time_human+0x63>
mov    $0x1,%esi
cmp    $0xe10,%r15
jb     1193 <time_human+0x63>
mov    $0x2,%esi
cmp    $0x15180,%r15
jb     1193 <time_human+0x63>
mov    $0x3,%esi
cmp    $0x278d00,%r15
jb     1193 <time_human+0x63>
xor    %eax,%eax
cmp    $0x1da9c00,%r15
setae  %al
lea    (%rax,%rax,1),%rsi
add    $0x4,%rsi
movabs $0x8888888888888889,%rcx
88 88 88
mov    %r15,%rax
mul    %rcx
shr    $0x5,%rdx
imul   $0x3c,%rdx,%rax
mov    %r15,%rcx
sub    %rax,%rcx
mov    %rcx,0x38(%rsp)
lea    0xe6b(%rip),%rax
lea    (%rax,%rsi,4),%rax
mov    %rax,0x30(%rsp)
mov    $0xffffffff,%eax
add    %rsi,%rax
mov    %rax,0x28(%rsp)
lea    0xe26(%rip),%rax
lea    (%rax,%rsi,8),%rax
mov    %rax,0x20(%rsp)
mov    %rsi,%rax
neg    %rax
mov    %rax,0x10(%rsp)
not    %rsi
xor    %r14d,%r14d
xor    %r13d,%r13d
mov    %rsi,0x8(%rsp)
jmp    129c <time_human+0x16c>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
xor    %edx,%edx
div    %rcx
mov    %rax,%rdx
test   %rdx,%rdx
je     12d0 <time_human+0x1a0>
mov    0x30(%rsp),%rax
movslq (%rax,%r14,4),%rcx
lea    0xdf7(%rip),%rax
add    %rax,%rcx
cmp    $0x1,%rdx
lea    0xe2e(%rip),%r8
lea    0xe26(%rip),%rax
cmove  %rax,%r8
lea    0x40(%rsp),%rbx
mov    %rbx,%rdi
lea    0xe09(%rip),%rsi
call   1050 <sprintf@plt>
mov    %rbx,%rdi
call   1040 <strlen@plt>
mov    %eax,%ebp
mov    0x18(%rsp),%r12
mov    %r12d,%edi
lea    0x2dd9(%rip),%rax
add    %rax,%rdi
mov    %rbx,%rsi
call   1030 <strcpy@plt>
add    %ebp,%r12d
mov    %r12,0x18(%rsp)
add    $0x1,%r13d
mov    0x8(%rsp),%rsi
add    $0xffffffffffffffff,%r14
cmp    %r14,%rsi
je     1319 <time_human+0x1e9>
mov    0x38(%rsp),%rdx
cmp    %r14,0x10(%rsp)
je     1218 <time_human+0xe8>
mov    0x20(%rsp),%rax
mov    (%rax,%r14,8),%rcx
mov    %r15,%rax
or     %rcx,%rax
shr    $0x20,%rax
je     12e2 <time_human+0x1b2>
mov    %r15,%rax
xor    %edx,%edx
div    %rcx
mov    %rdx,%rax
jmp    12eb <time_human+0x1bb>
xchg   %ax,%ax
cmp    %r14,0x10(%rsp)
jne    128e <time_human+0x15e>
test   %r13d,%r13d
je     1221 <time_human+0xf1>
jmp    128e <time_human+0x15e>
mov    %r15d,%eax
xor    %edx,%edx
div    %ecx
mov    %edx,%eax
mov    0x28(%rsp),%rcx
add    %r14d,%ecx
lea    0xd06(%rip),%rdx
mov    (%rdx,%rcx,8),%rcx
mov    %rax,%rdx
or     %rcx,%rdx
shr    $0x20,%rdx
jne    1210 <time_human+0xe0>
xor    %edx,%edx
div    %ecx
mov    %eax,%edx
jmp    1218 <time_human+0xe8>
lea    0x2d30(%rip),%rbx
mov    %rbx,%rdi
call   1040 <strlen@plt>
add    $0xffffffff,%eax
jmp    1337 <time_human+0x207>
nopl   (%rax)
movb   $0x0,(%rax,%rbx,1)
add    $0xffffffff,%eax
mov    %eax,%eax
movzbl (%rax,%rbx,1),%ecx
cmp    $0x2c,%cl
je     1330 <time_human+0x200>
cmp    $0x20,%cl
je     1330 <time_human+0x200>
lea    0x2d02(%rip),%rax
add    $0xa8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@time_human.buf = internal global [1024 x i8] zeroinitializer
@time_human.lmt = internal constant [5 x i64] [i64 60, i64 3600, i64 86400, i64 2592000, i64 31104000]
@time_human.units = internal constant [6 x i8*] [i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i32 0, i32 0)]
@.str = [7 x i8] c"second\00"
@.str.1 = [7 x i8] c"minute\00"
@.str.2 = [5 x i8] c"hour\00"
@.str.3 = [4 x i8] c"day\00"
@.str.4 = [6 x i8] c"month\00"
@.str.5 = [5 x i8] c"year\00"
@.str.6 = [11 x i8] c"%ld %s%s, \00"
@.str.7 = [1 x i8] zeroinitializer
@.str.8 = [2 x i8] c"s\00"
define i8* @time_human(i64 %0) {
%2 = alloca i64
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i64
%7 = alloca [100 x i8]
%8 = alloca i32
store i64 %0, i64* %2
store i32 0, i32* %4
store i32 0, i32* %5
store i32 0, i32* %3
br label %9
9: ; preds = %22, %1
%10 = load i32, i32* %3
%11 = zext i32 %10 to i64
%12 = icmp ult i64 %11, 6
br i1 %12, label %13, label %25
13: ; preds = %9
%14 = load i64, i64* %2
%15 = load i32, i32* %3
%16 = zext i32 %15 to i64
%17 = getelementptr inbounds [5 x i64], [5 x i64]* @time_human.lmt, i64 0, i64 %16
%18 = load i64, i64* %17
%19 = icmp ult i64 %14, %18
br i1 %19, label %20, label %21
20: ; preds = %13
br label %25
21: ; preds = %13
br label %22
22: ; preds = %21
%23 = load i32, i32* %3
%24 = add i32 %23, 1
store i32 %24, i32* %3
br label %9
25: ; preds = %20, %9
br label %26
26: ; preds = %81, %25
%27 = load i32, i32* %3
%28 = icmp ne i32 %27, 0
br i1 %28, label %33, label %29
29: ; preds = %26
%30 = load i64, i64* %2
%31 = load i64, i64* getelementptr inbounds ([5 x i64], [5 x i64]* @time_human.lmt, i64 0, i64 0)
%32 = urem i64 %30, %31
br label %46
33: ; preds = %26
%34 = load i64, i64* %2
%35 = load i32, i32* %3
%36 = zext i32 %35 to i64
%37 = getelementptr inbounds [5 x i64], [5 x i64]* @time_human.lmt, i64 0, i64 %36
%38 = load i64, i64* %37
%39 = urem i64 %34, %38
%40 = load i32, i32* %3
%41 = sub i32 %40, 1
%42 = zext i32 %41 to i64
%43 = getelementptr inbounds [5 x i64], [5 x i64]* @time_human.lmt, i64 0, i64 %42
%44 = load i64, i64* %43
%45 = udiv i64 %39, %44
br label %46
46: ; preds = %33, %29
%47 = phi i64 [ %32, %29 ], [ %45, %33 ]
store i64 %47, i64* %6
%48 = load i64, i64* %6
%49 = icmp ne i64 %48, 0
br i1 %49, label %56, label %50
50: ; preds = %46
%51 = load i32, i32* %3
%52 = icmp ne i32 %51, 0
br i1 %52, label %80, label %53
53: ; preds = %50
%54 = load i32, i32* %4
%55 = icmp ne i32 %54, 0
br i1 %55, label %80, label %56
56: ; preds = %53, %46
%57 = getelementptr inbounds [100 x i8], [100 x i8]* %7, i64 0, i64 0
%58 = load i64, i64* %6
%59 = load i32, i32* %3
%60 = zext i32 %59 to i64
%61 = getelementptr inbounds [6 x i8*], [6 x i8*]* @time_human.units, i64 0, i64 %60
%62 = load i8*, i8** %61
%63 = load i64, i64* %6
%64 = icmp eq i64 %63, 1
%65 = zext i1 %64 to i64
%66 = select i1 %64, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0)
%67 = call i32 @sprintf(i8* %57, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.6, i64 0, i64 0), i64 %58, i8* %62, i8* %66)
%68 = getelementptr inbounds [100 x i8], [100 x i8]* %7, i64 0, i64 0
%69 = call i32 @strlen(i8* %68)
store i32 %69, i32* %8
%70 = load i32, i32* %5
%71 = zext i32 %70 to i64
%72 = getelementptr inbounds [1024 x i8], [1024 x i8]* @time_human.buf, i64 0, i64 %71
%73 = getelementptr inbounds [100 x i8], [100 x i8]* %7, i64 0, i64 0
%74 = call i32 @strcpy(i8* %72, i8* %73)
%75 = load i32, i32* %8
%76 = load i32, i32* %5
%77 = add i32 %76, %75
store i32 %77, i32* %5
%78 = load i32, i32* %4
%79 = add i32 %78, 1
store i32 %79, i32* %4
br label %80
80: ; preds = %56, %53, %50
br label %81
81: ; preds = %80
%82 = load i32, i32* %3
%83 = add i32 %82, -1
store i32 %83, i32* %3
%84 = icmp ne i32 %82, 0
br i1 %84, label %26, label %85
85: ; preds = %81
%86 = call i32 @strlen(i8* getelementptr inbounds ([1024 x i8], [1024 x i8]* @time_human.buf, i64 0, i64 0))
%87 = sub nsw i32 %86, 1
store i32 %87, i32* %5
br label %88
88: ; preds = %104, %85
%89 = load i32, i32* %5
%90 = zext i32 %89 to i64
%91 = getelementptr inbounds [1024 x i8], [1024 x i8]* @time_human.buf, i64 0, i64 %90
%92 = load i8, i8* %91
%93 = sext i8 %92 to i32
%94 = icmp eq i32 %93, 32
br i1 %94, label %102, label %95
95: ; preds = %88
%96 = load i32, i32* %5
%97 = zext i32 %96 to i64
%98 = getelementptr inbounds [1024 x i8], [1024 x i8]* @time_human.buf, i64 0, i64 %97
%99 = load i8, i8* %98
%100 = sext i8 %99 to i32
%101 = icmp eq i32 %100, 44
br label %102
102: ; preds = %95, %88
%103 = phi i1 [ true, %88 ], [ %101, %95 ]
br i1 %103, label %104, label %109
104: ; preds = %102
%105 = load i32, i32* %5
%106 = add i32 %105, -1
store i32 %106, i32* %5
%107 = zext i32 %105 to i64
%108 = getelementptr inbounds [1024 x i8], [1024 x i8]* @time_human.buf, i64 0, i64 %107
store i8 0, i8* %108
br label %88
109: ; preds = %102
ret i8* getelementptr inbounds ([1024 x i8], [1024 x i8]* @time_human.buf, i64 0, i64 0)
}

LLVM IR (-O2):
@time_human.buf = internal global [1024 x i8] zeroinitializer
@time_human.lmt = internal unnamed_addr constant [5 x i64] [i64 60, i64 3600, i64 86400, i64 2592000, i64 31104000]
@reltable.time_human = internal unnamed_addr constant [6 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([7 x i8]* @.str to i64), i64 ptrtoint ([6 x i32]* @reltable.time_human to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([7 x i8]* @.str.1 to i64), i64 ptrtoint ([6 x i32]* @reltable.time_human to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.2 to i64), i64 ptrtoint ([6 x i32]* @reltable.time_human to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.3 to i64), i64 ptrtoint ([6 x i32]* @reltable.time_human to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.4 to i64), i64 ptrtoint ([6 x i32]* @reltable.time_human to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.5 to i64), i64 ptrtoint ([6 x i32]* @reltable.time_human to i64)) to i32)]
@.str = [7 x i8] c"second\00"
@.str.1 = [7 x i8] c"minute\00"
@.str.2 = [5 x i8] c"hour\00"
@.str.3 = [4 x i8] c"day\00"
@.str.4 = [6 x i8] c"month\00"
@.str.5 = [5 x i8] c"year\00"
@.str.6 = [11 x i8] c"%ld %s%s, \00"
@.str.7 = [1 x i8] zeroinitializer
@.str.8 = [2 x i8] c"s\00"
define i8* @time_human(i64 %0) {
%2 = alloca [100 x i8]
%3 = icmp ult i64 %0, 60
br i1 %3, label %13, label %4
4: ; preds = %1
%5 = icmp ult i64 %0, 3600
br i1 %5, label %13, label %6
6: ; preds = %4
%7 = icmp ult i64 %0, 86400
br i1 %7, label %13, label %8
8: ; preds = %6
%9 = icmp ult i64 %0, 2592000
br i1 %9, label %13, label %10
10: ; preds = %8
%11 = icmp ult i64 %0, 31104000
%12 = select i1 %11, i64 4, i64 6
br label %13
13: ; preds = %10, %8, %6, %4, %1
%14 = phi i64 [ 0, %1 ], [ 1, %4 ], [ 2, %6 ], [ 3, %8 ], [ %12, %10 ]
%15 = urem i64 %0, 60
%16 = getelementptr inbounds [100 x i8], [100 x i8]* %2, i64 0, i64 0
br label %17
17: ; preds = %49, %13
%18 = phi i64 [ %52, %49 ], [ %14, %13 ]
%19 = phi i32 [ %50, %49 ], [ 0, %13 ]
%20 = phi i32 [ %51, %49 ], [ 0, %13 ]
%21 = icmp ne i64 %18, 0
br i1 %21, label %22, label %31
22: ; preds = %17
%23 = getelementptr inbounds [5 x i64], [5 x i64]* @time_human.lmt, i64 0, i64 %18
%24 = load i64, i64* %23
%25 = urem i64 %0, %24
%26 = add i64 %18, 4294967295
%27 = and i64 %26, 4294967295
%28 = getelementptr inbounds [5 x i64], [5 x i64]* @time_human.lmt, i64 0, i64 %27
%29 = load i64, i64* %28
%30 = udiv i64 %25, %29
br label %31
31: ; preds = %17, %22
%32 = phi i64 [ %30, %22 ], [ %15, %17 ]
%33 = icmp eq i64 %32, 0
br i1 %33, label %34, label %37
34: ; preds = %31
%35 = icmp ne i32 %20, 0
%36 = select i1 %21, i1 true, i1 %35
br i1 %36, label %49, label %37
37: ; preds = %34, %31
%38 = shl i64 %18, 2
%39 = call i8* @llvm.load.relative.i64(i8* bitcast ([6 x i32]* @reltable.time_human to i8*), i64 %38)
%40 = icmp eq i64 %32, 1
%41 = select i1 %40, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0)
%42 = call i32 @sprintf(i8* %16, i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.6, i64 0, i64 0), i64 %32, i8* %39, i8* %41)
%43 = call i32 @strlen(i8* %16)
%44 = zext i32 %19 to i64
%45 = getelementptr inbounds [1024 x i8], [1024 x i8]* @time_human.buf, i64 0, i64 %44
%46 = call i32 @strcpy(i8* %45, i8* %16)
%47 = add i32 %43, %19
%48 = add i32 %20, 1
br label %49
49: ; preds = %37, %34
%50 = phi i32 [ %47, %37 ], [ %19, %34 ]
%51 = phi i32 [ %48, %37 ], [ %20, %34 ]
%52 = add nsw i64 %18, -1
br i1 %21, label %17, label %53
53: ; preds = %49
%54 = call i32 @strlen(i8* getelementptr inbounds ([1024 x i8], [1024 x i8]* @time_human.buf, i64 0, i64 0))
br label %55
55: ; preds = %61, %53
%56 = phi i32 [ %54, %53 ], [ %57, %61 ]
%57 = add i32 %56, -1
%58 = zext i32 %57 to i64
%59 = getelementptr inbounds [1024 x i8], [1024 x i8]* @time_human.buf, i64 0, i64 %58
%60 = load i8, i8* %59
switch i8 %60, label %62 [
i8 32, label %61
i8 44, label %61
]
61: ; preds = %55, %55
store i8 0, i8* %59
br label %55
62: ; preds = %55
ret i8* getelementptr inbounds ([1024 x i8], [1024 x i8]* @time_human.buf, i64 0, i64 0)
}