#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 */
char *strConcat(char *, char *, ...);
char *expandSeconds(char *c, int seconds) {
  int w = 0;
  int d = 0;
  int h = 0;
  int m = 0;
  int s = 0;
  c[0] = '\0';
  w = (seconds / 604800);
  if (w != 0) {
    if (1 == w) {
      c = strConcat(c, "%s%i week ", c, w);
    } else {
      c = strConcat(c, "%s%i weeks ", c, w);
    }
  }
  d = ((seconds % 604800) / 86400);
  if (d != 0) {
    if (1 == d) {
      c = strConcat(c, "%s%i day ", c, d);
    } else {
      c = strConcat(c, "%s%i days ", c, d);
    }
  }
  h = ((seconds % 86400) / 3600);
  if (h != 0) {
    if (1 == h) {
      c = strConcat(c, "%s%i hour ", c, h);
    } else {
      c = strConcat(c, "%s%i hours ", c, h);
    }
  }
  m = ((seconds % 3600) / 60);
  if (m != 0) {
    if (1 == m) {
      c = strConcat(c, "%s%i min ", c, m);
    } else {
      c = strConcat(c, "%s%i mins ", c, m);
    }
  }
  s = (seconds % 60);
  if (s != 0) {
    if (1 == s) {
      c = strConcat(c, "%s%i sec ", c, s);
    } else {
      c = strConcat(c, "%s%i secs ", c, s);
    }
  }
  if (0 == seconds)
    c = strConcat(c, "0 secs ");
  return (c);
}


