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

```asm
<write_vtkHeader>:
  endbr64
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x68,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x58(%rsp)
  xor    %eax,%eax
  test   %rdi,%rdi
  je     L13
  mov    %rdi,%rbp
  mov    %esi,%r13d
  mov    %edx,%ebx
  mov    %ecx,%r12d
  mov    $0x1b,%edx
  mov    %rdi,%rcx
  mov    $0x1,%esi
  add    $0x1,%ebx
  lea    D51(%rip),%rdi
  add    $0x1,%r13d
  add    $0x1,%r12d
  call   <fwrite@plt>
  mov    %rbp,%rcx
  mov    $0x24,%edx
  mov    $0x1,%esi
  lea    D79(%rip),%rdi
  call   <fwrite@plt>
  mov    %rbp,%rcx
  mov    $0x6,%edx
  mov    $0x1,%esi
  lea    D2(%rip),%rdi
  call   <fwrite@plt>
  mov    %rbp,%rsi
  mov    $0xa,%edi
  call   <fputc@plt>
  mov    %rbp,%rcx
  mov    $0x18,%edx
  mov    $0x1,%esi
  lea    D52(%rip),%rdi
  call   <fwrite@plt>
  mov    %ebx,%ecx
  imul   %r13d,%ebx
  mov    %r13d,%edx
  lea    D33(%rip),%rsi
  mov    %rbp,%rdi
  xor    %eax,%eax
  mov    %r12d,%r8d
  call   <fprintf@plt>
  xor    %eax,%eax
  lea    D37(%rip),%rsi
  mov    %rbp,%rdi
  imul   %r12d,%ebx
  mov    %ebx,%edx
  call   <fprintf@plt>
  mov    0x58(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L26
  add    $0x68,%rsp
  mov    %rbp,%rsi
  mov    $0xa,%edi
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  jmp    10c0 <fputc@plt>
  nopl   0x0(%rax)
L13:
  mov    %rsp,%r12
  lea    D5(%rip),%rsi
  mov    %r12,%rdi
  call   <sprintf@plt>
  mov    %r12,%rdx
  mov    $0x79,%edi
  lea    D57(%rip),%rsi
  call   <errhandler@plt>
  mov    0x58(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L26
  add    $0x68,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L26:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: label: D51
type_guessed: string
name: disassemble_data
arguments: label: D79
type_guessed: string
name: disassemble_data
arguments: label: D2
type_guessed: string
name: disassemble_data
arguments: label: D52
type_guessed: string
name: disassemble_data
arguments: label: D33
type_guessed: string
name: disassemble_data
arguments: label: D37
type_guessed: string
name: disassemble_data
arguments: label: D5
type_guessed: string
name: disassemble_data
arguments: label: D57
type_guessed: string

tool: D51: # vtk DataFile Version 2.0


tool: D79: generated by CFD-lab course output 


tool: D2: ASCII


tool: D52: DATASET STRUCTURED_GRID


tool: D33: DIMENSIONS  %i %i %i 


tool: D37: POINTS %i float


tool: D5: Null pointer in write_vtkHeader

tool: D57: /scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/EvaBr/CFD-Lab/refs/heads/master/Backup/FinalProjectPresentation/visual.c

assistant: ```c
void write_vtkHeader(FILE *fp, int imax, int jmax, int kmax, double dx, double dy, double dz) {
  if (fp == NULL) {
    char szBuff[80];
    sprintf(szBuff, "Null pointer in write_vtkHeader");
    errhandler(121, "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/EvaBr/CFD-Lab/refs/heads/master/Backup/FinalProjectPresentation/visual.c", szBuff);
    return;
  }
  fprintf(fp, "# vtk DataFile Version 2.0\n");
  fprintf(fp, "generated by CFD-lab course output \n");
  fprintf(fp, "ASCII\n");
  fprintf(fp, "\n");
  fprintf(fp, "DATASET STRUCTURED_GRID\n");
  fprintf(fp, "DIMENSIONS  %i %i %i \n", imax + 1, jmax + 1, kmax + 1);
  fprintf(fp, "POINTS %i float\n", (imax + 1) * (jmax + 1) * (kmax + 1));
  fprintf(fp, "\n");
}
```