int main() {
  int cases, i = 1;
  char s[80], r[80];
  char h[][20] = {"tesoura", "papel", "pedra", "lagarto", "Spock"};
  scanf("%d", &cases);
  while (i <= cases) {
    scanf("%s %s", s, r);
    if (strcmp(s, r) == 0)
      printf("Caso #%d: De novo!\n", i);
    else if (strcmp(s, h[0]) == 0 &&
             (strcmp(r, h[1]) == 0 || strcmp(r, h[3]) == 0))
      printf("Caso #%d: Bazinga!\n", i);
    else if (strcmp(s, h[1]) == 0 &&
             (strcmp(r, h[2]) == 0 || strcmp(r, h[4]) == 0))
      printf("Caso #%d: Bazinga!\n", i);
    else if (strcmp(s, h[2]) == 0 &&
             (strcmp(r, h[3]) == 0 || strcmp(r, h[0]) == 0))
      printf("Caso #%d: Bazinga!\n", i);
    else if (strcmp(s, h[3]) == 0 &&
             (strcmp(r, h[4]) == 0 || strcmp(r, h[1]) == 0))
      printf("Caso #%d: Bazinga!\n", i);
    else if (strcmp(s, h[4]) == 0 &&
             (strcmp(r, h[0]) == 0 || strcmp(r, h[2]) == 0))
      printf("Caso #%d: Bazinga!\n", i);
    else
      printf("Caso #%d: Raj trapaceou!\n", i);
    i++;
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x120,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x1,-0xc(%rbp)
lea    -0x120(%rbp),%rdi
lea    0xe99(%rip),%rsi
mov    $0x64,%edx
call   1050 <memcpy@plt>
lea    0xeec(%rip),%rdi
lea    -0x8(%rbp),%rsi
mov    $0x0,%al
call   1060 <scanf@plt>
mov    -0xc(%rbp),%eax
cmp    -0x8(%rbp),%eax
jg     1442 <main+0x302>
lea    -0x60(%rbp),%rsi
lea    -0xb0(%rbp),%rdx
lea    0xec6(%rip),%rdi
mov    $0x0,%al
call   1060 <scanf@plt>
lea    -0x60(%rbp),%rdi
lea    -0xb0(%rbp),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%eax
jne    11d7 <main+0x97>
mov    -0xc(%rbp),%esi
lea    0xea2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1434 <main+0x2f4>
lea    -0x60(%rbp),%rdi
lea    -0x120(%rbp),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%eax
jne    1246 <main+0x106>
lea    -0xb0(%rbp),%rdi
lea    -0x120(%rbp),%rsi
add    $0x14,%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%eax
je     1230 <main+0xf0>
lea    -0xb0(%rbp),%rdi
lea    -0x120(%rbp),%rsi
add    $0x3c,%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%eax
jne    1246 <main+0x106>
mov    -0xc(%rbp),%esi
lea    0xe47(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    142f <main+0x2ef>
lea    -0x60(%rbp),%rdi
lea    -0x120(%rbp),%rsi
add    $0x14,%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%eax
jne    12b9 <main+0x179>
lea    -0xb0(%rbp),%rdi
lea    -0x120(%rbp),%rsi
add    $0x28,%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%eax
je     12a3 <main+0x163>
lea    -0xb0(%rbp),%rdi
lea    -0x120(%rbp),%rsi
add    $0x50,%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%eax
jne    12b9 <main+0x179>
mov    -0xc(%rbp),%esi
lea    0xdd4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    142a <main+0x2ea>
lea    -0x60(%rbp),%rdi
lea    -0x120(%rbp),%rsi
add    $0x28,%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%eax
jne    1328 <main+0x1e8>
lea    -0xb0(%rbp),%rdi
lea    -0x120(%rbp),%rsi
add    $0x3c,%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%eax
je     1312 <main+0x1d2>
lea    -0xb0(%rbp),%rdi
lea    -0x120(%rbp),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%eax
jne    1328 <main+0x1e8>
mov    -0xc(%rbp),%esi
lea    0xd65(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1425 <main+0x2e5>
lea    -0x60(%rbp),%rdi
lea    -0x120(%rbp),%rsi
add    $0x3c,%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%eax
jne    139b <main+0x25b>
lea    -0xb0(%rbp),%rdi
lea    -0x120(%rbp),%rsi
add    $0x50,%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%eax
je     1385 <main+0x245>
lea    -0xb0(%rbp),%rdi
lea    -0x120(%rbp),%rsi
add    $0x14,%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%eax
jne    139b <main+0x25b>
mov    -0xc(%rbp),%esi
lea    0xcf2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1420 <main+0x2e0>
lea    -0x60(%rbp),%rdi
lea    -0x120(%rbp),%rsi
add    $0x50,%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%eax
jne    140a <main+0x2ca>
lea    -0xb0(%rbp),%rdi
lea    -0x120(%rbp),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%eax
je     13f4 <main+0x2b4>
lea    -0xb0(%rbp),%rdi
lea    -0x120(%rbp),%rsi
add    $0x28,%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%eax
jne    140a <main+0x2ca>
mov    -0xc(%rbp),%esi
lea    0xc83(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    141b <main+0x2db>
mov    -0xc(%rbp),%esi
lea    0xc81(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1420 <main+0x2e0>
jmp    1425 <main+0x2e5>
jmp    142a <main+0x2ea>
jmp    142f <main+0x2ef>
jmp    1434 <main+0x2f4>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    1183 <main+0x43>
xor    %eax,%eax
add    $0x120,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xb8,%rsp
lea    0xf1c(%rip),%rdi
lea    0xc(%rsp),%rsi
xor    %eax,%eax
call   1050 <scanf@plt>
cmpl   $0x0,0xc(%rsp)
jle    1364 <main+0x234>
mov    $0x1,%ebx
lea    0xefc(%rip),%r14
lea    0x60(%rsp),%r15
lea    0x10(%rsp),%r12
lea    0xef1(%rip),%rbp
lea    0xefe(%rip),%r13
jmp    11a8 <main+0x78>
lea    0xf09(%rip),%rdi
nopl   0x0(%rax)
mov    %ebx,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0x1(%rbx),%eax
cmp    0xc(%rsp),%ebx
mov    %eax,%ebx
jge    1364 <main+0x234>
mov    %r14,%rdi
mov    %r15,%rsi
mov    %r12,%rdx
xor    %eax,%eax
call   1050 <scanf@plt>
mov    %r15,%rdi
mov    %r12,%rsi
call   1040 <strcmp@plt>
mov    %rbp,%rdi
test   %eax,%eax
je     1190 <main+0x60>
mov    %r15,%rdi
lea    0xe2c(%rip),%rsi
call   1040 <strcmp@plt>
test   %eax,%eax
je     1280 <main+0x150>
mov    %r15,%rdi
lea    0xe29(%rip),%rsi
call   1040 <strcmp@plt>
test   %eax,%eax
je     12b9 <main+0x189>
mov    %r15,%rdi
lea    0xe26(%rip),%rsi
call   1040 <strcmp@plt>
test   %eax,%eax
je     12f2 <main+0x1c2>
mov    %r15,%rdi
lea    0xe23(%rip),%rsi
call   1040 <strcmp@plt>
test   %eax,%eax
je     132b <main+0x1fb>
mov    %r15,%rdi
lea    0xe20(%rip),%rsi
call   1040 <strcmp@plt>
test   %eax,%eax
jne    1185 <main+0x55>
mov    %r12,%rdi
lea    0xdb9(%rip),%rsi
call   1040 <strcmp@plt>
mov    %r13,%rdi
test   %eax,%eax
je     1190 <main+0x60>
mov    %r12,%rdi
lea    0xdc7(%rip),%rsi
call   1040 <strcmp@plt>
mov    %r13,%rdi
test   %eax,%eax
jne    1185 <main+0x55>
jmp    1190 <main+0x60>
cs nopw 0x0(%rax,%rax,1)
mov    %r12,%rdi
lea    0xd8a(%rip),%rsi
call   1040 <strcmp@plt>
mov    %r13,%rdi
test   %eax,%eax
je     1190 <main+0x60>
mov    %r12,%rdi
lea    0xd98(%rip),%rsi
call   1040 <strcmp@plt>
mov    %r13,%rdi
test   %eax,%eax
jne    11e1 <main+0xb1>
jmp    1190 <main+0x60>
mov    %r12,%rdi
lea    0xd65(%rip),%rsi
call   1040 <strcmp@plt>
mov    %r13,%rdi
test   %eax,%eax
je     1190 <main+0x60>
mov    %r12,%rdi
lea    0xd73(%rip),%rsi
call   1040 <strcmp@plt>
mov    %r13,%rdi
test   %eax,%eax
jne    11f8 <main+0xc8>
jmp    1190 <main+0x60>
mov    %r12,%rdi
lea    0xd40(%rip),%rsi
call   1040 <strcmp@plt>
mov    %r13,%rdi
test   %eax,%eax
je     1190 <main+0x60>
mov    %r12,%rdi
lea    0xcea(%rip),%rsi
call   1040 <strcmp@plt>
mov    %r13,%rdi
test   %eax,%eax
jne    120f <main+0xdf>
jmp    1190 <main+0x60>
mov    %r12,%rdi
lea    0xd1b(%rip),%rsi
call   1040 <strcmp@plt>
mov    %r13,%rdi
test   %eax,%eax
je     1190 <main+0x60>
mov    %r12,%rdi
lea    0xcc5(%rip),%rsi
call   1040 <strcmp@plt>
mov    %r13,%rdi
test   %eax,%eax
jne    1226 <main+0xf6>
jmp    1190 <main+0x60>
xor    %eax,%eax
add    $0xb8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@__const.main.h = [5 x [20 x i8]] [[20 x i8] c"tesoura\00\00\00\00\00\00\00\00\00\00\00\00\00", [20 x i8] c"papel\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", [20 x i8] c"pedra\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", [20 x i8] c"lagarto\00\00\00\00\00\00\00\00\00\00\00\00\00", [20 x i8] c"Spock\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00"]
@.str = [3 x i8] c"%d\00"
@.str.1 = [6 x i8] c"%s %s\00"
@.str.2 = [20 x i8] c"Caso #%d: De novo!\0A\00"
@.str.3 = [20 x i8] c"Caso #%d: Bazinga!\0A\00"
@.str.4 = [26 x i8] c"Caso #%d: Raj trapaceou!\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca [80 x i8]
%5 = alloca [80 x i8]
%6 = alloca [5 x [20 x i8]]
store i32 0, i32* %1
store i32 1, i32* %3
%7 = bitcast [5 x [20 x i8]]* %6 to i8*
%8 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %2)
br label %9
9: ; preds = %137, %0
%10 = load i32, i32* %3
%11 = load i32, i32* %2
%12 = icmp sle i32 %10, %11
br i1 %12, label %13, label %140
13: ; preds = %9
%14 = getelementptr inbounds [80 x i8], [80 x i8]* %4, i64 0, i64 0
%15 = getelementptr inbounds [80 x i8], [80 x i8]* %5, i64 0, i64 0
%16 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %14, i8* %15)
%17 = getelementptr inbounds [80 x i8], [80 x i8]* %4, i64 0, i64 0
%18 = getelementptr inbounds [80 x i8], [80 x i8]* %5, i64 0, i64 0
%19 = call i32 @strcmp(i8* %17, i8* %18)
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %24
21: ; preds = %13
%22 = load i32, i32* %3
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.2, i64 0, i64 0), i32 %22)
br label %137
24: ; preds = %13
%25 = getelementptr inbounds [80 x i8], [80 x i8]* %4, i64 0, i64 0
%26 = getelementptr inbounds [5 x [20 x i8]], [5 x [20 x i8]]* %6, i64 0, i64 0
%27 = getelementptr inbounds [20 x i8], [20 x i8]* %26, i64 0, i64 0
%28 = call i32 @strcmp(i8* %25, i8* %27)
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %45
30: ; preds = %24
%31 = getelementptr inbounds [80 x i8], [80 x i8]* %5, i64 0, i64 0
%32 = getelementptr inbounds [5 x [20 x i8]], [5 x [20 x i8]]* %6, i64 0, i64 1
%33 = getelementptr inbounds [20 x i8], [20 x i8]* %32, i64 0, i64 0
%34 = call i32 @strcmp(i8* %31, i8* %33)
%35 = icmp eq i32 %34, 0
br i1 %35, label %42, label %36
36: ; preds = %30
%37 = getelementptr inbounds [80 x i8], [80 x i8]* %5, i64 0, i64 0
%38 = getelementptr inbounds [5 x [20 x i8]], [5 x [20 x i8]]* %6, i64 0, i64 3
%39 = getelementptr inbounds [20 x i8], [20 x i8]* %38, i64 0, i64 0
%40 = call i32 @strcmp(i8* %37, i8* %39)
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %45
42: ; preds = %36, %30
%43 = load i32, i32* %3
%44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), i32 %43)
br label %136
45: ; preds = %36, %24
%46 = getelementptr inbounds [80 x i8], [80 x i8]* %4, i64 0, i64 0
%47 = getelementptr inbounds [5 x [20 x i8]], [5 x [20 x i8]]* %6, i64 0, i64 1
%48 = getelementptr inbounds [20 x i8], [20 x i8]* %47, i64 0, i64 0
%49 = call i32 @strcmp(i8* %46, i8* %48)
%50 = icmp eq i32 %49, 0
br i1 %50, label %51, label %66
51: ; preds = %45
%52 = getelementptr inbounds [80 x i8], [80 x i8]* %5, i64 0, i64 0
%53 = getelementptr inbounds [5 x [20 x i8]], [5 x [20 x i8]]* %6, i64 0, i64 2
%54 = getelementptr inbounds [20 x i8], [20 x i8]* %53, i64 0, i64 0
%55 = call i32 @strcmp(i8* %52, i8* %54)
%56 = icmp eq i32 %55, 0
br i1 %56, label %63, label %57
57: ; preds = %51
%58 = getelementptr inbounds [80 x i8], [80 x i8]* %5, i64 0, i64 0
%59 = getelementptr inbounds [5 x [20 x i8]], [5 x [20 x i8]]* %6, i64 0, i64 4
%60 = getelementptr inbounds [20 x i8], [20 x i8]* %59, i64 0, i64 0
%61 = call i32 @strcmp(i8* %58, i8* %60)
%62 = icmp eq i32 %61, 0
br i1 %62, label %63, label %66
63: ; preds = %57, %51
%64 = load i32, i32* %3
%65 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), i32 %64)
br label %135
66: ; preds = %57, %45
%67 = getelementptr inbounds [80 x i8], [80 x i8]* %4, i64 0, i64 0
%68 = getelementptr inbounds [5 x [20 x i8]], [5 x [20 x i8]]* %6, i64 0, i64 2
%69 = getelementptr inbounds [20 x i8], [20 x i8]* %68, i64 0, i64 0
%70 = call i32 @strcmp(i8* %67, i8* %69)
%71 = icmp eq i32 %70, 0
br i1 %71, label %72, label %87
72: ; preds = %66
%73 = getelementptr inbounds [80 x i8], [80 x i8]* %5, i64 0, i64 0
%74 = getelementptr inbounds [5 x [20 x i8]], [5 x [20 x i8]]* %6, i64 0, i64 3
%75 = getelementptr inbounds [20 x i8], [20 x i8]* %74, i64 0, i64 0
%76 = call i32 @strcmp(i8* %73, i8* %75)
%77 = icmp eq i32 %76, 0
br i1 %77, label %84, label %78
78: ; preds = %72
%79 = getelementptr inbounds [80 x i8], [80 x i8]* %5, i64 0, i64 0
%80 = getelementptr inbounds [5 x [20 x i8]], [5 x [20 x i8]]* %6, i64 0, i64 0
%81 = getelementptr inbounds [20 x i8], [20 x i8]* %80, i64 0, i64 0
%82 = call i32 @strcmp(i8* %79, i8* %81)
%83 = icmp eq i32 %82, 0
br i1 %83, label %84, label %87
84: ; preds = %78, %72
%85 = load i32, i32* %3
%86 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), i32 %85)
br label %134
87: ; preds = %78, %66
%88 = getelementptr inbounds [80 x i8], [80 x i8]* %4, i64 0, i64 0
%89 = getelementptr inbounds [5 x [20 x i8]], [5 x [20 x i8]]* %6, i64 0, i64 3
%90 = getelementptr inbounds [20 x i8], [20 x i8]* %89, i64 0, i64 0
%91 = call i32 @strcmp(i8* %88, i8* %90)
%92 = icmp eq i32 %91, 0
br i1 %92, label %93, label %108
93: ; preds = %87
%94 = getelementptr inbounds [80 x i8], [80 x i8]* %5, i64 0, i64 0
%95 = getelementptr inbounds [5 x [20 x i8]], [5 x [20 x i8]]* %6, i64 0, i64 4
%96 = getelementptr inbounds [20 x i8], [20 x i8]* %95, i64 0, i64 0
%97 = call i32 @strcmp(i8* %94, i8* %96)
%98 = icmp eq i32 %97, 0
br i1 %98, label %105, label %99
99: ; preds = %93
%100 = getelementptr inbounds [80 x i8], [80 x i8]* %5, i64 0, i64 0
%101 = getelementptr inbounds [5 x [20 x i8]], [5 x [20 x i8]]* %6, i64 0, i64 1
%102 = getelementptr inbounds [20 x i8], [20 x i8]* %101, i64 0, i64 0
%103 = call i32 @strcmp(i8* %100, i8* %102)
%104 = icmp eq i32 %103, 0
br i1 %104, label %105, label %108
105: ; preds = %99, %93
%106 = load i32, i32* %3
%107 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), i32 %106)
br label %133
108: ; preds = %99, %87
%109 = getelementptr inbounds [80 x i8], [80 x i8]* %4, i64 0, i64 0
%110 = getelementptr inbounds [5 x [20 x i8]], [5 x [20 x i8]]* %6, i64 0, i64 4
%111 = getelementptr inbounds [20 x i8], [20 x i8]* %110, i64 0, i64 0
%112 = call i32 @strcmp(i8* %109, i8* %111)
%113 = icmp eq i32 %112, 0
br i1 %113, label %114, label %129
114: ; preds = %108
%115 = getelementptr inbounds [80 x i8], [80 x i8]* %5, i64 0, i64 0
%116 = getelementptr inbounds [5 x [20 x i8]], [5 x [20 x i8]]* %6, i64 0, i64 0
%117 = getelementptr inbounds [20 x i8], [20 x i8]* %116, i64 0, i64 0
%118 = call i32 @strcmp(i8* %115, i8* %117)
%119 = icmp eq i32 %118, 0
br i1 %119, label %126, label %120
120: ; preds = %114
%121 = getelementptr inbounds [80 x i8], [80 x i8]* %5, i64 0, i64 0
%122 = getelementptr inbounds [5 x [20 x i8]], [5 x [20 x i8]]* %6, i64 0, i64 2
%123 = getelementptr inbounds [20 x i8], [20 x i8]* %122, i64 0, i64 0
%124 = call i32 @strcmp(i8* %121, i8* %123)
%125 = icmp eq i32 %124, 0
br i1 %125, label %126, label %129
126: ; preds = %120, %114
%127 = load i32, i32* %3
%128 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), i32 %127)
br label %132
129: ; preds = %120, %108
%130 = load i32, i32* %3
%131 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.4, i64 0, i64 0), i32 %130)
br label %132
132: ; preds = %129, %126
br label %133
133: ; preds = %132, %105
br label %134
134: ; preds = %133, %84
br label %135
135: ; preds = %134, %63
br label %136
136: ; preds = %135, %42
br label %137
137: ; preds = %136, %21
%138 = load i32, i32* %3
%139 = add nsw i32 %138, 1
store i32 %139, i32* %3
br label %9
140: ; preds = %9
ret i32 0
}

