#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 */
const char *get_region_name_MD(int region_code) {
  switch (region_code) {
  case 51:
    return "Gagauzia";
  case 57:
    return "Chisinau";
  case 58:
    return "Stinga Nistrului";
  case 59:
    return "Anenii Noi";
  case 60:
    return "Balti";
  case 61:
    return "Basarabeasca";
  case 62:
    return "Bender";
  case 63:
    return "Briceni";
  case 64:
    return "Cahul";
  case 65:
    return "Cantemir";
  case 66:
    return "Calarasi";
  case 67:
    return "Causeni";
  case 68:
    return "Cimislia";
  case 69:
    return "Criuleni";
  case 70:
    return "Donduseni";
  case 71:
    return "Drochia";
  case 72:
    return "Dubasari";
  case 73:
    return "Edinet";
  case 74:
    return "Falesti";
  case 75:
    return "Floresti";
  case 76:
    return "Glodeni";
  case 77:
    return "Hincesti";
  case 78:
    return "Ialoveni";
  case 79:
    return "Leova";
  case 80:
    return "Nisporeni";
  case 81:
    return "Ocnita";
  case 82:
    return "Orhei";
  case 83:
    return "Rezina";
  case 84:
    return "Riscani";
  case 85:
    return "Singerei";
  case 86:
    return "Soldanesti";
  case 87:
    return "Soroca";
  case 88:
    return "Stefan-Voda";
  case 89:
    return "Straseni";
  case 90:
    return "Taraclia";
  case 91:
    return "Telenesti";
  case 92:
    return "Ungheni";
  default:
    return NULL;
  }
}


