#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 getchar();
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, int *, int *);
char toupper(char);
int main(void) {
  int time_closest, a = 480, b = 585, c = 689, d = 767, e = 840;
  int time_arrival, a1 = 616, b1 = 712, c1 = 811, d1 = 900, e1 = 968;
  int hours, minutes, time, ch;
  printf("Enter a 12-hour time: ");
  scanf("%d:%d", &hours, &minutes);
  while (getchar() == ' ')
    ;
  while ((ch = getchar()) != '\n') {
    switch (toupper(ch)) {
    case 'P':
      if (toupper(getchar()) == 'M' || getchar() == '\n')
        time = 60 * hours + minutes + 12;
      break;
    case 'A':
      if (toupper(getchar()) == 'M' || getchar() == '\n')
        time = 60 * hours + minutes;
      break;
    default:
      break;
    }
  }
  if (time < a || time < (a + b) / 2) {
    time_closest = a;
    time_arrival = a1;
  } else if (time < (b + c) / 2) {
    time_closest = b;
    time_arrival = b1;
  } else if (time < (c + d) / 2) {
    time_closest = c;
    time_arrival = c1;
  } else if (time < (d + e) / 2) {
    time_closest = d;
    time_arrival = d1;
  } else {
    time_closest = e;
    time_arrival = e1;
  }
  printf("Closest departure time is %.2d:%.2d ", time_closest / 60,
         time_closest % 60);
  if (time_closest / 60 < 12)
    printf("a.m.");
  else
    printf("p.m");
  printf(", arriving at %.2d:%.2d ", e1 / 60, e1 % 60);
  if (time_arrival / 60 < 12)
    printf("a.m.\n");
  else
    printf("p.m\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x1e0,-0xc(%rbp)
movl   $0x249,-0x10(%rbp)
movl   $0x2b1,-0x14(%rbp)
movl   $0x2ff,-0x18(%rbp)
movl   $0x348,-0x1c(%rbp)
movl   $0x268,-0x24(%rbp)
movl   $0x2c8,-0x28(%rbp)
movl   $0x32b,-0x2c(%rbp)
movl   $0x384,-0x30(%rbp)
movl   $0x3c8,-0x34(%rbp)
lea    0xe64(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xe6d(%rip),%rdi
lea    -0x38(%rbp),%rsi
lea    -0x3c(%rbp),%rdx
call   1060 <scanf@plt>
mov    $0x0,%al
call   1050 <getchar@plt>
movsbl %al,%eax
cmp    $0x20,%eax
jne    11cf <main+0x8f>
jmp    11b7 <main+0x77>
jmp    11d4 <main+0x94>
mov    $0x0,%al
call   1050 <getchar@plt>
movsbl %al,%eax
mov    %eax,-0x44(%rbp)
cmp    $0xa,%eax
je     129f <main+0x15f>
movsbl -0x44(%rbp),%edi
call   1030 <toupper@plt>
movsbl %al,%eax
mov    %eax,-0x48(%rbp)
sub    $0x41,%eax
je     1258 <main+0x118>
jmp    1207 <main+0xc7>
mov    -0x48(%rbp),%eax
sub    $0x50,%eax
jne    1295 <main+0x155>
jmp    1218 <main+0xd8>
mov    $0x0,%al
call   1050 <getchar@plt>
movsbl %al,%edi
call   1030 <toupper@plt>
movsbl %al,%eax
cmp    $0x4d,%eax
je     1246 <main+0x106>
mov    $0x0,%al
call   1050 <getchar@plt>
movsbl %al,%eax
cmp    $0xa,%eax
jne    1253 <main+0x113>
imul   $0x3c,-0x38(%rbp),%eax
add    -0x3c(%rbp),%eax
add    $0xc,%eax
mov    %eax,-0x40(%rbp)
jmp    129a <main+0x15a>
mov    $0x0,%al
call   1050 <getchar@plt>
movsbl %al,%edi
call   1030 <toupper@plt>
movsbl %al,%eax
cmp    $0x4d,%eax
je     1286 <main+0x146>
mov    $0x0,%al
call   1050 <getchar@plt>
movsbl %al,%eax
cmp    $0xa,%eax
jne    1290 <main+0x150>
imul   $0x3c,-0x38(%rbp),%eax
add    -0x3c(%rbp),%eax
mov    %eax,-0x40(%rbp)
jmp    129a <main+0x15a>
jmp    129a <main+0x15a>
jmp    11d4 <main+0x94>
mov    -0x40(%rbp),%eax
cmp    -0xc(%rbp),%eax
jl     12cc <main+0x18c>
mov    -0x40(%rbp),%eax
mov    %eax,-0x4c(%rbp)
mov    -0xc(%rbp),%eax
add    -0x10(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %eax,%ecx
mov    -0x4c(%rbp),%eax
cmp    %ecx,%eax
jge    12dd <main+0x19d>
mov    -0xc(%rbp),%eax
mov    %eax,-0x8(%rbp)
mov    -0x24(%rbp),%eax
mov    %eax,-0x20(%rbp)
jmp    138e <main+0x24e>
mov    -0x40(%rbp),%eax
mov    %eax,-0x50(%rbp)
mov    -0x10(%rbp),%eax
add    -0x14(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %eax,%ecx
mov    -0x50(%rbp),%eax
cmp    %ecx,%eax
jge    130f <main+0x1cf>
mov    -0x10(%rbp),%eax
mov    %eax,-0x8(%rbp)
mov    -0x28(%rbp),%eax
mov    %eax,-0x20(%rbp)
jmp    1389 <main+0x249>
mov    -0x40(%rbp),%eax
mov    %eax,-0x54(%rbp)
mov    -0x14(%rbp),%eax
add    -0x18(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %eax,%ecx
mov    -0x54(%rbp),%eax
cmp    %ecx,%eax
jge    1341 <main+0x201>
mov    -0x14(%rbp),%eax
mov    %eax,-0x8(%rbp)
mov    -0x2c(%rbp),%eax
mov    %eax,-0x20(%rbp)
jmp    1384 <main+0x244>
mov    -0x40(%rbp),%eax
mov    %eax,-0x58(%rbp)
mov    -0x18(%rbp),%eax
add    -0x1c(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %eax,%ecx
mov    -0x58(%rbp),%eax
cmp    %ecx,%eax
jge    1373 <main+0x233>
mov    -0x18(%rbp),%eax
mov    %eax,-0x8(%rbp)
mov    -0x30(%rbp),%eax
mov    %eax,-0x20(%rbp)
jmp    137f <main+0x23f>
mov    -0x1c(%rbp),%eax
mov    %eax,-0x8(%rbp)
mov    -0x34(%rbp),%eax
mov    %eax,-0x20(%rbp)
jmp    1384 <main+0x244>
jmp    1389 <main+0x249>
jmp    138e <main+0x24e>
mov    -0x8(%rbp),%eax
mov    $0x3c,%ecx
cltd
idiv   %ecx
mov    %eax,%esi
mov    -0x8(%rbp),%eax
mov    $0x3c,%ecx
cltd
idiv   %ecx
lea    0xc70(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x8(%rbp),%eax
mov    $0x3c,%ecx
cltd
idiv   %ecx
cmp    $0xc,%eax
jge    13db <main+0x29b>
lea    0xc73(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    13e9 <main+0x2a9>
lea    0xc65(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x34(%rbp),%eax
mov    $0x3c,%ecx
cltd
idiv   %ecx
mov    %eax,%esi
mov    -0x34(%rbp),%eax
mov    $0x3c,%ecx
cltd
idiv   %ecx
lea    0xc43(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x20(%rbp),%eax
mov    $0x3c,%ecx
cltd
idiv   %ecx
cmp    $0xc,%eax
jge    1436 <main+0x2f6>
lea    0xc3a(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1444 <main+0x304>
lea    0xc2d(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
sub    $0x10,%rsp
lea    0xea4(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xead(%rip),%rdi
lea    0xc(%rsp),%rsi
lea    0x8(%rsp),%rdx
call   1070 <scanf@plt>
nopl   0x0(%rax)
xor    %eax,%eax
call   1060 <getchar@plt>
cmp    $0x20,%al
je     1180 <main+0x30>
xor    %eax,%eax
call   1060 <getchar@plt>
cmp    $0xa,%al
jne    11d6 <main+0x86>
xor    %eax,%eax
cmp    $0x323,%ebx
setae  %al
mov    $0x2ff,%ecx
mov    $0x348,%edx
cmovb  %ecx,%edx
lea    (%rax,%rax,1),%esi
add    $0xc,%esi
imul   $0x3c,%esi,%eax
sub    %eax,%edx
movzwl %dx,%edx
lea    0xe5a(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xe8a(%rip),%rdi
jmp    12a1 <main+0x151>
jmp    11f4 <main+0xa4>
nopl   0x0(%rax,%rax,1)
imul   $0x3c,0xc(%rsp),%ebx
add    0x8(%rsp),%ebx
xor    %eax,%eax
call   1060 <getchar@plt>
cmp    $0xa,%al
je     1260 <main+0x110>
movsbl %al,%edi
call   1030 <toupper@plt>
movsbl %al,%eax
cmp    $0x41,%eax
je     1240 <main+0xf0>
cmp    $0x50,%eax
jne    11e9 <main+0x99>
xor    %eax,%eax
call   1060 <getchar@plt>
movsbl %al,%edi
call   1030 <toupper@plt>
cmp    $0x4d,%al
je     1227 <main+0xd7>
xor    %eax,%eax
call   1060 <getchar@plt>
cmp    $0xa,%al
jne    11e9 <main+0x99>
imul   $0x3c,0xc(%rsp),%eax
mov    0x8(%rsp),%ecx
lea    (%rcx,%rax,1),%ebx
add    $0xc,%ebx
jmp    11e9 <main+0x99>
nopl   0x0(%rax,%rax,1)
xor    %eax,%eax
call   1060 <getchar@plt>
movsbl %al,%edi
call   1030 <toupper@plt>
cmp    $0x4d,%al
je     11e0 <main+0x90>
xor    %eax,%eax
call   1060 <getchar@plt>
cmp    $0xa,%al
je     11e0 <main+0x90>
jmp    11e9 <main+0x99>
mov    $0x1e0,%ax
cmp    $0x214,%ebx
jl     1278 <main+0x128>
mov    $0x249,%ax
cmp    $0x27d,%ebx
jae    12d3 <main+0x183>
movzwl %ax,%eax
imul   $0x8889,%eax,%esi
shr    $0x15,%esi
imul   $0x3c,%esi,%ecx
sub    %ecx,%eax
movzwl %ax,%edx
lea    0xd8a(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xdbe(%rip),%rdi
mov    %rdi,%rbx
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xd90(%rip),%rdi
mov    $0x10,%esi
mov    $0x8,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
call   1040 <puts@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbx
ret
cmp    $0x2d8,%ebx
jae    1196 <main+0x46>
lea    0xd37(%rip),%rdi
mov    $0xb,%esi
mov    $0x1d,%edx
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xd5d(%rip),%rbx
lea    0xd5a(%rip),%rdi
jmp    12a4 <main+0x154>

LLVM IR (-O0):
@.str = [23 x i8] c"Enter a 12-hour time: \00"
@.str.1 = [6 x i8] c"%d:%d\00"
@.str.2 = [37 x i8] c"Closest departure time is %.2d:%.2d \00"
@.str.3 = [5 x i8] c"a.m.\00"
@.str.4 = [4 x i8] c"p.m\00"
@.str.5 = [25 x i8] c", arriving at %.2d:%.2d \00"
@.str.6 = [6 x i8] c"a.m.\0A\00"
@.str.7 = [5 x i8] c"p.m\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = alloca i32
store i32 0, i32* %1
store i32 480, i32* %3
store i32 585, i32* %4
store i32 689, i32* %5
store i32 767, i32* %6
store i32 840, i32* %7
store i32 616, i32* %9
store i32 712, i32* %10
store i32 811, i32* %11
store i32 900, i32* %12
store i32 968, i32* %13
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0))
%19 = call i32 @scanf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32* %14, i32* %15)
br label %20
20: ; preds = %24, %0
%21 = call signext i8 (...) @getchar()
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 32
br i1 %23, label %24, label %25
24: ; preds = %20
br label %20
25: ; preds = %20
br label %26
26: ; preds = %67, %25
%27 = call signext i8 (...) @getchar()
%28 = sext i8 %27 to i32
store i32 %28, i32* %17
%29 = icmp ne i32 %28, 10
br i1 %29, label %30, label %68
30: ; preds = %26
%31 = load i32, i32* %17
%32 = trunc i32 %31 to i8
%33 = call signext i8 @toupper(i8 signext %32)
%34 = sext i8 %33 to i32
switch i32 %34, label %66 [
i32 80, label %35
i32 65, label %51
]
35: ; preds = %30
%36 = call signext i8 (...) @getchar()
%37 = call signext i8 @toupper(i8 signext %36)
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 77
br i1 %39, label %44, label %40
40: ; preds = %35
%41 = call signext i8 (...) @getchar()
%42 = sext i8 %41 to i32
%43 = icmp eq i32 %42, 10
br i1 %43, label %44, label %50
44: ; preds = %40, %35
%45 = load i32, i32* %14
%46 = mul nsw i32 60, %45
%47 = load i32, i32* %15
%48 = add nsw i32 %46, %47
%49 = add nsw i32 %48, 12
store i32 %49, i32* %16
br label %50
50: ; preds = %44, %40
br label %67
51: ; preds = %30
%52 = call signext i8 (...) @getchar()
%53 = call signext i8 @toupper(i8 signext %52)
%54 = sext i8 %53 to i32
%55 = icmp eq i32 %54, 77
br i1 %55, label %60, label %56
56: ; preds = %51
%57 = call signext i8 (...) @getchar()
%58 = sext i8 %57 to i32
%59 = icmp eq i32 %58, 10
br i1 %59, label %60, label %65
60: ; preds = %56, %51
%61 = load i32, i32* %14
%62 = mul nsw i32 60, %61
%63 = load i32, i32* %15
%64 = add nsw i32 %62, %63
store i32 %64, i32* %16
br label %65
65: ; preds = %60, %56
br label %67
66: ; preds = %30
br label %67
67: ; preds = %66, %65, %50
br label %26
68: ; preds = %26
%69 = load i32, i32* %16
%70 = load i32, i32* %3
%71 = icmp slt i32 %69, %70
br i1 %71, label %79, label %72
72: ; preds = %68
%73 = load i32, i32* %16
%74 = load i32, i32* %3
%75 = load i32, i32* %4
%76 = add nsw i32 %74, %75
%77 = sdiv i32 %76, 2
%78 = icmp slt i32 %73, %77
br i1 %78, label %79, label %82
79: ; preds = %72, %68
%80 = load i32, i32* %3
store i32 %80, i32* %2
%81 = load i32, i32* %9
store i32 %81, i32* %8
br label %118
82: ; preds = %72
%83 = load i32, i32* %16
%84 = load i32, i32* %4
%85 = load i32, i32* %5
%86 = add nsw i32 %84, %85
%87 = sdiv i32 %86, 2
%88 = icmp slt i32 %83, %87
br i1 %88, label %89, label %92
89: ; preds = %82
%90 = load i32, i32* %4
store i32 %90, i32* %2
%91 = load i32, i32* %10
store i32 %91, i32* %8
br label %117
92: ; preds = %82
%93 = load i32, i32* %16
%94 = load i32, i32* %5
%95 = load i32, i32* %6
%96 = add nsw i32 %94, %95
%97 = sdiv i32 %96, 2
%98 = icmp slt i32 %93, %97
br i1 %98, label %99, label %102
99: ; preds = %92
%100 = load i32, i32* %5
store i32 %100, i32* %2
%101 = load i32, i32* %11
store i32 %101, i32* %8
br label %116
102: ; preds = %92
%103 = load i32, i32* %16
%104 = load i32, i32* %6
%105 = load i32, i32* %7
%106 = add nsw i32 %104, %105
%107 = sdiv i32 %106, 2
%108 = icmp slt i32 %103, %107
br i1 %108, label %109, label %112
109: ; preds = %102
%110 = load i32, i32* %6
store i32 %110, i32* %2
%111 = load i32, i32* %12
store i32 %111, i32* %8
br label %115
112: ; preds = %102
%113 = load i32, i32* %7
store i32 %113, i32* %2
%114 = load i32, i32* %13
store i32 %114, i32* %8
br label %115
115: ; preds = %112, %109
br label %116
116: ; preds = %115, %99
br label %117
117: ; preds = %116, %89
br label %118
118: ; preds = %117, %79
%119 = load i32, i32* %2
%120 = sdiv i32 %119, 60
%121 = load i32, i32* %2
%122 = srem i32 %121, 60
%123 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.2, i64 0, i64 0), i32 %120, i32 %122)
%124 = load i32, i32* %2
%125 = sdiv i32 %124, 60
%126 = icmp slt i32 %125, 12
br i1 %126, label %127, label %129
127: ; preds = %118
%128 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
br label %131
129: ; preds = %118
%130 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0))
br label %131
131: ; preds = %129, %127
%132 = load i32, i32* %13
%133 = sdiv i32 %132, 60
%134 = load i32, i32* %13
%135 = srem i32 %134, 60
%136 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.5, i64 0, i64 0), i32 %133, i32 %135)
%137 = load i32, i32* %8
%138 = sdiv i32 %137, 60
%139 = icmp slt i32 %138, 12
br i1 %139, label %140, label %142
140: ; preds = %131
%141 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
br label %144
142: ; preds = %131
%143 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
br label %144
144: ; preds = %142, %140
ret i32 0
}

LLVM IR (-O2):
@.str = [23 x i8] c"Enter a 12-hour time: \00"
@.str.1 = [6 x i8] c"%d:%d\00"
@.str.2 = [37 x i8] c"Closest departure time is %.2d:%.2d \00"
@.str.5 = [25 x i8] c", arriving at %.2d:%.2d \00"
@str = [4 x i8] c"p.m\00"
@str.8 = [5 x i8] c"a.m.\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = bitcast i32* %1 to i8*
%4 = bitcast i32* %2 to i8*
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0))
%6 = call i32 @scanf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32* %1, i32* %2)
br label %7
7: ; preds = %7, %0
%8 = call signext i8 (...) @getchar()
%9 = icmp eq i8 %8, 32
br i1 %9, label %7, label %10
10: ; preds = %7
%11 = call signext i8 (...) @getchar()
%12 = icmp eq i8 %11, 10
br i1 %12, label %53, label %13
13: ; preds = %10, %43
%14 = phi i8 [ %45, %43 ], [ %11, %10 ]
%15 = phi i32 [ %44, %43 ], [ undef, %10 ]
%16 = call signext i8 @toupper(i8 signext %14)
%17 = sext i8 %16 to i32
switch i32 %17, label %43 [
i32 80, label %18
i32 65, label %31
]
18: ; preds = %13
%19 = call signext i8 (...) @getchar()
%20 = call signext i8 @toupper(i8 signext %19)
%21 = icmp eq i8 %20, 77
br i1 %21, label %25, label %22
22: ; preds = %18
%23 = call signext i8 (...) @getchar()
%24 = icmp eq i8 %23, 10
br i1 %24, label %25, label %43
25: ; preds = %22, %18
%26 = load i32, i32* %1
%27 = mul nsw i32 %26, 60
%28 = load i32, i32* %2
%29 = add i32 %28, 12
%30 = add i32 %29, %27
br label %43
31: ; preds = %13
%32 = call signext i8 (...) @getchar()
%33 = call signext i8 @toupper(i8 signext %32)
%34 = icmp eq i8 %33, 77
br i1 %34, label %38, label %35
35: ; preds = %31
%36 = call signext i8 (...) @getchar()
%37 = icmp eq i8 %36, 10
br i1 %37, label %38, label %43
38: ; preds = %35, %31
%39 = load i32, i32* %1
%40 = mul nsw i32 %39, 60
%41 = load i32, i32* %2
%42 = add nsw i32 %40, %41
br label %43
43: ; preds = %13, %35, %38, %22, %25
%44 = phi i32 [ %15, %13 ], [ %42, %38 ], [ %15, %35 ], [ %30, %25 ], [ %15, %22 ]
%45 = call signext i8 (...) @getchar()
%46 = icmp eq i8 %45, 10
br i1 %46, label %47, label %13
47: ; preds = %43
%48 = icmp slt i32 %44, 532
br i1 %48, label %62, label %49
49: ; preds = %47
%50 = icmp ult i32 %44, 637
br i1 %50, label %62, label %51
51: ; preds = %49
%52 = icmp ult i32 %44, 728
br i1 %52, label %69, label %53
53: ; preds = %10, %51
%54 = phi i32 [ %44, %51 ], [ undef, %10 ]
%55 = icmp ult i32 %54, 803
%56 = select i1 %55, i16 767, i16 840
%57 = udiv i16 %56, 60
%58 = zext i16 %57 to i32
%59 = urem i16 %56, 60
%60 = zext i16 %59 to i32
%61 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.2, i64 0, i64 0), i32 %58, i32 %60)
br label %71
62: ; preds = %49, %47
%63 = phi i16 [ 585, %49 ], [ 480, %47 ]
%64 = udiv i16 %63, 60
%65 = zext i16 %64 to i32
%66 = urem i16 %63, 60
%67 = zext i16 %66 to i32
%68 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.2, i64 0, i64 0), i32 %65, i32 %67)
br label %71
69: ; preds = %51
%70 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.2, i64 0, i64 0), i32 11, i32 29)
br label %71
71: ; preds = %53, %69, %62
%72 = phi i8* [ getelementptr inbounds ([5 x i8], [5 x i8]* @str.8, i64 0, i64 0), %62 ], [ getelementptr inbounds ([5 x i8], [5 x i8]* @str.8, i64 0, i64 0), %69 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @str, i64 0, i64 0), %53 ]
%73 = phi i8* [ getelementptr inbounds ([5 x i8], [5 x i8]* @str.8, i64 0, i64 0), %62 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @str, i64 0, i64 0), %69 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @str, i64 0, i64 0), %53 ]
%74 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) %72)
%75 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.5, i64 0, i64 0), i32 16, i32 8)
%76 = call i32 @puts(i8* dereferenceable(1) %73)
ret i32 0
}