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

```asm
<nodelist_common_split_nodelist_entry>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  mov    %rdi,%r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %rsi,(%rsp)
  mov    %rdx,0x8(%rsp)
  mov    %rcx,0x10(%rsp)
  call   <strlen@plt>
  mov    %r13,%rdi
  movslq %eax,%rbx
  call   <strlen@plt>
  add    %r13,%rbx
  lea    0x1(%rax),%edi
  call   <malloc@plt>
  test   %rax,%rax
  je     L358
  movsbl 0x0(%r13),%edi
  mov    %rax,%r15
  mov    %rax,%r14
  mov    %r13,%rbp
  cmp    $0x5b,%dil
  jne    L51
  nop
L392:
  mov    %r15,%rdi
  xor    %r14d,%r14d
  xor    %r15d,%r15d
  call   <free@plt>
  cmpb   $0x5b,0x0(%r13)
  je     L204
  mov    %r13,%r12
  cmp    %r13,%rbx
  ja     L346
  nopl   (%rax)
L172:
  mov    %r13,%r12
  xor    %ebp,%ebp
L220:
  cmp    %r12,%rbx
  je     L69
L322:
  sub    %r12,%rbx
  lea    0x1(%rbx),%edi
  mov    %rbx,%r13
  xor    %ebx,%ebx
  call   <malloc@plt>
  test   %rax,%rax
  jne    L245
  test   %r14,%r14
  je     L246
L349:
  mov    %r14,%rdi
  call   <free@plt>
L246:
  test   %rbp,%rbp
  je     L252
  mov    %rbp,%rdi
  call   <free@plt>
L252:
  test   %rbx,%rbx
  je     L31
  mov    %rbx,%rdi
  mov    $0xffffffff,%r15d
  xor    %ebp,%ebp
  xor    %ebx,%ebx
  call   <free@plt>
  xor    %r14d,%r14d
L284:
  mov    (%rsp),%rax
  mov    %r14,(%rax)
  mov    0x8(%rsp),%rax
  mov    %rbp,(%rax)
  mov    0x10(%rsp),%rax
  mov    %rbx,(%rax)
  add    $0x28,%rsp
  mov    %r15d,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L237:
  cmp    %rbp,%rbx
  jbe    L4
  movsbl 0x1(%rbp),%edi
  add    $0x1,%rbp
  cmp    $0x5b,%dil
  je     L4
L51:
  call   <isdigit@plt>
  test   %rax,%rax
  je     L237
L4:
  cmp    %rbp,%r13
  je     L392
  cmp    %rbp,%rbx
  jb     L392
  mov    %rbp,%r12
  mov    %r13,%rsi
  mov    %r15,%rdi
  sub    %r13,%r12
  mov    %rbp,%r13
  mov    %r12d,%edx
  call   <memcpy@plt>
  movb   $0x0,(%r15,%r12,1)
  xor    %r15d,%r15d
  jmp    L279
L358:
  xor    %r14d,%r14d
  mov    $0xffffffff,%r15d
  jmp    L279
  nopl   0x0(%rax,%rax,1)
L204:
  cmp    %r13,%rbx
  jbe    L172
  add    $0x1,%r13
L279:
  cmpb   $0x5b,0x0(%r13)
  je     L204
  mov    %r13,%r12
  cmp    %r13,%rbx
  ja     L346
  jmp    L172
  nopl   0x0(%rax)
L131:
  add    $0x1,%r12
L346:
  movsbl (%r12),%edi
  call   <isdigit@plt>
  test   %rax,%rax
  jne    L163
  movzbl (%r12),%eax
  sub    $0x2c,%eax
  cmp    $0x1,%al
  ja     L335
L163:
  cmp    %rbx,%r12
  jne    L131
L335:
  cmpb   $0x2d,-0x1(%r12)
  je     L151
L280:
  mov    %r12,%rax
  sub    %r13,%rax
  lea    0x1(%rax),%edi
  mov    %rax,0x18(%rsp)
  call   <malloc@plt>
  test   %rax,%rax
  jne    L238
  xor    %ebp,%ebp
  mov    $0xffffffff,%r15d
L233:
  cmpb   $0x5d,(%r12)
  jne    L220
  cmp    %rbx,%r12
  jb     L201
  jmp    L220
  nopl   0x0(%rax)
L321:
  cmp    %r12,%rbx
  jbe    L220
L201:
  add    $0x1,%r12
  cmpb   $0x5d,(%r12)
  je     L321
  cmp    %r12,%rbx
  jne    L322
L69:
  xor    %ebx,%ebx
L41:
  test   %r15d,%r15d
  je     L284
  test   %r14,%r14
  jne    L349
  jmp    L246
  xchg   %ax,%ax
L31:
  xor    %ebp,%ebp
  xor    %r14d,%r14d
  mov    $0xffffffff,%r15d
  jmp    L284
L245:
  mov    %rax,%rbx
  mov    %r13d,%edx
  mov    %r12,%rsi
  mov    %rax,%rdi
  call   <memcpy@plt>
  movb   $0x0,(%rbx,%r13,1)
  jmp    L41
  nopl   0x0(%rax,%rax,1)
L151:
  lea    -0x1(%r12),%rax
  cmpb   $0x2d,-0x2(%r12)
  mov    %rax,%r12
  jne    L280
  nopl   0x0(%rax)
L208:
  sub    $0x1,%r12
  cmpb   $0x2d,-0x1(%r12)
  je     L208
  jmp    L280
  nopl   0x0(%rax)
L238:
  mov    0x18(%rsp),%edx
  mov    %r13,%rsi
  mov    %rax,%rdi
  mov    %rax,%rbp
  call   <memcpy@plt>
  mov    0x18(%rsp),%rax
  movb   $0x0,0x0(%rbp,%rax,1)
  jmp    L233
```

