#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*/ time_t;

/* Variables and functions */
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ putchar(char);
int /*<<< orphan*/ puts(char *);
int rand();
int /*<<< orphan*/ scanf(char *, char *);
int /*<<< orphan*/ srand(int /*<<< orphan*/);
int /*<<< orphan*/ time(int /*<<< orphan*/ *);
main() {
  char esc;
  int rand_number[5] = {0};
  time_t timer;
  int temp_i, temp_j, buffer, did_swap = 0;
  puts("random number befor buble_sort");
  srand(time(&timer));
  for (int i = 0; i < 5; ++i) {
    rand_number[i] = (rand() % 10) + 1;
    printf("%d\n", rand_number[i]);
  }
  for (int i = 0; i < 5; ++i) {
    printf("%s\n", "outer counter");
    for (int j = i + 1; j < 5; ++j) {
      if (rand_number[i] > rand_number[j]) {
        buffer = rand_number[i];
        rand_number[i] = rand_number[j];
        rand_number[j] = buffer;
        did_swap = 1;
        printf("%s\n", "partial sorted sdtout");
        for (int i = 0; i < 5; ++i) {
          printf("%d\n", rand_number[i]);
        }
      }
    }
  }
  putchar('\n');
  for (int i = 0; i < 5; ++i) {
    printf("%d\n", rand_number[i]);
  }
  printf("\n\nexit point\n");
  scanf(" %c", &esc);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0x20(%rbp),%rdi
xor    %esi,%esi
mov    $0x14,%edx
call   1060 <memset@plt>
movl   $0x0,-0x34(%rbp)
lea    0xe53(%rip),%rdi
call   1040 <puts@plt>
lea    -0x24(%rbp),%rdi
call   1080 <time@plt>
mov    %eax,%edi
call   1070 <srand@plt>
movl   $0x0,-0x38(%rbp)
cmpl   $0x5,-0x38(%rbp)
jge    1211 <main+0x91>
mov    $0x0,%al
call   10a0 <rand@plt>
mov    $0xa,%ecx
cltd
idiv   %ecx
add    $0x1,%edx
movslq -0x38(%rbp),%rax
mov    %edx,-0x20(%rbp,%rax,4)
movslq -0x38(%rbp),%rax
mov    -0x20(%rbp,%rax,4),%esi
lea    0xe23(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    11c9 <main+0x49>
movl   $0x0,-0x3c(%rbp)
cmpl   $0x5,-0x3c(%rbp)
jge    1302 <main+0x182>
lea    0xdfa(%rip),%rdi
lea    0xdf7(%rip),%rsi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
cmpl   $0x5,-0x40(%rbp)
jge    12ef <main+0x16f>
movslq -0x3c(%rbp),%rax
mov    -0x20(%rbp,%rax,4),%eax
movslq -0x40(%rbp),%rcx
cmp    -0x20(%rbp,%rcx,4),%eax
jle    12dc <main+0x15c>
movslq -0x3c(%rbp),%rax
mov    -0x20(%rbp,%rax,4),%eax
mov    %eax,-0x30(%rbp)
movslq -0x40(%rbp),%rax
mov    -0x20(%rbp,%rax,4),%ecx
movslq -0x3c(%rbp),%rax
mov    %ecx,-0x20(%rbp,%rax,4)
mov    -0x30(%rbp),%ecx
movslq -0x40(%rbp),%rax
mov    %ecx,-0x20(%rbp,%rax,4)
movl   $0x1,-0x34(%rbp)
lea    0xd8f(%rip),%rdi
lea    0xd9a(%rip),%rsi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0x44(%rbp)
cmpl   $0x5,-0x44(%rbp)
jge    12d7 <main+0x157>
movslq -0x44(%rbp),%rax
mov    -0x20(%rbp,%rax,4),%esi
lea    0xd5d(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x44(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x44(%rbp)
jmp    12a9 <main+0x129>
jmp    12dc <main+0x15c>
jmp    12e1 <main+0x161>
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
jmp    1240 <main+0xc0>
jmp    12f4 <main+0x174>
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    1218 <main+0x98>
mov    $0xa,%edi
call   1030 <putchar@plt>
movl   $0x0,-0x48(%rbp)
cmpl   $0x5,-0x48(%rbp)
jge    1341 <main+0x1c1>
movslq -0x48(%rbp),%rax
mov    -0x20(%rbp,%rax,4),%esi
lea    0xcf3(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x48(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x48(%rbp)
jmp    1313 <main+0x193>
lea    0xd03(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xd03(%rip),%rdi
lea    -0x5(%rbp),%rsi
call   1090 <scanf@plt>
xor    %eax,%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x38,%rsp
lea    0xe7b(%rip),%rdi
call   1040 <puts@plt>
lea    0x34(%rsp),%rdi
call   1070 <time@plt>
mov    %eax,%edi
call   1060 <srand@plt>
xor    %eax,%eax
call   1090 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x22,%rcx
add    %edx,%ecx
add    %ecx,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
lea    (%rax,%rcx,1),%esi
add    $0x1,%esi
mov    %esi,0x10(%rsp)
lea    0xe4f(%rip),%r12
mov    %r12,%rdi
mov    %esi,0xc(%rsp)
xor    %eax,%eax
call   1050 <printf@plt>
xor    %eax,%eax
call   1090 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x22,%rcx
add    %edx,%ecx
add    %ecx,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
lea    (%rax,%rcx,1),%esi
add    $0x1,%esi
mov    %esi,0x14(%rsp)
mov    %r12,%rdi
mov    %esi,0x8(%rsp)
xor    %eax,%eax
call   1050 <printf@plt>
xor    %eax,%eax
call   1090 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x22,%rcx
add    %edx,%ecx
add    %ecx,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
lea    (%rax,%rcx,1),%r13d
add    $0x1,%r13d
mov    %r13d,0x18(%rsp)
mov    %r12,%rdi
mov    %r13d,%esi
xor    %eax,%eax
call   1050 <printf@plt>
xor    %eax,%eax
call   1090 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x22,%rcx
add    %edx,%ecx
add    %ecx,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
lea    (%rax,%rcx,1),%ebx
add    $0x1,%ebx
mov    %ebx,0x1c(%rsp)
mov    %r12,%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1050 <printf@plt>
xor    %eax,%eax
call   1090 <rand@plt>
cltq
imul   $0x66666667,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x22,%rcx
add    %edx,%ecx
add    %ecx,%ecx
lea    (%rcx,%rcx,4),%ecx
neg    %ecx
lea    (%rax,%rcx,1),%ebp
add    $0x1,%ebp
mov    %ebp,0x20(%rsp)
mov    %r12,%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1050 <printf@plt>
xor    %r15d,%r15d
jmp    12ef <main+0x17f>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    0x28(%rsp),%r15
cmp    $0x5,%r15
je     1399 <main+0x229>
lea    0xd2d(%rip),%rdi
call   1040 <puts@plt>
lea    0x1(%r15),%rax
cmp    $0x3,%r15
mov    %rax,0x28(%rsp)
ja     12e0 <main+0x170>
mov    %r15,%r14
jmp    131a <main+0x1aa>
nop
add    $0x1,%r14
cmp    $0x4,%r14
je     12e0 <main+0x170>
mov    0x10(%rsp,%r15,4),%eax
mov    0x14(%rsp,%r14,4),%ecx
cmp    %ecx,%eax
jle    1310 <main+0x1a0>
mov    %ecx,0x10(%rsp,%r15,4)
mov    %eax,0x14(%rsp,%r14,4)
lea    0xcf8(%rip),%rdi
call   1040 <puts@plt>
mov    0x10(%rsp),%esi
mov    %r12,%rdi
mov    %esi,0xc(%rsp)
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x14(%rsp),%esi
mov    %r12,%rdi
mov    %esi,0x8(%rsp)
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x18(%rsp),%r13d
mov    %r12,%rdi
mov    %r13d,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x1c(%rsp),%ebx
mov    %r12,%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x20(%rsp),%ebp
mov    %r12,%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1050 <printf@plt>
jmp    1310 <main+0x1a0>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xc75(%rip),%r12
mov    %r12,%rdi
mov    0xc(%rsp),%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r12,%rdi
mov    0x8(%rsp),%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r12,%rdi
mov    %r13d,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r12,%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r12,%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xc59(%rip),%rdi
call   1040 <puts@plt>
lea    0xc49(%rip),%rdi
lea    0x7(%rsp),%rsi
call   1080 <scanf@plt>
xor    %eax,%eax
add    $0x38,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [31 x i8] c"random number befor buble_sort\00"
@.str.1 = [4 x i8] c"%d\0A\00"
@.str.2 = [4 x i8] c"%s\0A\00"
@.str.3 = [14 x i8] c"outer counter\00"
@.str.4 = [22 x i8] c"partial sorted sdtout\00"
@.str.5 = [14 x i8] c"\0A\0Aexit point\0A\00"
@.str.6 = [4 x i8] c" %c\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i8
%3 = alloca [5 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 i32
%12 = alloca i32
%13 = alloca i32
store i32 0, i32* %1
%14 = bitcast [5 x i32]* %3 to i8*
store i32 0, i32* %8
%15 = call i32 @puts(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str, i64 0, i64 0))
%16 = call i32 @time(i32* %4)
%17 = call i32 @srand(i32 %16)
store i32 0, i32* %9
br label %18
18: ; preds = %33, %0
%19 = load i32, i32* %9
%20 = icmp slt i32 %19, 5
br i1 %20, label %21, label %36
21: ; preds = %18
%22 = call i32 (...) @rand()
%23 = srem i32 %22, 10
%24 = add nsw i32 %23, 1
%25 = load i32, i32* %9
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [5 x i32], [5 x i32]* %3, i64 0, i64 %26
store i32 %24, i32* %27
%28 = load i32, i32* %9
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [5 x i32], [5 x i32]* %3, i64 0, i64 %29
%31 = load i32, i32* %30
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %31)
br label %33
33: ; preds = %21
%34 = load i32, i32* %9
%35 = add nsw i32 %34, 1
store i32 %35, i32* %9
br label %18
36: ; preds = %18
store i32 0, i32* %10
br label %37
37: ; preds = %92, %36
%38 = load i32, i32* %10
%39 = icmp slt i32 %38, 5
br i1 %39, label %40, label %95
40: ; preds = %37
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0))
%42 = load i32, i32* %10
%43 = add nsw i32 %42, 1
store i32 %43, i32* %11
br label %44
44: ; preds = %88, %40
%45 = load i32, i32* %11
%46 = icmp slt i32 %45, 5
br i1 %46, label %47, label %91
47: ; preds = %44
%48 = load i32, i32* %10
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [5 x i32], [5 x i32]* %3, i64 0, i64 %49
%51 = load i32, i32* %50
%52 = load i32, i32* %11
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [5 x i32], [5 x i32]* %3, i64 0, i64 %53
%55 = load i32, i32* %54
%56 = icmp sgt i32 %51, %55
br i1 %56, label %57, label %87
57: ; preds = %47
%58 = load i32, i32* %10
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [5 x i32], [5 x i32]* %3, i64 0, i64 %59
%61 = load i32, i32* %60
store i32 %61, i32* %7
%62 = load i32, i32* %11
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [5 x i32], [5 x i32]* %3, i64 0, i64 %63
%65 = load i32, i32* %64
%66 = load i32, i32* %10
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [5 x i32], [5 x i32]* %3, i64 0, i64 %67
store i32 %65, i32* %68
%69 = load i32, i32* %7
%70 = load i32, i32* %11
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [5 x i32], [5 x i32]* %3, i64 0, i64 %71
store i32 %69, i32* %72
store i32 1, i32* %8
%73 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0))
store i32 0, i32* %12
br label %74
74: ; preds = %83, %57
%75 = load i32, i32* %12
%76 = icmp slt i32 %75, 5
br i1 %76, label %77, label %86
77: ; preds = %74
%78 = load i32, i32* %12
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds [5 x i32], [5 x i32]* %3, i64 0, i64 %79
%81 = load i32, i32* %80
%82 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %81)
br label %83
83: ; preds = %77
%84 = load i32, i32* %12
%85 = add nsw i32 %84, 1
store i32 %85, i32* %12
br label %74
86: ; preds = %74
br label %87
87: ; preds = %86, %47
br label %88
88: ; preds = %87
%89 = load i32, i32* %11
%90 = add nsw i32 %89, 1
store i32 %90, i32* %11
br label %44
91: ; preds = %44
br label %92
92: ; preds = %91
%93 = load i32, i32* %10
%94 = add nsw i32 %93, 1
store i32 %94, i32* %10
br label %37
95: ; preds = %37
%96 = call i32 @putchar(i8 signext 10)
store i32 0, i32* %13
br label %97
97: ; preds = %106, %95
%98 = load i32, i32* %13
%99 = icmp slt i32 %98, 5
br i1 %99, label %100, label %109
100: ; preds = %97
%101 = load i32, i32* %13
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds [5 x i32], [5 x i32]* %3, i64 0, i64 %102
%104 = load i32, i32* %103
%105 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %104)
br label %106
106: ; preds = %100
%107 = load i32, i32* %13
%108 = add nsw i32 %107, 1
store i32 %108, i32* %13
br label %97
109: ; preds = %97
%110 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.5, i64 0, i64 0))
%111 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8* %2)
ret i32 0
}

