user: Demonstrate the C code that generates the assembly output below:

```asm
<linetokens>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x60,%rsp
  mov    %rdi,-0x38(%rbp)
  mov    %rsi,-0x40(%rbp)
  mov    %edx,-0x44(%rbp)
  mov    %rcx,-0x50(%rbp)
  mov    %r8,-0x58(%rbp)
  mov    %r9d,-0x48(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x0,-0x24(%rbp)
  movl   $0x0,-0x20(%rbp)
  movl   $0x0,-0x1c(%rbp)
  lea    -0x38(%rbp),%rax
  mov    %rax,%rdi
  call   <getnewline1@plt>
  test   %rax,%rax
  jne    L309
  mov    $0x0,%eax
  jmp    L242
L309:
  mov    -0x38(%rbp),%rax
  mov    %rax,-0x10(%rbp)
L4:
  mov    -0x10(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x22,%al
  jne    L26
  mov    -0x10(%rbp),%rax
  add    $0x1,%rax
  mov    %rax,-0x10(%rbp)
  movl   $0x1,-0x1c(%rbp)
  jmp    L111
L26:
  movl   $0x0,-0x1c(%rbp)
L111:
  mov    -0x24(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x50(%rbp),%rax
  add    %rax,%rdx
  mov    -0x10(%rbp),%rax
  mov    %rax,(%rdx)
  movl   $0x0,-0x18(%rbp)
  jmp    L90
L59:
  mov    -0x10(%rbp),%rdx
  mov    -0x18(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x22,%al
  jne    L215
  cmpl   $0x0,-0x1c(%rbp)
  sete   %al
  movzbl %al,%eax
  mov    %eax,-0x1c(%rbp)
L215:
  addl   $0x1,-0x18(%rbp)
L90:
  mov    -0x10(%rbp),%rdx
  mov    -0x18(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0xa,%al
  je     L252
  mov    -0x10(%rbp),%rdx
  mov    -0x18(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0xd,%al
  jne    L250
L252:
  mov    $0x1,%eax
  jmp    L148
L250:
  mov    $0x0,%eax
L148:
  mov    %eax,-0x20(%rbp)
  cmpl   $0x0,-0x20(%rbp)
  jne    L68
  cmpl   $0x0,0x10(%rbp)
  je     L143
  mov    -0x44(%rbp),%eax
  sub    $0x1,%eax
  cmp    %eax,-0x24(%rbp)
  je     L59
L143:
  cmpl   $0x0,-0x1c(%rbp)
  jne    L59
  mov    -0x10(%rbp),%rdx
  mov    -0x18(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x2c,%al
  je     L68
  cmpl   $0x0,-0x48(%rbp)
  jne    L59
  mov    -0x10(%rbp),%rdx
  mov    -0x18(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <isspace@plt>
  test   %rax,%rax
  je     L59
L68:
  mov    -0x18(%rbp),%eax
  mov    %eax,-0x14(%rbp)
  jmp    L269
L186:
  subl   $0x1,-0x14(%rbp)
L269:
  cmpl   $0x0,-0x14(%rbp)
  jle    L60
  mov    -0x10(%rbp),%rdx
  mov    -0x14(%rbp),%eax
  cltq
  sub    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <isspace@plt>
  test   %rax,%rax
  jne    L186
  mov    -0x10(%rbp),%rdx
  mov    -0x14(%rbp),%eax
  cltq
  sub    $0x1,%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x22,%al
  je     L186
L60:
  mov    -0x24(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x24(%rbp)
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x58(%rbp),%rax
  add    %rax,%rdx
  mov    -0x14(%rbp),%eax
  mov    %eax,(%rdx)
  mov    -0x10(%rbp),%rdx
  mov    -0x18(%rbp),%eax
  cltq
  add    $0x1,%rax
  add    %rdx,%rax
  mov    %rax,-0x10(%rbp)
  jmp    L79
L139:
  cmpl   $0x0,-0x20(%rbp)
  jne    L127
  mov    -0x10(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0xa,%al
  je     L127
  mov    -0x10(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0xd,%al
  jne    L272
L127:
  mov    $0x1,%eax
  jmp    L256
L272:
  mov    $0x0,%eax
L256:
  mov    %eax,-0x20(%rbp)
  mov    -0x10(%rbp),%rax
  add    $0x1,%rax
  mov    %rax,-0x10(%rbp)
L79:
  mov    -0x10(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <isspace@plt>
  test   %rax,%rax
  jne    L139
  mov    -0x24(%rbp),%eax
  cmp    -0x44(%rbp),%eax
  je     L156
  cmpl   $0x0,-0x20(%rbp)
  jne    L156
  jmp    L4
L156:
  cmpl   $0x0,-0x20(%rbp)
  jne    L40
  lea    -0x10(%rbp),%rax
  mov    %rax,%rdi
  call   <gotoendofline@plt>
L40:
  mov    -0x10(%rbp),%rdx
  mov    -0x40(%rbp),%rax
  mov    %rdx,(%rax)
  mov    -0x24(%rbp),%eax
L242:
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L178
  call   <__stack_chk_fail@plt>
L178:
  leave
  ret
```

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