user: Translate the below assembly code into C programming language:

```asm
<affect_loc_name>:
  endbr64
  cmp    $0x19,%edi
  ja     L6
  mov    %edi,%eax
  lea    D88(%rip),%rdx
  movslq (%rdx,%rax,4),%rax
  add    %rdx,%rax
  notrack jmp *%rax
  lea    D105(%rip),%rax
  ret
  lea    D151(%rip),%rax
  ret
  lea    D252(%rip),%rax
  ret
  lea    D165(%rip),%rax
  ret
  lea    D218(%rip),%rax
  ret
  lea    D61(%rip),%rax
  ret
  lea    D162(%rip),%rax
  ret
  lea    D6(%rip),%rax
  ret
  lea    D211(%rip),%rax
  ret
  lea    D223(%rip),%rax
  ret
  lea    D9(%rip),%rax
  ret
  lea    D102(%rip),%rax
  ret
  lea    D131(%rip),%rax
  ret
  lea    D101(%rip),%rax
  ret
  lea    D117(%rip),%rax
  ret
  lea    D36(%rip),%rax
  ret
  lea    D171(%rip),%rax
  ret
  lea    D34(%rip),%rax
  ret
  lea    D166(%rip),%rax
  ret
  lea    D1(%rip),%rax
  ret
  lea    D243(%rip),%rax
  ret
  lea    D114(%rip),%rax
  ret
L6:
  sub    $0x8,%rsp
  mov    %edi,%esi
  lea    D71(%rip),%rdi
  call   <bug@plt>
  lea    D175(%rip),%rax
  add    $0x8,%rsp
  ret
  lea    D210(%rip),%rax
  ret
```

tool_calls: name: parse_data
arguments: data_label: D105
data_type: string
name: parse_data
arguments: data_label: D151
data_type: string
name: parse_data
arguments: data_label: D252
data_type: string
name: parse_data
arguments: data_label: D165
data_type: string
name: parse_data
arguments: data_label: D218
data_type: string
name: parse_data
arguments: data_label: D61
data_type: string
name: parse_data
arguments: data_label: D162
data_type: string
name: parse_data
arguments: data_label: D6
data_type: string
name: parse_data
arguments: data_label: D211
data_type: string
name: parse_data
arguments: data_label: D223
data_type: string
name: parse_data
arguments: data_label: D9
data_type: string
name: parse_data
arguments: data_label: D102
data_type: string
name: parse_data
arguments: data_label: D131
data_type: string
name: parse_data
arguments: data_label: D101
data_type: string
name: parse_data
arguments: data_label: D117
data_type: string
name: parse_data
arguments: data_label: D36
data_type: string
name: parse_data
arguments: data_label: D171
data_type: string
name: parse_data
arguments: data_label: D34
data_type: string
name: parse_data
arguments: data_label: D166
data_type: string
name: parse_data
arguments: data_label: D1
data_type: string
name: parse_data
arguments: data_label: D243
data_type: string
name: parse_data
arguments: data_label: D114
data_type: string
name: parse_data
arguments: data_label: D71
data_type: string
name: parse_data
arguments: data_label: D175
data_type: string
name: parse_data
arguments: data_label: D210
data_type: string

tool: D105: strength

tool: D151: dexterity

tool: D252: intelligence

tool: D165: wisdom

tool: D218: constitution

tool: D61: sex

tool: D162: class

tool: D6: level

tool: D211: age

tool: D223: mana

tool: D9: hp

tool: D102: moves

tool: D131: gold

tool: D101: experience

tool: D117: armor class

tool: D36: hit roll

tool: D171: damage roll

tool: D34: saves

tool: D166: save vs rod

tool: D1: save vs petrification

tool: D243: save vs breath

tool: D114: save vs spell

tool: D71: Affect_location_name: unknown location %d.

tool: D175: (unknown)

tool: D210: none

assistant: ```c
char *affect_loc_name(int location) {
  switch (location) {
  case 0:
    return "none";
  case 1:
    return "strength";
  case 2:
    return "dexterity";
  case 3:
    return "intelligence";
  case 4:
    return "wisdom";
  case 5:
    return "constitution";
  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 15:
    return "gold";
  case 16:
    return "experience";
  case 17:
    return "armor class";
  case 18:
    return "hit roll";
  case 19:
    return "damage roll";
  case 20:
    return "saves";
  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 25:
    return "none";
  }
  bug("Affect_location_name: unknown location %d.", location);
  return "(unknown)";
}
```