#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 *);
void dump_key(int idx) {
  switch (idx) {
  case 0:
    printf("KEY_ON_OFF\n");
    break;
  case 1:
    printf("KEY_TV_PC\n");
    break;
  case 2:
    printf("KEY_VOL_UP\n");
    break;
  case 3:
    printf("KEY_VOL_DOWN\n");
    break;
  case 4:
    printf("KEY_MUTE\n");
    break;
  case 7:
    printf("KEY_NUMBER_0\n");
    break;
  case 8:
    printf("KEY_NUMBER_1\n");
    break;
  case 9:
    printf("KEY_NUMBER_2\n");
    break;
  case 10:
    printf("KEY_NUMBER_3\n");
    break;
  case 11:
    printf("KEY_NUMBER_4\n");
    break;
  case 12:
    printf("KEY_NUMBER_5\n");
    break;
  case 13:
    printf("KEY_NUMBER_6\n");
    break;
  case 14:
    printf("KEY_NUMBER_7\n");
    break;
  case 15:
    printf("KEY_NUMBER_8\n");
    break;
  case 6:
    printf("KEY_NUMBER_9\n");
    break;
  case 16:
    printf("KEY_PROG_UP\n");
    break;
  case 17:
    printf("KEY_PROG_DOWN\n");
    break;
  case 18:
    printf("KEY_BACKWARD\n");
    break;
  case 19:
    printf("KEY_FORWARD\n");
    break;
  case 20:
    printf("KEY_OK\n");
    break;
  case 5:
    printf("KEY_MENU\n");
    break;
  case 21:
    printf("KEY_RESERVED_1\n");
    break;
  case 22:
    printf("KEY_RESERVED_2\n");
    break;
  case 23:
    printf("KEY_BACK\n");
    break;
  case 24:
    printf("KEY_PAUSE_PLAY\n");
    break;
  case 25:
    printf("KEY_VIDEO\n");
    break;
  case 26:
    printf("KEY_MUSIC\n");
    break;
  case 27:
    printf("KEY_INTERNET\n");
    break;
  case 28:
    printf("KEY_NEWS\n");
    break;
  case 29:
    printf("KEY_WEATHER\n");
    break;
  case 30:
    printf("KEY_HOTEL_INFO\n");
    break;
  case 31:
    printf("KEY_HELP\n");
    break;
  case 32:
    printf("KEY_CLOCK\n");
    break;
  case 33:
    printf("KEY_WAKE_UP\n");
    break;
  case 34:
    printf("KEY_RESERVED_3\n");
    break;
  case 35:
    printf("KEY_RESERVED_4\n");
    break;
  case 36:
    printf("KEY_RESERVED_5\n");
    break;
  }
}


