user: Translate the below assembly code into C programming language:

```asm
<main>:
  endbr64
  push   %rbx
  sub    $0x420,%rsp
  mov    %rsi,%rbx
  mov    %fs:0x28,%rax
  mov    %rax,0x418(%rsp)
  xor    %eax,%eax
  lea    D35(%rip),%rdi
  call   <puts@plt>
  movq   $0x0,0x8(%rsp)
  mov    0x8(%rbx),%rdi
  test   %rdi,%rdi
  je     L15
  call   <atoi@plt>
L15:
  lea    0x8(%rsp),%rdi
  call   <pipe@plt>
  test   %rax,%rax
  js     L49
L27:
  call   <fork@plt>
  test   %eax,%eax
  jne    L38
  call   <getpid@plt>
  mov    %eax,%ebx
  mov    $0x0,%eax
  call   <getppid@plt>
  mov    %eax,%edx
  mov    %ebx,%esi
  lea    D70(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x8(%rsp),%edi
  call   <close@plt>
  lea    D75(%rip),%rdi
  call   <strlen@plt>
  mov    %eax,%edx
  lea    D47(%rip),%rsi
  mov    0xc(%rsp),%edi
  call   <write@plt>
  mov    %eax,%esi
  lea    D78(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
L20:
  jmp    L20
L49:
  lea    D10(%rip),%rdi
  call   <puts@plt>
  mov    $0x0,%edi
  call   <exit@plt>
  jmp    L27
L38:
  mov    $0x0,%eax
  call   <getpid@plt>
  mov    %eax,%ebx
  mov    $0x0,%eax
  call   <getppid@plt>
  mov    %eax,%edx
  mov    %ebx,%esi
  lea    D76(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0xc(%rsp),%edi
  call   <close@plt>
  movq   $0x0,0x10(%rsp)
  movq   $0x0,0x18(%rsp)
  lea    0x20(%rsp),%rdi
  mov    $0x7e,%ecx
  mov    $0x0,%eax
  rep stos %rax,%es:(%rdi)
  lea    0x10(%rsp),%rbx
  mov    $0x400,%edx
  mov    %rbx,%rsi
  mov    0x8(%rsp),%edi
  call   <read@plt>
  mov    %eax,%esi
  mov    %rbx,%rdx
  lea    D52(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
L42:
  jmp    L42
```

tool_calls: name: unpack_data
arguments: tag: D35
datatype: string
name: unpack_data
arguments: tag: D70
datatype: string
name: unpack_data
arguments: tag: D75
datatype: string
name: unpack_data
arguments: tag: D47
datatype: string
name: unpack_data
arguments: tag: D78
datatype: string
name: unpack_data
arguments: tag: D10
datatype: string
name: unpack_data
arguments: tag: D76
datatype: string
name: unpack_data
arguments: tag: D52
datatype: string

tool: D35: 
[Main]: Started default program...

tool: D70: 
[Child]: own pid:%u, Parent id:%u ..


tool: D75: Hello World from Child process

tool: D47: Hello World from Child process


tool: D78: 
 wrote %u bytes from child process...


tool: D10: 
Failed to create a pipe..exiting..

tool: D76: 
[Parent]: own pid:%u, Parent id:%u ..


tool: D52: 
 Got from child %u bytes: [%s] ...


assistant: ```c
int main(int argc, char **argv) {
  printf("\n[Main]: Started default program...\n");
  uint32_t pipefd[2] = {0};
  uint32_t cpid = 0, ppid = 0;
  int32_t ret = -1;
  bool exec = false;
  if (argv[1]) {
    exec = atoi(argv[1]);
  }
  ret = pipe(pipefd);
  if (ret < 0) {
    printf("\nFailed to create a pipe..exiting..\n");
    exit(0);
  }
  if (!fork()) {
    pid_t pid = getpid();
    ppid = getppid();
    uint32_t nBytes = 0;
    printf("\n[Child]: own pid:%u, Parent id:%u ..\n", pid, ppid);
    close(pipefd[0]);
    nBytes = write(pipefd[1], "Hello World from Child process\n", strlen("Hello World from Child process"));
    printf("\n wrote %u bytes from child process...\n", nBytes);
    while (1)
      continue;
  } else {
    pid_t pid = getpid();
    ppid = getppid();
    printf("\n[Parent]: own pid:%u, Parent id:%u ..\n", pid, ppid);
    close(pipefd[1]);
    uint32_t nBytes = 0;
    char buff[1024] = {0};
    nBytes = read(pipefd[0], buff, 1024);
    printf("\n Got from child %u bytes: [%s] ...\n", nBytes, buff);
    while (1)
      continue;
  }
  return 0;
}
```