x86 assembly (clang, -O0):
<expandSeconds>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
movl   $0x0,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
movl   $0x0,-0x18(%rbp)
movl   $0x0,-0x1c(%rbp)
movl   $0x0,-0x20(%rbp)
mov    -0x8(%rbp),%rax
movb   $0x0,(%rax)
mov    -0xc(%rbp),%eax
mov    $0x93a80,%ecx
cltd
idiv   %ecx
mov    %eax,-0x10(%rbp)
cmpl   $0x0,-0x10(%rbp)
je     11b3 <expandSeconds+0xa3>
mov    $0x1,%eax
cmp    -0x10(%rbp),%eax
jne    1191 <expandSeconds+0x81>
mov    -0x8(%rbp),%rdi
mov    -0x8(%rbp),%rdx
mov    -0x10(%rbp),%ecx
lea    0xe7f(%rip),%rsi
mov    $0x0,%al
call   1030 <strConcat@plt>
mov    %rax,-0x8(%rbp)
jmp    11ae <expandSeconds+0x9e>
mov    -0x8(%rbp),%rdi
mov    -0x8(%rbp),%rdx
mov    -0x10(%rbp),%ecx
lea    0xe68(%rip),%rsi
mov    $0x0,%al
call   1030 <strConcat@plt>
mov    %rax,-0x8(%rbp)
jmp    11b3 <expandSeconds+0xa3>
mov    -0xc(%rbp),%eax
mov    $0x93a80,%ecx
cltd
idiv   %ecx
mov    %edx,%eax
mov    $0x15180,%ecx
cltd
idiv   %ecx
mov    %eax,-0x14(%rbp)
cmpl   $0x0,-0x14(%rbp)
je     1227 <expandSeconds+0x117>
mov    $0x1,%eax
cmp    -0x14(%rbp),%eax
jne    1205 <expandSeconds+0xf5>
mov    -0x8(%rbp),%rdi
mov    -0x8(%rbp),%rdx
mov    -0x14(%rbp),%ecx
lea    0xe22(%rip),%rsi
mov    $0x0,%al
call   1030 <strConcat@plt>
mov    %rax,-0x8(%rbp)
jmp    1222 <expandSeconds+0x112>
mov    -0x8(%rbp),%rdi
mov    -0x8(%rbp),%rdx
mov    -0x14(%rbp),%ecx
lea    0xe0a(%rip),%rsi
mov    $0x0,%al
call   1030 <strConcat@plt>
mov    %rax,-0x8(%rbp)
jmp    1227 <expandSeconds+0x117>
mov    -0xc(%rbp),%eax
mov    $0x15180,%ecx
cltd
idiv   %ecx
mov    %edx,%eax
mov    $0xe10,%ecx
cltd
idiv   %ecx
mov    %eax,-0x18(%rbp)
cmpl   $0x0,-0x18(%rbp)
je     129b <expandSeconds+0x18b>
mov    $0x1,%eax
cmp    -0x18(%rbp),%eax
jne    1279 <expandSeconds+0x169>
mov    -0x8(%rbp),%rdi
mov    -0x8(%rbp),%rdx
mov    -0x18(%rbp),%ecx
lea    0xdc3(%rip),%rsi
mov    $0x0,%al
call   1030 <strConcat@plt>
mov    %rax,-0x8(%rbp)
jmp    1296 <expandSeconds+0x186>
mov    -0x8(%rbp),%rdi
mov    -0x8(%rbp),%rdx
mov    -0x18(%rbp),%ecx
lea    0xdac(%rip),%rsi
mov    $0x0,%al
call   1030 <strConcat@plt>
mov    %rax,-0x8(%rbp)
jmp    129b <expandSeconds+0x18b>
mov    -0xc(%rbp),%eax
mov    $0xe10,%ecx
cltd
idiv   %ecx
mov    %edx,%eax
mov    $0x3c,%ecx
cltd
idiv   %ecx
mov    %eax,-0x1c(%rbp)
cmpl   $0x0,-0x1c(%rbp)
je     130f <expandSeconds+0x1ff>
mov    $0x1,%eax
cmp    -0x1c(%rbp),%eax
jne    12ed <expandSeconds+0x1dd>
mov    -0x8(%rbp),%rdi
mov    -0x8(%rbp),%rdx
mov    -0x1c(%rbp),%ecx
lea    0xd66(%rip),%rsi
mov    $0x0,%al
call   1030 <strConcat@plt>
mov    %rax,-0x8(%rbp)
jmp    130a <expandSeconds+0x1fa>
mov    -0x8(%rbp),%rdi
mov    -0x8(%rbp),%rdx
mov    -0x1c(%rbp),%ecx
lea    0xd4e(%rip),%rsi
mov    $0x0,%al
call   1030 <strConcat@plt>
mov    %rax,-0x8(%rbp)
jmp    130f <expandSeconds+0x1ff>
mov    -0xc(%rbp),%eax
mov    $0x3c,%ecx
cltd
idiv   %ecx
mov    %edx,-0x20(%rbp)
cmpl   $0x0,-0x20(%rbp)
je     1379 <expandSeconds+0x269>
mov    $0x1,%eax
cmp    -0x20(%rbp),%eax
jne    1357 <expandSeconds+0x247>
mov    -0x8(%rbp),%rdi
mov    -0x8(%rbp),%rdx
mov    -0x20(%rbp),%ecx
lea    0xd11(%rip),%rsi
mov    $0x0,%al
call   1030 <strConcat@plt>
mov    %rax,-0x8(%rbp)
jmp    1374 <expandSeconds+0x264>
mov    -0x8(%rbp),%rdi
mov    -0x8(%rbp),%rdx
mov    -0x20(%rbp),%ecx
lea    0xcf9(%rip),%rsi
mov    $0x0,%al
call   1030 <strConcat@plt>
mov    %rax,-0x8(%rbp)
jmp    1379 <expandSeconds+0x269>
xor    %eax,%eax
cmp    -0xc(%rbp),%eax
jne    139a <expandSeconds+0x28a>
mov    -0x8(%rbp),%rdi
lea    0xcde(%rip),%rsi
mov    $0x0,%al
call   1030 <strConcat@plt>
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<expandSeconds>:
push   %r15
push   %r14
push   %rbx
mov    %esi,%r15d
movb   $0x0,(%rdi)
movslq %esi,%r14
imul   $0x6ef5de4d,%r14,%rcx
mov    %rcx,%rax
shr    $0x3f,%rax
sar    $0x32,%rcx
add    %eax,%ecx
imul   $0x93a80,%ecx,%eax
mov    %r14d,%ebx
sub    %eax,%ebx
lea    0x93a7f(%r14),%eax
cmp    $0x1274ff,%eax
jb     117e <expandSeconds+0x6e>
lea    -0x93a80(%r15),%eax
cmp    $0x93a7f,%eax
ja     116a <expandSeconds+0x5a>
lea    0xea0(%rip),%rsi
mov    %rdi,%rdx
mov    $0x1,%ecx
jmp    1174 <expandSeconds+0x64>
lea    0xe9a(%rip),%rsi
mov    %rdi,%rdx
xor    %eax,%eax
call   1030 <strConcat@plt>
mov    %rax,%rdi
lea    0x1517f(%rbx),%eax
cmp    $0x2a2ff,%eax
jb     11d7 <expandSeconds+0xc7>
lea    -0x15180(%rbx),%eax
cmp    $0x1517f,%eax
ja     11a9 <expandSeconds+0x99>
lea    0xe78(%rip),%rsi
mov    %rdi,%rdx
mov    $0x1,%ecx
jmp    11cd <expandSeconds+0xbd>
movslq %ebx,%rax
imul   $0xffffffffc22e4507,%rax,%rcx
shr    $0x20,%rcx
add    %ebx,%ecx
mov    %ecx,%eax
shr    $0x1f,%eax
sar    $0x10,%ecx
add    %eax,%ecx
lea    0xe57(%rip),%rsi
mov    %rdi,%rdx
xor    %eax,%eax
call   1030 <strConcat@plt>
mov    %rax,%rdi
imul   $0xffffffffc22e4507,%r14,%rax
shr    $0x20,%rax
add    %r15d,%eax
mov    %eax,%ecx
shr    $0x1f,%ecx
sar    $0x10,%eax
add    %ecx,%eax
imul   $0x15180,%eax,%ecx
mov    %ecx,%eax
neg    %eax
add    %r15d,%eax
add    $0xe0f,%eax
cmp    $0x1c1f,%eax
jb     125a <expandSeconds+0x14a>
mov    %r15d,%eax
sub    %ecx,%eax
lea    -0xe10(%rax),%ecx
cmp    $0xe0f,%ecx
ja     122c <expandSeconds+0x11c>
lea    0xe0a(%rip),%rsi
mov    %rdi,%rdx
mov    $0x1,%ecx
jmp    1250 <expandSeconds+0x140>
movslq %eax,%rcx
imul   $0xffffffff91a2b3c5,%rcx,%rcx
shr    $0x20,%rcx
add    %eax,%ecx
mov    %ecx,%eax
shr    $0x1f,%eax
sar    $0xb,%ecx
add    %eax,%ecx
lea    0xdea(%rip),%rsi
mov    %rdi,%rdx
xor    %eax,%eax
call   1030 <strConcat@plt>
mov    %rax,%rdi
imul   $0xffffffff91a2b3c5,%r14,%rax
shr    $0x20,%rax
add    %r15d,%eax
mov    %eax,%ecx
shr    $0x1f,%ecx
sar    $0xb,%eax
add    %ecx,%eax
imul   $0xe10,%eax,%ecx
mov    %ecx,%eax
neg    %eax
add    %r15d,%eax
add    $0x3b,%eax
cmp    $0x77,%eax
jb     12d8 <expandSeconds+0x1c8>
mov    %r15d,%eax
sub    %ecx,%eax
lea    -0x3c(%rax),%ecx
cmp    $0x3b,%ecx
ja     12a5 <expandSeconds+0x195>
lea    0xda8(%rip),%rsi
mov    %rdi,%rdx
mov    $0x1,%ecx
jmp    12ce <expandSeconds+0x1be>
movswl %ax,%ecx
imul   $0xffff8889,%ecx,%ecx
shr    $0x10,%ecx
add    %eax,%ecx
movzwl %cx,%eax
movswl %ax,%ecx
shr    $0xf,%eax
sar    $0x5,%ecx
add    %eax,%ecx
movswl %cx,%ecx
lea    0xd82(%rip),%rsi
mov    %rdi,%rdx
xor    %eax,%eax
call   1030 <strConcat@plt>
mov    %rax,%rdi
imul   $0xffffffff88888889,%r14,%rax
shr    $0x20,%rax
add    %r15d,%eax
mov    %eax,%ecx
shr    $0x1f,%ecx
sar    $0x5,%eax
add    %ecx,%eax
imul   $0x3c,%eax,%eax
mov    %r15d,%ecx
sub    %eax,%ecx
je     1324 <expandSeconds+0x214>
cmp    $0x1,%ecx
jne    1310 <expandSeconds+0x200>
lea    0xd52(%rip),%rsi
mov    %rdi,%rdx
mov    $0x1,%ecx
jmp    131a <expandSeconds+0x20a>
lea    0xd4b(%rip),%rsi
mov    %rdi,%rdx
xor    %eax,%eax
call   1030 <strConcat@plt>
mov    %rax,%rdi
test   %r15d,%r15d
je     1332 <expandSeconds+0x222>
mov    %rdi,%rax
pop    %rbx
pop    %r14
pop    %r15
ret
lea    0xd34(%rip),%rsi
xor    %eax,%eax
pop    %rbx
pop    %r14
pop    %r15
jmp    1030 <strConcat@plt>

