char *Translate(char Code) {
  static char *Dictionary[18] = {
      "AlphaHelix", "310Helix", "PiHelix",  "Strand", "Bridge",
      "Coil",       "TurnI",    "TurnI'",   "TurnII", "TurnII'",
      "TurnVIa",    "TurnVIb",  "TurnVIII", "TurnIV", "GammaClassic",
      "GammaInv",   "Turn",     "Unknown"};
  switch (Code) {
  case 'H':
    return (Dictionary[0]);
  case 'G':
    return (Dictionary[1]);
  case 'I':
    return (Dictionary[2]);
  case 'E':
    return (Dictionary[3]);
  case 'B':
  case 'b':
    return (Dictionary[4]);
  case 'C':
    return (Dictionary[5]);
  case '1':
    return (Dictionary[6]);
  case '2':
    return (Dictionary[7]);
  case '3':
    return (Dictionary[8]);
  case '4':
    return (Dictionary[9]);
  case '5':
    return (Dictionary[10]);
  case '6':
    return (Dictionary[11]);
  case '7':
    return (Dictionary[12]);
  case '8':
    return (Dictionary[13]);
  case '@':
    return (Dictionary[14]);
  case '&':
    return (Dictionary[15]);
  case 'T':
    return (Dictionary[16]);
  default:
    return (Dictionary[17]);
  }
}