LLVM IR (-O2):
@__const.main.h = [5 x [20 x i8]] [[20 x i8] c"tesoura\00\00\00\00\00\00\00\00\00\00\00\00\00", [20 x i8] c"papel\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", [20 x i8] c"pedra\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", [20 x i8] c"lagarto\00\00\00\00\00\00\00\00\00\00\00\00\00", [20 x i8] c"Spock\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00"]
@.str = [3 x i8] c"%d\00"
@.str.1 = [6 x i8] c"%s %s\00"
@.str.2 = [20 x i8] c"Caso #%d: De novo!\0A\00"
@.str.3 = [20 x i8] c"Caso #%d: Bazinga!\0A\00"
@.str.4 = [26 x i8] c"Caso #%d: Raj trapaceou!\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [80 x i8]
%3 = alloca [80 x i8]
%4 = bitcast i32* %1 to i8*
%5 = getelementptr inbounds [80 x i8], [80 x i8]* %2, i64 0, i64 0
%6 = getelementptr inbounds [80 x i8], [80 x i8]* %3, i64 0, i64 0
%7 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32* %1)
%8 = load i32, i32* %1
%9 = icmp slt i32 %8, 1
br i1 %9, label %67, label %10
10: ; preds = %0, %61
%11 = phi i32 [ %64, %61 ], [ 1, %0 ]
%12 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %5, i8* %6)
%13 = call i32 @strcmp(i8* %5, i8* %6)
%14 = icmp eq i32 %13, 0
br i1 %14, label %61, label %15
15: ; preds = %10
%16 = call i32 @strcmp(i8* %5, i8* dereferenceable(1) getelementptr inbounds ([5 x [20 x i8]], [5 x [20 x i8]]* @__const.main.h, i64 0, i64 0, i64 0))
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %24
18: ; preds = %15
%19 = call i32 @strcmp(i8* %6, i8* dereferenceable(1) getelementptr inbounds ([5 x [20 x i8]], [5 x [20 x i8]]* @__const.main.h, i64 0, i64 1, i64 0))
%20 = icmp eq i32 %19, 0
br i1 %20, label %61, label %21
21: ; preds = %18
%22 = call i32 @strcmp(i8* %6, i8* dereferenceable(1) getelementptr inbounds ([5 x [20 x i8]], [5 x [20 x i8]]* @__const.main.h, i64 0, i64 3, i64 0))
%23 = icmp eq i32 %22, 0
br i1 %23, label %61, label %24
24: ; preds = %21, %15
%25 = call i32 @strcmp(i8* %5, i8* dereferenceable(1) getelementptr inbounds ([5 x [20 x i8]], [5 x [20 x i8]]* @__const.main.h, i64 0, i64 1, i64 0))
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %33
27: ; preds = %24
%28 = call i32 @strcmp(i8* %6, i8* dereferenceable(1) getelementptr inbounds ([5 x [20 x i8]], [5 x [20 x i8]]* @__const.main.h, i64 0, i64 2, i64 0))
%29 = icmp eq i32 %28, 0
br i1 %29, label %61, label %30
30: ; preds = %27
%31 = call i32 @strcmp(i8* %6, i8* dereferenceable(1) getelementptr inbounds ([5 x [20 x i8]], [5 x [20 x i8]]* @__const.main.h, i64 0, i64 4, i64 0))
%32 = icmp eq i32 %31, 0
br i1 %32, label %61, label %33
33: ; preds = %30, %24
%34 = call i32 @strcmp(i8* %5, i8* dereferenceable(1) getelementptr inbounds ([5 x [20 x i8]], [5 x [20 x i8]]* @__const.main.h, i64 0, i64 2, i64 0))
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %42
36: ; preds = %33
%37 = call i32 @strcmp(i8* %6, i8* dereferenceable(1) getelementptr inbounds ([5 x [20 x i8]], [5 x [20 x i8]]* @__const.main.h, i64 0, i64 3, i64 0))
%38 = icmp eq i32 %37, 0
br i1 %38, label %61, label %39
39: ; preds = %36
%40 = call i32 @strcmp(i8* %6, i8* dereferenceable(1) getelementptr inbounds ([5 x [20 x i8]], [5 x [20 x i8]]* @__const.main.h, i64 0, i64 0, i64 0))
%41 = icmp eq i32 %40, 0
br i1 %41, label %61, label %42
42: ; preds = %39, %33
%43 = call i32 @strcmp(i8* %5, i8* dereferenceable(1) getelementptr inbounds ([5 x [20 x i8]], [5 x [20 x i8]]* @__const.main.h, i64 0, i64 3, i64 0))
%44 = icmp eq i32 %43, 0
br i1 %44, label %45, label %51
45: ; preds = %42
%46 = call i32 @strcmp(i8* %6, i8* dereferenceable(1) getelementptr inbounds ([5 x [20 x i8]], [5 x [20 x i8]]* @__const.main.h, i64 0, i64 4, i64 0))
%47 = icmp eq i32 %46, 0
br i1 %47, label %61, label %48
48: ; preds = %45
%49 = call i32 @strcmp(i8* %6, i8* dereferenceable(1) getelementptr inbounds ([5 x [20 x i8]], [5 x [20 x i8]]* @__const.main.h, i64 0, i64 1, i64 0))
%50 = icmp eq i32 %49, 0
br i1 %50, label %61, label %51
51: ; preds = %48, %42
%52 = call i32 @strcmp(i8* %5, i8* dereferenceable(1) getelementptr inbounds ([5 x [20 x i8]], [5 x [20 x i8]]* @__const.main.h, i64 0, i64 4, i64 0))
%53 = icmp eq i32 %52, 0
br i1 %53, label %54, label %60
54: ; preds = %51
%55 = call i32 @strcmp(i8* %6, i8* dereferenceable(1) getelementptr inbounds ([5 x [20 x i8]], [5 x [20 x i8]]* @__const.main.h, i64 0, i64 0, i64 0))
%56 = icmp eq i32 %55, 0
br i1 %56, label %61, label %57
57: ; preds = %54
%58 = call i32 @strcmp(i8* %6, i8* dereferenceable(1) getelementptr inbounds ([5 x [20 x i8]], [5 x [20 x i8]]* @__const.main.h, i64 0, i64 2, i64 0))
%59 = icmp eq i32 %58, 0
br i1 %59, label %61, label %60
60: ; preds = %57, %51
br label %61
61: ; preds = %54, %57, %45, %48, %36, %39, %27, %30, %18, %21, %10, %60
%62 = phi i8* [ getelementptr inbounds ([26 x i8], [26 x i8]* @.str.4, i64 0, i64 0), %60 ], [ getelementptr inbounds ([20 x i8], [20 x i8]* @.str.2, i64 0, i64 0), %10 ], [ getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), %21 ], [ getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), %18 ], [ getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), %30 ], [ getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), %27 ], [ getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), %39 ], [ getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), %36 ], [ getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), %48 ], [ getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), %45 ], [ getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), %57 ], [ getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), %54 ]
%63 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) %62, i32 %11)
%64 = add nuw nsw i32 %11, 1
%65 = load i32, i32* %1
%66 = icmp slt i32 %11, %65
br i1 %66, label %10, label %67
67: ; preds = %61, %0
ret i32 0
}