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

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x78,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x68(%rsp)
  xor    %eax,%eax
  lea    D9(%rip),%rsi
  lea    D40(%rip),%rdi
  call   <fopen@plt>
  mov    %rax,%rbx
  test   %rax,%rax
  je     L42
L36:
  lea    0x10(%rsp),%rdi
  mov    %rbx,%rdx
  mov    $0x50,%esi
  call   <fgets@plt>
  lea    D86(%rip),%r12
  lea    0x10(%rsp),%rbp
  lea    D97(%rip),%r13
L22:
  mov    $0x19,%edx
  mov    %r12,%rsi
  mov    %rbp,%rdi
  call   <strncmp@plt>
  test   %rax,%rax
  je     L56
  mov    %rbx,%rdx
  mov    $0x50,%esi
  mov    %rbp,%rdi
  call   <fgets@plt>
  mov    %rbx,%rdi
  call   <feof@plt>
  test   %rax,%rax
  je     L22
  mov    %r13,%rdi
  call   <nrerror@plt>
  jmp    L22
L42:
  lea    D93(%rip),%rdi
  call   <nrerror@plt>
  jmp    L36
L56:
  mov    %rsp,%rdx
  lea    D59(%rip),%rsi
  mov    %rbx,%rdi
  call   <fscanf@plt>
  lea    0x10(%rsp),%rsi
  lea    D78(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D50(%rip),%r8
  lea    D21(%rip),%rcx
  lea    D6(%rip),%rdx
  lea    D5(%rip),%rsi
  lea    D44(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  cmpl   $0x0,(%rsp)
  jle    L41
  mov    $0x1,%ebp
  lea    0x8(%rsp),%r15
  lea    0xc(%rsp),%r14
  lea    D82(%rip),%r13
  lea    D25(%rip),%r12
L46:
  lea    0x4(%rsp),%rdx
  mov    %r15,%r8
  mov    %r14,%rcx
  mov    %r13,%rsi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <fscanf@plt>
  movss  0xc(%rsp),%xmm1
  movss  0x4(%rsp),%xmm0
  call   <gammp@plt>
  movapd %xmm0,%xmm3
  pxor   %xmm0,%xmm0
  cvtss2sd 0x4(%rsp),%xmm0
  pxor   %xmm2,%xmm2
  cvtss2sd 0x8(%rsp),%xmm2
  pxor   %xmm1,%xmm1
  cvtss2sd 0xc(%rsp),%xmm1
  mov    %r12,%rdi
  mov    $0x4,%eax
  call   <printf@plt>
  add    $0x1,%ebp
  cmp    %ebp,(%rsp)
  jge    L46
L41:
  mov    %rbx,%rdi
  call   <fclose@plt>
  mov    0x68(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L16
  mov    $0x0,%eax
  add    $0x78,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L16:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_label: D9
type_guessed: string
name: parse_data
arguments: data_label: D40
type_guessed: string
name: parse_data
arguments: data_label: D86
type_guessed: string
name: parse_data
arguments: data_label: D97
type_guessed: string
name: parse_data
arguments: data_label: D93
type_guessed: string
name: parse_data
arguments: data_label: D59
type_guessed: string
name: parse_data
arguments: data_label: D78
type_guessed: string
name: parse_data
arguments: data_label: D50
type_guessed: string
name: parse_data
arguments: data_label: D21
type_guessed: string
name: parse_data
arguments: data_label: D6
type_guessed: string
name: parse_data
arguments: data_label: D5
type_guessed: string
name: parse_data
arguments: data_label: D44
type_guessed: string
name: parse_data
arguments: data_label: D82
type_guessed: string
name: parse_data
arguments: data_label: D25
type_guessed: string

tool: D9: r

tool: D40: fncval.dat

tool: D86: Incomplete Gamma Function

tool: D97: Data not found in fncval.dat


tool: D93: Data file fncval.dat not found


tool: D59: %d %*s

tool: D78: 
%s


tool: D50: gammp(a,x)

tool: D21: actual

tool: D6: x

tool: D5: a

tool: D44: %4s %11s %14s %14s 


tool: D82: %f %f %f

tool: D25: %6.2f %12.6f %12.6f %12.6f 


assistant: ```c
int main(void) {
  char txt[80];
  int i, nval;
  float a, val, x;
  FILE *fp;
  if ((fp = fopen("fncval.dat", "r")) == NULL)
    nrerror("Data file fncval.dat not found\n");
  fgets(txt, 80, fp);
  while (strncmp(txt, "Incomplete Gamma Function", 25)) {
    fgets(txt, 80, fp);
    if (feof(fp))
      nrerror("Data not found in fncval.dat\n");
  }
  fscanf(fp, "%d %*s", &nval);
  printf("\n%s\n", txt);
  printf("%4s %11s %14s %14s \n", "a", "x", "actual", "gammp(a,x)");
  for (i = 1; i <= nval; i++) {
    fscanf(fp, "%f %f %f", &a, &x, &val);
    printf("%6.2f %12.6f %12.6f %12.6f \n", a, x, val, gammp(a, x));
  }
  fclose(fp);
  return 0;
}
```