user: 这段汇编代码用C语言表示是什么样的：

```asm
<linetokens>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x48,%rsp
  mov    %rdi,0x28(%rsp)
  mov    %rsi,0x20(%rsp)
  mov    %edx,%ebx
  mov    %edx,0xc(%rsp)
  mov    %rcx,0x10(%rsp)
  mov    %r8,0x18(%rsp)
  mov    %r9d,0x8(%rsp)
  mov    0x80(%rsp),%r14d
  mov    %fs:0x28,%rax
  mov    %rax,0x38(%rsp)
  xor    %eax,%eax
  lea    0x28(%rsp),%rdi
  call   <getnewline1@plt>
  mov    $0x0,%r13d
  test   %rax,%rax
  je     L14
  mov    0x28(%rsp),%rax
  mov    %rax,0x30(%rsp)
  mov    $0x0,%r15d
  lea    -0x1(%rbx),%eax
  mov    %eax,0x4(%rsp)
  jmp    L227
L148:
  add    $0x1,%rax
  mov    %rax,0x30(%rsp)
  mov    $0x1,%r12d
  jmp    L91
L54:
  mov    0x30(%rsp),%rax
  cmpb   $0x22,(%rax,%rbx,1)
  je     L32
L1:
  lea    0x1(%r13),%ebp
  add    $0x1,%rbx
  movzbl (%rax,%rbx,1),%edi
  cmp    $0xa,%dil
  je     L131
  cmp    $0xd,%dil
  je     L131
L285:
  mov    %ebx,%r13d
  mov    %ebx,%ebp
  test   %r14d,%r14d
  je     L12
  cmp    %r15d,0x4(%rsp)
  je     L54
L12:
  test   %r12d,%r12d
  jne    L54
  cmp    $0x2c,%dil
  je     L213
  cmpl   $0x0,0x8(%rsp)
  jne    L54
  movsbl %dil,%edi
  call   <isspace@plt>
  test   %rax,%rax
  je     L54
  mov    0x8(%rsp),%r12d
  jmp    L213
L32:
  test   %r12d,%r12d
  sete   %r12b
  movzbl %r12b,%r12d
  jmp    L1
L248:
  sub    $0x1,%r13
  sub    $0x1,%ebp
  je     L40
L135:
  mov    0x30(%rsp),%rax
  movsbl (%rax,%r13,1),%edi
  call   <isspace@plt>
  test   %rax,%rax
  jne    L248
  mov    0x30(%rsp),%rax
  cmpb   $0x22,(%rax,%r13,1)
  je     L248
L40:
  lea    0x1(%r15),%r13d
  mov    0x18(%rsp),%rax
  mov    %ebp,(%rax,%r15,4)
  mov    0x30(%rsp),%rax
  lea    0x1(%rax,%rbx,1),%rax
  jmp    L323
L131:
  mov    $0x1,%r12d
L213:
  test   %ebp,%ebp
  jle    L40
  movslq %ebp,%r13
  sub    $0x1,%r13
  jmp    L135
L267:
  mov    $0x1,%r12d
  mov    $0x0,%ebx
  mov    $0x0,%ebp
  jmp    L40
L4:
  mov    0x30(%rsp),%rax
  add    $0x1,%rax
L323:
  mov    %rax,0x30(%rsp)
  movsbl (%rax),%edi
  call   <isspace@plt>
  test   %rax,%rax
  je     L294
  test   %r12d,%r12d
  jne    L4
  mov    0x30(%rsp),%rax
  movzbl (%rax),%eax
  cmp    $0xa,%al
  sete   %r12b
  cmp    $0xd,%al
  sete   %al
  or     %eax,%r12d
  movzbl %r12b,%r12d
  jmp    L4
L294:
  add    $0x1,%r15
  cmp    %r13d,0xc(%rsp)
  je     L273
  test   %r12d,%r12d
  jne    L273
L227:
  mov    0x30(%rsp),%rax
  mov    $0x0,%r12d
  cmpb   $0x22,(%rax)
  je     L148
L91:
  mov    0x30(%rsp),%rax
  mov    0x10(%rsp),%rdx
  mov    %rax,(%rdx,%r15,8)
  movzbl (%rax),%edi
  cmp    $0xa,%dil
  je     L267
  cmp    $0xd,%dil
  je     L267
  mov    $0x0,%ebx
  jmp    L285
L273:
  test   %r12d,%r12d
  je     L122
L161:
  mov    0x30(%rsp),%rax
  mov    0x20(%rsp),%rcx
  mov    %rax,(%rcx)
L14:
  mov    0x38(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L126
  mov    %r13d,%eax
  add    $0x48,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L122:
  lea    0x30(%rsp),%rdi
  call   <gotoendofline@plt>
  jmp    L161
L126:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
int linetokens(char *line, char **newline, int maxtokens, char **tokens, int *tokenlen, int nurkomma, int last_is_comment) {
  int toks = 0;
  int eol = 0;
  int quote = 0;
  char *c;
  int l, l1;
  if (getnewline1(&line) == 0)
    return 0;
  c = line;
  while (1) {
    if (*c == '"') {
      c++;
      quote = 1;
    } else
      quote = 0;
    tokens[toks] = c;
    for (l = 0; !((eol = (c[l] == 10 || c[l] == 13)) || (!(last_is_comment && toks == maxtokens - 1) && (!quote && (c[l] == ',' || (!nurkomma && isspace((int)(c[l]))))))); l++)
      if (c[l] == '"')
        quote = !quote;
    for (l1 = l; l1 > 0 && (isspace((int)(c[l1 - 1])) || c[l1 - 1] == '"'); l1--)
      ;
    tokenlen[toks++] = l1;
    for (c = c + l + 1; isspace((int)*c); c++)
      eol = eol || (*c == 10 || *c == 13);
    if (toks == maxtokens || eol)
      break;
  }
  if (!eol)
    gotoendofline(&c);
  *newline = c;
  return toks;
}
```