#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*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, int *);
int main() {
  int i, j, aprovado = 0, soma, matriz[3][5];
  for (i = 0; i < 3; i++) {
    soma = 0;
    printf("Digite sua matricula");
    scanf("%d", &matriz[i][0]);
    for (j = 1; j < 5 - 1; j++) {
      printf("digite sua %d nota", j);
      scanf("%d", &matriz[i][j]);
      soma = soma + matriz[i][j];
    }
    matriz[i][4] = soma / 3;
  }
  for (i = 0; i < 3; i++) {
    if (matriz[i][4] >= 70) {
      printf("aluno da matricula %d APROVADO\n", matriz[i][0]);
      aprovado++;
    } else {
      printf("Aluno da matricula %d REPROVADO\n", matriz[i][0]);
    }
  }
  printf("a quantidade de alunos aprovados foram de %d", aprovado);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0x10(%rbp)
movl   $0x0,-0x8(%rbp)
cmpl   $0x3,-0x8(%rbp)
jge    1216 <main+0xf6>
movl   $0x0,-0x14(%rbp)
lea    0xeab(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movslq -0x8(%rbp),%rax
lea    -0x50(%rbp),%rsi
imul   $0x14,%rax,%rax
add    %rax,%rsi
lea    0xf21(%rip),%rdi
call   1040 <scanf@plt>
movl   $0x1,-0xc(%rbp)
cmpl   $0x4,-0xc(%rbp)
jge    11e9 <main+0xc9>
mov    -0xc(%rbp),%esi
lea    0xe83(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movslq -0x8(%rbp),%rax
lea    -0x50(%rbp),%rsi
imul   $0x14,%rax,%rax
add    %rax,%rsi
movslq -0xc(%rbp),%rax
shl    $0x2,%rax
add    %rax,%rsi
lea    0xed9(%rip),%rdi
call   1040 <scanf@plt>
mov    -0x14(%rbp),%eax
movslq -0x8(%rbp),%rdx
lea    -0x50(%rbp),%rcx
imul   $0x14,%rdx,%rdx
add    %rdx,%rcx
movslq -0xc(%rbp),%rdx
add    (%rcx,%rdx,4),%eax
mov    %eax,-0x14(%rbp)
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    117e <main+0x5e>
mov    -0x14(%rbp),%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
mov    %eax,%ecx
movslq -0x8(%rbp),%rdx
lea    -0x50(%rbp),%rax
imul   $0x14,%rdx,%rdx
add    %rdx,%rax
mov    %ecx,0x10(%rax)
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    113d <main+0x1d>
movl   $0x0,-0x8(%rbp)
cmpl   $0x3,-0x8(%rbp)
jge    129f <main+0x17f>
movslq -0x8(%rbp),%rcx
lea    -0x50(%rbp),%rax
imul   $0x14,%rcx,%rcx
add    %rcx,%rax
cmpl   $0x46,0x10(%rax)
jl     126d <main+0x14d>
movslq -0x8(%rbp),%rcx
lea    -0x50(%rbp),%rax
imul   $0x14,%rcx,%rcx
add    %rcx,%rax
mov    (%rax),%esi
lea    0xdd0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    128c <main+0x16c>
movslq -0x8(%rbp),%rcx
lea    -0x50(%rbp),%rax
imul   $0x14,%rcx,%rcx
add    %rcx,%rax
mov    (%rax),%esi
lea    0xdc3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1291 <main+0x171>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    121d <main+0xfd>
mov    -0x10(%rbp),%esi
lea    0xdc0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %rbx
sub    $0x48,%rsp
lea    0xecf(%rip),%r15
mov    %r15,%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xf51(%rip),%rbx
mov    %rsp,%rsi
mov    %rbx,%rdi
call   1040 <scanf@plt>
lea    0xec1(%rip),%r14
mov    %r14,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0x4(%rsp),%rsi
mov    %rbx,%rdi
call   1040 <scanf@plt>
mov    0x4(%rsp),%ebp
mov    %r14,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0x8(%rsp),%rsi
mov    %rbx,%rdi
call   1040 <scanf@plt>
add    0x8(%rsp),%ebp
mov    %r14,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xc(%rsp),%rsi
mov    %rbx,%rdi
call   1040 <scanf@plt>
add    0xc(%rsp),%ebp
movslq %ebp,%rax
imul   $0x55555556,%rax,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
shr    $0x20,%rax
add    %ecx,%eax
mov    %eax,0x10(%rsp)
mov    %r15,%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0x14(%rsp),%rsi
mov    %rbx,%rdi
call   1040 <scanf@plt>
mov    %r14,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0x18(%rsp),%rsi
mov    %rbx,%rdi
call   1040 <scanf@plt>
mov    0x18(%rsp),%ebp
mov    %r14,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0x1c(%rsp),%rsi
mov    %rbx,%rdi
call   1040 <scanf@plt>
add    0x1c(%rsp),%ebp
mov    %r14,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0x20(%rsp),%rsi
mov    %rbx,%rdi
call   1040 <scanf@plt>
add    0x20(%rsp),%ebp
movslq %ebp,%rax
imul   $0x55555556,%rax,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
shr    $0x20,%rax
add    %ecx,%eax
mov    %eax,0x24(%rsp)
mov    %r15,%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0x28(%rsp),%rsi
mov    %rbx,%rdi
call   1040 <scanf@plt>
mov    %r14,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0x2c(%rsp),%rsi
mov    %rbx,%rdi
call   1040 <scanf@plt>
mov    0x2c(%rsp),%ebp
mov    %r14,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0x30(%rsp),%rsi
mov    %rbx,%rdi
call   1040 <scanf@plt>
add    0x30(%rsp),%ebp
mov    %r14,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0x34(%rsp),%rsi
mov    %rbx,%rdi
call   1040 <scanf@plt>
add    0x34(%rsp),%ebp
movslq %ebp,%rax
imul   $0x55555556,%rax,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
shr    $0x20,%rax
add    %ecx,%eax
mov    %eax,0x38(%rsp)
mov    (%rsp),%esi
mov    0x10(%rsp),%ebp
cmp    $0x46,%ebp
lea    0xd24(%rip),%rax
lea    0xd3d(%rip),%rdi
cmovge %rax,%rdi
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x14(%rsp),%esi
cmpl   $0x45,0x24(%rsp)
jle    133c <main+0x21c>
xor    %ebx,%ebx
cmp    $0x46,%ebp
setge  %bl
lea    0xcf8(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
add    $0x1,%ebx
jmp    1352 <main+0x232>
xor    %ebx,%ebx
cmp    $0x46,%ebp
setge  %bl
lea    0xcfd(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x28(%rsp),%esi
cmpl   $0x45,0x38(%rsp)
jle    1370 <main+0x250>
lea    0xcc4(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
add    $0x1,%ebx
jmp    137e <main+0x25e>
lea    0xcd1(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xce4(%rip),%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x48,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [21 x i8] c"Digite sua matricula\00"
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [19 x i8] c"digite sua %d nota\00"
@.str.3 = [32 x i8] c"aluno da matricula %d APROVADO\0A\00"
@.str.4 = [33 x i8] c"Aluno da matricula %d REPROVADO\0A\00"
@.str.5 = [45 x i8] c"a quantidade de alunos aprovados foram de %d\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca [3 x [5 x i32]]
store i32 0, i32* %1
store i32 0, i32* %4
store i32 0, i32* %2
br label %7
7: ; preds = %49, %0
%8 = load i32, i32* %2
%9 = icmp slt i32 %8, 3
br i1 %9, label %10, label %52
10: ; preds = %7
store i32 0, i32* %5
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0))
%12 = load i32, i32* %2
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [3 x [5 x i32]], [3 x [5 x i32]]* %6, i64 0, i64 %13
%15 = getelementptr inbounds [5 x i32], [5 x i32]* %14, i64 0, i64 0
%16 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %15)
store i32 1, i32* %3
br label %17
17: ; preds = %39, %10
%18 = load i32, i32* %3
%19 = icmp slt i32 %18, 4
br i1 %19, label %20, label %42
20: ; preds = %17
%21 = load i32, i32* %3
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0), i32 %21)
%23 = load i32, i32* %2
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [3 x [5 x i32]], [3 x [5 x i32]]* %6, i64 0, i64 %24
%26 = load i32, i32* %3
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [5 x i32], [5 x i32]* %25, i64 0, i64 %27
%29 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %28)
%30 = load i32, i32* %5
%31 = load i32, i32* %2
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [3 x [5 x i32]], [3 x [5 x i32]]* %6, i64 0, i64 %32
%34 = load i32, i32* %3
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [5 x i32], [5 x i32]* %33, i64 0, i64 %35
%37 = load i32, i32* %36
%38 = add nsw i32 %30, %37
store i32 %38, i32* %5
br label %39
39: ; preds = %20
%40 = load i32, i32* %3
%41 = add nsw i32 %40, 1
store i32 %41, i32* %3
br label %17
42: ; preds = %17
%43 = load i32, i32* %5
%44 = sdiv i32 %43, 3
%45 = load i32, i32* %2
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [3 x [5 x i32]], [3 x [5 x i32]]* %6, i64 0, i64 %46
%48 = getelementptr inbounds [5 x i32], [5 x i32]* %47, i64 0, i64 4
store i32 %44, i32* %48
br label %49
49: ; preds = %42
%50 = load i32, i32* %2
%51 = add nsw i32 %50, 1
store i32 %51, i32* %2
br label %7
52: ; preds = %7
store i32 0, i32* %2
br label %53
53: ; preds = %80, %52
%54 = load i32, i32* %2
%55 = icmp slt i32 %54, 3
br i1 %55, label %56, label %83
56: ; preds = %53
%57 = load i32, i32* %2
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [3 x [5 x i32]], [3 x [5 x i32]]* %6, i64 0, i64 %58
%60 = getelementptr inbounds [5 x i32], [5 x i32]* %59, i64 0, i64 4
%61 = load i32, i32* %60
%62 = icmp sge i32 %61, 70
br i1 %62, label %63, label %72
63: ; preds = %56
%64 = load i32, i32* %2
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [3 x [5 x i32]], [3 x [5 x i32]]* %6, i64 0, i64 %65
%67 = getelementptr inbounds [5 x i32], [5 x i32]* %66, i64 0, i64 0
%68 = load i32, i32* %67
%69 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.3, i64 0, i64 0), i32 %68)
%70 = load i32, i32* %4
%71 = add nsw i32 %70, 1
store i32 %71, i32* %4
br label %79
72: ; preds = %56
%73 = load i32, i32* %2
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds [3 x [5 x i32]], [3 x [5 x i32]]* %6, i64 0, i64 %74
%76 = getelementptr inbounds [5 x i32], [5 x i32]* %75, i64 0, i64 0
%77 = load i32, i32* %76
%78 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.4, i64 0, i64 0), i32 %77)
br label %79
79: ; preds = %72, %63
br label %80
80: ; preds = %79
%81 = load i32, i32* %2
%82 = add nsw i32 %81, 1
store i32 %82, i32* %2
br label %53
83: ; preds = %53
%84 = load i32, i32* %4
%85 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.5, i64 0, i64 0), i32 %84)
ret i32 0
}

