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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x90,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  lea    D93(%rip),%rax
  mov    %rax,%rsi
  lea    D53(%rip),%rax
  mov    %rax,%rdi
  call   <fopen@plt>
  mov    %rax,-0x68(%rbp)
  cmpq   $0x0,-0x68(%rbp)
  jne    L27
  lea    D130(%rip),%rax
  mov    %rax,%rdi
  call   <nrerror@plt>
L27:
  mov    -0x68(%rbp),%rdx
  lea    -0x60(%rbp),%rax
  mov    $0x50,%esi
  mov    %rax,%rdi
  call   <fgets@plt>
  jmp    L47
L63:
  mov    -0x68(%rbp),%rdx
  lea    -0x60(%rbp),%rax
  mov    $0x50,%esi
  mov    %rax,%rdi
  call   <fgets@plt>
  mov    -0x68(%rbp),%rax
  mov    %rax,%rdi
  call   <feof@plt>
  test   %rax,%rax
  je     L47
  lea    D67(%rip),%rax
  mov    %rax,%rdi
  call   <nrerror@plt>
L47:
  lea    -0x60(%rbp),%rax
  mov    $0x11,%edx
  lea    D64(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <strncmp@plt>
  test   %rax,%rax
  jne    L63
  lea    -0x84(%rbp),%rdx
  mov    -0x68(%rbp),%rax
  lea    D139(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fscanf@plt>
  lea    -0x60(%rbp),%rax
  mov    %rax,%rsi
  lea    D128(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D46(%rip),%r9
  lea    D70(%rip),%r8
  lea    D110(%rip),%rax
  mov    %rax,%rcx
  lea    D70(%rip),%rax
  mov    %rax,%rdx
  lea    D75(%rip),%rax
  mov    %rax,%rsi
  lea    D2(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  movl   $0x1,-0x6c(%rbp)
  jmp    L35
L14:
  lea    -0x74(%rbp),%rsi
  lea    -0x70(%rbp),%rcx
  lea    -0x78(%rbp),%rdx
  mov    -0x68(%rbp),%rax
  mov    %rsi,%r8
  lea    D1(%rip),%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <fscanf@plt>
  mov    -0x78(%rbp),%eax
  lea    -0x80(%rbp),%rcx
  lea    -0x7c(%rbp),%rdx
  mov    %rcx,%rsi
  mov    %rdx,%rdi
  movd   %eax,%xmm0
  call   <frenel@plt>
  movss  -0x80(%rbp),%xmm0
  pxor   %xmm3,%xmm3
  cvtss2sd %xmm0,%xmm3
  movss  -0x74(%rbp),%xmm0
  pxor   %xmm2,%xmm2
  cvtss2sd %xmm0,%xmm2
  movss  -0x7c(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  cvtss2sd %xmm0,%xmm1
  movss  -0x70(%rbp),%xmm0
  cvtss2sd %xmm0,%xmm0
  movss  -0x78(%rbp),%xmm4
  pxor   %xmm5,%xmm5
  cvtss2sd %xmm4,%xmm5
  movq   %xmm5,%rax
  movapd %xmm3,%xmm4
  movapd %xmm2,%xmm3
  movapd %xmm1,%xmm2
  movapd %xmm0,%xmm1
  movq   %rax,%xmm0
  lea    D129(%rip),%rax
  mov    %rax,%rdi
  mov    $0x5,%eax
  call   <printf@plt>
  addl   $0x1,-0x6c(%rbp)
L35:
  mov    -0x84(%rbp),%eax
  cmp    %eax,-0x6c(%rbp)
  jle    L14
  mov    -0x68(%rbp),%rax
  mov    %rax,%rdi
  call   <fclose@plt>
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L62
  call   <__stack_chk_fail@plt>
L62:
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: label: D93
data_type: string
name: extract_symbolic_data
arguments: label: D53
data_type: string
name: extract_symbolic_data
arguments: label: D130
data_type: string
name: extract_symbolic_data
arguments: label: D67
data_type: string
name: extract_symbolic_data
arguments: label: D64
data_type: string
name: extract_symbolic_data
arguments: label: D139
data_type: string
name: extract_symbolic_data
arguments: label: D128
data_type: string
name: extract_symbolic_data
arguments: label: D46
data_type: string
name: extract_symbolic_data
arguments: label: D70
data_type: string
name: extract_symbolic_data
arguments: label: D110
data_type: string
name: extract_symbolic_data
arguments: label: D75
data_type: string
name: extract_symbolic_data
arguments: label: D2
data_type: string
name: extract_symbolic_data
arguments: label: D1
data_type: string
name: extract_symbolic_data
arguments: label: D129
data_type: string

tool: D93: r

tool: D53: fncval.dat

tool: D130: Data file fncval.dat not found


tool: D67: Data not found in fncval.dat


tool: D64: Fresnel Integrals

tool: D139: %d %*s

tool: D128: 
%s


tool: D46: s(x)

tool: D70: actual

tool: D110: c(x)

tool: D75: x

tool: D2: %5s %12s %14s %16s %14s 


tool: D1: %f %f %f

tool: D129: %6.2f %15.6e %15.6e %15.6e %15.6e


assistant: ```c
int main(void) {
  char txt[80];
  int i, nval;
  float c, s, x, xc, xs;
  FILE *fp;
  if ((fp = fopen("fncval.dat", "r")) == NULL)
    nrerror("Data file fncval.dat not found\n");
  fgets(txt, 80, fp);
  while (strncmp(txt, "Fresnel Integrals", 17)) {
    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("%5s %12s %14s %16s %14s \n", "x", "actual", "c(x)", "actual", "s(x)");
  for (i = 1; i <= nval; i++) {
    fscanf(fp, "%f %f %f", &x, &xs, &xc);
    frenel(x, &s, &c);
    printf("%6.2f %15.6e %15.6e %15.6e %15.6e\n", x, xs, s, xc, c);
  }
  fclose(fp);
  return 0;
}
```