const char *error_message(int code) {
  switch (code) {
  case 0x00000000:
    return "S_OK";
  case ((int)(0x80000000 | 0x00010000 | 0x0000)):
    return "ERRROR_FAIL";
  case ((int)(0x80000000 | 0x00010000 | 0x0001)):
    return "ERROR_INVALID_PARAMETERS";
  case ((int)(0x80000000 | 0x00010000 | 0x0002)):
    return "ERROR_MEMORY";
  case ((int)(0x80000000 | 0x00020000 | 0x0001)):
    return "ERROR_SHARED_MEM_NAME_TOO_LONG";
  case ((int)(0x80000000 | 0x00020000 | 0x0002)):
    return "ERROR_SHARED_MEM_CANNOT_CREATE_DIRECTORY";
  case ((int)(0x80000000 | 0x00020000 | 0x0003)):
    return "ERROR_SHARED_MEM_PATH_NOT_DIRECTORY";
  case ((int)(0x80000000 | 0x00020000 | 0x0004)):
    return "ERROR_SHARED_MEM_CANNOT_CREATE_PATH";
  case ((int)(0x80000000 | 0x00020000 | 0x0005)):
    return "ERROR_SHARED_MEM_CANNOT_CREATE_IPC_TOKEN";
  case ((int)(0x80000000 | 0x00020000 | 0x0006)):
    return "ERROR_SHARED_MEM_ALREADY_EXISTS";
  case ((int)(0x80000000 | 0x00020000 | 0x0007)):
    return "ERROR_SHARED_MEM_DOES_NOT_EXIST";
  case ((int)(0x80000000 | 0x00020000 | 0x0008)):
    return "ERROR_SHARED_MEM_INVALID_SIZE";
  case ((int)(0x80000000 | 0x00020000 | 0x0009)):
    return "ERROR_SHARED_MEM_CANNOT_STAT";
  case ((int)(0x80000000 | 0x00020000 | 0x000A)):
    return "ERROR_SHARED_MEM_CANNOT_OPEN";
  case ((int)(0x80000000 | 0x00020000 | 0x000B)):
    return "ERROR_SHARED_MEM_CANNOT_ATTACH";
  case ((int)(0x80000000 | 0x00030000 | 0x0001)):
    return "ERROR_SEMAPHORE_NAME_TOO_LONG";
  case ((int)(0x80000000 | 0x00030000 | 0x0002)):
    return "ERROR_SEMAPHORE_CANNOT_CREATE_DIRECTORY";
  case ((int)(0x80000000 | 0x00030000 | 0x0003)):
    return "ERROR_SEMAPHORE_PATH_NOT_DIRECTORY";
  case ((int)(0x80000000 | 0x00030000 | 0x0004)):
    return "ERROR_SEMAPHORE_CANNOT_CREATE_PATH";
  case ((int)(0x80000000 | 0x00030000 | 0x0005)):
    return "ERROR_SEMAPHORE_CANNOT_CREATE_IPC_TOKEN";
  case ((int)(0x80000000 | 0x00030000 | 0x0006)):
    return "ERROR_SEMAPHORE_ALREADY_EXISTS";
  case ((int)(0x80000000 | 0x00030000 | 0x0007)):
    return "ERROR_SEMAPHORE_DOES_NOT_EXIST";
  case ((int)(0x80000000 | 0x00030000 | 0x0008)):
    return "ERROR_SEMAPHORE_INVALID_SIZE";
  case ((int)(0x80000000 | 0x00030000 | 0x000A)):
    return "ERROR_SEMAPHORE_CANNOT_OPEN";
  case ((int)(0x80000000 | 0x00040000 | 0x0001)):
    return "ERROR_STATS_CANNOT_ALLOCATE_COUNTER";
  case ((int)(0x80000000 | 0x00040000 | 0x0002)):
    return "ERROR_STATS_KEY_TOO_LONG";
  }
  return "UNKNOWN_ERROR";
}