LLVM IR (-O2):
@.str = [21 x i8] c"Digite sua matricula\00"
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [19 x i8] c"digite sua %d nota\00"
@.str.3 = [32 x i8] c"aluno da matricula %d APROVADO\0A\00"
@.str.4 = [33 x i8] c"Aluno da matricula %d REPROVADO\0A\00"
@.str.5 = [45 x i8] c"a quantidade de alunos aprovados foram de %d\00"
define i32 @main() {
%1 = alloca [3 x [5 x i32]]
%2 = bitcast [3 x [5 x i32]]* %1 to i8*
%3 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0))
%4 = getelementptr inbounds [3 x [5 x i32]], [3 x [5 x i32]]* %1, i64 0, i64 0, i64 0
%5 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %4)
%6 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0), i32 1)
%7 = getelementptr inbounds [3 x [5 x i32]], [3 x [5 x i32]]* %1, i64 0, i64 0, i64 1
%8 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %7)
%9 = load i32, i32* %7
%10 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0), i32 2)
%11 = getelementptr inbounds [3 x [5 x i32]], [3 x [5 x i32]]* %1, i64 0, i64 0, i64 2
%12 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %11)
%13 = load i32, i32* %11
%14 = add nsw i32 %13, %9
%15 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0), i32 3)
%16 = getelementptr inbounds [3 x [5 x i32]], [3 x [5 x i32]]* %1, i64 0, i64 0, i64 3
%17 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %16)
%18 = load i32, i32* %16
%19 = add nsw i32 %18, %14
%20 = sdiv i32 %19, 3
%21 = getelementptr inbounds [3 x [5 x i32]], [3 x [5 x i32]]* %1, i64 0, i64 0, i64 4
store i32 %20, i32* %21
%22 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0))
%23 = getelementptr inbounds [3 x [5 x i32]], [3 x [5 x i32]]* %1, i64 0, i64 1, i64 0
%24 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %23)
%25 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0), i32 1)
%26 = getelementptr inbounds [3 x [5 x i32]], [3 x [5 x i32]]* %1, i64 0, i64 1, i64 1
%27 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %26)
%28 = load i32, i32* %26
%29 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0), i32 2)
%30 = getelementptr inbounds [3 x [5 x i32]], [3 x [5 x i32]]* %1, i64 0, i64 1, i64 2
%31 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %30)
%32 = load i32, i32* %30
%33 = add nsw i32 %32, %28
%34 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0), i32 3)
%35 = getelementptr inbounds [3 x [5 x i32]], [3 x [5 x i32]]* %1, i64 0, i64 1, i64 3
%36 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %35)
%37 = load i32, i32* %35
%38 = add nsw i32 %37, %33
%39 = sdiv i32 %38, 3
%40 = getelementptr inbounds [3 x [5 x i32]], [3 x [5 x i32]]* %1, i64 0, i64 1, i64 4
store i32 %39, i32* %40
%41 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0))
%42 = getelementptr inbounds [3 x [5 x i32]], [3 x [5 x i32]]* %1, i64 0, i64 2, i64 0
%43 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %42)
%44 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0), i32 1)
%45 = getelementptr inbounds [3 x [5 x i32]], [3 x [5 x i32]]* %1, i64 0, i64 2, i64 1
%46 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %45)
%47 = load i32, i32* %45
%48 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0), i32 2)
%49 = getelementptr inbounds [3 x [5 x i32]], [3 x [5 x i32]]* %1, i64 0, i64 2, i64 2
%50 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %49)
%51 = load i32, i32* %49
%52 = add nsw i32 %51, %47
%53 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0), i32 3)
%54 = getelementptr inbounds [3 x [5 x i32]], [3 x [5 x i32]]* %1, i64 0, i64 2, i64 3
%55 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %54)
%56 = load i32, i32* %54
%57 = add nsw i32 %56, %52
%58 = sdiv i32 %57, 3
%59 = getelementptr inbounds [3 x [5 x i32]], [3 x [5 x i32]]* %1, i64 0, i64 2, i64 4
store i32 %58, i32* %59
%60 = load i32, i32* %21
%61 = icmp sgt i32 %60, 69
%62 = getelementptr inbounds [3 x [5 x i32]], [3 x [5 x i32]]* %1, i64 0, i64 0, i64 0
%63 = load i32, i32* %62
%64 = select i1 %61, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.4, i64 0, i64 0)
%65 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) %64, i32 %63)
%66 = load i32, i32* %40
%67 = icmp sgt i32 %66, 69
%68 = getelementptr inbounds [3 x [5 x i32]], [3 x [5 x i32]]* %1, i64 0, i64 1, i64 0
%69 = load i32, i32* %68
br i1 %67, label %73, label %70
70: ; preds = %0
%71 = zext i1 %61 to i32
%72 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.4, i64 0, i64 0), i32 %69)
br label %76
73: ; preds = %0
%74 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.3, i64 0, i64 0), i32 %69)
%75 = select i1 %61, i32 2, i32 1
br label %76
76: ; preds = %73, %70
%77 = phi i32 [ %75, %73 ], [ %71, %70 ]
%78 = load i32, i32* %59
%79 = icmp sgt i32 %78, 69
%80 = getelementptr inbounds [3 x [5 x i32]], [3 x [5 x i32]]* %1, i64 0, i64 2, i64 0
%81 = load i32, i32* %80
br i1 %79, label %84, label %82
82: ; preds = %76
%83 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.4, i64 0, i64 0), i32 %81)
br label %87
84: ; preds = %76
%85 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.3, i64 0, i64 0), i32 %81)
%86 = add nuw nsw i32 %77, 1
br label %87
87: ; preds = %84, %82
%88 = phi i32 [ %86, %84 ], [ %77, %82 ]
%89 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.5, i64 0, i64 0), i32 %88)
ret i32 0
}