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

```asm
<macros_parse_token>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %rdi,-0x18(%rbp)
  mov    %rsi,-0x20(%rbp)
  mov    %edx,-0x24(%rbp)
  mov    %ecx,-0x28(%rbp)
  movl   $0x0,-0x4(%rbp)
L164:
  mov    -0x18(%rbp),%rax
  mov    %rax,%rdi
  call   <tokens_get_char@plt>
  mov    %al,-0x5(%rbp)
  cmpb   $0x9,-0x5(%rbp)
  jne    L219
  movb   $0x20,-0x5(%rbp)
L219:
  cmpb   $0x20,-0x5(%rbp)
  jne    L6
  cmpl   $0x0,-0x4(%rbp)
  je     L186
  cmpl   $0x1,-0x28(%rbp)
  jne    L148
  mov    -0x4(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  movb   $0x0,(%rax)
  mov    $0x0,%eax
  jmp    L169
L148:
  mov    -0x18(%rbp),%rax
  mov    %rax,%rdi
  call   <tokens_get_char@plt>
  mov    %al,-0x5(%rbp)
  cmpb   $0x9,-0x5(%rbp)
  jne    L120
  movb   $0x20,-0x5(%rbp)
L120:
  cmpb   $0x20,-0x5(%rbp)
  je     L103
  cmpb   $0x28,-0x5(%rbp)
  jne    L52
  mov    -0x4(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  movb   $0x0,(%rax)
  mov    $0x1,%eax
  jmp    L169
L52:
  movsbl -0x5(%rbp),%edx
  mov    -0x18(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <tokens_unget_char@plt>
  nop
  jmp    L60
L103:
  nop
  jmp    L148
L6:
  cmpb   $0x60,-0x5(%rbp)
  jle    L105
  cmpb   $0x7a,-0x5(%rbp)
  jle    L138
L105:
  cmpb   $0x40,-0x5(%rbp)
  jle    L166
  cmpb   $0x5a,-0x5(%rbp)
  jle    L138
L166:
  cmpb   $0x5f,-0x5(%rbp)
  jne    L182
L138:
  mov    -0x4(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x4(%rbp)
  movslq %eax,%rdx
  mov    -0x20(%rbp),%rax
  add    %rax,%rdx
  movzbl -0x5(%rbp),%eax
  mov    %al,(%rdx)
  jmp    L32
L182:
  cmpb   $0x2f,-0x5(%rbp)
  jle    L144
  cmpb   $0x39,-0x5(%rbp)
  jg     L144
  cmpl   $0x0,-0x4(%rbp)
  jne    L262
  mov    -0x18(%rbp),%rax
  mov    %rax,%rsi
  lea    D1(%rip),%rax
  mov    %rax,%rdi
  call   <print_error@plt>
  mov    $0xffffffff,%eax
  jmp    L169
L262:
  mov    -0x4(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x4(%rbp)
  movslq %eax,%rdx
  mov    -0x20(%rbp),%rax
  add    %rax,%rdx
  movzbl -0x5(%rbp),%eax
  mov    %al,(%rdx)
  jmp    L32
L144:
  cmpb   $0x28,-0x5(%rbp)
  jne    L147
  mov    -0x4(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  movb   $0x0,(%rax)
  mov    $0x1,%eax
  jmp    L169
L147:
  movsbl -0x5(%rbp),%edx
  mov    -0x18(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <tokens_unget_char@plt>
  jmp    L60
L32:
  mov    -0x24(%rbp),%eax
  sub    $0x1,%eax
  cmp    %eax,-0x4(%rbp)
  je     L266
  jmp    L164
L186:
  nop
  jmp    L164
L266:
  nop
L60:
  mov    -0x4(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  movb   $0x0,(%rax)
  mov    $0x0,%eax
L169:
  leave
  ret
```

tool_calls: name: parse_data
arguments: tag: D1
type: string

tool: D1: Bad macro name

assistant: ```c
int macros_parse_token(struct _asm_context *asm_context, char *token, int len, int macro_type) {
  int ptr = 0;
  char ch;
  while (1) {
    ch = tokens_get_char(asm_context);
    if (ch == '\t') {
      ch = ' ';
    }
    if (ch == ' ') {
      if (ptr == 0) {
        continue;
      }
      if (macro_type == 1) {
        token[ptr] = 0;
        return 0;
      }
      while (1) {
        ch = tokens_get_char(asm_context);
        if (ch == '\t') {
          ch = ' ';
        }
        if (ch == ' ') {
          continue;
        }
        if (ch == '(') {
          token[ptr] = 0;
          return 1;
        }
        tokens_unget_char(asm_context, ch);
        break;
      }
      break;
    }
    if ((ch >= 'a' && ch <= 'z') || (ch >= 'A' && ch <= 'Z') || ch == '_') {
      token[ptr++] = ch;
    } else if (ch >= '0' && ch <= '9') {
      if (ptr == 0) {
        print_error("Bad macro name", asm_context);
        return -1;
      }
      token[ptr++] = ch;
    } else if (ch == '(') {
      token[ptr] = 0;
      return 1;
    } else {
      tokens_unget_char(asm_context, ch);
      break;
    }
    if (ptr == len - 1) {
      break;
    }
  }
  token[ptr] = 0;
  return 0;
}
```