#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 main(void) {
  int casilla[8][8];
  int i, j, pieza;
  for (i = 0; i <= 8 - 1; i++) {
    for (j = 0; j <= 8 - 1; j++) {
      casilla[i][j] = 0;
    }
  }
  for (i = 8 - 1; i >= 0; i--) {
    casilla[1][i] = 6;
    casilla[6][i] = 6;
  }
  casilla[0][0] = 1;
  casilla[0][1] = 2;
  casilla[0][2] = 3;
  casilla[0][3] = 4;
  casilla[0][4] = 5;
  casilla[0][5] = 3;
  casilla[0][6] = 2;
  casilla[0][7] = 1;
  casilla[7][0] = 1;
  casilla[7][1] = 2;
  casilla[7][2] = 3;
  casilla[7][3] = 4;
  casilla[7][4] = 5;
  casilla[7][5] = 3;
  casilla[7][6] = 2;
  casilla[7][7] = 1;
  for (i = 0; i <= 8 - 1; i++) {
    for (j = 0; j <= 8 - 1; j++) {
      pieza = casilla[i][j];
      switch (pieza) {
      case 0:
        printf(".\t");
        break;
      case 1:
        printf("T\t");
        break;
      case 2:
        printf("C\t");
        break;
      case 3:
        printf("A\t");
        break;
      case 4:
        printf("Q\t");
        break;
      case 5:
        printf("K\t");
        break;
      case 6:
        printf("P\t");
        break;
      }
    }
    printf("\n");
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x130,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0x114(%rbp)
cmpl   $0x7,-0x114(%rbp)
jg     11a0 <main+0x90>
movl   $0x0,-0x118(%rbp)
cmpl   $0x7,-0x118(%rbp)
jg     1187 <main+0x77>
movslq -0x114(%rbp),%rcx
lea    -0x110(%rbp),%rax
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0x118(%rbp),%rcx
movl   $0x0,(%rax,%rcx,4)
mov    -0x118(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x118(%rbp)
jmp    1143 <main+0x33>
jmp    118c <main+0x7c>
mov    -0x114(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x114(%rbp)
jmp    112c <main+0x1c>
movl   $0x7,-0x114(%rbp)
cmpl   $0x0,-0x114(%rbp)
jl     11ec <main+0xdc>
movslq -0x114(%rbp),%rax
movl   $0x6,-0xf0(%rbp,%rax,4)
movslq -0x114(%rbp),%rax
movl   $0x6,-0x50(%rbp,%rax,4)
mov    -0x114(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x114(%rbp)
jmp    11aa <main+0x9a>
movl   $0x1,-0x110(%rbp)
movl   $0x2,-0x10c(%rbp)
movl   $0x3,-0x108(%rbp)
movl   $0x4,-0x104(%rbp)
movl   $0x5,-0x100(%rbp)
movl   $0x3,-0xfc(%rbp)
movl   $0x2,-0xf8(%rbp)
movl   $0x1,-0xf4(%rbp)
movl   $0x1,-0x30(%rbp)
movl   $0x2,-0x2c(%rbp)
movl   $0x3,-0x28(%rbp)
movl   $0x4,-0x24(%rbp)
movl   $0x5,-0x20(%rbp)
movl   $0x3,-0x1c(%rbp)
movl   $0x2,-0x18(%rbp)
movl   $0x1,-0x14(%rbp)
movl   $0x0,-0x114(%rbp)
cmpl   $0x7,-0x114(%rbp)
jg     139e <main+0x28e>
movl   $0x0,-0x118(%rbp)
cmpl   $0x7,-0x118(%rbp)
jg     137e <main+0x26e>
movslq -0x114(%rbp),%rax
shl    $0x5,%rax
lea    -0x110(%rbp,%rax,1),%rax
ff
movslq -0x118(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
mov    %eax,-0x11c(%rbp)
mov    -0x11c(%rbp),%eax
mov    %rax,-0x128(%rbp)
sub    $0x6,%rax
ja     1365 <main+0x255>
mov    -0x128(%rbp),%rax
lea    0xd16(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xd22(%rip),%rdi
call   1030 <printf@plt>
jmp    1365 <main+0x255>
lea    0xd14(%rip),%rdi
call   1030 <printf@plt>
jmp    1365 <main+0x255>
lea    0xd06(%rip),%rdi
call   1030 <printf@plt>
jmp    1365 <main+0x255>
lea    0xcf8(%rip),%rdi
call   1030 <printf@plt>
jmp    1365 <main+0x255>
lea    0xcea(%rip),%rdi
call   1030 <printf@plt>
jmp    1365 <main+0x255>
lea    0xcdc(%rip),%rdi
call   1030 <printf@plt>
jmp    1365 <main+0x255>
lea    0xcce(%rip),%rdi
call   1030 <printf@plt>
jmp    136a <main+0x25a>
mov    -0x118(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x118(%rbp)
jmp    1295 <main+0x185>
lea    0xcac(%rip),%rdi
call   1030 <printf@plt>
mov    -0x114(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x114(%rbp)
jmp    127e <main+0x16e>
xor    %eax,%eax
add    $0x130,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
sub    $0x108,%rsp
xorps  %xmm0,%xmm0
movaps %xmm0,0xb0(%rsp)
movaps %xmm0,0xa0(%rsp)
movaps %xmm0,0x90(%rsp)
movaps %xmm0,0x80(%rsp)
movaps %xmm0,0x70(%rsp)
movaps %xmm0,0x60(%rsp)
movaps %xmm0,0x50(%rsp)
movaps %xmm0,0x40(%rsp)
movaps 0xe98(%rip),%xmm0
movaps %xmm0,0x30(%rsp)
movaps %xmm0,0xd0(%rsp)
movaps %xmm0,0x20(%rsp)
movaps %xmm0,0xc0(%rsp)
movaps 0xe87(%rip),%xmm0
movaps %xmm0,(%rsp)
movaps 0xe8c(%rip),%xmm1
movaps %xmm1,0x10(%rsp)
movaps %xmm0,0xe0(%rsp)
movaps %xmm1,0xf0(%rsp)
xor    %ebx,%ebx
lea    0x2c36(%rip),%r14
jmp    11db <main+0xbb>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x20,%rbx
cmp    $0x100,%rbx
je     1283 <main+0x163>
movslq (%rsp,%rbx,1),%rax
cmp    $0x6,%rax
ja     11ee <main+0xce>
mov    (%r14,%rax,8),%rdi
call   1040 <printf@plt>
movslq 0x4(%rsp,%rbx,1),%rax
cmp    $0x6,%rax
ja     1202 <main+0xe2>
mov    (%r14,%rax,8),%rdi
call   1040 <printf@plt>
movslq 0x8(%rsp,%rbx,1),%rax
cmp    $0x6,%rax
ja     1216 <main+0xf6>
mov    (%r14,%rax,8),%rdi
call   1040 <printf@plt>
movslq 0xc(%rsp,%rbx,1),%rax
cmp    $0x6,%rax
ja     122a <main+0x10a>
mov    (%r14,%rax,8),%rdi
call   1040 <printf@plt>
movslq 0x10(%rsp,%rbx,1),%rax
cmp    $0x6,%rax
ja     123e <main+0x11e>
mov    (%r14,%rax,8),%rdi
call   1040 <printf@plt>
movslq 0x14(%rsp,%rbx,1),%rax
cmp    $0x6,%rax
ja     1252 <main+0x132>
mov    (%r14,%rax,8),%rdi
call   1040 <printf@plt>
movslq 0x18(%rsp,%rbx,1),%rax
cmp    $0x6,%rax
ja     1266 <main+0x146>
mov    (%r14,%rax,8),%rdi
call   1040 <printf@plt>
movslq 0x1c(%rsp,%rbx,1),%rax
cmp    $0x6,%rax
ja     11c0 <main+0xa0>
mov    (%r14,%rax,8),%rdi
call   1040 <printf@plt>
jmp    11c0 <main+0xa0>
xor    %eax,%eax
add    $0x108,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@.str = [3 x i8] c".\09\00"
@.str.1 = [3 x i8] c"T\09\00"
@.str.2 = [3 x i8] c"C\09\00"
@.str.3 = [3 x i8] c"A\09\00"
@.str.4 = [3 x i8] c"Q\09\00"
@.str.5 = [3 x i8] c"K\09\00"
@.str.6 = [3 x i8] c"P\09\00"
@.str.7 = [2 x i8] c"\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [8 x [8 x i32]]
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
store i32 0, i32* %1
store i32 0, i32* %3
br label %6
6: ; preds = %24, %0
%7 = load i32, i32* %3
%8 = icmp sle i32 %7, 7
br i1 %8, label %9, label %27
9: ; preds = %6
store i32 0, i32* %4
br label %10
10: ; preds = %20, %9
%11 = load i32, i32* %4
%12 = icmp sle i32 %11, 7
br i1 %12, label %13, label %23
13: ; preds = %10
%14 = load i32, i32* %3
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [8 x [8 x i32]], [8 x [8 x i32]]* %2, i64 0, i64 %15
%17 = load i32, i32* %4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [8 x i32], [8 x i32]* %16, i64 0, i64 %18
store i32 0, i32* %19
br label %20
20: ; preds = %13
%21 = load i32, i32* %4
%22 = add nsw i32 %21, 1
store i32 %22, i32* %4
br label %10
23: ; preds = %10
br label %24
24: ; preds = %23
%25 = load i32, i32* %3
%26 = add nsw i32 %25, 1
store i32 %26, i32* %3
br label %6
27: ; preds = %6
store i32 7, i32* %3
br label %28
28: ; preds = %40, %27
%29 = load i32, i32* %3
%30 = icmp sge i32 %29, 0
br i1 %30, label %31, label %43
31: ; preds = %28
%32 = getelementptr inbounds [8 x [8 x i32]], [8 x [8 x i32]]* %2, i64 0, i64 1
%33 = load i32, i32* %3
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [8 x i32], [8 x i32]* %32, i64 0, i64 %34
store i32 6, i32* %35
%36 = getelementptr inbounds [8 x [8 x i32]], [8 x [8 x i32]]* %2, i64 0, i64 6
%37 = load i32, i32* %3
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [8 x i32], [8 x i32]* %36, i64 0, i64 %38
store i32 6, i32* %39
br label %40
40: ; preds = %31
%41 = load i32, i32* %3
%42 = add nsw i32 %41, -1
store i32 %42, i32* %3
br label %28
43: ; preds = %28
%44 = getelementptr inbounds [8 x [8 x i32]], [8 x [8 x i32]]* %2, i64 0, i64 0
%45 = getelementptr inbounds [8 x i32], [8 x i32]* %44, i64 0, i64 0
store i32 1, i32* %45
%46 = getelementptr inbounds [8 x [8 x i32]], [8 x [8 x i32]]* %2, i64 0, i64 0
%47 = getelementptr inbounds [8 x i32], [8 x i32]* %46, i64 0, i64 1
store i32 2, i32* %47
%48 = getelementptr inbounds [8 x [8 x i32]], [8 x [8 x i32]]* %2, i64 0, i64 0
%49 = getelementptr inbounds [8 x i32], [8 x i32]* %48, i64 0, i64 2
store i32 3, i32* %49
%50 = getelementptr inbounds [8 x [8 x i32]], [8 x [8 x i32]]* %2, i64 0, i64 0
%51 = getelementptr inbounds [8 x i32], [8 x i32]* %50, i64 0, i64 3
store i32 4, i32* %51
%52 = getelementptr inbounds [8 x [8 x i32]], [8 x [8 x i32]]* %2, i64 0, i64 0
%53 = getelementptr inbounds [8 x i32], [8 x i32]* %52, i64 0, i64 4
store i32 5, i32* %53
%54 = getelementptr inbounds [8 x [8 x i32]], [8 x [8 x i32]]* %2, i64 0, i64 0
%55 = getelementptr inbounds [8 x i32], [8 x i32]* %54, i64 0, i64 5
store i32 3, i32* %55
%56 = getelementptr inbounds [8 x [8 x i32]], [8 x [8 x i32]]* %2, i64 0, i64 0
%57 = getelementptr inbounds [8 x i32], [8 x i32]* %56, i64 0, i64 6
store i32 2, i32* %57
%58 = getelementptr inbounds [8 x [8 x i32]], [8 x [8 x i32]]* %2, i64 0, i64 0
%59 = getelementptr inbounds [8 x i32], [8 x i32]* %58, i64 0, i64 7
store i32 1, i32* %59
%60 = getelementptr inbounds [8 x [8 x i32]], [8 x [8 x i32]]* %2, i64 0, i64 7
%61 = getelementptr inbounds [8 x i32], [8 x i32]* %60, i64 0, i64 0
store i32 1, i32* %61
%62 = getelementptr inbounds [8 x [8 x i32]], [8 x [8 x i32]]* %2, i64 0, i64 7
%63 = getelementptr inbounds [8 x i32], [8 x i32]* %62, i64 0, i64 1
store i32 2, i32* %63
%64 = getelementptr inbounds [8 x [8 x i32]], [8 x [8 x i32]]* %2, i64 0, i64 7
%65 = getelementptr inbounds [8 x i32], [8 x i32]* %64, i64 0, i64 2
store i32 3, i32* %65
%66 = getelementptr inbounds [8 x [8 x i32]], [8 x [8 x i32]]* %2, i64 0, i64 7
%67 = getelementptr inbounds [8 x i32], [8 x i32]* %66, i64 0, i64 3
store i32 4, i32* %67
%68 = getelementptr inbounds [8 x [8 x i32]], [8 x [8 x i32]]* %2, i64 0, i64 7
%69 = getelementptr inbounds [8 x i32], [8 x i32]* %68, i64 0, i64 4
store i32 5, i32* %69
%70 = getelementptr inbounds [8 x [8 x i32]], [8 x [8 x i32]]* %2, i64 0, i64 7
%71 = getelementptr inbounds [8 x i32], [8 x i32]* %70, i64 0, i64 5
store i32 3, i32* %71
%72 = getelementptr inbounds [8 x [8 x i32]], [8 x [8 x i32]]* %2, i64 0, i64 7
%73 = getelementptr inbounds [8 x i32], [8 x i32]* %72, i64 0, i64 6
store i32 2, i32* %73
%74 = getelementptr inbounds [8 x [8 x i32]], [8 x [8 x i32]]* %2, i64 0, i64 7
%75 = getelementptr inbounds [8 x i32], [8 x i32]* %74, i64 0, i64 7
store i32 1, i32* %75
store i32 0, i32* %3
br label %76
76: ; preds = %112, %43
%77 = load i32, i32* %3
%78 = icmp sle i32 %77, 7
br i1 %78, label %79, label %115
79: ; preds = %76
store i32 0, i32* %4
br label %80
80: ; preds = %107, %79
%81 = load i32, i32* %4
%82 = icmp sle i32 %81, 7
br i1 %82, label %83, label %110
83: ; preds = %80
%84 = load i32, i32* %3
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds [8 x [8 x i32]], [8 x [8 x i32]]* %2, i64 0, i64 %85
%87 = load i32, i32* %4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds [8 x i32], [8 x i32]* %86, i64 0, i64 %88
%90 = load i32, i32* %89
store i32 %90, i32* %5
%91 = load i32, i32* %5
switch i32 %91, label %106 [
i32 0, label %92
i32 1, label %94
i32 2, label %96
i32 3, label %98
i32 4, label %100
i32 5, label %102
i32 6, label %104
]
92: ; preds = %83
%93 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
br label %106
94: ; preds = %83
%95 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
br label %106
96: ; preds = %83
%97 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
br label %106
98: ; preds = %83
%99 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
br label %106
100: ; preds = %83
%101 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
br label %106
102: ; preds = %83
%103 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0))
br label %106
104: ; preds = %83
%105 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
br label %106
106: ; preds = %83, %104, %102, %100, %98, %96, %94, %92
br label %107
107: ; preds = %106
%108 = load i32, i32* %4
%109 = add nsw i32 %108, 1
store i32 %109, i32* %4
br label %80
110: ; preds = %80
%111 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
br label %112
112: ; preds = %110
%113 = load i32, i32* %3
%114 = add nsw i32 %113, 1
store i32 %114, i32* %3
br label %76
115: ; preds = %76
ret i32 0
}

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