char *mus_header_type2string(int type) {
  switch (type) {
  case 0:
    return ("Sun");
    break;
  case 1:
    return ("AIFC");
    break;
  case 2:
    return ("RIFF");
    break;
  case 3:
    return ("BICSF");
    break;
  case 4:
    return ("NIST");
    break;
  case 5:
    return ("INRS");
    break;
  case 6:
    return ("ESPS");
    break;
  case 7:
    return ("SVX8");
    break;
  case 8:
    return ("VOC");
    break;
  case 9:
    return ("SNDT");
    break;
  case 10:
    return ("raw (no header)");
    break;
  case 11:
    return ("SMP");
    break;
  case 12:
    return ("Sound Designer 2");
    break;
  case 13:
    return ("AVR");
    break;
  case 14:
    return ("IRCAM");
    break;
  case 15:
    return ("Sound Designer 1");
    break;
  case 16:
    return ("SPPACK");
    break;
  case 17:
    return ("Mus10");
    break;
  case 18:
    return ("HCOM");
    break;
  case 19:
    return ("PSION");
    break;
  case 20:
    return ("MAUD");
    break;
  case 21:
    return ("IEEE text");
    break;
  case 22:
    return ("DeskMate");
    break;
  case 23:
    return ("DeskMate_2500");
    break;
  case 24:
    return ("Matlab");
    break;
  case 25:
    return ("ADC/OGI");
    break;
  case 26:
    return ("SoundEdit");
    break;
  case 27:
    return ("SoundEdit 16");
    break;
  case 28:
    return ("DVSM");
    break;
  case 29:
    return ("MIDI");
    break;
  case 30:
    return ("Esignal");
    break;
  case 31:
    return ("SoundFont");
    break;
  case 32:
    return ("Gravis Ultrasound patch");
    break;
  case 33:
    return ("Comdisco SPW signal");
    break;
  case 34:
    return ("Goldwave sample");
    break;
  case 35:
    return ("SRFS");
    break;
  case 36:
    return ("MIDI sample dump");
    break;
  case 37:
    return ("DiamondWare");
    break;
  case 38:
    return ("RealAudio");
    break;
  case 39:
    return ("CSRE adf");
    break;
  case 40:
    return ("SBStudioII");
    break;
  case 41:
    return ("Delusion");
    break;
  case 42:
    return ("Farandole");
    break;
  case 43:
    return ("Sample dump");
    break;
  case 44:
    return ("Ultratracker");
    break;
  case 46:
    return ("TX-16");
    break;
  case 45:
    return ("Sy-85");
    break;
  case 54:
    return ("Sy-99");
    break;
  case 55:
    return ("Kurzweil 2000");
    break;
  case 47:
    return ("Digiplayer ST3");
    break;
  case 48:
    return ("Covox V8");
    break;
  case 49:
    return ("Digitracker SPL");
    break;
  case 50:
    return ("AVI");
    break;
  case 51:
    return ("OMF");
    break;
  case 52:
    return ("Quicktime");
    break;
  case 53:
    return ("asf");
    break;
  case 56:
    return ("AIFF");
    break;
  default:
    return ("unknown");
    break;
  }
}


