user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<main>:
  endbr64
  push   %r15
  lea    D22(%rip),%rsi
  lea    D71(%rip),%rdi
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x78,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x68(%rsp)
  xor    %eax,%eax
  call   <fopen@plt>
  mov    %rax,%rbp
  test   %rax,%rax
  je     L33
L96:
  lea    0x10(%rsp),%r12
  mov    %rbp,%rdx
  mov    $0x50,%esi
  mov    %r12,%rdi
  lea    D70(%rip),%rbx
  lea    D84(%rip),%r13
  call   <fgets@plt>
  jmp    L67
  cs nopw 0x0(%rax,%rax,1)
L17:
  mov    %r12,%rdi
  mov    %rbp,%rdx
  mov    $0x50,%esi
  call   <fgets@plt>
  mov    %rbp,%rdi
  call   <feof@plt>
  test   %rax,%rax
  jne    L26
L67:
  mov    $0xb,%edx
  mov    %rbx,%rsi
  mov    %r12,%rdi
  call   <strncmp@plt>
  test   %rax,%rax
  jne    L17
  lea    0xc(%rsp),%rdx
  lea    D67(%rip),%rsi
  mov    %rbp,%rdi
  call   <fscanf@plt>
  mov    %r12,%rsi
  lea    D61(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    D93(%rip),%rcx
  xor    %eax,%eax
  lea    D113(%rip),%rdx
  lea    D33(%rip),%rsi
  lea    D115(%rip),%rdi
  call   <printf@plt>
  mov    0xc(%rsp),%eax
  test   %eax,%eax
  jle    L22
  mov    $0x1,%ebx
  lea    0x4(%rsp),%r14
  lea    0x8(%rsp),%r13
  lea    D7(%rip),%r12
  lea    D111(%rip),%r15
  nopl   0x0(%rax,%rax,1)
L43:
  mov    %rbp,%rdi
  xor    %eax,%eax
  mov    %r14,%rcx
  mov    %r13,%rdx
  mov    %r12,%rsi
  call   <fscanf@plt>
  movss  D105(%rip),%xmm2
  comiss 0x4(%rsp),%xmm2
  mov    0x8(%rsp),%edi
  jbe    L114
  call   <factrl@plt>
  mov    0x8(%rsp),%esi
  mov    $0x2,%eax
  add    $0x1,%ebx
  movapd %xmm0,%xmm1
  lea    D99(%rip),%rdi
  pxor   %xmm0,%xmm0
  cvtss2sd 0x4(%rsp),%xmm0
  call   <printf@plt>
  cmp    0xc(%rsp),%ebx
  jle    L43
L22:
  mov    %rbp,%rdi
  call   <fclose@plt>
  mov    0x68(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L112
  add    $0x78,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L114:
  call   <factrl@plt>
  mov    0x8(%rsp),%esi
  mov    %r15,%rdi
  add    $0x1,%ebx
  movapd %xmm0,%xmm1
  mov    $0x2,%eax
  pxor   %xmm0,%xmm0
  cvtss2sd 0x4(%rsp),%xmm0
  call   <printf@plt>
  cmp    %ebx,0xc(%rsp)
  jge    L43
  jmp    L22
  nopl   0x0(%rax,%rax,1)
L26:
  mov    %r13,%rdi
  call   <nrerror@plt>
  jmp    L67
L33:
  lea    D39(%rip),%rdi
  call   <nrerror@plt>
  jmp    L96
L112:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_tag: D22
data_type: string
name: parse_data
arguments: data_tag: D71
data_type: string
name: parse_data
arguments: data_tag: D70
data_type: string
name: parse_data
arguments: data_tag: D84
data_type: string
name: parse_data
arguments: data_tag: D67
data_type: string
name: parse_data
arguments: data_tag: D61
data_type: string
name: parse_data
arguments: data_tag: D93
data_type: string
name: parse_data
arguments: data_tag: D113
data_type: string
name: parse_data
arguments: data_tag: D33
data_type: string
name: parse_data
arguments: data_tag: D115
data_type: string
name: parse_data
arguments: data_tag: D7
data_type: string
name: parse_data
arguments: data_tag: D111
data_type: string
name: parse_data
arguments: data_tag: D105
data_type: f32
name: parse_data
arguments: data_tag: D99
data_type: string
name: parse_data
arguments: data_tag: D39
data_type: string

tool: D22: r

tool: D71: fncval.dat

tool: D70: N-factorial

tool: D84: Data not found in fncval.dat


tool: D67: %d %*s

tool: D61: 
%s


tool: D93: factrl(n)

tool: D113: actual

tool: D33: n

tool: D115: %6s %18s %20s 


tool: D7: %d %f 

tool: D111: %6d %20e %20e 


tool: D105: 10000000000

tool: D99: %6d %20.0f %20.0f


tool: D39: Data file fncval.dat not found


assistant: ```c
int main(void) {
  char txt[80];
  float actual;
  int i, n, nval;
  FILE *fp;
  if ((fp = fopen("fncval.dat", "r")) == NULL)
    nrerror("Data file fncval.dat not found\n");
  fgets(txt, 80, fp);
  while (strncmp(txt, "N-factorial", 11)) {
    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("%6s %18s %20s \n", "n", "actual", "factrl(n)");
  for (i = 1; i <= nval; i++) {
    fscanf(fp, "%d %f ", &n, &actual);
    if (actual < 1.0e10)
      printf("%6d %20.0f %20.0f\n", n, actual, factrl(n));
    else
      printf("%6d %20e %20e \n", n, actual, factrl(n));
  }
  fclose(fp);
  return 0;
}
```