x86 assembly (clang, -O0):
<get_region_name_MD>:
push   %rbp
mov    %rsp,%rbp
mov    %edi,-0xc(%rbp)
mov    -0xc(%rbp),%eax
add    $0xffffffcd,%eax
mov    %eax,%ecx
mov    %rcx,-0x18(%rbp)
sub    $0x29,%eax
ja     1380 <get_region_name_MD+0x280>
mov    -0x18(%rbp),%rax
lea    0xed9(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xf71(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1388 <get_region_name_MD+0x288>
lea    0xf6a(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1388 <get_region_name_MD+0x288>
lea    0xf63(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1388 <get_region_name_MD+0x288>
lea    0xf64(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1388 <get_region_name_MD+0x288>
lea    0xf5f(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1388 <get_region_name_MD+0x288>
lea    0xf55(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1388 <get_region_name_MD+0x288>
lea    0xf52(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1388 <get_region_name_MD+0x288>
lea    0xf49(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1388 <get_region_name_MD+0x288>
lea    0xf41(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1388 <get_region_name_MD+0x288>
lea    0xf37(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1388 <get_region_name_MD+0x288>
lea    0xf30(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1388 <get_region_name_MD+0x288>
lea    0xf29(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1388 <get_region_name_MD+0x288>
lea    0xf21(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1388 <get_region_name_MD+0x288>
lea    0xf1a(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1388 <get_region_name_MD+0x288>
lea    0xf13(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1388 <get_region_name_MD+0x288>
lea    0xf0d(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1388 <get_region_name_MD+0x288>
lea    0xf05(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1388 <get_region_name_MD+0x288>
lea    0xefe(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1388 <get_region_name_MD+0x288>
lea    0xef5(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1388 <get_region_name_MD+0x288>
lea    0xeed(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1388 <get_region_name_MD+0x288>
lea    0xee6(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1388 <get_region_name_MD+0x288>
lea    0xede(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1388 <get_region_name_MD+0x288>
lea    0xed7(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1388 <get_region_name_MD+0x288>
lea    0xed0(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1388 <get_region_name_MD+0x288>
lea    0xec6(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1388 <get_region_name_MD+0x288>
lea    0xec0(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1388 <get_region_name_MD+0x288>
lea    0xeb7(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1388 <get_region_name_MD+0x288>
lea    0xead(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1388 <get_region_name_MD+0x288>
lea    0xea4(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1388 <get_region_name_MD+0x288>
lea    0xe9c(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1388 <get_region_name_MD+0x288>
lea    0xe95(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1388 <get_region_name_MD+0x288>
lea    0xe90(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1388 <get_region_name_MD+0x288>
lea    0xe87(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1388 <get_region_name_MD+0x288>
lea    0xe83(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1388 <get_region_name_MD+0x288>
lea    0xe7c(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1388 <get_region_name_MD+0x288>
lea    0xe75(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1388 <get_region_name_MD+0x288>
lea    0xe6f(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1388 <get_region_name_MD+0x288>
movq   $0x0,-0x8(%rbp)
mov    -0x8(%rbp),%rax
pop    %rbp
ret

x86 assembly (clang, -O2):
<get_region_name_MD>:
add    $0xffffffcd,%edi
cmp    $0x29,%edi
ja     1117 <get_region_name_MD+0x17>
movslq %edi,%rax
lea    0x2bee(%rip),%rcx
mov    (%rcx,%rax,8),%rax
ret
xor    %eax,%eax
ret

LLVM IR (-O0):
@.str = [9 x i8] c"Gagauzia\00"
@.str.1 = [9 x i8] c"Chisinau\00"
@.str.2 = [17 x i8] c"Stinga Nistrului\00"
@.str.3 = [11 x i8] c"Anenii Noi\00"
@.str.4 = [6 x i8] c"Balti\00"
@.str.5 = [13 x i8] c"Basarabeasca\00"
@.str.6 = [7 x i8] c"Bender\00"
@.str.7 = [8 x i8] c"Briceni\00"
@.str.8 = [6 x i8] c"Cahul\00"
@.str.9 = [9 x i8] c"Cantemir\00"
@.str.10 = [9 x i8] c"Calarasi\00"
@.str.11 = [8 x i8] c"Causeni\00"
@.str.12 = [9 x i8] c"Cimislia\00"
@.str.13 = [9 x i8] c"Criuleni\00"
@.str.14 = [10 x i8] c"Donduseni\00"
@.str.15 = [8 x i8] c"Drochia\00"
@.str.16 = [9 x i8] c"Dubasari\00"
@.str.17 = [7 x i8] c"Edinet\00"
@.str.18 = [8 x i8] c"Falesti\00"
@.str.19 = [9 x i8] c"Floresti\00"
@.str.20 = [8 x i8] c"Glodeni\00"
@.str.21 = [9 x i8] c"Hincesti\00"
@.str.22 = [9 x i8] c"Ialoveni\00"
@.str.23 = [6 x i8] c"Leova\00"
@.str.24 = [10 x i8] c"Nisporeni\00"
@.str.25 = [7 x i8] c"Ocnita\00"
@.str.26 = [6 x i8] c"Orhei\00"
@.str.27 = [7 x i8] c"Rezina\00"
@.str.28 = [8 x i8] c"Riscani\00"
@.str.29 = [9 x i8] c"Singerei\00"
@.str.30 = [11 x i8] c"Soldanesti\00"
@.str.31 = [7 x i8] c"Soroca\00"
@.str.32 = [12 x i8] c"Stefan-Voda\00"
@.str.33 = [9 x i8] c"Straseni\00"
@.str.34 = [9 x i8] c"Taraclia\00"
@.str.35 = [10 x i8] c"Telenesti\00"
@.str.36 = [8 x i8] c"Ungheni\00"
define i8* @get_region_name_MD(i32 %0) {
%2 = alloca i8*
%3 = alloca i32
store i32 %0, i32* %3
%4 = load i32, i32* %3
switch i32 %4, label %42 [
i32 51, label %5
i32 57, label %6
i32 58, label %7
i32 59, label %8
i32 60, label %9
i32 61, label %10
i32 62, label %11
i32 63, label %12
i32 64, label %13
i32 65, label %14
i32 66, label %15
i32 67, label %16
i32 68, label %17
i32 69, label %18
i32 70, label %19
i32 71, label %20
i32 72, label %21
i32 73, label %22
i32 74, label %23
i32 75, label %24
i32 76, label %25
i32 77, label %26
i32 78, label %27
i32 79, label %28
i32 80, label %29
i32 81, label %30
i32 82, label %31
i32 83, label %32
i32 84, label %33
i32 85, label %34
i32 86, label %35
i32 87, label %36
i32 88, label %37
i32 89, label %38
i32 90, label %39
i32 91, label %40
i32 92, label %41
]
5: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8** %2
br label %43
6: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i8** %2
br label %43
7: ; preds = %1
store i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i8** %2
br label %43
8: ; preds = %1
store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i8** %2
br label %43
9: ; preds = %1
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i8** %2
br label %43
10: ; preds = %1
store i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0), i8** %2
br label %43
11: ; preds = %1
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0), i8** %2
br label %43
12: ; preds = %1
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0), i8** %2
br label %43
13: ; preds = %1
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0), i8** %2
br label %43
14: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0), i8** %2
br label %43
15: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.10, i64 0, i64 0), i8** %2
br label %43
16: ; preds = %1
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.11, i64 0, i64 0), i8** %2
br label %43
17: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.12, i64 0, i64 0), i8** %2
br label %43
18: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.13, i64 0, i64 0), i8** %2
br label %43
19: ; preds = %1
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.14, i64 0, i64 0), i8** %2
br label %43
20: ; preds = %1
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.15, i64 0, i64 0), i8** %2
br label %43
21: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.16, i64 0, i64 0), i8** %2
br label %43
22: ; preds = %1
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.17, i64 0, i64 0), i8** %2
br label %43
23: ; preds = %1
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.18, i64 0, i64 0), i8** %2
br label %43
24: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.19, i64 0, i64 0), i8** %2
br label %43
25: ; preds = %1
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.20, i64 0, i64 0), i8** %2
br label %43
26: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.21, i64 0, i64 0), i8** %2
br label %43
27: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.22, i64 0, i64 0), i8** %2
br label %43
28: ; preds = %1
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.23, i64 0, i64 0), i8** %2
br label %43
29: ; preds = %1
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.24, i64 0, i64 0), i8** %2
br label %43
30: ; preds = %1
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.25, i64 0, i64 0), i8** %2
br label %43
31: ; preds = %1
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.26, i64 0, i64 0), i8** %2
br label %43
32: ; preds = %1
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.27, i64 0, i64 0), i8** %2
br label %43
33: ; preds = %1
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.28, i64 0, i64 0), i8** %2
br label %43
34: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.29, i64 0, i64 0), i8** %2
br label %43
35: ; preds = %1
store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.30, i64 0, i64 0), i8** %2
br label %43
36: ; preds = %1
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.31, i64 0, i64 0), i8** %2
br label %43
37: ; preds = %1
store i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.32, i64 0, i64 0), i8** %2
br label %43
38: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.33, i64 0, i64 0), i8** %2
br label %43
39: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.34, i64 0, i64 0), i8** %2
br label %43
40: ; preds = %1
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.35, i64 0, i64 0), i8** %2
br label %43
41: ; preds = %1
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.36, i64 0, i64 0), i8** %2
br label %43
42: ; preds = %1
store i8* null, i8** %2
br label %43
43: ; preds = %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
%44 = load i8*, i8** %2
ret i8* %44
}

LLVM IR (-O2):
@.str = [9 x i8] c"Gagauzia\00"
@.str.1 = [9 x i8] c"Chisinau\00"
@.str.2 = [17 x i8] c"Stinga Nistrului\00"
@.str.3 = [11 x i8] c"Anenii Noi\00"
@.str.4 = [6 x i8] c"Balti\00"
@.str.5 = [13 x i8] c"Basarabeasca\00"
@.str.6 = [7 x i8] c"Bender\00"
@.str.7 = [8 x i8] c"Briceni\00"
@.str.8 = [6 x i8] c"Cahul\00"
@.str.9 = [9 x i8] c"Cantemir\00"
@.str.10 = [9 x i8] c"Calarasi\00"
@.str.11 = [8 x i8] c"Causeni\00"
@.str.12 = [9 x i8] c"Cimislia\00"
@.str.13 = [9 x i8] c"Criuleni\00"
@.str.14 = [10 x i8] c"Donduseni\00"
@.str.15 = [8 x i8] c"Drochia\00"
@.str.16 = [9 x i8] c"Dubasari\00"
@.str.17 = [7 x i8] c"Edinet\00"
@.str.18 = [8 x i8] c"Falesti\00"
@.str.19 = [9 x i8] c"Floresti\00"
@.str.20 = [8 x i8] c"Glodeni\00"
@.str.21 = [9 x i8] c"Hincesti\00"
@.str.22 = [9 x i8] c"Ialoveni\00"
@.str.23 = [6 x i8] c"Leova\00"
@.str.24 = [10 x i8] c"Nisporeni\00"
@.str.25 = [7 x i8] c"Ocnita\00"
@.str.26 = [6 x i8] c"Orhei\00"
@.str.27 = [7 x i8] c"Rezina\00"
@.str.28 = [8 x i8] c"Riscani\00"
@.str.29 = [9 x i8] c"Singerei\00"
@.str.30 = [11 x i8] c"Soldanesti\00"
@.str.31 = [7 x i8] c"Soroca\00"
@.str.32 = [12 x i8] c"Stefan-Voda\00"
@.str.33 = [9 x i8] c"Straseni\00"
@.str.34 = [9 x i8] c"Taraclia\00"
@.str.35 = [10 x i8] c"Telenesti\00"
@.str.36 = [8 x i8] c"Ungheni\00"
@switch.table.get_region_name_MD = [42 x i8*] [i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8* null, i8* null, i8* null, i8* null, i8* null, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.19, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.20, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.21, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.22, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.23, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.24, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.25, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.26, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.27, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.28, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.29, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.30, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.31, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.32, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.33, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.34, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.35, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.36, i64 0, i64 0)]
define i8* @get_region_name_MD(i32 %0) {
%2 = add i32 %0, -51
%3 = icmp ult i32 %2, 42
br i1 %3, label %4, label %8
4: ; preds = %1
%5 = sext i32 %2 to i64
%6 = getelementptr inbounds [42 x i8*], [42 x i8*]* @switch.table.get_region_name_MD, i64 0, i64 %5
%7 = load i8*, i8** %6
br label %8
8: ; preds = %1, %4
%9 = phi i8* [ %7, %4 ], [ null, %1 ]
ret i8* %9
}