#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*/ fgets(char *, int, int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *, ...);
int search(int *, int *, int);
int /*<<< orphan*/ sort(int *, int);
int sscanf(char *, char *, int *, int *, int *, int *);
int /*<<< orphan*/ stdin;
int toMinutes(int, int);
int main(void) {
  int begin[50] = {0};
  int end[50] = {0};
  int beginHour = 0;
  int beginMinute = 0;
  int endHour = 0;
  int position = 0;
  int endMinute = 0;
  int counter = 0;
  int freetime = 0;
  char buffer[100];
  printf("Bite geben sie ihr Termine ein: ");
  while (1) {
    fgets(buffer, 100, stdin);
    if (sscanf(buffer, "%d:%d %d:%d %*s", &beginHour, &beginMinute, &endHour,
               &endMinute) == 4) {
      if (counter <= 50 && beginHour >= 8 * 60 / 60 &&
          endHour <= 18 * 60 / 60) {
        begin[counter] = toMinutes(beginHour, beginMinute);
        end[counter] = toMinutes(endHour, endMinute);
        counter++;
      } else {
        printf("Sie haben nur platz f\u00fcr 50 eintraege ziwschen 8 und 18 "
               "Uhr.\n");
      }
    } else {
      printf("Ende\n");
      break;
    }
  }
  sort(begin, counter);
  sort(end, counter);
  position = search(begin, end, counter);
  if (position == -1) {
    beginHour = 8 * 60;
    freetime = begin[0] - 8 * 60;
  } else if (position == counter) {
    beginHour = end[position - 1];
    freetime = (18 * 60) - end[position - 1];
  } else {
    beginHour = end[position];
    freetime = begin[position + 1] - end[position];
  }
  printf("Programmieren II bearbeiten um %d:%d f\u00fcr %d Minuten\n",
         beginHour / 60, beginHour % 60, freetime);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x220,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0xd0(%rbp),%rdi
xor    %esi,%esi
mov    $0xc8,%edx
call   1070 <memset@plt>
lea    -0x1a0(%rbp),%rdi
xor    %esi,%esi
mov    $0xc8,%edx
call   1070 <memset@plt>
movl   $0x0,-0x1a4(%rbp)
movl   $0x0,-0x1a8(%rbp)
movl   $0x0,-0x1ac(%rbp)
movl   $0x0,-0x1b0(%rbp)
movl   $0x0,-0x1b4(%rbp)
movl   $0x0,-0x1b8(%rbp)
movl   $0x0,-0x1bc(%rbp)
lea    0xe0b(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    -0x220(%rbp),%rdi
mov    0x2dde(%rip),%rax
mov    (%rax),%edx
mov    $0x64,%esi
call   1080 <fgets@plt>
lea    -0x220(%rbp),%rdi
lea    0xdfd(%rip),%rsi
lea    -0x1a4(%rbp),%rdx
lea    -0x1a8(%rbp),%rcx
lea    -0x1ac(%rbp),%r8
lea    -0x1b4(%rbp),%r9
call   1090 <sscanf@plt>
cmp    $0x4,%eax
jne    12de <main+0x16e>
cmpl   $0x32,-0x1b8(%rbp)
jg     12cb <main+0x15b>
cmpl   $0x8,-0x1a4(%rbp)
jl     12cb <main+0x15b>
cmpl   $0x12,-0x1ac(%rbp)
jg     12cb <main+0x15b>
mov    -0x1a4(%rbp),%edi
mov    -0x1a8(%rbp),%esi
call   1030 <toMinutes@plt>
mov    %eax,%ecx
movslq -0x1b8(%rbp),%rax
mov    %ecx,-0xd0(%rbp,%rax,4)
mov    -0x1ac(%rbp),%edi
mov    -0x1b4(%rbp),%esi
call   1030 <toMinutes@plt>
mov    %eax,%ecx
movslq -0x1b8(%rbp),%rax
mov    %ecx,-0x1a0(%rbp,%rax,4)
mov    -0x1b8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1b8(%rbp)
jmp    12d9 <main+0x169>
lea    0xd5f(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    12f1 <main+0x181>
lea    0xd8a(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    12f6 <main+0x186>
jmp    11fc <main+0x8c>
lea    -0xd0(%rbp),%rdi
mov    -0x1b8(%rbp),%esi
call   1050 <sort@plt>
lea    -0x1a0(%rbp),%rdi
mov    -0x1b8(%rbp),%esi
call   1050 <sort@plt>
lea    -0xd0(%rbp),%rdi
lea    -0x1a0(%rbp),%rsi
mov    -0x1b8(%rbp),%edx
call   1060 <search@plt>
mov    %eax,-0x1b0(%rbp)
cmpl   $0xffffffff,-0x1b0(%rbp)
jne    1366 <main+0x1f6>
movl   $0x1e0,-0x1a4(%rbp)
mov    -0xd0(%rbp),%eax
sub    $0x1e0,%eax
mov    %eax,-0x1bc(%rbp)
jmp    13f2 <main+0x282>
mov    -0x1b0(%rbp),%eax
cmp    -0x1b8(%rbp),%eax
jne    13b3 <main+0x243>
mov    -0x1b0(%rbp),%eax
sub    $0x1,%eax
cltq
mov    -0x1a0(%rbp,%rax,4),%eax
mov    %eax,-0x1a4(%rbp)
mov    -0x1b0(%rbp),%eax
sub    $0x1,%eax
movslq %eax,%rcx
mov    $0x438,%eax
sub    -0x1a0(%rbp,%rcx,4),%eax
mov    %eax,-0x1bc(%rbp)
jmp    13ed <main+0x27d>
movslq -0x1b0(%rbp),%rax
mov    -0x1a0(%rbp,%rax,4),%eax
mov    %eax,-0x1a4(%rbp)
mov    -0x1b0(%rbp),%eax
add    $0x1,%eax
cltq
mov    -0xd0(%rbp,%rax,4),%eax
movslq -0x1b0(%rbp),%rcx
sub    -0x1a0(%rbp,%rcx,4),%eax
mov    %eax,-0x1bc(%rbp)
jmp    13f2 <main+0x282>
mov    -0x1a4(%rbp),%eax
mov    $0x3c,%ecx
cltd
idiv   %ecx
mov    %eax,%esi
mov    -0x1a4(%rbp),%eax
mov    $0x3c,%ecx
cltd
idiv   %ecx
mov    -0x1bc(%rbp),%ecx
lea    0xc58(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x4(%rbp),%eax
add    $0x220,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x218,%rsp
xorps  %xmm0,%xmm0
movaps %xmm0,0x190(%rsp)
movaps %xmm0,0x180(%rsp)
movaps %xmm0,0x170(%rsp)
movaps %xmm0,0x160(%rsp)
movaps %xmm0,0x150(%rsp)
movaps %xmm0,0x140(%rsp)
movaps %xmm0,0x130(%rsp)
movaps %xmm0,0x120(%rsp)
movaps %xmm0,0x110(%rsp)
movaps %xmm0,0x100(%rsp)
movaps %xmm0,0xf0(%rsp)
movaps %xmm0,0xe0(%rsp)
movq   $0x0,0x1a0(%rsp)
movaps %xmm0,0xc0(%rsp)
movaps %xmm0,0xb0(%rsp)
movaps %xmm0,0xa0(%rsp)
movaps %xmm0,0x90(%rsp)
movaps %xmm0,0x80(%rsp)
movaps %xmm0,0x70(%rsp)
movaps %xmm0,0x60(%rsp)
movaps %xmm0,0x50(%rsp)
movaps %xmm0,0x40(%rsp)
movaps %xmm0,0x30(%rsp)
movaps %xmm0,0x20(%rsp)
movaps %xmm0,0x10(%rsp)
movq   $0x0,0xd0(%rsp)
movl   $0x0,(%rsp)
movl   $0x0,0xc(%rsp)
movl   $0x0,0x4(%rsp)
movl   $0x0,0x8(%rsp)
lea    0xd93(%rip),%rdi
xor    %r13d,%r13d
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x2d6a(%rip),%rbp
mov    0x0(%rbp),%edx
lea    0x1b0(%rsp),%r14
mov    %r14,%rdi
mov    $0x64,%esi
call   1080 <fgets@plt>
lea    0xd84(%rip),%rsi
mov    %rsp,%rdx
lea    0xc(%rsp),%rcx
lea    0x4(%rsp),%r8
lea    0x8(%rsp),%r9
mov    %r14,%rdi
call   1090 <sscanf@plt>
cmp    $0x4,%eax
jne    1374 <main+0x204>
xor    %r13d,%r13d
lea    0x1b0(%rsp),%r14
lea    0xd4f(%rip),%rbx
mov    %rsp,%r12
lea    0xc(%rsp),%r15
jmp    131c <main+0x1ac>
nopl   0x0(%rax)
lea    0xd85(%rip),%rdi
call   1030 <puts@plt>
mov    0x0(%rbp),%edx
mov    %r14,%rdi
mov    $0x64,%esi
call   1080 <fgets@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
mov    %r12,%rdx
mov    %r15,%rcx
lea    0x4(%rsp),%r8
lea    0x8(%rsp),%r9
call   1090 <sscanf@plt>
cmp    $0x4,%eax
jne    1374 <main+0x204>
cmp    $0x32,%r13d
jg     12e0 <main+0x170>
mov    (%rsp),%edi
cmp    $0x8,%edi
jl     12e0 <main+0x170>
cmpl   $0x12,0x4(%rsp)
jg     12e0 <main+0x170>
mov    0xc(%rsp),%esi
call   1040 <toMinutes@plt>
mov    %r15,%r14
mov    %r12,%r15
movslq %r13d,%r12
mov    %eax,0xe0(%rsp,%r12,4)
mov    0x4(%rsp),%edi
mov    0x8(%rsp),%esi
call   1040 <toMinutes@plt>
mov    %eax,0x10(%rsp,%r12,4)
mov    %r15,%r12
mov    %r14,%r15
lea    0x1b0(%rsp),%r14
add    $0x1,%r13d
jmp    12ec <main+0x17c>
lea    0xcec(%rip),%rdi
call   1030 <puts@plt>
lea    0xe0(%rsp),%r14
mov    %r14,%rdi
mov    %r13d,%esi
call   1060 <sort@plt>
lea    0x10(%rsp),%rbp
mov    %rbp,%rdi
mov    %r13d,%esi
call   1060 <sort@plt>
mov    %r14,%rdi
mov    %rbp,%rsi
mov    %r13d,%edx
call   1070 <search@plt>
cmp    $0xffffffff,%eax
je     13cc <main+0x25c>
cmp    %r13d,%eax
jne    13e6 <main+0x276>
movslq %r13d,%rax
mov    0xc(%rsp,%rax,4),%eax
mov    %eax,(%rsp)
mov    $0x438,%ecx
jmp    13f7 <main+0x287>
movl   $0x1e0,(%rsp)
mov    $0xfffffe20,%ecx
add    0xe0(%rsp),%ecx
mov    $0x1e0,%eax
jmp    13f9 <main+0x289>
movslq %eax,%rcx
mov    0x10(%rsp,%rcx,4),%eax
mov    %eax,(%rsp)
mov    0xe4(%rsp,%rcx,4),%ecx
sub    %eax,%ecx
movslq %eax,%rdx
imul   $0xffffffff88888889,%rdx,%rsi
shr    $0x20,%rsi
add    %edx,%esi
mov    %esi,%eax
shr    $0x1f,%eax
sar    $0x5,%esi
add    %eax,%esi
imul   $0x3c,%esi,%eax
sub    %eax,%edx
lea    0xc12(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
xor    %eax,%eax
add    $0x218,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [33 x i8] c"Bite geben sie ihr Termine ein: \00"
@stdin = global i32 0
@.str.1 = [16 x i8] c"%d:%d %d:%d %*s\00"
@.str.2 = [62 x i8] c"Sie haben nur platz f\C3\BCr 50 eintraege ziwschen 8 und 18 Uhr.\0A\00"
@.str.3 = [6 x i8] c"Ende\0A\00"
@.str.4 = [54 x i8] c"Programmieren II bearbeiten um %d:%d f\C3\BCr %d Minuten\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [50 x i32]
%3 = alloca [50 x i32]
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca [100 x i8]
store i32 0, i32* %1
%12 = bitcast [50 x i32]* %2 to i8*
%13 = bitcast [50 x i32]* %3 to i8*
store i32 0, 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
store i32 0, i32* %10
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str, i64 0, i64 0))
br label %15
15: ; preds = %0, %51
%16 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%17 = load i32, i32* @stdin
%18 = call i32 @fgets(i8* %16, i32 100, i32 %17)
%19 = getelementptr inbounds [100 x i8], [100 x i8]* %11, i64 0, i64 0
%20 = call i32 @sscanf(i8* %19, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32* %4, i32* %5, i32* %6, i32* %8)
%21 = icmp eq i32 %20, 4
br i1 %21, label %22, label %49
22: ; preds = %15
%23 = load i32, i32* %9
%24 = icmp sle i32 %23, 50
br i1 %24, label %25, label %46
25: ; preds = %22
%26 = load i32, i32* %4
%27 = icmp sge i32 %26, 8
br i1 %27, label %28, label %46
28: ; preds = %25
%29 = load i32, i32* %6
%30 = icmp sle i32 %29, 18
br i1 %30, label %31, label %46
31: ; preds = %28
%32 = load i32, i32* %4
%33 = load i32, i32* %5
%34 = call i32 @toMinutes(i32 %32, i32 %33)
%35 = load i32, i32* %9
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [50 x i32], [50 x i32]* %2, i64 0, i64 %36
store i32 %34, i32* %37
%38 = load i32, i32* %6
%39 = load i32, i32* %8
%40 = call i32 @toMinutes(i32 %38, i32 %39)
%41 = load i32, i32* %9
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [50 x i32], [50 x i32]* %3, i64 0, i64 %42
store i32 %40, i32* %43
%44 = load i32, i32* %9
%45 = add nsw i32 %44, 1
store i32 %45, i32* %9
br label %48
46: ; preds = %28, %25, %22
%47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.2, i64 0, i64 0))
br label %48
48: ; preds = %46, %31
br label %51
49: ; preds = %15
%50 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
br label %52
51: ; preds = %48
br label %15
52: ; preds = %49
%53 = getelementptr inbounds [50 x i32], [50 x i32]* %2, i64 0, i64 0
%54 = load i32, i32* %9
%55 = call i32 @sort(i32* %53, i32 %54)
%56 = getelementptr inbounds [50 x i32], [50 x i32]* %3, i64 0, i64 0
%57 = load i32, i32* %9
%58 = call i32 @sort(i32* %56, i32 %57)
%59 = getelementptr inbounds [50 x i32], [50 x i32]* %2, i64 0, i64 0
%60 = getelementptr inbounds [50 x i32], [50 x i32]* %3, i64 0, i64 0
%61 = load i32, i32* %9
%62 = call i32 @search(i32* %59, i32* %60, i32 %61)
store i32 %62, i32* %7
%63 = load i32, i32* %7
%64 = icmp eq i32 %63, -1
br i1 %64, label %65, label %69
65: ; preds = %52
store i32 480, i32* %4
%66 = getelementptr inbounds [50 x i32], [50 x i32]* %2, i64 0, i64 0
%67 = load i32, i32* %66
%68 = sub nsw i32 %67, 480
store i32 %68, i32* %10
br label %101
69: ; preds = %52
%70 = load i32, i32* %7
%71 = load i32, i32* %9
%72 = icmp eq i32 %70, %71
br i1 %72, label %73, label %85
73: ; preds = %69
%74 = load i32, i32* %7
%75 = sub nsw i32 %74, 1
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds [50 x i32], [50 x i32]* %3, i64 0, i64 %76
%78 = load i32, i32* %77
store i32 %78, i32* %4
%79 = load i32, i32* %7
%80 = sub nsw i32 %79, 1
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds [50 x i32], [50 x i32]* %3, i64 0, i64 %81
%83 = load i32, i32* %82
%84 = sub nsw i32 1080, %83
store i32 %84, i32* %10
br label %100
85: ; preds = %69
%86 = load i32, i32* %7
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds [50 x i32], [50 x i32]* %3, i64 0, i64 %87
%89 = load i32, i32* %88
store i32 %89, i32* %4
%90 = load i32, i32* %7
%91 = add nsw i32 %90, 1
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds [50 x i32], [50 x i32]* %2, i64 0, i64 %92
%94 = load i32, i32* %93
%95 = load i32, i32* %7
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds [50 x i32], [50 x i32]* %3, i64 0, i64 %96
%98 = load i32, i32* %97
%99 = sub nsw i32 %94, %98
store i32 %99, i32* %10
br label %100
100: ; preds = %85, %73
br label %101
101: ; preds = %100, %65
%102 = load i32, i32* %4
%103 = sdiv i32 %102, 60
%104 = load i32, i32* %4
%105 = srem i32 %104, 60
%106 = load i32, i32* %10
%107 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.4, i64 0, i64 0), i32 %103, i32 %105, i32 %106)
%108 = load i32, i32* %1
ret i32 %108
}

