#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 printImage(int mistakes) {
  if (mistakes == 0) {
    printf("-----------------------------\n");
    printf("     |                       \n");
    printf("     |                       \n");
    printf("     |                       \n");
    printf("     |                       \n");
    printf("     |                       \n");
    printf("     |                       \n");
    printf("-----------------------------\n");
  } else if (mistakes == 1) {
    printf("-----------------------------\n");
    printf("     |            |          \n");
    printf("     |                       \n");
    printf("     |                       \n");
    printf("     |                       \n");
    printf("     |                       \n");
    printf("     |                       \n");
    printf("-----------------------------\n");
  } else if (mistakes == 2) {
    printf("-----------------------------\n");
    printf("     |            |          \n");
    printf("     |            O          \n");
    printf("     |                       \n");
    printf("     |                       \n");
    printf("     |                       \n");
    printf("     |                       \n");
    printf("-----------------------------\n");
  } else if (mistakes == 3) {
    printf("-----------------------------\n");
    printf("     |            |          \n");
    printf("     |            O          \n");
    printf("     |            |          \n");
    printf("     |                       \n");
    printf("     |                       \n");
    printf("     |                       \n");
    printf("-----------------------------\n");
  } else if (mistakes == 4) {
    printf("-----------------------------\n");
    printf("     |            |          \n");
    printf("     |            O          \n");
    printf("     |           -|          \n");
    printf("     |                       \n");
    printf("     |                       \n");
    printf("     |                       \n");
    printf("-----------------------------\n");
  } else if (mistakes == 5) {
    printf("-----------------------------\n");
    printf("     |            |          \n");
    printf("     |            O          \n");
    printf("     |           -|-         \n");
    printf("     |                       \n");
    printf("     |                       \n");
    printf("     |                       \n");
    printf("-----------------------------\n");
  } else if (mistakes == 6) {
    printf("-----------------------------\n");
    printf("     |            |          \n");
    printf("     |            O          \n");
    printf("     |           -|-         \n");
    printf("     |           /           \n");
    printf("     |                       \n");
    printf("     |                       \n");
    printf("-----------------------------\n");
  } else if (mistakes == 7) {
    printf("-----------------------------\n");
    printf("     |            |          \n");
    printf("     |            O          \n");
    printf("     |           -|-         \n");
    printf("     |           / \\         \n");
    printf("     |                       \n");
    printf("     |                       \n");
    printf("-----------------------------\n");
  }
}