LLVM IR (-O0):
@.str = [11 x i8] c"%s%i week \00"
@.str.1 = [12 x i8] c"%s%i weeks \00"
@.str.2 = [10 x i8] c"%s%i day \00"
@.str.3 = [11 x i8] c"%s%i days \00"
@.str.4 = [11 x i8] c"%s%i hour \00"
@.str.5 = [12 x i8] c"%s%i hours \00"
@.str.6 = [10 x i8] c"%s%i min \00"
@.str.7 = [11 x i8] c"%s%i mins \00"
@.str.8 = [10 x i8] c"%s%i sec \00"
@.str.9 = [11 x i8] c"%s%i secs \00"
@.str.10 = [8 x i8] c"0 secs \00"
define i8* @expandSeconds(i8* %0, i32 %1) {
%3 = alloca i8*
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
store i8* %0, i8** %3
store i32 %1, i32* %4
store i32 0, i32* %5
store i32 0, i32* %6
store i32 0, i32* %7
store i32 0, i32* %8
store i32 0, i32* %9
%10 = load i8*, i8** %3
%11 = getelementptr inbounds i8, i8* %10, i64 0
store i8 0, i8* %11
%12 = load i32, i32* %4
%13 = sdiv i32 %12, 604800
store i32 %13, i32* %5
%14 = load i32, i32* %5
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %30
16: ; preds = %2
%17 = load i32, i32* %5
%18 = icmp eq i32 1, %17
br i1 %18, label %19, label %24
19: ; preds = %16
%20 = load i8*, i8** %3
%21 = load i8*, i8** %3
%22 = load i32, i32* %5
%23 = call i8* (i8*, i8*, ...) @strConcat(i8* %20, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %21, i32 %22)
store i8* %23, i8** %3
br label %29
24: ; preds = %16
%25 = load i8*, i8** %3
%26 = load i8*, i8** %3
%27 = load i32, i32* %5
%28 = call i8* (i8*, i8*, ...) @strConcat(i8* %25, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i8* %26, i32 %27)
store i8* %28, i8** %3
br label %29
29: ; preds = %24, %19
br label %30
30: ; preds = %29, %2
%31 = load i32, i32* %4
%32 = srem i32 %31, 604800
%33 = sdiv i32 %32, 86400
store i32 %33, i32* %6
%34 = load i32, i32* %6
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %50
36: ; preds = %30
%37 = load i32, i32* %6
%38 = icmp eq i32 1, %37
br i1 %38, label %39, label %44
39: ; preds = %36
%40 = load i8*, i8** %3
%41 = load i8*, i8** %3
%42 = load i32, i32* %6
%43 = call i8* (i8*, i8*, ...) @strConcat(i8* %40, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* %41, i32 %42)
store i8* %43, i8** %3
br label %49
44: ; preds = %36
%45 = load i8*, i8** %3
%46 = load i8*, i8** %3
%47 = load i32, i32* %6
%48 = call i8* (i8*, i8*, ...) @strConcat(i8* %45, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i8* %46, i32 %47)
store i8* %48, i8** %3
br label %49
49: ; preds = %44, %39
br label %50
50: ; preds = %49, %30
%51 = load i32, i32* %4
%52 = srem i32 %51, 86400
%53 = sdiv i32 %52, 3600
store i32 %53, i32* %7
%54 = load i32, i32* %7
%55 = icmp ne i32 %54, 0
br i1 %55, label %56, label %70
56: ; preds = %50
%57 = load i32, i32* %7
%58 = icmp eq i32 1, %57
br i1 %58, label %59, label %64
59: ; preds = %56
%60 = load i8*, i8** %3
%61 = load i8*, i8** %3
%62 = load i32, i32* %7
%63 = call i8* (i8*, i8*, ...) @strConcat(i8* %60, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i8* %61, i32 %62)
store i8* %63, i8** %3
br label %69
64: ; preds = %56
%65 = load i8*, i8** %3
%66 = load i8*, i8** %3
%67 = load i32, i32* %7
%68 = call i8* (i8*, i8*, ...) @strConcat(i8* %65, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0), i8* %66, i32 %67)
store i8* %68, i8** %3
br label %69
69: ; preds = %64, %59
br label %70
70: ; preds = %69, %50
%71 = load i32, i32* %4
%72 = srem i32 %71, 3600
%73 = sdiv i32 %72, 60
store i32 %73, i32* %8
%74 = load i32, i32* %8
%75 = icmp ne i32 %74, 0
br i1 %75, label %76, label %90
76: ; preds = %70
%77 = load i32, i32* %8
%78 = icmp eq i32 1, %77
br i1 %78, label %79, label %84
79: ; preds = %76
%80 = load i8*, i8** %3
%81 = load i8*, i8** %3
%82 = load i32, i32* %8
%83 = call i8* (i8*, i8*, ...) @strConcat(i8* %80, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0), i8* %81, i32 %82)
store i8* %83, i8** %3
br label %89
84: ; preds = %76
%85 = load i8*, i8** %3
%86 = load i8*, i8** %3
%87 = load i32, i32* %8
%88 = call i8* (i8*, i8*, ...) @strConcat(i8* %85, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0), i8* %86, i32 %87)
store i8* %88, i8** %3
br label %89
89: ; preds = %84, %79
br label %90
90: ; preds = %89, %70
%91 = load i32, i32* %4
%92 = srem i32 %91, 60
store i32 %92, i32* %9
%93 = load i32, i32* %9
%94 = icmp ne i32 %93, 0
br i1 %94, label %95, label %109
95: ; preds = %90
%96 = load i32, i32* %9
%97 = icmp eq i32 1, %96
br i1 %97, label %98, label %103
98: ; preds = %95
%99 = load i8*, i8** %3
%100 = load i8*, i8** %3
%101 = load i32, i32* %9
%102 = call i8* (i8*, i8*, ...) @strConcat(i8* %99, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.8, i64 0, i64 0), i8* %100, i32 %101)
store i8* %102, i8** %3
br label %108
103: ; preds = %95
%104 = load i8*, i8** %3
%105 = load i8*, i8** %3
%106 = load i32, i32* %9
%107 = call i8* (i8*, i8*, ...) @strConcat(i8* %104, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.9, i64 0, i64 0), i8* %105, i32 %106)
store i8* %107, i8** %3
br label %108
108: ; preds = %103, %98
br label %109
109: ; preds = %108, %90
%110 = load i32, i32* %4
%111 = icmp eq i32 0, %110
br i1 %111, label %112, label %115
112: ; preds = %109
%113 = load i8*, i8** %3
%114 = call i8* (i8*, i8*, ...) @strConcat(i8* %113, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i64 0, i64 0))
store i8* %114, i8** %3
br label %115
115: ; preds = %112, %109
%116 = load i8*, i8** %3
ret i8* %116
}

