#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*/ EXIT_FAILURE;
int EXIT_SUCCESS;
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *);
int /*<<< orphan*/ fputs(char *, int /*<<< orphan*/);
char *malloc(scalar_t__);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ read_line(char *, int);
int /*<<< orphan*/ scanf(char *, int *);
int /*<<< orphan*/ sprintf(char *, char *, int);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ stdout;
int /*<<< orphan*/ strcat(char *, char *);
scalar_t__ strcmp(char *, char *);
int /*<<< orphan*/ strcpy(char *, char *);
scalar_t__ strlen(char *);
int main(void) {
  char *notes[5];
  char day_str[3], msg_str[255 + 1];
  int day, i, j, num_note = 0;
  for (;;) {
    if (num_note == 5) {
      printf("--- No space left ---\n");
      break;
    }
    fputs("Enter hour (from 1 to 24) and note: ", stdout);
    scanf("%2d", &day);
    if (day < 1 || day > 24) {
      fprintf(stderr, "Err. hour must be >= 1 and <= 24. Exit\n");
      exit(EXIT_FAILURE);
    }
    sprintf(day_str, "%2d", day);
    read_line(msg_str, 255);
    for (i = 0; i < num_note; i++)
      if (strcmp(day_str, notes[i]) < 0)
        break;
    for (j = num_note; j > i; j--)
      notes[j] = notes[j - 1];
    notes[i] = malloc(2 + strlen(msg_str) + 1);
    if (notes[i] == NULL) {
      printf("--- No space left ---\n");
      break;
    }
    strcpy(notes[i], day_str);
    strcat(notes[i], msg_str);
    num_note++;
  }
  fputs("\nToday's notes: \n", stdout);
  for (i = 0; i < num_note; i++)
    printf(" %s\n", notes[i]);
  return (EXIT_SUCCESS);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x150,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0x150(%rbp)
cmpl   $0x5,-0x150(%rbp)
jne    11fc <main+0x3c>
lea    0xe10(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    13c1 <main+0x201>
mov    0x2dcd(%rip),%rax
mov    (%rax),%esi
lea    0xe0b(%rip),%rdi
call   1060 <fputs@plt>
lea    0xe24(%rip),%rdi
lea    -0x144(%rbp),%rsi
call   10a0 <scanf@plt>
cmpl   $0x1,-0x144(%rbp)
jl     123e <main+0x7e>
cmpl   $0x18,-0x144(%rbp)
jle    1261 <main+0xa1>
mov    0x2d9b(%rip),%rax
mov    (%rax),%edi
lea    0xdf2(%rip),%rsi
call   1080 <fprintf@plt>
mov    0x2d7e(%rip),%rax
mov    (%rax),%edi
call   10e0 <exit@plt>
lea    -0x33(%rbp),%rdi
mov    -0x144(%rbp),%edx
lea    0xdca(%rip),%rsi
call   10d0 <sprintf@plt>
lea    -0x140(%rbp),%rdi
mov    $0xff,%esi
call   10b0 <read_line@plt>
movl   $0x0,-0x148(%rbp)
mov    -0x148(%rbp),%eax
cmp    -0x150(%rbp),%eax
jge    12e1 <main+0x121>
lea    -0x33(%rbp),%rdi
movslq -0x148(%rbp),%rax
mov    -0x30(%rbp,%rax,8),%rsi
call   1070 <strcmp@plt>
cmp    $0x0,%rax
jge    12c8 <main+0x108>
jmp    12e1 <main+0x121>
jmp    12cd <main+0x10d>
mov    -0x148(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x148(%rbp)
jmp    1292 <main+0xd2>
mov    -0x150(%rbp),%eax
mov    %eax,-0x14c(%rbp)
mov    -0x14c(%rbp),%eax
cmp    -0x148(%rbp),%eax
jle    132f <main+0x16f>
mov    -0x14c(%rbp),%eax
sub    $0x1,%eax
cltq
mov    -0x30(%rbp,%rax,8),%rcx
movslq -0x14c(%rbp),%rax
mov    %rcx,-0x30(%rbp,%rax,8)
mov    -0x14c(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x14c(%rbp)
jmp    12ed <main+0x12d>
lea    -0x140(%rbp),%rdi
call   1040 <strlen@plt>
mov    %rax,%rdi
add    $0x2,%rdi
add    $0x1,%rdi
call   1090 <malloc@plt>
mov    %rax,%rcx
movslq -0x148(%rbp),%rax
mov    %rcx,-0x30(%rbp,%rax,8)
movslq -0x148(%rbp),%rax
cmpq   $0x0,-0x30(%rbp,%rax,8)
jne    1380 <main+0x1c0>
lea    0xc8c(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    13c1 <main+0x201>
movslq -0x148(%rbp),%rax
mov    -0x30(%rbp,%rax,8),%rdi
lea    -0x33(%rbp),%rsi
call   1030 <strcpy@plt>
movslq -0x148(%rbp),%rax
mov    -0x30(%rbp,%rax,8),%rdi
lea    -0x140(%rbp),%rsi
call   10c0 <strcat@plt>
mov    -0x150(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x150(%rbp)
jmp    11dc <main+0x1c>
mov    0x2c08(%rip),%rax
mov    (%rax),%esi
lea    0xc97(%rip),%rdi
call   1060 <fputs@plt>
movl   $0x0,-0x148(%rbp)
mov    -0x148(%rbp),%eax
cmp    -0x150(%rbp),%eax
jge    1420 <main+0x260>
movslq -0x148(%rbp),%rax
mov    -0x30(%rbp,%rax,8),%rsi
lea    0xc75(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x148(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x148(%rbp)
jmp    13e0 <main+0x220>
mov    0x2ba1(%rip),%rax
mov    (%rax),%eax
add    $0x150,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x148,%rsp
xor    %r14d,%r14d
lea    0xe3a(%rip),%r12
lea    0xd(%rsp),%rbx
lea    0x40(%rsp),%r13
cs nopw 0x0(%rax,%rax,1)
nop
mov    0x2dc9(%rip),%rax
mov    (%rax),%esi
lea    0xdf0(%rip),%rdi
call   1070 <fputs@plt>
mov    %r12,%rdi
lea    0x8(%rsp),%rsi
call   10b0 <scanf@plt>
mov    0x8(%rsp),%edx
lea    -0x19(%rdx),%eax
cmp    $0xffffffe7,%eax
jbe    13a3 <main+0x1d3>
mov    %rbx,%rdi
mov    %r12,%rsi
call   10e0 <sprintf@plt>
mov    %r13,%rdi
mov    $0xff,%esi
call   10c0 <read_line@plt>
xor    %ebp,%ebp
test   %r14,%r14
je     127e <main+0xae>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    0x10(%rsp,%rbp,8),%rsi
mov    %rbx,%rdi
call   1080 <strcmp@plt>
test   %rax,%rax
js     127e <main+0xae>
add    $0x1,%rbp
cmp    %rbp,%r14
jne    1260 <main+0x90>
mov    %r14,%rbp
mov    %ebp,%r15d
cmp    %r15,%r14
jbe    12d0 <main+0x100>
movslq %r15d,%rax
lea    -0x1(%r14),%rcx
mov    0x8(%rsp,%r14,8),%rdx
mov    %rdx,0x10(%rsp,%r14,8)
cmp    %rax,%rcx
jle    12d0 <main+0x100>
lea    -0x2(%r14),%rcx
mov    (%rsp,%r14,8),%rdx
mov    %rdx,0x8(%rsp,%r14,8)
cmp    %rax,%rcx
jle    12d0 <main+0x100>
lea    -0x3(%r14),%rcx
mov    -0x8(%rsp,%r14,8),%rdx
mov    %rdx,(%rsp,%r14,8)
cmp    %rax,%rcx
jle    12d0 <main+0x100>
mov    -0x10(%rsp,%r14,8),%rax
mov    %rax,-0x8(%rsp,%r14,8)
nopw   0x0(%rax,%rax,1)
mov    %r13,%rdi
call   1050 <strlen@plt>
lea    0x3(%rax),%rdi
call   10a0 <malloc@plt>
mov    %rax,0x10(%rsp,%r15,8)
test   %rax,%rax
je     133b <main+0x16b>
mov    %rax,%rbp
mov    %rax,%rdi
mov    %rbx,%rsi
call   1030 <strcpy@plt>
mov    %rbp,%rdi
mov    %r13,%rsi
call   10d0 <strcat@plt>
add    $0x1,%r14
cmp    $0x5,%r14
jne    1200 <main+0x30>
lea    0xd4f(%rip),%rdi
call   1040 <puts@plt>
mov    0x2cab(%rip),%rax
mov    (%rax),%esi
lea    0xd23(%rip),%rdi
call   1070 <fputs@plt>
mov    $0x5,%r14d
jmp    1361 <main+0x191>
lea    0xd26(%rip),%rdi
call   1040 <puts@plt>
mov    0x2c82(%rip),%rax
mov    (%rax),%esi
lea    0xcfa(%rip),%rdi
call   1070 <fputs@plt>
test   %r14d,%r14d
je     1388 <main+0x1b8>
lea    0xcfb(%rip),%rbx
xor    %ebp,%ebp
nopw   0x0(%rax,%rax,1)
mov    0x10(%rsp,%rbp,8),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
add    $0x1,%rbp
cmp    %rbp,%r14
jne    1370 <main+0x1a0>
mov    0x2c39(%rip),%rax
mov    (%rax),%eax
add    $0x148,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    0x2c36(%rip),%rax
mov    (%rax),%edi
lea    0xc76(%rip),%rsi
call   1090 <fprintf@plt>
mov    0x2c19(%rip),%rax
mov    (%rax),%edi
call   10f0 <exit@plt>

LLVM IR (-O0):
@.str = [23 x i8] c"--- No space left ---\0A\00"
@.str.1 = [37 x i8] c"Enter hour (from 1 to 24) and note: \00"
@stdout = global i32 0
@.str.2 = [4 x i8] c"%2d\00"
@stderr = global i32 0
@.str.3 = [40 x i8] c"Err. hour must be >= 1 and <= 24. Exit\0A\00"
@EXIT_FAILURE = global i32 0
@.str.4 = [18 x i8] c"\0AToday's notes: \0A\00"
@.str.5 = [5 x i8] c" %s\0A\00"
@EXIT_SUCCESS = global i32 0
define i32 @main() {
%1 = alloca i32
%2 = alloca [5 x i8*]
%3 = alloca [3 x i8]
%4 = alloca [256 x i8]
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
store i32 0, i32* %1
store i32 0, i32* %8
br label %9
9: ; preds = %85, %0
%10 = load i32, i32* %8
%11 = icmp eq i32 %10, 5
br i1 %11, label %12, label %14
12: ; preds = %9
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0))
br label %100
14: ; preds = %9
%15 = load i32, i32* @stdout
%16 = call i32 @fputs(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.1, i64 0, i64 0), i32 %15)
%17 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32* %5)
%18 = load i32, i32* %5
%19 = icmp slt i32 %18, 1
br i1 %19, label %23, label %20
20: ; preds = %14
%21 = load i32, i32* %5
%22 = icmp sgt i32 %21, 24
br i1 %22, label %23, label %28
23: ; preds = %20, %14
%24 = load i32, i32* @stderr
%25 = call i32 @fprintf(i32 %24, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.3, i64 0, i64 0))
%26 = load i32, i32* @EXIT_FAILURE
%27 = call i32 @exit(i32 %26)
unreachable
28: ; preds = %20
%29 = getelementptr inbounds [3 x i8], [3 x i8]* %3, i64 0, i64 0
%30 = load i32, i32* %5
%31 = call i32 @sprintf(i8* %29, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %30)
%32 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%33 = call i32 @read_line(i8* %32, i32 255)
store i32 0, i32* %6
br label %34
34: ; preds = %48, %28
%35 = load i32, i32* %6
%36 = load i32, i32* %8
%37 = icmp slt i32 %35, %36
br i1 %37, label %38, label %51
38: ; preds = %34
%39 = getelementptr inbounds [3 x i8], [3 x i8]* %3, i64 0, i64 0
%40 = load i32, i32* %6
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [5 x i8*], [5 x i8*]* %2, i64 0, i64 %41
%43 = load i8*, i8** %42
%44 = call i64 @strcmp(i8* %39, i8* %43)
%45 = icmp slt i64 %44, 0
br i1 %45, label %46, label %47
46: ; preds = %38
br label %51
47: ; preds = %38
br label %48
48: ; preds = %47
%49 = load i32, i32* %6
%50 = add nsw i32 %49, 1
store i32 %50, i32* %6
br label %34
51: ; preds = %46, %34
%52 = load i32, i32* %8
store i32 %52, i32* %7
br label %53
53: ; preds = %66, %51
%54 = load i32, i32* %7
%55 = load i32, i32* %6
%56 = icmp sgt i32 %54, %55
br i1 %56, label %57, label %69
57: ; preds = %53
%58 = load i32, i32* %7
%59 = sub nsw i32 %58, 1
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [5 x i8*], [5 x i8*]* %2, i64 0, i64 %60
%62 = load i8*, i8** %61
%63 = load i32, i32* %7
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [5 x i8*], [5 x i8*]* %2, i64 0, i64 %64
store i8* %62, i8** %65
br label %66
66: ; preds = %57
%67 = load i32, i32* %7
%68 = add nsw i32 %67, -1
store i32 %68, i32* %7
br label %53
69: ; preds = %53
%70 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%71 = call i64 @strlen(i8* %70)
%72 = add nsw i64 2, %71
%73 = add nsw i64 %72, 1
%74 = call i8* @malloc(i64 %73)
%75 = load i32, i32* %6
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds [5 x i8*], [5 x i8*]* %2, i64 0, i64 %76
store i8* %74, i8** %77
%78 = load i32, i32* %6
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds [5 x i8*], [5 x i8*]* %2, i64 0, i64 %79
%81 = load i8*, i8** %80
%82 = icmp eq i8* %81, null
br i1 %82, label %83, label %85
83: ; preds = %69
%84 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0))
br label %100
85: ; preds = %69
%86 = load i32, i32* %6
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds [5 x i8*], [5 x i8*]* %2, i64 0, i64 %87
%89 = load i8*, i8** %88
%90 = getelementptr inbounds [3 x i8], [3 x i8]* %3, i64 0, i64 0
%91 = call i32 @strcpy(i8* %89, i8* %90)
%92 = load i32, i32* %6
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds [5 x i8*], [5 x i8*]* %2, i64 0, i64 %93
%95 = load i8*, i8** %94
%96 = getelementptr inbounds [256 x i8], [256 x i8]* %4, i64 0, i64 0
%97 = call i32 @strcat(i8* %95, i8* %96)
%98 = load i32, i32* %8
%99 = add nsw i32 %98, 1
store i32 %99, i32* %8
br label %9
100: ; preds = %83, %12
%101 = load i32, i32* @stdout
%102 = call i32 @fputs(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.4, i64 0, i64 0), i32 %101)
store i32 0, i32* %6
br label %103
103: ; preds = %113, %100
%104 = load i32, i32* %6
%105 = load i32, i32* %8
%106 = icmp slt i32 %104, %105
br i1 %106, label %107, label %116
107: ; preds = %103
%108 = load i32, i32* %6
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds [5 x i8*], [5 x i8*]* %2, i64 0, i64 %109
%111 = load i8*, i8** %110
%112 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i8* %111)
br label %113
113: ; preds = %107
%114 = load i32, i32* %6
%115 = add nsw i32 %114, 1
store i32 %115, i32* %6
br label %103
116: ; preds = %103
%117 = load i32, i32* @EXIT_SUCCESS
ret i32 %117
}

