user: What would the C source look like for the assembly code provided here:

```asm
<main>:
  endbr64
  push   %r15
  lea    D138(%rip),%rsi
  lea    D128(%rip),%rdi
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x98,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x88(%rsp)
  xor    %eax,%eax
  call   <fopen@plt>
  mov    %rax,%rbp
  test   %rax,%rax
  je     L15
L68:
  lea    0x30(%rsp),%r12
  mov    %rbp,%rdx
  mov    $0x50,%esi
  mov    %r12,%rdi
  lea    D49(%rip),%rbx
  lea    D8(%rip),%r13
  call   <fgets@plt>
  jmp    L20
  nopl   0x0(%rax)
L44:
  mov    %r12,%rdi
  mov    %rbp,%rdx
  mov    $0x50,%esi
  call   <fgets@plt>
  mov    %rbp,%rdi
  call   <feof@plt>
  test   %rax,%rax
  jne    L40
L20:
  mov    $0x11,%edx
  mov    %rbx,%rsi
  mov    %r12,%rdi
  call   <strncmp@plt>
  test   %rax,%rax
  jne    L44
  lea    0x18(%rsp),%rdx
  lea    D12(%rip),%rsi
  mov    %rbp,%rdi
  call   <fscanf@plt>
  mov    %r12,%rsi
  lea    D9(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    D38(%rip),%r8
  xor    %eax,%eax
  lea    D31(%rip),%r9
  lea    D78(%rip),%rcx
  mov    %r8,%rdx
  lea    D79(%rip),%rsi
  lea    D74(%rip),%rdi
  call   <printf@plt>
  mov    0x18(%rsp),%eax
  test   %eax,%eax
  jle    L76
  lea    0x20(%rsp),%rax
  mov    $0x1,%ebx
  lea    0x28(%rsp),%r8
  mov    %rax,0x8(%rsp)
  lea    0x2c(%rsp),%r15
  lea    0x24(%rsp),%r14
  lea    D41(%rip),%r13
  lea    0x1c(%rsp),%r12
  xchg   %ax,%ax
L72:
  mov    %r15,%rcx
  mov    %r14,%rdx
  mov    %r13,%rsi
  mov    %rbp,%rdi
  xor    %eax,%eax
  mov    %r8,(%rsp)
  add    $0x1,%ebx
  call   <fscanf@plt>
  mov    0x8(%rsp),%rdi
  movss  0x24(%rsp),%xmm0
  mov    %r12,%rsi
  call   <frenel@plt>
  pxor   %xmm0,%xmm0
  pxor   %xmm4,%xmm4
  pxor   %xmm3,%xmm3
  pxor   %xmm2,%xmm2
  pxor   %xmm1,%xmm1
  mov    $0x5,%eax
  cvtss2sd 0x24(%rsp),%xmm0
  lea    D124(%rip),%rdi
  cvtss2sd 0x1c(%rsp),%xmm4
  cvtss2sd 0x28(%rsp),%xmm3
  cvtss2sd 0x20(%rsp),%xmm2
  cvtss2sd 0x2c(%rsp),%xmm1
  call   <printf@plt>
  cmp    %ebx,0x18(%rsp)
  mov    (%rsp),%r8
  jge    L72
L76:
  mov    %rbp,%rdi
  call   <fclose@plt>
  mov    0x88(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L58
  add    $0x98,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L40:
  mov    %r13,%rdi
  call   <nrerror@plt>
  jmp    L20
L15:
  lea    D67(%rip),%rdi
  call   <nrerror@plt>
  jmp    L68
L58:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_tag: D138
type_infered: string
name: parse_data
arguments: data_tag: D128
type_infered: string
name: parse_data
arguments: data_tag: D49
type_infered: string
name: parse_data
arguments: data_tag: D8
type_infered: string
name: parse_data
arguments: data_tag: D12
type_infered: string
name: parse_data
arguments: data_tag: D9
type_infered: string
name: parse_data
arguments: data_tag: D38
type_infered: string
name: parse_data
arguments: data_tag: D31
type_infered: string
name: parse_data
arguments: data_tag: D78
type_infered: string
name: parse_data
arguments: data_tag: D79
type_infered: string
name: parse_data
arguments: data_tag: D74
type_infered: string
name: parse_data
arguments: data_tag: D41
type_infered: string
name: parse_data
arguments: data_tag: D124
type_infered: string
name: parse_data
arguments: data_tag: D67
type_infered: string

tool: D138: r

tool: D128: fncval.dat

tool: D49: Fresnel Integrals

tool: D8: Data not found in fncval.dat


tool: D12: %d %*s

tool: D9: 
%s


tool: D38: actual

tool: D31: s(x)

tool: D78: c(x)

tool: D79: x

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


tool: D41: %f %f %f

tool: D124: %6.2f %15.6e %15.6e %15.6e %15.6e


tool: D67: Data file fncval.dat not found


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