#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 atoi(char const *);
int /*<<< orphan*/ printf(char *, ...);
int main(int argc, const char *argv[]) {
  if (argc < 2) {
    return -1;
  }
  int input = atoi(argv[1]);
  switch (input) {
  case 0:
    printf("Input was zero\n");
    break;
  case 1:
    printf("Input was one\n");
    break;
  case 2:
    printf("Input was two\n");
    break;
  case 4:
    printf("Input was four\n");
    break;
  case 6:
    printf("Input was six\n");
    break;
  case 12:
    printf("Input was twelve\n");
    break;
  case 13:
    printf("Input was thirteen\n");
    break;
  case 19:
    printf("Input was nineteen\n");
    break;
  case 255:
    printf("Input was two hundred fifty-five\n");
    break;
  case 0x12389:
    printf("Really big input:  0x12389\n");
    break;
  case 0x1238A:
    printf("Really big input:  0x1238A\n");
    break;
  case 0x1238B:
    printf("Really big input:  0x1238B\n");
    break;
  case 0x1238C:
    printf("Really big input:  0x1238C\n");
    break;
  case 0x1238D:
    printf("Really big input:  0x1238D\n");
    break;
  case 0x1238F:
    printf("Really big input:  0x1238F\n");
    break;
  case 0x12390:
    printf("Really big input:  0x12390\n");
    break;
  case 0x12391:
    printf("Really big input:  0x12391\n");
    break;
  case 0x12392:
    printf("Really big input:  0x12392\n");
    break;
  case 0x12393:
    printf("Really big input:  0x12393\n");
    break;
  default:
    printf("Unknown input: %d\n", input);
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x2,-0x8(%rbp)
jge    114c <main+0x2c>
movl   $0xffffffff,-0x4(%rbp)
jmp    1438 <main+0x318>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1040 <atoi@plt>
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%eax
mov    %eax,-0x18(%rbp)
test   %eax,%eax
je     12b7 <main+0x197>
jmp    116f <main+0x4f>
mov    -0x18(%rbp),%eax
sub    $0x1,%eax
je     12ca <main+0x1aa>
jmp    1180 <main+0x60>
mov    -0x18(%rbp),%eax
sub    $0x2,%eax
je     12dd <main+0x1bd>
jmp    1191 <main+0x71>
mov    -0x18(%rbp),%eax
sub    $0x4,%eax
je     12f0 <main+0x1d0>
jmp    11a2 <main+0x82>
mov    -0x18(%rbp),%eax
sub    $0x6,%eax
je     1303 <main+0x1e3>
jmp    11b3 <main+0x93>
mov    -0x18(%rbp),%eax
sub    $0xc,%eax
je     1316 <main+0x1f6>
jmp    11c4 <main+0xa4>
mov    -0x18(%rbp),%eax
sub    $0xd,%eax
je     1329 <main+0x209>
jmp    11d5 <main+0xb5>
mov    -0x18(%rbp),%eax
sub    $0x13,%eax
je     133c <main+0x21c>
jmp    11e6 <main+0xc6>
mov    -0x18(%rbp),%eax
sub    $0xff,%eax
je     134f <main+0x22f>
jmp    11f9 <main+0xd9>
mov    -0x18(%rbp),%eax
sub    $0x12389,%eax
je     1362 <main+0x242>
jmp    120c <main+0xec>
mov    -0x18(%rbp),%eax
sub    $0x1238a,%eax
je     1375 <main+0x255>
jmp    121f <main+0xff>
mov    -0x18(%rbp),%eax
sub    $0x1238b,%eax
je     1388 <main+0x268>
jmp    1232 <main+0x112>
mov    -0x18(%rbp),%eax
sub    $0x1238c,%eax
je     139b <main+0x27b>
jmp    1245 <main+0x125>
mov    -0x18(%rbp),%eax
sub    $0x1238d,%eax
je     13ae <main+0x28e>
jmp    1258 <main+0x138>
mov    -0x18(%rbp),%eax
sub    $0x1238f,%eax
je     13c1 <main+0x2a1>
jmp    126b <main+0x14b>
mov    -0x18(%rbp),%eax
sub    $0x12390,%eax
je     13d4 <main+0x2b4>
jmp    127e <main+0x15e>
mov    -0x18(%rbp),%eax
sub    $0x12391,%eax
je     13e7 <main+0x2c7>
jmp    1291 <main+0x171>
mov    -0x18(%rbp),%eax
sub    $0x12392,%eax
je     13fa <main+0x2da>
jmp    12a4 <main+0x184>
mov    -0x18(%rbp),%eax
sub    $0x12393,%eax
je     140d <main+0x2ed>
jmp    1420 <main+0x300>
lea    0xd42(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1431 <main+0x311>
lea    0xd3f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1431 <main+0x311>
lea    0xd3b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1431 <main+0x311>
lea    0xd37(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1431 <main+0x311>
lea    0xd34(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1431 <main+0x311>
lea    0xd30(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1431 <main+0x311>
lea    0xd2f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1431 <main+0x311>
lea    0xd30(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1431 <main+0x311>
lea    0xd31(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1431 <main+0x311>
lea    0xd40(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1431 <main+0x311>
lea    0xd49(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1431 <main+0x311>
lea    0xd52(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1431 <main+0x311>
lea    0xd5b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1431 <main+0x311>
lea    0xd64(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1431 <main+0x311>
lea    0xd6d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1431 <main+0x311>
lea    0xd76(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1431 <main+0x311>
lea    0xd7f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1431 <main+0x311>
lea    0xd88(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1431 <main+0x311>
lea    0xd91(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1431 <main+0x311>
mov    -0x14(%rbp),%esi
lea    0xd97(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
mov    $0xffffffff,%ebx
cmp    $0x2,%edi
jl     1254 <main+0x124>
mov    0x8(%rsi),%rdi
call   1050 <atoi@plt>
lea    -0x12389(%rax),%ecx
cmp    $0xa,%ecx
ja     116f <main+0x3f>
lea    0xef6(%rip),%rdx
movslq (%rdx,%rcx,4),%rcx
add    %rdx,%rcx
jmp    *%rcx
lea    0x1018(%rip),%rdi
jmp    124d <main+0x11d>
cmp    $0x13,%eax
ja     1192 <main+0x62>
mov    %eax,%ecx
lea    0xe83(%rip),%rdx
movslq (%rdx,%rcx,4),%rcx
add    %rdx,%rcx
jmp    *%rcx
lea    0x10a1(%rip),%rdi
jmp    124d <main+0x11d>
cmp    $0xff,%eax
jne    11a5 <main+0x75>
lea    0xffd(%rip),%rdi
jmp    124d <main+0x11d>
lea    0xed0(%rip),%rdi
xor    %ebx,%ebx
mov    %eax,%esi
xor    %eax,%eax
call   1040 <printf@plt>
jmp    1254 <main+0x124>
lea    0xfa4(%rip),%rdi
jmp    124d <main+0x11d>
lea    0xf7d(%rip),%rdi
jmp    124d <main+0x11d>
lea    0xf59(%rip),%rdi
jmp    124d <main+0x11d>
lea    0xf35(%rip),%rdi
jmp    124d <main+0x11d>
lea    0xf11(%rip),%rdi
jmp    124d <main+0x11d>
lea    0xeed(%rip),%rdi
jmp    124d <main+0x11d>
lea    0xec9(%rip),%rdi
jmp    124d <main+0x11d>
lea    0xea5(%rip),%rdi
jmp    124d <main+0x11d>
lea    0xe81(%rip),%rdi
jmp    124d <main+0x11d>
lea    0x1009(%rip),%rdi
jmp    124d <main+0x11d>
lea    0xff2(%rip),%rdi
jmp    124d <main+0x11d>
lea    0xfda(%rip),%rdi
jmp    124d <main+0x11d>
lea    0xfc3(%rip),%rdi
jmp    124d <main+0x11d>
lea    0xfa9(%rip),%rdi
jmp    124d <main+0x11d>
lea    0xf8d(%rip),%rdi
jmp    124d <main+0x11d>
lea    0xf71(%rip),%rdi
call   1030 <puts@plt>
xor    %ebx,%ebx
mov    %ebx,%eax
pop    %rbx
ret

LLVM IR (-O0):
@.str = [16 x i8] c"Input was zero\0A\00"
@.str.1 = [15 x i8] c"Input was one\0A\00"
@.str.2 = [15 x i8] c"Input was two\0A\00"
@.str.3 = [16 x i8] c"Input was four\0A\00"
@.str.4 = [15 x i8] c"Input was six\0A\00"
@.str.5 = [18 x i8] c"Input was twelve\0A\00"
@.str.6 = [20 x i8] c"Input was thirteen\0A\00"
@.str.7 = [20 x i8] c"Input was nineteen\0A\00"
@.str.8 = [34 x i8] c"Input was two hundred fifty-five\0A\00"
@.str.9 = [28 x i8] c"Really big input: 0x12389\0A\00"
@.str.10 = [28 x i8] c"Really big input: 0x1238A\0A\00"
@.str.11 = [28 x i8] c"Really big input: 0x1238B\0A\00"
@.str.12 = [28 x i8] c"Really big input: 0x1238C\0A\00"
@.str.13 = [28 x i8] c"Really big input: 0x1238D\0A\00"
@.str.14 = [28 x i8] c"Really big input: 0x1238F\0A\00"
@.str.15 = [28 x i8] c"Really big input: 0x12390\0A\00"
@.str.16 = [28 x i8] c"Really big input: 0x12391\0A\00"
@.str.17 = [28 x i8] c"Really big input: 0x12392\0A\00"
@.str.18 = [28 x i8] c"Really big input: 0x12393\0A\00"
@.str.19 = [19 x i8] c"Unknown input: %d\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%7 = load i32, i32* %4
%8 = icmp slt i32 %7, 2
br i1 %8, label %9, label %10
9: ; preds = %2
store i32 -1, i32* %3
br label %58
10: ; preds = %2
%11 = load i8**, i8*** %5
%12 = getelementptr inbounds i8*, i8** %11, i64 1
%13 = load i8*, i8** %12
%14 = call i32 @atoi(i8* %13)
store i32 %14, i32* %6
%15 = load i32, i32* %6
switch i32 %15, label %54 [
i32 0, label %16
i32 1, label %18
i32 2, label %20
i32 4, label %22
i32 6, label %24
i32 12, label %26
i32 13, label %28
i32 19, label %30
i32 255, label %32
i32 74633, label %34
i32 74634, label %36
i32 74635, label %38
i32 74636, label %40
i32 74637, label %42
i32 74639, label %44
i32 74640, label %46
i32 74641, label %48
i32 74642, label %50
i32 74643, label %52
]
16: ; preds = %10
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0))
br label %57
18: ; preds = %10
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0))
br label %57
20: ; preds = %10
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.2, i64 0, i64 0))
br label %57
22: ; preds = %10
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.3, i64 0, i64 0))
br label %57
24: ; preds = %10
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0))
br label %57
26: ; preds = %10
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.5, i64 0, i64 0))
br label %57
28: ; preds = %10
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.6, i64 0, i64 0))
br label %57
30: ; preds = %10
%31 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.7, i64 0, i64 0))
br label %57
32: ; preds = %10
%33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.8, i64 0, i64 0))
br label %57
34: ; preds = %10
%35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.9, i64 0, i64 0))
br label %57
36: ; preds = %10
%37 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.10, i64 0, i64 0))
br label %57
38: ; preds = %10
%39 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.11, i64 0, i64 0))
br label %57
40: ; preds = %10
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.12, i64 0, i64 0))
br label %57
42: ; preds = %10
%43 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.13, i64 0, i64 0))
br label %57
44: ; preds = %10
%45 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.14, i64 0, i64 0))
br label %57
46: ; preds = %10
%47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.15, i64 0, i64 0))
br label %57
48: ; preds = %10
%49 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.16, i64 0, i64 0))
br label %57
50: ; preds = %10
%51 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.17, i64 0, i64 0))
br label %57
52: ; preds = %10
%53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.18, i64 0, i64 0))
br label %57
54: ; preds = %10
%55 = load i32, i32* %6
%56 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.19, i64 0, i64 0), i32 %55)
br label %57
57: ; preds = %54, %52, %50, %48, %46, %44, %42, %40, %38, %36, %34, %32, %30, %28, %26, %24, %22, %20, %18, %16
store i32 0, i32* %3
br label %58
58: ; preds = %57, %9
%59 = load i32, i32* %3
ret i32 %59
}