x86 assembly (clang, -O0):
<printImage>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x4(%rbp)
cmpl   $0x0,-0x4(%rbp)
jne    118a <printImage+0x7a>
lea    0xed4(%rip),%rdi
call   1030 <printf@plt>
lea    0xee7(%rip),%rdi
call   1030 <printf@plt>
lea    0xedb(%rip),%rdi
call   1030 <printf@plt>
lea    0xecf(%rip),%rdi
call   1030 <printf@plt>
lea    0xec3(%rip),%rdi
call   1030 <printf@plt>
lea    0xeb7(%rip),%rdi
call   1030 <printf@plt>
lea    0xeab(%rip),%rdi
call   1030 <printf@plt>
lea    0xe80(%rip),%rdi
call   1030 <printf@plt>
jmp    14b1 <printImage+0x3a1>
cmpl   $0x1,-0x4(%rbp)
jne    11f9 <printImage+0xe9>
lea    0xe65(%rip),%rdi
call   1030 <printf@plt>
lea    0xe97(%rip),%rdi
call   1030 <printf@plt>
lea    0xe6c(%rip),%rdi
call   1030 <printf@plt>
lea    0xe60(%rip),%rdi
call   1030 <printf@plt>
lea    0xe54(%rip),%rdi
call   1030 <printf@plt>
lea    0xe48(%rip),%rdi
call   1030 <printf@plt>
lea    0xe3c(%rip),%rdi
call   1030 <printf@plt>
lea    0xe11(%rip),%rdi
call   1030 <printf@plt>
jmp    14ac <printImage+0x39c>
cmpl   $0x2,-0x4(%rbp)
jne    1268 <printImage+0x158>
lea    0xdf6(%rip),%rdi
call   1030 <printf@plt>
lea    0xe28(%rip),%rdi
call   1030 <printf@plt>
lea    0xe3b(%rip),%rdi
call   1030 <printf@plt>
lea    0xdf1(%rip),%rdi
call   1030 <printf@plt>
lea    0xde5(%rip),%rdi
call   1030 <printf@plt>
lea    0xdd9(%rip),%rdi
call   1030 <printf@plt>
lea    0xdcd(%rip),%rdi
call   1030 <printf@plt>
lea    0xda2(%rip),%rdi
call   1030 <printf@plt>
jmp    14a7 <printImage+0x397>
cmpl   $0x3,-0x4(%rbp)
jne    12d7 <printImage+0x1c7>
lea    0xd87(%rip),%rdi
call   1030 <printf@plt>
lea    0xdb9(%rip),%rdi
call   1030 <printf@plt>
lea    0xdcc(%rip),%rdi
call   1030 <printf@plt>
lea    0xda1(%rip),%rdi
call   1030 <printf@plt>
lea    0xd76(%rip),%rdi
call   1030 <printf@plt>
lea    0xd6a(%rip),%rdi
call   1030 <printf@plt>
lea    0xd5e(%rip),%rdi
call   1030 <printf@plt>
lea    0xd33(%rip),%rdi
call   1030 <printf@plt>
jmp    14a2 <printImage+0x392>
cmpl   $0x4,-0x4(%rbp)
jne    1346 <printImage+0x236>
lea    0xd18(%rip),%rdi
call   1030 <printf@plt>
lea    0xd4a(%rip),%rdi
call   1030 <printf@plt>
lea    0xd5d(%rip),%rdi
call   1030 <printf@plt>
lea    0xd70(%rip),%rdi
call   1030 <printf@plt>
lea    0xd07(%rip),%rdi
call   1030 <printf@plt>
lea    0xcfb(%rip),%rdi
call   1030 <printf@plt>
lea    0xcef(%rip),%rdi
call   1030 <printf@plt>
lea    0xcc4(%rip),%rdi
call   1030 <printf@plt>
jmp    149d <printImage+0x38d>
cmpl   $0x5,-0x4(%rbp)
jne    13b5 <printImage+0x2a5>
lea    0xca9(%rip),%rdi
call   1030 <printf@plt>
lea    0xcdb(%rip),%rdi
call   1030 <printf@plt>
lea    0xcee(%rip),%rdi
call   1030 <printf@plt>
lea    0xd20(%rip),%rdi
call   1030 <printf@plt>
lea    0xc98(%rip),%rdi
call   1030 <printf@plt>
lea    0xc8c(%rip),%rdi
call   1030 <printf@plt>
lea    0xc80(%rip),%rdi
call   1030 <printf@plt>
lea    0xc55(%rip),%rdi
call   1030 <printf@plt>
jmp    1498 <printImage+0x388>
cmpl   $0x6,-0x4(%rbp)
jne    1424 <printImage+0x314>
lea    0xc3a(%rip),%rdi
call   1030 <printf@plt>
lea    0xc6c(%rip),%rdi
call   1030 <printf@plt>
lea    0xc7f(%rip),%rdi
call   1030 <printf@plt>
lea    0xcb1(%rip),%rdi
call   1030 <printf@plt>
lea    0xcc4(%rip),%rdi
call   1030 <printf@plt>
lea    0xc1d(%rip),%rdi
call   1030 <printf@plt>
lea    0xc11(%rip),%rdi
call   1030 <printf@plt>
lea    0xbe6(%rip),%rdi
call   1030 <printf@plt>
jmp    1493 <printImage+0x383>
cmpl   $0x7,-0x4(%rbp)
jne    148e <printImage+0x37e>
lea    0xbcb(%rip),%rdi
call   1030 <printf@plt>
lea    0xbfd(%rip),%rdi
call   1030 <printf@plt>
lea    0xc10(%rip),%rdi
call   1030 <printf@plt>
lea    0xc42(%rip),%rdi
call   1030 <printf@plt>
lea    0xc74(%rip),%rdi
call   1030 <printf@plt>
lea    0xbae(%rip),%rdi
call   1030 <printf@plt>
lea    0xba2(%rip),%rdi
call   1030 <printf@plt>
lea    0xb77(%rip),%rdi
call   1030 <printf@plt>
jmp    1493 <printImage+0x383>
jmp    1498 <printImage+0x388>
jmp    149d <printImage+0x38d>
jmp    14a2 <printImage+0x392>
jmp    14a7 <printImage+0x397>
jmp    14ac <printImage+0x39c>
jmp    14b1 <printImage+0x3a1>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<printImage>:
cmp    $0x7,%edi
ja     11c3 <printImage+0xb3>
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
movslq %edi,%rax
lea    0x2cb2(%rip),%rcx
mov    (%rcx,%rax,8),%r14
lea    0xfb7(%rip),%rcx
movslq (%rcx,%rax,4),%rbx
add    %rcx,%rbx
lea    0xfc9(%rip),%rcx
movslq (%rcx,%rax,4),%r15
add    %rcx,%r15
lea    0xfdb(%rip),%rcx
movslq (%rcx,%rax,4),%r12
add    %rcx,%r12
lea    0xfed(%rip),%rcx
movslq (%rcx,%rax,4),%r13
add    %rcx,%r13
lea    0x2c2f(%rip),%rcx
mov    (%rcx,%rax,8),%rbp
mov    %r14,%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
call   1030 <puts@plt>
mov    %r15,%rdi
call   1030 <puts@plt>
mov    %r12,%rdi
call   1030 <puts@plt>
mov    %r13,%rdi
call   1030 <puts@plt>
mov    %rbp,%rdi
call   1030 <puts@plt>
mov    %rbp,%rdi
call   1030 <puts@plt>
mov    %r14,%rdi
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <puts@plt>
ret

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

