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

```asm
<main>:
  endbr64
  push   %r15
  lea    D47(%rip),%rsi
  lea    D106(%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     L58
L3:
  lea    0x30(%rsp),%r12
  mov    %rbp,%rdx
  mov    $0x50,%esi
  mov    %r12,%rdi
  lea    D17(%rip),%rbx
  lea    D73(%rip),%r13
  call   <fgets@plt>
  jmp    L20
  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    L86
L20:
  mov    $0x19,%edx
  mov    %rbx,%rsi
  mov    %r12,%rdi
  call   <strncmp@plt>
  test   %rax,%rax
  jne    L64
  lea    0x18(%rsp),%rdx
  lea    D42(%rip),%rsi
  mov    %rbp,%rdi
  call   <fscanf@plt>
  mov    %r12,%rsi
  lea    D45(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    D124(%rip),%r8
  xor    %eax,%eax
  lea    D12(%rip),%r9
  lea    D49(%rip),%rcx
  mov    %r8,%rdx
  lea    D37(%rip),%rsi
  lea    D132(%rip),%rdi
  call   <printf@plt>
  mov    0x18(%rsp),%eax
  test   %eax,%eax
  jle    L27
  lea    0x1c(%rsp),%rax
  mov    $0x1,%ebx
  lea    0x2c(%rsp),%r8
  mov    %rax,0x8(%rsp)
  lea    0x28(%rsp),%r15
  lea    0x24(%rsp),%r14
  lea    D31(%rip),%r13
  lea    0x20(%rsp),%r12
  xchg   %ax,%ax
L45:
  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   <cisi@plt>
  pxor   %xmm0,%xmm0
  pxor   %xmm4,%xmm4
  pxor   %xmm3,%xmm3
  pxor   %xmm2,%xmm2
  pxor   %xmm1,%xmm1
  mov    $0x5,%eax
  cvtss2sd 0x24(%rsp),%xmm0
  lea    D98(%rip),%rdi
  cvtss2sd 0x20(%rsp),%xmm4
  cvtss2sd 0x2c(%rsp),%xmm3
  cvtss2sd 0x1c(%rsp),%xmm2
  cvtss2sd 0x28(%rsp),%xmm1
  call   <printf@plt>
  cmp    %ebx,0x18(%rsp)
  mov    (%rsp),%r8
  jge    L45
L27:
  mov    %rbp,%rdi
  call   <fclose@plt>
  mov    0x88(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L9
  add    $0x98,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L86:
  mov    %r13,%rdi
  call   <nrerror@plt>
  jmp    L20
L58:
  lea    D136(%rip),%rdi
  call   <nrerror@plt>
  jmp    L3
L9:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_tag: D47
type_guessed: string
name: parse_data
arguments: data_tag: D106
type_guessed: string
name: parse_data
arguments: data_tag: D17
type_guessed: string
name: parse_data
arguments: data_tag: D73
type_guessed: string
name: parse_data
arguments: data_tag: D42
type_guessed: string
name: parse_data
arguments: data_tag: D45
type_guessed: string
name: parse_data
arguments: data_tag: D124
type_guessed: string
name: parse_data
arguments: data_tag: D12
type_guessed: string
name: parse_data
arguments: data_tag: D49
type_guessed: string
name: parse_data
arguments: data_tag: D37
type_guessed: string
name: parse_data
arguments: data_tag: D132
type_guessed: string
name: parse_data
arguments: data_tag: D31
type_guessed: string
name: parse_data
arguments: data_tag: D98
type_guessed: string
name: parse_data
arguments: data_tag: D136
type_guessed: string

tool: D47: r

tool: D106: fncval.dat

tool: D17: Cosine and Sine Integrals

tool: D73: Data not found in fncval.dat


tool: D42: %d %*s

tool: D45: 
%s


tool: D124: actual

tool: D12: si(x)

tool: D49: ci(x)

tool: D37: x

tool: D132: %5s %12s %12s %12s %12s 


tool: D31: %f %f %f

tool: D98: %6.2f %12.6f %12.6f %12.6f %12.6f


tool: D136: Data file fncval.dat not found


assistant: ```c
int main(void) {
  char txt[80];
  int i, nval;
  float ci, si, x, xci, xsi;
  FILE *fp;
  if ((fp = fopen("fncval.dat", "r")) == NULL)
    nrerror("Data file fncval.dat not found\n");
  fgets(txt, 80, fp);
  while (strncmp(txt, "Cosine and Sine Integrals", 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("%5s %12s %12s %12s %12s \n", "x", "actual", "ci(x)", "actual", "si(x)");
  for (i = 1; i <= nval; i++) {
    fscanf(fp, "%f %f %f", &x, &xci, &xsi);
    cisi(x, &ci, &si);
    printf("%6.2f %12.6f %12.6f %12.6f %12.6f\n", x, xci, ci, xsi, si);
  }
  fclose(fp);
  return 0;
}
```