char *U_pmr_names(unsigned int idx) {
  if (idx < 1 || idx > 58) {
    idx = 0;
  }
  static char *U_PMR_NAMES[58 + 1] = {"U_PMR_INVALID",
                                      "U_PMR_Header",
                                      "U_PMR_EndOfFile",
                                      "U_PMR_Comment",
                                      "U_PMR_GetDC",
                                      "U_PMR_MultiFormatStart",
                                      "U_PMR_MultiFormatSection",
                                      "U_PMR_MultiFormatEnd",
                                      "U_PMR_Object",
                                      "U_PMR_Clear",
                                      "U_PMR_FillRects",
                                      "U_PMR_DrawRects",
                                      "U_PMR_FillPolygon",
                                      "U_PMR_DrawLines",
                                      "U_PMR_FillEllipse",
                                      "U_PMR_DrawEllipse",
                                      "U_PMR_FillPie",
                                      "U_PMR_DrawPie",
                                      "U_PMR_DrawArc",
                                      "U_PMR_FillRegion",
                                      "U_PMR_FillPath",
                                      "U_PMR_DrawPath",
                                      "U_PMR_FillClosedCurve",
                                      "U_PMR_DrawClosedCurve",
                                      "U_PMR_DrawCurve",
                                      "U_PMR_DrawBeziers",
                                      "U_PMR_DrawImage",
                                      "U_PMR_DrawImagePoints",
                                      "U_PMR_DrawString",
                                      "U_PMR_SetRenderingOrigin",
                                      "U_PMR_SetAntiAliasMode",
                                      "U_PMR_SetTextRenderingHint",
                                      "U_PMR_SetTextContrast",
                                      "U_PMR_SetInterpolationMode",
                                      "U_PMR_SetPixelOffsetMode",
                                      "U_PMR_SetCompositingMode",
                                      "U_PMR_SetCompositingQuality",
                                      "U_PMR_Save",
                                      "U_PMR_Restore",
                                      "U_PMR_BeginContainer",
                                      "U_PMR_BeginContainerNoParams",
                                      "U_PMR_EndContainer",
                                      "U_PMR_SetWorldTransform",
                                      "U_PMR_ResetWorldTransform",
                                      "U_PMR_MultiplyWorldTransform",
                                      "U_PMR_TranslateWorldTransform",
                                      "U_PMR_ScaleWorldTransform",
                                      "U_PMR_RotateWorldTransform",
                                      "U_PMR_SetPageTransform",
                                      "U_PMR_ResetClip",
                                      "U_PMR_SetClipRect",
                                      "U_PMR_SetClipPath",
                                      "U_PMR_SetClipRegion",
                                      "U_PMR_OffsetClip",
                                      "U_PMR_DrawDriverstring",
                                      "U_PMR_StrokeFillPath",
                                      "U_PMR_SerializableObject",
                                      "U_PMR_SetTSGraphics",
                                      "U_PMR_SetTSClip"};
  return (U_PMR_NAMES[idx]);
}


x86 assembly (clang, -O0):
<U_pmr_names>:
push   %rbp
mov    %rsp,%rbp
mov    %edi,-0x4(%rbp)
cmpl   $0x1,-0x4(%rbp)
jb     111b <U_pmr_names+0x1b>
cmpl   $0x3a,-0x4(%rbp)
jbe    1122 <U_pmr_names+0x22>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
mov    %eax,%ecx
lea    0x2f02(%rip),%rax
mov    (%rax,%rcx,8),%rax
pop    %rbp
ret

x86 assembly (clang, -O2):
<U_pmr_names>:
lea    -0x3b(%rdi),%eax
xor    %ecx,%ecx
cmp    $0xffffffc6,%eax
cmovae %edi,%ecx
lea    0xeee(%rip),%rdx
movslq (%rdx,%rcx,4),%rax
add    %rdx,%rax
ret

