user: Translate the below assembly code into C programming language:

```asm
<main>:
  endbr64
  push   %r15
  lea    D59(%rip),%rsi
  lea    D19(%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     L84
L72:
  lea    0x10(%rsp),%r12
  mov    %rbp,%rdx
  mov    $0x50,%esi
  mov    %r12,%rdi
  lea    D110(%rip),%rbx
  lea    D69(%rip),%r13
  call   <fgets@plt>
  jmp    L12
  cs nopw 0x0(%rax,%rax,1)
L23:
  mov    %r12,%rdi
  mov    %rbp,%rdx
  mov    $0x50,%esi
  call   <fgets@plt>
  mov    %rbp,%rdi
  call   <feof@plt>
  test   %rax,%rax
  jne    L31
L12:
  mov    $0xf,%edx
  mov    %rbx,%rsi
  mov    %r12,%rdi
  call   <strncmp@plt>
  test   %rax,%rax
  jne    L23
  lea    0x4(%rsp),%rdx
  lea    D101(%rip),%rsi
  mov    %rbp,%rdi
  call   <fscanf@plt>
  mov    %r12,%rsi
  lea    D71(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    D45(%rip),%rcx
  xor    %eax,%eax
  lea    D13(%rip),%rdx
  lea    D0(%rip),%rsi
  lea    D89(%rip),%rdi
  call   <printf@plt>
  mov    0x4(%rsp),%eax
  test   %eax,%eax
  jle    L86
  mov    $0x1,%r12d
  lea    0x8(%rsp),%r15
  lea    0xc(%rsp),%r14
  lea    D99(%rip),%r13
  lea    D32(%rip),%rbx
  nopl   0x0(%rax)
L18:
  mov    %r15,%rcx
  mov    %r14,%rdx
  mov    %r13,%rsi
  mov    %rbp,%rdi
  xor    %eax,%eax
  add    $0x1,%r12d
  call   <fscanf@plt>
  movss  0xc(%rsp),%xmm0
  call   <dawson@plt>
  pxor   %xmm1,%xmm1
  mov    %rbx,%rdi
  mov    $0x3,%eax
  movapd %xmm0,%xmm2
  pxor   %xmm0,%xmm0
  cvtss2sd 0x8(%rsp),%xmm1
  cvtss2sd 0xc(%rsp),%xmm0
  call   <printf@plt>
  cmp    %r12d,0x4(%rsp)
  jge    L18
L86:
  mov    %rbp,%rdi
  call   <fclose@plt>
  mov    0x68(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L61
  add    $0x78,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nop
L31:
  mov    %r13,%rdi
  call   <nrerror@plt>
  jmp    L12
L84:
  lea    D22(%rip),%rdi
  call   <nrerror@plt>
  jmp    L72
L61:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_label: D59
type: string
name: parse_data
arguments: data_label: D19
type: string
name: parse_data
arguments: data_label: D110
type: string
name: parse_data
arguments: data_label: D69
type: string
name: parse_data
arguments: data_label: D101
type: string
name: parse_data
arguments: data_label: D71
type: string
name: parse_data
arguments: data_label: D45
type: string
name: parse_data
arguments: data_label: D13
type: string
name: parse_data
arguments: data_label: D0
type: string
name: parse_data
arguments: data_label: D89
type: string
name: parse_data
arguments: data_label: D99
type: string
name: parse_data
arguments: data_label: D32
type: string
name: parse_data
arguments: data_label: D22
type: string

tool: D59: r

tool: D19: fncval.dat

tool: D110: Dawson integral

tool: D69: Data not found in fncval.dat


tool: D101: %d %*s

tool: D71: 
%s


tool: D45: dawson(x)

tool: D13: actual

tool: D0: x

tool: D89: %5s %12s %11s 


tool: D99: %f %f

tool: D32: %6.2f %12.6f %12.6f


tool: D22: Data file fncval.dat not found


assistant: ```c
int main(void) {
  char txt[80];
  int i, nval;
  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, "Dawson integral", 15)) {
    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 %11s \n", "x", "actual", "dawson(x)");
  for (i = 1; i <= nval; i++) {
    fscanf(fp, "%f %f", &x, &val);
    printf("%6.2f %12.6f %12.6f\n", x, val, dawson(x));
  }
  fclose(fp);
  return 0;
}
```