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

```asm
<ircproto_parse_prefix>:
  endbr64
  push   %r15
  mov    %rsi,%r15
  mov    $0x21,%esi
  push   %r14
  mov    %rcx,%r14
  push   %r13
  mov    %r9,%r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rdi,%rbx
  sub    $0x28,%rsp
  mov    0x60(%rsp),%eax
  mov    %edx,0x4(%rsp)
  mov    %r8d,0x18(%rsp)
  mov    %eax,0x1c(%rsp)
  call   <strchr@plt>
  mov    $0x40,%esi
  mov    %rbx,%rdi
  mov    %rax,%rbp
  call   <strchr@plt>
  mov    %rbx,%rdi
  mov    %rax,%r12
  call   <strlen@plt>
  mov    %eax,0x14(%rsp)
  test   %r15,%r15
  je     L102
  mov    %rbp,%r8
  mov    0x4(%rsp),%ecx
  mov    %rbx,%rsi
  mov    %r15,%rdi
  sub    %rbx,%r8
  test   %rbp,%rbp
  cmove  %eax,%r8d
  sub    $0x1,%ecx
  mov    %ecx,0x8(%rsp)
  cmp    %r8d,%ecx
  mov    %r8d,%edx
  mov    %r8d,0x10(%rsp)
  cmovle %ecx,%edx
  mov    %edx,0x4(%rsp)
  call   <strncpy@plt>
  movslq 0x4(%rsp),%rdx
  mov    0x8(%rsp),%ecx
  mov    0x10(%rsp),%r8d
  movb   $0x0,(%r15,%rdx,1)
  cmp    %r8d,%ecx
  jl     L56
L102:
  test   %r14,%r14
  je     L35
  test   %rbp,%rbp
  je     L88
  mov    0x18(%rsp),%ecx
  lea    0x1(%rbp),%rsi
  mov    %r12,%r8
  mov    %r14,%rdi
  sub    %rsi,%r8
  sub    $0x1,%ecx
  mov    %r8d,%ebp
  mov    %r8,0x8(%rsp)
  cmp    %r8d,%ecx
  mov    %ecx,0x4(%rsp)
  cmovle %ecx,%ebp
  mov    %ebp,%edx
  movslq %ebp,%rbp
  call   <strncpy@plt>
  mov    0x4(%rsp),%ecx
  mov    0x8(%rsp),%r8
  movb   $0x0,(%r14,%rbp,1)
  cmp    %r8d,%ecx
  jl     L24
L35:
  test   %r13,%r13
  je     L92
  test   %r12,%r12
  je     L0
  movslq 0x14(%rsp),%r15
  lea    0x1(%r12),%rsi
  mov    0x1c(%rsp),%r12d
  mov    %r13,%rdi
  add    %r15,%rbx
  sub    $0x1,%r12d
  sub    %rsi,%rbx
  cmp    %ebx,%r12d
  mov    %ebx,%ebp
  cmovle %r12d,%ebp
  mov    %ebp,%edx
  movslq %ebp,%rbp
  call   <strncpy@plt>
  movb   $0x0,0x0(%r13,%rbp,1)
  cmp    %ebx,%r12d
  jl     L8
L92:
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  cs nopw 0x0(%rax,%rax,1)
L88:
  movb   $0x0,(%r14)
  jmp    L35
  cs nopw 0x0(%rax,%rax,1)
L0:
  movb   $0x0,0x0(%r13)
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L56:
  mov    %r15,%rsi
  lea    D21(%rip),%rdi
  call   <info@plt>
  jmp    L102
  nopl   0x0(%rax)
L24:
  mov    %r14,%rsi
  lea    D19(%rip),%rdi
  call   <info@plt>
  jmp    L35
  nopl   0x0(%rax)
L8:
  add    $0x28,%rsp
  mov    %r13,%rsi
  lea    D22(%rip),%rdi
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    10b0 <info@plt>
```

tool_calls: name: parse_data
arguments: data_label: D21
data_type: string
name: parse_data
arguments: data_label: D19
data_type: string
name: parse_data
arguments: data_label: D22
data_type: string

tool: D21: parse_prefix: %s: nick overflow

tool: D19: parse_prefix: %s: uname overflow

tool: D22: parse_prefix: %s: host overflow

assistant: ```c
void ircproto_parse_prefix(char *prefix, char *nick, int nicksz, char *user, int usersz, char *host, int hostsz) {
  char *bang, *at, *end, *uidx, *hidx;
  int nlen, ulen, hlen;
  int ncpy, ucpy, hcpy;
  bang = strchr(prefix, '!');
  at = strchr(prefix, '@');
  end = prefix + strlen(prefix);
  if (nick) {
    nlen = bang ? bang - prefix : end - prefix;
    ncpy = ((nlen) < (nicksz - 1) ? (nlen) : (nicksz - 1));
    strncpy(nick, prefix, ncpy);
    nick[ncpy] = '\0';
    if (ncpy != nlen)
      info("parse_prefix: %s: nick overflow", nick);
  }
  if (user) {
    if (bang) {
      uidx = bang + 1;
      ulen = at - uidx;
      ucpy = ((ulen) < (usersz - 1) ? (ulen) : (usersz - 1));
      strncpy(user, uidx, ucpy);
      user[ucpy] = '\0';
      if (ucpy != ulen)
        info("parse_prefix: %s: uname overflow", user);
    } else
      user[0] = '\0';
  }
  if (host) {
    if (at) {
      hidx = at + 1;
      hlen = end - hidx;
      hcpy = ((hlen) < (hostsz - 1) ? (hlen) : (hostsz - 1));
      strncpy(host, hidx, hcpy);
      host[hcpy] = '\0';
      if (hcpy != hlen)
        info("parse_prefix: %s: host overflow", host);
    } else
      host[0] = '\0';
  }
}
```