#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*/ strcpy(char *, char *);
void resolve_name(int event_no, char *event_name) {
  switch (event_no) {
  case 0:
    strcpy(event_name, "TX");
    break;
  case 1:
    strcpy(event_name, "RX");
    break;
  case 2:
    strcpy(event_name, "RX_BEGIN");
    break;
  case 3:
    strcpy(event_name, "RX_END");
    break;
  case 4:
    strcpy(event_name, "CONTENTION_RX_BEGIN");
    break;
  case 5:
    strcpy(event_name, "CONTENTION_RX_END");
    break;
  case 6:
    strcpy(event_name, "DATA_RX_BEGIN");
    break;
  case 7:
    strcpy(event_name, "DATA_RX_END");
    break;
  case 8:
    strcpy(event_name, "HANDLE_CONTENTION_SLOT");
    break;
  case 9:
    strcpy(event_name, "STOP_TRANSMISSION");
    break;
  case 10:
    strcpy(event_name, "MAKE_ALIVE");
    break;
  case 11:
    strcpy(event_name, "MAKE_DEAD");
    break;
  case 12:
    strcpy(event_name, "DATA_SLOT_TRANSMIT");
    break;
  case 13:
    strcpy(event_name, "CONTENTION_SLOT_BEGINS");
    break;
  case 14:
    strcpy(event_name, "CONTENTION_SLOT_BACKOFF");
    break;
  case 15:
    strcpy(event_name, "JOIN_REQUEST_TIMEOUT");
    break;
  case 16:
    strcpy(event_name, "FLOW_REQUEST_TIMEOUT");
    break;
  case 17:
    strcpy(event_name, "KEEP_JOINED_TIMEOUT");
    break;
  case 18:
    strcpy(event_name, "SCHEDULE_DISSEMINATE");
    break;
  case 19:
    strcpy(event_name, "SCHEDULE_RECEPTION_TIMEOUT");
    break;
  case 20:
    strcpy(event_name, "NEXT_FLOW_REQUEST");
    break;
  case 21:
    strcpy(event_name, "CAN_START_FLOW");
    break;
  case 22:
    strcpy(event_name, "START_NEW_SCHEDULE");
    break;
  case 23:
    strcpy(event_name, "BW_REQUEST_TIMEOUT");
    break;
  case 24:
    strcpy(event_name, "LINK_ACK_TIMEOUT");
    break;
  case 25:
    strcpy(event_name, "CALL_REQUEST");
    break;
  case 26:
    strcpy(event_name, "VOICE_MSG_CHECK");
    break;
  case 27:
    strcpy(event_name, "STORE_CAP");
    break;
  case 28:
    strcpy(event_name, "TOPOLOGY_UPDATE_CHECK");
    break;
  case 29:
    strcpy(event_name, "NODE_DISABLE");
    break;
  case 30:
    strcpy(event_name, "VOICE_MSG_RELAY");
    break;
  case 31:
    strcpy(event_name, "FRAGMENT_RECEPTION_TIMEOUT");
    break;
  case 32:
    strcpy(event_name, "MOBILITY");
    break;
  case 33:
    strcpy(event_name, "START_MOBILE");
    break;
  case 34:
    strcpy(event_name, "STOP_MOBILE");
    break;
  }
}


