char *adfs_filetype(const unsigned int filetype) {
  switch (filetype) {
  case 0x695:
    return "GIF";
  case 0xa91:
    return "Zip";
  case 0xadf:
    return "PDF";
  case 0xae9:
    return "Alarm";
  case 0xaf1:
    return "Music";
  case 0xaff:
    return "DrawFile";
  case 0xb60:
    return "PNG";
  case 0xc85:
    return "JPEG";
  case 0xddc:
    return "Archive";
  case 0xdea:
    return "DXF";
  case 0xdec:
    return "DiscRec";
  case 0xf89:
    return "GZip";
  case 0xfae:
    return "Resource";
  case 0xfaf:
    return "HTML";
  case 0xfb0:
    return "Allocate";
  case 0xfc3:
    return "Patch";
  case 0xfc6:
    return "PrntDefn";
  case 0xfca:
    return "Squash";
  case 0xfcd:
    return "HardDisc";
  case 0xfce:
    return "FloppyDisc";
  case 0xfd1:
    return "BASICTxt";
  case 0xfe1:
    return "Make";
  case 0xfd6:
    return "TaskExec";
  case 0xfd7:
    return "TaskObey";
  case 0xfdb:
    return "TextCRLF";
  case 0xfea:
    return "Desktop";
  case 0xfeb:
    return "Obey";
  case 0xfec:
    return "Template";
  case 0xfed:
    return "Palette";
  case 0xff2:
    return "Config";
  case 0xff5:
    return "PoScript";
  case 0xff6:
    return "Font";
  case 0xff8:
    return "Absolute";
  case 0xff9:
    return "Sprite";
  case 0xffa:
    return "Module";
  case 0xffb:
    return "Basic";
  case 0xffc:
    return "Utility";
  case 0xffd:
    return "Data";
  case 0xffe:
    return "Command";
  case 0xfff:
    return "Text";
  default:
    return "";
  }
}


