#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*/ exit(int);
int /*<<< orphan*/ printGridRow(int);
int /*<<< orphan*/ printf(char *, ...);
void dispGrid(int **board) {
  int i;
  int j;
  printf("    1 2 3 4 5 6 7 8 9 10 \n");
  printf("  +---------------------+\n");
  for (i = 0; i < 10; i++) {
    printGridRow(i);
    for (j = 0; j < 10; j++) {
      switch (board[i][j]) {
      case 0:
        printf("  ");
        break;
      case 4:
        printf("B ");
        break;
      case 5:
        printf("A ");
        break;
      default:
        printf("Unknown value for board[%d][%d] : %d. Terminating program.\n",
               i, j, board[i][j]);
        exit(1);
      }
    }
    printf("|\n");
  }
  printf("  +---------------------+\n");
}


x86 assembly (clang, -O0):
<dispGrid>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
lea    0xebd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xeca(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0xc(%rbp)
cmpl   $0xa,-0xc(%rbp)
jge    1260 <dispGrid+0x130>
mov    -0xc(%rbp),%edi
call   1040 <printGridRow@plt>
movl   $0x0,-0x10(%rbp)
cmpl   $0xa,-0x10(%rbp)
jge    1244 <dispGrid+0x114>
mov    -0x8(%rbp),%rax
movslq -0xc(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x10(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
mov    %eax,-0x14(%rbp)
test   %eax,%eax
je     11c7 <dispGrid+0x97>
jmp    11a5 <dispGrid+0x75>
mov    -0x14(%rbp),%eax
sub    $0x4,%eax
je     11da <dispGrid+0xaa>
jmp    11b6 <dispGrid+0x86>
mov    -0x14(%rbp),%eax
sub    $0x5,%eax
je     11ed <dispGrid+0xbd>
jmp    1200 <dispGrid+0xd0>
lea    0xe68(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1231 <dispGrid+0x101>
lea    0xe58(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1231 <dispGrid+0x101>
lea    0xe48(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1231 <dispGrid+0x101>
mov    -0xc(%rbp),%esi
mov    -0x10(%rbp),%edx
mov    -0x8(%rbp),%rax
movslq -0xc(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x10(%rbp),%rcx
mov    (%rax,%rcx,4),%ecx
lea    0xe1f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x1,%edi
call   1050 <exit@plt>
jmp    1236 <dispGrid+0x106>
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    1178 <dispGrid+0x48>
lea    0xe30(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    115f <dispGrid+0x2f>
lea    0xdb4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<dispGrid>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %rdi,%r15
lea    0xef0(%rip),%rdi
call   1030 <puts@plt>
lea    0xefe(%rip),%rdi
call   1030 <puts@plt>
lea    0xe93(%rip),%r13
lea    0xe92(%rip),%rbp
lea    0xefe(%rip),%r12
lea    0xe81(%rip),%r14
xor    %ebx,%ebx
jmp    11b0 <dispGrid+0x70>
cs nopw 0x0(%rax,%rax,1)
mov    %r13,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r12,%rdi
call   1030 <puts@plt>
add    $0x1,%rbx
cmp    $0xa,%rbx
je     1392 <dispGrid+0x252>
mov    %ebx,%edi
call   1050 <printGridRow@plt>
mov    (%r15,%rbx,8),%rax
mov    (%rax),%ecx
mov    %r13,%rdi
test   %ecx,%ecx
je     11e3 <dispGrid+0xa3>
cmp    $0x5,%ecx
je     11e0 <dispGrid+0xa0>
cmp    $0x4,%ecx
jne    13ac <dispGrid+0x26c>
mov    %r14,%rdi
jmp    11e3 <dispGrid+0xa3>
nopw   0x0(%rax,%rax,1)
mov    %rbp,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    (%r15,%rbx,8),%rax
mov    0x4(%rax),%ecx
test   %ecx,%ecx
je     1210 <dispGrid+0xd0>
mov    %rbp,%rdi
cmp    $0x5,%ecx
je     1213 <dispGrid+0xd3>
cmp    $0x4,%ecx
jne    13b0 <dispGrid+0x270>
mov    %r14,%rdi
jmp    1213 <dispGrid+0xd3>
nopl   0x0(%rax,%rax,1)
mov    %r13,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    (%r15,%rbx,8),%rax
mov    0x8(%rax),%ecx
test   %ecx,%ecx
je     1240 <dispGrid+0x100>
mov    %rbp,%rdi
cmp    $0x5,%ecx
je     1243 <dispGrid+0x103>
cmp    $0x4,%ecx
jne    13b7 <dispGrid+0x277>
mov    %r14,%rdi
jmp    1243 <dispGrid+0x103>
nopl   0x0(%rax,%rax,1)
mov    %r13,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    (%r15,%rbx,8),%rax
mov    0xc(%rax),%ecx
test   %ecx,%ecx
je     1270 <dispGrid+0x130>
mov    %rbp,%rdi
cmp    $0x5,%ecx
je     1273 <dispGrid+0x133>
cmp    $0x4,%ecx
jne    13be <dispGrid+0x27e>
mov    %r14,%rdi
jmp    1273 <dispGrid+0x133>
nopl   0x0(%rax,%rax,1)
mov    %r13,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    (%r15,%rbx,8),%rax
mov    0x10(%rax),%ecx
test   %ecx,%ecx
je     12a0 <dispGrid+0x160>
mov    %rbp,%rdi
cmp    $0x5,%ecx
je     12a3 <dispGrid+0x163>
cmp    $0x4,%ecx
jne    13c5 <dispGrid+0x285>
mov    %r14,%rdi
jmp    12a3 <dispGrid+0x163>
nopl   0x0(%rax,%rax,1)
mov    %r13,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    (%r15,%rbx,8),%rax
mov    0x14(%rax),%ecx
test   %ecx,%ecx
je     12d0 <dispGrid+0x190>
mov    %rbp,%rdi
cmp    $0x5,%ecx
je     12d3 <dispGrid+0x193>
cmp    $0x4,%ecx
jne    13cc <dispGrid+0x28c>
mov    %r14,%rdi
jmp    12d3 <dispGrid+0x193>
nopl   0x0(%rax,%rax,1)
mov    %r13,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    (%r15,%rbx,8),%rax
mov    0x18(%rax),%ecx
test   %ecx,%ecx
je     1300 <dispGrid+0x1c0>
mov    %rbp,%rdi
cmp    $0x5,%ecx
je     1303 <dispGrid+0x1c3>
cmp    $0x4,%ecx
jne    13d3 <dispGrid+0x293>
mov    %r14,%rdi
jmp    1303 <dispGrid+0x1c3>
nopl   0x0(%rax,%rax,1)
mov    %r13,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    (%r15,%rbx,8),%rax
mov    0x1c(%rax),%ecx
test   %ecx,%ecx
je     1330 <dispGrid+0x1f0>
mov    %rbp,%rdi
cmp    $0x5,%ecx
je     1333 <dispGrid+0x1f3>
cmp    $0x4,%ecx
jne    13da <dispGrid+0x29a>
mov    %r14,%rdi
jmp    1333 <dispGrid+0x1f3>
nopl   0x0(%rax,%rax,1)
mov    %r13,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    (%r15,%rbx,8),%rax
mov    0x20(%rax),%ecx
test   %ecx,%ecx
je     1360 <dispGrid+0x220>
mov    %rbp,%rdi
cmp    $0x5,%ecx
je     1363 <dispGrid+0x223>
cmp    $0x4,%ecx
jne    13e1 <dispGrid+0x2a1>
mov    %r14,%rdi
jmp    1363 <dispGrid+0x223>
nopl   0x0(%rax,%rax,1)
mov    %r13,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    (%r15,%rbx,8),%rax
mov    0x24(%rax),%ecx
test   %ecx,%ecx
je     1190 <dispGrid+0x50>
mov    %rbp,%rdi
cmp    $0x5,%ecx
je     1193 <dispGrid+0x53>
cmp    $0x4,%ecx
jne    13e8 <dispGrid+0x2a8>
mov    %r14,%rdi
jmp    1193 <dispGrid+0x53>
lea    0xcc6(%rip),%rdi
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <puts@plt>
xor    %edx,%edx
jmp    13ed <dispGrid+0x2ad>
mov    $0x1,%edx
jmp    13ed <dispGrid+0x2ad>
mov    $0x2,%edx
jmp    13ed <dispGrid+0x2ad>
mov    $0x3,%edx
jmp    13ed <dispGrid+0x2ad>
mov    $0x4,%edx
jmp    13ed <dispGrid+0x2ad>
mov    $0x5,%edx
jmp    13ed <dispGrid+0x2ad>
mov    $0x6,%edx
jmp    13ed <dispGrid+0x2ad>
mov    $0x7,%edx
jmp    13ed <dispGrid+0x2ad>
mov    $0x8,%edx
jmp    13ed <dispGrid+0x2ad>
mov    $0x9,%edx
lea    0xc15(%rip),%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1,%edi
call   1060 <exit@plt>

LLVM IR (-O0):
@.str = [27 x i8] c" 1 2 3 4 5 6 7 8 9 10 \0A\00"
@.str.1 = [27 x i8] c" +---------------------+\0A\00"
@.str.2 = [3 x i8] c" \00"
@.str.3 = [3 x i8] c"B \00"
@.str.4 = [3 x i8] c"A \00"
@.str.5 = [60 x i8] c"Unknown value for board[%d][%d] : %d. Terminating program.\0A\00"
@.str.6 = [3 x i8] c"|\0A\00"
define void @dispGrid(i32** %0) {
%2 = alloca i32**
%3 = alloca i32
%4 = alloca i32
store i32** %0, i32*** %2
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0))
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i64 0, i64 0))
store i32 0, i32* %3
br label %7
7: ; preds = %52, %1
%8 = load i32, i32* %3
%9 = icmp slt i32 %8, 10
br i1 %9, label %10, label %55
10: ; preds = %7
%11 = load i32, i32* %3
%12 = call i32 @printGridRow(i32 %11)
store i32 0, i32* %4
br label %13
13: ; preds = %47, %10
%14 = load i32, i32* %4
%15 = icmp slt i32 %14, 10
br i1 %15, label %16, label %50
16: ; preds = %13
%17 = load i32**, i32*** %2
%18 = load i32, i32* %3
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32*, i32** %17, i64 %19
%21 = load i32*, i32** %20
%22 = load i32, i32* %4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i32, i32* %21, i64 %23
%25 = load i32, i32* %24
switch i32 %25, label %32 [
i32 0, label %26
i32 4, label %28
i32 5, label %30
]
26: ; preds = %16
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
br label %46
28: ; preds = %16
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
br label %46
30: ; preds = %16
%31 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
br label %46
32: ; preds = %16
%33 = load i32, i32* %3
%34 = load i32, i32* %4
%35 = load i32**, i32*** %2
%36 = load i32, i32* %3
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32*, i32** %35, i64 %37
%39 = load i32*, i32** %38
%40 = load i32, i32* %4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i32, i32* %39, i64 %41
%43 = load i32, i32* %42
%44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.5, i64 0, i64 0), i32 %33, i32 %34, i32 %43)
%45 = call i32 @exit(i32 1)
unreachable
46: ; preds = %30, %28, %26
br label %47
47: ; preds = %46
%48 = load i32, i32* %4
%49 = add nsw i32 %48, 1
store i32 %49, i32* %4
br label %13
50: ; preds = %13
%51 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
br label %52
52: ; preds = %50
%53 = load i32, i32* %3
%54 = add nsw i32 %53, 1
store i32 %54, i32* %3
br label %7
55: ; preds = %7
%56 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i64 0, i64 0))
ret void
}

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