LLVM IR (-O2):
@.str = [33 x i8] c"Bite geben sie ihr Termine ein: \00"
@stdin = global i32 0
@.str.1 = [16 x i8] c"%d:%d %d:%d %*s\00"
@.str.4 = [54 x i8] c"Programmieren II bearbeiten um %d:%d f\C3\BCr %d Minuten\0A\00"
@str = [5 x i8] c"Ende\00"
@str.5 = [61 x i8] c"Sie haben nur platz f\C3\BCr 50 eintraege ziwschen 8 und 18 Uhr.\00"
define i32 @main() {
%1 = alloca [50 x i32]
%2 = alloca [50 x i32]
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca [100 x i8]
%8 = bitcast [50 x i32]* %1 to i8*
%9 = bitcast [50 x i32]* %2 to i8*
%10 = bitcast i32* %3 to i8*
store i32 0, i32* %3
%11 = bitcast i32* %4 to i8*
store i32 0, i32* %4
%12 = bitcast i32* %5 to i8*
store i32 0, i32* %5
%13 = bitcast i32* %6 to i8*
store i32 0, i32* %6
%14 = getelementptr inbounds [100 x i8], [100 x i8]* %7, i64 0, i64 0
%15 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str, i64 0, i64 0))
%16 = load i32, i32* @stdin
%17 = call i32 @fgets(i8* %14, i32 100, i32 %16)
%18 = call i32 @sscanf(i8* %14, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32* %3, i32* %4, i32* %5, i32* %6)
%19 = icmp eq i32 %18, 4
br i1 %19, label %20, label %41
20: ; preds = %0, %50
%21 = phi i32 [ %51, %50 ], [ 0, %0 ]
%22 = icmp slt i32 %21, 51
%23 = load i32, i32* %3
%24 = icmp sgt i32 %23, 7
%25 = select i1 %22, i1 %24, i1 false
%26 = load i32, i32* %5
%27 = icmp slt i32 %26, 19
%28 = select i1 %25, i1 %27, i1 false
br i1 %28, label %29, label %39
29: ; preds = %20
%30 = load i32, i32* %4
%31 = call i32 @toMinutes(i32 %23, i32 %30)
%32 = sext i32 %21 to i64
%33 = getelementptr inbounds [50 x i32], [50 x i32]* %1, i64 0, i64 %32
store i32 %31, i32* %33
%34 = load i32, i32* %5
%35 = load i32, i32* %6
%36 = call i32 @toMinutes(i32 %34, i32 %35)
%37 = getelementptr inbounds [50 x i32], [50 x i32]* %2, i64 0, i64 %32
store i32 %36, i32* %37
%38 = add nsw i32 %21, 1
br label %50
39: ; preds = %20
%40 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.5, i64 0, i64 0))
br label %50
41: ; preds = %50, %0
%42 = phi i32 [ 0, %0 ], [ %51, %50 ]
%43 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @str, i64 0, i64 0))
%44 = getelementptr inbounds [50 x i32], [50 x i32]* %1, i64 0, i64 0
%45 = call i32 @sort(i32* %44, i32 %42)
%46 = getelementptr inbounds [50 x i32], [50 x i32]* %2, i64 0, i64 0
%47 = call i32 @sort(i32* %46, i32 %42)
%48 = call i32 @search(i32* %44, i32* %46, i32 %42)
%49 = icmp eq i32 %48, -1
br i1 %49, label %56, label %59
50: ; preds = %29, %39
%51 = phi i32 [ %38, %29 ], [ %21, %39 ]
%52 = load i32, i32* @stdin
%53 = call i32 @fgets(i8* %14, i32 100, i32 %52)
%54 = call i32 @sscanf(i8* %14, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32* %3, i32* %4, i32* %5, i32* %6)
%55 = icmp eq i32 %54, 4
br i1 %55, label %20, label %41
56: ; preds = %41
store i32 480, i32* %3
%57 = load i32, i32* %44
%58 = add nsw i32 %57, -480
br label %76
59: ; preds = %41
%60 = icmp eq i32 %48, %42
br i1 %60, label %61, label %67
61: ; preds = %59
%62 = add nsw i32 %42, -1
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [50 x i32], [50 x i32]* %2, i64 0, i64 %63
%65 = load i32, i32* %64
store i32 %65, i32* %3
%66 = sub nsw i32 1080, %65
br label %76
67: ; preds = %59
%68 = sext i32 %48 to i64
%69 = getelementptr inbounds [50 x i32], [50 x i32]* %2, i64 0, i64 %68
%70 = load i32, i32* %69
store i32 %70, i32* %3
%71 = add nuw nsw i32 %48, 1
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [50 x i32], [50 x i32]* %1, i64 0, i64 %72
%74 = load i32, i32* %73
%75 = sub nsw i32 %74, %70
br label %76
76: ; preds = %61, %67, %56
%77 = phi i32 [ 480, %56 ], [ %65, %61 ], [ %70, %67 ]
%78 = phi i32 [ %58, %56 ], [ %66, %61 ], [ %75, %67 ]
%79 = sdiv i32 %77, 60
%80 = srem i32 %77, 60
%81 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @.str.4, i64 0, i64 0), i32 %79, i32 %80, i32 %78)
ret i32 0
}