x86 assembly (clang, -O0):
<resolve_name>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x4(%rbp),%eax
mov    %rax,-0x18(%rbp)
sub    $0x22,%rax
ja     141e <resolve_name+0x30e>
mov    -0x18(%rbp),%rax
lea    0xec5(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    -0x10(%rbp),%rdi
lea    0xf3d(%rip),%rsi
call   1030 <strcpy@plt>
jmp    141e <resolve_name+0x30e>
mov    -0x10(%rbp),%rdi
lea    0xf2b(%rip),%rsi
call   1030 <strcpy@plt>
jmp    141e <resolve_name+0x30e>
mov    -0x10(%rbp),%rdi
lea    0xf44(%rip),%rsi
call   1030 <strcpy@plt>
jmp    141e <resolve_name+0x30e>
mov    -0x10(%rbp),%rdi
lea    0xf3d(%rip),%rsi
call   1030 <strcpy@plt>
jmp    141e <resolve_name+0x30e>
mov    -0x10(%rbp),%rdi
lea    0xeef(%rip),%rsi
call   1030 <strcpy@plt>
jmp    141e <resolve_name+0x30e>
mov    -0x10(%rbp),%rdi
lea    0xeee(%rip),%rsi
call   1030 <strcpy@plt>
jmp    141e <resolve_name+0x30e>
mov    -0x10(%rbp),%rdi
lea    0xeeb(%rip),%rsi
call   1030 <strcpy@plt>
jmp    141e <resolve_name+0x30e>
mov    -0x10(%rbp),%rdi
lea    0xee4(%rip),%rsi
call   1030 <strcpy@plt>
jmp    141e <resolve_name+0x30e>
mov    -0x10(%rbp),%rdi
lea    0xedb(%rip),%rsi
call   1030 <strcpy@plt>
jmp    141e <resolve_name+0x30e>
mov    -0x10(%rbp),%rdi
lea    0xedd(%rip),%rsi
call   1030 <strcpy@plt>
jmp    141e <resolve_name+0x30e>
mov    -0x10(%rbp),%rdi
lea    0xeda(%rip),%rsi
call   1030 <strcpy@plt>
jmp    141e <resolve_name+0x30e>
mov    -0x10(%rbp),%rdi
lea    0xed0(%rip),%rsi
call   1030 <strcpy@plt>
jmp    141e <resolve_name+0x30e>
mov    -0x10(%rbp),%rdi
lea    0xec5(%rip),%rsi
call   1030 <strcpy@plt>
jmp    141e <resolve_name+0x30e>
mov    -0x10(%rbp),%rdi
lea    0xec3(%rip),%rsi
call   1030 <strcpy@plt>
jmp    141e <resolve_name+0x30e>
mov    -0x10(%rbp),%rdi
lea    0xec5(%rip),%rsi
call   1030 <strcpy@plt>
jmp    141e <resolve_name+0x30e>
mov    -0x10(%rbp),%rdi
lea    0xec8(%rip),%rsi
call   1030 <strcpy@plt>
jmp    141e <resolve_name+0x30e>
mov    -0x10(%rbp),%rdi
lea    0xec8(%rip),%rsi
call   1030 <strcpy@plt>
jmp    141e <resolve_name+0x30e>
mov    -0x10(%rbp),%rdi
lea    0xec8(%rip),%rsi
call   1030 <strcpy@plt>
jmp    141e <resolve_name+0x30e>
mov    -0x10(%rbp),%rdi
lea    0xec7(%rip),%rsi
call   1030 <strcpy@plt>
jmp    141e <resolve_name+0x30e>
mov    -0x10(%rbp),%rdi
lea    0xec7(%rip),%rsi
call   1030 <strcpy@plt>
jmp    141e <resolve_name+0x30e>
mov    -0x10(%rbp),%rdi
lea    0xecd(%rip),%rsi
call   1030 <strcpy@plt>
jmp    141e <resolve_name+0x30e>
mov    -0x10(%rbp),%rdi
lea    0xeca(%rip),%rsi
call   1030 <strcpy@plt>
jmp    141e <resolve_name+0x30e>
mov    -0x10(%rbp),%rdi
lea    0xec4(%rip),%rsi
call   1030 <strcpy@plt>
jmp    141e <resolve_name+0x30e>
mov    -0x10(%rbp),%rdi
lea    0xec2(%rip),%rsi
call   1030 <strcpy@plt>
jmp    141e <resolve_name+0x30e>
mov    -0x10(%rbp),%rdi
lea    0xec0(%rip),%rsi
call   1030 <strcpy@plt>
jmp    141e <resolve_name+0x30e>
mov    -0x10(%rbp),%rdi
lea    0xebc(%rip),%rsi
call   1030 <strcpy@plt>
jmp    141e <resolve_name+0x30e>
mov    -0x10(%rbp),%rdi
lea    0xeb4(%rip),%rsi
call   1030 <strcpy@plt>
jmp    141e <resolve_name+0x30e>
mov    -0x10(%rbp),%rdi
lea    0xeaf(%rip),%rsi
call   1030 <strcpy@plt>
jmp    141e <resolve_name+0x30e>
mov    -0x10(%rbp),%rdi
lea    0xea4(%rip),%rsi
call   1030 <strcpy@plt>
jmp    141e <resolve_name+0x30e>
mov    -0x10(%rbp),%rdi
lea    0xea5(%rip),%rsi
call   1030 <strcpy@plt>
jmp    141e <resolve_name+0x30e>
mov    -0x10(%rbp),%rdi
lea    0xe9d(%rip),%rsi
call   1030 <strcpy@plt>
jmp    141e <resolve_name+0x30e>
mov    -0x10(%rbp),%rdi
lea    0xe98(%rip),%rsi
call   1030 <strcpy@plt>
jmp    141e <resolve_name+0x30e>
mov    -0x10(%rbp),%rdi
lea    0xe9e(%rip),%rsi
call   1030 <strcpy@plt>
jmp    141e <resolve_name+0x30e>
mov    -0x10(%rbp),%rdi
lea    0xe92(%rip),%rsi
call   1030 <strcpy@plt>
jmp    141e <resolve_name+0x30e>
mov    -0x10(%rbp),%rdi
lea    0xe8a(%rip),%rsi
call   1030 <strcpy@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<resolve_name>:
cmp    $0x22,%edi
ja     1131 <resolve_name+0x21>
movslq %edi,%rax
lea    0x1105(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
mov    %rsi,%rdi
mov    %rax,%rsi
jmp    1030 <strcpy@plt>
ret

LLVM IR (-O0):
@.str = [3 x i8] c"TX\00"
@.str.1 = [3 x i8] c"RX\00"
@.str.2 = [9 x i8] c"RX_BEGIN\00"
@.str.3 = [7 x i8] c"RX_END\00"
@.str.4 = [20 x i8] c"CONTENTION_RX_BEGIN\00"
@.str.5 = [18 x i8] c"CONTENTION_RX_END\00"
@.str.6 = [14 x i8] c"DATA_RX_BEGIN\00"
@.str.7 = [12 x i8] c"DATA_RX_END\00"
@.str.8 = [23 x i8] c"HANDLE_CONTENTION_SLOT\00"
@.str.9 = [18 x i8] c"STOP_TRANSMISSION\00"
@.str.10 = [11 x i8] c"MAKE_ALIVE\00"
@.str.11 = [10 x i8] c"MAKE_DEAD\00"
@.str.12 = [19 x i8] c"DATA_SLOT_TRANSMIT\00"
@.str.13 = [23 x i8] c"CONTENTION_SLOT_BEGINS\00"
@.str.14 = [24 x i8] c"CONTENTION_SLOT_BACKOFF\00"
@.str.15 = [21 x i8] c"JOIN_REQUEST_TIMEOUT\00"
@.str.16 = [21 x i8] c"FLOW_REQUEST_TIMEOUT\00"
@.str.17 = [20 x i8] c"KEEP_JOINED_TIMEOUT\00"
@.str.18 = [21 x i8] c"SCHEDULE_DISSEMINATE\00"
@.str.19 = [27 x i8] c"SCHEDULE_RECEPTION_TIMEOUT\00"
@.str.20 = [18 x i8] c"NEXT_FLOW_REQUEST\00"
@.str.21 = [15 x i8] c"CAN_START_FLOW\00"
@.str.22 = [19 x i8] c"START_NEW_SCHEDULE\00"
@.str.23 = [19 x i8] c"BW_REQUEST_TIMEOUT\00"
@.str.24 = [17 x i8] c"LINK_ACK_TIMEOUT\00"
@.str.25 = [13 x i8] c"CALL_REQUEST\00"
@.str.26 = [16 x i8] c"VOICE_MSG_CHECK\00"
@.str.27 = [10 x i8] c"STORE_CAP\00"
@.str.28 = [22 x i8] c"TOPOLOGY_UPDATE_CHECK\00"
@.str.29 = [13 x i8] c"NODE_DISABLE\00"
@.str.30 = [16 x i8] c"VOICE_MSG_RELAY\00"
@.str.31 = [27 x i8] c"FRAGMENT_RECEPTION_TIMEOUT\00"
@.str.32 = [9 x i8] c"MOBILITY\00"
@.str.33 = [13 x i8] c"START_MOBILE\00"
@.str.34 = [12 x i8] c"STOP_MOBILE\00"
define void @resolve_name(i32 %0, i8* %1) {
%3 = alloca i32
%4 = alloca i8*
store i32 %0, i32* %3
store i8* %1, i8** %4
%5 = load i32, i32* %3
switch i32 %5, label %111 [
i32 0, label %6
i32 1, label %9
i32 2, label %12
i32 3, label %15
i32 4, label %18
i32 5, label %21
i32 6, label %24
i32 7, label %27
i32 8, label %30
i32 9, label %33
i32 10, label %36
i32 11, label %39
i32 12, label %42
i32 13, label %45
i32 14, label %48
i32 15, label %51
i32 16, label %54
i32 17, label %57
i32 18, label %60
i32 19, label %63
i32 20, label %66
i32 21, label %69
i32 22, label %72
i32 23, label %75
i32 24, label %78
i32 25, label %81
i32 26, label %84
i32 27, label %87
i32 28, label %90
i32 29, label %93
i32 30, label %96
i32 31, label %99
i32 32, label %102
i32 33, label %105
i32 34, label %108
]
6: ; preds = %2
%7 = load i8*, i8** %4
%8 = call i32 @strcpy(i8* %7, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
br label %111
9: ; preds = %2
%10 = load i8*, i8** %4
%11 = call i32 @strcpy(i8* %10, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
br label %111
12: ; preds = %2
%13 = load i8*, i8** %4
%14 = call i32 @strcpy(i8* %13, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0))
br label %111
15: ; preds = %2
%16 = load i8*, i8** %4
%17 = call i32 @strcpy(i8* %16, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0))
br label %111
18: ; preds = %2
%19 = load i8*, i8** %4
%20 = call i32 @strcpy(i8* %19, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.4, i64 0, i64 0))
br label %111
21: ; preds = %2
%22 = load i8*, i8** %4
%23 = call i32 @strcpy(i8* %22, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.5, i64 0, i64 0))
br label %111
24: ; preds = %2
%25 = load i8*, i8** %4
%26 = call i32 @strcpy(i8* %25, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0))
br label %111
27: ; preds = %2
%28 = load i8*, i8** %4
%29 = call i32 @strcpy(i8* %28, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.7, i64 0, i64 0))
br label %111
30: ; preds = %2
%31 = load i8*, i8** %4
%32 = call i32 @strcpy(i8* %31, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.8, i64 0, i64 0))
br label %111
33: ; preds = %2
%34 = load i8*, i8** %4
%35 = call i32 @strcpy(i8* %34, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.9, i64 0, i64 0))
br label %111
36: ; preds = %2
%37 = load i8*, i8** %4
%38 = call i32 @strcpy(i8* %37, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.10, i64 0, i64 0))
br label %111
39: ; preds = %2
%40 = load i8*, i8** %4
%41 = call i32 @strcpy(i8* %40, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0))
br label %111
42: ; preds = %2
%43 = load i8*, i8** %4
%44 = call i32 @strcpy(i8* %43, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.12, i64 0, i64 0))
br label %111
45: ; preds = %2
%46 = load i8*, i8** %4
%47 = call i32 @strcpy(i8* %46, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.13, i64 0, i64 0))
br label %111
48: ; preds = %2
%49 = load i8*, i8** %4
%50 = call i32 @strcpy(i8* %49, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.14, i64 0, i64 0))
br label %111
51: ; preds = %2
%52 = load i8*, i8** %4
%53 = call i32 @strcpy(i8* %52, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.15, i64 0, i64 0))
br label %111
54: ; preds = %2
%55 = load i8*, i8** %4
%56 = call i32 @strcpy(i8* %55, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.16, i64 0, i64 0))
br label %111
57: ; preds = %2
%58 = load i8*, i8** %4
%59 = call i32 @strcpy(i8* %58, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.17, i64 0, i64 0))
br label %111
60: ; preds = %2
%61 = load i8*, i8** %4
%62 = call i32 @strcpy(i8* %61, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.18, i64 0, i64 0))
br label %111
63: ; preds = %2
%64 = load i8*, i8** %4
%65 = call i32 @strcpy(i8* %64, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.19, i64 0, i64 0))
br label %111
66: ; preds = %2
%67 = load i8*, i8** %4
%68 = call i32 @strcpy(i8* %67, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.20, i64 0, i64 0))
br label %111
69: ; preds = %2
%70 = load i8*, i8** %4
%71 = call i32 @strcpy(i8* %70, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.21, i64 0, i64 0))
br label %111
72: ; preds = %2
%73 = load i8*, i8** %4
%74 = call i32 @strcpy(i8* %73, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.22, i64 0, i64 0))
br label %111
75: ; preds = %2
%76 = load i8*, i8** %4
%77 = call i32 @strcpy(i8* %76, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.23, i64 0, i64 0))
br label %111
78: ; preds = %2
%79 = load i8*, i8** %4
%80 = call i32 @strcpy(i8* %79, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.24, i64 0, i64 0))
br label %111
81: ; preds = %2
%82 = load i8*, i8** %4
%83 = call i32 @strcpy(i8* %82, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.25, i64 0, i64 0))
br label %111
84: ; preds = %2
%85 = load i8*, i8** %4
%86 = call i32 @strcpy(i8* %85, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.26, i64 0, i64 0))
br label %111
87: ; preds = %2
%88 = load i8*, i8** %4
%89 = call i32 @strcpy(i8* %88, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.27, i64 0, i64 0))
br label %111
90: ; preds = %2
%91 = load i8*, i8** %4
%92 = call i32 @strcpy(i8* %91, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.28, i64 0, i64 0))
br label %111
93: ; preds = %2
%94 = load i8*, i8** %4
%95 = call i32 @strcpy(i8* %94, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.29, i64 0, i64 0))
br label %111
96: ; preds = %2
%97 = load i8*, i8** %4
%98 = call i32 @strcpy(i8* %97, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.30, i64 0, i64 0))
br label %111
99: ; preds = %2
%100 = load i8*, i8** %4
%101 = call i32 @strcpy(i8* %100, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.31, i64 0, i64 0))
br label %111
102: ; preds = %2
%103 = load i8*, i8** %4
%104 = call i32 @strcpy(i8* %103, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.32, i64 0, i64 0))
br label %111
105: ; preds = %2
%106 = load i8*, i8** %4
%107 = call i32 @strcpy(i8* %106, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.33, i64 0, i64 0))
br label %111
108: ; preds = %2
%109 = load i8*, i8** %4
%110 = call i32 @strcpy(i8* %109, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.34, i64 0, i64 0))
br label %111
111: ; preds = %2, %108, %105, %102, %99, %96, %93, %90, %87, %84, %81, %78, %75, %72, %69, %66, %63, %60, %57, %54, %51, %48, %45, %42, %39, %36, %33, %30, %27, %24, %21, %18, %15, %12, %9, %6
ret void
}

