#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 /*<<< orphan*/ scanf(char *, char *);
int yamadie(char);
int main() {
  char a;
  scanf("%c", &a);
  if (yamadie(a) == 1)
    printf("Big");
  else if (yamadie(a) == 2)
    printf("Small");
  else if (yamadie(a) == 3)
    printf("Number");
  else
    printf("Other");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeba(%rip),%rdi
lea    -0x5(%rbp),%rsi
call   1050 <scanf@plt>
movsbl -0x5(%rbp),%edi
call   1040 <yamadie@plt>
cmp    $0x1,%eax
jne    1172 <main+0x42>
lea    0xe9b(%rip),%rdi
call   1030 <printf@plt>
jmp    11ce <main+0x9e>
movsbl -0x5(%rbp),%edi
call   1040 <yamadie@plt>
cmp    $0x2,%eax
jne    1195 <main+0x65>
lea    0xe7c(%rip),%rdi
call   1030 <printf@plt>
jmp    11c9 <main+0x99>
movsbl -0x5(%rbp),%edi
call   1040 <yamadie@plt>
cmp    $0x3,%eax
jne    11b8 <main+0x88>
lea    0xe5f(%rip),%rdi
call   1030 <printf@plt>
jmp    11c4 <main+0x94>
lea    0xe55(%rip),%rdi
call   1030 <printf@plt>
jmp    11c9 <main+0x99>
jmp    11ce <main+0x9e>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xec8(%rip),%rdi
lea    0x7(%rsp),%rsi
call   1050 <scanf@plt>
movsbl 0x7(%rsp),%edi
call   1040 <yamadie@plt>
cmp    $0x1,%eax
jne    115a <main+0x2a>
lea    0xeab(%rip),%rdi
jmp    1191 <main+0x61>
movsbl 0x7(%rsp),%edi
call   1040 <yamadie@plt>
cmp    $0x2,%eax
jne    1172 <main+0x42>
lea    0xe97(%rip),%rdi
jmp    1191 <main+0x61>
movsbl 0x7(%rsp),%edi
call   1040 <yamadie@plt>
cmp    $0x3,%eax
lea    0xe87(%rip),%rax
lea    0xe87(%rip),%rdi
cmove  %rax,%rdi
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [3 x i8] c"%c\00"
@.str.1 = [4 x i8] c"Big\00"
@.str.2 = [6 x i8] c"Small\00"
@.str.3 = [7 x i8] c"Number\00"
@.str.4 = [6 x i8] c"Other\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i8
store i32 0, i32* %1
%3 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* %2)
%4 = load i8, i8* %2
%5 = call i32 @yamadie(i8 signext %4)
%6 = icmp eq i32 %5, 1
br i1 %6, label %7, label %9
7: ; preds = %0
%8 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
br label %25
9: ; preds = %0
%10 = load i8, i8* %2
%11 = call i32 @yamadie(i8 signext %10)
%12 = icmp eq i32 %11, 2
br i1 %12, label %13, label %15
13: ; preds = %9
%14 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0))
br label %24
15: ; preds = %9
%16 = load i8, i8* %2
%17 = call i32 @yamadie(i8 signext %16)
%18 = icmp eq i32 %17, 3
br i1 %18, label %19, label %21
19: ; preds = %15
%20 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0))
br label %23
21: ; preds = %15
%22 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
br label %23
23: ; preds = %21, %19
br label %24
24: ; preds = %23, %13
br label %25
25: ; preds = %24, %7
ret i32 0
}

LLVM IR (-O2):
@.str = [3 x i8] c"%c\00"
@.str.1 = [4 x i8] c"Big\00"
@.str.2 = [6 x i8] c"Small\00"
@.str.3 = [7 x i8] c"Number\00"
@.str.4 = [6 x i8] c"Other\00"
define i32 @main() {
%1 = alloca i8
%2 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* %1)
%3 = load i8, i8* %1
%4 = call i32 @yamadie(i8 signext %3)
%5 = icmp eq i32 %4, 1
br i1 %5, label %15, label %6
6: ; preds = %0
%7 = load i8, i8* %1
%8 = call i32 @yamadie(i8 signext %7)
%9 = icmp eq i32 %8, 2
br i1 %9, label %15, label %10
10: ; preds = %6
%11 = load i8, i8* %1
%12 = call i32 @yamadie(i8 signext %11)
%13 = icmp eq i32 %12, 3
%14 = select i1 %13, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0)
br label %15
15: ; preds = %10, %6, %0
%16 = phi i8* [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), %0 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), %6 ], [ %14, %10 ]
%17 = call i32 @printf(i8* dereferenceable(1) %16)
ret i32 0
}