#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 *, ...);
void tabuleiro(int *tabuleiro0, int *tabuleiro1, int *tabuleiro2,
               int *tabuleiro3, int *tabuleiro4, int *tabuleiro5,
               int *tabuleiro6, int *tabuleiro7, int *tabuleiro8) {
  ;
  ;
  printf("\n\n\n");
  if (*tabuleiro0 != 0) {
    if (*tabuleiro0 == 1)
      printf("X");
    if (*tabuleiro0 == -1)
      printf("O");
  } else
    printf(" ");
  printf("%lc", L'\u2502');
  if (*tabuleiro1 != 0) {
    if (*tabuleiro1 == 1)
      printf("X");
    if (*tabuleiro1 == -1)
      printf("O");
  } else
    printf(" ");
  printf("%lc", L'\u2502');
  if (*tabuleiro2 != 0) {
    if (*tabuleiro2 == 1)
      printf("X");
    if (*tabuleiro2 == -1)
      printf("O");
  } else
    printf(" ");
  printf("\n");
  printf("%lc", L'\u2500');
  printf("%lc", L'\u253c');
  printf("%lc", L'\u2500');
  printf("%lc", L'\u253c');
  printf("%lc", L'\u2500');
  printf("\n");
  if (*tabuleiro3 != 0) {
    if (*tabuleiro3 == 1)
      printf("X");
    if (*tabuleiro3 == -1)
      printf("O");
  } else
    printf(" ");
  printf("%lc", L'\u2502');
  if (*tabuleiro4 != 0) {
    if (*tabuleiro4 == 1)
      printf("X");
    if (*tabuleiro4 == -1)
      printf("O");
  } else
    printf(" ");
  printf("%lc", L'\u2502');
  if (*tabuleiro5 != 0) {
    if (*tabuleiro5 == 1)
      printf("X");
    if (*tabuleiro5 == -1)
      printf("O");
  } else
    printf(" ");
  printf("\n");
  printf("%lc", L'\u2500');
  printf("%lc", L'\u253c');
  printf("%lc", L'\u2500');
  printf("%lc", L'\u253c');
  printf("%lc", L'\u2500');
  printf("\n");
  if (*tabuleiro6 != 0) {
    if (*tabuleiro6 == 1)
      printf("X");
    if (*tabuleiro6 == -1)
      printf("O");
  } else
    printf(" ");
  printf("%lc", L'\u2502');
  if (*tabuleiro7 != 0) {
    if (*tabuleiro7 == 1)
      printf("X");
    if (*tabuleiro7 == -1)
      printf("O");
  } else
    printf(" ");
  printf("%lc", L'\u2502');
  if (*tabuleiro8 != 0) {
    if (*tabuleiro8 == 1)
      printf("X");
    if (*tabuleiro8 == -1)
      printf("O");
  } else
    printf(" ");
  printf("\n");
  ;
  ;
}


