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

```asm
<get_token_to_eol>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x40,%rsp
  mov    %rdi,-0x18(%rbp)
  mov    %rsi,-0x20(%rbp)
  mov    %rdx,-0x28(%rbp)
  mov    %rcx,-0x30(%rbp)
  mov    %r8,-0x38(%rbp)
  mov    -0x18(%rbp),%rax
  mov    %rax,-0x8(%rbp)
  jmp    L300
L222:
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  sub    $0x20,%eax
  cmp    $0x5e,%eax
  seta   %al
  movzbl %al,%eax
  mov    $0x0,%esi
  mov    %eax,%edi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  jne    L137
  addq   $0x1,-0x18(%rbp)
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  sub    $0x20,%eax
  cmp    $0x5e,%eax
  seta   %al
  movzbl %al,%eax
  mov    $0x0,%esi
  mov    %eax,%edi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  jne    L378
  addq   $0x1,-0x18(%rbp)
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  sub    $0x20,%eax
  cmp    $0x5e,%eax
  seta   %al
  movzbl %al,%eax
  mov    $0x0,%esi
  mov    %eax,%edi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  jne    L121
  addq   $0x1,-0x18(%rbp)
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  sub    $0x20,%eax
  cmp    $0x5e,%eax
  seta   %al
  movzbl %al,%eax
  mov    $0x0,%esi
  mov    %eax,%edi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  jne    L324
  addq   $0x1,-0x18(%rbp)
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  sub    $0x20,%eax
  cmp    $0x5e,%eax
  seta   %al
  movzbl %al,%eax
  mov    $0x0,%esi
  mov    %eax,%edi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  jne    L173
  addq   $0x1,-0x18(%rbp)
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  sub    $0x20,%eax
  cmp    $0x5e,%eax
  seta   %al
  movzbl %al,%eax
  mov    $0x0,%esi
  mov    %eax,%edi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  jne    L320
  addq   $0x1,-0x18(%rbp)
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  sub    $0x20,%eax
  cmp    $0x5e,%eax
  seta   %al
  movzbl %al,%eax
  mov    $0x0,%esi
  mov    %eax,%edi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  jne    L230
  addq   $0x1,-0x18(%rbp)
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  sub    $0x20,%eax
  cmp    $0x5e,%eax
  seta   %al
  movzbl %al,%eax
  mov    $0x0,%esi
  mov    %eax,%edi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  jne    L141
  addq   $0x1,-0x18(%rbp)
  jmp    L300
L137:
  nop
  jmp    L133
L378:
  nop
  jmp    L133
L121:
  nop
  jmp    L133
L324:
  nop
  jmp    L133
L173:
  nop
  jmp    L133
L320:
  nop
  jmp    L133
L230:
  nop
  jmp    L133
L141:
  nop
L133:
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x1f,%al
  setbe  %al
  movzbl %al,%eax
  mov    $0x1,%esi
  mov    %eax,%edi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  je     L119
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x9,%al
  setne  %al
  movzbl %al,%eax
  mov    $0x1,%esi
  mov    %eax,%edi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  jne    L91
L119:
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x7f,%al
  sete   %al
  movzbl %al,%eax
  mov    $0x0,%esi
  mov    %eax,%edi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  jne    L91
  addq   $0x1,-0x18(%rbp)
L300:
  mov    -0x20(%rbp),%rax
  sub    -0x18(%rbp),%rax
  cmp    $0x7,%rax
  setg   %al
  movzbl %al,%eax
  mov    $0x1,%esi
  mov    %eax,%edi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  jne    L222
L78:
  mov    -0x18(%rbp),%rax
  cmp    -0x20(%rbp),%rax
  jne    L302
  mov    -0x38(%rbp),%rax
  movl   $0xfffffffe,(%rax)
  mov    $0x0,%eax
  jmp    L331
L302:
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  sub    $0x20,%eax
  cmp    $0x5e,%eax
  seta   %al
  movzbl %al,%eax
  mov    $0x0,%esi
  mov    %eax,%edi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  je     L130
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x1f,%al
  setbe  %al
  movzbl %al,%eax
  mov    $0x1,%esi
  mov    %eax,%edi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  je     L89
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x9,%al
  setne  %al
  movzbl %al,%eax
  mov    $0x1,%esi
  mov    %eax,%edi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  jne    L51
L89:
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x7f,%al
  sete   %al
  movzbl %al,%eax
  mov    $0x0,%esi
  mov    %eax,%edi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  jne    L51
L130:
  addq   $0x1,-0x18(%rbp)
  jmp    L78
L91:
  nop
  jmp    L12
L51:
  nop
L12:
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0xd,%al
  sete   %al
  movzbl %al,%eax
  mov    $0x1,%esi
  mov    %eax,%edi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  je     L76
  addq   $0x1,-0x18(%rbp)
  mov    -0x18(%rbp),%rax
  cmp    -0x20(%rbp),%rax
  jne    L239
  mov    -0x38(%rbp),%rax
  movl   $0xfffffffe,(%rax)
  mov    $0x0,%eax
  jmp    L331
L239:
  mov    -0x18(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x18(%rbp)
  movzbl (%rax),%eax
  cmp    $0xa,%al
  je     L14
  mov    -0x38(%rbp),%rax
  movl   $0xffffffff,(%rax)
  mov    $0x0,%eax
  jmp    L331
L14:
  mov    -0x18(%rbp),%rax
  sub    $0x2,%rax
  sub    -0x8(%rbp),%rax
  mov    %rax,%rdx
  mov    -0x30(%rbp),%rax
  mov    %rdx,(%rax)
  jmp    L80
L76:
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0xa,%al
  jne    L335
  mov    -0x18(%rbp),%rax
  sub    -0x8(%rbp),%rax
  mov    %rax,%rdx
  mov    -0x30(%rbp),%rax
  mov    %rdx,(%rax)
  addq   $0x1,-0x18(%rbp)
  jmp    L80
L335:
  mov    -0x38(%rbp),%rax
  movl   $0xffffffff,(%rax)
  mov    $0x0,%eax
  jmp    L331
L80:
  mov    -0x28(%rbp),%rax
  mov    -0x8(%rbp),%rdx
  mov    %rdx,(%rax)
  mov    -0x18(%rbp),%rax
L331:
  leave
  ret
```

