#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*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *);
char *getFunctionName(int FUNCTION) {
  switch (FUNCTION) {
  case 0:
    return "Rastrigin";
  case 1:
    return "Schaffer F7";
  case 2:
    return "Griewank";
  case 3:
    return "Ackley";
  case 4:
    return "Rosenbrock";
  case 5:
    return "Sphere";
  case 6:
    return "Molecular Potential Energy";
  case 7:
    return "Schaffer F6";
    break;
  case 8:
    return "Generalized Schwefels 2.26";
    break;
  case 9:
    return "Step";
    break;
  case 11:
    return "Generalized Penalized function #1";
    break;
  case 12:
    return "Levy";
    break;
  case 13:
    return "Zakharov";
    break;
  case 14:
    return "Egg holder";
    break;
  case 15:
    return "Generalized Holzman";
    break;
  case 16:
    return "Michalewitz";
    break;
  case 17:
    return "Generalized penalized function #2";
    break;
  case 18:
    return "Powell";
    break;
  case 19:
    return "Rana";
    break;
  case 20:
    return "Shubert";
    break;
  case 21:
    return "StretchedV";
    break;
  case 22:
    return "Multimod";
    break;
  case 23:
    return "Schwefel's function 2.22";
    break;
  case 25:
    return "Shifted Sphere";
    break;
  case 26:
    return "Shifted Schwefel's Problem 2.21";
    break;
  case 27:
    return "Shifted Rosenbrock";
    break;
  case 28:
    return "Shifted Rastrigin";
    break;
  case 29:
    return "Shifted Griewank";
    break;
  case 30:
    return "Shifted Ackley";
    break;
  case 31:
    return "Shifted Schwefel 2.22";
    break;
  case 32:
    return "Shifted Schwefel 1.2";
    break;
  case 33:
    return "Shifted Extended_f10";
    break;
  case 34:
    return "Shifted Bohachevsky";
    break;
  case 35:
    return "Shifted Schaffer";
    break;
  case 36:
    return "Hybrid 1";
    break;
  case 37:
    return "Hybrid 2";
    break;
  case 38:
    return "Hybrid 3";
    break;
  case 39:
    return "Hybrid 4";
    break;
  case 40:
    return "Hybrid 5";
    break;
  case 41:
    return "Hybrid 6";
    break;
  case 42:
    return "Hybrid 7";
    break;
  case 43:
    return "Hybrid 8";
    break;
  default:
    printf("Info: Invalid function.\n");
    exit(0);
  }
}


