int main() {
  char dwarf[7][2][8] = {
      "bashful", "?",     "doc", "?",      "dopey", "?",      "grumpy",
      "?",       "happy", "?",   "sneezy", "?",     "sleepy", "?",
  };
  char input[64];
  int named = 0;
  int x;
  puts("\t----------\nSee if you can name all 7 dwarfs\n\t----------\n\n");
  while (named < 7) {
    if (named == 1)
      printf("\nSo far you've named %d dwarf\n", named);
    else
      printf("\nSo far you've named %d dwarfs\n", named);
    printf("Enter a name:");
    gets(input);
    if (strcmp(input, " ") == 0)
      break;
    for (x = 0; x < 7; x++) {
      if (strcmpi(input, dwarf[x][0]) == 0) {
        if (dwarf[x][1][0] == '!')
          printf("\tYou allready named that dwarf!!!%c\n", 1);
        else {
          printf("Yes! %s is one of them!\n\n", input);
          named++;
          dwarf[x][1][0] = '!';
        }
      }
    }
    if (named == 7)
      printf("\n\tWOW, You know them all!!! :-O\n");
    else
      puts("Try again:");
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xd0,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0x80(%rbp),%rdi
lea    0xe83(%rip),%rsi
mov    $0x70,%edx
call   1070 <memcpy@plt>
movl   $0x0,-0xc4(%rbp)
lea    0xed8(%rip),%rdi
mov    $0x0,%al
call   1030 <puts@plt>
cmpl   $0x7,-0xc4(%rbp)
jge    1325 <main+0x1c5>
cmpl   $0x1,-0xc4(%rbp)
jne    11d2 <main+0x72>
mov    -0xc4(%rbp),%esi
lea    0xee5(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    11e6 <main+0x86>
mov    -0xc4(%rbp),%esi
lea    0xeeb(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xefd(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    -0xc0(%rbp),%rdi
mov    $0x0,%al
call   1080 <gets@plt>
lea    -0xc0(%rbp),%rdi
lea    0xee8(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%eax
jne    1223 <main+0xc3>
jmp    1325 <main+0x1c5>
movl   $0x0,-0xc8(%rbp)
cmpl   $0x7,-0xc8(%rbp)
jge    12f2 <main+0x192>
lea    -0xc0(%rbp),%rdi
movslq -0xc8(%rbp),%rax
lea    -0x80(%rbp),%rsi
shl    $0x4,%rax
add    %rax,%rsi
mov    $0x0,%al
call   1050 <strcmpi@plt>
cmp    $0x0,%eax
jne    12d9 <main+0x179>
movslq -0xc8(%rbp),%rcx
lea    -0x80(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
movsbl 0x8(%rax),%eax
cmp    $0x21,%eax
jne    129a <main+0x13a>
lea    0xe71(%rip),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    12d4 <main+0x174>
lea    -0xc0(%rbp),%rsi
lea    0xe77(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0xc4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc4(%rbp)
movslq -0xc8(%rbp),%rcx
lea    -0x80(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
movb   $0x21,0x8(%rax)
jmp    12d9 <main+0x179>
jmp    12de <main+0x17e>
mov    -0xc8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc8(%rbp)
jmp    122d <main+0xcd>
cmpl   $0x7,-0xc4(%rbp)
jne    1312 <main+0x1b2>
lea    0xe33(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1320 <main+0x1c0>
lea    0xe41(%rip),%rdi
mov    $0x0,%al
call   1030 <puts@plt>
jmp    119f <main+0x3f>
xor    %eax,%eax
add    $0xd0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xb8,%rsp
movaps 0xf08(%rip),%xmm0
movaps %xmm0,0x60(%rsp)
movaps 0xeec(%rip),%xmm0
movaps %xmm0,0x50(%rsp)
movaps 0xed0(%rip),%xmm0
movaps %xmm0,0x40(%rsp)
movaps 0xeb4(%rip),%xmm0
movaps %xmm0,0x30(%rsp)
movaps 0xe98(%rip),%xmm0
movaps %xmm0,0x20(%rsp)
movaps 0xe7c(%rip),%xmm0
movaps %xmm0,0x10(%rsp)
movaps 0xe60(%rip),%xmm0
movaps %xmm0,(%rsp)
lea    0xec5(%rip),%rdi
xor    %eax,%eax
call   1030 <puts@plt>
lea    0xf31(%rip),%r14
lea    0x70(%rsp),%r15
mov    %rsp,%r12
lea    0xf30(%rip),%r13
lea    0xf4e(%rip),%rbx
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
cmp    $0x1,%ebp
jne    1200 <main+0xc0>
lea    0xebf(%rip),%rdi
mov    $0x1,%esi
jmp    1209 <main+0xc9>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
lea    0xec3(%rip),%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
xor    %eax,%eax
call   1060 <gets@plt>
cmpw   $0x20,0x70(%rsp)
je     1424 <main+0x2e4>
mov    %r15,%rdi
mov    %r12,%rsi
xor    %eax,%eax
call   1050 <strcmpi@plt>
test   %eax,%eax
jne    1270 <main+0x130>
cmpb   $0x21,0x8(%rsp)
jne    1259 <main+0x119>
mov    %r13,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
jmp    1270 <main+0x130>
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
add    $0x1,%ebp
movb   $0x21,0x8(%rsp)
xchg   %ax,%ax
mov    %r15,%rdi
lea    0x10(%rsp),%rsi
xor    %eax,%eax
call   1050 <strcmpi@plt>
test   %eax,%eax
jne    12b0 <main+0x170>
cmpb   $0x21,0x18(%rsp)
jne    129b <main+0x15b>
mov    %r13,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
jmp    12b0 <main+0x170>
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
add    $0x1,%ebp
movb   $0x21,0x18(%rsp)
mov    %r15,%rdi
lea    0x20(%rsp),%rsi
xor    %eax,%eax
call   1050 <strcmpi@plt>
test   %eax,%eax
jne    12f0 <main+0x1b0>
cmpb   $0x21,0x28(%rsp)
jne    12db <main+0x19b>
mov    %r13,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
jmp    12f0 <main+0x1b0>
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
add    $0x1,%ebp
movb   $0x21,0x28(%rsp)
mov    %r15,%rdi
lea    0x30(%rsp),%rsi
xor    %eax,%eax
call   1050 <strcmpi@plt>
test   %eax,%eax
jne    1330 <main+0x1f0>
cmpb   $0x21,0x38(%rsp)
jne    131b <main+0x1db>
mov    %r13,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
jmp    1330 <main+0x1f0>
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
add    $0x1,%ebp
movb   $0x21,0x38(%rsp)
mov    %r15,%rdi
lea    0x40(%rsp),%rsi
xor    %eax,%eax
call   1050 <strcmpi@plt>
test   %eax,%eax
jne    1370 <main+0x230>
cmpb   $0x21,0x48(%rsp)
jne    135b <main+0x21b>
mov    %r13,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
jmp    1370 <main+0x230>
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
add    $0x1,%ebp
movb   $0x21,0x48(%rsp)
mov    %r15,%rdi
lea    0x50(%rsp),%rsi
xor    %eax,%eax
call   1050 <strcmpi@plt>
test   %eax,%eax
jne    13b0 <main+0x270>
cmpb   $0x21,0x58(%rsp)
jne    139b <main+0x25b>
mov    %r13,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
jmp    13b0 <main+0x270>
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
add    $0x1,%ebp
movb   $0x21,0x58(%rsp)
mov    %r15,%rdi
lea    0x60(%rsp),%rsi
xor    %eax,%eax
call   1050 <strcmpi@plt>
test   %eax,%eax
jne    13e0 <main+0x2a0>
cmpb   $0x21,0x68(%rsp)
jne    13fe <main+0x2be>
mov    %r13,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
nopl   0x0(%rax)
cmp    $0x7,%ebp
je     1418 <main+0x2d8>
lea    0xd4b(%rip),%rdi
xor    %eax,%eax
call   1030 <puts@plt>
cmp    $0x7,%ebp
jl     11e0 <main+0xa0>
jmp    1424 <main+0x2e4>
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
add    $0x1,%ebp
movb   $0x21,0x68(%rsp)
cmp    $0x7,%ebp
jne    13e5 <main+0x2a5>
lea    0xd23(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
add    $0xb8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@__const.main.dwarf = [7 x [2 x [8 x i8]]] [[2 x [8 x i8]] [[8 x i8] c"bashful\00", [8 x i8] c"?\00\00\00\00\00\00\00"], [2 x [8 x i8]] [[8 x i8] c"doc\00\00\00\00\00", [8 x i8] c"?\00\00\00\00\00\00\00"], [2 x [8 x i8]] [[8 x i8] c"dopey\00\00\00", [8 x i8] c"?\00\00\00\00\00\00\00"], [2 x [8 x i8]] [[8 x i8] c"grumpy\00\00", [8 x i8] c"?\00\00\00\00\00\00\00"], [2 x [8 x i8]] [[8 x i8] c"happy\00\00\00", [8 x i8] c"?\00\00\00\00\00\00\00"], [2 x [8 x i8]] [[8 x i8] c"sneezy\00\00", [8 x i8] c"?\00\00\00\00\00\00\00"], [2 x [8 x i8]] [[8 x i8] c"sleepy\00\00", [8 x i8] c"?\00\00\00\00\00\00\00"]]
@.str = [59 x i8] c"\09----------\0ASee if you can name all 7 dwarfs\0A\09----------\0A\0A\00"
@.str.1 = [31 x i8] c"\0ASo far you've named %d dwarf\0A\00"
@.str.2 = [32 x i8] c"\0ASo far you've named %d dwarfs\0A\00"
@.str.3 = [14 x i8] c"Enter a name:\00"
@.str.4 = [2 x i8] c" \00"
@.str.5 = [37 x i8] c"\09You allready named that dwarf!!!%c\0A\00"
@.str.6 = [26 x i8] c"Yes! %s is one of them!\0A\0A\00"
@.str.7 = [33 x i8] c"\0A\09WOW, You know them all!!! :-O\0A\00"
@.str.8 = [11 x i8] c"Try again:\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [7 x [2 x [8 x i8]]]
%3 = alloca [64 x i8]
%4 = alloca i32
%5 = alloca i32
store i32 0, i32* %1
%6 = bitcast [7 x [2 x [8 x i8]]]* %2 to i8*
store i32 0, i32* %4
%7 = call i32 (i8*, ...) bitcast (i32 (...)* @puts to i32 (i8*, ...)*)(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str, i64 0, i64 0))
br label %8
8: ; preds = %74, %0
%9 = load i32, i32* %4
%10 = icmp slt i32 %9, 7
br i1 %10, label %11, label %75
11: ; preds = %8
%12 = load i32, i32* %4
%13 = icmp eq i32 %12, 1
br i1 %13, label %14, label %17
14: ; preds = %11
%15 = load i32, i32* %4
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.1, i64 0, i64 0), i32 %15)
br label %20
17: ; preds = %11
%18 = load i32, i32* %4
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i32 %18)
br label %20
20: ; preds = %17, %14
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0))
%22 = getelementptr inbounds [64 x i8], [64 x i8]* %3, i64 0, i64 0
%23 = call i32 (i8*, ...) bitcast (i32 (...)* @gets to i32 (i8*, ...)*)(i8* %22)
%24 = getelementptr inbounds [64 x i8], [64 x i8]* %3, i64 0, i64 0
%25 = call i32 @strcmp(i8* %24, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %28
27: ; preds = %20
br label %75
28: ; preds = %20
store i32 0, i32* %5
br label %29
29: ; preds = %64, %28
%30 = load i32, i32* %5
%31 = icmp slt i32 %30, 7
br i1 %31, label %32, label %67
32: ; preds = %29
%33 = getelementptr inbounds [64 x i8], [64 x i8]* %3, i64 0, i64 0
%34 = load i32, i32* %5
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [7 x [2 x [8 x i8]]], [7 x [2 x [8 x i8]]]* %2, i64 0, i64 %35
%37 = getelementptr inbounds [2 x [8 x i8]], [2 x [8 x i8]]* %36, i64 0, i64 0
%38 = getelementptr inbounds [8 x i8], [8 x i8]* %37, i64 0, i64 0
%39 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @strcmpi to i32 (i8*, i8*, ...)*)(i8* %33, i8* %38)
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %63
41: ; preds = %32
%42 = load i32, i32* %5
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [7 x [2 x [8 x i8]]], [7 x [2 x [8 x i8]]]* %2, i64 0, i64 %43
%45 = getelementptr inbounds [2 x [8 x i8]], [2 x [8 x i8]]* %44, i64 0, i64 1
%46 = getelementptr inbounds [8 x i8], [8 x i8]* %45, i64 0, i64 0
%47 = load i8, i8* %46
%48 = sext i8 %47 to i32
%49 = icmp eq i32 %48, 33
br i1 %49, label %50, label %52
50: ; preds = %41
%51 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.5, i64 0, i64 0), i32 1)
br label %62
52: ; preds = %41
%53 = getelementptr inbounds [64 x i8], [64 x i8]* %3, i64 0, i64 0
%54 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.6, i64 0, i64 0), i8* %53)
%55 = load i32, i32* %4
%56 = add nsw i32 %55, 1
store i32 %56, i32* %4
%57 = load i32, i32* %5
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [7 x [2 x [8 x i8]]], [7 x [2 x [8 x i8]]]* %2, i64 0, i64 %58
%60 = getelementptr inbounds [2 x [8 x i8]], [2 x [8 x i8]]* %59, i64 0, i64 1
%61 = getelementptr inbounds [8 x i8], [8 x i8]* %60, i64 0, i64 0
store i8 33, i8* %61
br label %62
62: ; preds = %52, %50
br label %63
63: ; preds = %62, %32
br label %64
64: ; preds = %63
%65 = load i32, i32* %5
%66 = add nsw i32 %65, 1
store i32 %66, i32* %5
br label %29
67: ; preds = %29
%68 = load i32, i32* %4
%69 = icmp eq i32 %68, 7
br i1 %69, label %70, label %72
70: ; preds = %67
%71 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.7, i64 0, i64 0))
br label %74
72: ; preds = %67
%73 = call i32 (i8*, ...) bitcast (i32 (...)* @puts to i32 (i8*, ...)*)(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0))
br label %74
74: ; preds = %72, %70
br label %8
75: ; preds = %27, %8
ret i32 0
}