x86 assembly (clang, -O0):
<error_message>:
push   %rbp
mov    %rsp,%rbp
mov    %edi,-0xc(%rbp)
mov    -0xc(%rbp),%eax
mov    %eax,-0x10(%rbp)
sub    $0x80010000,%eax
je     1305 <error_message+0x205>
jmp    111d <error_message+0x1d>
mov    -0x10(%rbp),%eax
sub    $0x80010001,%eax
je     1315 <error_message+0x215>
jmp    1130 <error_message+0x30>
mov    -0x10(%rbp),%eax
sub    $0x80010002,%eax
je     1325 <error_message+0x225>
jmp    1143 <error_message+0x43>
mov    -0x10(%rbp),%eax
sub    $0x80020001,%eax
je     1335 <error_message+0x235>
jmp    1156 <error_message+0x56>
mov    -0x10(%rbp),%eax
sub    $0x80020002,%eax
je     1345 <error_message+0x245>
jmp    1169 <error_message+0x69>
mov    -0x10(%rbp),%eax
sub    $0x80020003,%eax
je     1355 <error_message+0x255>
jmp    117c <error_message+0x7c>
mov    -0x10(%rbp),%eax
sub    $0x80020004,%eax
je     1365 <error_message+0x265>
jmp    118f <error_message+0x8f>
mov    -0x10(%rbp),%eax
sub    $0x80020005,%eax
je     1375 <error_message+0x275>
jmp    11a2 <error_message+0xa2>
mov    -0x10(%rbp),%eax
sub    $0x80020006,%eax
je     1385 <error_message+0x285>
jmp    11b5 <error_message+0xb5>
mov    -0x10(%rbp),%eax
sub    $0x80020007,%eax
je     1395 <error_message+0x295>
jmp    11c8 <error_message+0xc8>
mov    -0x10(%rbp),%eax
sub    $0x80020008,%eax
je     13a5 <error_message+0x2a5>
jmp    11db <error_message+0xdb>
mov    -0x10(%rbp),%eax
sub    $0x80020009,%eax
je     13b5 <error_message+0x2b5>
jmp    11ee <error_message+0xee>
mov    -0x10(%rbp),%eax
sub    $0x8002000a,%eax
je     13c5 <error_message+0x2c5>
jmp    1201 <error_message+0x101>
mov    -0x10(%rbp),%eax
sub    $0x8002000b,%eax
je     13d5 <error_message+0x2d5>
jmp    1214 <error_message+0x114>
mov    -0x10(%rbp),%eax
sub    $0x80030001,%eax
je     13e5 <error_message+0x2e5>
jmp    1227 <error_message+0x127>
mov    -0x10(%rbp),%eax
sub    $0x80030002,%eax
je     13f5 <error_message+0x2f5>
jmp    123a <error_message+0x13a>
mov    -0x10(%rbp),%eax
sub    $0x80030003,%eax
je     1405 <error_message+0x305>
jmp    124d <error_message+0x14d>
mov    -0x10(%rbp),%eax
sub    $0x80030004,%eax
je     1415 <error_message+0x315>
jmp    1260 <error_message+0x160>
mov    -0x10(%rbp),%eax
sub    $0x80030005,%eax
je     1425 <error_message+0x325>
jmp    1273 <error_message+0x173>
mov    -0x10(%rbp),%eax
sub    $0x80030006,%eax
je     1435 <error_message+0x335>
jmp    1286 <error_message+0x186>
mov    -0x10(%rbp),%eax
sub    $0x80030007,%eax
je     1445 <error_message+0x345>
jmp    1299 <error_message+0x199>
mov    -0x10(%rbp),%eax
sub    $0x80030008,%eax
je     1455 <error_message+0x355>
jmp    12ac <error_message+0x1ac>
mov    -0x10(%rbp),%eax
sub    $0x8003000a,%eax
je     1465 <error_message+0x365>
jmp    12bf <error_message+0x1bf>
mov    -0x10(%rbp),%eax
sub    $0x80040001,%eax
je     1475 <error_message+0x375>
jmp    12d2 <error_message+0x1d2>
mov    -0x10(%rbp),%eax
sub    $0x80040002,%eax
je     1485 <error_message+0x385>
jmp    12e5 <error_message+0x1e5>
mov    -0x10(%rbp),%eax
test   %eax,%eax
jne    1495 <error_message+0x395>
jmp    12f5 <error_message+0x1f5>
lea    0xd04(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14a0 <error_message+0x3a0>
lea    0xcf9(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14a0 <error_message+0x3a0>
lea    0xcf5(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14a0 <error_message+0x3a0>
lea    0xcfe(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14a0 <error_message+0x3a0>
lea    0xcfb(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14a0 <error_message+0x3a0>
lea    0xd0a(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14a0 <error_message+0x3a0>
lea    0xd23(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14a0 <error_message+0x3a0>
lea    0xd37(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14a0 <error_message+0x3a0>
lea    0xd4b(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14a0 <error_message+0x3a0>
lea    0xd64(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14a0 <error_message+0x3a0>
lea    0xd74(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14a0 <error_message+0x3a0>
lea    0xd84(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14a0 <error_message+0x3a0>
lea    0xd92(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14a0 <error_message+0x3a0>
lea    0xd9f(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14a0 <error_message+0x3a0>
lea    0xdac(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14a0 <error_message+0x3a0>
lea    0xdbb(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14a0 <error_message+0x3a0>
lea    0xdc9(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14a0 <error_message+0x3a0>
lea    0xde1(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14a0 <error_message+0x3a0>
lea    0xdf4(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14a0 <error_message+0x3a0>
lea    0xe07(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14a0 <error_message+0x3a0>
lea    0xe1f(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14a0 <error_message+0x3a0>
lea    0xe2e(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14a0 <error_message+0x3a0>
lea    0xe3d(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14a0 <error_message+0x3a0>
lea    0xe4a(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14a0 <error_message+0x3a0>
lea    0xe56(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14a0 <error_message+0x3a0>
lea    0xe6a(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14a0 <error_message+0x3a0>
lea    0xe73(%rip),%rax
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rax
pop    %rbp
ret

x86 assembly (clang, -O2):
<error_message>:
cmp    $0x80030000,%edi
jg     1137 <error_message+0x37>
cmp    $0x80020000,%edi
jle    1166 <error_message+0x66>
add    $0x7ffdffff,%edi
cmp    $0xa,%edi
ja     126a <error_message+0x16a>
lea    0xeda(%rip),%rax
movslq (%rax,%rdi,4),%rcx
add    %rax,%rcx
jmp    *%rcx
lea    0xf55(%rip),%rax
ret
cmp    $0x80040000,%edi
jg     1192 <error_message+0x92>
add    $0x7ffcffff,%edi
cmp    $0x9,%edi
ja     126a <error_message+0x16a>
lea    0xed7(%rip),%rax
movslq (%rax,%rdi,4),%rcx
add    %rax,%rcx
jmp    *%rcx
lea    0x1096(%rip),%rax
ret
cmp    $0x80010000,%edi
je     124a <error_message+0x14a>
cmp    $0x80010001,%edi
je     1252 <error_message+0x152>
cmp    $0x80010002,%edi
jne    126a <error_message+0x16a>
lea    0xeed(%rip),%rax
ret
cmp    $0x80040001,%edi
je     125a <error_message+0x15a>
cmp    $0x80040002,%edi
je     1262 <error_message+0x162>
test   %edi,%edi
jne    126a <error_message+0x16a>
lea    0xe9b(%rip),%rax
ret
lea    0xee9(%rip),%rax
ret
lea    0xf0a(%rip),%rax
ret
lea    0xf26(%rip),%rax
ret
lea    0xf42(%rip),%rax
ret
lea    0xf63(%rip),%rax
ret
lea    0xf7b(%rip),%rax
ret
lea    0xf93(%rip),%rax
ret
lea    0xfa9(%rip),%rax
ret
lea    0xfbe(%rip),%rax
ret
lea    0xfd3(%rip),%rax
ret
lea    0x1008(%rip),%rax
ret
lea    0x1028(%rip),%rax
ret
lea    0x1043(%rip),%rax
ret
lea    0x105e(%rip),%rax
ret
lea    0x107e(%rip),%rax
ret
lea    0x1095(%rip),%rax
ret
lea    0x10ac(%rip),%rax
ret
lea    0x10c1(%rip),%rax
ret
lea    0xe08(%rip),%rax
ret
lea    0xe0c(%rip),%rax
ret
lea    0x10c5(%rip),%rax
ret
lea    0x10e1(%rip),%rax
ret
lea    0x10f2(%rip),%rax
ret

LLVM IR (-O0):
@.str = [5 x i8] c"S_OK\00"
@.str.1 = [12 x i8] c"ERRROR_FAIL\00"
@.str.2 = [25 x i8] c"ERROR_INVALID_PARAMETERS\00"
@.str.3 = [13 x i8] c"ERROR_MEMORY\00"
@.str.4 = [31 x i8] c"ERROR_SHARED_MEM_NAME_TOO_LONG\00"
@.str.5 = [41 x i8] c"ERROR_SHARED_MEM_CANNOT_CREATE_DIRECTORY\00"
@.str.6 = [36 x i8] c"ERROR_SHARED_MEM_PATH_NOT_DIRECTORY\00"
@.str.7 = [36 x i8] c"ERROR_SHARED_MEM_CANNOT_CREATE_PATH\00"
@.str.8 = [41 x i8] c"ERROR_SHARED_MEM_CANNOT_CREATE_IPC_TOKEN\00"
@.str.9 = [32 x i8] c"ERROR_SHARED_MEM_ALREADY_EXISTS\00"
@.str.10 = [32 x i8] c"ERROR_SHARED_MEM_DOES_NOT_EXIST\00"
@.str.11 = [30 x i8] c"ERROR_SHARED_MEM_INVALID_SIZE\00"
@.str.12 = [29 x i8] c"ERROR_SHARED_MEM_CANNOT_STAT\00"
@.str.13 = [29 x i8] c"ERROR_SHARED_MEM_CANNOT_OPEN\00"
@.str.14 = [31 x i8] c"ERROR_SHARED_MEM_CANNOT_ATTACH\00"
@.str.15 = [30 x i8] c"ERROR_SEMAPHORE_NAME_TOO_LONG\00"
@.str.16 = [40 x i8] c"ERROR_SEMAPHORE_CANNOT_CREATE_DIRECTORY\00"
@.str.17 = [35 x i8] c"ERROR_SEMAPHORE_PATH_NOT_DIRECTORY\00"
@.str.18 = [35 x i8] c"ERROR_SEMAPHORE_CANNOT_CREATE_PATH\00"
@.str.19 = [40 x i8] c"ERROR_SEMAPHORE_CANNOT_CREATE_IPC_TOKEN\00"
@.str.20 = [31 x i8] c"ERROR_SEMAPHORE_ALREADY_EXISTS\00"
@.str.21 = [31 x i8] c"ERROR_SEMAPHORE_DOES_NOT_EXIST\00"
@.str.22 = [29 x i8] c"ERROR_SEMAPHORE_INVALID_SIZE\00"
@.str.23 = [28 x i8] c"ERROR_SEMAPHORE_CANNOT_OPEN\00"
@.str.24 = [36 x i8] c"ERROR_STATS_CANNOT_ALLOCATE_COUNTER\00"
@.str.25 = [25 x i8] c"ERROR_STATS_KEY_TOO_LONG\00"
@.str.26 = [14 x i8] c"UNKNOWN_ERROR\00"
define i8* @error_message(i32 %0) {
%2 = alloca i8*
%3 = alloca i32
store i32 %0, i32* %3
%4 = load i32, i32* %3
switch i32 %4, label %31 [
i32 0, label %5
i32 -2147418112, label %6
i32 -2147418111, label %7
i32 -2147418110, label %8
i32 -2147352575, label %9
i32 -2147352574, label %10
i32 -2147352573, label %11
i32 -2147352572, label %12
i32 -2147352571, label %13
i32 -2147352570, label %14
i32 -2147352569, label %15
i32 -2147352568, label %16
i32 -2147352567, label %17
i32 -2147352566, label %18
i32 -2147352565, label %19
i32 -2147287039, label %20
i32 -2147287038, label %21
i32 -2147287037, label %22
i32 -2147287036, label %23
i32 -2147287035, label %24
i32 -2147287034, label %25
i32 -2147287033, label %26
i32 -2147287032, label %27
i32 -2147287030, label %28
i32 -2147221503, label %29
i32 -2147221502, label %30
]
5: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8** %2
br label %32
6: ; preds = %1
store i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), i8** %2
br label %32
7: ; preds = %1
store i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.2, i64 0, i64 0), i8** %2
br label %32
8: ; preds = %1
store i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0), i8** %2
br label %32
9: ; preds = %1
store i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.4, i64 0, i64 0), i8** %2
br label %32
10: ; preds = %1
store i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.5, i64 0, i64 0), i8** %2
br label %32
11: ; preds = %1
store i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.6, i64 0, i64 0), i8** %2
br label %32
12: ; preds = %1
store i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.7, i64 0, i64 0), i8** %2
br label %32
13: ; preds = %1
store i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.8, i64 0, i64 0), i8** %2
br label %32
14: ; preds = %1
store i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.9, i64 0, i64 0), i8** %2
br label %32
15: ; preds = %1
store i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.10, i64 0, i64 0), i8** %2
br label %32
16: ; preds = %1
store i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.11, i64 0, i64 0), i8** %2
br label %32
17: ; preds = %1
store i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.12, i64 0, i64 0), i8** %2
br label %32
18: ; preds = %1
store i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.13, i64 0, i64 0), i8** %2
br label %32
19: ; preds = %1
store i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.14, i64 0, i64 0), i8** %2
br label %32
20: ; preds = %1
store i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.15, i64 0, i64 0), i8** %2
br label %32
21: ; preds = %1
store i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.16, i64 0, i64 0), i8** %2
br label %32
22: ; preds = %1
store i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.17, i64 0, i64 0), i8** %2
br label %32
23: ; preds = %1
store i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.18, i64 0, i64 0), i8** %2
br label %32
24: ; preds = %1
store i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.19, i64 0, i64 0), i8** %2
br label %32
25: ; preds = %1
store i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.20, i64 0, i64 0), i8** %2
br label %32
26: ; preds = %1
store i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.21, i64 0, i64 0), i8** %2
br label %32
27: ; preds = %1
store i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.22, i64 0, i64 0), i8** %2
br label %32
28: ; preds = %1
store i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.23, i64 0, i64 0), i8** %2
br label %32
29: ; preds = %1
store i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.24, i64 0, i64 0), i8** %2
br label %32
30: ; preds = %1
store i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.25, i64 0, i64 0), i8** %2
br label %32
31: ; preds = %1
store i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.26, i64 0, i64 0), i8** %2
br label %32
32: ; preds = %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
%33 = load i8*, i8** %2
ret i8* %33
}

