#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 *, int);
int /*<<< orphan*/ scanf(char *, ...);
scalar_t__ strcmp(char *, char *);
int main() {
  int a, b, c;
  char aa[] = "tesoura", bb[] = "papel", cc[] = "pedra", dd[] = "lagarto",
       ee[] = "Spock";
  char a1[10], a2[10];
  scanf("%d", &a);
  for (b = 1; b <= a; b++) {
    scanf("%s%s", a1, a2);
    if (0 == strcmp(a1, a2))
      printf("Caso #%d: De novo!\n", b);
    else if (0 == strcmp(a1, aa)) {
      if ((0 == strcmp(a2, bb)) || (0 == strcmp(a2, dd)))
        printf("Caso #%d: Bazinga!\n", b);
      else if ((0 == strcmp(a2, cc)) || (0 == strcmp(a2, ee)))
        printf("Caso #%d: Raj trapaceou!\n", b);
    } else if (0 == strcmp(a1, bb)) {
      if ((0 == strcmp(a2, cc)) || (0 == strcmp(a2, ee)))
        printf("Caso #%d: Bazinga!\n", b);
      else if ((0 == strcmp(a2, aa)) || (0 == strcmp(a2, dd)))
        printf("Caso #%d: Raj trapaceou!\n", b);
    } else if (0 == strcmp(a1, cc)) {
      if ((0 == strcmp(a2, aa)) || (0 == strcmp(a2, dd)))
        printf("Caso #%d: Bazinga!\n", b);
      else if ((0 == strcmp(a2, bb)) || (0 == strcmp(a2, ee)))
        printf("Caso #%d: Raj trapaceou!\n", b);
    } else if (0 == strcmp(a1, dd)) {
      if ((0 == strcmp(a2, bb)) || (0 == strcmp(a2, ee)))
        printf("Caso #%d: Bazinga!\n", b);
      else if ((0 == strcmp(a2, cc)) || (0 == strcmp(a2, aa)))
        printf("Caso #%d: Raj trapaceou!\n", b);
    } else if (0 == strcmp(a1, ee)) {
      if ((0 == strcmp(a2, aa)) || (0 == strcmp(a2, cc)))
        printf("Caso #%d: Bazinga!\n", b);
      else if ((0 == strcmp(a2, bb)) || (0 == strcmp(a2, dd)))
        printf("Caso #%d: Raj trapaceou!\n", b);
    }
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
mov    0xeba(%rip),%rax
mov    %rax,-0x18(%rbp)
mov    0xeb8(%rip),%eax
mov    %eax,-0x1e(%rbp)
mov    0xeb2(%rip),%ax
mov    %ax,-0x1a(%rbp)
mov    0xeaa(%rip),%eax
mov    %eax,-0x24(%rbp)
mov    0xea4(%rip),%ax
mov    %ax,-0x20(%rbp)
mov    0xe9b(%rip),%rax
mov    %rax,-0x2c(%rbp)
mov    0xe99(%rip),%eax
mov    %eax,-0x32(%rbp)
mov    0xe93(%rip),%ax
mov    %ax,-0x2e(%rbp)
lea    0xe8a(%rip),%rdi
lea    -0x8(%rbp),%rsi
mov    $0x0,%al
call   1050 <scanf@plt>
movl   $0x1,-0xc(%rbp)
mov    -0xc(%rbp),%eax
cmp    -0x8(%rbp),%eax
jg     15ab <main+0x47b>
lea    -0x3c(%rbp),%rsi
lea    -0x46(%rbp),%rdx
lea    0xe60(%rip),%rdi
mov    $0x0,%al
call   1050 <scanf@plt>
lea    -0x3c(%rbp),%rdi
lea    -0x46(%rbp),%rsi
call   1040 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
jne    11fb <main+0xcb>
mov    -0xc(%rbp),%esi
lea    0xe39(%rip),%rdi
call   1030 <printf@plt>
jmp    1598 <main+0x468>
lea    -0x3c(%rbp),%rdi
lea    -0x18(%rbp),%rsi
call   1040 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
jne    12af <main+0x17f>
lea    -0x46(%rbp),%rdi
lea    -0x1e(%rbp),%rsi
call   1040 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
je     124c <main+0x11c>
lea    -0x46(%rbp),%rdi
lea    -0x2c(%rbp),%rsi
call   1040 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
jne    1260 <main+0x130>
mov    -0xc(%rbp),%esi
lea    0xde8(%rip),%rdi
call   1030 <printf@plt>
jmp    12aa <main+0x17a>
lea    -0x46(%rbp),%rdi
lea    -0x24(%rbp),%rsi
call   1040 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
je     1296 <main+0x166>
lea    -0x46(%rbp),%rdi
lea    -0x32(%rbp),%rsi
call   1040 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
jne    12a5 <main+0x175>
mov    -0xc(%rbp),%esi
lea    0xdb2(%rip),%rdi
call   1030 <printf@plt>
jmp    12aa <main+0x17a>
jmp    1593 <main+0x463>
lea    -0x3c(%rbp),%rdi
lea    -0x1e(%rbp),%rsi
call   1040 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
jne    1363 <main+0x233>
lea    -0x46(%rbp),%rdi
lea    -0x24(%rbp),%rsi
call   1040 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
je     1300 <main+0x1d0>
lea    -0x46(%rbp),%rdi
lea    -0x32(%rbp),%rsi
call   1040 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
jne    1314 <main+0x1e4>
mov    -0xc(%rbp),%esi
lea    0xd34(%rip),%rdi
call   1030 <printf@plt>
jmp    135e <main+0x22e>
lea    -0x46(%rbp),%rdi
lea    -0x18(%rbp),%rsi
call   1040 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
je     134a <main+0x21a>
lea    -0x46(%rbp),%rdi
lea    -0x2c(%rbp),%rsi
call   1040 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
jne    1359 <main+0x229>
mov    -0xc(%rbp),%esi
lea    0xcfe(%rip),%rdi
call   1030 <printf@plt>
jmp    135e <main+0x22e>
jmp    158e <main+0x45e>
lea    -0x3c(%rbp),%rdi
lea    -0x24(%rbp),%rsi
call   1040 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
jne    1417 <main+0x2e7>
lea    -0x46(%rbp),%rdi
lea    -0x18(%rbp),%rsi
call   1040 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
je     13b4 <main+0x284>
lea    -0x46(%rbp),%rdi
lea    -0x2c(%rbp),%rsi
call   1040 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
jne    13c8 <main+0x298>
mov    -0xc(%rbp),%esi
lea    0xc80(%rip),%rdi
call   1030 <printf@plt>
jmp    1412 <main+0x2e2>
lea    -0x46(%rbp),%rdi
lea    -0x1e(%rbp),%rsi
call   1040 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
je     13fe <main+0x2ce>
lea    -0x46(%rbp),%rdi
lea    -0x32(%rbp),%rsi
call   1040 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
jne    140d <main+0x2dd>
mov    -0xc(%rbp),%esi
lea    0xc4a(%rip),%rdi
call   1030 <printf@plt>
jmp    1412 <main+0x2e2>
jmp    1589 <main+0x459>
lea    -0x3c(%rbp),%rdi
lea    -0x2c(%rbp),%rsi
call   1040 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
jne    14cb <main+0x39b>
lea    -0x46(%rbp),%rdi
lea    -0x1e(%rbp),%rsi
call   1040 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
je     1468 <main+0x338>
lea    -0x46(%rbp),%rdi
lea    -0x32(%rbp),%rsi
call   1040 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
jne    147c <main+0x34c>
mov    -0xc(%rbp),%esi
lea    0xbcc(%rip),%rdi
call   1030 <printf@plt>
jmp    14c6 <main+0x396>
lea    -0x46(%rbp),%rdi
lea    -0x24(%rbp),%rsi
call   1040 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
je     14b2 <main+0x382>
lea    -0x46(%rbp),%rdi
lea    -0x18(%rbp),%rsi
call   1040 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
jne    14c1 <main+0x391>
mov    -0xc(%rbp),%esi
lea    0xb96(%rip),%rdi
call   1030 <printf@plt>
jmp    14c6 <main+0x396>
jmp    1584 <main+0x454>
lea    -0x3c(%rbp),%rdi
lea    -0x32(%rbp),%rsi
call   1040 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
jne    157f <main+0x44f>
lea    -0x46(%rbp),%rdi
lea    -0x18(%rbp),%rsi
call   1040 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
je     151c <main+0x3ec>
lea    -0x46(%rbp),%rdi
lea    -0x24(%rbp),%rsi
call   1040 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
jne    1530 <main+0x400>
mov    -0xc(%rbp),%esi
lea    0xb18(%rip),%rdi
call   1030 <printf@plt>
jmp    157a <main+0x44a>
lea    -0x46(%rbp),%rdi
lea    -0x1e(%rbp),%rsi
call   1040 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
je     1566 <main+0x436>
lea    -0x46(%rbp),%rdi
lea    -0x2c(%rbp),%rsi
call   1040 <strcmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
jne    1575 <main+0x445>
mov    -0xc(%rbp),%esi
lea    0xae2(%rip),%rdi
call   1030 <printf@plt>
jmp    157a <main+0x44a>
jmp    157f <main+0x44f>
jmp    1584 <main+0x454>
jmp    1589 <main+0x459>
jmp    158e <main+0x45e>
jmp    1593 <main+0x463>
jmp    1598 <main+0x468>
jmp    159d <main+0x46d>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    11aa <main+0x7a>
xor    %eax,%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x48,%rsp
movabs $0x6172756f736574,%rax
mov    %rax,0x28(%rsp)
movw   $0x6c,0x1c(%rsp)
movl   $0x65706170,0x18(%rsp)
65
movw   $0x61,0x14(%rsp)
movl   $0x72646570,0x10(%rsp)
72
movabs $0x6f74726167616c,%rax
mov    %rax,0x20(%rsp)
movw   $0x6b,0xc(%rsp)
movl   $0x636f7053,0x8(%rsp)
63
lea    0xe82(%rip),%rdi
lea    0x30(%rsp),%rsi
xor    %eax,%eax
call   1050 <scanf@plt>
cmpl   $0x0,0x30(%rsp)
jle    1422 <main+0x2f2>
mov    $0x1,%ebx
lea    0xe62(%rip),%r14
lea    0x3e(%rsp),%r15
lea    0x34(%rsp),%r12
lea    0xe56(%rip),%rbp
lea    0xe63(%rip),%r13
jmp    11e6 <main+0xb6>
nopl   (%rax)
mov    %ebx,%esi
call   1030 <printf@plt>
lea    0x1(%rbx),%eax
cmp    0x30(%rsp),%ebx
mov    %eax,%ebx
jge    1422 <main+0x2f2>
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   %rax,%rax
je     11d0 <main+0xa0>
mov    %r15,%rdi
lea    0x28(%rsp),%rsi
call   1040 <strcmp@plt>
test   %rax,%rax
je     12c0 <main+0x190>
mov    %r15,%rdi
lea    0x18(%rsp),%rsi
call   1040 <strcmp@plt>
test   %rax,%rax
je     12ff <main+0x1cf>
mov    %r15,%rdi
lea    0x10(%rsp),%rsi
call   1040 <strcmp@plt>
test   %rax,%rax
je     1358 <main+0x228>
mov    %r15,%rdi
lea    0x20(%rsp),%rsi
call   1040 <strcmp@plt>
test   %rax,%rax
je     13c9 <main+0x299>
mov    %r15,%rdi
lea    0x8(%rsp),%rsi
call   1040 <strcmp@plt>
test   %rax,%rax
jne    11d7 <main+0xa7>
mov    %r12,%rdi
lea    0x28(%rsp),%rsi
call   1040 <strcmp@plt>
mov    %r13,%rdi
test   %rax,%rax
je     11d0 <main+0xa0>
mov    %r12,%rdi
lea    0x10(%rsp),%rsi
call   1040 <strcmp@plt>
mov    %r13,%rdi
test   %rax,%rax
je     11d0 <main+0xa0>
mov    %r12,%rdi
lea    0x18(%rsp),%rsi
jmp    1339 <main+0x209>
cs nopw 0x0(%rax,%rax,1)
mov    %r12,%rdi
lea    0x18(%rsp),%rsi
call   1040 <strcmp@plt>
mov    %r13,%rdi
test   %rax,%rax
je     11d0 <main+0xa0>
mov    %r12,%rdi
lea    0x20(%rsp),%rsi
call   1040 <strcmp@plt>
mov    %r13,%rdi
test   %rax,%rax
je     11d0 <main+0xa0>
mov    %r12,%rdi
lea    0x10(%rsp),%rsi
jmp    1392 <main+0x262>
mov    %r12,%rdi
lea    0x10(%rsp),%rsi
call   1040 <strcmp@plt>
mov    %r13,%rdi
test   %rax,%rax
je     11d0 <main+0xa0>
mov    %r12,%rdi
lea    0x8(%rsp),%rsi
call   1040 <strcmp@plt>
mov    %r13,%rdi
test   %rax,%rax
je     11d0 <main+0xa0>
mov    %r12,%rdi
lea    0x28(%rsp),%rsi
call   1040 <strcmp@plt>
lea    0xcfd(%rip),%rdi
test   %rax,%rax
je     11d0 <main+0xa0>
mov    %r12,%rdi
lea    0x20(%rsp),%rsi
jmp    13af <main+0x27f>
mov    %r12,%rdi
lea    0x28(%rsp),%rsi
call   1040 <strcmp@plt>
mov    %r13,%rdi
test   %rax,%rax
je     11d0 <main+0xa0>
mov    %r12,%rdi
lea    0x20(%rsp),%rsi
call   1040 <strcmp@plt>
mov    %r13,%rdi
test   %rax,%rax
je     11d0 <main+0xa0>
mov    %r12,%rdi
lea    0x18(%rsp),%rsi
call   1040 <strcmp@plt>
lea    0xca4(%rip),%rdi
test   %rax,%rax
je     11d0 <main+0xa0>
mov    %r12,%rdi
lea    0x8(%rsp),%rsi
call   1040 <strcmp@plt>
lea    0xc87(%rip),%rdi
test   %rax,%rax
jne    11d7 <main+0xa7>
jmp    11d0 <main+0xa0>
mov    %r12,%rdi
lea    0x18(%rsp),%rsi
call   1040 <strcmp@plt>
mov    %r13,%rdi
test   %rax,%rax
je     11d0 <main+0xa0>
mov    %r12,%rdi
lea    0x8(%rsp),%rsi
call   1040 <strcmp@plt>
mov    %r13,%rdi
test   %rax,%rax
je     11d0 <main+0xa0>
mov    %r12,%rdi
lea    0x10(%rsp),%rsi
call   1040 <strcmp@plt>
lea    0xc33(%rip),%rdi
test   %rax,%rax
je     11d0 <main+0xa0>
mov    %r12,%rdi
lea    0x28(%rsp),%rsi
jmp    13af <main+0x27f>
xor    %eax,%eax
add    $0x48,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

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