user: 下面的汇编指令对应的C源代码是什么：

```asm
<exec_cmd>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  mov    %rdx,%r13
  push   %r12
  mov    %rsi,%r12
  push   %rbp
  mov    %edi,%ebp
  push   %rbx
  sub    $0x228,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x218(%rsp)
  xor    %eax,%eax
  lea    0x8(%rsp),%rdi
  call   <pipe@plt>
  test   %rax,%rax
  jne    L17
  xor    %eax,%eax
  call   <fork@plt>
  test   %rax,%rax
  js     L79
  jne    L35
  mov    0x8(%rsp),%edi
  call   <close@plt>
  mov    0xc(%rsp),%edi
  mov    $0x1,%esi
  call   <dup2@plt>
  mov    0xc(%rsp),%edi
  mov    $0x2,%esi
  call   <dup2@plt>
  mov    0xc(%rsp),%edi
  call   <close@plt>
  lea    D74(%rip),%rdi
  xor    %r8d,%r8d
  mov    %r13,%rcx
  mov    %rdi,%rsi
  lea    D18(%rip),%rdx
  call   <execl@plt>
  mov    $0x1,%edi
  call   <_exit@plt>
L80:
  mov    0x218(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L109
  add    $0x228,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  cs nopw 0x0(%rax,%rax,1)
L35:
  mov    0xc(%rsp),%edi
  lea    0x10(%rsp),%rbx
  lea    D46(%rip),%r15
  lea    D72(%rip),%r14
  call   <close@plt>
  mov    0x8(%rsp),%edi
  lea    D57(%rip),%rsi
  call   <fdopen@plt>
  mov    %rax,%r13
  test   %rax,%rax
  jne    L102
  jmp    L101
  nopl   0x0(%rax)
L37:
  mov    %r15,%rsi
  mov    %rbx,%rdi
  call   <strcspn@plt>
  mov    %rbx,%rcx
  mov    %r12,%rdx
  mov    %r14,%rsi
  movb   $0x0,0x10(%rsp,%rax,1)
  mov    %ebp,%edi
  xor    %eax,%eax
  call   <send_msg@plt>
L102:
  mov    %r13,%rdx
  mov    $0x200,%esi
  mov    %rbx,%rdi
  call   <fgets@plt>
  test   %rax,%rax
  jne    L37
  jmp    L80
  nopl   0x0(%rax)
L17:
  mov    %r12,%rdx
  lea    D58(%rip),%rsi
  mov    %ebp,%edi
  xor    %eax,%eax
  call   <send_msg@plt>
  jmp    L80
  nopl   0x0(%rax,%rax,1)
L79:
  mov    %r12,%rdx
  lea    D3(%rip),%rsi
  mov    %ebp,%edi
  xor    %eax,%eax
  call   <send_msg@plt>
  jmp    L80
  nopl   0x0(%rax,%rax,1)
L101:
  mov    %r12,%rdx
  lea    D28(%rip),%rsi
  mov    %ebp,%edi
  xor    %eax,%eax
  call   <send_msg@plt>
  jmp    L80
L109:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D74
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D18
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D46
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D72
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D57
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D58
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D3
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D28
type_guessed: string

tool: D74: /bin/msh

tool: D18: -c

tool: D46: 


tool: D72: PRIVMSG %s :%s


tool: D57: r

tool: D58: PRIVMSG %s :Error calling pipe()


tool: D3: PRIVMSG %s :Error calling fork()


tool: D28: PRIVMSG %s :Error creating stream from fd


assistant: ```c
void exec_cmd(int sockfd, char *replyto, char *cmd) {
  pid_t pid;
  int status, pipefd[2];
  char msg[512];
  if (pipe(pipefd) != 0) {
    send_msg(sockfd, "PRIVMSG %s :Error calling pipe()\r\n", replyto);
    return;
  }
  pid = fork();
  if (pid < 0) {
    send_msg(sockfd, "PRIVMSG %s :Error calling fork()\r\n", replyto);
    return;
  } else if (pid == 0) {
    close(pipefd[0]);
    dup2(pipefd[1], 1);
    dup2(pipefd[1], 2);
    close(pipefd[1]);
    execl("/bin/msh", "/bin/msh", "-c", cmd, NULL);
    _exit(1);
  } else {
    FILE *stream;
    int ch;
    char buf[512];
    close(pipefd[1]);
    if ((stream = fdopen(pipefd[0], "r")) == NULL) {
      send_msg(sockfd, "PRIVMSG %s :Error creating stream from fd\r\n", replyto);
      return;
    }
    while (fgets(buf, sizeof(buf), stream) != NULL) {
      buf[strcspn(buf, "\n")] = '\0';
      send_msg(sockfd, "PRIVMSG %s :%s\r\n", replyto, buf);
    }
    return;
  }
}
```