LLVM IR (-O0):
@U_pmr_names.U_PMR_NAMES = internal global [59 x i8*] [i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.2, i32 0, i32 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i32 0, i32 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i32 0, i32 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.5, i32 0, i32 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.6, i32 0, i32 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.7, i32 0, i32 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.8, i32 0, i32 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.9, i32 0, i32 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.10, i32 0, i32 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.11, i32 0, i32 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.12, i32 0, i32 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.13, i32 0, i32 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.14, i32 0, i32 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.15, i32 0, i32 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.16, i32 0, i32 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.17, i32 0, i32 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.18, i32 0, i32 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.19, i32 0, i32 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.20, i32 0, i32 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.21, i32 0, i32 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.22, i32 0, i32 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.23, i32 0, i32 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.24, i32 0, i32 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.25, i32 0, i32 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.26, i32 0, i32 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.27, i32 0, i32 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.28, i32 0, i32 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.29, i32 0, i32 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.30, i32 0, i32 0), i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.31, i32 0, i32 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.32, i32 0, i32 0), i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.33, i32 0, i32 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.34, i32 0, i32 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.35, i32 0, i32 0), i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.36, i32 0, i32 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.37, i32 0, i32 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.38, i32 0, i32 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.39, i32 0, i32 0), i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.40, i32 0, i32 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.41, i32 0, i32 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.42, i32 0, i32 0), i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.43, i32 0, i32 0), i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.44, i32 0, i32 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.45, i32 0, i32 0), i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.46, i32 0, i32 0), i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.47, i32 0, i32 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.48, i32 0, i32 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.49, i32 0, i32 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.50, i32 0, i32 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.51, i32 0, i32 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.52, i32 0, i32 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.53, i32 0, i32 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.54, i32 0, i32 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.55, i32 0, i32 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.56, i32 0, i32 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.57, i32 0, i32 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.58, i32 0, i32 0)]
@.str = [14 x i8] c"U_PMR_INVALID\00"
@.str.1 = [13 x i8] c"U_PMR_Header\00"
@.str.2 = [16 x i8] c"U_PMR_EndOfFile\00"
@.str.3 = [14 x i8] c"U_PMR_Comment\00"
@.str.4 = [12 x i8] c"U_PMR_GetDC\00"
@.str.5 = [23 x i8] c"U_PMR_MultiFormatStart\00"
@.str.6 = [25 x i8] c"U_PMR_MultiFormatSection\00"
@.str.7 = [21 x i8] c"U_PMR_MultiFormatEnd\00"
@.str.8 = [13 x i8] c"U_PMR_Object\00"
@.str.9 = [12 x i8] c"U_PMR_Clear\00"
@.str.10 = [16 x i8] c"U_PMR_FillRects\00"
@.str.11 = [16 x i8] c"U_PMR_DrawRects\00"
@.str.12 = [18 x i8] c"U_PMR_FillPolygon\00"
@.str.13 = [16 x i8] c"U_PMR_DrawLines\00"
@.str.14 = [18 x i8] c"U_PMR_FillEllipse\00"
@.str.15 = [18 x i8] c"U_PMR_DrawEllipse\00"
@.str.16 = [14 x i8] c"U_PMR_FillPie\00"
@.str.17 = [14 x i8] c"U_PMR_DrawPie\00"
@.str.18 = [14 x i8] c"U_PMR_DrawArc\00"
@.str.19 = [17 x i8] c"U_PMR_FillRegion\00"
@.str.20 = [15 x i8] c"U_PMR_FillPath\00"
@.str.21 = [15 x i8] c"U_PMR_DrawPath\00"
@.str.22 = [22 x i8] c"U_PMR_FillClosedCurve\00"
@.str.23 = [22 x i8] c"U_PMR_DrawClosedCurve\00"
@.str.24 = [16 x i8] c"U_PMR_DrawCurve\00"
@.str.25 = [18 x i8] c"U_PMR_DrawBeziers\00"
@.str.26 = [16 x i8] c"U_PMR_DrawImage\00"
@.str.27 = [22 x i8] c"U_PMR_DrawImagePoints\00"
@.str.28 = [17 x i8] c"U_PMR_DrawString\00"
@.str.29 = [25 x i8] c"U_PMR_SetRenderingOrigin\00"
@.str.30 = [23 x i8] c"U_PMR_SetAntiAliasMode\00"
@.str.31 = [27 x i8] c"U_PMR_SetTextRenderingHint\00"
@.str.32 = [22 x i8] c"U_PMR_SetTextContrast\00"
@.str.33 = [27 x i8] c"U_PMR_SetInterpolationMode\00"
@.str.34 = [25 x i8] c"U_PMR_SetPixelOffsetMode\00"
@.str.35 = [25 x i8] c"U_PMR_SetCompositingMode\00"
@.str.36 = [28 x i8] c"U_PMR_SetCompositingQuality\00"
@.str.37 = [11 x i8] c"U_PMR_Save\00"
@.str.38 = [14 x i8] c"U_PMR_Restore\00"
@.str.39 = [21 x i8] c"U_PMR_BeginContainer\00"
@.str.40 = [29 x i8] c"U_PMR_BeginContainerNoParams\00"
@.str.41 = [19 x i8] c"U_PMR_EndContainer\00"
@.str.42 = [24 x i8] c"U_PMR_SetWorldTransform\00"
@.str.43 = [26 x i8] c"U_PMR_ResetWorldTransform\00"
@.str.44 = [29 x i8] c"U_PMR_MultiplyWorldTransform\00"
@.str.45 = [30 x i8] c"U_PMR_TranslateWorldTransform\00"
@.str.46 = [26 x i8] c"U_PMR_ScaleWorldTransform\00"
@.str.47 = [27 x i8] c"U_PMR_RotateWorldTransform\00"
@.str.48 = [23 x i8] c"U_PMR_SetPageTransform\00"
@.str.49 = [16 x i8] c"U_PMR_ResetClip\00"
@.str.50 = [18 x i8] c"U_PMR_SetClipRect\00"
@.str.51 = [18 x i8] c"U_PMR_SetClipPath\00"
@.str.52 = [20 x i8] c"U_PMR_SetClipRegion\00"
@.str.53 = [17 x i8] c"U_PMR_OffsetClip\00"
@.str.54 = [23 x i8] c"U_PMR_DrawDriverstring\00"
@.str.55 = [21 x i8] c"U_PMR_StrokeFillPath\00"
@.str.56 = [25 x i8] c"U_PMR_SerializableObject\00"
@.str.57 = [20 x i8] c"U_PMR_SetTSGraphics\00"
@.str.58 = [16 x i8] c"U_PMR_SetTSClip\00"
define i8* @U_pmr_names(i32 %0) {
%2 = alloca i32
store i32 %0, i32* %2
%3 = load i32, i32* %2
%4 = icmp ult i32 %3, 1
br i1 %4, label %8, label %5
5: ; preds = %1
%6 = load i32, i32* %2
%7 = icmp ugt i32 %6, 58
br i1 %7, label %8, label %9
8: ; preds = %5, %1
store i32 0, i32* %2
br label %9
9: ; preds = %8, %5
%10 = load i32, i32* %2
%11 = zext i32 %10 to i64
%12 = getelementptr inbounds [59 x i8*], [59 x i8*]* @U_pmr_names.U_PMR_NAMES, i64 0, i64 %11
%13 = load i8*, i8** %12
ret i8* %13
}

