user: 下面的汇编指令对应的C源代码是什么：

```asm
<map_reg>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xb0,%rsp
  mov    %rdi,-0xa8(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  lea    D147(%rip),%rax
  mov    %rax,-0x70(%rbp)
  lea    D46(%rip),%rax
  mov    %rax,-0x68(%rbp)
  lea    D86(%rip),%rax
  mov    %rax,-0x60(%rbp)
  lea    D17(%rip),%rax
  mov    %rax,-0x58(%rbp)
  lea    D53(%rip),%rax
  mov    %rax,-0x50(%rbp)
  lea    D61(%rip),%rax
  mov    %rax,-0x48(%rbp)
  lea    D122(%rip),%rax
  mov    %rax,-0x40(%rbp)
  lea    D40(%rip),%rax
  mov    %rax,-0x38(%rbp)
  lea    D69(%rip),%rax
  mov    %rax,-0x30(%rbp)
  lea    D72(%rip),%rax
  mov    %rax,-0x28(%rbp)
  lea    D120(%rip),%rax
  mov    %rax,-0x20(%rbp)
  lea    D73(%rip),%rax
  mov    %rax,-0x18(%rbp)
  lea    D90(%rip),%rax
  mov    %rax,-0x90(%rbp)
  lea    D64(%rip),%rax
  mov    %rax,-0x88(%rbp)
  lea    D133(%rip),%rax
  mov    %rax,-0x80(%rbp)
  lea    D27(%rip),%rax
  mov    %rax,-0x78(%rbp)
  movl   $0x0,-0x94(%rbp)
  jmp    L68
L11:
  mov    -0x94(%rbp),%eax
  cltq
  mov    -0x40(%rbp,%rax,8),%rdx
  mov    -0xa8(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %eax,%eax
  jne    L61
  mov    -0x94(%rbp),%eax
  cltq
  mov    -0x70(%rbp,%rax,8),%rax
  jmp    L55
L61:
  addl   $0x1,-0x94(%rbp)
L68:
  mov    -0x94(%rbp),%eax
  cmp    $0x5,%eax
  jbe    L11
  movl   $0x0,-0x94(%rbp)
  jmp    L19
L50:
  mov    -0x94(%rbp),%eax
  cltq
  mov    -0x90(%rbp,%rax,8),%rdx
  mov    -0xa8(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %eax,%eax
  jne    L71
  mov    -0x94(%rbp),%eax
  cltq
  mov    -0x70(%rbp,%rax,8),%rax
  jmp    L55
L71:
  addl   $0x1,-0x94(%rbp)
L19:
  mov    -0x94(%rbp),%eax
  cmp    $0x3,%eax
  jbe    L50
  mov    -0xa8(%rbp),%rax
L55:
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L49
  call   <__stack_chk_fail@plt>
L49:
  leave
  ret
```

tool_calls: name: parse_data
arguments: data_tag: D147
data_type: string
name: parse_data
arguments: data_tag: D46
data_type: string
name: parse_data
arguments: data_tag: D86
data_type: string
name: parse_data
arguments: data_tag: D17
data_type: string
name: parse_data
arguments: data_tag: D53
data_type: string
name: parse_data
arguments: data_tag: D61
data_type: string
name: parse_data
arguments: data_tag: D122
data_type: string
name: parse_data
arguments: data_tag: D40
data_type: string
name: parse_data
arguments: data_tag: D69
data_type: string
name: parse_data
arguments: data_tag: D72
data_type: string
name: parse_data
arguments: data_tag: D120
data_type: string
name: parse_data
arguments: data_tag: D73
data_type: string
name: parse_data
arguments: data_tag: D90
data_type: string
name: parse_data
arguments: data_tag: D64
data_type: string
name: parse_data
arguments: data_tag: D133
data_type: string
name: parse_data
arguments: data_tag: D27
data_type: string

tool: D147: eax

tool: D46: ebx

tool: D86: ecx

tool: D17: edx

tool: D53: esi

tool: D61: edi

tool: D122: ax

tool: D40: bx

tool: D69: cx

tool: D72: dx

tool: D120: si

tool: D73: di

tool: D90: al

tool: D64: bl

tool: D133: cl

tool: D27: dl

assistant: ```c
const char *map_reg(const char *reg) {
  const char *regs_f[] = {"eax", "ebx", "ecx", "edx", "esi", "edi"};
  const char *regs_w[] = {"ax", "bx", "cx", "dx", "si", "di"};
  const char *regs_b[] = {"al", "bl", "cl", "dl"};
  int i;
  for (i = 0; i < (sizeof(regs_w) / sizeof(regs_w[0])); i++)
    if (!strcmp(reg, regs_w[i]))
      return regs_f[i];
  for (i = 0; i < (sizeof(regs_b) / sizeof(regs_b[0])); i++)
    if (!strcmp(reg, regs_b[i]))
      return regs_f[i];
  return reg;
}
```