x86 assembly (clang, -O0):
<adfs_filetype>:
push   %rbp
mov    %rsp,%rbp
mov    %edi,-0xc(%rbp)
mov    -0xc(%rbp),%eax
mov    %eax,-0x10(%rbp)
sub    $0x695,%eax
je     1402 <adfs_filetype+0x302>
jmp    111d <adfs_filetype+0x1d>
mov    -0x10(%rbp),%eax
sub    $0xa91,%eax
je     1412 <adfs_filetype+0x312>
jmp    1130 <adfs_filetype+0x30>
mov    -0x10(%rbp),%eax
sub    $0xadf,%eax
je     1422 <adfs_filetype+0x322>
jmp    1143 <adfs_filetype+0x43>
mov    -0x10(%rbp),%eax
sub    $0xae9,%eax
je     1432 <adfs_filetype+0x332>
jmp    1156 <adfs_filetype+0x56>
mov    -0x10(%rbp),%eax
sub    $0xaf1,%eax
je     1442 <adfs_filetype+0x342>
jmp    1169 <adfs_filetype+0x69>
mov    -0x10(%rbp),%eax
sub    $0xaff,%eax
je     1452 <adfs_filetype+0x352>
jmp    117c <adfs_filetype+0x7c>
mov    -0x10(%rbp),%eax
sub    $0xb60,%eax
je     1462 <adfs_filetype+0x362>
jmp    118f <adfs_filetype+0x8f>
mov    -0x10(%rbp),%eax
sub    $0xc85,%eax
je     1472 <adfs_filetype+0x372>
jmp    11a2 <adfs_filetype+0xa2>
mov    -0x10(%rbp),%eax
sub    $0xddc,%eax
je     1482 <adfs_filetype+0x382>
jmp    11b5 <adfs_filetype+0xb5>
mov    -0x10(%rbp),%eax
sub    $0xdea,%eax
je     1492 <adfs_filetype+0x392>
jmp    11c8 <adfs_filetype+0xc8>
mov    -0x10(%rbp),%eax
sub    $0xdec,%eax
je     14a2 <adfs_filetype+0x3a2>
jmp    11db <adfs_filetype+0xdb>
mov    -0x10(%rbp),%eax
sub    $0xf89,%eax
je     14b2 <adfs_filetype+0x3b2>
jmp    11ee <adfs_filetype+0xee>
mov    -0x10(%rbp),%eax
sub    $0xfae,%eax
je     14c2 <adfs_filetype+0x3c2>
jmp    1201 <adfs_filetype+0x101>
mov    -0x10(%rbp),%eax
sub    $0xfaf,%eax
je     14d2 <adfs_filetype+0x3d2>
jmp    1214 <adfs_filetype+0x114>
mov    -0x10(%rbp),%eax
sub    $0xfb0,%eax
je     14e2 <adfs_filetype+0x3e2>
jmp    1227 <adfs_filetype+0x127>
mov    -0x10(%rbp),%eax
sub    $0xfc3,%eax
je     14f2 <adfs_filetype+0x3f2>
jmp    123a <adfs_filetype+0x13a>
mov    -0x10(%rbp),%eax
sub    $0xfc6,%eax
je     1502 <adfs_filetype+0x402>
jmp    124d <adfs_filetype+0x14d>
mov    -0x10(%rbp),%eax
sub    $0xfca,%eax
je     1512 <adfs_filetype+0x412>
jmp    1260 <adfs_filetype+0x160>
mov    -0x10(%rbp),%eax
sub    $0xfcd,%eax
je     1522 <adfs_filetype+0x422>
jmp    1273 <adfs_filetype+0x173>
mov    -0x10(%rbp),%eax
sub    $0xfce,%eax
je     1532 <adfs_filetype+0x432>
jmp    1286 <adfs_filetype+0x186>
mov    -0x10(%rbp),%eax
sub    $0xfd1,%eax
je     1542 <adfs_filetype+0x442>
jmp    1299 <adfs_filetype+0x199>
mov    -0x10(%rbp),%eax
sub    $0xfd6,%eax
je     1562 <adfs_filetype+0x462>
jmp    12ac <adfs_filetype+0x1ac>
mov    -0x10(%rbp),%eax
sub    $0xfd7,%eax
je     1572 <adfs_filetype+0x472>
jmp    12bf <adfs_filetype+0x1bf>
mov    -0x10(%rbp),%eax
sub    $0xfdb,%eax
je     1582 <adfs_filetype+0x482>
jmp    12d2 <adfs_filetype+0x1d2>
mov    -0x10(%rbp),%eax
sub    $0xfe1,%eax
je     1552 <adfs_filetype+0x452>
jmp    12e5 <adfs_filetype+0x1e5>
mov    -0x10(%rbp),%eax
sub    $0xfea,%eax
je     1592 <adfs_filetype+0x492>
jmp    12f8 <adfs_filetype+0x1f8>
mov    -0x10(%rbp),%eax
sub    $0xfeb,%eax
je     15a2 <adfs_filetype+0x4a2>
jmp    130b <adfs_filetype+0x20b>
mov    -0x10(%rbp),%eax
sub    $0xfec,%eax
je     15b2 <adfs_filetype+0x4b2>
jmp    131e <adfs_filetype+0x21e>
mov    -0x10(%rbp),%eax
sub    $0xfed,%eax
je     15c2 <adfs_filetype+0x4c2>
jmp    1331 <adfs_filetype+0x231>
mov    -0x10(%rbp),%eax
sub    $0xff2,%eax
je     15d2 <adfs_filetype+0x4d2>
jmp    1344 <adfs_filetype+0x244>
mov    -0x10(%rbp),%eax
sub    $0xff5,%eax
je     15e2 <adfs_filetype+0x4e2>
jmp    1357 <adfs_filetype+0x257>
mov    -0x10(%rbp),%eax
sub    $0xff6,%eax
je     15f2 <adfs_filetype+0x4f2>
jmp    136a <adfs_filetype+0x26a>
mov    -0x10(%rbp),%eax
sub    $0xff8,%eax
je     1602 <adfs_filetype+0x502>
jmp    137d <adfs_filetype+0x27d>
mov    -0x10(%rbp),%eax
sub    $0xff9,%eax
je     1612 <adfs_filetype+0x512>
jmp    1390 <adfs_filetype+0x290>
mov    -0x10(%rbp),%eax
sub    $0xffa,%eax
je     1622 <adfs_filetype+0x522>
jmp    13a3 <adfs_filetype+0x2a3>
mov    -0x10(%rbp),%eax
sub    $0xffb,%eax
je     1632 <adfs_filetype+0x532>
jmp    13b6 <adfs_filetype+0x2b6>
mov    -0x10(%rbp),%eax
sub    $0xffc,%eax
je     1642 <adfs_filetype+0x542>
jmp    13c9 <adfs_filetype+0x2c9>
mov    -0x10(%rbp),%eax
sub    $0xffd,%eax
je     1652 <adfs_filetype+0x552>
jmp    13dc <adfs_filetype+0x2dc>
mov    -0x10(%rbp),%eax
sub    $0xffe,%eax
je     1662 <adfs_filetype+0x562>
jmp    13ef <adfs_filetype+0x2ef>
mov    -0x10(%rbp),%eax
sub    $0xfff,%eax
je     1672 <adfs_filetype+0x572>
jmp    1682 <adfs_filetype+0x582>
lea    0xbf7(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    168d <adfs_filetype+0x58d>
lea    0xc22(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    168d <adfs_filetype+0x58d>
lea    0xbdb(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    168d <adfs_filetype+0x58d>
lea    0xbcf(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    168d <adfs_filetype+0x58d>
lea    0xbc5(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    168d <adfs_filetype+0x58d>
lea    0xbbb(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    168d <adfs_filetype+0x58d>
lea    0xbb4(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    168d <adfs_filetype+0x58d>
lea    0xba8(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    168d <adfs_filetype+0x58d>
lea    0xb9d(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    168d <adfs_filetype+0x58d>
lea    0xb95(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    168d <adfs_filetype+0x58d>
lea    0xb89(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    168d <adfs_filetype+0x58d>
lea    0xb81(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    168d <adfs_filetype+0x58d>
lea    0xb76(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    168d <adfs_filetype+0x58d>
lea    0xb6f(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    168d <adfs_filetype+0x58d>
lea    0xb64(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    168d <adfs_filetype+0x58d>
lea    0xb5d(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    168d <adfs_filetype+0x58d>
lea    0xb53(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    168d <adfs_filetype+0x58d>
lea    0xb4c(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    168d <adfs_filetype+0x58d>
lea    0xb43(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    168d <adfs_filetype+0x58d>
lea    0xb3c(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    168d <adfs_filetype+0x58d>
lea    0xb37(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    168d <adfs_filetype+0x58d>
lea    0xb30(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    168d <adfs_filetype+0x58d>
lea    0xb25(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    168d <adfs_filetype+0x58d>
lea    0xb1e(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    168d <adfs_filetype+0x58d>
lea    0xb17(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    168d <adfs_filetype+0x58d>
lea    0xb10(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    168d <adfs_filetype+0x58d>
lea    0xaf2(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    168d <adfs_filetype+0x58d>
lea    0xaf8(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    168d <adfs_filetype+0x58d>
lea    0xaf1(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    168d <adfs_filetype+0x58d>
lea    0xae9(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    168d <adfs_filetype+0x58d>
lea    0xae0(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    168d <adfs_filetype+0x58d>
lea    0xad9(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    168d <adfs_filetype+0x58d>
lea    0xace(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    168d <adfs_filetype+0x58d>
lea    0xac7(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    168d <adfs_filetype+0x58d>
lea    0xabe(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    168d <adfs_filetype+0x58d>
lea    0xab5(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    168d <adfs_filetype+0x58d>
lea    0xaab(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    168d <adfs_filetype+0x58d>
lea    0xaa3(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    168d <adfs_filetype+0x58d>
lea    0xa98(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    168d <adfs_filetype+0x58d>
lea    0xa90(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    168d <adfs_filetype+0x58d>
lea    0x97e(%rip),%rax
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rax
pop    %rbp
ret

x86 assembly (clang, -O2):
<adfs_filetype>:
cmp    $0xde9,%edi
jle    112b <adfs_filetype+0x2b>
lea    -0xf89(%rdi),%eax
cmp    $0x76,%eax
ja     118e <adfs_filetype+0x8e>
lea    0xf6a(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0x1170(%rip),%rax
ret
cmp    $0xb5f,%edi
jg     1156 <adfs_filetype+0x56>
lea    -0xadf(%rdi),%eax
cmp    $0x20,%eax
ja     1176 <adfs_filetype+0x76>
lea    0xebb(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0x110f(%rip),%rax
ret
cmp    $0xb60,%edi
je     11c2 <adfs_filetype+0xc2>
cmp    $0xc85,%edi
je     11ca <adfs_filetype+0xca>
cmp    $0xddc,%edi
jne    11d2 <adfs_filetype+0xd2>
lea    0x1111(%rip),%rax
ret
cmp    $0x695,%edi
je     11da <adfs_filetype+0xda>
cmp    $0xa91,%edi
jne    11d2 <adfs_filetype+0xd2>
lea    0x110e(%rip),%rax
ret
cmp    $0xdea,%edi
je     12c2 <adfs_filetype+0x1c2>
cmp    $0xdec,%edi
jne    11d2 <adfs_filetype+0xd2>
lea    0x10e9(%rip),%rax
ret
lea    0x10b7(%rip),%rax
ret
lea    0x10b5(%rip),%rax
ret
lea    0x10b3(%rip),%rax
ret
lea    0x10b4(%rip),%rax
ret
lea    0x10b0(%rip),%rax
ret
lea    0x108e(%rip),%rax
ret
lea    0x107f(%rip),%rax
ret
lea    0x10b6(%rip),%rax
ret
lea    0x10b7(%rip),%rax
ret
lea    0x10b4(%rip),%rax
ret
lea    0x10b5(%rip),%rax
ret
lea    0x10b3(%rip),%rax
ret
lea    0x10b4(%rip),%rax
ret
lea    0x10b3(%rip),%rax
ret
lea    0x10b4(%rip),%rax
ret
lea    0x10b7(%rip),%rax
ret
lea    0x10bd(%rip),%rax
ret
lea    0x10be(%rip),%rax
ret
lea    0x10bf(%rip),%rax
ret
lea    0x10a0(%rip),%rax
ret
lea    0x10b8(%rip),%rax
ret
lea    0x10a2(%rip),%rax
ret
lea    0x10b0(%rip),%rax
ret
lea    0x10b1(%rip),%rax
ret
lea    0x10b1(%rip),%rax
ret
lea    0x10b0(%rip),%rax
ret
lea    0x10b1(%rip),%rax
ret
lea    0x10ae(%rip),%rax
ret
lea    0x10af(%rip),%rax
ret
lea    0x10ae(%rip),%rax
ret
lea    0x10ad(%rip),%rax
ret
lea    0x10ab(%rip),%rax
ret
lea    0x10ab(%rip),%rax
ret
lea    0x10a8(%rip),%rax
ret
lea    0x10a8(%rip),%rax
ret
lea    0xfc5(%rip),%rax
ret

LLVM IR (-O0):
@.str = [4 x i8] c"GIF\00"
@.str.1 = [4 x i8] c"Zip\00"
@.str.2 = [4 x i8] c"PDF\00"
@.str.3 = [6 x i8] c"Alarm\00"
@.str.4 = [6 x i8] c"Music\00"
@.str.5 = [9 x i8] c"DrawFile\00"
@.str.6 = [4 x i8] c"PNG\00"
@.str.7 = [5 x i8] c"JPEG\00"
@.str.8 = [8 x i8] c"Archive\00"
@.str.9 = [4 x i8] c"DXF\00"
@.str.10 = [8 x i8] c"DiscRec\00"
@.str.11 = [5 x i8] c"GZip\00"
@.str.12 = [9 x i8] c"Resource\00"
@.str.13 = [5 x i8] c"HTML\00"
@.str.14 = [9 x i8] c"Allocate\00"
@.str.15 = [6 x i8] c"Patch\00"
@.str.16 = [9 x i8] c"PrntDefn\00"
@.str.17 = [7 x i8] c"Squash\00"
@.str.18 = [9 x i8] c"HardDisc\00"
@.str.19 = [11 x i8] c"FloppyDisc\00"
@.str.20 = [9 x i8] c"BASICTxt\00"
@.str.21 = [5 x i8] c"Make\00"
@.str.22 = [9 x i8] c"TaskExec\00"
@.str.23 = [9 x i8] c"TaskObey\00"
@.str.24 = [9 x i8] c"TextCRLF\00"
@.str.25 = [8 x i8] c"Desktop\00"
@.str.26 = [5 x i8] c"Obey\00"
@.str.27 = [9 x i8] c"Template\00"
@.str.28 = [8 x i8] c"Palette\00"
@.str.29 = [7 x i8] c"Config\00"
@.str.30 = [9 x i8] c"PoScript\00"
@.str.31 = [5 x i8] c"Font\00"
@.str.32 = [9 x i8] c"Absolute\00"
@.str.33 = [7 x i8] c"Sprite\00"
@.str.34 = [7 x i8] c"Module\00"
@.str.35 = [6 x i8] c"Basic\00"
@.str.36 = [8 x i8] c"Utility\00"
@.str.37 = [5 x i8] c"Data\00"
@.str.38 = [8 x i8] c"Command\00"
@.str.39 = [5 x i8] c"Text\00"
@.str.40 = [1 x i8] zeroinitializer
define i8* @adfs_filetype(i32 %0) {
%2 = alloca i8*
%3 = alloca i32
store i32 %0, i32* %3
%4 = load i32, i32* %3
switch i32 %4, label %45 [
i32 1685, label %5
i32 2705, label %6
i32 2783, label %7
i32 2793, label %8
i32 2801, label %9
i32 2815, label %10
i32 2912, label %11
i32 3205, label %12
i32 3548, label %13
i32 3562, label %14
i32 3564, label %15
i32 3977, label %16
i32 4014, label %17
i32 4015, label %18
i32 4016, label %19
i32 4035, label %20
i32 4038, label %21
i32 4042, label %22
i32 4045, label %23
i32 4046, label %24
i32 4049, label %25
i32 4065, label %26
i32 4054, label %27
i32 4055, label %28
i32 4059, label %29
i32 4074, label %30
i32 4075, label %31
i32 4076, label %32
i32 4077, label %33
i32 4082, label %34
i32 4085, label %35
i32 4086, label %36
i32 4088, label %37
i32 4089, label %38
i32 4090, label %39
i32 4091, label %40
i32 4092, label %41
i32 4093, label %42
i32 4094, label %43
i32 4095, label %44
]
5: ; preds = %1
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8** %2
br label %46
6: ; preds = %1
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8** %2
br label %46
7: ; preds = %1
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8** %2
br label %46
8: ; preds = %1
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8** %2
br label %46
9: ; preds = %1
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i8** %2
br label %46
10: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), i8** %2
br label %46
11: ; preds = %1
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8** %2
br label %46
12: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i8** %2
br label %46
13: ; preds = %1
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i64 0, i64 0), i8** %2
br label %46
14: ; preds = %1
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0), i8** %2
br label %46
15: ; preds = %1
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i64 0, i64 0), i8** %2
br label %46
16: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i8** %2
br label %46
17: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.12, i64 0, i64 0), i8** %2
br label %46
18: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.13, i64 0, i64 0), i8** %2
br label %46
19: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.14, i64 0, i64 0), i8** %2
br label %46
20: ; preds = %1
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.15, i64 0, i64 0), i8** %2
br label %46
21: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.16, i64 0, i64 0), i8** %2
br label %46
22: ; preds = %1
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.17, i64 0, i64 0), i8** %2
br label %46
23: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.18, i64 0, i64 0), i8** %2
br label %46
24: ; preds = %1
store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.19, i64 0, i64 0), i8** %2
br label %46
25: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.20, i64 0, i64 0), i8** %2
br label %46
26: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.21, i64 0, i64 0), i8** %2
br label %46
27: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.22, i64 0, i64 0), i8** %2
br label %46
28: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.23, i64 0, i64 0), i8** %2
br label %46
29: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.24, i64 0, i64 0), i8** %2
br label %46
30: ; preds = %1
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.25, i64 0, i64 0), i8** %2
br label %46
31: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.26, i64 0, i64 0), i8** %2
br label %46
32: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.27, i64 0, i64 0), i8** %2
br label %46
33: ; preds = %1
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.28, i64 0, i64 0), i8** %2
br label %46
34: ; preds = %1
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.29, i64 0, i64 0), i8** %2
br label %46
35: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.30, i64 0, i64 0), i8** %2
br label %46
36: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.31, i64 0, i64 0), i8** %2
br label %46
37: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.32, i64 0, i64 0), i8** %2
br label %46
38: ; preds = %1
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.33, i64 0, i64 0), i8** %2
br label %46
39: ; preds = %1
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.34, i64 0, i64 0), i8** %2
br label %46
40: ; preds = %1
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.35, i64 0, i64 0), i8** %2
br label %46
41: ; preds = %1
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.36, i64 0, i64 0), i8** %2
br label %46
42: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.37, i64 0, i64 0), i8** %2
br label %46
43: ; preds = %1
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.38, i64 0, i64 0), i8** %2
br label %46
44: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.39, i64 0, i64 0), i8** %2
br label %46
45: ; preds = %1
store i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.40, i64 0, i64 0), i8** %2
br label %46
46: ; preds = %45, %44, %43, %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
%47 = load i8*, i8** %2
ret i8* %47
}

LLVM IR (-O2):
@.str = [4 x i8] c"GIF\00"
@.str.1 = [4 x i8] c"Zip\00"
@.str.2 = [4 x i8] c"PDF\00"
@.str.3 = [6 x i8] c"Alarm\00"
@.str.4 = [6 x i8] c"Music\00"
@.str.5 = [9 x i8] c"DrawFile\00"
@.str.6 = [4 x i8] c"PNG\00"
@.str.7 = [5 x i8] c"JPEG\00"
@.str.8 = [8 x i8] c"Archive\00"
@.str.9 = [4 x i8] c"DXF\00"
@.str.10 = [8 x i8] c"DiscRec\00"
@.str.11 = [5 x i8] c"GZip\00"
@.str.12 = [9 x i8] c"Resource\00"
@.str.13 = [5 x i8] c"HTML\00"
@.str.14 = [9 x i8] c"Allocate\00"
@.str.15 = [6 x i8] c"Patch\00"
@.str.16 = [9 x i8] c"PrntDefn\00"
@.str.17 = [7 x i8] c"Squash\00"
@.str.18 = [9 x i8] c"HardDisc\00"
@.str.19 = [11 x i8] c"FloppyDisc\00"
@.str.20 = [9 x i8] c"BASICTxt\00"
@.str.21 = [5 x i8] c"Make\00"
@.str.22 = [9 x i8] c"TaskExec\00"
@.str.23 = [9 x i8] c"TaskObey\00"
@.str.24 = [9 x i8] c"TextCRLF\00"
@.str.25 = [8 x i8] c"Desktop\00"
@.str.26 = [5 x i8] c"Obey\00"
@.str.27 = [9 x i8] c"Template\00"
@.str.28 = [8 x i8] c"Palette\00"
@.str.29 = [7 x i8] c"Config\00"
@.str.30 = [9 x i8] c"PoScript\00"
@.str.31 = [5 x i8] c"Font\00"
@.str.32 = [9 x i8] c"Absolute\00"
@.str.33 = [7 x i8] c"Sprite\00"
@.str.34 = [7 x i8] c"Module\00"
@.str.35 = [6 x i8] c"Basic\00"
@.str.36 = [8 x i8] c"Utility\00"
@.str.37 = [5 x i8] c"Data\00"
@.str.38 = [8 x i8] c"Command\00"
@.str.39 = [5 x i8] c"Text\00"
@.str.40 = [1 x i8] zeroinitializer
define i8* @adfs_filetype(i32 %0) {
switch i32 %0, label %41 [
i32 1685, label %42
i32 2705, label %2
i32 2783, label %3
i32 2793, label %4
i32 2801, label %5
i32 2815, label %6
i32 2912, label %7
i32 3205, label %8
i32 3548, label %9
i32 3562, label %10
i32 3564, label %11
i32 3977, label %12
i32 4014, label %13
i32 4015, label %14
i32 4016, label %15
i32 4035, label %16
i32 4038, label %17
i32 4042, label %18
i32 4045, label %19
i32 4046, label %20
i32 4049, label %21
i32 4065, label %22
i32 4054, label %23
i32 4055, label %24
i32 4059, label %25
i32 4074, label %26
i32 4075, label %27
i32 4076, label %28
i32 4077, label %29
i32 4082, label %30
i32 4085, label %31
i32 4086, label %32
i32 4088, label %33
i32 4089, label %34
i32 4090, label %35
i32 4091, label %36
i32 4092, label %37
i32 4093, label %38
i32 4094, label %39
i32 4095, label %40
]
2: ; preds = %1
br label %42
3: ; preds = %1
br label %42
4: ; preds = %1
br label %42
5: ; preds = %1
br label %42
6: ; preds = %1
br label %42
7: ; preds = %1
br label %42
8: ; preds = %1
br label %42
9: ; preds = %1
br label %42
10: ; preds = %1
br label %42
11: ; preds = %1
br label %42
12: ; preds = %1
br label %42
13: ; preds = %1
br label %42
14: ; preds = %1
br label %42
15: ; preds = %1
br label %42
16: ; preds = %1
br label %42
17: ; preds = %1
br label %42
18: ; preds = %1
br label %42
19: ; preds = %1
br label %42
20: ; preds = %1
br label %42
21: ; preds = %1
br label %42
22: ; preds = %1
br label %42
23: ; preds = %1
br label %42
24: ; preds = %1
br label %42
25: ; preds = %1
br label %42
26: ; preds = %1
br label %42
27: ; preds = %1
br label %42
28: ; preds = %1
br label %42
29: ; preds = %1
br label %42
30: ; preds = %1
br label %42
31: ; preds = %1
br label %42
32: ; preds = %1
br label %42
33: ; preds = %1
br label %42
34: ; preds = %1
br label %42
35: ; preds = %1
br label %42
36: ; preds = %1
br label %42
37: ; preds = %1
br label %42
38: ; preds = %1
br label %42
39: ; preds = %1
br label %42
40: ; preds = %1
br label %42
41: ; preds = %1
br label %42
42: ; preds = %1, %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, %4, %3, %2
%43 = phi i8* [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str.40, i64 0, i64 0), %41 ], [ getelementptr inbounds ([5 x i8], [5 x i8]* @.str.39, i64 0, i64 0), %40 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.38, i64 0, i64 0), %39 ], [ getelementptr inbounds ([5 x i8], [5 x i8]* @.str.37, i64 0, i64 0), %38 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.36, i64 0, i64 0), %37 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.35, i64 0, i64 0), %36 ], [ getelementptr inbounds ([7 x i8], [7 x i8]* @.str.34, i64 0, i64 0), %35 ], [ getelementptr inbounds ([7 x i8], [7 x i8]* @.str.33, i64 0, i64 0), %34 ], [ getelementptr inbounds ([9 x i8], [9 x i8]* @.str.32, i64 0, i64 0), %33 ], [ getelementptr inbounds ([5 x i8], [5 x i8]* @.str.31, i64 0, i64 0), %32 ], [ getelementptr inbounds ([9 x i8], [9 x i8]* @.str.30, i64 0, i64 0), %31 ], [ getelementptr inbounds ([7 x i8], [7 x i8]* @.str.29, i64 0, i64 0), %30 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.28, i64 0, i64 0), %29 ], [ getelementptr inbounds ([9 x i8], [9 x i8]* @.str.27, i64 0, i64 0), %28 ], [ getelementptr inbounds ([5 x i8], [5 x i8]* @.str.26, i64 0, i64 0), %27 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.25, i64 0, i64 0), %26 ], [ getelementptr inbounds ([9 x i8], [9 x i8]* @.str.24, i64 0, i64 0), %25 ], [ getelementptr inbounds ([9 x i8], [9 x i8]* @.str.23, i64 0, i64 0), %24 ], [ getelementptr inbounds ([9 x i8], [9 x i8]* @.str.22, i64 0, i64 0), %23 ], [ getelementptr inbounds ([5 x i8], [5 x i8]* @.str.21, i64 0, i64 0), %22 ], [ getelementptr inbounds ([9 x i8], [9 x i8]* @.str.20, i64 0, i64 0), %21 ], [ getelementptr inbounds ([11 x i8], [11 x i8]* @.str.19, i64 0, i64 0), %20 ], [ getelementptr inbounds ([9 x i8], [9 x i8]* @.str.18, i64 0, i64 0), %19 ], [ getelementptr inbounds ([7 x i8], [7 x i8]* @.str.17, i64 0, i64 0), %18 ], [ getelementptr inbounds ([9 x i8], [9 x i8]* @.str.16, i64 0, i64 0), %17 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.15, i64 0, i64 0), %16 ], [ getelementptr inbounds ([9 x i8], [9 x i8]* @.str.14, i64 0, i64 0), %15 ], [ getelementptr inbounds ([5 x i8], [5 x i8]* @.str.13, i64 0, i64 0), %14 ], [ getelementptr inbounds ([9 x i8], [9 x i8]* @.str.12, i64 0, i64 0), %13 ], [ getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), %12 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i64 0, i64 0), %11 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0), %10 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i64 0, i64 0), %9 ], [ getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), %8 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), %7 ], [ getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), %6 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), %5 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), %4 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), %3 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), %2 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), %1 ]
ret i8* %43
}