x86 assembly (clang, -O0):
<tabuleiro>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
lea    0xebd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
cmpl   $0x0,(%rax)
je     1192 <tabuleiro+0x82>
mov    -0x8(%rbp),%rax
cmpl   $0x1,(%rax)
jne    1172 <tabuleiro+0x62>
lea    0xe99(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rax
cmpl   $0xffffffff,(%rax)
jne    118d <tabuleiro+0x7d>
lea    0xe80(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    11a0 <tabuleiro+0x90>
lea    0xe6f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe63(%rip),%rdi
mov    $0x2502,%esi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x10(%rbp),%rax
cmpl   $0x0,(%rax)
je     11fb <tabuleiro+0xeb>
mov    -0x10(%rbp),%rax
cmpl   $0x1,(%rax)
jne    11db <tabuleiro+0xcb>
lea    0xe30(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x10(%rbp),%rax
cmpl   $0xffffffff,(%rax)
jne    11f6 <tabuleiro+0xe6>
lea    0xe17(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1209 <tabuleiro+0xf9>
lea    0xe06(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xdfa(%rip),%rdi
mov    $0x2502,%esi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%rax
cmpl   $0x0,(%rax)
je     1264 <tabuleiro+0x154>
mov    -0x18(%rbp),%rax
cmpl   $0x1,(%rax)
jne    1244 <tabuleiro+0x134>
lea    0xdc7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%rax
cmpl   $0xffffffff,(%rax)
jne    125f <tabuleiro+0x14f>
lea    0xdae(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1272 <tabuleiro+0x162>
lea    0xd9d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd89(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd83(%rip),%rdi
mov    $0x2500,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd70(%rip),%rdi
mov    $0x253c,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd5d(%rip),%rdi
mov    $0x2500,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd4a(%rip),%rdi
mov    $0x253c,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd37(%rip),%rdi
mov    $0x2500,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd1c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x20(%rbp),%rax
cmpl   $0x0,(%rax)
je     1335 <tabuleiro+0x225>
mov    -0x20(%rbp),%rax
cmpl   $0x1,(%rax)
jne    1315 <tabuleiro+0x205>
lea    0xcf6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x20(%rbp),%rax
cmpl   $0xffffffff,(%rax)
jne    1330 <tabuleiro+0x220>
lea    0xcdd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1343 <tabuleiro+0x233>
lea    0xccc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xcc0(%rip),%rdi
mov    $0x2502,%esi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x28(%rbp),%rax
cmpl   $0x0,(%rax)
je     139e <tabuleiro+0x28e>
mov    -0x28(%rbp),%rax
cmpl   $0x1,(%rax)
jne    137e <tabuleiro+0x26e>
lea    0xc8d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x28(%rbp),%rax
cmpl   $0xffffffff,(%rax)
jne    1399 <tabuleiro+0x289>
lea    0xc74(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    13ac <tabuleiro+0x29c>
lea    0xc63(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xc57(%rip),%rdi
mov    $0x2502,%esi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x30(%rbp),%rax
cmpl   $0x0,(%rax)
je     1407 <tabuleiro+0x2f7>
mov    -0x30(%rbp),%rax
cmpl   $0x1,(%rax)
jne    13e7 <tabuleiro+0x2d7>
lea    0xc24(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x30(%rbp),%rax
cmpl   $0xffffffff,(%rax)
jne    1402 <tabuleiro+0x2f2>
lea    0xc0b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1415 <tabuleiro+0x305>
lea    0xbfa(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xbe6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xbe0(%rip),%rdi
mov    $0x2500,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xbcd(%rip),%rdi
mov    $0x253c,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xbba(%rip),%rdi
mov    $0x2500,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xba7(%rip),%rdi
mov    $0x253c,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xb94(%rip),%rdi
mov    $0x2500,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xb79(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x10(%rbp),%rax
cmpl   $0x0,(%rax)
je     14d8 <tabuleiro+0x3c8>
mov    0x10(%rbp),%rax
cmpl   $0x1,(%rax)
jne    14b8 <tabuleiro+0x3a8>
lea    0xb53(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x10(%rbp),%rax
cmpl   $0xffffffff,(%rax)
jne    14d3 <tabuleiro+0x3c3>
lea    0xb3a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    14e6 <tabuleiro+0x3d6>
lea    0xb29(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xb1d(%rip),%rdi
mov    $0x2502,%esi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x18(%rbp),%rax
cmpl   $0x0,(%rax)
je     1541 <tabuleiro+0x431>
mov    0x18(%rbp),%rax
cmpl   $0x1,(%rax)
jne    1521 <tabuleiro+0x411>
lea    0xaea(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x18(%rbp),%rax
cmpl   $0xffffffff,(%rax)
jne    153c <tabuleiro+0x42c>
lea    0xad1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    154f <tabuleiro+0x43f>
lea    0xac0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xab4(%rip),%rdi
mov    $0x2502,%esi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x20(%rbp),%rax
cmpl   $0x0,(%rax)
je     15aa <tabuleiro+0x49a>
mov    0x20(%rbp),%rax
cmpl   $0x1,(%rax)
jne    158a <tabuleiro+0x47a>
lea    0xa81(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x20(%rbp),%rax
cmpl   $0xffffffff,(%rax)
jne    15a5 <tabuleiro+0x495>
lea    0xa68(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    15b8 <tabuleiro+0x4a8>
lea    0xa57(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xa43(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<tabuleiro>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    %r9,%r14
mov    %r8,%r15
mov    %rcx,%r12
mov    %rdx,%r13
mov    %rsi,%rbx
mov    %rdi,%rbp
mov    0x60(%rsp),%rax
mov    %rax,0x10(%rsp)
mov    0x58(%rsp),%rax
mov    %rax,0x8(%rsp)
mov    0x50(%rsp),%rax
mov    %rax,(%rsp)
lea    0xe90(%rip),%rdi
call   1040 <puts@plt>
mov    0x0(%rbp),%eax
test   %eax,%eax
je     119e <tabuleiro+0x6e>
cmp    $0x1,%eax
jne    1192 <tabuleiro+0x62>
mov    $0x58,%edi
call   1030 <putchar@plt>
mov    0x0(%rbp),%eax
cmp    $0xffffffff,%eax
jne    11a8 <tabuleiro+0x78>
mov    $0x4f,%edi
jmp    11a3 <tabuleiro+0x73>
mov    $0x20,%edi
call   1030 <putchar@plt>
lea    0xe51(%rip),%rdi
mov    $0x2502,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    (%rbx),%eax
test   %eax,%eax
je     11de <tabuleiro+0xae>
cmp    $0x1,%eax
jne    11d2 <tabuleiro+0xa2>
mov    $0x58,%edi
call   1030 <putchar@plt>
mov    (%rbx),%eax
cmp    $0xffffffff,%eax
jne    11e8 <tabuleiro+0xb8>
mov    $0x4f,%edi
jmp    11e3 <tabuleiro+0xb3>
mov    $0x20,%edi
call   1030 <putchar@plt>
lea    0xe11(%rip),%rdi
mov    $0x2502,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x0(%r13),%eax
test   %eax,%eax
je     1222 <tabuleiro+0xf2>
cmp    $0x1,%eax
jne    1216 <tabuleiro+0xe6>
mov    $0x58,%edi
call   1030 <putchar@plt>
mov    0x0(%r13),%eax
cmp    $0xffffffff,%eax
jne    122c <tabuleiro+0xfc>
mov    $0x4f,%edi
jmp    1227 <tabuleiro+0xf7>
mov    $0x20,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xdc3(%rip),%rbx
mov    %rbx,%rdi
mov    $0x2500,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0x253c,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0x2500,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0x253c,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0x2500,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    (%r12),%eax
test   %eax,%eax
je     12b9 <tabuleiro+0x189>
cmp    $0x1,%eax
jne    12ad <tabuleiro+0x17d>
mov    $0x58,%edi
call   1030 <putchar@plt>
mov    (%r12),%eax
cmp    $0xffffffff,%eax
jne    12c3 <tabuleiro+0x193>
mov    $0x4f,%edi
jmp    12be <tabuleiro+0x18e>
mov    $0x20,%edi
call   1030 <putchar@plt>
lea    0xd36(%rip),%rdi
mov    $0x2502,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    (%r15),%eax
test   %eax,%eax
je     12fb <tabuleiro+0x1cb>
cmp    $0x1,%eax
jne    12ef <tabuleiro+0x1bf>
mov    $0x58,%edi
call   1030 <putchar@plt>
mov    (%r15),%eax
cmp    $0xffffffff,%eax
jne    1305 <tabuleiro+0x1d5>
mov    $0x4f,%edi
jmp    1300 <tabuleiro+0x1d0>
mov    $0x20,%edi
call   1030 <putchar@plt>
lea    0xcf4(%rip),%rdi
mov    $0x2502,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    (%r14),%eax
test   %eax,%eax
je     1346 <tabuleiro+0x216>
cmp    $0x1,%eax
jne    1331 <tabuleiro+0x201>
mov    $0x58,%edi
call   1030 <putchar@plt>
mov    (%r14),%eax
cmp    $0xffffffff,%eax
mov    0x8(%rsp),%r14
mov    (%rsp),%rbp
jne    1359 <tabuleiro+0x229>
mov    $0x4f,%edi
jmp    1354 <tabuleiro+0x224>
mov    $0x20,%edi
mov    0x8(%rsp),%r14
mov    (%rsp),%rbp
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xc96(%rip),%rbx
mov    %rbx,%rdi
mov    $0x2500,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0x253c,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0x2500,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0x253c,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0x2500,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x0(%rbp),%eax
test   %eax,%eax
je     13e9 <tabuleiro+0x2b9>
cmp    $0x1,%eax
jne    13d8 <tabuleiro+0x2a8>
mov    $0x58,%edi
call   1030 <putchar@plt>
mov    0x0(%rbp),%eax
cmp    $0xffffffff,%eax
mov    0x10(%rsp),%rbx
jne    13f8 <tabuleiro+0x2c8>
mov    $0x4f,%edi
jmp    13f3 <tabuleiro+0x2c3>
mov    $0x20,%edi
mov    0x10(%rsp),%rbx
call   1030 <putchar@plt>
lea    0xc01(%rip),%rdi
mov    $0x2502,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    (%r14),%eax
test   %eax,%eax
je     1430 <tabuleiro+0x300>
cmp    $0x1,%eax
jne    1424 <tabuleiro+0x2f4>
mov    $0x58,%edi
call   1030 <putchar@plt>
mov    (%r14),%eax
cmp    $0xffffffff,%eax
jne    143a <tabuleiro+0x30a>
mov    $0x4f,%edi
jmp    1435 <tabuleiro+0x305>
mov    $0x20,%edi
call   1030 <putchar@plt>
lea    0xbbf(%rip),%rdi
mov    $0x2502,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    (%rbx),%eax
test   %eax,%eax
je     1470 <tabuleiro+0x340>
cmp    $0x1,%eax
jne    1464 <tabuleiro+0x334>
mov    $0x58,%edi
call   1030 <putchar@plt>
mov    (%rbx),%eax
cmp    $0xffffffff,%eax
jne    147a <tabuleiro+0x34a>
mov    $0x4f,%edi
jmp    1475 <tabuleiro+0x345>
mov    $0x20,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <putchar@plt>

LLVM IR (-O0):
@.str = [4 x i8] c"\0A\0A\0A\00"
@.str.1 = [2 x i8] c"X\00"
@.str.2 = [2 x i8] c"O\00"
@.str.3 = [2 x i8] c" \00"
@.str.4 = [4 x i8] c"%lc\00"
@.str.5 = [2 x i8] c"\0A\00"
define void @tabuleiro(i32* %0, i32* %1, i32* %2, i32* %3, i32* %4, i32* %5, i32* %6, i32* %7, i32* %8) {
%10 = alloca i32*
%11 = alloca i32*
%12 = alloca i32*
%13 = alloca i32*
%14 = alloca i32*
%15 = alloca i32*
%16 = alloca i32*
%17 = alloca i32*
%18 = alloca i32*
store i32* %0, i32** %10
store i32* %1, i32** %11
store i32* %2, i32** %12
store i32* %3, i32** %13
store i32* %4, i32** %14
store i32* %5, i32** %15
store i32* %6, i32** %16
store i32* %7, i32** %17
store i32* %8, i32** %18
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
%20 = load i32*, i32** %10
%21 = load i32, i32* %20
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %36
23: ; preds = %9
%24 = load i32*, i32** %10
%25 = load i32, i32* %24
%26 = icmp eq i32 %25, 1
br i1 %26, label %27, label %29
27: ; preds = %23
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
br label %29
29: ; preds = %27, %23
%30 = load i32*, i32** %10
%31 = load i32, i32* %30
%32 = icmp eq i32 %31, -1
br i1 %32, label %33, label %35
33: ; preds = %29
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
br label %35
35: ; preds = %33, %29
br label %38
36: ; preds = %9
%37 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br label %38
38: ; preds = %36, %35
%39 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 9474)
%40 = load i32*, i32** %11
%41 = load i32, i32* %40
%42 = icmp ne i32 %41, 0
br i1 %42, label %43, label %56
43: ; preds = %38
%44 = load i32*, i32** %11
%45 = load i32, i32* %44
%46 = icmp eq i32 %45, 1
br i1 %46, label %47, label %49
47: ; preds = %43
%48 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
br label %49
49: ; preds = %47, %43
%50 = load i32*, i32** %11
%51 = load i32, i32* %50
%52 = icmp eq i32 %51, -1
br i1 %52, label %53, label %55
53: ; preds = %49
%54 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
br label %55
55: ; preds = %53, %49
br label %58
56: ; preds = %38
%57 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br label %58
58: ; preds = %56, %55
%59 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 9474)
%60 = load i32*, i32** %12
%61 = load i32, i32* %60
%62 = icmp ne i32 %61, 0
br i1 %62, label %63, label %76
63: ; preds = %58
%64 = load i32*, i32** %12
%65 = load i32, i32* %64
%66 = icmp eq i32 %65, 1
br i1 %66, label %67, label %69
67: ; preds = %63
%68 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
br label %69
69: ; preds = %67, %63
%70 = load i32*, i32** %12
%71 = load i32, i32* %70
%72 = icmp eq i32 %71, -1
br i1 %72, label %73, label %75
73: ; preds = %69
%74 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
br label %75
75: ; preds = %73, %69
br label %78
76: ; preds = %58
%77 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br label %78
78: ; preds = %76, %75
%79 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
%80 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 9472)
%81 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 9532)
%82 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 9472)
%83 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 9532)
%84 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 9472)
%85 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
%86 = load i32*, i32** %13
%87 = load i32, i32* %86
%88 = icmp ne i32 %87, 0
br i1 %88, label %89, label %102
89: ; preds = %78
%90 = load i32*, i32** %13
%91 = load i32, i32* %90
%92 = icmp eq i32 %91, 1
br i1 %92, label %93, label %95
93: ; preds = %89
%94 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
br label %95
95: ; preds = %93, %89
%96 = load i32*, i32** %13
%97 = load i32, i32* %96
%98 = icmp eq i32 %97, -1
br i1 %98, label %99, label %101
99: ; preds = %95
%100 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
br label %101
101: ; preds = %99, %95
br label %104
102: ; preds = %78
%103 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br label %104
104: ; preds = %102, %101
%105 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 9474)
%106 = load i32*, i32** %14
%107 = load i32, i32* %106
%108 = icmp ne i32 %107, 0
br i1 %108, label %109, label %122
109: ; preds = %104
%110 = load i32*, i32** %14
%111 = load i32, i32* %110
%112 = icmp eq i32 %111, 1
br i1 %112, label %113, label %115
113: ; preds = %109
%114 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
br label %115
115: ; preds = %113, %109
%116 = load i32*, i32** %14
%117 = load i32, i32* %116
%118 = icmp eq i32 %117, -1
br i1 %118, label %119, label %121
119: ; preds = %115
%120 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
br label %121
121: ; preds = %119, %115
br label %124
122: ; preds = %104
%123 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br label %124
124: ; preds = %122, %121
%125 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 9474)
%126 = load i32*, i32** %15
%127 = load i32, i32* %126
%128 = icmp ne i32 %127, 0
br i1 %128, label %129, label %142
129: ; preds = %124
%130 = load i32*, i32** %15
%131 = load i32, i32* %130
%132 = icmp eq i32 %131, 1
br i1 %132, label %133, label %135
133: ; preds = %129
%134 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
br label %135
135: ; preds = %133, %129
%136 = load i32*, i32** %15
%137 = load i32, i32* %136
%138 = icmp eq i32 %137, -1
br i1 %138, label %139, label %141
139: ; preds = %135
%140 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
br label %141
141: ; preds = %139, %135
br label %144
142: ; preds = %124
%143 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br label %144
144: ; preds = %142, %141
%145 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
%146 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 9472)
%147 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 9532)
%148 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 9472)
%149 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 9532)
%150 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 9472)
%151 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
%152 = load i32*, i32** %16
%153 = load i32, i32* %152
%154 = icmp ne i32 %153, 0
br i1 %154, label %155, label %168
155: ; preds = %144
%156 = load i32*, i32** %16
%157 = load i32, i32* %156
%158 = icmp eq i32 %157, 1
br i1 %158, label %159, label %161
159: ; preds = %155
%160 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
br label %161
161: ; preds = %159, %155
%162 = load i32*, i32** %16
%163 = load i32, i32* %162
%164 = icmp eq i32 %163, -1
br i1 %164, label %165, label %167
165: ; preds = %161
%166 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
br label %167
167: ; preds = %165, %161
br label %170
168: ; preds = %144
%169 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br label %170
170: ; preds = %168, %167
%171 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 9474)
%172 = load i32*, i32** %17
%173 = load i32, i32* %172
%174 = icmp ne i32 %173, 0
br i1 %174, label %175, label %188
175: ; preds = %170
%176 = load i32*, i32** %17
%177 = load i32, i32* %176
%178 = icmp eq i32 %177, 1
br i1 %178, label %179, label %181
179: ; preds = %175
%180 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
br label %181
181: ; preds = %179, %175
%182 = load i32*, i32** %17
%183 = load i32, i32* %182
%184 = icmp eq i32 %183, -1
br i1 %184, label %185, label %187
185: ; preds = %181
%186 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
br label %187
187: ; preds = %185, %181
br label %190
188: ; preds = %170
%189 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br label %190
190: ; preds = %188, %187
%191 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 9474)
%192 = load i32*, i32** %18
%193 = load i32, i32* %192
%194 = icmp ne i32 %193, 0
br i1 %194, label %195, label %208
195: ; preds = %190
%196 = load i32*, i32** %18
%197 = load i32, i32* %196
%198 = icmp eq i32 %197, 1
br i1 %198, label %199, label %201
199: ; preds = %195
%200 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
br label %201
201: ; preds = %199, %195
%202 = load i32*, i32** %18
%203 = load i32, i32* %202
%204 = icmp eq i32 %203, -1
br i1 %204, label %205, label %207
205: ; preds = %201
%206 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
br label %207
207: ; preds = %205, %201
br label %210
208: ; preds = %190
%209 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br label %210
210: ; preds = %208, %207
%211 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
ret void
}

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