#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 */
scalar_t__ EOF;
int /*<<< orphan*/ printf(char *, ...);
scalar_t__ scanf(char *, int *);
int /*<<< orphan*/ swap(int *, int *);
int main(int argc, char const *argv[]) {
  int arr[100], ct = 0, i, j, k, num;
  while (scanf("%d", &num) != EOF) {
    arr[ct] = num;
    ct++;
  }
  for (i = 1; i < ct; ++i) {
    printf("Chave: %d\n", arr[i]);
    printf("Estado Atual: ");
    for (j = 0; j < ct - 1; ++j)
      printf("%d | ", arr[j]);
    printf("%d\n", arr[ct - 1]);
    for (k = i; k > 0; k--) {
      if (arr[k] < arr[k - 1]) {
        swap(&arr[k], &arr[k - 1]);
        for (j = 0; j < ct - 1; ++j)
          printf("%d | ", arr[j]);
        printf("%d\n", arr[ct - 1]);
      }
    }
    printf("\n");
  }
  printf("Resultado Final: ");
  for (j = 0; j < ct - 1; ++j)
    printf("%d | ", arr[j]);
  printf("%d\n", arr[ct - 1]);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x1c0,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x1a4(%rbp)
lea    0xea6(%rip),%rdi
lea    -0x1b4(%rbp),%rsi
call   1040 <scanf@plt>
mov    0x2e7b(%rip),%rcx
cmp    (%rcx),%rax
je     119e <main+0x6e>
mov    -0x1b4(%rbp),%ecx
movslq -0x1a4(%rbp),%rax
mov    %ecx,-0x1a0(%rbp,%rax,4)
mov    -0x1a4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1a4(%rbp)
jmp    1153 <main+0x23>
movl   $0x1,-0x1a8(%rbp)
mov    -0x1a8(%rbp),%eax
cmp    -0x1a4(%rbp),%eax
jge    1374 <main+0x244>
movslq -0x1a8(%rbp),%rax
mov    -0x1a0(%rbp,%rax,4),%esi
lea    0xe34(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe31(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x1ac(%rbp)
mov    -0x1ac(%rbp),%eax
mov    -0x1a4(%rbp),%ecx
sub    $0x1,%ecx
cmp    %ecx,%eax
jge    1235 <main+0x105>
movslq -0x1ac(%rbp),%rax
mov    -0x1a0(%rbp,%rax,4),%esi
lea    0xe03(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1ac(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1ac(%rbp)
jmp    11ee <main+0xbe>
mov    -0x1a4(%rbp),%eax
sub    $0x1,%eax
cltq
mov    -0x1a0(%rbp,%rax,4),%esi
lea    0xdbc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1a8(%rbp),%eax
mov    %eax,-0x1b0(%rbp)
cmpl   $0x0,-0x1b0(%rbp)
jle    1352 <main+0x222>
movslq -0x1b0(%rbp),%rax
mov    -0x1a0(%rbp,%rax,4),%eax
mov    -0x1b0(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
cmp    -0x1a0(%rbp,%rcx,4),%eax
jge    1339 <main+0x209>
movslq -0x1b0(%rbp),%rax
lea    -0x1a0(%rbp),%rdi
shl    $0x2,%rax
add    %rax,%rdi
mov    -0x1b0(%rbp),%eax
sub    $0x1,%eax
cltq
lea    -0x1a0(%rbp),%rsi
shl    $0x2,%rax
add    %rax,%rsi
call   1050 <swap@plt>
movl   $0x0,-0x1ac(%rbp)
mov    -0x1ac(%rbp),%eax
mov    -0x1a4(%rbp),%ecx
sub    $0x1,%ecx
cmp    %ecx,%eax
jge    1319 <main+0x1e9>
movslq -0x1ac(%rbp),%rax
mov    -0x1a0(%rbp,%rax,4),%esi
lea    0xd1f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1ac(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1ac(%rbp)
jmp    12d2 <main+0x1a2>
mov    -0x1a4(%rbp),%eax
sub    $0x1,%eax
cltq
mov    -0x1a0(%rbp,%rax,4),%esi
lea    0xcd8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    133e <main+0x20e>
mov    -0x1b0(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x1b0(%rbp)
jmp    1261 <main+0x131>
lea    0xcb3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1a8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1a8(%rbp)
jmp    11a8 <main+0x78>
lea    0xca8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x1ac(%rbp)
mov    -0x1ac(%rbp),%eax
mov    -0x1a4(%rbp),%ecx
sub    $0x1,%ecx
cmp    %ecx,%eax
jge    13d3 <main+0x2a3>
movslq -0x1ac(%rbp),%rax
mov    -0x1a0(%rbp,%rax,4),%esi
lea    0xc65(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1ac(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1ac(%rbp)
jmp    138c <main+0x25c>
mov    -0x1a4(%rbp),%eax
sub    $0x1,%eax
cltq
mov    -0x1a0(%rbp,%rax,4),%esi
lea    0xc1e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x1c0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x1c8,%rsp
lea    0xea8(%rip),%rdi
lea    0xc(%rsp),%rsi
call   1050 <scanf@plt>
mov    0x2e7f(%rip),%rbp
xor    %r13d,%r13d
cmp    0x0(%rbp),%rax
je     12f9 <main+0x1b9>
xor    %r13d,%r13d
lea    0xe80(%rip),%r14
lea    0xc(%rsp),%rbx
cs nopw 0x0(%rax,%rax,1)
nop
mov    0xc(%rsp),%eax
mov    %eax,0x30(%rsp,%r13,4)
add    $0x1,%r13
mov    %r14,%rdi
mov    %rbx,%rsi
call   1050 <scanf@plt>
cmp    0x0(%rbp),%rax
jne    1190 <main+0x50>
cmp    $0x1,%r13d
jbe    12f9 <main+0x1b9>
lea    -0x1(%r13),%rax
mov    %rax,0x18(%rsp)
movslq %eax,%rcx
mov    %r13d,%eax
mov    %rax,0x20(%rsp)
mov    %rcx,%rax
mov    %rcx,0x10(%rsp)
mov    %ecx,%r15d
mov    $0x1,%r14d
lea    0xe39(%rip),%rbx
jmp    120e <main+0xce>
cs nopw 0x0(%rax,%rax,1)
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x28(%rsp),%r14
add    $0x1,%r14
cmp    0x20(%rsp),%r14
je     130d <main+0x1cd>
mov    0x30(%rsp,%r14,4),%esi
lea    0xde9(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xde6(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0x2,%r13d
jl     1257 <main+0x117>
xor    %ebp,%ebp
nopw   0x0(%rax,%rax,1)
mov    0x30(%rsp,%rbp,4),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
add    $0x1,%rbp
cmp    %rbp,%r15
jne    1240 <main+0x100>
mov    0x10(%rsp),%rax
mov    0x30(%rsp,%rax,4),%esi
lea    0xda3(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r14,0x28(%rsp)
jmp    12a4 <main+0x164>
cs nopw 0x0(%rax,%rax,1)
nop
mov    0x10(%rsp),%rax
mov    0x30(%rsp,%rax,4),%esi
lea    0xd7a(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0x1,%r14
mov    %r12,%r14
jle    11f0 <main+0xb0>
mov    0x30(%rsp,%r14,4),%ecx
lea    -0x1(%r14),%r12
mov    %r12d,%eax
cmp    0x30(%rsp,%rax,4),%ecx
jge    1297 <main+0x157>
lea    (%rsp,%r14,4),%rdi
add    $0x30,%rdi
lea    (%rsp,%rax,4),%rsi
add    $0x30,%rsi
call   1060 <swap@plt>
cmp    $0x2,%r13d
jl     1280 <main+0x140>
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    0x30(%rsp,%rbp,4),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
add    $0x1,%rbp
cmp    %rbp,%r15
jne    12e0 <main+0x1a0>
jmp    1280 <main+0x140>
add    $0xffffffff,%r13d
lea    0xd1f(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
jmp    135a <main+0x21a>
lea    0xd0f(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0x1,%r13d
mov    0x18(%rsp),%r14
jle    1357 <main+0x217>
add    $0xffffffff,%r13d
lea    0xcec(%rip),%rbx
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    0x30(%rsp,%rbp,4),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
add    $0x1,%rbp
cmp    %rbp,%r13
jne    1340 <main+0x200>
mov    %r14d,%r13d
movslq %r13d,%rax
mov    0x30(%rsp,%rax,4),%esi
lea    0xca2(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x1c8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [3 x i8] c"%d\00"
@EOF = global i64 0
@.str.1 = [11 x i8] c"Chave: %d\0A\00"
@.str.2 = [15 x i8] c"Estado Atual: \00"
@.str.3 = [6 x i8] c"%d | \00"
@.str.4 = [4 x i8] c"%d\0A\00"
@.str.5 = [2 x i8] c"\0A\00"
@.str.6 = [18 x i8] c"Resultado Final: \00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca [100 x i32]
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %7
br label %12
12: ; preds = %16, %2
%13 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %11)
%14 = load i64, i64* @EOF
%15 = icmp ne i64 %13, %14
br i1 %15, label %16, label %23
16: ; preds = %12
%17 = load i32, i32* %11
%18 = load i32, i32* %7
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [100 x i32], [100 x i32]* %6, i64 0, i64 %19
store i32 %17, i32* %20
%21 = load i32, i32* %7
%22 = add nsw i32 %21, 1
store i32 %22, i32* %7
br label %12
23: ; preds = %12
store i32 1, i32* %8
br label %24
24: ; preds = %107, %23
%25 = load i32, i32* %8
%26 = load i32, i32* %7
%27 = icmp slt i32 %25, %26
br i1 %27, label %28, label %110
28: ; preds = %24
%29 = load i32, i32* %8
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [100 x i32], [100 x i32]* %6, i64 0, i64 %30
%32 = load i32, i32* %31
%33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), i32 %32)
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.2, i64 0, i64 0))
store i32 0, i32* %9
br label %35
35: ; preds = %46, %28
%36 = load i32, i32* %9
%37 = load i32, i32* %7
%38 = sub nsw i32 %37, 1
%39 = icmp slt i32 %36, %38
br i1 %39, label %40, label %49
40: ; preds = %35
%41 = load i32, i32* %9
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [100 x i32], [100 x i32]* %6, i64 0, i64 %42
%44 = load i32, i32* %43
%45 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i32 %44)
br label %46
46: ; preds = %40
%47 = load i32, i32* %9
%48 = add nsw i32 %47, 1
store i32 %48, i32* %9
br label %35
49: ; preds = %35
%50 = load i32, i32* %7
%51 = sub nsw i32 %50, 1
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [100 x i32], [100 x i32]* %6, i64 0, i64 %52
%54 = load i32, i32* %53
%55 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 %54)
%56 = load i32, i32* %8
store i32 %56, i32* %10
br label %57
57: ; preds = %102, %49
%58 = load i32, i32* %10
%59 = icmp sgt i32 %58, 0
br i1 %59, label %60, label %105
60: ; preds = %57
%61 = load i32, i32* %10
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds [100 x i32], [100 x i32]* %6, i64 0, i64 %62
%64 = load i32, i32* %63
%65 = load i32, i32* %10
%66 = sub nsw i32 %65, 1
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [100 x i32], [100 x i32]* %6, i64 0, i64 %67
%69 = load i32, i32* %68
%70 = icmp slt i32 %64, %69
br i1 %70, label %71, label %101
71: ; preds = %60
%72 = load i32, i32* %10
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds [100 x i32], [100 x i32]* %6, i64 0, i64 %73
%75 = load i32, i32* %10
%76 = sub nsw i32 %75, 1
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds [100 x i32], [100 x i32]* %6, i64 0, i64 %77
%79 = call i32 @swap(i32* %74, i32* %78)
store i32 0, i32* %9
br label %80
80: ; preds = %91, %71
%81 = load i32, i32* %9
%82 = load i32, i32* %7
%83 = sub nsw i32 %82, 1
%84 = icmp slt i32 %81, %83
br i1 %84, label %85, label %94
85: ; preds = %80
%86 = load i32, i32* %9
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds [100 x i32], [100 x i32]* %6, i64 0, i64 %87
%89 = load i32, i32* %88
%90 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i32 %89)
br label %91
91: ; preds = %85
%92 = load i32, i32* %9
%93 = add nsw i32 %92, 1
store i32 %93, i32* %9
br label %80
94: ; preds = %80
%95 = load i32, i32* %7
%96 = sub nsw i32 %95, 1
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds [100 x i32], [100 x i32]* %6, i64 0, i64 %97
%99 = load i32, i32* %98
%100 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 %99)
br label %101
101: ; preds = %94, %60
br label %102
102: ; preds = %101
%103 = load i32, i32* %10
%104 = add nsw i32 %103, -1
store i32 %104, i32* %10
br label %57
105: ; preds = %57
%106 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
br label %107
107: ; preds = %105
%108 = load i32, i32* %8
%109 = add nsw i32 %108, 1
store i32 %109, i32* %8
br label %24
110: ; preds = %24
%111 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.6, i64 0, i64 0))
store i32 0, i32* %9
br label %112
112: ; preds = %123, %110
%113 = load i32, i32* %9
%114 = load i32, i32* %7
%115 = sub nsw i32 %114, 1
%116 = icmp slt i32 %113, %115
br i1 %116, label %117, label %126
117: ; preds = %112
%118 = load i32, i32* %9
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds [100 x i32], [100 x i32]* %6, i64 0, i64 %119
%121 = load i32, i32* %120
%122 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i32 %121)
br label %123
123: ; preds = %117
%124 = load i32, i32* %9
%125 = add nsw i32 %124, 1
store i32 %125, i32* %9
br label %112
126: ; preds = %112
%127 = load i32, i32* %7
%128 = sub nsw i32 %127, 1
%129 = sext i32 %128 to i64
%130 = getelementptr inbounds [100 x i32], [100 x i32]* %6, i64 0, i64 %129
%131 = load i32, i32* %130
%132 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 %131)
ret i32 0
}

LLVM IR (-O2):
@.str = [3 x i8] c"%d\00"
@EOF = global i64 0
@.str.1 = [11 x i8] c"Chave: %d\0A\00"
@.str.2 = [15 x i8] c"Estado Atual: \00"
@.str.3 = [6 x i8] c"%d | \00"
@.str.4 = [4 x i8] c"%d\0A\00"
@.str.6 = [18 x i8] c"Resultado Final: \00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca [100 x i32]
%4 = alloca i32
%5 = bitcast [100 x i32]* %3 to i8*
%6 = bitcast i32* %4 to i8*
%7 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %4)
%8 = load i64, i64* @EOF
%9 = icmp eq i64 %7, %8
br i1 %9, label %13, label %25
10: ; preds = %25
%11 = trunc i64 %29 to i32
%12 = icmp ugt i32 %11, 1
br i1 %12, label %17, label %13
13: ; preds = %10, %2
%14 = phi i32 [ %11, %10 ], [ 0, %2 ]
%15 = add nsw i32 %14, -1
%16 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.6, i64 0, i64 0))
br label %88
17: ; preds = %10
%18 = add i32 %11, -1
%19 = icmp sgt i32 %11, 1
%20 = sext i32 %18 to i64
%21 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 %20
%22 = and i64 %29, 4294967295
%23 = zext i32 %18 to i64
%24 = zext i32 %18 to i64
br label %33
25: ; preds = %2, %25
%26 = phi i64 [ %29, %25 ], [ 0, %2 ]
%27 = load i32, i32* %4
%28 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 %26
store i32 %27, i32* %28
%29 = add nuw i64 %26, 1
%30 = call i64 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %4)
%31 = load i64, i64* @EOF
%32 = icmp eq i64 %30, %31
br i1 %32, label %10, label %25
33: ; preds = %17, %72
%34 = phi i64 [ 1, %17 ], [ %74, %72 ]
%35 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 %34
%36 = load i32, i32* %35
%37 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), i32 %36)
%38 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.2, i64 0, i64 0))
br i1 %19, label %39, label %46
39: ; preds = %33, %39
%40 = phi i64 [ %44, %39 ], [ 0, %33 ]
%41 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 %40
%42 = load i32, i32* %41
%43 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i32 %42)
%44 = add nuw nsw i64 %40, 1
%45 = icmp eq i64 %44, %23
br i1 %45, label %46, label %39
46: ; preds = %39, %33
%47 = load i32, i32* %21
%48 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 %47)
br label %49
49: ; preds = %46, %70
%50 = phi i64 [ %34, %46 ], [ %53, %70 ]
%51 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 %50
%52 = load i32, i32* %51
%53 = add nsw i64 %50, -1
%54 = and i64 %53, 4294967295
%55 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 %54
%56 = load i32, i32* %55
%57 = icmp slt i32 %52, %56
br i1 %57, label %58, label %70
58: ; preds = %49
%59 = call i32 @swap(i32* %51, i32* %55)
br i1 %19, label %60, label %67
60: ; preds = %58, %60
%61 = phi i64 [ %65, %60 ], [ 0, %58 ]
%62 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 %61
%63 = load i32, i32* %62
%64 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i32 %63)
%65 = add nuw nsw i64 %61, 1
%66 = icmp eq i64 %65, %24
br i1 %66, label %67, label %60
67: ; preds = %60, %58
%68 = load i32, i32* %21
%69 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 %68)
br label %70
70: ; preds = %49, %67
%71 = icmp sgt i64 %50, 1
br i1 %71, label %49, label %72
72: ; preds = %70
%73 = call i32 @putchar(i32 10)
%74 = add nuw nsw i64 %34, 1
%75 = icmp eq i64 %74, %22
br i1 %75, label %76, label %33
76: ; preds = %72
%77 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.6, i64 0, i64 0))
%78 = icmp sgt i32 %11, 1
br i1 %78, label %79, label %88
79: ; preds = %76
%80 = zext i32 %18 to i64
br label %81
81: ; preds = %79, %81
%82 = phi i64 [ 0, %79 ], [ %86, %81 ]
%83 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 %82
%84 = load i32, i32* %83
%85 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i32 %84)
%86 = add nuw nsw i64 %82, 1
%87 = icmp eq i64 %86, %80
br i1 %87, label %88, label %81
88: ; preds = %81, %13, %76
%89 = phi i32 [ %15, %13 ], [ %18, %76 ], [ %18, %81 ]
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 %90
%92 = load i32, i32* %91
%93 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 %92)
ret i32 0
}