x86 assembly (clang, -O0):
<dump_key>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x4(%rbp)
mov    -0x4(%rbp),%eax
mov    %rax,-0x10(%rbp)
sub    $0x24,%rax
ja     13b0 <dump_key+0x2a0>
mov    -0x10(%rbp),%rax
lea    0xec9(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xf4d(%rip),%rdi
call   1030 <printf@plt>
jmp    13b0 <dump_key+0x2a0>
lea    0xf48(%rip),%rdi
call   1030 <printf@plt>
jmp    13b0 <dump_key+0x2a0>
lea    0xf42(%rip),%rdi
call   1030 <printf@plt>
jmp    13b0 <dump_key+0x2a0>
lea    0xf3d(%rip),%rdi
call   1030 <printf@plt>
jmp    13b0 <dump_key+0x2a0>
lea    0xf3a(%rip),%rdi
call   1030 <printf@plt>
jmp    13b0 <dump_key+0x2a0>
lea    0xf33(%rip),%rdi
call   1030 <printf@plt>
jmp    13b0 <dump_key+0x2a0>
lea    0xf30(%rip),%rdi
call   1030 <printf@plt>
jmp    13b0 <dump_key+0x2a0>
lea    0xf2d(%rip),%rdi
call   1030 <printf@plt>
jmp    13b0 <dump_key+0x2a0>
lea    0xf2a(%rip),%rdi
call   1030 <printf@plt>
jmp    13b0 <dump_key+0x2a0>
lea    0xf27(%rip),%rdi
call   1030 <printf@plt>
jmp    13b0 <dump_key+0x2a0>
lea    0xf24(%rip),%rdi
call   1030 <printf@plt>
jmp    13b0 <dump_key+0x2a0>
lea    0xf21(%rip),%rdi
call   1030 <printf@plt>
jmp    13b0 <dump_key+0x2a0>
lea    0xf1e(%rip),%rdi
call   1030 <printf@plt>
jmp    13b0 <dump_key+0x2a0>
lea    0xf1b(%rip),%rdi
call   1030 <printf@plt>
jmp    13b0 <dump_key+0x2a0>
lea    0xf18(%rip),%rdi
call   1030 <printf@plt>
jmp    13b0 <dump_key+0x2a0>
lea    0xf15(%rip),%rdi
call   1030 <printf@plt>
jmp    13b0 <dump_key+0x2a0>
lea    0xf11(%rip),%rdi
call   1030 <printf@plt>
jmp    13b0 <dump_key+0x2a0>
lea    0xf0f(%rip),%rdi
call   1030 <printf@plt>
jmp    13b0 <dump_key+0x2a0>
lea    0xf0c(%rip),%rdi
call   1030 <printf@plt>
jmp    13b0 <dump_key+0x2a0>
lea    0xf08(%rip),%rdi
call   1030 <printf@plt>
jmp    13b0 <dump_key+0x2a0>
lea    0xeff(%rip),%rdi
call   1030 <printf@plt>
jmp    13b0 <dump_key+0x2a0>
lea    0xef8(%rip),%rdi
call   1030 <printf@plt>
jmp    13b0 <dump_key+0x2a0>
lea    0xef7(%rip),%rdi
call   1030 <printf@plt>
jmp    13b0 <dump_key+0x2a0>
lea    0xef6(%rip),%rdi
call   1030 <printf@plt>
jmp    13b0 <dump_key+0x2a0>
lea    0xeef(%rip),%rdi
call   1030 <printf@plt>
jmp    13b0 <dump_key+0x2a0>
lea    0xeee(%rip),%rdi
call   1030 <printf@plt>
jmp    13b0 <dump_key+0x2a0>
lea    0xee8(%rip),%rdi
call   1030 <printf@plt>
jmp    13b0 <dump_key+0x2a0>
lea    0xee2(%rip),%rdi
call   1030 <printf@plt>
jmp    13b0 <dump_key+0x2a0>
lea    0xedf(%rip),%rdi
call   1030 <printf@plt>
jmp    13b0 <dump_key+0x2a0>
lea    0xed8(%rip),%rdi
call   1030 <printf@plt>
jmp    13b0 <dump_key+0x2a0>
lea    0xed4(%rip),%rdi
call   1030 <printf@plt>
jmp    13b0 <dump_key+0x2a0>
lea    0xed3(%rip),%rdi
call   1030 <printf@plt>
jmp    13b0 <dump_key+0x2a0>
lea    0xecc(%rip),%rdi
call   1030 <printf@plt>
jmp    13b0 <dump_key+0x2a0>
lea    0xec6(%rip),%rdi
call   1030 <printf@plt>
jmp    13b0 <dump_key+0x2a0>
lea    0xec2(%rip),%rdi
call   1030 <printf@plt>
jmp    13b0 <dump_key+0x2a0>
lea    0xec1(%rip),%rdi
call   1030 <printf@plt>
jmp    13b0 <dump_key+0x2a0>
lea    0xec0(%rip),%rdi
call   1030 <printf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<dump_key>:
cmp    $0x24,%edi
ja     112b <dump_key+0x1b>
movslq %edi,%rax
lea    0x10a5(%rip),%rcx
movslq (%rcx,%rax,4),%rdi
add    %rcx,%rdi
jmp    1030 <puts@plt>
ret

LLVM IR (-O0):
@.str = [12 x i8] c"KEY_ON_OFF\0A\00"
@.str.1 = [11 x i8] c"KEY_TV_PC\0A\00"
@.str.2 = [12 x i8] c"KEY_VOL_UP\0A\00"
@.str.3 = [14 x i8] c"KEY_VOL_DOWN\0A\00"
@.str.4 = [10 x i8] c"KEY_MUTE\0A\00"
@.str.5 = [14 x i8] c"KEY_NUMBER_0\0A\00"
@.str.6 = [14 x i8] c"KEY_NUMBER_1\0A\00"
@.str.7 = [14 x i8] c"KEY_NUMBER_2\0A\00"
@.str.8 = [14 x i8] c"KEY_NUMBER_3\0A\00"
@.str.9 = [14 x i8] c"KEY_NUMBER_4\0A\00"
@.str.10 = [14 x i8] c"KEY_NUMBER_5\0A\00"
@.str.11 = [14 x i8] c"KEY_NUMBER_6\0A\00"
@.str.12 = [14 x i8] c"KEY_NUMBER_7\0A\00"
@.str.13 = [14 x i8] c"KEY_NUMBER_8\0A\00"
@.str.14 = [14 x i8] c"KEY_NUMBER_9\0A\00"
@.str.15 = [13 x i8] c"KEY_PROG_UP\0A\00"
@.str.16 = [15 x i8] c"KEY_PROG_DOWN\0A\00"
@.str.17 = [14 x i8] c"KEY_BACKWARD\0A\00"
@.str.18 = [13 x i8] c"KEY_FORWARD\0A\00"
@.str.19 = [8 x i8] c"KEY_OK\0A\00"
@.str.20 = [10 x i8] c"KEY_MENU\0A\00"
@.str.21 = [16 x i8] c"KEY_RESERVED_1\0A\00"
@.str.22 = [16 x i8] c"KEY_RESERVED_2\0A\00"
@.str.23 = [10 x i8] c"KEY_BACK\0A\00"
@.str.24 = [16 x i8] c"KEY_PAUSE_PLAY\0A\00"
@.str.25 = [11 x i8] c"KEY_VIDEO\0A\00"
@.str.26 = [11 x i8] c"KEY_MUSIC\0A\00"
@.str.27 = [14 x i8] c"KEY_INTERNET\0A\00"
@.str.28 = [10 x i8] c"KEY_NEWS\0A\00"
@.str.29 = [13 x i8] c"KEY_WEATHER\0A\00"
@.str.30 = [16 x i8] c"KEY_HOTEL_INFO\0A\00"
@.str.31 = [10 x i8] c"KEY_HELP\0A\00"
@.str.32 = [11 x i8] c"KEY_CLOCK\0A\00"
@.str.33 = [13 x i8] c"KEY_WAKE_UP\0A\00"
@.str.34 = [16 x i8] c"KEY_RESERVED_3\0A\00"
@.str.35 = [16 x i8] c"KEY_RESERVED_4\0A\00"
@.str.36 = [16 x i8] c"KEY_RESERVED_5\0A\00"
define void @dump_key(i32 %0) {
%2 = alloca i32
store i32 %0, i32* %2
%3 = load i32, i32* %2
switch i32 %3, label %78 [
i32 0, label %4
i32 1, label %6
i32 2, label %8
i32 3, label %10
i32 4, label %12
i32 7, label %14
i32 8, label %16
i32 9, label %18
i32 10, label %20
i32 11, label %22
i32 12, label %24
i32 13, label %26
i32 14, label %28
i32 15, label %30
i32 6, label %32
i32 16, label %34
i32 17, label %36
i32 18, label %38
i32 19, label %40
i32 20, label %42
i32 5, label %44
i32 21, label %46
i32 22, label %48
i32 23, label %50
i32 24, label %52
i32 25, label %54
i32 26, label %56
i32 27, label %58
i32 28, label %60
i32 29, label %62
i32 30, label %64
i32 31, label %66
i32 32, label %68
i32 33, label %70
i32 34, label %72
i32 35, label %74
i32 36, label %76
]
4: ; preds = %1
%5 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0))
br label %78
6: ; preds = %1
%7 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0))
br label %78
8: ; preds = %1
%9 = call i32 @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0))
br label %78
10: ; preds = %1
%11 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0))
br label %78
12: ; preds = %1
%13 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0))
br label %78
14: ; preds = %1
%15 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.5, i64 0, i64 0))
br label %78
16: ; preds = %1
%17 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0))
br label %78
18: ; preds = %1
%19 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.7, i64 0, i64 0))
br label %78
20: ; preds = %1
%21 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.8, i64 0, i64 0))
br label %78
22: ; preds = %1
%23 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.9, i64 0, i64 0))
br label %78
24: ; preds = %1
%25 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.10, i64 0, i64 0))
br label %78
26: ; preds = %1
%27 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.11, i64 0, i64 0))
br label %78
28: ; preds = %1
%29 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.12, i64 0, i64 0))
br label %78
30: ; preds = %1
%31 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.13, i64 0, i64 0))
br label %78
32: ; preds = %1
%33 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.14, i64 0, i64 0))
br label %78
34: ; preds = %1
%35 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.15, i64 0, i64 0))
br label %78
36: ; preds = %1
%37 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.16, i64 0, i64 0))
br label %78
38: ; preds = %1
%39 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.17, i64 0, i64 0))
br label %78
40: ; preds = %1
%41 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.18, i64 0, i64 0))
br label %78
42: ; preds = %1
%43 = call i32 @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.19, i64 0, i64 0))
br label %78
44: ; preds = %1
%45 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.20, i64 0, i64 0))
br label %78
46: ; preds = %1
%47 = call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.21, i64 0, i64 0))
br label %78
48: ; preds = %1
%49 = call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.22, i64 0, i64 0))
br label %78
50: ; preds = %1
%51 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.23, i64 0, i64 0))
br label %78
52: ; preds = %1
%53 = call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.24, i64 0, i64 0))
br label %78
54: ; preds = %1
%55 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.25, i64 0, i64 0))
br label %78
56: ; preds = %1
%57 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.26, i64 0, i64 0))
br label %78
58: ; preds = %1
%59 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.27, i64 0, i64 0))
br label %78
60: ; preds = %1
%61 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.28, i64 0, i64 0))
br label %78
62: ; preds = %1
%63 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.29, i64 0, i64 0))
br label %78
64: ; preds = %1
%65 = call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.30, i64 0, i64 0))
br label %78
66: ; preds = %1
%67 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.31, i64 0, i64 0))
br label %78
68: ; preds = %1
%69 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.32, i64 0, i64 0))
br label %78
70: ; preds = %1
%71 = call i32 @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.33, i64 0, i64 0))
br label %78
72: ; preds = %1
%73 = call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.34, i64 0, i64 0))
br label %78
74: ; preds = %1
%75 = call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.35, i64 0, i64 0))
br label %78
76: ; preds = %1
%77 = call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.36, i64 0, i64 0))
br label %78
78: ; preds = %1, %76, %74, %72, %70, %68, %66, %64, %62, %60, %58, %56, %54, %52, %50, %48, %46, %44, %42, %40, %38, %36, %34, %32, %30, %28, %26, %24, %22, %20, %18, %16, %14, %12, %10, %8, %6, %4
ret void
}