x86 assembly (clang, -O0):
<mus_header_type2string>:
push   %rbp
mov    %rsp,%rbp
mov    %edi,-0xc(%rbp)
mov    -0xc(%rbp),%eax
mov    %rax,-0x18(%rbp)
sub    $0x38,%rax
ja     14bc <mus_header_type2string+0x3bc>
mov    -0x18(%rbp),%rax
lea    0xedd(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xfb1(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xfa5(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xf9a(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xf8f(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xf85(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xf7a(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xf6f(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xf64(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xf59(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xf4d(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xf42(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xf42(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xf36(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xf37(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xf2b(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xf21(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xf22(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xf19(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xf0f(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xf04(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xefa(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xeef(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xee9(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xee2(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xee0(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xed7(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xecf(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xec9(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xec6(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xebb(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xeb0(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xea8(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xea2(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xeaa(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xeae(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xeae(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xea3(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xea4(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xea0(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xe9a(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xe93(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xe8e(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xe87(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xe81(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xe7d(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xe7a(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xe70(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xe66(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xe5c(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xe5a(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xe59(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xe52(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xe52(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xe46(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xe3a(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xe34(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xe28(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    14c7 <mus_header_type2string+0x3c7>
lea    0xe1d(%rip),%rax
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rax
pop    %rbp
ret

x86 assembly (clang, -O2):
<mus_header_type2string>:
cmp    $0x38,%edi
ja     1117 <mus_header_type2string+0x17>
movslq %edi,%rax
lea    0x10f5(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
ret
lea    0x10de(%rip),%rax
ret

LLVM IR (-O0):
@.str = [4 x i8] c"Sun\00"
@.str.1 = [5 x i8] c"AIFC\00"
@.str.2 = [5 x i8] c"RIFF\00"
@.str.3 = [6 x i8] c"BICSF\00"
@.str.4 = [5 x i8] c"NIST\00"
@.str.5 = [5 x i8] c"INRS\00"
@.str.6 = [5 x i8] c"ESPS\00"
@.str.7 = [5 x i8] c"SVX8\00"
@.str.8 = [4 x i8] c"VOC\00"
@.str.9 = [5 x i8] c"SNDT\00"
@.str.10 = [16 x i8] c"raw (no header)\00"
@.str.11 = [4 x i8] c"SMP\00"
@.str.12 = [17 x i8] c"Sound Designer 2\00"
@.str.13 = [4 x i8] c"AVR\00"
@.str.14 = [6 x i8] c"IRCAM\00"
@.str.15 = [17 x i8] c"Sound Designer 1\00"
@.str.16 = [7 x i8] c"SPPACK\00"
@.str.17 = [6 x i8] c"Mus10\00"
@.str.18 = [5 x i8] c"HCOM\00"
@.str.19 = [6 x i8] c"PSION\00"
@.str.20 = [5 x i8] c"MAUD\00"
@.str.21 = [10 x i8] c"IEEE text\00"
@.str.22 = [9 x i8] c"DeskMate\00"
@.str.23 = [14 x i8] c"DeskMate_2500\00"
@.str.24 = [7 x i8] c"Matlab\00"
@.str.25 = [8 x i8] c"ADC/OGI\00"
@.str.26 = [10 x i8] c"SoundEdit\00"
@.str.27 = [13 x i8] c"SoundEdit 16\00"
@.str.28 = [5 x i8] c"DVSM\00"
@.str.29 = [5 x i8] c"MIDI\00"
@.str.30 = [8 x i8] c"Esignal\00"
@.str.31 = [10 x i8] c"SoundFont\00"
@.str.32 = [24 x i8] c"Gravis Ultrasound patch\00"
@.str.33 = [20 x i8] c"Comdisco SPW signal\00"
@.str.34 = [16 x i8] c"Goldwave sample\00"
@.str.35 = [5 x i8] c"SRFS\00"
@.str.36 = [17 x i8] c"MIDI sample dump\00"
@.str.37 = [12 x i8] c"DiamondWare\00"
@.str.38 = [10 x i8] c"RealAudio\00"
@.str.39 = [9 x i8] c"CSRE adf\00"
@.str.40 = [11 x i8] c"SBStudioII\00"
@.str.41 = [9 x i8] c"Delusion\00"
@.str.42 = [10 x i8] c"Farandole\00"
@.str.43 = [12 x i8] c"Sample dump\00"
@.str.44 = [13 x i8] c"Ultratracker\00"
@.str.45 = [6 x i8] c"TX-16\00"
@.str.46 = [6 x i8] c"Sy-85\00"
@.str.47 = [6 x i8] c"Sy-99\00"
@.str.48 = [14 x i8] c"Kurzweil 2000\00"
@.str.49 = [15 x i8] c"Digiplayer ST3\00"
@.str.50 = [9 x i8] c"Covox V8\00"
@.str.51 = [16 x i8] c"Digitracker SPL\00"
@.str.52 = [4 x i8] c"AVI\00"
@.str.53 = [4 x i8] c"OMF\00"
@.str.54 = [10 x i8] c"Quicktime\00"
@.str.55 = [4 x i8] c"asf\00"
@.str.56 = [5 x i8] c"AIFF\00"
@.str.57 = [8 x i8] c"unknown\00"
define i8* @mus_header_type2string(i32 %0) {
%2 = alloca i8*
%3 = alloca i32
store i32 %0, i32* %3
%4 = load i32, i32* %3
switch i32 %4, label %62 [
i32 0, label %5
i32 1, label %6
i32 2, label %7
i32 3, label %8
i32 4, label %9
i32 5, label %10
i32 6, label %11
i32 7, label %12
i32 8, label %13
i32 9, label %14
i32 10, label %15
i32 11, label %16
i32 12, label %17
i32 13, label %18
i32 14, label %19
i32 15, label %20
i32 16, label %21
i32 17, label %22
i32 18, label %23
i32 19, label %24
i32 20, label %25
i32 21, label %26
i32 22, label %27
i32 23, label %28
i32 24, label %29
i32 25, label %30
i32 26, label %31
i32 27, label %32
i32 28, label %33
i32 29, label %34
i32 30, label %35
i32 31, label %36
i32 32, label %37
i32 33, label %38
i32 34, label %39
i32 35, label %40
i32 36, label %41
i32 37, label %42
i32 38, label %43
i32 39, label %44
i32 40, label %45
i32 41, label %46
i32 42, label %47
i32 43, label %48
i32 44, label %49
i32 46, label %50
i32 45, label %51
i32 54, label %52
i32 55, label %53
i32 47, label %54
i32 48, label %55
i32 49, label %56
i32 50, label %57
i32 51, label %58
i32 52, label %59
i32 53, label %60
i32 56, label %61
]
5: ; preds = %1
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8** %2
br label %63
6: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8** %2
br label %63
7: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8** %2
br label %63
8: ; preds = %1
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8** %2
br label %63
9: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8** %2
br label %63
10: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i8** %2
br label %63
11: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i8** %2
br label %63
12: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), i8** %2
br label %63
13: ; preds = %1
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0), i8** %2
br label %63
14: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0), i8** %2
br label %63
15: ; preds = %1
store i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.10, i64 0, i64 0), i8** %2
br label %63
16: ; preds = %1
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0), i8** %2
br label %63
17: ; preds = %1
store i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.12, i64 0, i64 0), i8** %2
br label %63
18: ; preds = %1
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0), i8** %2
br label %63
19: ; preds = %1
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.14, i64 0, i64 0), i8** %2
br label %63
20: ; preds = %1
store i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.15, i64 0, i64 0), i8** %2
br label %63
21: ; preds = %1
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.16, i64 0, i64 0), i8** %2
br label %63
22: ; preds = %1
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.17, i64 0, i64 0), i8** %2
br label %63
23: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.18, i64 0, i64 0), i8** %2
br label %63
24: ; preds = %1
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.19, i64 0, i64 0), i8** %2
br label %63
25: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.20, i64 0, i64 0), i8** %2
br label %63
26: ; preds = %1
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.21, i64 0, i64 0), i8** %2
br label %63
27: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.22, i64 0, i64 0), i8** %2
br label %63
28: ; preds = %1
store i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.23, i64 0, i64 0), i8** %2
br label %63
29: ; preds = %1
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.24, i64 0, i64 0), i8** %2
br label %63
30: ; preds = %1
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.25, i64 0, i64 0), i8** %2
br label %63
31: ; preds = %1
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.26, i64 0, i64 0), i8** %2
br label %63
32: ; preds = %1
store i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.27, i64 0, i64 0), i8** %2
br label %63
33: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.28, i64 0, i64 0), i8** %2
br label %63
34: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.29, i64 0, i64 0), i8** %2
br label %63
35: ; preds = %1
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.30, i64 0, i64 0), i8** %2
br label %63
36: ; preds = %1
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.31, i64 0, i64 0), i8** %2
br label %63
37: ; preds = %1
store i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.32, i64 0, i64 0), i8** %2
br label %63
38: ; preds = %1
store i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.33, i64 0, i64 0), i8** %2
br label %63
39: ; preds = %1
store i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.34, i64 0, i64 0), i8** %2
br label %63
40: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.35, i64 0, i64 0), i8** %2
br label %63
41: ; preds = %1
store i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.36, i64 0, i64 0), i8** %2
br label %63
42: ; preds = %1
store i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.37, i64 0, i64 0), i8** %2
br label %63
43: ; preds = %1
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.38, i64 0, i64 0), i8** %2
br label %63
44: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.39, i64 0, i64 0), i8** %2
br label %63
45: ; preds = %1
store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.40, i64 0, i64 0), i8** %2
br label %63
46: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.41, i64 0, i64 0), i8** %2
br label %63
47: ; preds = %1
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.42, i64 0, i64 0), i8** %2
br label %63
48: ; preds = %1
store i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.43, i64 0, i64 0), i8** %2
br label %63
49: ; preds = %1
store i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.44, i64 0, i64 0), i8** %2
br label %63
50: ; preds = %1
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.45, i64 0, i64 0), i8** %2
br label %63
51: ; preds = %1
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.46, i64 0, i64 0), i8** %2
br label %63
52: ; preds = %1
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.47, i64 0, i64 0), i8** %2
br label %63
53: ; preds = %1
store i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.48, i64 0, i64 0), i8** %2
br label %63
54: ; preds = %1
store i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.49, i64 0, i64 0), i8** %2
br label %63
55: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.50, i64 0, i64 0), i8** %2
br label %63
56: ; preds = %1
store i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.51, i64 0, i64 0), i8** %2
br label %63
57: ; preds = %1
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.52, i64 0, i64 0), i8** %2
br label %63
58: ; preds = %1
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.53, i64 0, i64 0), i8** %2
br label %63
59: ; preds = %1
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.54, i64 0, i64 0), i8** %2
br label %63
60: ; preds = %1
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.55, i64 0, i64 0), i8** %2
br label %63
61: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.56, i64 0, i64 0), i8** %2
br label %63
62: ; preds = %1
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.57, i64 0, i64 0), i8** %2
br label %63
63: ; preds = %62, %61, %60, %59, %58, %57, %56, %55, %54, %53, %52, %51, %50, %49, %48, %47, %46, %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
%64 = load i8*, i8** %2
ret i8* %64
}

LLVM IR (-O2):
@.str = [4 x i8] c"Sun\00"
@.str.1 = [5 x i8] c"AIFC\00"
@.str.2 = [5 x i8] c"RIFF\00"
@.str.3 = [6 x i8] c"BICSF\00"
@.str.4 = [5 x i8] c"NIST\00"
@.str.5 = [5 x i8] c"INRS\00"
@.str.6 = [5 x i8] c"ESPS\00"
@.str.7 = [5 x i8] c"SVX8\00"
@.str.8 = [4 x i8] c"VOC\00"
@.str.9 = [5 x i8] c"SNDT\00"
@.str.10 = [16 x i8] c"raw (no header)\00"
@.str.11 = [4 x i8] c"SMP\00"
@.str.12 = [17 x i8] c"Sound Designer 2\00"
@.str.13 = [4 x i8] c"AVR\00"
@.str.14 = [6 x i8] c"IRCAM\00"
@.str.15 = [17 x i8] c"Sound Designer 1\00"
@.str.16 = [7 x i8] c"SPPACK\00"
@.str.17 = [6 x i8] c"Mus10\00"
@.str.18 = [5 x i8] c"HCOM\00"
@.str.19 = [6 x i8] c"PSION\00"
@.str.20 = [5 x i8] c"MAUD\00"
@.str.21 = [10 x i8] c"IEEE text\00"
@.str.22 = [9 x i8] c"DeskMate\00"
@.str.23 = [14 x i8] c"DeskMate_2500\00"
@.str.24 = [7 x i8] c"Matlab\00"
@.str.25 = [8 x i8] c"ADC/OGI\00"
@.str.26 = [10 x i8] c"SoundEdit\00"
@.str.27 = [13 x i8] c"SoundEdit 16\00"
@.str.28 = [5 x i8] c"DVSM\00"
@.str.29 = [5 x i8] c"MIDI\00"
@.str.30 = [8 x i8] c"Esignal\00"
@.str.31 = [10 x i8] c"SoundFont\00"
@.str.32 = [24 x i8] c"Gravis Ultrasound patch\00"
@.str.33 = [20 x i8] c"Comdisco SPW signal\00"
@.str.34 = [16 x i8] c"Goldwave sample\00"
@.str.35 = [5 x i8] c"SRFS\00"
@.str.36 = [17 x i8] c"MIDI sample dump\00"
@.str.37 = [12 x i8] c"DiamondWare\00"
@.str.38 = [10 x i8] c"RealAudio\00"
@.str.39 = [9 x i8] c"CSRE adf\00"
@.str.40 = [11 x i8] c"SBStudioII\00"
@.str.41 = [9 x i8] c"Delusion\00"
@.str.42 = [10 x i8] c"Farandole\00"
@.str.43 = [12 x i8] c"Sample dump\00"
@.str.44 = [13 x i8] c"Ultratracker\00"
@.str.45 = [6 x i8] c"TX-16\00"
@.str.46 = [6 x i8] c"Sy-85\00"
@.str.47 = [6 x i8] c"Sy-99\00"
@.str.48 = [14 x i8] c"Kurzweil 2000\00"
@.str.49 = [15 x i8] c"Digiplayer ST3\00"
@.str.50 = [9 x i8] c"Covox V8\00"
@.str.51 = [16 x i8] c"Digitracker SPL\00"
@.str.52 = [4 x i8] c"AVI\00"
@.str.53 = [4 x i8] c"OMF\00"
@.str.54 = [10 x i8] c"Quicktime\00"
@.str.55 = [4 x i8] c"asf\00"
@.str.56 = [5 x i8] c"AIFF\00"
@.str.57 = [8 x i8] c"unknown\00"
@reltable.mus_header_type2string = [57 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.1 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.2 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.3 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.4 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.5 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.6 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.7 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.8 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.9 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([16 x i8]* @.str.10 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.11 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([17 x i8]* @.str.12 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.13 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.14 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([17 x i8]* @.str.15 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([7 x i8]* @.str.16 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.17 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.18 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.19 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.20 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @.str.21 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.22 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([14 x i8]* @.str.23 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([7 x i8]* @.str.24 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.25 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @.str.26 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([13 x i8]* @.str.27 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.28 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.29 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.30 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @.str.31 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([24 x i8]* @.str.32 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([20 x i8]* @.str.33 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([16 x i8]* @.str.34 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.35 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([17 x i8]* @.str.36 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([12 x i8]* @.str.37 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @.str.38 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.39 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([11 x i8]* @.str.40 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.41 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @.str.42 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([12 x i8]* @.str.43 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([13 x i8]* @.str.44 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.46 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.45 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([15 x i8]* @.str.49 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.50 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([16 x i8]* @.str.51 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.52 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.53 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @.str.54 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.55 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.47 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([14 x i8]* @.str.48 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.56 to i64), i64 ptrtoint ([57 x i32]* @reltable.mus_header_type2string to i64)) to i32)]
define i8* @mus_header_type2string(i32 %0) {
%2 = icmp ult i32 %0, 57
br i1 %2, label %3, label %7
3: ; preds = %1
%4 = sext i32 %0 to i64
%5 = shl i64 %4, 2
%6 = call i8* @llvm.load.relative.i64(i8* bitcast ([57 x i32]* @reltable.mus_header_type2string to i8*), i64 %5)
br label %7
7: ; preds = %1, %3
%8 = phi i8* [ %6, %3 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.57, i64 0, i64 0), %1 ]
ret i8* %8
}