LLVM IR (-O2):
@.str.19 = [19 x i8] c"Unknown input: %d\0A\00"
@str = [27 x i8] c"Really big input: 0x12393\00"
@str.20 = [27 x i8] c"Really big input: 0x12392\00"
@str.21 = [27 x i8] c"Really big input: 0x12391\00"
@str.22 = [27 x i8] c"Really big input: 0x12390\00"
@str.23 = [27 x i8] c"Really big input: 0x1238F\00"
@str.24 = [27 x i8] c"Really big input: 0x1238D\00"
@str.25 = [27 x i8] c"Really big input: 0x1238C\00"
@str.26 = [27 x i8] c"Really big input: 0x1238B\00"
@str.27 = [27 x i8] c"Really big input: 0x1238A\00"
@str.28 = [27 x i8] c"Really big input: 0x12389\00"
@str.29 = [33 x i8] c"Input was two hundred fifty-five\00"
@str.30 = [19 x i8] c"Input was nineteen\00"
@str.31 = [19 x i8] c"Input was thirteen\00"
@str.32 = [17 x i8] c"Input was twelve\00"
@str.33 = [14 x i8] c"Input was six\00"
@str.34 = [15 x i8] c"Input was four\00"
@str.35 = [14 x i8] c"Input was two\00"
@str.36 = [14 x i8] c"Input was one\00"
@str.37 = [15 x i8] c"Input was zero\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = icmp slt i32 %0, 2
br i1 %3, label %48, label %4
4: ; preds = %2
%5 = getelementptr inbounds i8*, i8** %1, i64 1
%6 = load i8*, i8** %5
%7 = tail call i32 @atoi(i8* %6)
switch i32 %7, label %46 [
i32 0, label %8
i32 1, label %10
i32 2, label %12
i32 4, label %14
i32 6, label %16
i32 12, label %18
i32 13, label %20
i32 19, label %22
i32 255, label %24
i32 74633, label %26
i32 74634, label %28
i32 74635, label %30
i32 74636, label %32
i32 74637, label %34
i32 74639, label %36
i32 74640, label %38
i32 74641, label %40
i32 74642, label %42
i32 74643, label %44
]
8: ; preds = %4
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str.37, i64 0, i64 0))
br label %48
10: ; preds = %4
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @str.36, i64 0, i64 0))
br label %48
12: ; preds = %4
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @str.35, i64 0, i64 0))
br label %48
14: ; preds = %4
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str.34, i64 0, i64 0))
br label %48
16: ; preds = %4
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @str.33, i64 0, i64 0))
br label %48
18: ; preds = %4
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.32, i64 0, i64 0))
br label %48
20: ; preds = %4
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.31, i64 0, i64 0))
br label %48
22: ; preds = %4
%23 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.30, i64 0, i64 0))
br label %48
24: ; preds = %4
%25 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str.29, i64 0, i64 0))
br label %48
26: ; preds = %4
%27 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.28, i64 0, i64 0))
br label %48
28: ; preds = %4
%29 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.27, i64 0, i64 0))
br label %48
30: ; preds = %4
%31 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.26, i64 0, i64 0))
br label %48
32: ; preds = %4
%33 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.25, i64 0, i64 0))
br label %48
34: ; preds = %4
%35 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.24, i64 0, i64 0))
br label %48
36: ; preds = %4
%37 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.23, i64 0, i64 0))
br label %48
38: ; preds = %4
%39 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.22, i64 0, i64 0))
br label %48
40: ; preds = %4
%41 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.21, i64 0, i64 0))
br label %48
42: ; preds = %4
%43 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.20, i64 0, i64 0))
br label %48
44: ; preds = %4
%45 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str, i64 0, i64 0))
br label %48
46: ; preds = %4
%47 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.19, i64 0, i64 0), i32 %7)
br label %48
48: ; preds = %8, %10, %12, %14, %16, %18, %20, %22, %24, %26, %28, %30, %32, %34, %36, %38, %40, %42, %44, %46, %2
%49 = phi i32 [ -1, %2 ], [ 0, %46 ], [ 0, %44 ], [ 0, %42 ], [ 0, %40 ], [ 0, %38 ], [ 0, %36 ], [ 0, %34 ], [ 0, %32 ], [ 0, %30 ], [ 0, %28 ], [ 0, %26 ], [ 0, %24 ], [ 0, %22 ], [ 0, %20 ], [ 0, %18 ], [ 0, %16 ], [ 0, %14 ], [ 0, %12 ], [ 0, %10 ], [ 0, %8 ]
ret i32 %49
}