LLVM IR (-O2):
@str = [15 x i8] c"KEY_RESERVED_5\00"
@str.37 = [15 x i8] c"KEY_RESERVED_4\00"
@str.38 = [15 x i8] c"KEY_RESERVED_3\00"
@str.39 = [12 x i8] c"KEY_WAKE_UP\00"
@str.40 = [10 x i8] c"KEY_CLOCK\00"
@str.41 = [9 x i8] c"KEY_HELP\00"
@str.42 = [15 x i8] c"KEY_HOTEL_INFO\00"
@str.43 = [12 x i8] c"KEY_WEATHER\00"
@str.44 = [9 x i8] c"KEY_NEWS\00"
@str.45 = [13 x i8] c"KEY_INTERNET\00"
@str.46 = [10 x i8] c"KEY_MUSIC\00"
@str.47 = [10 x i8] c"KEY_VIDEO\00"
@str.48 = [15 x i8] c"KEY_PAUSE_PLAY\00"
@str.49 = [9 x i8] c"KEY_BACK\00"
@str.50 = [15 x i8] c"KEY_RESERVED_2\00"
@str.51 = [15 x i8] c"KEY_RESERVED_1\00"
@str.52 = [9 x i8] c"KEY_MENU\00"
@str.53 = [7 x i8] c"KEY_OK\00"
@str.54 = [12 x i8] c"KEY_FORWARD\00"
@str.55 = [13 x i8] c"KEY_BACKWARD\00"
@str.56 = [14 x i8] c"KEY_PROG_DOWN\00"
@str.57 = [12 x i8] c"KEY_PROG_UP\00"
@str.58 = [13 x i8] c"KEY_NUMBER_9\00"
@str.59 = [13 x i8] c"KEY_NUMBER_8\00"
@str.60 = [13 x i8] c"KEY_NUMBER_7\00"
@str.61 = [13 x i8] c"KEY_NUMBER_6\00"
@str.62 = [13 x i8] c"KEY_NUMBER_5\00"
@str.63 = [13 x i8] c"KEY_NUMBER_4\00"
@str.64 = [13 x i8] c"KEY_NUMBER_3\00"
@str.65 = [13 x i8] c"KEY_NUMBER_2\00"
@str.66 = [13 x i8] c"KEY_NUMBER_1\00"
@str.67 = [13 x i8] c"KEY_NUMBER_0\00"
@str.68 = [9 x i8] c"KEY_MUTE\00"
@str.69 = [13 x i8] c"KEY_VOL_DOWN\00"
@str.70 = [11 x i8] c"KEY_VOL_UP\00"
@str.71 = [10 x i8] c"KEY_TV_PC\00"
@str.72 = [11 x i8] c"KEY_ON_OFF\00"
@reltable.dump_key = [37 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([11 x i8]* @str.72 to i64), i64 ptrtoint ([37 x i32]* @reltable.dump_key to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @str.71 to i64), i64 ptrtoint ([37 x i32]* @reltable.dump_key to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([11 x i8]* @str.70 to i64), i64 ptrtoint ([37 x i32]* @reltable.dump_key to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([13 x i8]* @str.69 to i64), i64 ptrtoint ([37 x i32]* @reltable.dump_key to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @str.68 to i64), i64 ptrtoint ([37 x i32]* @reltable.dump_key to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @str.52 to i64), i64 ptrtoint ([37 x i32]* @reltable.dump_key to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([13 x i8]* @str.58 to i64), i64 ptrtoint ([37 x i32]* @reltable.dump_key to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([13 x i8]* @str.67 to i64), i64 ptrtoint ([37 x i32]* @reltable.dump_key to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([13 x i8]* @str.66 to i64), i64 ptrtoint ([37 x i32]* @reltable.dump_key to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([13 x i8]* @str.65 to i64), i64 ptrtoint ([37 x i32]* @reltable.dump_key to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([13 x i8]* @str.64 to i64), i64 ptrtoint ([37 x i32]* @reltable.dump_key to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([13 x i8]* @str.63 to i64), i64 ptrtoint ([37 x i32]* @reltable.dump_key to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([13 x i8]* @str.62 to i64), i64 ptrtoint ([37 x i32]* @reltable.dump_key to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([13 x i8]* @str.61 to i64), i64 ptrtoint ([37 x i32]* @reltable.dump_key to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([13 x i8]* @str.60 to i64), i64 ptrtoint ([37 x i32]* @reltable.dump_key to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([13 x i8]* @str.59 to i64), i64 ptrtoint ([37 x i32]* @reltable.dump_key to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([12 x i8]* @str.57 to i64), i64 ptrtoint ([37 x i32]* @reltable.dump_key to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([14 x i8]* @str.56 to i64), i64 ptrtoint ([37 x i32]* @reltable.dump_key to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([13 x i8]* @str.55 to i64), i64 ptrtoint ([37 x i32]* @reltable.dump_key to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([12 x i8]* @str.54 to i64), i64 ptrtoint ([37 x i32]* @reltable.dump_key to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([7 x i8]* @str.53 to i64), i64 ptrtoint ([37 x i32]* @reltable.dump_key to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([15 x i8]* @str.51 to i64), i64 ptrtoint ([37 x i32]* @reltable.dump_key to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([15 x i8]* @str.50 to i64), i64 ptrtoint ([37 x i32]* @reltable.dump_key to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @str.49 to i64), i64 ptrtoint ([37 x i32]* @reltable.dump_key to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([15 x i8]* @str.48 to i64), i64 ptrtoint ([37 x i32]* @reltable.dump_key to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @str.47 to i64), i64 ptrtoint ([37 x i32]* @reltable.dump_key to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @str.46 to i64), i64 ptrtoint ([37 x i32]* @reltable.dump_key to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([13 x i8]* @str.45 to i64), i64 ptrtoint ([37 x i32]* @reltable.dump_key to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @str.44 to i64), i64 ptrtoint ([37 x i32]* @reltable.dump_key to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([12 x i8]* @str.43 to i64), i64 ptrtoint ([37 x i32]* @reltable.dump_key to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([15 x i8]* @str.42 to i64), i64 ptrtoint ([37 x i32]* @reltable.dump_key to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @str.41 to i64), i64 ptrtoint ([37 x i32]* @reltable.dump_key to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @str.40 to i64), i64 ptrtoint ([37 x i32]* @reltable.dump_key to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([12 x i8]* @str.39 to i64), i64 ptrtoint ([37 x i32]* @reltable.dump_key to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([15 x i8]* @str.38 to i64), i64 ptrtoint ([37 x i32]* @reltable.dump_key to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([15 x i8]* @str.37 to i64), i64 ptrtoint ([37 x i32]* @reltable.dump_key to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([15 x i8]* @str to i64), i64 ptrtoint ([37 x i32]* @reltable.dump_key to i64)) to i32)]
define void @dump_key(i32 %0) {
%2 = icmp ult i32 %0, 37
br i1 %2, label %3, label %8
3: ; preds = %1
%4 = sext i32 %0 to i64
%5 = shl i64 %4, 2
%6 = call i8* @llvm.load.relative.i64(i8* bitcast ([37 x i32]* @reltable.dump_key to i8*), i64 %5)
%7 = tail call i32 @puts(i8* dereferenceable(1) %6)
br label %8
8: ; preds = %1, %3
ret void
}