LLVM IR (-O2):
@.str = [5 x i8] c"S_OK\00"
@.str.1 = [12 x i8] c"ERRROR_FAIL\00"
@.str.2 = [25 x i8] c"ERROR_INVALID_PARAMETERS\00"
@.str.3 = [13 x i8] c"ERROR_MEMORY\00"
@.str.4 = [31 x i8] c"ERROR_SHARED_MEM_NAME_TOO_LONG\00"
@.str.5 = [41 x i8] c"ERROR_SHARED_MEM_CANNOT_CREATE_DIRECTORY\00"
@.str.6 = [36 x i8] c"ERROR_SHARED_MEM_PATH_NOT_DIRECTORY\00"
@.str.7 = [36 x i8] c"ERROR_SHARED_MEM_CANNOT_CREATE_PATH\00"
@.str.8 = [41 x i8] c"ERROR_SHARED_MEM_CANNOT_CREATE_IPC_TOKEN\00"
@.str.9 = [32 x i8] c"ERROR_SHARED_MEM_ALREADY_EXISTS\00"
@.str.10 = [32 x i8] c"ERROR_SHARED_MEM_DOES_NOT_EXIST\00"
@.str.11 = [30 x i8] c"ERROR_SHARED_MEM_INVALID_SIZE\00"
@.str.12 = [29 x i8] c"ERROR_SHARED_MEM_CANNOT_STAT\00"
@.str.13 = [29 x i8] c"ERROR_SHARED_MEM_CANNOT_OPEN\00"
@.str.14 = [31 x i8] c"ERROR_SHARED_MEM_CANNOT_ATTACH\00"
@.str.15 = [30 x i8] c"ERROR_SEMAPHORE_NAME_TOO_LONG\00"
@.str.16 = [40 x i8] c"ERROR_SEMAPHORE_CANNOT_CREATE_DIRECTORY\00"
@.str.17 = [35 x i8] c"ERROR_SEMAPHORE_PATH_NOT_DIRECTORY\00"
@.str.18 = [35 x i8] c"ERROR_SEMAPHORE_CANNOT_CREATE_PATH\00"
@.str.19 = [40 x i8] c"ERROR_SEMAPHORE_CANNOT_CREATE_IPC_TOKEN\00"
@.str.20 = [31 x i8] c"ERROR_SEMAPHORE_ALREADY_EXISTS\00"
@.str.21 = [31 x i8] c"ERROR_SEMAPHORE_DOES_NOT_EXIST\00"
@.str.22 = [29 x i8] c"ERROR_SEMAPHORE_INVALID_SIZE\00"
@.str.23 = [28 x i8] c"ERROR_SEMAPHORE_CANNOT_OPEN\00"
@.str.24 = [36 x i8] c"ERROR_STATS_CANNOT_ALLOCATE_COUNTER\00"
@.str.25 = [25 x i8] c"ERROR_STATS_KEY_TOO_LONG\00"
@.str.26 = [14 x i8] c"UNKNOWN_ERROR\00"
define i8* @error_message(i32 %0) {
switch i32 %0, label %27 [
i32 0, label %28
i32 -2147418112, label %2
i32 -2147418111, label %3
i32 -2147418110, label %4
i32 -2147352575, label %5
i32 -2147352574, label %6
i32 -2147352573, label %7
i32 -2147352572, label %8
i32 -2147352571, label %9
i32 -2147352570, label %10
i32 -2147352569, label %11
i32 -2147352568, label %12
i32 -2147352567, label %13
i32 -2147352566, label %14
i32 -2147352565, label %15
i32 -2147287039, label %16
i32 -2147287038, label %17
i32 -2147287037, label %18
i32 -2147287036, label %19
i32 -2147287035, label %20
i32 -2147287034, label %21
i32 -2147287033, label %22
i32 -2147287032, label %23
i32 -2147287030, label %24
i32 -2147221503, label %25
i32 -2147221502, label %26
]
2: ; preds = %1
br label %28
3: ; preds = %1
br label %28
4: ; preds = %1
br label %28
5: ; preds = %1
br label %28
6: ; preds = %1
br label %28
7: ; preds = %1
br label %28
8: ; preds = %1
br label %28
9: ; preds = %1
br label %28
10: ; preds = %1
br label %28
11: ; preds = %1
br label %28
12: ; preds = %1
br label %28
13: ; preds = %1
br label %28
14: ; preds = %1
br label %28
15: ; preds = %1
br label %28
16: ; preds = %1
br label %28
17: ; preds = %1
br label %28
18: ; preds = %1
br label %28
19: ; preds = %1
br label %28
20: ; preds = %1
br label %28
21: ; preds = %1
br label %28
22: ; preds = %1
br label %28
23: ; preds = %1
br label %28
24: ; preds = %1
br label %28
25: ; preds = %1
br label %28
26: ; preds = %1
br label %28
27: ; preds = %1
br label %28
28: ; preds = %1, %27, %26, %25, %24, %23, %22, %21, %20, %19, %18, %17, %16, %15, %14, %13, %12, %11, %10, %9, %8, %7, %6, %5, %4, %3, %2
%29 = phi i8* [ getelementptr inbounds ([14 x i8], [14 x i8]* @.str.26, i64 0, i64 0), %27 ], [ getelementptr inbounds ([25 x i8], [25 x i8]* @.str.25, i64 0, i64 0), %26 ], [ getelementptr inbounds ([36 x i8], [36 x i8]* @.str.24, i64 0, i64 0), %25 ], [ getelementptr inbounds ([28 x i8], [28 x i8]* @.str.23, i64 0, i64 0), %24 ], [ getelementptr inbounds ([29 x i8], [29 x i8]* @.str.22, i64 0, i64 0), %23 ], [ getelementptr inbounds ([31 x i8], [31 x i8]* @.str.21, i64 0, i64 0), %22 ], [ getelementptr inbounds ([31 x i8], [31 x i8]* @.str.20, i64 0, i64 0), %21 ], [ getelementptr inbounds ([40 x i8], [40 x i8]* @.str.19, i64 0, i64 0), %20 ], [ getelementptr inbounds ([35 x i8], [35 x i8]* @.str.18, i64 0, i64 0), %19 ], [ getelementptr inbounds ([35 x i8], [35 x i8]* @.str.17, i64 0, i64 0), %18 ], [ getelementptr inbounds ([40 x i8], [40 x i8]* @.str.16, i64 0, i64 0), %17 ], [ getelementptr inbounds ([30 x i8], [30 x i8]* @.str.15, i64 0, i64 0), %16 ], [ getelementptr inbounds ([31 x i8], [31 x i8]* @.str.14, i64 0, i64 0), %15 ], [ getelementptr inbounds ([29 x i8], [29 x i8]* @.str.13, i64 0, i64 0), %14 ], [ getelementptr inbounds ([29 x i8], [29 x i8]* @.str.12, i64 0, i64 0), %13 ], [ getelementptr inbounds ([30 x i8], [30 x i8]* @.str.11, i64 0, i64 0), %12 ], [ getelementptr inbounds ([32 x i8], [32 x i8]* @.str.10, i64 0, i64 0), %11 ], [ getelementptr inbounds ([32 x i8], [32 x i8]* @.str.9, i64 0, i64 0), %10 ], [ getelementptr inbounds ([41 x i8], [41 x i8]* @.str.8, i64 0, i64 0), %9 ], [ getelementptr inbounds ([36 x i8], [36 x i8]* @.str.7, i64 0, i64 0), %8 ], [ getelementptr inbounds ([36 x i8], [36 x i8]* @.str.6, i64 0, i64 0), %7 ], [ getelementptr inbounds ([41 x i8], [41 x i8]* @.str.5, i64 0, i64 0), %6 ], [ getelementptr inbounds ([31 x i8], [31 x i8]* @.str.4, i64 0, i64 0), %5 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0), %4 ], [ getelementptr inbounds ([25 x i8], [25 x i8]* @.str.2, i64 0, i64 0), %3 ], [ getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0), %2 ], [ getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), %1 ]
ret i8* %29
}