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

```asm
<parse_cmdline>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x150,%rsp
  mov    %rdi,-0x148(%rbp)
  mov    %rsi,-0x150(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  mov    -0x148(%rbp),%rax
  mov    (%rax),%rax
  mov    %rax,-0x138(%rbp)
  lea    -0x110(%rbp),%rcx
  lea    -0x138(%rbp),%rax
  mov    $0x100,%edx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <dup_next_word_b@plt>
  lea    -0x110(%rbp),%rax
  mov    %rax,%rdi
  call   <create_cnfnode@plt>
  mov    %rax,-0x128(%rbp)
  jmp    L6
L104:
  mov    -0x138(%rbp),%rax
  mov    %rax,-0x120(%rbp)
  lea    -0x138(%rbp),%rax
  mov    %rax,%rdi
  call   <skip_spaces@plt>
  lea    -0x110(%rbp),%rcx
  lea    -0x138(%rbp),%rax
  mov    $0x100,%edx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <dup_next_word_b@plt>
  movzbl -0x110(%rbp),%eax
  cmp    $0x2d,%al
  jne    L41
  movzbl -0x10f(%rbp),%eax
  movsbl %al,%eax
  mov    %eax,-0x13c(%rbp)
  mov    -0x150(%rbp),%rax
  mov    %rax,-0x130(%rbp)
  jmp    L33
L97:
  addq   $0x1,-0x130(%rbp)
L33:
  mov    -0x130(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  je     L65
  mov    -0x130(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  cmp    %eax,-0x13c(%rbp)
  jne    L97
L65:
  mov    -0x130(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  je     L109
  lea    -0x110(%rbp),%rax
  mov    %rax,%rdi
  call   <create_cnfnode@plt>
  mov    %rax,-0x118(%rbp)
  lea    -0x138(%rbp),%rax
  mov    %rax,%rdi
  call   <skip_spaces@plt>
  addq   $0x1,-0x130(%rbp)
  mov    -0x130(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x3a,%al
  jne    L38
  mov    -0x138(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x22,%al
  je     L98
  mov    -0x138(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x27,%al
  je     L98
  lea    -0x110(%rbp),%rcx
  lea    -0x138(%rbp),%rax
  mov    $0x100,%edx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <dup_next_word_b@plt>
  jmp    L63
L98:
  mov    -0x138(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%edx
  lea    -0x110(%rbp),%rsi
  lea    -0x138(%rbp),%rax
  mov    %edx,%ecx
  mov    $0x100,%edx
  mov    %rax,%rdi
  call   <dup_next_quoted_b@plt>
L63:
  lea    -0x110(%rbp),%rdx
  mov    -0x118(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <cnfnode_setval@plt>
L38:
  mov    -0x118(%rbp),%rdx
  mov    -0x128(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <append_node@plt>
  jmp    L6
L41:
  mov    -0x120(%rbp),%rax
  mov    %rax,-0x138(%rbp)
  jmp    L122
L6:
  mov    -0x138(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  jne    L104
  jmp    L122
L109:
  nop
L122:
  mov    -0x138(%rbp),%rdx
  mov    -0x148(%rbp),%rax
  mov    %rdx,(%rax)
  mov    -0x128(%rbp),%rax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L144
  call   <__stack_chk_fail@plt>
L144:
  leave
  ret
```

assistant: ```c
struct cnfnode *parse_cmdline(const char **pp, const char *optstring) {
  struct cnfnode *cn_top, *cn_opt;
  const char *p, *po;
  char buf[256];
  p = *pp;
  dup_next_word_b(&p, buf, sizeof(buf));
  cn_top = create_cnfnode(buf);
  while (*p) {
    const char *p0;
    p0 = p;
    skip_spaces(&p);
    dup_next_word_b(&p, buf, sizeof(buf));
    if (buf[0] == '-') {
      int c = buf[1];
      po = optstring;
      while (*po && *po != c)
        po++;
      if (*po) {
        cn_opt = create_cnfnode(buf);
        skip_spaces(&p);
        po++;
        if (*po == ':') {
          if (*p != '\"' && *p != '\'')
            dup_next_word_b(&p, buf, sizeof(buf));
          else
            dup_next_quoted_b(&p, buf, sizeof(buf), *p);
          cnfnode_setval(cn_opt, buf);
        }
        append_node(cn_top, cn_opt);
      } else
        break;
    } else {
      p = p0;
      break;
    }
  }
  *pp = p;
  return cn_top;
}
```