LLVM IR (-O2):
@.str = [31 x i8] c"random number befor buble_sort\00"
@.str.1 = [4 x i8] c"%d\0A\00"
@.str.3 = [14 x i8] c"outer counter\00"
@.str.4 = [22 x i8] c"partial sorted sdtout\00"
@.str.6 = [4 x i8] c" %c\00"
@str = [13 x i8] c"\0A\0Aexit point\00"
define i32 @main() {
%1 = alloca i8
%2 = alloca [5 x i32]
%3 = alloca i32
%4 = bitcast [5 x i32]* %2 to i8*
%5 = bitcast i32* %3 to i8*
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str, i64 0, i64 0))
%7 = call i32 @time(i32* %3)
%8 = call i32 @srand(i32 %7)
%9 = call i32 (...) @rand()
%10 = srem i32 %9, 10
%11 = add nsw i32 %10, 1
%12 = getelementptr inbounds [5 x i32], [5 x i32]* %2, i64 0, i64 0
store i32 %11, i32* %12
%13 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %11)
%14 = call i32 (...) @rand()
%15 = srem i32 %14, 10
%16 = add nsw i32 %15, 1
%17 = getelementptr inbounds [5 x i32], [5 x i32]* %2, i64 0, i64 1
store i32 %16, i32* %17
%18 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %16)
%19 = call i32 (...) @rand()
%20 = srem i32 %19, 10
%21 = add nsw i32 %20, 1
%22 = getelementptr inbounds [5 x i32], [5 x i32]* %2, i64 0, i64 2
store i32 %21, i32* %22
%23 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %21)
%24 = call i32 (...) @rand()
%25 = srem i32 %24, 10
%26 = add nsw i32 %25, 1
%27 = getelementptr inbounds [5 x i32], [5 x i32]* %2, i64 0, i64 3
store i32 %26, i32* %27
%28 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %26)
%29 = call i32 (...) @rand()
%30 = srem i32 %29, 10
%31 = add nsw i32 %30, 1
%32 = getelementptr inbounds [5 x i32], [5 x i32]* %2, i64 0, i64 4
store i32 %31, i32* %32
%33 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %31)
br label %51
34: ; preds = %87, %51
%35 = phi i32 [ %52, %51 ], [ %88, %87 ]
%36 = phi i32 [ %53, %51 ], [ %89, %87 ]
%37 = phi i32 [ %54, %51 ], [ %90, %87 ]
%38 = phi i32 [ %55, %51 ], [ %91, %87 ]
%39 = phi i32 [ %56, %51 ], [ %92, %87 ]
%40 = add nuw nsw i64 %58, 1
%41 = icmp eq i64 %60, 5
br i1 %41, label %42, label %51
42: ; preds = %34
%43 = call i32 @putchar(i8 signext 10)
%44 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %39)
%45 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %38)
%46 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %37)
%47 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %36)
%48 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %35)
%49 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @str, i64 0, i64 0))
%50 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8* %1)
ret i32 0
51: ; preds = %0, %34
%52 = phi i32 [ %31, %0 ], [ %35, %34 ]
%53 = phi i32 [ %26, %0 ], [ %36, %34 ]
%54 = phi i32 [ %21, %0 ], [ %37, %34 ]
%55 = phi i32 [ %16, %0 ], [ %38, %34 ]
%56 = phi i32 [ %11, %0 ], [ %39, %34 ]
%57 = phi i64 [ 0, %0 ], [ %60, %34 ]
%58 = phi i64 [ 1, %0 ], [ %40, %34 ]
%59 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0))
%60 = add nuw nsw i64 %57, 1
%61 = icmp ult i64 %57, 4
br i1 %61, label %62, label %34
62: ; preds = %51
%63 = getelementptr inbounds [5 x i32], [5 x i32]* %2, i64 0, i64 %57
br label %64
64: ; preds = %62, %87
%65 = phi i32 [ %52, %62 ], [ %88, %87 ]
%66 = phi i32 [ %53, %62 ], [ %89, %87 ]
%67 = phi i32 [ %54, %62 ], [ %90, %87 ]
%68 = phi i32 [ %55, %62 ], [ %91, %87 ]
%69 = phi i32 [ %56, %62 ], [ %92, %87 ]
%70 = phi i64 [ %58, %62 ], [ %93, %87 ]
%71 = load i32, i32* %63
%72 = getelementptr inbounds [5 x i32], [5 x i32]* %2, i64 0, i64 %70
%73 = load i32, i32* %72
%74 = icmp sgt i32 %71, %73
br i1 %74, label %75, label %87
75: ; preds = %64
store i32 %73, i32* %63
store i32 %71, i32* %72
%76 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0))
%77 = load i32, i32* %12
%78 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %77)
%79 = load i32, i32* %17
%80 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %79)
%81 = load i32, i32* %22
%82 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %81)
%83 = load i32, i32* %27
%84 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %83)
%85 = load i32, i32* %32
%86 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %85)
br label %87
87: ; preds = %75, %64
%88 = phi i32 [ %85, %75 ], [ %65, %64 ]
%89 = phi i32 [ %83, %75 ], [ %66, %64 ]
%90 = phi i32 [ %81, %75 ], [ %67, %64 ]
%91 = phi i32 [ %79, %75 ], [ %68, %64 ]
%92 = phi i32 [ %77, %75 ], [ %69, %64 ]
%93 = add nuw nsw i64 %70, 1
%94 = icmp eq i64 %93, 5
br i1 %94, label %34, label %64
}