user: What is the c source code of the assembly code below?

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %edi,-0x24(%rbp)
  mov    %rsi,-0x30(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  lea    D24(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  call   <fork@plt>
  mov    %eax,-0x14(%rbp)
  movl   $0x0,-0x18(%rbp)
  movl   $0x0,-0x18(%rbp)
  jmp    L5
L42:
  call   <fork@plt>
  mov    %eax,-0xc(%rbp)
  mov    -0xc(%rbp),%edx
  mov    -0x18(%rbp),%eax
  mov    %eax,%esi
  lea    D75(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  cmpl   $0x0,-0xc(%rbp)
  je     L6
  lea    D0(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x1c(%rbp),%rax
  mov    $0x0,%edx
  mov    %rax,%rsi
  mov    $0x2,%edi
  call   <waitpid@plt>
  jmp    L58
L6:
  lea    D88(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
L58:
  addl   $0x1,-0x18(%rbp)
L5:
  cmpl   $0x4,-0x18(%rbp)
  jle    L42
  mov    -0x14(%rbp),%eax
  mov    %eax,%esi
  lea    D86(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  movl   $0x3,-0x10(%rbp)
  mov    -0x10(%rbp),%eax
  mov    %eax,%esi
  lea    D81(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  cmpl   $0x0,-0x14(%rbp)
  je     L9
  lea    D0(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x1c(%rbp),%rax
  mov    $0x0,%edx
  mov    %rax,%rsi
  mov    $0x2,%edi
  call   <waitpid@plt>
  jmp    L15
L9:
  lea    D88(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%edx
  mov    $0x0,%esi
  lea    D52(%rip),%rax
  mov    %rax,%rdi
  call   <execve@plt>
L15:
  lea    D85(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L47
  call   <__stack_chk_fail@plt>
L47:
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D24
datatype: string
name: extract_symbolic_data
arguments: data_tag: D75
datatype: string
name: extract_symbolic_data
arguments: data_tag: D0
datatype: string
name: extract_symbolic_data
arguments: data_tag: D88
datatype: string
name: extract_symbolic_data
arguments: data_tag: D86
datatype: string
name: extract_symbolic_data
arguments: data_tag: D81
datatype: string
name: extract_symbolic_data
arguments: data_tag: D52
datatype: string
name: extract_symbolic_data
arguments: data_tag: D85
datatype: string

tool: D24: In forktest file!

tool: D75: fork no %d,pid %d

tool: D0: parent  

tool: D88:   child

tool: D86: n = %d ---- 

tool: D81: %d

tool: D52: bin/ps

tool: D85: back

assistant: ```c
int main(int argc, char *argv[]) {
  int status;
  printf("In forktest file!");
  int n = fork();
  int i = 0;
  for (i = 0; i < 5; i++) {
    int k = fork();
    printf("fork no %d,pid %d", i, k);
    if (k) {
      printf("parent  ");
      waitpid(2, &status, 0);
    } else {
      printf("  child");
    }
  }
  printf("n = %d ---- ", n);
  int b = 3;
  printf("%d", b);
  if (n) {
    printf("parent  ");
    waitpid(2, &status, 0);
  } else {
    printf("  child");
    execve("bin/ps", NULL, NULL);
  }
  printf("back");
  return 0;
}
```