LLVM IR (-O2):
@str.11 = [30 x i8] c" | / \\ \00"
@str.19 = [30 x i8] c" | / \00"
@str.26 = [30 x i8] c" | -|- \00"
@str.34 = [30 x i8] c" | -| \00"
@str.49 = [30 x i8] c" | O \00"
@str.56 = [30 x i8] c" | | \00"
@str.69 = [30 x i8] c" | \00"
@str.70 = [30 x i8] c"-----------------------------\00"
@reltable.printImage = [8 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([30 x i8]* @str.69 to i64), i64 ptrtoint ([8 x i32]* @reltable.printImage to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([30 x i8]* @str.56 to i64), i64 ptrtoint ([8 x i32]* @reltable.printImage to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([30 x i8]* @str.56 to i64), i64 ptrtoint ([8 x i32]* @reltable.printImage to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([30 x i8]* @str.56 to i64), i64 ptrtoint ([8 x i32]* @reltable.printImage to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([30 x i8]* @str.56 to i64), i64 ptrtoint ([8 x i32]* @reltable.printImage to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([30 x i8]* @str.56 to i64), i64 ptrtoint ([8 x i32]* @reltable.printImage to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([30 x i8]* @str.56 to i64), i64 ptrtoint ([8 x i32]* @reltable.printImage to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([30 x i8]* @str.56 to i64), i64 ptrtoint ([8 x i32]* @reltable.printImage to i64)) to i32)]
@reltable.printImage.78 = [8 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([30 x i8]* @str.69 to i64), i64 ptrtoint ([8 x i32]* @reltable.printImage.78 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([30 x i8]* @str.69 to i64), i64 ptrtoint ([8 x i32]* @reltable.printImage.78 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([30 x i8]* @str.49 to i64), i64 ptrtoint ([8 x i32]* @reltable.printImage.78 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([30 x i8]* @str.49 to i64), i64 ptrtoint ([8 x i32]* @reltable.printImage.78 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([30 x i8]* @str.49 to i64), i64 ptrtoint ([8 x i32]* @reltable.printImage.78 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([30 x i8]* @str.49 to i64), i64 ptrtoint ([8 x i32]* @reltable.printImage.78 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([30 x i8]* @str.49 to i64), i64 ptrtoint ([8 x i32]* @reltable.printImage.78 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([30 x i8]* @str.49 to i64), i64 ptrtoint ([8 x i32]* @reltable.printImage.78 to i64)) to i32)]
@reltable.printImage.79 = [8 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([30 x i8]* @str.69 to i64), i64 ptrtoint ([8 x i32]* @reltable.printImage.79 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([30 x i8]* @str.69 to i64), i64 ptrtoint ([8 x i32]* @reltable.printImage.79 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([30 x i8]* @str.69 to i64), i64 ptrtoint ([8 x i32]* @reltable.printImage.79 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([30 x i8]* @str.56 to i64), i64 ptrtoint ([8 x i32]* @reltable.printImage.79 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([30 x i8]* @str.34 to i64), i64 ptrtoint ([8 x i32]* @reltable.printImage.79 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([30 x i8]* @str.26 to i64), i64 ptrtoint ([8 x i32]* @reltable.printImage.79 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([30 x i8]* @str.26 to i64), i64 ptrtoint ([8 x i32]* @reltable.printImage.79 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([30 x i8]* @str.26 to i64), i64 ptrtoint ([8 x i32]* @reltable.printImage.79 to i64)) to i32)]
@reltable.printImage.80 = [8 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([30 x i8]* @str.69 to i64), i64 ptrtoint ([8 x i32]* @reltable.printImage.80 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([30 x i8]* @str.69 to i64), i64 ptrtoint ([8 x i32]* @reltable.printImage.80 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([30 x i8]* @str.69 to i64), i64 ptrtoint ([8 x i32]* @reltable.printImage.80 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([30 x i8]* @str.69 to i64), i64 ptrtoint ([8 x i32]* @reltable.printImage.80 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([30 x i8]* @str.69 to i64), i64 ptrtoint ([8 x i32]* @reltable.printImage.80 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([30 x i8]* @str.69 to i64), i64 ptrtoint ([8 x i32]* @reltable.printImage.80 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([30 x i8]* @str.19 to i64), i64 ptrtoint ([8 x i32]* @reltable.printImage.80 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([30 x i8]* @str.11 to i64), i64 ptrtoint ([8 x i32]* @reltable.printImage.80 to i64)) to i32)]
@switch.table.printImage.76 = [8 x i8*] [i8* getelementptr inbounds ([30 x i8], [30 x i8]* @str.69, i64 0, i64 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @str.69, i64 0, i64 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @str.69, i64 0, i64 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @str.69, i64 0, i64 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @str.69, i64 0, i64 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @str.69, i64 0, i64 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @str.69, i64 0, i64 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @str.69, i64 0, i64 0)]
@switch.table.printImage.77 = [8 x i8*] [i8* getelementptr inbounds ([30 x i8], [30 x i8]* @str.70, i64 0, i64 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @str.70, i64 0, i64 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @str.70, i64 0, i64 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @str.70, i64 0, i64 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @str.70, i64 0, i64 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @str.70, i64 0, i64 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @str.70, i64 0, i64 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @str.70, i64 0, i64 0)]
define void @printImage(i32 %0) {
%2 = icmp ult i32 %0, 8
br i1 %2, label %3, label %36
3: ; preds = %1
%4 = sext i32 %0 to i64
%5 = getelementptr inbounds [8 x i8*], [8 x i8*]* @switch.table.printImage.77, i64 0, i64 %4
%6 = load i8*, i8** %5
%7 = sext i32 %0 to i64
%8 = shl i64 %7, 2
%9 = call i8* @llvm.load.relative.i64(i8* bitcast ([8 x i32]* @reltable.printImage to i8*), i64 %8)
%10 = sext i32 %0 to i64
%11 = shl i64 %10, 2
%12 = call i8* @llvm.load.relative.i64(i8* bitcast ([8 x i32]* @reltable.printImage.78 to i8*), i64 %11)
%13 = sext i32 %0 to i64
%14 = shl i64 %13, 2
%15 = call i8* @llvm.load.relative.i64(i8* bitcast ([8 x i32]* @reltable.printImage.79 to i8*), i64 %14)
%16 = sext i32 %0 to i64
%17 = shl i64 %16, 2
%18 = call i8* @llvm.load.relative.i64(i8* bitcast ([8 x i32]* @reltable.printImage.80 to i8*), i64 %17)
%19 = sext i32 %0 to i64
%20 = getelementptr inbounds [8 x i8*], [8 x i8*]* @switch.table.printImage.76, i64 0, i64 %19
%21 = load i8*, i8** %20
%22 = sext i32 %0 to i64
%23 = getelementptr inbounds [8 x i8*], [8 x i8*]* @switch.table.printImage.76, i64 0, i64 %22
%24 = load i8*, i8** %23
%25 = sext i32 %0 to i64
%26 = getelementptr inbounds [8 x i8*], [8 x i8*]* @switch.table.printImage.77, i64 0, i64 %25
%27 = load i8*, i8** %26
%28 = tail call i32 @puts(i8* dereferenceable(1) %6)
%29 = tail call i32 @puts(i8* dereferenceable(1) %9)
%30 = tail call i32 @puts(i8* dereferenceable(1) %12)
%31 = tail call i32 @puts(i8* dereferenceable(1) %15)
%32 = tail call i32 @puts(i8* dereferenceable(1) %18)
%33 = tail call i32 @puts(i8* dereferenceable(1) %21)
%34 = tail call i32 @puts(i8* dereferenceable(1) %24)
%35 = tail call i32 @puts(i8* dereferenceable(1) %27)
br label %36
36: ; preds = %1, %3
ret void
}