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

```asm
<next_token>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x40,%rsp
  mov    %rdi,-0x28(%rbp)
  mov    %rsi,-0x30(%rbp)
  mov    %rdx,-0x38(%rbp)
  mov    %rcx,-0x40(%rbp)
  movl   $0x0,-0x18(%rbp)
  movl   $0x0,-0x14(%rbp)
  movl   $0x0,-0x10(%rbp)
  movl   $0x0,-0xc(%rbp)
  cmpq   $0x0,-0x28(%rbp)
  je     L254
  mov    -0x30(%rbp),%rax
  mov    (%rax),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  test   %al,%al
  jne    L197
L254:
  mov    $0x0,%eax
  jmp    L239
L197:
  mov    -0x30(%rbp),%rax
  mov    (%rax),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  mov    %al,-0x1a(%rbp)
  cmpl   $0x0,-0x10(%rbp)
  je     L2
  cmpb   $0xa,-0x1a(%rbp)
  je     L358
  cmpb   $0x0,-0x1a(%rbp)
  jne    L2
L358:
  movl   $0x0,-0x10(%rbp)
L2:
  cmpl   $0x0,-0x10(%rbp)
  jne    L93
  movsbl -0x1a(%rbp),%eax
  mov    %eax,%edi
  call   <quote@plt>
  test   %eax,%eax
  je     L93
  cmpl   $0x0,-0x14(%rbp)
  je     L192
  movb   $0x61,-0x1b(%rbp)
  jmp    L121
L192:
  cmpl   $0x0,-0x18(%rbp)
  jne    L44
  movsbl -0x1a(%rbp),%eax
  mov    %eax,%edi
  call   <quote@plt>
  mov    %eax,-0x18(%rbp)
  jmp    L93
L44:
  movsbl -0x1a(%rbp),%eax
  mov    %eax,%edi
  call   <quote@plt>
  cmp    %eax,-0x18(%rbp)
  jne    L93
  movb   $0x61,-0x1b(%rbp)
  mov    -0x30(%rbp),%rax
  mov    (%rax),%eax
  lea    0x1(%rax),%edx
  mov    -0x30(%rbp),%rax
  mov    %edx,(%rax)
  jmp    L121
L93:
  cmpb   $0x0,-0x1a(%rbp)
  jne    L129
  cmpl   $0x0,-0x14(%rbp)
  je     L9
  movb   $0x61,-0x1b(%rbp)
  jmp    L121
L9:
  movb   $0x0,-0x1b(%rbp)
  jmp    L121
L129:
  cmpl   $0x0,-0x10(%rbp)
  jne    L247
  movsbl -0x1a(%rbp),%eax
  mov    %eax,%edi
  call   <comment@plt>
  test   %rax,%rax
  je     L247
  cmpl   $0x0,-0x18(%rbp)
  jne    L247
  cmpl   $0x0,-0x14(%rbp)
  je     L131
  movb   $0x61,-0x1b(%rbp)
  jmp    L121
L131:
  movl   $0x1,-0x10(%rbp)
L247:
  cmpl   $0x0,-0x10(%rbp)
  jne    L215
  movsbl -0x1a(%rbp),%eax
  mov    %eax,%edi
  call   <special@plt>
  test   %rax,%rax
  je     L215
  movsbl -0x1a(%rbp),%eax
  mov    %eax,%edi
  call   <quote@plt>
  test   %eax,%eax
  jne    L215
  cmpl   $0x0,-0x18(%rbp)
  jne    L215
  cmpl   $0x0,-0x14(%rbp)
  jne    L215
  mov    -0x30(%rbp),%rax
  mov    (%rax),%eax
  lea    0x1(%rax),%edx
  mov    -0x30(%rbp),%rax
  mov    %edx,(%rax)
  movzbl -0x1a(%rbp),%eax
  mov    %al,-0x1b(%rbp)
  jmp    L121
L215:
  cmpl   $0x0,-0x10(%rbp)
  jne    L189
  cmpl   $0x0,-0x18(%rbp)
  jne    L189
  movsbl -0x1a(%rbp),%eax
  mov    %eax,%edi
  call   <blank@plt>
  test   %rax,%rax
  jne    L74
  movsbl -0x1a(%rbp),%eax
  mov    %eax,%edi
  call   <special@plt>
  test   %rax,%rax
  jne    L74
  cmpl   $0x0,-0x14(%rbp)
  jne    L17
  mov    -0x30(%rbp),%rax
  mov    (%rax),%eax
  test   %eax,%eax
  jne    L207
  movl   $0x1,-0x14(%rbp)
  jmp    L17
L207:
  mov    -0x30(%rbp),%rax
  mov    (%rax),%eax
  cltq
  lea    -0x1(%rax),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  mov    %al,-0x19(%rbp)
  movsbl -0x19(%rbp),%eax
  mov    %eax,%edi
  call   <blank@plt>
  test   %rax,%rax
  jne    L393
  movsbl -0x19(%rbp),%eax
  mov    %eax,%edi
  call   <special@plt>
  test   %rax,%rax
  je     L17
L393:
  movl   $0x1,-0x14(%rbp)
  jmp    L17
L74:
  cmpl   $0x0,-0x14(%rbp)
  je     L189
  movb   $0x61,-0x1b(%rbp)
  jmp    L121
L17:
  nop
L189:
  mov    -0x30(%rbp),%rax
  mov    (%rax),%eax
  lea    0x1(%rax),%edx
  mov    -0x30(%rbp),%rax
  mov    %edx,(%rax)
  cmpl   $0x0,-0x14(%rbp)
  jne    L387
  cmpl   $0x0,-0x18(%rbp)
  je     L197
  movsbl -0x1a(%rbp),%eax
  mov    %eax,%edi
  call   <quote@plt>
  cmp    %eax,-0x18(%rbp)
  je     L197
L387:
  mov    -0x40(%rbp),%rax
  mov    (%rax),%eax
  sub    $0x2,%eax
  cmp    %eax,-0xc(%rbp)
  jne    L392
  mov    -0x40(%rbp),%rax
  mov    (%rax),%eax
  cltq
  add    %eax,%eax
  mov    %eax,%edx
  lea    D17(%rip),%rax
  mov    %rax,%rsi
  mov    %edx,%edi
  call   <gc_alloc@plt>
  mov    %rax,-0x8(%rbp)
  mov    -0x38(%rbp),%rax
  mov    (%rax),%rdx
  mov    -0x40(%rbp),%rax
  mov    (%rax),%eax
  cltq
  sub    $0x1,%rax
  add    %rdx,%rax
  movb   $0x0,(%rax)
  mov    -0x38(%rbp),%rax
  mov    (%rax),%rdx
  mov    -0x8(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcpy@plt>
  mov    -0x38(%rbp),%rax
  mov    (%rax),%rax
  mov    %rax,%rdi
  call   <gc_free@plt>
  mov    -0x38(%rbp),%rax
  mov    -0x8(%rbp),%rdx
  mov    %rdx,(%rax)
  mov    -0x40(%rbp),%rax
  mov    (%rax),%eax
  lea    (%rax,%rax,1),%edx
  mov    -0x40(%rbp),%rax
  mov    %edx,(%rax)
L392:
  mov    -0x38(%rbp),%rax
  mov    (%rax),%rcx
  mov    -0xc(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0xc(%rbp)
  cltq
  lea    (%rcx,%rax,1),%rdx
  movzbl -0x1a(%rbp),%eax
  mov    %al,(%rdx)
  jmp    L197
L121:
  mov    -0x38(%rbp),%rax
  mov    (%rax),%rdx
  mov    -0xc(%rbp),%eax
  cltq
  add    %rdx,%rax
  movb   $0x0,(%rax)
  cmpb   $0x0,-0x1b(%rbp)
  jne    L134
  cmpl   $0x0,-0x18(%rbp)
  je     L134
  lea    D5(%rip),%rax
  mov    %rax,%rdi
  call   <error@plt>
L134:
  movzbl -0x1b(%rbp),%eax
L239:
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: tag: D17
type: string
name: extract_symbolic_data
arguments: tag: D5
type: string

tool: D17: next_token

tool: D5: esh: parse error: end of input while looking for a closing quote.

assistant: ```c
char next_token(char *input, int *i, char **token_value, int *len) {
  char ret, foo;
  int currquote = 0;
  int do_write = 0;
  int ignore = 0;
  int j = 0;
  if (!input || !input[*i]) {
    return '\0';
  }
  while (1) {
    foo = input[*i];
    if (ignore) {
      if (foo == '\n' || !foo) {
        ignore = 0;
      }
    }
    if (!ignore && quote(foo)) {
      if (do_write) {
        ret = 'a';
        break;
      } else if (!currquote) {
        currquote = quote(foo);
      } else if (currquote == quote(foo)) {
        ret = 'a';
        (*i)++;
        break;
      }
    }
    if (!foo) {
      if (do_write) {
        ret = 'a';
      } else {
        ret = '\0';
      }
      break;
    }
    if (!ignore && comment(foo) && !currquote) {
      if (do_write) {
        ret = 'a';
        break;
      } else {
        ignore = 1;
      }
    }
    if (!ignore && special(foo) && !quote(foo) && !currquote && !do_write) {
      (*i)++;
      ret = foo;
      break;
    }
    if (!ignore && !currquote) {
      if (!blank(foo) && !special(foo)) {
        char bar;
        if (do_write) {
        } else if (!*i) {
          do_write = 1;
        } else {
          bar = input[(*i) - 1];
          if (blank(bar) || special(bar))
            do_write = 1;
        }
      } else if (do_write) {
        ret = 'a';
        break;
      }
    }
    (*i)++;
    if (do_write || (currquote && currquote != quote(foo))) {
      if (j == (*len) - 2) {
        char *tmp = (char *)gc_alloc(sizeof(char) * (*len) * 2, "next_token");
        (*token_value)[(*len) - 1] = '\0';
        strcpy(tmp, (*token_value));
        gc_free(*token_value);
        (*token_value) = tmp;
        (*len) *= 2;
      }
      (*token_value)[j++] = foo;
    }
  }
  (*token_value)[j] = '\0';
  if (!ret && currquote) {
    error("esh: parse error: end of input while looking for "
          "a closing quote.");
  }
  return ret;
}
```