user: 请从给定的汇编指令推导出C源代码:

```asm
<main>:
  endbr64
  push   %r15
  lea    D111(%rip),%rsi
  lea    D30(%rip),%rdi
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x88,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x78(%rsp)
  xor    %eax,%eax
  call   <fopen@plt>
  mov    %rax,%rbp
  test   %rax,%rax
  je     L2
L84:
  lea    0x20(%rsp),%r12
  mov    %rbp,%rdx
  mov    $0x50,%esi
  mov    %r12,%rdi
  lea    D131(%rip),%rbx
  lea    D137(%rip),%r13
  call   <fgets@plt>
  jmp    L4
  nopl   0x0(%rax)
L64:
  mov    %r12,%rdi
  mov    %rbp,%rdx
  mov    $0x50,%esi
  call   <fgets@plt>
  mov    %rbp,%rdi
  call   <feof@plt>
  test   %rax,%rax
  jne    L3
L4:
  mov    $0x19,%edx
  mov    %rbx,%rsi
  mov    %r12,%rdi
  call   <strncmp@plt>
  test   %rax,%rax
  jne    L64
  lea    0x10(%rsp),%rdx
  lea    D1(%rip),%rsi
  mov    %rbp,%rdi
  call   <fscanf@plt>
  mov    %r12,%rsi
  lea    D69(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    D5(%rip),%r8
  xor    %eax,%eax
  lea    D13(%rip),%rcx
  lea    D128(%rip),%rdx
  lea    D32(%rip),%rsi
  lea    D42(%rip),%rdi
  call   <printf@plt>
  mov    0x10(%rsp),%eax
  test   %eax,%eax
  jle    L89
  mov    $0x1,%r12d
  lea    0x18(%rsp),%r8
  lea    0x1c(%rsp),%r15
  lea    0x14(%rsp),%r14
  lea    D20(%rip),%r13
  lea    D9(%rip),%rbx
  nopl   0x0(%rax)
L67:
  mov    %r15,%rcx
  mov    %r14,%rdx
  mov    %r13,%rsi
  mov    %rbp,%rdi
  xor    %eax,%eax
  mov    %r8,0x8(%rsp)
  add    $0x1,%r12d
  call   <fscanf@plt>
  movss  0x1c(%rsp),%xmm1
  movss  0x14(%rsp),%xmm0
  call   <gammp@plt>
  pxor   %xmm2,%xmm2
  pxor   %xmm1,%xmm1
  mov    %rbx,%rdi
  movapd %xmm0,%xmm3
  mov    $0x4,%eax
  pxor   %xmm0,%xmm0
  cvtss2sd 0x18(%rsp),%xmm2
  cvtss2sd 0x14(%rsp),%xmm0
  cvtss2sd 0x1c(%rsp),%xmm1
  call   <printf@plt>
  cmp    %r12d,0x10(%rsp)
  mov    0x8(%rsp),%r8
  jge    L67
L89:
  mov    %rbp,%rdi
  call   <fclose@plt>
  mov    0x78(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L56
  add    $0x88,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L3:
  mov    %r13,%rdi
  call   <nrerror@plt>
  jmp    L4
L2:
  lea    D107(%rip),%rdi
  call   <nrerror@plt>
  jmp    L84
L56:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: data_label: D111
type_infered: string
name: disassemble_data
arguments: data_label: D30
type_infered: string
name: disassemble_data
arguments: data_label: D131
type_infered: string
name: disassemble_data
arguments: data_label: D137
type_infered: string
name: disassemble_data
arguments: data_label: D1
type_infered: string
name: disassemble_data
arguments: data_label: D69
type_infered: string
name: disassemble_data
arguments: data_label: D5
type_infered: string
name: disassemble_data
arguments: data_label: D13
type_infered: string
name: disassemble_data
arguments: data_label: D128
type_infered: string
name: disassemble_data
arguments: data_label: D32
type_infered: string
name: disassemble_data
arguments: data_label: D42
type_infered: string
name: disassemble_data
arguments: data_label: D20
type_infered: string
name: disassemble_data
arguments: data_label: D9
type_infered: string
name: disassemble_data
arguments: data_label: D107
type_infered: string

tool: D111: r

tool: D30: fncval.dat

tool: D131: Incomplete Gamma Function

tool: D137: Data not found in fncval.dat


tool: D1: %d %*s

tool: D69: 
%s


tool: D5: gammp(a,x)

tool: D13: actual

tool: D128: x

tool: D32: a

tool: D42: %4s %11s %14s %14s 


tool: D20: %f %f %f

tool: D9: %6.2f %12.6f %12.6f %12.6f 


tool: D107: Data file fncval.dat not found


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;
}
```