#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 */
int /*<<< orphan*/ bug(char *, int);
char *affect_loc_name(int location) {
  switch (location) {
  case 0:
    return "none";
  case 1:
    return "phys-strength";
  case 2:
    return "phys-dexterity";
  case 4:
    return "phys-quickness";
  case 5:
    return "phys-toughness";
  case 3:
    return "ment-intelligence";
  case 6:
    return "sex";
  case 7:
    return "class";
  case 8:
    return "level";
  case 9:
    return "age";
  case 12:
    return "mana";
  case 13:
    return "hp";
  case 14:
    return "moves";
  case 54:
    return "stun";
  case 15:
    return "gold";
  case 16:
    return "experience";
  case 18:
    return "hit roll";
  case 19:
    return "damage roll";
  case 20:
    return "save vs paralysis";
  case 21:
    return "save vs rod";
  case 22:
    return "save vs petrification";
  case 23:
    return "save vs breath";
  case 24:
    return "save vs spell";
  case 50:
    return "absorbtion";
  case 51:
    return "channeling";
  case 52:
    return "vision profile";
  case 53:
    return "vision range";
  }
  bug("Affect_location_name: unknown location %d.", location);
  return "(unknown)";
}


x86 assembly (clang, -O0):
<affect_loc_name>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %edi,-0xc(%rbp)
mov    -0xc(%rbp),%eax
mov    %rax,-0x18(%rbp)
sub    $0x36,%rax
ja     12f0 <affect_loc_name+0x1e0>
mov    -0x18(%rbp),%rax
lea    0xec9(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xf95(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    130a <affect_loc_name+0x1fa>
lea    0xf8a(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    130a <affect_loc_name+0x1fa>
lea    0xf88(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    130a <affect_loc_name+0x1fa>
lea    0xf87(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    130a <affect_loc_name+0x1fa>
lea    0xf86(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    130a <affect_loc_name+0x1fa>
lea    0xf85(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    130a <affect_loc_name+0x1fa>
lea    0xf87(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    130a <affect_loc_name+0x1fa>
lea    0xf7b(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    130a <affect_loc_name+0x1fa>
lea    0xf71(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    130a <affect_loc_name+0x1fa>
lea    0xf67(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    130a <affect_loc_name+0x1fa>
lea    0xf5b(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    130a <affect_loc_name+0x1fa>
lea    0xf50(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    130a <affect_loc_name+0x1fa>
lea    0xf43(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    130a <affect_loc_name+0x1fa>
lea    0xf39(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    130a <affect_loc_name+0x1fa>
lea    0xf2e(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    130a <affect_loc_name+0x1fa>
lea    0xf23(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    130a <affect_loc_name+0x1fa>
lea    0xf1e(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    130a <affect_loc_name+0x1fa>
lea    0xf17(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    130a <affect_loc_name+0x1fa>
lea    0xf13(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    130a <affect_loc_name+0x1fa>
lea    0xf15(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    130a <affect_loc_name+0x1fa>
lea    0xf11(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    130a <affect_loc_name+0x1fa>
lea    0xf17(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    130a <affect_loc_name+0x1fa>
lea    0xf16(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    130a <affect_loc_name+0x1fa>
lea    0xf14(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    130a <affect_loc_name+0x1fa>
lea    0xf0f(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    130a <affect_loc_name+0x1fa>
lea    0xf0a(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    130a <affect_loc_name+0x1fa>
lea    0xf09(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    130a <affect_loc_name+0x1fa>
mov    -0xc(%rbp),%esi
lea    0xf03(%rip),%rdi
call   1030 <bug@plt>
lea    0xf22(%rip),%rax
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<affect_loc_name>:
push   %rax
mov    %edi,%esi
cmp    $0x37,%edi
jae    1128 <affect_loc_name+0x18>
movabs $0x7c000001fdf3ff,%rax
bt     %rsi,%rax
jb     113d <affect_loc_name+0x2d>
lea    0xff2(%rip),%rdi
call   1030 <bug@plt>
lea    0x1011(%rip),%rax
pop    %rcx
ret
movslq %esi,%rax
lea    0x1011(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [5 x i8] c"none\00"
@.str.1 = [14 x i8] c"phys-strength\00"
@.str.2 = [15 x i8] c"phys-dexterity\00"
@.str.3 = [15 x i8] c"phys-quickness\00"
@.str.4 = [15 x i8] c"phys-toughness\00"
@.str.5 = [18 x i8] c"ment-intelligence\00"
@.str.6 = [4 x i8] c"sex\00"
@.str.7 = [6 x i8] c"class\00"
@.str.8 = [6 x i8] c"level\00"
@.str.9 = [4 x i8] c"age\00"
@.str.10 = [5 x i8] c"mana\00"
@.str.11 = [3 x i8] c"hp\00"
@.str.12 = [6 x i8] c"moves\00"
@.str.13 = [5 x i8] c"stun\00"
@.str.14 = [5 x i8] c"gold\00"
@.str.15 = [11 x i8] c"experience\00"
@.str.16 = [9 x i8] c"hit roll\00"
@.str.17 = [12 x i8] c"damage roll\00"
@.str.18 = [18 x i8] c"save vs paralysis\00"
@.str.19 = [12 x i8] c"save vs rod\00"
@.str.20 = [22 x i8] c"save vs petrification\00"
@.str.21 = [15 x i8] c"save vs breath\00"
@.str.22 = [14 x i8] c"save vs spell\00"
@.str.23 = [11 x i8] c"absorbtion\00"
@.str.24 = [11 x i8] c"channeling\00"
@.str.25 = [15 x i8] c"vision profile\00"
@.str.26 = [13 x i8] c"vision range\00"
@.str.27 = [43 x i8] c"Affect_location_name: unknown location %d.\00"
@.str.28 = [10 x i8] c"(unknown)\00"
define i8* @affect_loc_name(i32 %0) {
%2 = alloca i8*
%3 = alloca i32
store i32 %0, i32* %3
%4 = load i32, i32* %3
switch i32 %4, label %32 [
i32 0, label %5
i32 1, label %6
i32 2, label %7
i32 4, label %8
i32 5, label %9
i32 3, label %10
i32 6, label %11
i32 7, label %12
i32 8, label %13
i32 9, label %14
i32 12, label %15
i32 13, label %16
i32 14, label %17
i32 54, label %18
i32 15, label %19
i32 16, label %20
i32 18, label %21
i32 19, label %22
i32 20, label %23
i32 21, label %24
i32 22, label %25
i32 23, label %26
i32 24, label %27
i32 50, label %28
i32 51, label %29
i32 52, label %30
i32 53, label %31
]
5: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8** %2
br label %35
6: ; preds = %1
store i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i8** %2
br label %35
7: ; preds = %1
store i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.2, i64 0, i64 0), i8** %2
br label %35
8: ; preds = %1
store i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0), i8** %2
br label %35
9: ; preds = %1
store i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0), i8** %2
br label %35
10: ; preds = %1
store i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.5, i64 0, i64 0), i8** %2
br label %35
11: ; preds = %1
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8** %2
br label %35
12: ; preds = %1
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i8** %2
br label %35
13: ; preds = %1
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0), i8** %2
br label %35
14: ; preds = %1
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0), i8** %2
br label %35
15: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0), i8** %2
br label %35
16: ; preds = %1
store i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.11, i64 0, i64 0), i8** %2
br label %35
17: ; preds = %1
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.12, i64 0, i64 0), i8** %2
br label %35
18: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.13, i64 0, i64 0), i8** %2
br label %35
19: ; preds = %1
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.14, i64 0, i64 0), i8** %2
br label %35
20: ; preds = %1
store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.15, i64 0, i64 0), i8** %2
br label %35
21: ; preds = %1
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.16, i64 0, i64 0), i8** %2
br label %35
22: ; preds = %1
store i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.17, i64 0, i64 0), i8** %2
br label %35
23: ; preds = %1
store i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.18, i64 0, i64 0), i8** %2
br label %35
24: ; preds = %1
store i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.19, i64 0, i64 0), i8** %2
br label %35
25: ; preds = %1
store i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.20, i64 0, i64 0), i8** %2
br label %35
26: ; preds = %1
store i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.21, i64 0, i64 0), i8** %2
br label %35
27: ; preds = %1
store i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.22, i64 0, i64 0), i8** %2
br label %35
28: ; preds = %1
store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.23, i64 0, i64 0), i8** %2
br label %35
29: ; preds = %1
store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.24, i64 0, i64 0), i8** %2
br label %35
30: ; preds = %1
store i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.25, i64 0, i64 0), i8** %2
br label %35
31: ; preds = %1
store i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.26, i64 0, i64 0), i8** %2
br label %35
32: ; preds = %1
%33 = load i32, i32* %3
%34 = call i32 @bug(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.27, i64 0, i64 0), i32 %33)
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.28, i64 0, i64 0), i8** %2
br label %35
35: ; preds = %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
%36 = load i8*, i8** %2
ret i8* %36
}

LLVM IR (-O2):
@.str = [5 x i8] c"none\00"
@.str.1 = [14 x i8] c"phys-strength\00"
@.str.2 = [15 x i8] c"phys-dexterity\00"
@.str.3 = [15 x i8] c"phys-quickness\00"
@.str.4 = [15 x i8] c"phys-toughness\00"
@.str.5 = [18 x i8] c"ment-intelligence\00"
@.str.6 = [4 x i8] c"sex\00"
@.str.7 = [6 x i8] c"class\00"
@.str.8 = [6 x i8] c"level\00"
@.str.9 = [4 x i8] c"age\00"
@.str.10 = [5 x i8] c"mana\00"
@.str.11 = [3 x i8] c"hp\00"
@.str.12 = [6 x i8] c"moves\00"
@.str.13 = [5 x i8] c"stun\00"
@.str.14 = [5 x i8] c"gold\00"
@.str.15 = [11 x i8] c"experience\00"
@.str.16 = [9 x i8] c"hit roll\00"
@.str.17 = [12 x i8] c"damage roll\00"
@.str.18 = [18 x i8] c"save vs paralysis\00"
@.str.19 = [12 x i8] c"save vs rod\00"
@.str.20 = [22 x i8] c"save vs petrification\00"
@.str.21 = [15 x i8] c"save vs breath\00"
@.str.22 = [14 x i8] c"save vs spell\00"
@.str.23 = [11 x i8] c"absorbtion\00"
@.str.24 = [11 x i8] c"channeling\00"
@.str.25 = [15 x i8] c"vision profile\00"
@.str.26 = [13 x i8] c"vision range\00"
@.str.27 = [43 x i8] c"Affect_location_name: unknown location %d.\00"
@.str.28 = [10 x i8] c"(unknown)\00"
@reltable.affect_loc_name = [55 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([14 x i8]* @.str.1 to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([15 x i8]* @.str.2 to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([18 x i8]* @.str.5 to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([15 x i8]* @.str.3 to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([15 x i8]* @.str.4 to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.6 to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.7 to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.8 to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.9 to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.10 to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([3 x i8]* @.str.11 to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.12 to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.14 to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([11 x i8]* @.str.15 to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.16 to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([12 x i8]* @.str.17 to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([18 x i8]* @.str.18 to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([12 x i8]* @.str.19 to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([22 x i8]* @.str.20 to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([15 x i8]* @.str.21 to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([14 x i8]* @.str.22 to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([11 x i8]* @.str.23 to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([11 x i8]* @.str.24 to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([15 x i8]* @.str.25 to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([13 x i8]* @.str.26 to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.13 to i64), i64 ptrtoint ([55 x i32]* @reltable.affect_loc_name to i64)) to i32)]
define i8* @affect_loc_name(i32 %0) {
%2 = icmp ult i32 %0, 55
br i1 %2, label %5, label %3
3: ; preds = %5, %1
%4 = tail call i32 @bug(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.27, i64 0, i64 0), i32 %0)
br label %14
5: ; preds = %1
%6 = zext i32 %0 to i64
%7 = lshr i64 34902897145541631, %6
%8 = and i64 %7, 1
%9 = icmp eq i64 %8, 0
br i1 %9, label %3, label %10
10: ; preds = %5
%11 = sext i32 %0 to i64
%12 = shl i64 %11, 2
%13 = call i8* @llvm.load.relative.i64(i8* bitcast ([55 x i32]* @reltable.affect_loc_name to i8*), i64 %12)
br label %14
14: ; preds = %10, %3
%15 = phi i8* [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.28, i64 0, i64 0), %3 ], [ %13, %10 ]
ret i8* %15
}