LLVM IR (-O2):
@__const.main.dwarf = [7 x [2 x [8 x i8]]] [[2 x [8 x i8]] [[8 x i8] c"bashful\00", [8 x i8] c"?\00\00\00\00\00\00\00"], [2 x [8 x i8]] [[8 x i8] c"doc\00\00\00\00\00", [8 x i8] c"?\00\00\00\00\00\00\00"], [2 x [8 x i8]] [[8 x i8] c"dopey\00\00\00", [8 x i8] c"?\00\00\00\00\00\00\00"], [2 x [8 x i8]] [[8 x i8] c"grumpy\00\00", [8 x i8] c"?\00\00\00\00\00\00\00"], [2 x [8 x i8]] [[8 x i8] c"happy\00\00\00", [8 x i8] c"?\00\00\00\00\00\00\00"], [2 x [8 x i8]] [[8 x i8] c"sneezy\00\00", [8 x i8] c"?\00\00\00\00\00\00\00"], [2 x [8 x i8]] [[8 x i8] c"sleepy\00\00", [8 x i8] c"?\00\00\00\00\00\00\00"]]
@.str = [59 x i8] c"\09----------\0ASee if you can name all 7 dwarfs\0A\09----------\0A\0A\00"
@.str.1 = [31 x i8] c"\0ASo far you've named %d dwarf\0A\00"
@.str.2 = [32 x i8] c"\0ASo far you've named %d dwarfs\0A\00"
@.str.3 = [14 x i8] c"Enter a name:\00"
@.str.5 = [37 x i8] c"\09You allready named that dwarf!!!%c\0A\00"
@.str.6 = [26 x i8] c"Yes! %s is one of them!\0A\0A\00"
@.str.8 = [11 x i8] c"Try again:\00"
@str = [32 x i8] c"\0A\09WOW, You know them all!!! :-O\00"
define i32 @main() {
%1 = alloca [7 x [2 x [8 x i8]]]
%2 = alloca [64 x i8]
%3 = getelementptr inbounds [7 x [2 x [8 x i8]]], [7 x [2 x [8 x i8]]]* %1, i64 0, i64 0, i64 0, i64 0
%4 = getelementptr inbounds [64 x i8], [64 x i8]* %2, i64 0, i64 0
%5 = tail call i32 (i8*, ...) bitcast (i32 (...)* @puts to i32 (i8*, ...)*)(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str, i64 0, i64 0))
%6 = bitcast [64 x i8]* %2 to i16*
%7 = getelementptr inbounds [7 x [2 x [8 x i8]]], [7 x [2 x [8 x i8]]]* %1, i64 0, i64 0, i64 1, i64 0
%8 = getelementptr inbounds [7 x [2 x [8 x i8]]], [7 x [2 x [8 x i8]]]* %1, i64 0, i64 1, i64 0, i64 0
%9 = getelementptr inbounds [7 x [2 x [8 x i8]]], [7 x [2 x [8 x i8]]]* %1, i64 0, i64 1, i64 1, i64 0
%10 = getelementptr inbounds [7 x [2 x [8 x i8]]], [7 x [2 x [8 x i8]]]* %1, i64 0, i64 2, i64 0, i64 0
%11 = getelementptr inbounds [7 x [2 x [8 x i8]]], [7 x [2 x [8 x i8]]]* %1, i64 0, i64 2, i64 1, i64 0
%12 = getelementptr inbounds [7 x [2 x [8 x i8]]], [7 x [2 x [8 x i8]]]* %1, i64 0, i64 3, i64 0, i64 0
%13 = getelementptr inbounds [7 x [2 x [8 x i8]]], [7 x [2 x [8 x i8]]]* %1, i64 0, i64 3, i64 1, i64 0
%14 = getelementptr inbounds [7 x [2 x [8 x i8]]], [7 x [2 x [8 x i8]]]* %1, i64 0, i64 4, i64 0, i64 0
%15 = getelementptr inbounds [7 x [2 x [8 x i8]]], [7 x [2 x [8 x i8]]]* %1, i64 0, i64 4, i64 1, i64 0
%16 = getelementptr inbounds [7 x [2 x [8 x i8]]], [7 x [2 x [8 x i8]]]* %1, i64 0, i64 5, i64 0, i64 0
%17 = getelementptr inbounds [7 x [2 x [8 x i8]]], [7 x [2 x [8 x i8]]]* %1, i64 0, i64 5, i64 1, i64 0
%18 = getelementptr inbounds [7 x [2 x [8 x i8]]], [7 x [2 x [8 x i8]]]* %1, i64 0, i64 6, i64 0, i64 0
%19 = getelementptr inbounds [7 x [2 x [8 x i8]]], [7 x [2 x [8 x i8]]]* %1, i64 0, i64 6, i64 1, i64 0
br label %20
20: ; preds = %0, %120
%21 = phi i32 [ 0, %0 ], [ %116, %120 ]
%22 = icmp eq i32 %21, 1
br i1 %22, label %23, label %25
23: ; preds = %20
%24 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.1, i64 0, i64 0), i32 1)
br label %27
25: ; preds = %20
%26 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i32 %21)
br label %27
27: ; preds = %25, %23
%28 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0))
%29 = call i32 (i8*, ...) bitcast (i32 (...)* @gets to i32 (i8*, ...)*)(i8* %4)
%30 = load i16, i16* %6
%31 = icmp eq i16 %30, 32
br i1 %31, label %123, label %32
32: ; preds = %27
%33 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @strcmpi to i32 (i8*, i8*, ...)*)(i8* %4, i8* %3)
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %43
35: ; preds = %32
%36 = load i8, i8* %7
%37 = icmp eq i8 %36, 33
br i1 %37, label %38, label %40
38: ; preds = %35
%39 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.5, i64 0, i64 0), i32 1)
br label %43
40: ; preds = %35
%41 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.6, i64 0, i64 0), i8* %4)
%42 = add nsw i32 %21, 1
store i8 33, i8* %7
br label %43
43: ; preds = %32, %40, %38
%44 = phi i32 [ %21, %38 ], [ %42, %40 ], [ %21, %32 ]
%45 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @strcmpi to i32 (i8*, i8*, ...)*)(i8* %4, i8* %8)
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %55
47: ; preds = %43
%48 = load i8, i8* %9
%49 = icmp eq i8 %48, 33
br i1 %49, label %53, label %50
50: ; preds = %47
%51 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.6, i64 0, i64 0), i8* %4)
%52 = add nsw i32 %44, 1
store i8 33, i8* %9
br label %55
53: ; preds = %47
%54 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.5, i64 0, i64 0), i32 1)
br label %55
55: ; preds = %53, %50, %43
%56 = phi i32 [ %44, %53 ], [ %52, %50 ], [ %44, %43 ]
%57 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @strcmpi to i32 (i8*, i8*, ...)*)(i8* %4, i8* %10)
%58 = icmp eq i32 %57, 0
br i1 %58, label %59, label %67
59: ; preds = %55
%60 = load i8, i8* %11
%61 = icmp eq i8 %60, 33
br i1 %61, label %65, label %62
62: ; preds = %59
%63 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.6, i64 0, i64 0), i8* %4)
%64 = add nsw i32 %56, 1
store i8 33, i8* %11
br label %67
65: ; preds = %59
%66 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.5, i64 0, i64 0), i32 1)
br label %67
67: ; preds = %65, %62, %55
%68 = phi i32 [ %56, %65 ], [ %64, %62 ], [ %56, %55 ]
%69 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @strcmpi to i32 (i8*, i8*, ...)*)(i8* %4, i8* %12)
%70 = icmp eq i32 %69, 0
br i1 %70, label %71, label %79
71: ; preds = %67
%72 = load i8, i8* %13
%73 = icmp eq i8 %72, 33
br i1 %73, label %77, label %74
74: ; preds = %71
%75 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.6, i64 0, i64 0), i8* %4)
%76 = add nsw i32 %68, 1
store i8 33, i8* %13
br label %79
77: ; preds = %71
%78 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.5, i64 0, i64 0), i32 1)
br label %79
79: ; preds = %77, %74, %67
%80 = phi i32 [ %68, %77 ], [ %76, %74 ], [ %68, %67 ]
%81 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @strcmpi to i32 (i8*, i8*, ...)*)(i8* %4, i8* %14)
%82 = icmp eq i32 %81, 0
br i1 %82, label %83, label %91
83: ; preds = %79
%84 = load i8, i8* %15
%85 = icmp eq i8 %84, 33
br i1 %85, label %89, label %86
86: ; preds = %83
%87 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.6, i64 0, i64 0), i8* %4)
%88 = add nsw i32 %80, 1
store i8 33, i8* %15
br label %91
89: ; preds = %83
%90 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.5, i64 0, i64 0), i32 1)
br label %91
91: ; preds = %89, %86, %79
%92 = phi i32 [ %80, %89 ], [ %88, %86 ], [ %80, %79 ]
%93 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @strcmpi to i32 (i8*, i8*, ...)*)(i8* %4, i8* %16)
%94 = icmp eq i32 %93, 0
br i1 %94, label %95, label %103
95: ; preds = %91
%96 = load i8, i8* %17
%97 = icmp eq i8 %96, 33
br i1 %97, label %101, label %98
98: ; preds = %95
%99 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.6, i64 0, i64 0), i8* %4)
%100 = add nsw i32 %92, 1
store i8 33, i8* %17
br label %103
101: ; preds = %95
%102 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.5, i64 0, i64 0), i32 1)
br label %103
103: ; preds = %101, %98, %91
%104 = phi i32 [ %92, %101 ], [ %100, %98 ], [ %92, %91 ]
%105 = call i32 (i8*, i8*, ...) bitcast (i32 (...)* @strcmpi to i32 (i8*, i8*, ...)*)(i8* %4, i8* %18)
%106 = icmp eq i32 %105, 0
br i1 %106, label %107, label %115
107: ; preds = %103
%108 = load i8, i8* %19
%109 = icmp eq i8 %108, 33
br i1 %109, label %113, label %110
110: ; preds = %107
%111 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.6, i64 0, i64 0), i8* %4)
%112 = add nsw i32 %104, 1
store i8 33, i8* %19
br label %115
113: ; preds = %107
%114 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.5, i64 0, i64 0), i32 1)
br label %115
115: ; preds = %113, %110, %103
%116 = phi i32 [ %104, %113 ], [ %112, %110 ], [ %104, %103 ]
%117 = icmp eq i32 %116, 7
br i1 %117, label %118, label %120
118: ; preds = %115
%119 = call i32 bitcast (i32 (...)* @puts to i32 (i8*)*)(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @str, i64 0, i64 0))
br label %123
120: ; preds = %115
%121 = call i32 (i8*, ...) bitcast (i32 (...)* @puts to i32 (i8*, ...)*)(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0))
%122 = icmp slt i32 %116, 7
br i1 %122, label %20, label %123
123: ; preds = %27, %120, %118
ret i32 0
}