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

```asm
<ns_initparse>:
  endbr64
  push   %r15
  movslq %esi,%rsi
  mov    %rdx,%r15
  movq   %rdi,%xmm1
  push   %r14
  mov    $0x30,%edx
  push   %r13
  lea    (%rdi,%rsi,4),%r13
  mov    $0x5e,%esi
  push   %r12
  movq   %r13,%xmm0
  push   %rbp
  punpcklqdq %xmm1,%xmm0
  mov    %rdi,%rbp
  mov    %r15,%rdi
  push   %rbx
  sub    $0x18,%rsp
  movaps %xmm0,(%rsp)
  call   <memset@plt>
  mov    D15(%rip),%r14
  movdqa (%rsp),%xmm0
  movslq (%r14),%rax
  movups %xmm0,0x20(%r15)
  lea    0x0(%rbp,%rax,4),%rax
  cmp    %rax,%r13
  jb     L92
  mov    (%r15),%rdi
  mov    %rbp,%rsi
  call   <NS_GET16@plt>
  movslq (%r14),%rax
  lea    0x0(%rbp,%rax,4),%rax
  cmp    %rax,%r13
  jb     L92
  mov    0x8(%r15),%rdi
  mov    %rbp,%rsi
  call   <NS_GET16@plt>
  mov    D26(%rip),%r12
  mov    (%r12),%esi
  test   %esi,%esi
  jle    L84
  xor    %ebx,%ebx
  jmp    L94
  nopl   0x0(%rax)
L6:
  mov    0x10(%r15),%rax
  mov    %rbp,%rsi
  mov    (%rax,%rbx,8),%rdi
  add    $0x1,%rbx
  call   <NS_GET16@plt>
  mov    (%r12),%esi
  cmp    %ebx,%esi
  jle    L113
L94:
  movslq (%r14),%rax
  lea    0x0(%rbp,%rax,4),%rax
  cmp    %rax,%r13
  jae    L6
L92:
  mov    D20(%rip),%rax
  mov    (%rax),%edx
  mov    D32(%rip),%rax
  mov    %edx,(%rax)
  add    $0x18,%rsp
  mov    $0xffffffff,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nop
L113:
  test   %esi,%esi
  jle    L84
  xor    %ebx,%ebx
  jmp    L102
  nopl   0x0(%rax,%rax,1)
L67:
  mov    0x18(%r15),%rax
  mov    (%r12),%esi
  movq   $0x0,(%rax,%rbx,8)
  add    $0x1,%rbx
  cmp    %ebx,%esi
  jle    L84
L102:
  mov    0x10(%r15),%rax
  mov    %ebx,%edx
  lea    0x0(,%rbx,8),%r14
  mov    (%rax,%rbx,8),%rcx
  test   %rcx,%rcx
  je     L67
  mov    %r13,%rsi
  mov    %rbp,%rdi
  call   <ns_skiprr@plt>
  test   %eax,%eax
  js     L111
  mov    0x18(%r15),%rdx
  mov    (%r12),%esi
  cltq
  add    $0x1,%rbx
  mov    %rbp,(%rdx,%r14,1)
  lea    0x0(%rbp,%rax,4),%rbp
  cmp    %ebx,%esi
  jg     L102
L84:
  cmp    %rbp,%r13
  jne    L92
  mov    %r15,%rdi
  call   <setsection@plt>
  add    $0x18,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L111:
  add    $0x18,%rsp
  mov    $0xffffffff,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
int ns_initparse(const u_char *msg, int msglen, ns_msg *handle) {
  const u_char *eom = msg + msglen;
  int i;
  memset(handle, 0x5e, sizeof *handle);
  handle->_msg = msg;
  handle->_eom = eom;
  if (msg + NS_INT16SZ > eom)
    do {
      errno = (EMSGSIZE);
      return (-1);
    } while (0);
  NS_GET16(handle->_id, msg);
  if (msg + NS_INT16SZ > eom)
    do {
      errno = (EMSGSIZE);
      return (-1);
    } while (0);
  NS_GET16(handle->_flags, msg);
  for (i = 0; i < ns_s_max; i++) {
    if (msg + NS_INT16SZ > eom)
      do {
        errno = (EMSGSIZE);
        return (-1);
      } while (0);
    NS_GET16(handle->_counts[i], msg);
  }
  for (i = 0; i < ns_s_max; i++)
    if (handle->_counts[i] == 0)
      handle->_sections[i] = NULL;
    else {
      int b = ns_skiprr(msg, eom, (ns_sect)i, handle->_counts[i]);
      if (b < 0)
        return (-1);
      handle->_sections[i] = msg;
      msg += b;
    }
  if (msg != eom)
    do {
      errno = (EMSGSIZE);
      return (-1);
    } while (0);
  setsection(handle, ns_s_max);
  return (0);
}
```