assistant: ```c
const char *get_token_to_eol(const char *buf, const char *buf_end, const char **token, size_t *token_len, int *ret) {
  const char *token_start = buf;
  while (__builtin_expect(!!(buf_end - buf >= 8), 1)) {
    if (__builtin_expect(!!(!((unsigned char)(*buf) - 040u < 0137u)), 0))
      goto NonPrintable;
    ++buf;
    if (__builtin_expect(!!(!((unsigned char)(*buf) - 040u < 0137u)), 0))
      goto NonPrintable;
    ++buf;
    if (__builtin_expect(!!(!((unsigned char)(*buf) - 040u < 0137u)), 0))
      goto NonPrintable;
    ++buf;
    if (__builtin_expect(!!(!((unsigned char)(*buf) - 040u < 0137u)), 0))
      goto NonPrintable;
    ++buf;
    if (__builtin_expect(!!(!((unsigned char)(*buf) - 040u < 0137u)), 0))
      goto NonPrintable;
    ++buf;
    if (__builtin_expect(!!(!((unsigned char)(*buf) - 040u < 0137u)), 0))
      goto NonPrintable;
    ++buf;
    if (__builtin_expect(!!(!((unsigned char)(*buf) - 040u < 0137u)), 0))
      goto NonPrintable;
    ++buf;
    if (__builtin_expect(!!(!((unsigned char)(*buf) - 040u < 0137u)), 0))
      goto NonPrintable;
    ++buf;
    continue;
  NonPrintable:
    if ((__builtin_expect(!!((unsigned char)*buf < '\040'), 1) && __builtin_expect(!!(*buf != '\011'), 1)) || __builtin_expect(!!(*buf == '\177'), 0)) {
      goto FOUND_CTL;
    }
    ++buf;
  }
  for (;; ++buf) {
    if (buf == buf_end) {
      *ret = -2;
      return NULL;
    };
    if (__builtin_expect(!!(!((unsigned char)(*buf) - 040u < 0137u)), 0)) {
      if ((__builtin_expect(!!((unsigned char)*buf < '\040'), 1) && __builtin_expect(!!(*buf != '\011'), 1)) || __builtin_expect(!!(*buf == '\177'), 0)) {
        goto FOUND_CTL;
      }
    }
  }
FOUND_CTL:
  if (__builtin_expect(!!(*buf == '\015'), 1)) {
    ++buf;
    if (buf == buf_end) {
      *ret = -2;
      return NULL;
    };
    if (*buf++ != '\012') {
      *ret = -1;
      return NULL;
    };
    *token_len = buf - 2 - token_start;
  } else if (*buf == '\012') {
    *token_len = buf - token_start;
    ++buf;
  } else {
    *ret = -1;
    return NULL;
  }
  *token = token_start;
  return buf;
}
```