user: 请将以下的汇编代码转换成C语言代码:

```asm
<parse_syslogng_items>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  mov    %rsi,%rbp
  push   %rbx
  sub    $0x148,%rsp
  mov    %rdi,0x10(%rsp)
  lea    0x30(%rsp),%r14
  lea    0x28(%rsp),%rbx
  mov    %rdx,0x18(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x138(%rsp)
  mov    %rdx,%rax
  mov    (%rax),%rax
  mov    %rax,0x28(%rsp)
  movsbl (%rax),%edi
  lea    0x12f(%rsp),%rax
  mov    %rax,0x8(%rsp)
  nopl   0x0(%rax,%rax,1)
L266:
  mov    %r14,%r12
  test   %dil,%dil
  je     L273
  nopl   0x0(%rax,%rax,1)
L153:
  call   <isalnum@plt>
  test   %rax,%rax
  mov    0x28(%rsp),%rax
  jne    L261
  movzbl (%rax),%edx
  cmp    $0x2d,%dl
  je     L261
  cmp    $0x5f,%dl
  jne    L273
L261:
  lea    0x1(%rax),%rdx
  add    $0x1,%r12
  mov    %rdx,0x28(%rsp)
  movzbl (%rax),%edx
  mov    %dl,-0x1(%r12)
  movsbl 0x1(%rax),%edi
  test   %dil,%dil
  jne    L153
L273:
  movb   $0x0,(%r12)
  mov    %r14,%rdi
  call   <create_cnfnode@plt>
  mov    0x10(%rsp),%rdi
  mov    %rax,%rsi
  mov    %rax,%r12
  call   <append_node@plt>
  mov    %rbp,%rdi
  mov    %rbx,%rsi
  call   <_skip_spaces@plt>
  mov    %rax,%rbp
  mov    0x28(%rsp),%rax
  movsbl (%rax),%edi
  cmp    $0x28,%dil
  je     L189
L235:
  cmp    $0x29,%dil
  jne    L266
  mov    0x18(%rsp),%rbx
  add    $0x1,%rax
  mov    %rax,(%rbx)
  mov    0x138(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L19
  add    $0x148,%rsp
  mov    %rbp,%rax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   (%rax)
L189:
  add    $0x1,%rax
  mov    %rbp,%rdi
  mov    %rbx,%rsi
  mov    %rax,0x28(%rsp)
  call   <_skip_spaces@plt>
  mov    %rax,%rbp
  mov    0x28(%rsp),%rax
  movzbl (%rax),%r13d
  cmp    $0x22,%r13b
  je     L146
  cmp    $0x27,%r13b
  jne    L239
L146:
  cmpb   $0x5c,-0x1(%rax)
  je     L239
  lea    0x1(%rax),%rcx
  lea    0x31(%rsp),%r15
  mov    %rcx,0x28(%rsp)
  movzbl (%rax),%esi
  movzbl 0x1(%rax),%eax
  mov    %sil,0x30(%rsp)
  test   %al,%al
  jne    L215
  jmp    L208
  nopl   (%rax)
L32:
  cmp    0x8(%rsp),%r15
  je     L208
  mov    %al,(%r15)
  mov    %rbp,%rdi
  mov    %rbx,%rsi
  add    $0x1,%r15
  call   <next_char@plt>
  mov    0x28(%rsp),%rcx
  mov    %rax,%rbp
  movzbl (%rcx),%eax
  test   %al,%al
  je     L208
L215:
  cmp    %al,%r13b
  jne    L32
  cmpb   $0x5c,-0x1(%rcx)
  je     L32
L57:
  lea    0x1(%rcx),%rax
  add    $0x1,%r15
  mov    %rax,0x28(%rsp)
  movzbl (%rcx),%eax
  mov    %al,-0x1(%r15)
  nopw   0x0(%rax,%rax,1)
L240:
  movb   $0x0,(%r15)
  mov    %rbp,%rdi
  mov    %rbx,%rsi
  call   <_skip_spaces@plt>
  mov    %rax,%rbp
  mov    0x28(%rsp),%rax
  cmpb   $0x29,(%rax)
  jne    L82
  add    $0x1,%rax
  mov    %rax,0x28(%rsp)
L82:
  mov    %r14,%rsi
  mov    %r12,%rdi
  call   <cnfnode_setval@plt>
  mov    %rbp,%rdi
  mov    %rbx,%rsi
  call   <_skip_spaces@plt>
  mov    %rax,%rbp
  mov    0x28(%rsp),%rax
  movsbl (%rax),%edi
  jmp    L235
L239:
  mov    %r14,%r15
  test   %r13b,%r13b
  jne    L226
  jmp    L240
  nopl   (%rax)
L56:
  cmp    0x8(%rsp),%r15
  jae    L240
  mov    %al,(%r15)
  mov    %rbp,%rdi
  mov    %rbx,%rsi
  add    $0x1,%r15
  call   <next_char@plt>
  mov    %rax,%rbp
  mov    0x28(%rsp),%rax
  movzbl (%rax),%r13d
  test   %r13b,%r13b
  je     L240
L226:
  movsbl %r13b,%edi
  call   <isspace@plt>
  test   %eax,%eax
  jne    L240
  mov    0x28(%rsp),%rax
  movzbl (%rax),%eax
  lea    -0x28(%rax),%edx
  cmp    $0x1,%dl
  ja     L56
  jmp    L240
L208:
  cmp    %r13b,%al
  jne    L240
  jmp    L57
L19:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
struct confline *parse_syslogng_items(struct cnfnode *cn_top, struct confline *cl, const char **pp) {
  struct cnfnode *cn;
  char buf[256], *q;
  const char *p = *pp;
  while (1) {
    q = buf;
    while (*p && (isalnum(*p) || (*p == '_') || (*p == '-')))
      *q++ = *p++;
    *q = 0;
    append_node(cn_top, cn = create_cnfnode(buf));
    cl = _skip_spaces(cl, &p);
    if (*p == '(') {
      p++;
      cl = _skip_spaces(cl, &p);
      q = buf;
      if ((*p == '\"' || *p == '\'') && (p[-1] != '\\')) {
        char qc = *p;
        *q++ = *p++;
        while (*p && ((*p != qc) || (p[-1] == '\\')) && q < buf + sizeof(buf) - 1) {
          *q++ = *p;
          cl = next_char(cl, &p);
        }
        if (*p == qc)
          *q++ = *p++;
      } else {
        while (*p && !isspace(*p) && *p != '(' && *p != ')' && q < buf + sizeof(buf) - 1) {
          *q++ = *p;
          cl = next_char(cl, &p);
        }
      }
      *q = 0;
      cl = _skip_spaces(cl, &p);
      if (*p == ')')
        p++;
      cnfnode_setval(cn, buf);
      cl = _skip_spaces(cl, &p);
    }
    if (*p == ')') {
      p++;
      break;
    }
  }
  *pp = p;
  return cl;
}
```