#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 */
scalar_t__ strcmp(char *, char *);
void printScore(int score, char *position) {
  if (strcmp(position, "MID") == 0) {
  } else if (strcmp(position, "MID_BOT") == 0) {
  } else if (strcmp(position, "MID_TOP") == 0) {
  } else if (strcmp(position, "MID_LEFT") == 0) {
  } else if (strcmp(position, "MID_RIGHT") == 0) {
  } else if (strcmp(position, "TOP_LEFT") == 0) {
  } else if (strcmp(position, "TOP_RIGHT") == 0) {
  } else if (strcmp(position, "BOT_LEFT") == 0) {
  } else if (strcmp(position, "BOT_RIGHT") == 0) {
  }
  return;
}


x86 assembly (clang, -O0):
<printScore>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x10(%rbp),%rdi
lea    0xed6(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    113e <printScore+0x2e>
jmp    125e <printScore+0x14e>
mov    -0x10(%rbp),%rdi
lea    0xebb(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    115d <printScore+0x4d>
jmp    1259 <printScore+0x149>
mov    -0x10(%rbp),%rdi
lea    0xea4(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    117c <printScore+0x6c>
jmp    1254 <printScore+0x144>
mov    -0x10(%rbp),%rdi
lea    0xe8d(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    119b <printScore+0x8b>
jmp    124f <printScore+0x13f>
mov    -0x10(%rbp),%rdi
lea    0xe77(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    11ba <printScore+0xaa>
jmp    124a <printScore+0x13a>
mov    -0x10(%rbp),%rdi
lea    0xe62(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    11d9 <printScore+0xc9>
jmp    1245 <printScore+0x135>
mov    -0x10(%rbp),%rdi
lea    0xe4c(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    11f8 <printScore+0xe8>
jmp    1240 <printScore+0x130>
mov    -0x10(%rbp),%rdi
lea    0xe37(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    1217 <printScore+0x107>
jmp    123b <printScore+0x12b>
mov    -0x10(%rbp),%rdi
lea    0xe21(%rip),%rsi
call   1030 <strcmp@plt>
cmp    $0x0,%rax
jne    1236 <printScore+0x126>
jmp    1236 <printScore+0x126>
jmp    123b <printScore+0x12b>
jmp    1240 <printScore+0x130>
jmp    1245 <printScore+0x135>
jmp    124a <printScore+0x13a>
jmp    124f <printScore+0x13f>
jmp    1254 <printScore+0x144>
jmp    1259 <printScore+0x149>
jmp    125e <printScore+0x14e>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<printScore>:
push   %rbx
mov    %rsi,%rbx
lea    0xee5(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     11cc <printScore+0xbc>
lea    0xed1(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     11cc <printScore+0xbc>
lea    0xec1(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     11cc <printScore+0xbc>
lea    0xeb5(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     11cc <printScore+0xbc>
lea    0xeaa(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     11cc <printScore+0xbc>
lea    0xea0(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     11cc <printScore+0xbc>
lea    0xe95(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     11cc <printScore+0xbc>
lea    0xe8b(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcmp@plt>
test   %rax,%rax
je     11cc <printScore+0xbc>
lea    0xe80(%rip),%rsi
mov    %rbx,%rdi
pop    %rbx
jmp    1030 <strcmp@plt>
pop    %rbx
ret

LLVM IR (-O0):
@.str = [4 x i8] c"MID\00"
@.str.1 = [8 x i8] c"MID_BOT\00"
@.str.2 = [8 x i8] c"MID_TOP\00"
@.str.3 = [9 x i8] c"MID_LEFT\00"
@.str.4 = [10 x i8] c"MID_RIGHT\00"
@.str.5 = [9 x i8] c"TOP_LEFT\00"
@.str.6 = [10 x i8] c"TOP_RIGHT\00"
@.str.7 = [9 x i8] c"BOT_LEFT\00"
@.str.8 = [10 x i8] c"BOT_RIGHT\00"
define void @printScore(i32 %0, i8* %1) {
%3 = alloca i32
%4 = alloca i8*
store i32 %0, i32* %3
store i8* %1, i8** %4
%5 = load i8*, i8** %4
%6 = call i64 @strcmp(i8* %5, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %2
br label %57
9: ; preds = %2
%10 = load i8*, i8** %4
%11 = call i64 @strcmp(i8* %10, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %9
br label %56
14: ; preds = %9
%15 = load i8*, i8** %4
%16 = call i64 @strcmp(i8* %15, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %14
br label %55
19: ; preds = %14
%20 = load i8*, i8** %4
%21 = call i64 @strcmp(i8* %20, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0))
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %19
br label %54
24: ; preds = %19
%25 = load i8*, i8** %4
%26 = call i64 @strcmp(i8* %25, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0))
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %29
28: ; preds = %24
br label %53
29: ; preds = %24
%30 = load i8*, i8** %4
%31 = call i64 @strcmp(i8* %30, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0))
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %34
33: ; preds = %29
br label %52
34: ; preds = %29
%35 = load i8*, i8** %4
%36 = call i64 @strcmp(i8* %35, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0))
%37 = icmp eq i64 %36, 0
br i1 %37, label %38, label %39
38: ; preds = %34
br label %51
39: ; preds = %34
%40 = load i8*, i8** %4
%41 = call i64 @strcmp(i8* %40, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0))
%42 = icmp eq i64 %41, 0
br i1 %42, label %43, label %44
43: ; preds = %39
br label %50
44: ; preds = %39
%45 = load i8*, i8** %4
%46 = call i64 @strcmp(i8* %45, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.8, i64 0, i64 0))
%47 = icmp eq i64 %46, 0
br i1 %47, label %48, label %49
48: ; preds = %44
br label %49
49: ; preds = %48, %44
br label %50
50: ; preds = %49, %43
br label %51
51: ; preds = %50, %38
br label %52
52: ; preds = %51, %33
br label %53
53: ; preds = %52, %28
br label %54
54: ; preds = %53, %23
br label %55
55: ; preds = %54, %18
br label %56
56: ; preds = %55, %13
br label %57
57: ; preds = %56, %8
ret void
}

LLVM IR (-O2):
@.str = [4 x i8] c"MID\00"
@.str.1 = [8 x i8] c"MID_BOT\00"
@.str.2 = [8 x i8] c"MID_TOP\00"
@.str.3 = [9 x i8] c"MID_LEFT\00"
@.str.4 = [10 x i8] c"MID_RIGHT\00"
@.str.5 = [9 x i8] c"TOP_LEFT\00"
@.str.6 = [10 x i8] c"TOP_RIGHT\00"
@.str.7 = [9 x i8] c"BOT_LEFT\00"
@.str.8 = [10 x i8] c"BOT_RIGHT\00"
define void @printScore(i32 %0, i8* %1) {
%3 = tail call i64 @strcmp(i8* %1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
%4 = icmp eq i64 %3, 0
br i1 %4, label %28, label %5
5: ; preds = %2
%6 = tail call i64 @strcmp(i8* %1, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%7 = icmp eq i64 %6, 0
br i1 %7, label %28, label %8
8: ; preds = %5
%9 = tail call i64 @strcmp(i8* %1, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0))
%10 = icmp eq i64 %9, 0
br i1 %10, label %28, label %11
11: ; preds = %8
%12 = tail call i64 @strcmp(i8* %1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0))
%13 = icmp eq i64 %12, 0
br i1 %13, label %28, label %14
14: ; preds = %11
%15 = tail call i64 @strcmp(i8* %1, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0))
%16 = icmp eq i64 %15, 0
br i1 %16, label %28, label %17
17: ; preds = %14
%18 = tail call i64 @strcmp(i8* %1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0))
%19 = icmp eq i64 %18, 0
br i1 %19, label %28, label %20
20: ; preds = %17
%21 = tail call i64 @strcmp(i8* %1, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0))
%22 = icmp eq i64 %21, 0
br i1 %22, label %28, label %23
23: ; preds = %20
%24 = tail call i64 @strcmp(i8* %1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0))
%25 = icmp eq i64 %24, 0
br i1 %25, label %28, label %26
26: ; preds = %23
%27 = tail call i64 @strcmp(i8* %1, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.8, i64 0, i64 0))
br label %28
28: ; preds = %5, %11, %17, %26, %23, %20, %14, %8, %2
ret void
}