LLVM IR (-O2):
@.str = [3 x i8] c"TX\00"
@.str.1 = [3 x i8] c"RX\00"
@.str.2 = [9 x i8] c"RX_BEGIN\00"
@.str.3 = [7 x i8] c"RX_END\00"
@.str.4 = [20 x i8] c"CONTENTION_RX_BEGIN\00"
@.str.5 = [18 x i8] c"CONTENTION_RX_END\00"
@.str.6 = [14 x i8] c"DATA_RX_BEGIN\00"
@.str.7 = [12 x i8] c"DATA_RX_END\00"
@.str.8 = [23 x i8] c"HANDLE_CONTENTION_SLOT\00"
@.str.9 = [18 x i8] c"STOP_TRANSMISSION\00"
@.str.10 = [11 x i8] c"MAKE_ALIVE\00"
@.str.11 = [10 x i8] c"MAKE_DEAD\00"
@.str.12 = [19 x i8] c"DATA_SLOT_TRANSMIT\00"
@.str.13 = [23 x i8] c"CONTENTION_SLOT_BEGINS\00"
@.str.14 = [24 x i8] c"CONTENTION_SLOT_BACKOFF\00"
@.str.15 = [21 x i8] c"JOIN_REQUEST_TIMEOUT\00"
@.str.16 = [21 x i8] c"FLOW_REQUEST_TIMEOUT\00"
@.str.17 = [20 x i8] c"KEEP_JOINED_TIMEOUT\00"
@.str.18 = [21 x i8] c"SCHEDULE_DISSEMINATE\00"
@.str.19 = [27 x i8] c"SCHEDULE_RECEPTION_TIMEOUT\00"
@.str.20 = [18 x i8] c"NEXT_FLOW_REQUEST\00"
@.str.21 = [15 x i8] c"CAN_START_FLOW\00"
@.str.22 = [19 x i8] c"START_NEW_SCHEDULE\00"
@.str.23 = [19 x i8] c"BW_REQUEST_TIMEOUT\00"
@.str.24 = [17 x i8] c"LINK_ACK_TIMEOUT\00"
@.str.25 = [13 x i8] c"CALL_REQUEST\00"
@.str.26 = [16 x i8] c"VOICE_MSG_CHECK\00"
@.str.27 = [10 x i8] c"STORE_CAP\00"
@.str.28 = [22 x i8] c"TOPOLOGY_UPDATE_CHECK\00"
@.str.29 = [13 x i8] c"NODE_DISABLE\00"
@.str.30 = [16 x i8] c"VOICE_MSG_RELAY\00"
@.str.31 = [27 x i8] c"FRAGMENT_RECEPTION_TIMEOUT\00"
@.str.32 = [9 x i8] c"MOBILITY\00"
@.str.33 = [13 x i8] c"START_MOBILE\00"
@.str.34 = [12 x i8] c"STOP_MOBILE\00"
@reltable.resolve_name = [35 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([3 x i8]* @.str to i64), i64 ptrtoint ([35 x i32]* @reltable.resolve_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([3 x i8]* @.str.1 to i64), i64 ptrtoint ([35 x i32]* @reltable.resolve_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.2 to i64), i64 ptrtoint ([35 x i32]* @reltable.resolve_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([7 x i8]* @.str.3 to i64), i64 ptrtoint ([35 x i32]* @reltable.resolve_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([20 x i8]* @.str.4 to i64), i64 ptrtoint ([35 x i32]* @reltable.resolve_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([18 x i8]* @.str.5 to i64), i64 ptrtoint ([35 x i32]* @reltable.resolve_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([14 x i8]* @.str.6 to i64), i64 ptrtoint ([35 x i32]* @reltable.resolve_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([12 x i8]* @.str.7 to i64), i64 ptrtoint ([35 x i32]* @reltable.resolve_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([23 x i8]* @.str.8 to i64), i64 ptrtoint ([35 x i32]* @reltable.resolve_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([18 x i8]* @.str.9 to i64), i64 ptrtoint ([35 x i32]* @reltable.resolve_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([11 x i8]* @.str.10 to i64), i64 ptrtoint ([35 x i32]* @reltable.resolve_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @.str.11 to i64), i64 ptrtoint ([35 x i32]* @reltable.resolve_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([19 x i8]* @.str.12 to i64), i64 ptrtoint ([35 x i32]* @reltable.resolve_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([23 x i8]* @.str.13 to i64), i64 ptrtoint ([35 x i32]* @reltable.resolve_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([24 x i8]* @.str.14 to i64), i64 ptrtoint ([35 x i32]* @reltable.resolve_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([21 x i8]* @.str.15 to i64), i64 ptrtoint ([35 x i32]* @reltable.resolve_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([21 x i8]* @.str.16 to i64), i64 ptrtoint ([35 x i32]* @reltable.resolve_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([20 x i8]* @.str.17 to i64), i64 ptrtoint ([35 x i32]* @reltable.resolve_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([21 x i8]* @.str.18 to i64), i64 ptrtoint ([35 x i32]* @reltable.resolve_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([27 x i8]* @.str.19 to i64), i64 ptrtoint ([35 x i32]* @reltable.resolve_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([18 x i8]* @.str.20 to i64), i64 ptrtoint ([35 x i32]* @reltable.resolve_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([15 x i8]* @.str.21 to i64), i64 ptrtoint ([35 x i32]* @reltable.resolve_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([19 x i8]* @.str.22 to i64), i64 ptrtoint ([35 x i32]* @reltable.resolve_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([19 x i8]* @.str.23 to i64), i64 ptrtoint ([35 x i32]* @reltable.resolve_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([17 x i8]* @.str.24 to i64), i64 ptrtoint ([35 x i32]* @reltable.resolve_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([13 x i8]* @.str.25 to i64), i64 ptrtoint ([35 x i32]* @reltable.resolve_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([16 x i8]* @.str.26 to i64), i64 ptrtoint ([35 x i32]* @reltable.resolve_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @.str.27 to i64), i64 ptrtoint ([35 x i32]* @reltable.resolve_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([22 x i8]* @.str.28 to i64), i64 ptrtoint ([35 x i32]* @reltable.resolve_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([13 x i8]* @.str.29 to i64), i64 ptrtoint ([35 x i32]* @reltable.resolve_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([16 x i8]* @.str.30 to i64), i64 ptrtoint ([35 x i32]* @reltable.resolve_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([27 x i8]* @.str.31 to i64), i64 ptrtoint ([35 x i32]* @reltable.resolve_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.32 to i64), i64 ptrtoint ([35 x i32]* @reltable.resolve_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([13 x i8]* @.str.33 to i64), i64 ptrtoint ([35 x i32]* @reltable.resolve_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([12 x i8]* @.str.34 to i64), i64 ptrtoint ([35 x i32]* @reltable.resolve_name to i64)) to i32)]
define void @resolve_name(i32 %0, i8* %1) {
%3 = icmp ult i32 %0, 35
br i1 %3, label %4, label %9
4: ; preds = %2
%5 = sext i32 %0 to i64
%6 = shl i64 %5, 2
%7 = call i8* @llvm.load.relative.i64(i8* bitcast ([35 x i32]* @reltable.resolve_name to i8*), i64 %6)
%8 = tail call i32 @strcpy(i8* %1, i8* %7)
br label %9
9: ; preds = %2, %4
ret void
}