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    L89
  cs nopw 0x0(%rax,%rax,1)
L217:
  add    $0x1,%rbx
L115:
  xor    %edi,%edi
  cmpb   $0x1f,(%rbx)
  mov    $0x1,%esi
  setbe  %dil
  call   <__builtin_expect@plt>
  test   %rax,%rax
  je     L215
  xor    %edi,%edi
  cmpb   $0x9,(%rbx)
  mov    $0x1,%esi
  setne  %dil
  call   <__builtin_expect@plt>
  test   %rax,%rax
  jne    L110
L215:
  xor    %edi,%edi
  cmpb   $0x7f,(%rbx)
  sete   %dil
  xor    %esi,%esi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  jne    L110
  add    $0x1,%rbx
L89:
  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     L63
  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    L115
  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    L217
  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     L34
  add    $0x2,%rbx
  jmp    L115
  nopl   0x0(%rax)
L34:
  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     L297
  add    $0x3,%rbx
  jmp    L115
  nopl   0x0(%rax)
L63:
  cmp    %rbp,%rbx
  jne    L169
  jmp    L258
  nopw   0x0(%rax,%rax,1)
L218:
  add    $0x1,%rbx
  cmp    %rbx,%rbp
  je     L258
L169:
  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     L218
  xor    %edi,%edi
  cmpb   $0x1f,(%rbx)
  mov    $0x1,%esi
  setbe  %dil
  call   <__builtin_expect@plt>
  test   %rax,%rax
  je     L6
  xor    %edi,%edi
  cmpb   $0x9,(%rbx)
  mov    $0x1,%esi
  setne  %dil
  call   <__builtin_expect@plt>
  test   %rax,%rax
  jne    L110
L6:
  xor    %edi,%edi
  cmpb   $0x7f,(%rbx)
  sete   %dil
  xor    %esi,%esi
  call   <__builtin_expect@plt>
  test   %rax,%rax
  je     L218
  nopl   (%rax)
L110:
  xor    %edi,%edi
  cmpb   $0xd,(%rbx)
  mov    $0x1,%esi
  sete   %dil
  call   <__builtin_expect@plt>
  test   %rax,%rax
  jne    L239
  cmpb   $0xa,(%rbx)
  jne    L176
  mov    %rbx,%rdx
  lea    0x1(%rbx),%rax
  sub    %r12,%rdx
L213:
  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)
L297:
  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     L183
  add    $0x4,%rbx
  jmp    L115
  nopl   (%rax)
L239:
  lea    0x1(%rbx),%rax
  cmp    %rax,%rbp
  je     L258
  mov    %rbx,%rdx
  lea    0x2(%rbx),%rax
  sub    %r12,%rdx
  cmpb   $0xa,0x1(%rbx)
  je     L213
L176:
  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)
L183:
  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     L283
  add    $0x5,%rbx
  jmp    L115
  nopl   (%rax)
L258:
  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)
L283:
  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     L11
  add    $0x6,%rbx
  jmp    L115
L11:
  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     L289
  add    $0x7,%rbx
  jmp    L115
L289:
  add    $0x8,%rbx
  jmp    L89
```

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