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

```asm
<get_token_to_eol>:
  endbr64
  push   %r15
  mov    %rcx,%r15
  push   %r14
  mov    %rdx,%r14
  push   %r13
  mov    %r8,%r13
  push   %r12
  mov    %rdi,%r12
  push   %rbp
  mov    %rsi,%rbp
  push   %rbx
  mov    %rdi,%rbx
  sub    $0x8,%rsp
  jmp    L292
  cs nopw 0x0(%rax,%rax,1)
L131:
  add    $0x1,%rbx
L128:
  xor    %edi,%edi
  cmpb   $0x1f,(%rbx)
  mov    $0x1,%esi
  setbe  %dil
  call   <__builtin_expect@plt>
  test   %rax,%rax
  je     L36
  xor    %edi,%edi
  cmpb   $0x9,(%rbx)
  mov    $0x1,%esi
  setne  %dil
  call   <__builtin_expect@plt>
  test   %rax,%rax
  jne    L64
L36:
  xor    %edi,%edi
  cmpb   $0x7f,(%rbx)
  sete   %dil
  xor    %esi,%esi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  jne    L64
  add    $0x1,%rbx
L292:
  mov    %rbp,%rax
  xor    %edi,%edi
  mov    $0x1,%esi
  sub    %rbx,%rax
  cmp    $0x7,%rax
  setg   %dil
  call   <__builtin_expect@plt>
  test   %rax,%rax
  je     L273
  movzbl (%rbx),%eax
  xor    %edi,%edi
  sub    $0x20,%eax
  cmp    $0x5e,%eax
  seta   %dil
  xor    %esi,%esi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  jne    L128
  movzbl 0x1(%rbx),%eax
  xor    %edi,%edi
  sub    $0x20,%eax
  cmp    $0x5e,%eax
  seta   %dil
  xor    %esi,%esi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  jne    L131
  movzbl 0x2(%rbx),%eax
  xor    %edi,%edi
  sub    $0x20,%eax
  cmp    $0x5e,%eax
  seta   %dil
  xor    %esi,%esi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  je     L211
  add    $0x2,%rbx
  jmp    L128
  nopl   0x0(%rax)
L211:
  movzbl 0x3(%rbx),%eax
  xor    %edi,%edi
  sub    $0x20,%eax
  cmp    $0x5e,%eax
  seta   %dil
  xor    %esi,%esi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  je     L46
  add    $0x3,%rbx
  jmp    L128
  nopl   0x0(%rax)
L273:
  cmp    %rbp,%rbx
  jne    L221
  jmp    L129
  nopw   0x0(%rax,%rax,1)
L204:
  add    $0x1,%rbx
  cmp    %rbx,%rbp
  je     L129
L221:
  movzbl (%rbx),%eax
  xor    %edi,%edi
  sub    $0x20,%eax
  cmp    $0x5e,%eax
  seta   %dil
  xor    %esi,%esi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  je     L204
  xor    %edi,%edi
  cmpb   $0x1f,(%rbx)
  mov    $0x1,%esi
  setbe  %dil
  call   <__builtin_expect@plt>
  test   %rax,%rax
  je     L48
  xor    %edi,%edi
  cmpb   $0x9,(%rbx)
  mov    $0x1,%esi
  setne  %dil
  call   <__builtin_expect@plt>
  test   %rax,%rax
  jne    L64
L48:
  xor    %edi,%edi
  cmpb   $0x7f,(%rbx)
  sete   %dil
  xor    %esi,%esi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  je     L204
  nopl   (%rax)
L64:
  xor    %edi,%edi
  cmpb   $0xd,(%rbx)
  mov    $0x1,%esi
  sete   %dil
  call   <__builtin_expect@plt>
  test   %rax,%rax
  jne    L132
  cmpb   $0xa,(%rbx)
  jne    L220
  mov    %rbx,%rdx
  lea    0x1(%rbx),%rax
  sub    %r12,%rdx
L147:
  mov    %rdx,(%r15)
  mov    %r12,(%r14)
  add    $0x8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L46:
  movzbl 0x4(%rbx),%eax
  xor    %edi,%edi
  sub    $0x20,%eax
  cmp    $0x5e,%eax
  seta   %dil
  xor    %esi,%esi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  je     L98
  add    $0x4,%rbx
  jmp    L128
  nopl   (%rax)
L132:
  lea    0x1(%rbx),%rax
  cmp    %rax,%rbp
  je     L129
  mov    %rbx,%rdx
  lea    0x2(%rbx),%rax
  sub    %r12,%rdx
  cmpb   $0xa,0x1(%rbx)
  je     L147
L220:
  movl   $0xffffffff,0x0(%r13)
  add    $0x8,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopw   0x0(%rax,%rax,1)
L98:
  movzbl 0x5(%rbx),%eax
  xor    %edi,%edi
  sub    $0x20,%eax
  cmp    $0x5e,%eax
  seta   %dil
  xor    %esi,%esi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  je     L53
  add    $0x5,%rbx
  jmp    L128
  nopl   (%rax)
L129:
  movl   $0xfffffffe,0x0(%r13)
  add    $0x8,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L53:
  movzbl 0x6(%rbx),%eax
  xor    %edi,%edi
  sub    $0x20,%eax
  cmp    $0x5e,%eax
  seta   %dil
  xor    %esi,%esi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  je     L15
  add    $0x6,%rbx
  jmp    L128
L15:
  movzbl 0x7(%rbx),%eax
  xor    %edi,%edi
  sub    $0x20,%eax
  cmp    $0x5e,%eax
  seta   %dil
  xor    %esi,%esi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  je     L123
  add    $0x7,%rbx
  jmp    L128
L123:
  add    $0x8,%rbx
  jmp    L292
```

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)) {
    do {
      if (__builtin_expect(!!(!((unsigned char)(*buf) - 040u < 0137u)), 0))
        goto NonPrintable;
      ++buf;
    } while (0);
    do {
      if (__builtin_expect(!!(!((unsigned char)(*buf) - 040u < 0137u)), 0))
        goto NonPrintable;
      ++buf;
    } while (0);
    do {
      if (__builtin_expect(!!(!((unsigned char)(*buf) - 040u < 0137u)), 0))
        goto NonPrintable;
      ++buf;
    } while (0);
    do {
      if (__builtin_expect(!!(!((unsigned char)(*buf) - 040u < 0137u)), 0))
        goto NonPrintable;
      ++buf;
    } while (0);
    do {
      if (__builtin_expect(!!(!((unsigned char)(*buf) - 040u < 0137u)), 0))
        goto NonPrintable;
      ++buf;
    } while (0);
    do {
      if (__builtin_expect(!!(!((unsigned char)(*buf) - 040u < 0137u)), 0))
        goto NonPrintable;
      ++buf;
    } while (0);
    do {
      if (__builtin_expect(!!(!((unsigned char)(*buf) - 040u < 0137u)), 0))
        goto NonPrintable;
      ++buf;
    } while (0);
    do {
      if (__builtin_expect(!!(!((unsigned char)(*buf) - 040u < 0137u)), 0))
        goto NonPrintable;
      ++buf;
    } while (0);
    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;
}
```