x86 assembly (clang, -O0):
<Translate>:
push   %rbp
mov    %rsp,%rbp
mov    %dil,%al
mov    %al,-0x9(%rbp)
movsbl -0x9(%rbp),%eax
add    $0xffffffda,%eax
mov    %eax,%ecx
mov    %rcx,-0x18(%rbp)
sub    $0x3c,%eax
ja     1244 <Translate+0x144>
mov    -0x18(%rbp),%rax
lea    0xed5(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    0x2ef5(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    124f <Translate+0x14f>
mov    0x2eed(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    124f <Translate+0x14f>
mov    0x2ee5(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    124f <Translate+0x14f>
mov    0x2edd(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    124f <Translate+0x14f>
mov    0x2ed5(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    124f <Translate+0x14f>
mov    0x2ecd(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    124f <Translate+0x14f>
mov    0x2ec5(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    124f <Translate+0x14f>
mov    0x2ebd(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    124f <Translate+0x14f>
mov    0x2eb5(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    124f <Translate+0x14f>
mov    0x2ead(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    124f <Translate+0x14f>
mov    0x2ea5(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    124f <Translate+0x14f>
mov    0x2e9d(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    124f <Translate+0x14f>
mov    0x2e95(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    124f <Translate+0x14f>
mov    0x2e8d(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    124f <Translate+0x14f>
mov    0x2e85(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    124f <Translate+0x14f>
mov    0x2e7d(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    124f <Translate+0x14f>
mov    0x2e75(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    124f <Translate+0x14f>
mov    0x2e6d(%rip),%rax
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rax
pop    %rbp
ret

x86 assembly (clang, -O2):
<Translate>:
add    $0xffffffda,%edi
cmp    $0x3c,%edi
ja     112f <Translate+0x2f>
lea    0xfe5(%rip),%rax
lea    0xeea(%rip),%rcx
movslq (%rcx,%rdi,4),%rdx
add    %rcx,%rdx
jmp    *%rdx
lea    0xff1(%rip),%rax
ret
lea    0x103e(%rip),%rax
ret
lea    0x1044(%rip),%rax
ret
lea    0xfe5(%rip),%rax
ret
lea    0xfe3(%rip),%rax
ret
lea    0xfe2(%rip),%rax
ret
lea    0xfe1(%rip),%rax
ret
lea    0xfe1(%rip),%rax
ret
lea    0xfe1(%rip),%rax
ret
lea    0xfe1(%rip),%rax
ret
lea    0xfe2(%rip),%rax
ret
lea    0xfe1(%rip),%rax
ret
lea    0xf98(%rip),%rax
ret
lea    0xf82(%rip),%rax
ret
lea    0xf69(%rip),%rax
ret
lea    0xf6a(%rip),%rax
ret
lea    0xfcf(%rip),%rax
ret

LLVM IR (-O0):
@Translate.Dictionary = internal global [18 x i8*] [i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.11, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.12, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.13, i32 0, i32 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.14, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.15, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.17, i32 0, i32 0)]
@.str = [11 x i8] c"AlphaHelix\00"
@.str.1 = [9 x i8] c"310Helix\00"
@.str.2 = [8 x i8] c"PiHelix\00"
@.str.3 = [7 x i8] c"Strand\00"
@.str.4 = [7 x i8] c"Bridge\00"
@.str.5 = [5 x i8] c"Coil\00"
@.str.6 = [6 x i8] c"TurnI\00"
@.str.7 = [7 x i8] c"TurnI'\00"
@.str.8 = [7 x i8] c"TurnII\00"
@.str.9 = [8 x i8] c"TurnII'\00"
@.str.10 = [8 x i8] c"TurnVIa\00"
@.str.11 = [8 x i8] c"TurnVIb\00"
@.str.12 = [9 x i8] c"TurnVIII\00"
@.str.13 = [7 x i8] c"TurnIV\00"
@.str.14 = [13 x i8] c"GammaClassic\00"
@.str.15 = [9 x i8] c"GammaInv\00"
@.str.16 = [5 x i8] c"Turn\00"
@.str.17 = [8 x i8] c"Unknown\00"
define i8* @Translate(i8 signext %0) {
%2 = alloca i8*
%3 = alloca i8
store i8 %0, i8* %3
%4 = load i8, i8* %3
%5 = sext i8 %4 to i32
switch i32 %5, label %40 [
i32 72, label %6
i32 71, label %8
i32 73, label %10
i32 69, label %12
i32 66, label %14
i32 98, label %14
i32 67, label %16
i32 49, label %18
i32 50, label %20
i32 51, label %22
i32 52, label %24
i32 53, label %26
i32 54, label %28
i32 55, label %30
i32 56, label %32
i32 64, label %34
i32 38, label %36
i32 84, label %38
]
6: ; preds = %1
%7 = load i8*, i8** getelementptr inbounds ([18 x i8*], [18 x i8*]* @Translate.Dictionary, i64 0, i64 0)
store i8* %7, i8** %2
br label %42
8: ; preds = %1
%9 = load i8*, i8** getelementptr inbounds ([18 x i8*], [18 x i8*]* @Translate.Dictionary, i64 0, i64 1)
store i8* %9, i8** %2
br label %42
10: ; preds = %1
%11 = load i8*, i8** getelementptr inbounds ([18 x i8*], [18 x i8*]* @Translate.Dictionary, i64 0, i64 2)
store i8* %11, i8** %2
br label %42
12: ; preds = %1
%13 = load i8*, i8** getelementptr inbounds ([18 x i8*], [18 x i8*]* @Translate.Dictionary, i64 0, i64 3)
store i8* %13, i8** %2
br label %42
14: ; preds = %1, %1
%15 = load i8*, i8** getelementptr inbounds ([18 x i8*], [18 x i8*]* @Translate.Dictionary, i64 0, i64 4)
store i8* %15, i8** %2
br label %42
16: ; preds = %1
%17 = load i8*, i8** getelementptr inbounds ([18 x i8*], [18 x i8*]* @Translate.Dictionary, i64 0, i64 5)
store i8* %17, i8** %2
br label %42
18: ; preds = %1
%19 = load i8*, i8** getelementptr inbounds ([18 x i8*], [18 x i8*]* @Translate.Dictionary, i64 0, i64 6)
store i8* %19, i8** %2
br label %42
20: ; preds = %1
%21 = load i8*, i8** getelementptr inbounds ([18 x i8*], [18 x i8*]* @Translate.Dictionary, i64 0, i64 7)
store i8* %21, i8** %2
br label %42
22: ; preds = %1
%23 = load i8*, i8** getelementptr inbounds ([18 x i8*], [18 x i8*]* @Translate.Dictionary, i64 0, i64 8)
store i8* %23, i8** %2
br label %42
24: ; preds = %1
%25 = load i8*, i8** getelementptr inbounds ([18 x i8*], [18 x i8*]* @Translate.Dictionary, i64 0, i64 9)
store i8* %25, i8** %2
br label %42
26: ; preds = %1
%27 = load i8*, i8** getelementptr inbounds ([18 x i8*], [18 x i8*]* @Translate.Dictionary, i64 0, i64 10)
store i8* %27, i8** %2
br label %42
28: ; preds = %1
%29 = load i8*, i8** getelementptr inbounds ([18 x i8*], [18 x i8*]* @Translate.Dictionary, i64 0, i64 11)
store i8* %29, i8** %2
br label %42
30: ; preds = %1
%31 = load i8*, i8** getelementptr inbounds ([18 x i8*], [18 x i8*]* @Translate.Dictionary, i64 0, i64 12)
store i8* %31, i8** %2
br label %42
32: ; preds = %1
%33 = load i8*, i8** getelementptr inbounds ([18 x i8*], [18 x i8*]* @Translate.Dictionary, i64 0, i64 13)
store i8* %33, i8** %2
br label %42
34: ; preds = %1
%35 = load i8*, i8** getelementptr inbounds ([18 x i8*], [18 x i8*]* @Translate.Dictionary, i64 0, i64 14)
store i8* %35, i8** %2
br label %42
36: ; preds = %1
%37 = load i8*, i8** getelementptr inbounds ([18 x i8*], [18 x i8*]* @Translate.Dictionary, i64 0, i64 15)
store i8* %37, i8** %2
br label %42
38: ; preds = %1
%39 = load i8*, i8** getelementptr inbounds ([18 x i8*], [18 x i8*]* @Translate.Dictionary, i64 0, i64 16)
store i8* %39, i8** %2
br label %42
40: ; preds = %1
%41 = load i8*, i8** getelementptr inbounds ([18 x i8*], [18 x i8*]* @Translate.Dictionary, i64 0, i64 17)
store i8* %41, i8** %2
br label %42
42: ; preds = %40, %38, %36, %34, %32, %30, %28, %26, %24, %22, %20, %18, %16, %14, %12, %10, %8, %6
%43 = load i8*, i8** %2
ret i8* %43
}

LLVM IR (-O2):
@.str = [11 x i8] c"AlphaHelix\00"
@.str.1 = [9 x i8] c"310Helix\00"
@.str.2 = [8 x i8] c"PiHelix\00"
@.str.3 = [7 x i8] c"Strand\00"
@.str.4 = [7 x i8] c"Bridge\00"
@.str.5 = [5 x i8] c"Coil\00"
@.str.6 = [6 x i8] c"TurnI\00"
@.str.7 = [7 x i8] c"TurnI'\00"
@.str.8 = [7 x i8] c"TurnII\00"
@.str.9 = [8 x i8] c"TurnII'\00"
@.str.10 = [8 x i8] c"TurnVIa\00"
@.str.11 = [8 x i8] c"TurnVIb\00"
@.str.12 = [9 x i8] c"TurnVIII\00"
@.str.13 = [7 x i8] c"TurnIV\00"
@.str.14 = [13 x i8] c"GammaClassic\00"
@.str.15 = [9 x i8] c"GammaInv\00"
@.str.16 = [5 x i8] c"Turn\00"
@.str.17 = [8 x i8] c"Unknown\00"
define i8* @Translate(i8 signext %0) {
%2 = sext i8 %0 to i32
switch i32 %2, label %19 [
i32 72, label %20
i32 71, label %3
i32 73, label %4
i32 69, label %5
i32 66, label %6
i32 98, label %6
i32 67, label %7
i32 49, label %8
i32 50, label %9
i32 51, label %10
i32 52, label %11
i32 53, label %12
i32 54, label %13
i32 55, label %14
i32 56, label %15
i32 64, label %16
i32 38, label %17
i32 84, label %18
]
3: ; preds = %1
br label %20
4: ; preds = %1
br label %20
5: ; preds = %1
br label %20
6: ; preds = %1, %1
br label %20
7: ; preds = %1
br label %20
8: ; preds = %1
br label %20
9: ; preds = %1
br label %20
10: ; preds = %1
br label %20
11: ; preds = %1
br label %20
12: ; preds = %1
br label %20
13: ; preds = %1
br label %20
14: ; preds = %1
br label %20
15: ; preds = %1
br label %20
16: ; preds = %1
br label %20
17: ; preds = %1
br label %20
18: ; preds = %1
br label %20
19: ; preds = %1
br label %20
20: ; preds = %1, %19, %18, %17, %16, %15, %14, %13, %12, %11, %10, %9, %8, %7, %6, %5, %4, %3
%21 = phi i8* [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.17, i64 0, i64 0), %19 ], [ getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0), %18 ], [ getelementptr inbounds ([9 x i8], [9 x i8]* @.str.15, i64 0, i64 0), %17 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @.str.14, i64 0, i64 0), %16 ], [ getelementptr inbounds ([7 x i8], [7 x i8]* @.str.13, i64 0, i64 0), %15 ], [ getelementptr inbounds ([9 x i8], [9 x i8]* @.str.12, i64 0, i64 0), %14 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.11, i64 0, i64 0), %13 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i64 0, i64 0), %12 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0), %11 ], [ getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i64 0, i64 0), %10 ], [ getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0), %9 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), %8 ], [ getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), %7 ], [ getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), %6 ], [ getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), %5 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), %4 ], [ getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), %3 ], [ getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), %1 ]
ret i8* %21
}