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

```asm
<main>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0xa0,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x98(%rsp)
  xor    %eax,%eax
  lea    D79(%rip),%rax
  mov    %rax,0x30(%rsp)
  lea    D68(%rip),%rax
  mov    %rax,0x38(%rsp)
  mov    0x10(%rsi),%r13
  mov    0x8(%rsi),%rdi
  lea    D2(%rip),%rsi
  call   <fopen@plt>
  mov    %rax,%rbp
  lea    0x40(%rsp),%rbx
  mov    %rsp,%rdx
  mov    %rbx,%rcx
  lea    D83(%rip),%r12
  mov    %r12,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fscanf@plt>
  lea    0x10(%rsp),%rdx
  mov    %rbx,%rcx
  lea    D38(%rip),%r14
  mov    %r14,%rsi
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <fscanf@plt>
  lea    0x8(%rsp),%rdx
  mov    %rbx,%rcx
  mov    %r14,%rsi
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <fscanf@plt>
  lea    0x4(%rsp),%rdx
  mov    %rbx,%rcx
  mov    %r12,%rsi
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <fscanf@plt>
  cmpl   $0x0,0x4(%rsp)
  jle    L78
  mov    $0x0,%ebx
L18:
  lea    0x40(%rsp),%rcx
  lea    0x18(%rsp,%rbx,4),%rdx
  mov    %r12,%rsi
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <fscanf@plt>
  add    $0x1,%rbx
  cmp    %ebx,0x4(%rsp)
  jg     L18
L78:
  mov    %rbp,%rdi
  call   <fclose@plt>
  cmpl   $0x1,0x18(%rsp)
  je     L41
L33:
  cmpl   $0x1,0x1c(%rsp)
  je     L19
L26:
  lea    D108(%rip),%rsi
  mov    %r13,%rdi
  call   <fopen@plt>
  mov    %rax,%rbp
  cmpl   $0x0,0x4(%rsp)
  jle    L17
  mov    $0x0,%ebx
  lea    D48(%rip),%r12
L21:
  cmpl   $0x0,0x18(%rsp,%rbx,4)
  jne    L61
L84:
  add    $0x1,%rbx
  cmp    %ebx,0x4(%rsp)
  jg     L21
L17:
  mov    %rbp,%rdi
  call   <fclose@plt>
  mov    0x98(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L94
  mov    $0x0,%eax
  add    $0xa0,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L41:
  movsd  0x8(%rsp),%xmm2
  movapd %xmm2,%xmm0
  mulsd  D74(%rip),%xmm0
  mulsd  0x10(%rsp),%xmm0
  movapd %xmm2,%xmm1
  mulsd  D47(%rip),%xmm1
  mulsd  %xmm2,%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,0x20(%rsp)
  jmp    L33
L19:
  movsd  0x8(%rsp),%xmm1
  movsd  D1(%rip),%xmm0
  mulsd  0x10(%rsp),%xmm0
  mulsd  %xmm1,%xmm0
  mulsd  %xmm1,%xmm0
  subsd  D12(%rip),%xmm0
  movsd  %xmm0,0x28(%rsp)
  jmp    L26
L61:
  mov    0x30(%rsp,%rbx,8),%rdx
  movsd  0x20(%rsp,%rbx,8),%xmm0
  mov    %r12,%rsi
  mov    %rbp,%rdi
  call   <fprintf@plt>
  jmp    L84
L94:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_label: D79
type_infered: string
name: parse_data
arguments: data_label: D68
type_infered: string
name: parse_data
arguments: data_label: D2
type_infered: string
name: parse_data
arguments: data_label: D83
type_infered: string
name: parse_data
arguments: data_label: D38
type_infered: string
name: parse_data
arguments: data_label: D108
type_infered: string
name: parse_data
arguments: data_label: D48
type_infered: string
name: parse_data
arguments: data_label: D74
type_infered: byte[8]
name: parse_data
arguments: data_label: D47
type_infered: byte[8]
name: parse_data
arguments: data_label: D1
type_infered: byte[8]
name: parse_data
arguments: data_label: D12
type_infered: f64

tool: D79: area


tool: D68: volume_constraint


tool: D2: r

tool: D83: %d %80s

tool: D38: %lf %80s

tool: D108: w

tool: D48: %23.15e %s

tool: {"D74": [0x83,0x9f,0x65,0x4d,0x57,0x23,0x0a,0x40]}

tool: {"D47": [0x87,0xb2,0xcd,0xf7,0x7b,0x2f,0x00,0x40]}

tool: {"D1": [0x11,0x2d,0x44,0x54,0xfb,0x21,0xe9,0x3f]}

tool: D12: 63.525

assistant: ```c
int main(int argc, char **argv) {
  FILE *fileptr;
  double fval[2], D, H;
  int i, num_vars, num_fns, req[2];
  char *infile, *outfile, in_str[81];
  char *valtag[] = {"area\n", "volume_constraint\n"};
  const double PI = 3.14159265358979;
  infile = argv[1];
  outfile = argv[2];
  fileptr = fopen(infile, "r");
  fscanf(fileptr, "%d %80s", &num_vars, in_str);
  fscanf(fileptr, "%lf %80s", &H, in_str);
  fscanf(fileptr, "%lf %80s", &D, in_str);
  fscanf(fileptr, "%d %80s", &num_fns, in_str);
  for (i = 0; i < num_fns; i++)
    fscanf(fileptr, "%d %80s", &req[i], in_str);
  fclose(fileptr);
  if (req[0] == 1)
    fval[0] = 0.644 * PI * D * D + 1.04 * PI * D * H;
  if (req[1] == 1)
    fval[1] = 0.25 * PI * H * D * D - 63.525;
  fileptr = fopen(outfile, "w");
  for (i = 0; i < num_fns; i++)
    if (req[i])
      fprintf(fileptr, "%23.15e %s", fval[i], valtag[i]);
  fclose(fileptr);
  return 0;
}
```