void escreve_matriz(int mat[9][9]) {
  int i, j;
  const char *const yellow = "\033[0;40;33m";
  const char *const normal = "\033[0m";
  const char *const blue = "\033[0;40;34m";
  printf("     %s1 2 3   4 5 6   7 8 9%s", blue, normal);
  printf("\n\n   +-------+-------+-------+\n%s1%s  | ", blue, normal);
  for (i = 0; i < 9; i++) {
    for (j = 0; j < 9; j++) {
      if (mat[i][j] != 0) {
        printf("%s%d%s ", yellow, mat[i][j], normal);
      } else
        printf("%d ", mat[i][j]);
      if (j == 2)
        printf("| ");
      if (j == 5)
        printf("| ");
      if (j == 8)
        printf("| ");
    }
    if (i == 2)
      printf("\n   |-------+-------+-------|\n%s4%s  | ", blue, normal);
    if (i == 5)
      printf("\n   |-------+-------+-------|\n%s7%s  | ", blue, normal);
    if ((i < 8) && (i != 2) && (i != 5))
      printf("\n   |\t   |\t   |\t   |\n%s%d%s  | ", blue, i + 2, normal);
  }
  printf("\n   +-------+-------+-------+\n");
}


x86 assembly (clang, -O0):
<escreve_matriz>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %rdi,-0x8(%rbp)
lea    0xedd(%rip),%rax
mov    %rax,-0x18(%rbp)
lea    0xedd(%rip),%rax
mov    %rax,-0x20(%rbp)
lea    0xed7(%rip),%rax
mov    %rax,-0x28(%rbp)
lea    0xed7(%rip),%rdi
lea    0xec5(%rip),%rsi
lea    0xeb9(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xeda(%rip),%rdi
lea    0xea9(%rip),%rsi
lea    0xe9d(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0xc(%rbp)
cmpl   $0x9,-0xc(%rbp)
jge    1309 <escreve_matriz+0x1f9>
movl   $0x0,-0x10(%rbp)
cmpl   $0x9,-0x10(%rbp)
jge    126a <escreve_matriz+0x15a>
mov    -0x8(%rbp),%rax
movslq -0xc(%rbp),%rcx
imul   $0x24,%rcx,%rcx
add    %rcx,%rax
movslq -0x10(%rbp),%rcx
cmpl   $0x0,(%rax,%rcx,4)
je     11eb <escreve_matriz+0xdb>
mov    -0x8(%rbp),%rax
movslq -0xc(%rbp),%rcx
imul   $0x24,%rcx,%rcx
add    %rcx,%rax
movslq -0x10(%rbp),%rcx
mov    (%rax,%rcx,4),%edx
lea    0xe92(%rip),%rdi
lea    0xe28(%rip),%rsi
lea    0xe2c(%rip),%rcx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    120f <escreve_matriz+0xff>
mov    -0x8(%rbp),%rax
movslq -0xc(%rbp),%rcx
imul   $0x24,%rcx,%rcx
add    %rcx,%rax
movslq -0x10(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xe63(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0x2,-0x10(%rbp)
jne    1227 <escreve_matriz+0x117>
lea    0xe40(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0x5,-0x10(%rbp)
jne    123f <escreve_matriz+0x12f>
lea    0xe28(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0x8,-0x10(%rbp)
jne    1257 <escreve_matriz+0x147>
lea    0xe10(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    125c <escreve_matriz+0x14c>
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    118d <escreve_matriz+0x7d>
cmpl   $0x2,-0xc(%rbp)
jne    1290 <escreve_matriz+0x180>
lea    0xdf4(%rip),%rdi
lea    0xd8e(%rip),%rsi
lea    0xd82(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0x5,-0xc(%rbp)
jne    12b6 <escreve_matriz+0x1a6>
lea    0xdf6(%rip),%rdi
lea    0xd68(%rip),%rsi
lea    0xd5c(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0x8,-0xc(%rbp)
jge    12f6 <escreve_matriz+0x1e6>
cmpl   $0x2,-0xc(%rbp)
je     12f6 <escreve_matriz+0x1e6>
cmpl   $0x5,-0xc(%rbp)
je     12f6 <escreve_matriz+0x1e6>
mov    -0xc(%rbp),%edx
add    $0x2,%edx
lea    0xdde(%rip),%rdi
lea    0xd28(%rip),%rsi
lea    0xd1c(%rip),%rcx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12fb <escreve_matriz+0x1eb>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    117c <escreve_matriz+0x6c>
lea    0xdcf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<escreve_matriz>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %rdi,%rbx
lea    0xee6(%rip),%rdi
lea    0xed4(%rip),%rbp
lea    0xec8(%rip),%r15
mov    %rbp,%rsi
mov    %r15,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xee3(%rip),%rdi
mov    %rbp,%rsi
mov    %r15,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
add    $0x20,%rbx
lea    0xefc(%rip),%r12
lea    0xeed(%rip),%rbp
lea    0xe83(%rip),%r14
xor    %r13d,%r13d
jmp    11ba <escreve_matriz+0x9a>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
lea    0xf00(%rip),%rdi
lea    0xe72(%rip),%rsi
mov    %r15,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
add    $0x1,%r13
add    $0x24,%rbx
cmp    $0x9,%r13
je     13f5 <escreve_matriz+0x2d5>
mov    -0x20(%rbx),%edx
test   %edx,%edx
je     11e0 <escreve_matriz+0xc0>
mov    %rbp,%rdi
mov    %r14,%rsi
mov    %r15,%rcx
xor    %eax,%eax
call   1040 <printf@plt>
jmp    11ec <escreve_matriz+0xcc>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    %r12,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    -0x1c(%rbx),%edx
test   %edx,%edx
je     1210 <escreve_matriz+0xf0>
mov    %rbp,%rdi
mov    %r14,%rsi
mov    %r15,%rcx
xor    %eax,%eax
call   1040 <printf@plt>
jmp    121c <escreve_matriz+0xfc>
cs nopw 0x0(%rax,%rax,1)
nop
mov    %r12,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    -0x18(%rbx),%edx
test   %edx,%edx
je     1240 <escreve_matriz+0x120>
mov    %rbp,%rdi
mov    %r14,%rsi
mov    %r15,%rcx
xor    %eax,%eax
call   1040 <printf@plt>
jmp    124c <escreve_matriz+0x12c>
cs nopw 0x0(%rax,%rax,1)
nop
mov    %r12,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe0d(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    -0x14(%rbx),%edx
test   %edx,%edx
je     1280 <escreve_matriz+0x160>
mov    %rbp,%rdi
mov    %r14,%rsi
mov    %r15,%rcx
xor    %eax,%eax
call   1040 <printf@plt>
jmp    128c <escreve_matriz+0x16c>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    %r12,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    -0x10(%rbx),%edx
test   %edx,%edx
je     12b0 <escreve_matriz+0x190>
mov    %rbp,%rdi
mov    %r14,%rsi
mov    %r15,%rcx
xor    %eax,%eax
call   1040 <printf@plt>
jmp    12bc <escreve_matriz+0x19c>
cs nopw 0x0(%rax,%rax,1)
nop
mov    %r12,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    -0xc(%rbx),%edx
test   %edx,%edx
je     12e0 <escreve_matriz+0x1c0>
mov    %rbp,%rdi
mov    %r14,%rsi
mov    %r15,%rcx
xor    %eax,%eax
call   1040 <printf@plt>
jmp    12ec <escreve_matriz+0x1cc>
cs nopw 0x0(%rax,%rax,1)
nop
mov    %r12,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xd6d(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    -0x8(%rbx),%edx
test   %edx,%edx
je     1320 <escreve_matriz+0x200>
mov    %rbp,%rdi
mov    %r14,%rsi
mov    %r15,%rcx
xor    %eax,%eax
call   1040 <printf@plt>
jmp    132c <escreve_matriz+0x20c>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    %r12,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    -0x4(%rbx),%edx
test   %edx,%edx
je     1350 <escreve_matriz+0x230>
mov    %rbp,%rdi
mov    %r14,%rsi
mov    %r15,%rcx
xor    %eax,%eax
call   1040 <printf@plt>
jmp    135c <escreve_matriz+0x23c>
cs nopw 0x0(%rax,%rax,1)
nop
mov    %r12,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    (%rbx),%edx
test   %edx,%edx
je     1380 <escreve_matriz+0x260>
mov    %rbp,%rdi
mov    %r14,%rsi
mov    %r15,%rcx
xor    %eax,%eax
call   1040 <printf@plt>
jmp    138c <escreve_matriz+0x26c>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    %r12,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xccd(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0x5,%r13d
je     1190 <escreve_matriz+0x70>
cmp    $0x2,%r13d
jne    13c0 <escreve_matriz+0x2a0>
lea    0xcbe(%rip),%rdi
jmp    1197 <escreve_matriz+0x77>
cs nopw 0x0(%rax,%rax,1)
cmp    $0x7,%r13
ja     11a8 <escreve_matriz+0x88>
cmp    $0x2,%r13d
je     11a8 <escreve_matriz+0x88>
lea    0x2(%r13),%edx
lea    0xce0(%rip),%rdi
lea    0xc2a(%rip),%rsi
mov    %r15,%rcx
xor    %eax,%eax
call   1040 <printf@plt>
jmp    11a8 <escreve_matriz+0x88>
lea    0xce3(%rip),%rdi
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [11 x i8] c"\1B[0;40;33m\00"
@.str.1 = [5 x i8] c"\1B[0m\00"
@.str.2 = [11 x i8] c"\1B[0;40;34m\00"
@.str.3 = [31 x i8] c" %s1 2 3 4 5 6 7 8 9%s\00"
@.str.4 = [41 x i8] c"\0A\0A +-------+-------+-------+\0A%s1%s | \00"
@.str.5 = [8 x i8] c"%s%d%s \00"
@.str.6 = [4 x i8] c"%d \00"
@.str.7 = [3 x i8] c"| \00"
@.str.8 = [40 x i8] c"\0A |-------+-------+-------|\0A%s4%s | \00"
@.str.9 = [40 x i8] c"\0A |-------+-------+-------|\0A%s7%s | \00"
@.str.10 = [32 x i8] c"\0A |\09 |\09 |\09 |\0A%s%d%s | \00"
@.str.11 = [31 x i8] c"\0A +-------+-------+-------+\0A\00"
define void @escreve_matriz([9 x i32]* %0) {
%2 = alloca [9 x i32]*
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8*
%6 = alloca i8*
%7 = alloca i8*
store [9 x i32]* %0, [9 x i32]** %2
store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8** %5
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8** %6
store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i8** %7
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i32 0, i32 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i32 0, i32 0))
store i32 0, i32* %3
br label %10
10: ; preds = %90, %1
%11 = load i32, i32* %3
%12 = icmp slt i32 %11, 9
br i1 %12, label %13, label %93
13: ; preds = %10
store i32 0, i32* %4
br label %14
14: ; preds = %63, %13
%15 = load i32, i32* %4
%16 = icmp slt i32 %15, 9
br i1 %16, label %17, label %66
17: ; preds = %14
%18 = load [9 x i32]*, [9 x i32]** %2
%19 = load i32, i32* %3
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [9 x i32], [9 x i32]* %18, i64 %20
%22 = load i32, i32* %4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [9 x i32], [9 x i32]* %21, i64 0, i64 %23
%25 = load i32, i32* %24
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %37
27: ; preds = %17
%28 = load [9 x i32]*, [9 x i32]** %2
%29 = load i32, i32* %3
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [9 x i32], [9 x i32]* %28, i64 %30
%32 = load i32, i32* %4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [9 x i32], [9 x i32]* %31, i64 0, i64 %33
%35 = load i32, i32* %34
%36 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i32 0, i32 0), i32 %35, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i32 0, i32 0))
br label %47
37: ; preds = %17
%38 = load [9 x i32]*, [9 x i32]** %2
%39 = load i32, i32* %3
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [9 x i32], [9 x i32]* %38, i64 %40
%42 = load i32, i32* %4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [9 x i32], [9 x i32]* %41, i64 0, i64 %43
%45 = load i32, i32* %44
%46 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 %45)
br label %47
47: ; preds = %37, %27
%48 = load i32, i32* %4
%49 = icmp eq i32 %48, 2
br i1 %49, label %50, label %52
50: ; preds = %47
%51 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0))
br label %52
52: ; preds = %50, %47
%53 = load i32, i32* %4
%54 = icmp eq i32 %53, 5
br i1 %54, label %55, label %57
55: ; preds = %52
%56 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0))
br label %57
57: ; preds = %55, %52
%58 = load i32, i32* %4
%59 = icmp eq i32 %58, 8
br i1 %59, label %60, label %62
60: ; preds = %57
%61 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0))
br label %62
62: ; preds = %60, %57
br label %63
63: ; preds = %62
%64 = load i32, i32* %4
%65 = add nsw i32 %64, 1
store i32 %65, i32* %4
br label %14
66: ; preds = %14
%67 = load i32, i32* %3
%68 = icmp eq i32 %67, 2
br i1 %68, label %69, label %71
69: ; preds = %66
%70 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i32 0, i32 0))
br label %71
71: ; preds = %69, %66
%72 = load i32, i32* %3
%73 = icmp eq i32 %72, 5
br i1 %73, label %74, label %76
74: ; preds = %71
%75 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i32 0, i32 0))
br label %76
76: ; preds = %74, %71
%77 = load i32, i32* %3
%78 = icmp slt i32 %77, 8
br i1 %78, label %79, label %89
79: ; preds = %76
%80 = load i32, i32* %3
%81 = icmp ne i32 %80, 2
br i1 %81, label %82, label %89
82: ; preds = %79
%83 = load i32, i32* %3
%84 = icmp ne i32 %83, 5
br i1 %84, label %85, label %89
85: ; preds = %82
%86 = load i32, i32* %3
%87 = add nsw i32 %86, 2
%88 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i32 0, i32 0), i32 %87, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i32 0, i32 0))
br label %89
89: ; preds = %85, %82, %79, %76
br label %90
90: ; preds = %89
%91 = load i32, i32* %3
%92 = add nsw i32 %91, 1
store i32 %92, i32* %3
br label %10
93: ; preds = %10
%94 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.11, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [11 x i8] c"\1B[0;40;33m\00"
@.str.1 = [5 x i8] c"\1B[0m\00"
@.str.2 = [11 x i8] c"\1B[0;40;34m\00"
@.str.3 = [31 x i8] c" %s1 2 3 4 5 6 7 8 9%s\00"
@.str.4 = [41 x i8] c"\0A\0A +-------+-------+-------+\0A%s1%s | \00"
@.str.5 = [8 x i8] c"%s%d%s \00"
@.str.6 = [4 x i8] c"%d \00"
@.str.7 = [3 x i8] c"| \00"
@.str.8 = [40 x i8] c"\0A |-------+-------+-------|\0A%s4%s | \00"
@.str.9 = [40 x i8] c"\0A |-------+-------+-------|\0A%s7%s | \00"
@.str.10 = [32 x i8] c"\0A |\09 |\09 |\09 |\0A%s%d%s | \00"
@str = [30 x i8] c"\0A +-------+-------+-------+\00"
define void @escreve_matriz([9 x i32]* nocapture %0) {
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
br label %4
4: ; preds = %1, %94
%5 = phi i64 [ 0, %1 ], [ %95, %94 ]
%6 = getelementptr inbounds [9 x i32], [9 x i32]* %0, i64 %5, i64 0
%7 = load i32, i32* %6
%8 = icmp eq i32 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %4
%10 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 %7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
br label %13
11: ; preds = %4
%12 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 0)
br label %13
13: ; preds = %9, %11
%14 = getelementptr inbounds [9 x i32], [9 x i32]* %0, i64 %5, i64 1
%15 = load i32, i32* %14
%16 = icmp eq i32 %15, 0
br i1 %16, label %19, label %17
17: ; preds = %13
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 %15, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
br label %21
19: ; preds = %13
%20 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 0)
br label %21
21: ; preds = %17, %19
%22 = getelementptr inbounds [9 x i32], [9 x i32]* %0, i64 %5, i64 2
%23 = load i32, i32* %22
%24 = icmp eq i32 %23, 0
br i1 %24, label %27, label %25
25: ; preds = %21
%26 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 %23, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
br label %29
27: ; preds = %21
%28 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 0)
br label %29
29: ; preds = %25, %27
%30 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0))
%31 = getelementptr inbounds [9 x i32], [9 x i32]* %0, i64 %5, i64 3
%32 = load i32, i32* %31
%33 = icmp eq i32 %32, 0
br i1 %33, label %36, label %34
34: ; preds = %29
%35 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 %32, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
br label %38
36: ; preds = %29
%37 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 0)
br label %38
38: ; preds = %34, %36
%39 = getelementptr inbounds [9 x i32], [9 x i32]* %0, i64 %5, i64 4
%40 = load i32, i32* %39
%41 = icmp eq i32 %40, 0
br i1 %41, label %44, label %42
42: ; preds = %38
%43 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 %40, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
br label %46
44: ; preds = %38
%45 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 0)
br label %46
46: ; preds = %42, %44
%47 = getelementptr inbounds [9 x i32], [9 x i32]* %0, i64 %5, i64 5
%48 = load i32, i32* %47
%49 = icmp eq i32 %48, 0
br i1 %49, label %52, label %50
50: ; preds = %46
%51 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 %48, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
br label %54
52: ; preds = %46
%53 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 0)
br label %54
54: ; preds = %50, %52
%55 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0))
%56 = getelementptr inbounds [9 x i32], [9 x i32]* %0, i64 %5, i64 6
%57 = load i32, i32* %56
%58 = icmp eq i32 %57, 0
br i1 %58, label %61, label %59
59: ; preds = %54
%60 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 %57, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
br label %63
61: ; preds = %54
%62 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 0)
br label %63
63: ; preds = %59, %61
%64 = getelementptr inbounds [9 x i32], [9 x i32]* %0, i64 %5, i64 7
%65 = load i32, i32* %64
%66 = icmp eq i32 %65, 0
br i1 %66, label %69, label %67
67: ; preds = %63
%68 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 %65, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
br label %71
69: ; preds = %63
%70 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 0)
br label %71
71: ; preds = %67, %69
%72 = getelementptr inbounds [9 x i32], [9 x i32]* %0, i64 %5, i64 8
%73 = load i32, i32* %72
%74 = icmp eq i32 %73, 0
br i1 %74, label %77, label %75
75: ; preds = %71
%76 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 %73, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
br label %79
77: ; preds = %71
%78 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 0)
br label %79
79: ; preds = %75, %77
%80 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0))
%81 = trunc i64 %5 to i32
switch i32 %81, label %86 [
i32 2, label %82
i32 5, label %84
]
82: ; preds = %79
%83 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
br label %94
84: ; preds = %79
%85 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
br label %94
86: ; preds = %79
%87 = icmp ugt i64 %5, 7
%88 = icmp eq i32 %81, 2
%89 = or i1 %87, %88
br i1 %89, label %94, label %90
90: ; preds = %86
%91 = trunc i64 %5 to i32
%92 = add nuw nsw i32 %91, 2
%93 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 %92, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
br label %94
94: ; preds = %82, %84, %86, %90
%95 = add nuw nsw i64 %5, 1
%96 = icmp eq i64 %95, 9
br i1 %96, label %97, label %4
97: ; preds = %94
%98 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @str, i64 0, i64 0))
ret void
}