x86 assembly (clang, -O0):
<getFunctionName>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %edi,-0xc(%rbp)
mov    -0xc(%rbp),%eax
mov    %rax,-0x18(%rbp)
sub    $0x2b,%rax
ja     13f0 <getFunctionName+0x2d0>
mov    -0x18(%rbp),%rax
lea    0xeb9(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0x10b4(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1403 <getFunctionName+0x2e3>
lea    0xf49(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1403 <getFunctionName+0x2e3>
lea    0x10a6(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1403 <getFunctionName+0x2e3>
lea    0x10a7(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1403 <getFunctionName+0x2e3>
lea    0x1061(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1403 <getFunctionName+0x2e3>
lea    0x1022(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1403 <getFunctionName+0x2e3>
lea    0xf05(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1403 <getFunctionName+0x2e3>
lea    0xf10(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1403 <getFunctionName+0x2e3>
lea    0xf0c(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1403 <getFunctionName+0x2e3>
lea    0xf17(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1403 <getFunctionName+0x2e3>
lea    0xf0c(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1403 <getFunctionName+0x2e3>
lea    0xf1e(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1403 <getFunctionName+0x2e3>
lea    0xf13(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1403 <getFunctionName+0x2e3>
lea    0xf0c(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1403 <getFunctionName+0x2e3>
lea    0xf07(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1403 <getFunctionName+0x2e3>
lea    0xf0b(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1403 <getFunctionName+0x2e3>
lea    0xf07(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1403 <getFunctionName+0x2e3>
lea    0xf19(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1403 <getFunctionName+0x2e3>
lea    0xf10(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1403 <getFunctionName+0x2e3>
lea    0xf05(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1403 <getFunctionName+0x2e3>
lea    0xefd(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1403 <getFunctionName+0x2e3>
lea    0xef8(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1403 <getFunctionName+0x2e3>
lea    0xef1(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1403 <getFunctionName+0x2e3>
lea    0xefa(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1403 <getFunctionName+0x2e3>
lea    0xef9(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1403 <getFunctionName+0x2e3>
lea    0xf09(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1403 <getFunctionName+0x2e3>
lea    0xf0c(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1403 <getFunctionName+0x2e3>
lea    0xf0e(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1403 <getFunctionName+0x2e3>
lea    0xf0f(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1403 <getFunctionName+0x2e3>
lea    0xf0e(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1403 <getFunctionName+0x2e3>
lea    0xf14(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1403 <getFunctionName+0x2e3>
lea    0xf19(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1403 <getFunctionName+0x2e3>
lea    0xf1e(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1403 <getFunctionName+0x2e3>
lea    0xf22(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1403 <getFunctionName+0x2e3>
lea    0xf23(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1403 <getFunctionName+0x2e3>
lea    0xf1c(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1403 <getFunctionName+0x2e3>
lea    0xf15(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1403 <getFunctionName+0x2e3>
lea    0xf0e(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1403 <getFunctionName+0x2e3>
lea    0xf07(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1403 <getFunctionName+0x2e3>
lea    0xf00(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1403 <getFunctionName+0x2e3>
lea    0xef9(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1403 <getFunctionName+0x2e3>
lea    0xef2(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1403 <getFunctionName+0x2e3>
lea    0xeeb(%rip),%rdi
call   1030 <printf@plt>
xor    %edi,%edi
call   1040 <exit@plt>
mov    -0x8(%rbp),%rax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<getFunctionName>:
push   %rax
cmp    $0x2c,%edi
jae    1149 <getFunctionName+0x29>
movabs $0xffffefffbff,%rax
bt     %rdi,%rax
jae    1149 <getFunctionName+0x29>
movslq %edi,%rax
lea    0x110c(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
pop    %rcx
ret
lea    0x10e2(%rip),%rdi
call   1030 <puts@plt>
xor    %edi,%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@.str = [10 x i8] c"Rastrigin\00"
@.str.1 = [12 x i8] c"Schaffer F7\00"
@.str.2 = [9 x i8] c"Griewank\00"
@.str.3 = [7 x i8] c"Ackley\00"
@.str.4 = [11 x i8] c"Rosenbrock\00"
@.str.5 = [7 x i8] c"Sphere\00"
@.str.6 = [27 x i8] c"Molecular Potential Energy\00"
@.str.7 = [12 x i8] c"Schaffer F6\00"
@.str.8 = [27 x i8] c"Generalized Schwefels 2.26\00"
@.str.9 = [5 x i8] c"Step\00"
@.str.10 = [34 x i8] c"Generalized Penalized function\00"
@.str.11 = [5 x i8] c"Levy\00"
@.str.12 = [9 x i8] c"Zakharov\00"
@.str.13 = [11 x i8] c"Egg holder\00"
@.str.14 = [20 x i8] c"Generalized Holzman\00"
@.str.15 = [12 x i8] c"Michalewitz\00"
@.str.16 = [34 x i8] c"Generalized penalized function\00"
@.str.17 = [7 x i8] c"Powell\00"
@.str.18 = [5 x i8] c"Rana\00"
@.str.19 = [8 x i8] c"Shubert\00"
@.str.20 = [11 x i8] c"StretchedV\00"
@.str.21 = [9 x i8] c"Multimod\00"
@.str.22 = [25 x i8] c"Schwefel's function 2.22\00"
@.str.23 = [15 x i8] c"Shifted Sphere\00"
@.str.24 = [32 x i8] c"Shifted Schwefel's Problem 2.21\00"
@.str.25 = [19 x i8] c"Shifted Rosenbrock\00"
@.str.26 = [18 x i8] c"Shifted Rastrigin\00"
@.str.27 = [17 x i8] c"Shifted Griewank\00"
@.str.28 = [15 x i8] c"Shifted Ackley\00"
@.str.29 = [22 x i8] c"Shifted Schwefel 2.22\00"
@.str.30 = [21 x i8] c"Shifted Schwefel 1.2\00"
@.str.31 = [21 x i8] c"Shifted Extended_f10\00"
@.str.32 = [20 x i8] c"Shifted Bohachevsky\00"
@.str.33 = [17 x i8] c"Shifted Schaffer\00"
@.str.34 = [9 x i8] c"Hybrid 1\00"
@.str.35 = [9 x i8] c"Hybrid 2\00"
@.str.36 = [9 x i8] c"Hybrid 3\00"
@.str.37 = [9 x i8] c"Hybrid 4\00"
@.str.38 = [9 x i8] c"Hybrid 5\00"
@.str.39 = [9 x i8] c"Hybrid 6\00"
@.str.40 = [9 x i8] c"Hybrid 7\00"
@.str.41 = [9 x i8] c"Hybrid 8\00"
@.str.42 = [25 x i8] c"Info: Invalid function.\0A\00"
define i8* @getFunctionName(i32 %0) {
%2 = alloca i8*
%3 = alloca i32
store i32 %0, i32* %3
%4 = load i32, i32* %3
switch i32 %4, label %47 [
i32 0, label %5
i32 1, label %6
i32 2, label %7
i32 3, label %8
i32 4, label %9
i32 5, label %10
i32 6, label %11
i32 7, label %12
i32 8, label %13
i32 9, label %14
i32 11, label %15
i32 12, label %16
i32 13, label %17
i32 14, label %18
i32 15, label %19
i32 16, label %20
i32 17, label %21
i32 18, label %22
i32 19, label %23
i32 20, label %24
i32 21, label %25
i32 22, label %26
i32 23, label %27
i32 25, label %28
i32 26, label %29
i32 27, label %30
i32 28, label %31
i32 29, label %32
i32 30, label %33
i32 31, label %34
i32 32, label %35
i32 33, label %36
i32 34, label %37
i32 35, label %38
i32 36, label %39
i32 37, label %40
i32 38, label %41
i32 39, label %42
i32 40, label %43
i32 41, label %44
i32 42, label %45
i32 43, label %46
]
5: ; preds = %1
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i8** %2
br label %50
6: ; preds = %1
store i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i8** %2
br label %50
7: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i8** %2
br label %50
8: ; preds = %1
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i8** %2
br label %50
9: ; preds = %1
store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i8** %2
br label %50
10: ; preds = %1
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0), i8** %2
br label %50
11: ; preds = %1
store i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.6, i64 0, i64 0), i8** %2
br label %50
12: ; preds = %1
store i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.7, i64 0, i64 0), i8** %2
br label %50
13: ; preds = %1
store i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.8, i64 0, i64 0), i8** %2
br label %50
14: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0), i8** %2
br label %50
15: ; preds = %1
store i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.10, i64 0, i64 0), i8** %2
br label %50
16: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i8** %2
br label %50
17: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.12, i64 0, i64 0), i8** %2
br label %50
18: ; preds = %1
store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.13, i64 0, i64 0), i8** %2
br label %50
19: ; preds = %1
store i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.14, i64 0, i64 0), i8** %2
br label %50
20: ; preds = %1
store i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.15, i64 0, i64 0), i8** %2
br label %50
21: ; preds = %1
store i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.16, i64 0, i64 0), i8** %2
br label %50
22: ; preds = %1
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.17, i64 0, i64 0), i8** %2
br label %50
23: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.18, i64 0, i64 0), i8** %2
br label %50
24: ; preds = %1
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.19, i64 0, i64 0), i8** %2
br label %50
25: ; preds = %1
store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.20, i64 0, i64 0), i8** %2
br label %50
26: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.21, i64 0, i64 0), i8** %2
br label %50
27: ; preds = %1
store i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.22, i64 0, i64 0), i8** %2
br label %50
28: ; preds = %1
store i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.23, i64 0, i64 0), i8** %2
br label %50
29: ; preds = %1
store i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.24, i64 0, i64 0), i8** %2
br label %50
30: ; preds = %1
store i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.25, i64 0, i64 0), i8** %2
br label %50
31: ; preds = %1
store i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.26, i64 0, i64 0), i8** %2
br label %50
32: ; preds = %1
store i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.27, i64 0, i64 0), i8** %2
br label %50
33: ; preds = %1
store i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.28, i64 0, i64 0), i8** %2
br label %50
34: ; preds = %1
store i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.29, i64 0, i64 0), i8** %2
br label %50
35: ; preds = %1
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.30, i64 0, i64 0), i8** %2
br label %50
36: ; preds = %1
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.31, i64 0, i64 0), i8** %2
br label %50
37: ; preds = %1
store i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.32, i64 0, i64 0), i8** %2
br label %50
38: ; preds = %1
store i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.33, i64 0, i64 0), i8** %2
br label %50
39: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.34, i64 0, i64 0), i8** %2
br label %50
40: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.35, i64 0, i64 0), i8** %2
br label %50
41: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.36, i64 0, i64 0), i8** %2
br label %50
42: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.37, i64 0, i64 0), i8** %2
br label %50
43: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.38, i64 0, i64 0), i8** %2
br label %50
44: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.39, i64 0, i64 0), i8** %2
br label %50
45: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.40, i64 0, i64 0), i8** %2
br label %50
46: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.41, i64 0, i64 0), i8** %2
br label %50
47: ; preds = %1
%48 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.42, i64 0, i64 0))
%49 = call i32 @exit(i32 0)
unreachable
50: ; preds = %46, %45, %44, %43, %42, %41, %40, %39, %38, %37, %36, %35, %34, %33, %32, %31, %30, %29, %28, %27, %26, %25, %24, %23, %22, %21, %20, %19, %18, %17, %16, %15, %14, %13, %12, %11, %10, %9, %8, %7, %6, %5
%51 = load i8*, i8** %2
ret i8* %51
}

LLVM IR (-O2):
@.str = [10 x i8] c"Rastrigin\00"
@.str.1 = [12 x i8] c"Schaffer F7\00"
@.str.2 = [9 x i8] c"Griewank\00"
@.str.3 = [7 x i8] c"Ackley\00"
@.str.4 = [11 x i8] c"Rosenbrock\00"
@.str.5 = [7 x i8] c"Sphere\00"
@.str.6 = [27 x i8] c"Molecular Potential Energy\00"
@.str.7 = [12 x i8] c"Schaffer F6\00"
@.str.8 = [27 x i8] c"Generalized Schwefels 2.26\00"
@.str.9 = [5 x i8] c"Step\00"
@.str.10 = [34 x i8] c"Generalized Penalized function\00"
@.str.11 = [5 x i8] c"Levy\00"
@.str.12 = [9 x i8] c"Zakharov\00"
@.str.13 = [11 x i8] c"Egg holder\00"
@.str.14 = [20 x i8] c"Generalized Holzman\00"
@.str.15 = [12 x i8] c"Michalewitz\00"
@.str.16 = [34 x i8] c"Generalized penalized function\00"
@.str.17 = [7 x i8] c"Powell\00"
@.str.18 = [5 x i8] c"Rana\00"
@.str.19 = [8 x i8] c"Shubert\00"
@.str.20 = [11 x i8] c"StretchedV\00"
@.str.21 = [9 x i8] c"Multimod\00"
@.str.22 = [25 x i8] c"Schwefel's function 2.22\00"
@.str.23 = [15 x i8] c"Shifted Sphere\00"
@.str.24 = [32 x i8] c"Shifted Schwefel's Problem 2.21\00"
@.str.25 = [19 x i8] c"Shifted Rosenbrock\00"
@.str.26 = [18 x i8] c"Shifted Rastrigin\00"
@.str.27 = [17 x i8] c"Shifted Griewank\00"
@.str.28 = [15 x i8] c"Shifted Ackley\00"
@.str.29 = [22 x i8] c"Shifted Schwefel 2.22\00"
@.str.30 = [21 x i8] c"Shifted Schwefel 1.2\00"
@.str.31 = [21 x i8] c"Shifted Extended_f10\00"
@.str.32 = [20 x i8] c"Shifted Bohachevsky\00"
@.str.33 = [17 x i8] c"Shifted Schaffer\00"
@.str.34 = [9 x i8] c"Hybrid 1\00"
@.str.35 = [9 x i8] c"Hybrid 2\00"
@.str.36 = [9 x i8] c"Hybrid 3\00"
@.str.37 = [9 x i8] c"Hybrid 4\00"
@.str.38 = [9 x i8] c"Hybrid 5\00"
@.str.39 = [9 x i8] c"Hybrid 6\00"
@.str.40 = [9 x i8] c"Hybrid 7\00"
@.str.41 = [9 x i8] c"Hybrid 8\00"
@str = [24 x i8] c"Info: Invalid function.\00"
@reltable.getFunctionName = [44 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @.str to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([12 x i8]* @.str.1 to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.2 to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([7 x i8]* @.str.3 to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([11 x i8]* @.str.4 to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([7 x i8]* @.str.5 to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([27 x i8]* @.str.6 to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([12 x i8]* @.str.7 to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([27 x i8]* @.str.8 to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.9 to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @.str to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([34 x i8]* @.str.10 to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.11 to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.12 to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([11 x i8]* @.str.13 to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([20 x i8]* @.str.14 to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([12 x i8]* @.str.15 to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([34 x i8]* @.str.16 to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([7 x i8]* @.str.17 to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.18 to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.19 to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([11 x i8]* @.str.20 to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.21 to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([25 x i8]* @.str.22 to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @.str to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([15 x i8]* @.str.23 to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([32 x i8]* @.str.24 to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([19 x i8]* @.str.25 to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([18 x i8]* @.str.26 to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([17 x i8]* @.str.27 to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([15 x i8]* @.str.28 to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([22 x i8]* @.str.29 to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([21 x i8]* @.str.30 to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([21 x i8]* @.str.31 to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([20 x i8]* @.str.32 to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([17 x i8]* @.str.33 to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.34 to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.35 to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.36 to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.37 to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.38 to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.39 to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.40 to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.41 to i64), i64 ptrtoint ([44 x i32]* @reltable.getFunctionName to i64)) to i32)]
define i8* @getFunctionName(i32 %0) {
%2 = icmp ult i32 %0, 44
br i1 %2, label %6, label %3
3: ; preds = %6, %1
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str, i64 0, i64 0))
%5 = tail call i32 @exit(i32 0)
unreachable
6: ; preds = %1
%7 = zext i32 %0 to i64
%8 = lshr i64 17592169266175, %7
%9 = and i64 %8, 1
%10 = icmp eq i64 %9, 0
br i1 %10, label %3, label %11
11: ; preds = %6
%12 = sext i32 %0 to i64
%13 = shl i64 %12, 2
%14 = call i8* @llvm.load.relative.i64(i8* bitcast ([44 x i32]* @reltable.getFunctionName to i8*), i64 %13)
ret i8* %14
}