LLVM IR (-O2):
@.str.1 = [37 x i8] c"Enter hour (from 1 to 24) and note: \00"
@stdout = global i32 0
@.str.2 = [4 x i8] c"%2d\00"
@stderr = global i32 0
@.str.3 = [40 x i8] c"Err. hour must be >= 1 and <= 24. Exit\0A\00"
@EXIT_FAILURE = global i32 0
@.str.4 = [18 x i8] c"\0AToday's notes: \0A\00"
@.str.5 = [5 x i8] c" %s\0A\00"
@EXIT_SUCCESS = global i32 0
@str.6 = [22 x i8] c"--- No space left ---\00"
define i32 @main() {
%1 = alloca [5 x i8*]
%2 = alloca [3 x i8]
%3 = alloca [256 x i8]
%4 = alloca i32
%5 = bitcast [5 x i8*]* %1 to i8*
%6 = getelementptr inbounds [3 x i8], [3 x i8]* %2, i64 0, i64 0
%7 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
%8 = bitcast i32* %4 to i8*
br label %13
9: ; preds = %76
%10 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.6, i64 0, i64 0))
%11 = load i32, i32* @stdout
%12 = call i32 @fputs(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.4, i64 0, i64 0), i32 %11)
br label %87
13: ; preds = %0, %76
%14 = phi i64 [ 0, %0 ], [ %79, %76 ]
%15 = load i32, i32* @stdout
%16 = call i32 @fputs(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.1, i64 0, i64 0), i32 %15)
%17 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32* %4)
%18 = load i32, i32* %4
%19 = add i32 %18, -25
%20 = icmp ult i32 %19, -24
br i1 %20, label %21, label %26
21: ; preds = %13
%22 = load i32, i32* @stderr
%23 = call i32 @fprintf(i32 %22, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.3, i64 0, i64 0))
%24 = load i32, i32* @EXIT_FAILURE
%25 = call i32 @exit(i32 %24)
unreachable
26: ; preds = %13
%27 = call i32 @sprintf(i8* %6, i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %18)
%28 = call i32 @read_line(i8* %7, i32 255)
%29 = icmp eq i64 %14, 0
br i1 %29, label %42, label %30
30: ; preds = %26, %36
%31 = phi i64 [ %37, %36 ], [ 0, %26 ]
%32 = getelementptr inbounds [5 x i8*], [5 x i8*]* %1, i64 0, i64 %31
%33 = load i8*, i8** %32
%34 = call i64 @strcmp(i8* %6, i8* %33)
%35 = icmp slt i64 %34, 0
br i1 %35, label %39, label %36
36: ; preds = %30
%37 = add nuw nsw i64 %31, 1
%38 = icmp eq i64 %37, %14
br i1 %38, label %39, label %30
39: ; preds = %30, %36
%40 = phi i64 [ %14, %36 ], [ %31, %30 ]
%41 = trunc i64 %40 to i32
br label %42
42: ; preds = %39, %26
%43 = phi i32 [ 0, %26 ], [ %41, %39 ]
%44 = zext i32 %43 to i64
%45 = icmp ugt i64 %14, %44
br i1 %45, label %46, label %70
46: ; preds = %42
%47 = sext i32 %43 to i64
%48 = add nsw i64 %14, -1
%49 = getelementptr inbounds [5 x i8*], [5 x i8*]* %1, i64 0, i64 %48
%50 = load i8*, i8** %49
%51 = getelementptr inbounds [5 x i8*], [5 x i8*]* %1, i64 0, i64 %14
store i8* %50, i8** %51
%52 = icmp sgt i64 %48, %47
br i1 %52, label %53, label %70
53: ; preds = %46
%54 = add nsw i64 %14, -2
%55 = getelementptr inbounds [5 x i8*], [5 x i8*]* %1, i64 0, i64 %54
%56 = load i8*, i8** %55
%57 = getelementptr inbounds [5 x i8*], [5 x i8*]* %1, i64 0, i64 %48
store i8* %56, i8** %57
%58 = icmp sgt i64 %54, %47
br i1 %58, label %59, label %70
59: ; preds = %53
%60 = add nsw i64 %14, -3
%61 = getelementptr inbounds [5 x i8*], [5 x i8*]* %1, i64 0, i64 %60
%62 = load i8*, i8** %61
%63 = getelementptr inbounds [5 x i8*], [5 x i8*]* %1, i64 0, i64 %54
store i8* %62, i8** %63
%64 = icmp sgt i64 %60, %47
br i1 %64, label %65, label %70
65: ; preds = %59
%66 = add nsw i64 %14, -4
%67 = getelementptr inbounds [5 x i8*], [5 x i8*]* %1, i64 0, i64 %66
%68 = load i8*, i8** %67
%69 = getelementptr inbounds [5 x i8*], [5 x i8*]* %1, i64 0, i64 %60
store i8* %68, i8** %69
br label %70
70: ; preds = %46, %53, %59, %65, %42
%71 = call i64 @strlen(i8* %7)
%72 = add nsw i64 %71, 3
%73 = call i8* @malloc(i64 %72)
%74 = getelementptr inbounds [5 x i8*], [5 x i8*]* %1, i64 0, i64 %44
store i8* %73, i8** %74
%75 = icmp eq i8* %73, null
br i1 %75, label %81, label %76
76: ; preds = %70
%77 = call i32 @strcpy(i8* %73, i8* %6)
%78 = call i32 @strcat(i8* %73, i8* %7)
%79 = add nuw nsw i64 %14, 1
%80 = icmp eq i64 %79, 5
br i1 %80, label %9, label %13
81: ; preds = %70
%82 = trunc i64 %14 to i32
%83 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.6, i64 0, i64 0))
%84 = load i32, i32* @stdout
%85 = call i32 @fputs(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.4, i64 0, i64 0), i32 %84)
%86 = icmp eq i32 %82, 0
br i1 %86, label %97, label %87
87: ; preds = %9, %81
%88 = phi i64 [ 5, %9 ], [ %14, %81 ]
%89 = and i64 %88, 4294967295
br label %90
90: ; preds = %87, %90
%91 = phi i64 [ 0, %87 ], [ %95, %90 ]
%92 = getelementptr inbounds [5 x i8*], [5 x i8*]* %1, i64 0, i64 %91
%93 = load i8*, i8** %92
%94 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i8* %93)
%95 = add nuw nsw i64 %91, 1
%96 = icmp eq i64 %95, %89
br i1 %96, label %97, label %90
97: ; preds = %90, %81
%98 = load i32, i32* @EXIT_SUCCESS
ret i32 %98
}