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

```asm
<get_token_to_eol>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x8,%rsp
  mov    %rdi,%r12
  mov    %rsi,%rbp
  mov    %rdx,%r13
  mov    %rcx,%r14
  mov    %r8,%r15
  mov    %rdi,%rbx
  jmp    L315
L292:
  movzbl 0x1(%rbx),%eax
  sub    $0x20,%eax
  cmp    $0x5e,%eax
  seta   %dil
  movzbl %dil,%edi
  mov    $0x0,%esi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  je     L245
  add    $0x1,%rbx
  jmp    L194
L245:
  movzbl 0x2(%rbx),%eax
  sub    $0x20,%eax
  cmp    $0x5e,%eax
  seta   %dil
  movzbl %dil,%edi
  mov    $0x0,%esi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  je     L82
  add    $0x2,%rbx
  jmp    L194
L82:
  movzbl 0x3(%rbx),%eax
  sub    $0x20,%eax
  cmp    $0x5e,%eax
  seta   %dil
  movzbl %dil,%edi
  mov    $0x0,%esi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  je     L314
  add    $0x3,%rbx
  jmp    L194
L314:
  movzbl 0x4(%rbx),%eax
  sub    $0x20,%eax
  cmp    $0x5e,%eax
  seta   %dil
  movzbl %dil,%edi
  mov    $0x0,%esi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  je     L151
  add    $0x4,%rbx
  jmp    L194
L151:
  movzbl 0x5(%rbx),%eax
  sub    $0x20,%eax
  cmp    $0x5e,%eax
  seta   %dil
  movzbl %dil,%edi
  mov    $0x0,%esi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  je     L178
  add    $0x5,%rbx
  jmp    L194
L178:
  movzbl 0x6(%rbx),%eax
  sub    $0x20,%eax
  cmp    $0x5e,%eax
  seta   %dil
  movzbl %dil,%edi
  mov    $0x0,%esi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  je     L119
  add    $0x6,%rbx
  jmp    L194
L119:
  movzbl 0x7(%rbx),%eax
  sub    $0x20,%eax
  cmp    $0x5e,%eax
  seta   %dil
  movzbl %dil,%edi
  mov    $0x0,%esi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  je     L233
  add    $0x7,%rbx
  jmp    L194
L233:
  add    $0x8,%rbx
  jmp    L315
L70:
  cmpb   $0x7f,(%rbx)
  sete   %dil
  movzbl %dil,%edi
  mov    $0x0,%esi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  jne    L337
  add    $0x1,%rbx
L315:
  mov    %rbp,%rax
  sub    %rbx,%rax
  cmp    $0x7,%rax
  setg   %dil
  movzbl %dil,%edi
  mov    $0x1,%esi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  je     L47
  movzbl (%rbx),%eax
  sub    $0x20,%eax
  cmp    $0x5e,%eax
  seta   %dil
  movzbl %dil,%edi
  mov    $0x0,%esi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  je     L292
L194:
  cmpb   $0x1f,(%rbx)
  setbe  %dil
  movzbl %dil,%edi
  mov    $0x1,%esi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  je     L70
  cmpb   $0x9,(%rbx)
  setne  %dil
  movzbl %dil,%edi
  mov    $0x1,%esi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  je     L70
L337:
  cmpb   $0xd,(%rbx)
  sete   %dil
  movzbl %dil,%edi
  mov    $0x1,%esi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  je     L130
  lea    0x1(%rbx),%rax
  cmp    %rax,%rbp
  je     L83
  lea    0x2(%rbx),%rax
  mov    %rbx,%rdx
  sub    %r12,%rdx
  cmpb   $0xa,0x1(%rbx)
  je     L123
  movl   $0xffffffff,(%r15)
  mov    $0x0,%eax
  jmp    L255
L47:
  cmp    %rbp,%rbx
  jne    L46
L10:
  movl   $0xfffffffe,(%r15)
  mov    $0x0,%eax
  jmp    L255
L187:
  cmpb   $0x7f,(%rbx)
  sete   %dil
  movzbl %dil,%edi
  mov    $0x0,%esi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  jne    L337
L61:
  add    $0x1,%rbx
  cmp    %rbx,%rbp
  je     L10
L46:
  movzbl (%rbx),%eax
  sub    $0x20,%eax
  cmp    $0x5e,%eax
  seta   %dil
  movzbl %dil,%edi
  mov    $0x0,%esi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  je     L61
  cmpb   $0x1f,(%rbx)
  setbe  %dil
  movzbl %dil,%edi
  mov    $0x1,%esi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  je     L187
  cmpb   $0x9,(%rbx)
  setne  %dil
  movzbl %dil,%edi
  mov    $0x1,%esi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  je     L187
  jmp    L337
L83:
  movl   $0xfffffffe,(%r15)
  mov    $0x0,%eax
  jmp    L255
L130:
  cmpb   $0xa,(%rbx)
  jne    L120
  mov    %rbx,%rdx
  sub    %r12,%rdx
  lea    0x1(%rbx),%rax
L123:
  mov    %rdx,(%r14)
  mov    %r12,0x0(%r13)
L255:
  add    $0x8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L120:
  movl   $0xffffffff,(%r15)
  mov    $0x0,%eax
  jmp    L255
```

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;
}
```