LLVM IR (-O2):
@reltable.U_pmr_names = internal unnamed_addr constant [59 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([14 x i8]* @.str to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([13 x i8]* @.str.1 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([16 x i8]* @.str.2 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([14 x i8]* @.str.3 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([12 x i8]* @.str.4 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([23 x i8]* @.str.5 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([25 x i8]* @.str.6 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([21 x i8]* @.str.7 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([13 x i8]* @.str.8 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([12 x i8]* @.str.9 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([16 x i8]* @.str.10 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([16 x i8]* @.str.11 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([18 x i8]* @.str.12 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([16 x i8]* @.str.13 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([18 x i8]* @.str.14 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([18 x i8]* @.str.15 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([14 x i8]* @.str.16 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([14 x i8]* @.str.17 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([14 x i8]* @.str.18 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([17 x i8]* @.str.19 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([15 x i8]* @.str.20 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([15 x i8]* @.str.21 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([22 x i8]* @.str.22 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([22 x i8]* @.str.23 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([16 x i8]* @.str.24 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([18 x i8]* @.str.25 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([16 x i8]* @.str.26 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([22 x i8]* @.str.27 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([17 x i8]* @.str.28 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([25 x i8]* @.str.29 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([23 x i8]* @.str.30 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([27 x i8]* @.str.31 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([22 x i8]* @.str.32 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([27 x i8]* @.str.33 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([25 x i8]* @.str.34 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([25 x i8]* @.str.35 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([28 x i8]* @.str.36 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([11 x i8]* @.str.37 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([14 x i8]* @.str.38 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([21 x i8]* @.str.39 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([29 x i8]* @.str.40 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([19 x i8]* @.str.41 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([24 x i8]* @.str.42 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([26 x i8]* @.str.43 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([29 x i8]* @.str.44 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([30 x i8]* @.str.45 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([26 x i8]* @.str.46 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([27 x i8]* @.str.47 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([23 x i8]* @.str.48 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([16 x i8]* @.str.49 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([18 x i8]* @.str.50 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([18 x i8]* @.str.51 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([20 x i8]* @.str.52 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([17 x i8]* @.str.53 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([23 x i8]* @.str.54 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([21 x i8]* @.str.55 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([25 x i8]* @.str.56 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([20 x i8]* @.str.57 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([16 x i8]* @.str.58 to i64), i64 ptrtoint ([59 x i32]* @reltable.U_pmr_names to i64)) to i32)]
@.str = [14 x i8] c"U_PMR_INVALID\00"
@.str.1 = [13 x i8] c"U_PMR_Header\00"
@.str.2 = [16 x i8] c"U_PMR_EndOfFile\00"
@.str.3 = [14 x i8] c"U_PMR_Comment\00"
@.str.4 = [12 x i8] c"U_PMR_GetDC\00"
@.str.5 = [23 x i8] c"U_PMR_MultiFormatStart\00"
@.str.6 = [25 x i8] c"U_PMR_MultiFormatSection\00"
@.str.7 = [21 x i8] c"U_PMR_MultiFormatEnd\00"
@.str.8 = [13 x i8] c"U_PMR_Object\00"
@.str.9 = [12 x i8] c"U_PMR_Clear\00"
@.str.10 = [16 x i8] c"U_PMR_FillRects\00"
@.str.11 = [16 x i8] c"U_PMR_DrawRects\00"
@.str.12 = [18 x i8] c"U_PMR_FillPolygon\00"
@.str.13 = [16 x i8] c"U_PMR_DrawLines\00"
@.str.14 = [18 x i8] c"U_PMR_FillEllipse\00"
@.str.15 = [18 x i8] c"U_PMR_DrawEllipse\00"
@.str.16 = [14 x i8] c"U_PMR_FillPie\00"
@.str.17 = [14 x i8] c"U_PMR_DrawPie\00"
@.str.18 = [14 x i8] c"U_PMR_DrawArc\00"
@.str.19 = [17 x i8] c"U_PMR_FillRegion\00"
@.str.20 = [15 x i8] c"U_PMR_FillPath\00"
@.str.21 = [15 x i8] c"U_PMR_DrawPath\00"
@.str.22 = [22 x i8] c"U_PMR_FillClosedCurve\00"
@.str.23 = [22 x i8] c"U_PMR_DrawClosedCurve\00"
@.str.24 = [16 x i8] c"U_PMR_DrawCurve\00"
@.str.25 = [18 x i8] c"U_PMR_DrawBeziers\00"
@.str.26 = [16 x i8] c"U_PMR_DrawImage\00"
@.str.27 = [22 x i8] c"U_PMR_DrawImagePoints\00"
@.str.28 = [17 x i8] c"U_PMR_DrawString\00"
@.str.29 = [25 x i8] c"U_PMR_SetRenderingOrigin\00"
@.str.30 = [23 x i8] c"U_PMR_SetAntiAliasMode\00"
@.str.31 = [27 x i8] c"U_PMR_SetTextRenderingHint\00"
@.str.32 = [22 x i8] c"U_PMR_SetTextContrast\00"
@.str.33 = [27 x i8] c"U_PMR_SetInterpolationMode\00"
@.str.34 = [25 x i8] c"U_PMR_SetPixelOffsetMode\00"
@.str.35 = [25 x i8] c"U_PMR_SetCompositingMode\00"
@.str.36 = [28 x i8] c"U_PMR_SetCompositingQuality\00"
@.str.37 = [11 x i8] c"U_PMR_Save\00"
@.str.38 = [14 x i8] c"U_PMR_Restore\00"
@.str.39 = [21 x i8] c"U_PMR_BeginContainer\00"
@.str.40 = [29 x i8] c"U_PMR_BeginContainerNoParams\00"
@.str.41 = [19 x i8] c"U_PMR_EndContainer\00"
@.str.42 = [24 x i8] c"U_PMR_SetWorldTransform\00"
@.str.43 = [26 x i8] c"U_PMR_ResetWorldTransform\00"
@.str.44 = [29 x i8] c"U_PMR_MultiplyWorldTransform\00"
@.str.45 = [30 x i8] c"U_PMR_TranslateWorldTransform\00"
@.str.46 = [26 x i8] c"U_PMR_ScaleWorldTransform\00"
@.str.47 = [27 x i8] c"U_PMR_RotateWorldTransform\00"
@.str.48 = [23 x i8] c"U_PMR_SetPageTransform\00"
@.str.49 = [16 x i8] c"U_PMR_ResetClip\00"
@.str.50 = [18 x i8] c"U_PMR_SetClipRect\00"
@.str.51 = [18 x i8] c"U_PMR_SetClipPath\00"
@.str.52 = [20 x i8] c"U_PMR_SetClipRegion\00"
@.str.53 = [17 x i8] c"U_PMR_OffsetClip\00"
@.str.54 = [23 x i8] c"U_PMR_DrawDriverstring\00"
@.str.55 = [21 x i8] c"U_PMR_StrokeFillPath\00"
@.str.56 = [25 x i8] c"U_PMR_SerializableObject\00"
@.str.57 = [20 x i8] c"U_PMR_SetTSGraphics\00"
@.str.58 = [16 x i8] c"U_PMR_SetTSClip\00"
define i8* @U_pmr_names(i32 %0) {
%2 = add i32 %0, -59
%3 = icmp ult i32 %2, -58
%4 = select i1 %3, i32 0, i32 %0
%5 = zext i32 %4 to i64
%6 = shl i64 %5, 2
%7 = call i8* @llvm.load.relative.i64(i8* bitcast ([59 x i32]* @reltable.U_pmr_names to i8*), i64 %6)
ret i8* %7
}