user: What would the C source look like for the assembly code provided here?

```asm
<main>:
  endbr64
  push   %r13
  push   %r12
  lea    D65(%rip),%r12
  push   %rbp
  lea    D34(%rip),%rbp
  movq   %r12,%xmm1
  movq   %rbp,%xmm0
  sub    $0x50,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x48(%rsp)
  xor    %eax,%eax
  lea    D39(%rip),%rax
  lea    0x28(%rsp),%rdi
  movq   %rax,%xmm2
  lea    D54(%rip),%rax
  movq   %rax,%xmm3
  punpcklqdq %xmm2,%xmm0
  punpcklqdq %xmm3,%xmm1
  movaps %xmm0,0x10(%rsp)
  movaps %xmm1,(%rsp)
  call   <pipe@plt>
  cmp    $0xffffffff,%eax
  je     L17
L37:
  xor    %eax,%eax
  call   <fork@plt>
  test   %rax,%rax
  je     L81
L27:
  xor    %eax,%eax
  call   <fork@plt>
  test   %rax,%rax
  je     L74
L28:
  xor    %eax,%eax
  call   <fork@plt>
  test   %rax,%rax
  je     L6
L66:
  mov    0x28(%rsp),%edi
  call   <close@plt>
  mov    0x2c(%rsp),%edi
  call   <close@plt>
  xor    %edi,%edi
  call   <wait@plt>
  mov    0x48(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L70
  add    $0x50,%rsp
  xor    %eax,%eax
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L81:
  mov    $0x1,%edi
  lea    0x30(%rsp),%r13
  call   <close@plt>
  mov    0x2c(%rsp),%edi
  mov    $0x1,%esi
  call   <dup2@plt>
  mov    0x28(%rsp),%edi
  call   <close@plt>
  mov    0x2c(%rsp),%edi
  call   <close@plt>
  movdqa (%rsp),%xmm4
  mov    %r13,%rsi
  mov    %r12,%rdi
  movq   $0x0,0x40(%rsp)
  movaps %xmm4,0x30(%rsp)
  call   <execvp@plt>
  mov    0x30(%rsp),%rdi
  mov    %r13,%rsi
  call   <execvp@plt>
  lea    D0(%rip),%rdi
  call   <perror@plt>
  mov    $0x1,%edi
  call   <exit@plt>
  jmp    L27
L6:
  xor    %edi,%edi
  call   <close@plt>
  mov    0x28(%rsp),%edi
  xor    %esi,%esi
  call   <dup2@plt>
  mov    0x28(%rsp),%edi
  call   <close@plt>
  mov    0x2c(%rsp),%edi
  call   <close@plt>
  lea    D14(%rip),%rdi
  lea    0x30(%rsp),%rsi
  movq   $0x0,0x38(%rsp)
  mov    %rdi,0x30(%rsp)
  call   <execvp@plt>
  lea    D20(%rip),%rdi
  call   <perror@plt>
  mov    $0x1,%edi
  call   <exit@plt>
  jmp    L66
L74:
  xor    %edi,%edi
  call   <close@plt>
  mov    $0x1,%edi
  call   <close@plt>
  mov    0x28(%rsp),%edi
  xor    %esi,%esi
  call   <dup2@plt>
  mov    0x2c(%rsp),%edi
  mov    $0x1,%esi
  call   <dup2@plt>
  mov    0x28(%rsp),%edi
  call   <close@plt>
  mov    0x2c(%rsp),%edi
  call   <close@plt>
  movdqa 0x10(%rsp),%xmm5
  lea    0x30(%rsp),%rsi
  mov    %rbp,%rdi
  movq   $0x0,0x40(%rsp)
  movaps %xmm5,0x30(%rsp)
  call   <execvp@plt>
  lea    D20(%rip),%rdi
  call   <perror@plt>
  mov    $0x1,%edi
  call   <exit@plt>
  jmp    L28
L17:
  lea    D8(%rip),%rdi
  call   <perror@plt>
  mov    $0x1,%edi
  call   <exit@plt>
  jmp    L37
L70:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: data_label: D65
datatype: string
name: retrieve_data
arguments: data_label: D34
datatype: string
name: retrieve_data
arguments: data_label: D39
datatype: string
name: retrieve_data
arguments: data_label: D54
datatype: string
name: retrieve_data
arguments: data_label: D0
datatype: string
name: retrieve_data
arguments: data_label: D14
datatype: string
name: retrieve_data
arguments: data_label: D20
datatype: string
name: retrieve_data
arguments: data_label: D8
datatype: string

tool: D65: ls

tool: D34: grup

tool: D39: list

tool: D54: -l

tool: D0: execvp of ls failed

tool: D14: sort

tool: D20: execvp of wc failed

tool: D8: Pipe failed

assistant: ```c
int main(int argc, char **argv) {
  int pipen = 0;
  int argn = 0;
  int des_p[2];
  if (pipe(des_p) == -1) {
    perror("Pipe failed");
    exit(1);
  }
  if (fork() == 0) {
    close(1);
    dup2(des_p[1], 1);
    close(des_p[0]);
    close(des_p[1]);
    const char *prog1[] = {"ls", "-l", 0};
    execvp(prog1[0], prog1);
    execvp(prog1[0], prog1);
    perror("execvp of ls failed");
    exit(1);
  }
  if (fork() == 0) {
    close(0);
    close(1);
    dup2(des_p[0], 0);
    dup2(des_p[1], 1);
    close(des_p[0]);
    close(des_p[1]);
    const char *prog2[] = {"grup", "list", 0};
    execvp(prog2[0], prog2);
    perror("execvp of wc failed");
    exit(1);
  }
  if (fork() == 0) {
    close(0);
    dup2(des_p[0], 0);
    close(des_p[0]);
    close(des_p[1]);
    const char *prog3[] = {"sort", 0};
    execvp(prog3[0], prog3);
    perror("execvp of wc failed");
    exit(1);
  }
  close(des_p[0]);
  close(des_p[1]);
  wait(0);
  return 0;
}
```