user: Demonstrate the C code that generates the assembly output below:

```asm
<main>:
  endbr64
  push   %r15
  lea    D134(%rip),%rsi
  lea    D137(%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     L22
L28:
  lea    0x20(%rsp),%r12
  mov    %rbp,%rdx
  mov    $0x50,%esi
  mov    %r12,%rdi
  lea    D59(%rip),%rbx
  lea    D20(%rip),%r13
  call   <fgets@plt>
  jmp    L13
  nopl   0x0(%rax)
L52:
  mov    %r12,%rdi
  mov    %rbp,%rdx
  mov    $0x50,%esi
  call   <fgets@plt>
  mov    %rbp,%rdi
  call   <feof@plt>
  test   %rax,%rax
  jne    L86
L13:
  mov    $0x17,%edx
  mov    %rbx,%rsi
  mov    %r12,%rdi
  call   <strncmp@plt>
  test   %rax,%rax
  jne    L52
  lea    0x10(%rsp),%rdx
  lea    D82(%rip),%rsi
  mov    %rbp,%rdi
  call   <fscanf@plt>
  mov    %r12,%rsi
  lea    D69(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    D47(%rip),%r8
  xor    %eax,%eax
  lea    D68(%rip),%rcx
  lea    D93(%rip),%rdx
  lea    D45(%rip),%rsi
  lea    D73(%rip),%rdi
  call   <printf@plt>
  mov    0x10(%rsp),%eax
  test   %eax,%eax
  jle    L85
  mov    $0x1,%r12d
  lea    0x18(%rsp),%r8
  lea    0x1c(%rsp),%r15
  lea    0x14(%rsp),%r14
  lea    D111(%rip),%r13
  lea    D119(%rip),%rbx
  nopl   0x0(%rax)
L12:
  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>
  mov    0x14(%rsp),%edi
  movss  0x1c(%rsp),%xmm0
  call   <expint@plt>
  mov    0x14(%rsp),%esi
  pxor   %xmm1,%xmm1
  mov    %rbx,%rdi
  movapd %xmm0,%xmm2
  mov    $0x3,%eax
  pxor   %xmm0,%xmm0
  cvtss2sd 0x18(%rsp),%xmm1
  cvtss2sd 0x1c(%rsp),%xmm0
  call   <printf@plt>
  cmp    %r12d,0x10(%rsp)
  mov    0x8(%rsp),%r8
  jge    L12
L85:
  mov    %rbp,%rdi
  call   <fclose@plt>
  mov    0x78(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L66
  add    $0x88,%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    L13
L22:
  lea    D64(%rip),%rdi
  call   <nrerror@plt>
  jmp    L28
L66:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: tag: D134
data_type: string
name: read_data
arguments: tag: D137
data_type: string
name: read_data
arguments: tag: D59
data_type: string
name: read_data
arguments: tag: D20
data_type: string
name: read_data
arguments: tag: D82
data_type: string
name: read_data
arguments: tag: D69
data_type: string
name: read_data
arguments: tag: D47
data_type: string
name: read_data
arguments: tag: D68
data_type: string
name: read_data
arguments: tag: D93
data_type: string
name: read_data
arguments: tag: D45
data_type: string
name: read_data
arguments: tag: D73
data_type: string
name: read_data
arguments: tag: D111
data_type: string
name: read_data
arguments: tag: D119
data_type: string
name: read_data
arguments: tag: D64
data_type: string

tool: D134: r

tool: D137: fncval.dat

tool: D59: Exponential Integral En

tool: D20: Data not found in fncval.dat


tool: D82: %d %*s

tool: D69: 
%s


tool: D47: expint(n,x)

tool: D68: actual

tool: D93: x

tool: D45: n

tool: D73: %4s %7s %15s %21s 


tool: D111: %d %f %f

tool: D119: %4d %8.2f %18.6e %18.6e


tool: D64: Data file fncval.dat not found


assistant: ```c
int main(void) {
  char txt[80];
  int i, nval, n;
  float 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, "Exponential Integral En", 23)) {
    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 %7s %15s %21s \n", "n", "x", "actual", "expint(n,x)");
  for (i = 1; i <= nval; i++) {
    fscanf(fp, "%d %f %f", &n, &x, &val);
    printf("%4d %8.2f %18.6e %18.6e\n", n, x, val, expint(n, x));
  }
  fclose(fp);
  return 0;
}
```