assistant: ```c
int nodelist_common_split_nodelist_entry(char *list, char **p_prefix, char **p_idlist, char **p_suffix) {
  int fstatus = 0;
  char *list_end;
  char *prefix = NULL;
  char *prefix_begin;
  char *prefix_end;
  char *suffix = NULL;
  char *suffix_begin;
  char *idlist = NULL;
  char *idlist_begin;
  char *idlist_end;
  list_end = list + (strlen(list));
  prefix_begin = list;
  prefix_end = list;
  prefix = (char *)malloc((strlen(list) + 1) * sizeof(char));
  if (prefix != NULL) {
    while (*prefix_end != '[' && !isdigit(*prefix_end) && prefix_end < list_end)
      prefix_end++;
    if (prefix_end != prefix_begin && prefix_end <= list_end) {
      memcpy(prefix, list, (prefix_end - prefix_begin) * sizeof(char));
      prefix[prefix_end - prefix_begin] = '\0';
    } else {
      if (prefix != NULL) {
        free(prefix);
        prefix = NULL;
      };
    }
  } else {
    fstatus = -1;
  }
  if (prefix != NULL)
    idlist_begin = prefix_end;
  else
    idlist_begin = list;
  while (*idlist_begin == '[' && idlist_begin < list_end)
    idlist_begin++;
  idlist_end = idlist_begin;
  if (idlist_begin < list_end) {
    while ((isdigit(*idlist_end) || *idlist_end == ',' || *idlist_end == '-') && idlist_end < list_end) {
      idlist_end++;
    }
    if (*(idlist_end - 1) == '-') {
      idlist_end--;
      while (*(idlist_end - 1) == '-')
        idlist_end--;
    }
    idlist = (char *)malloc((idlist_end - idlist_begin + 1) * sizeof(char));
    if (idlist != NULL) {
      memcpy(idlist, idlist_begin, (idlist_end - idlist_begin) * sizeof(char));
      idlist[idlist_end - idlist_begin] = '\0';
    } else {
      fstatus = -1;
    }
  }
  suffix_begin = idlist_end;
  while (*suffix_begin == ']' && suffix_begin < list_end)
    suffix_begin++;
  if (suffix_begin != list_end) {
    suffix = (char *)malloc((list_end - suffix_begin + 1) * sizeof(char));
    if (suffix != NULL) {
      memcpy(suffix, suffix_begin, (list_end - suffix_begin) * sizeof(char));
      suffix[list_end - suffix_begin] = '\0';
    } else {
      fstatus = -1;
    }
  }
  if (fstatus != 0) {
    if (prefix != NULL) {
      free(prefix);
      prefix = NULL;
    };
    if (idlist != NULL) {
      free(idlist);
      idlist = NULL;
    };
    if (suffix != NULL) {
      free(suffix);
      suffix = NULL;
    };
  }
  *p_prefix = prefix;
  *p_idlist = idlist;
  *p_suffix = suffix;
  return fstatus;
}
```