LLVM IR (-O2):
@.str = [11 x i8] c"%s%i week \00"
@.str.1 = [12 x i8] c"%s%i weeks \00"
@.str.2 = [10 x i8] c"%s%i day \00"
@.str.3 = [11 x i8] c"%s%i days \00"
@.str.4 = [11 x i8] c"%s%i hour \00"
@.str.5 = [12 x i8] c"%s%i hours \00"
@.str.6 = [10 x i8] c"%s%i min \00"
@.str.7 = [11 x i8] c"%s%i mins \00"
@.str.8 = [10 x i8] c"%s%i sec \00"
@.str.9 = [11 x i8] c"%s%i secs \00"
@.str.10 = [8 x i8] c"0 secs \00"
define i8* @expandSeconds(i8* %0, i32 %1) {
store i8 0, i8* %0
%3 = sdiv i32 %1, 604800
%4 = srem i32 %1, 604800
%5 = add i32 %1, 604799
%6 = icmp ult i32 %5, 1209599
br i1 %6, label %14, label %7
7: ; preds = %2
%8 = add i32 %1, -604800
%9 = icmp ult i32 %8, 604800
br i1 %9, label %10, label %12
10: ; preds = %7
%11 = tail call i8* (i8*, i8*, ...) @strConcat(i8* %0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* %0, i32 1)
br label %14
12: ; preds = %7
%13 = tail call i8* (i8*, i8*, ...) @strConcat(i8* %0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i8* %0, i32 %3)
br label %14
14: ; preds = %10, %12, %2
%15 = phi i8* [ %11, %10 ], [ %13, %12 ], [ %0, %2 ]
%16 = sdiv i32 %4, 86400
%17 = add nsw i32 %4, 86399
%18 = icmp ult i32 %17, 172799
br i1 %18, label %26, label %19
19: ; preds = %14
%20 = add nsw i32 %4, -86400
%21 = icmp ult i32 %20, 86400
br i1 %21, label %22, label %24
22: ; preds = %19
%23 = tail call i8* (i8*, i8*, ...) @strConcat(i8* %15, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* %15, i32 1)
br label %26
24: ; preds = %19
%25 = tail call i8* (i8*, i8*, ...) @strConcat(i8* %15, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i8* %15, i32 %16)
br label %26
26: ; preds = %22, %24, %14
%27 = phi i8* [ %23, %22 ], [ %25, %24 ], [ %15, %14 ]
%28 = srem i32 %1, 86400
%29 = sdiv i32 %28, 3600
%30 = add nsw i32 %28, 3599
%31 = icmp ult i32 %30, 7199
br i1 %31, label %39, label %32
32: ; preds = %26
%33 = add nsw i32 %28, -3600
%34 = icmp ult i32 %33, 3600
br i1 %34, label %35, label %37
35: ; preds = %32
%36 = tail call i8* (i8*, i8*, ...) @strConcat(i8* %27, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i8* %27, i32 1)
br label %39
37: ; preds = %32
%38 = tail call i8* (i8*, i8*, ...) @strConcat(i8* %27, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0), i8* %27, i32 %29)
br label %39
39: ; preds = %35, %37, %26
%40 = phi i8* [ %36, %35 ], [ %38, %37 ], [ %27, %26 ]
%41 = srem i32 %1, 3600
%42 = trunc i32 %41 to i16
%43 = sdiv i16 %42, 60
%44 = sext i16 %43 to i32
%45 = add nsw i32 %41, 59
%46 = icmp ult i32 %45, 119
br i1 %46, label %54, label %47
47: ; preds = %39
%48 = add nsw i32 %41, -60
%49 = icmp ult i32 %48, 60
br i1 %49, label %50, label %52
50: ; preds = %47
%51 = tail call i8* (i8*, i8*, ...) @strConcat(i8* %40, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0), i8* %40, i32 1)
br label %54
52: ; preds = %47
%53 = tail call i8* (i8*, i8*, ...) @strConcat(i8* %40, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0), i8* %40, i32 %44)
br label %54
54: ; preds = %50, %52, %39
%55 = phi i8* [ %51, %50 ], [ %53, %52 ], [ %40, %39 ]
%56 = srem i32 %1, 60
switch i32 %56, label %59 [
i32 0, label %61
i32 1, label %57
]
57: ; preds = %54
%58 = tail call i8* (i8*, i8*, ...) @strConcat(i8* %55, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.8, i64 0, i64 0), i8* %55, i32 1)
br label %61
59: ; preds = %54
%60 = tail call i8* (i8*, i8*, ...) @strConcat(i8* %55, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.9, i64 0, i64 0), i8* %55, i32 %56)
br label %61
61: ; preds = %54, %57, %59
%62 = phi i8* [ %58, %57 ], [ %60, %59 ], [ %55, %54 ]
%63 = icmp eq i32 %1, 0
br i1 %63, label %64, label %66
64: ; preds = %61
%65 = tail call i8* (i8*, i8*, ...) @strConcat(i8* %62, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i64 0, i64 0))
br label %66
66: ; preds = %64, %61
%67 = phi i8* [ %65, %64 ], [ %62, %61 ]
ret i8* %67
}