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

```asm
<main>:
  endbr64
  push   %r13
  push   %r12
  push   %rbp
  sub    $0x30,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  xor    %eax,%eax
  lea    0x18(%rsp),%rdi
  call   <pipe@plt>
  test   %rax,%rax
  js     L80
L11:
  lea    0x20(%rsp),%rdi
  call   <pipe@plt>
  test   %rax,%rax
  js     L86
L20:
  xor    %eax,%eax
  call   <fork@plt>
  test   %rax,%rax
  js     L38
  je     L72
  lea    0xc(%rsp),%r12
  lea    0x10(%rsp),%rbp
  lea    0x14(%rsp),%r13
L41:
  lea    D48(%rip),%rdi
  call   <puts@plt>
  mov    0x18(%rsp),%edi
  mov    $0x4,%edx
  mov    %r12,%rsi
  call   <read@plt>
  mov    0x18(%rsp),%edi
  mov    $0x4,%edx
  mov    %rbp,%rsi
  call   <read@plt>
  movss  0x10(%rsp),%xmm1
  movss  0xc(%rsp),%xmm0
  call   <powf@plt>
  mov    0x24(%rsp),%edi
  mov    $0x4,%edx
  mov    %r13,%rsi
  movss  %xmm0,0x14(%rsp)
  call   <write@plt>
  xor    %edi,%edi
  call   <wait@plt>
  mov    0x1c(%rsp),%edi
  call   <close@plt>
  mov    0x18(%rsp),%edi
  call   <close@plt>
  mov    0x20(%rsp),%edi
  call   <close@plt>
  mov    0x24(%rsp),%edi
  call   <close@plt>
  mov    0x28(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L61
  add    $0x30,%rsp
  xor    %eax,%eax
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L72:
  lea    D87(%rip),%rdi
  lea    0xc(%rsp),%r12
  call   <puts@plt>
  mov    0x18(%rsp),%edi
  lea    0x10(%rsp),%rbp
  lea    D64(%rip),%r13
  call   <close@plt>
  mov    0x24(%rsp),%edi
  call   <close@plt>
  lea    D15(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %r12,%rsi
  mov    %r13,%rdi
  call   <scanf@plt>
  lea    D2(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %rbp,%rsi
  mov    %r13,%rdi
  lea    0x14(%rsp),%r13
  call   <scanf@plt>
  mov    0x1c(%rsp),%edi
  mov    %r12,%rsi
  mov    $0x4,%edx
  call   <write@plt>
  mov    0x1c(%rsp),%edi
  mov    %rbp,%rsi
  mov    $0x4,%edx
  call   <write@plt>
  mov    0x20(%rsp),%edi
  mov    $0x4,%edx
  mov    %r13,%rsi
  call   <read@plt>
  lea    D63(%rip),%rdi
  pxor   %xmm0,%xmm0
  pxor   %xmm2,%xmm2
  pxor   %xmm1,%xmm1
  mov    $0x3,%eax
  cvtss2sd 0xc(%rsp),%xmm0
  cvtss2sd 0x14(%rsp),%xmm2
  cvtss2sd 0x10(%rsp),%xmm1
  call   <printf@plt>
  xor    %edi,%edi
  call   <exit@plt>
  jmp    L41
L38:
  lea    D62(%rip),%rdi
  lea    0xc(%rsp),%r12
  call   <perror@plt>
  mov    $0x1,%edi
  lea    0x10(%rsp),%rbp
  lea    0x14(%rsp),%r13
  call   <exit@plt>
  jmp    L41
L86:
  lea    D26(%rip),%rdi
  call   <perror@plt>
  mov    $0x1,%edi
  call   <exit@plt>
  jmp    L20
L80:
  lea    D26(%rip),%rdi
  call   <perror@plt>
  mov    $0x1,%edi
  call   <exit@plt>
  jmp    L11
L61:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: data_tag: D48
type_infered: string
name: retrieve_data
arguments: data_tag: D87
type_infered: string
name: retrieve_data
arguments: data_tag: D64
type_infered: string
name: retrieve_data
arguments: data_tag: D15
type_infered: string
name: retrieve_data
arguments: data_tag: D2
type_infered: string
name: retrieve_data
arguments: data_tag: D63
type_infered: string
name: retrieve_data
arguments: data_tag: D62
type_infered: string
name: retrieve_data
arguments: data_tag: D26
type_infered: string

tool: D48: Process B

tool: D87: Process A

tool: D64: %f

tool: D15: a = 

tool: D2: b = 

tool: D63: A: %f ^ %f = %f


tool: D62: fork

tool: D26: pipe

assistant: ```c
int main(int argc, char *argv[]) {
  int a2b[2], b2a[2];
  if (pipe(a2b) < 0) {
    perror("pipe");
    exit(1);
  }
  if (pipe(b2a) < 0) {
    perror("pipe");
    exit(1);
  }
  pid_t pid_a = fork();
  if (pid_a < 0) {
    perror("fork");
    exit(1);
  }
  if (pid_a == 0) {
    float a, b;
    printf("Process A\n");
    close(a2b[0]);
    close(b2a[1]);
    printf("a = ");
    scanf("%f", &a);
    printf("b = ");
    scanf("%f", &b);
    write(a2b[1], &a, sizeof(a));
    write(a2b[1], &b, sizeof(b));
    float result;
    read(b2a[0], &result, sizeof(result));
    printf("A: %f ^ %f = %f\n", a, b, result);
    exit(0);
  }
  printf("Process B\n");
  float a, b;
  read(a2b[0], &a, sizeof(a));
  read(a2b[0], &b, sizeof(b));
  float result = powf(a, b);
  write(b2a[1], &result, sizeof(result));
  wait(0);
  close(a2b[1]);
  close(a2b[0]);
  close(b2a[0]);
  close(b2a[1]);
  return 0;
}
```