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

```asm
<np_parse_list_str>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  movslq %r8d,%rbx
  add    %rcx,%rbx
  sub    $0x18,%rsp
  mov    %esi,0xc(%rsp)
  mov    %edx,0x8(%rsp)
  cmp    %rbx,%rcx
  jae    L285
  mov    %rdi,(%rsp)
  mov    %rcx,%r14
  mov    $0x1,%r13d
  xor    %r12d,%r12d
L80:
  movsbl (%r14),%edi
  xor    %r15d,%r15d
  cmp    $0x2d,%dil
  jne    L215
  movsbl 0x1(%r14),%edi
  mov    $0x1,%r15d
  add    $0x1,%r14
L215:
  call   <isdigit@plt>
  test   %rax,%rax
  je     L288
  xor    %ebp,%ebp
  jmp    L71
  nopw   0x0(%rax,%rax,1)
L207:
  movsbl (%r14),%edi
  call   <isdigit@plt>
  test   %rax,%rax
  je     L29
  cmp    $0xccccccc,%ebp
  jg     L288
  movsbl (%r14),%eax
  lea    0x0(%rbp,%rbp,4),%ecx
  add    $0x1,%r14
  lea    -0x30(%rax,%rcx,2),%ebp
  test   %ebp,%ebp
  js     L288
L71:
  cmp    %rbx,%r14
  jb     L207
L29:
  mov    %ebp,%eax
  neg    %eax
  test   %r15d,%r15d
  cmovne %eax,%ebp
  add    $0x1,%r12d
  cmp    %r12d,0x8(%rsp)
  je     L2
  lea    -0x1(%r13),%eax
  cmp    0xc(%rsp),%eax
  jge    L288
  cmp    %rbx,%r14
  jb     L178
  mov    (%rsp),%rax
  mov    %r13d,%r15d
  mov    %ebp,(%rax)
  je     L228
  movsbl (%r14),%ecx
  test   %r12d,%r12d
  je     L258
L74:
  mov    $0x5f,%eax
L224:
  xor    %edi,%edi
  cmp    %ecx,%eax
  sete   %dil
  add    $0x1,%r14
  add    $0x1,%r13d
  call   <assert@plt>
  addq   $0x4,(%rsp)
  cmp    %r14,%rbx
  ja     L80
  sete   %dil
  movzbl %dil,%edi
  call   <assert@plt>
  test   %r12d,%r12d
  jne    L288
  mov    %r15d,%eax
  cltd
  idivl  0x8(%rsp)
  jmp    L106
L257:
  cmp    $0x2c,%eax
  je     L7
  nopl   0x0(%rax,%rax,1)
L288:
  mov    $0xffffffff,%eax
L106:
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L178:
  movsbl (%r14),%eax
  test   %r12d,%r12d
  je     L257
  cmp    $0x5f,%eax
  jne    L288
  mov    (%rsp),%rax
  mov    %r13d,%r15d
  mov    %ebp,(%rax)
  movsbl (%r14),%ecx
  jmp    L74
  nopl   0x0(%rax,%rax,1)
L2:
  lea    -0x1(%r13),%eax
  cmp    0xc(%rsp),%eax
  jge    L288
  cmp    %rbx,%r14
  jae    L199
  cmpb   $0x2c,(%r14)
  jne    L288
L7:
  mov    (%rsp),%rax
  mov    %r13d,%r15d
  mov    %ebp,(%rax)
  movsbl (%r14),%ecx
L258:
  xor    %r12d,%r12d
  mov    $0x2c,%eax
  jmp    L224
L199:
  mov    (%rsp),%rax
  mov    %r13d,%r15d
  mov    %ebp,(%rax)
  je     L260
  movsbl (%r14),%ecx
  xor    %r12d,%r12d
  mov    $0x2c,%eax
  jmp    L224
L285:
  sete   %dil
  movzbl %dil,%edi
  call   <assert@plt>
  xor    %eax,%eax
  jmp    L106
L228:
  test   %r12d,%r12d
  jne    L288
L260:
  mov    %r13d,%eax
  cltd
  idivl  0x8(%rsp)
  jmp    L106
```

assistant: ```c
int np_parse_list_str(int *Res, const int max_size, const int arity, const char *ptr, const int bytes) {
  const char *ptr_e = ptr + bytes;
  int s = 0, t = 0, x, sgn;
  while (ptr < ptr_e) {
    x = 0;
    sgn = 0;
    if (*ptr == '-') {
      ptr++;
      sgn = 1;
    }
    if (!isdigit(*ptr)) {
      return -1;
    }
    while (ptr < ptr_e && isdigit(*ptr)) {
      if (x > 0x7fffffff / 10) {
        return -1;
      }
      x = x * 10 + (*ptr++ - '0');
      if (x < 0) {
        return -1;
      }
    }
    if (sgn) {
      x = -x;
    }
    if (++t == arity) {
      t = 0;
    }
    if (s >= max_size || (ptr < ptr_e && *ptr != (t ? '_' : ','))) {
      return -1;
    }
    Res[s++] = x;
    if (ptr == ptr_e) {
      return t ? -1 : s / arity;
    }
    assert(*ptr == (t ? '_' : ','));
    ptr++;
  };
  assert(ptr == ptr_e);
  return t ? -1 : s / arity;
}
```