user: Please show me the C implementation that matches the assembly code listed below:

```asm
<process>:
  endbr64
  push   %r15
  push   %r14
  lea    D32(%rip),%r14
  push   %r13
  lea    D16(%rip),%r13
  push   %r12
  push   %rbp
  mov    %rdi,%rbp
  push   %rbx
  xor    %ebx,%ebx
  sub    $0x128,%rsp
  mov    %esi,0xc(%rsp)
  lea    D31(%rip),%rsi
  lea    0x10(%rsp),%r15
  mov    %fs:0x28,%rax
  mov    %rax,0x118(%rsp)
  xor    %eax,%eax
  call   <fopen@plt>
  mov    %rax,%r12
  test   %rax,%rax
  je     L78
  nopl   0x0(%rax)
L51:
  mov    %r12,%rdx
  mov    $0xff,%esi
  mov    %r15,%rdi
  call   <fgets@plt>
  test   %rax,%rax
  je     L68
  mov    $0xa,%esi
  mov    %r15,%rdi
  add    $0x1,%ebx
  call   <strchr@plt>
  test   %rax,%rax
  je     L79
  movslq 0xc(%rsp),%rdx
  sub    %r15,%rax
  cmp    %rdx,%rax
  jle    L36
L79:
  mov    %r15,%rcx
  mov    %ebx,%edx
  mov    %rbp,%rsi
  mov    %r14,%rdi
  xor    %eax,%eax
  call   <printf@plt>
L36:
  mov    $0x9,%esi
  mov    %r15,%rdi
  call   <strchr@plt>
  test   %rax,%rax
  je     L69
  sub    %r15,%rax
  mov    %r15,%r8
  mov    %ebx,%edx
  mov    %rbp,%rsi
  mov    %rax,%rcx
  lea    D44(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
L69:
  mov    %r13,%rsi
  mov    %r15,%rdi
  call   <strstr@plt>
  test   %rax,%rax
  je     L51
  sub    %r15,%rax
  mov    %r15,%r8
  mov    %ebx,%edx
  mov    %rbp,%rsi
  mov    %rax,%rcx
  lea    D58(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L51
L68:
  mov    %r12,%rdi
  call   <fclose@plt>
  mov    0x118(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L85
  add    $0x128,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   (%rax)
L78:
  mov    0x118(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L85
  add    $0x128,%rsp
  mov    %rbp,%rsi
  lea    D42(%rip),%rdi
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    10e0 <printf@plt>
L85:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: tag: D32
type_infered: string
name: unpack_data
arguments: tag: D16
type_infered: string
name: unpack_data
arguments: tag: D31
type_infered: string
name: unpack_data
arguments: tag: D44
type_infered: string
name: unpack_data
arguments: tag: D58
type_infered: string
name: unpack_data
arguments: tag: D42
type_infered: string

tool: D32: File=%s Line=%d:
%s


tool: D16:  


tool: D31: r

tool: D44: File=%s Line=%d tab at %d
%s


tool: D58: File=%s Line=%d extra space at %d
%s


tool: D42: File=%s does not exist


assistant: ```c
void process(char *name, int width) {
  FILE *ff = fopen(name, "r");
  char buffer[256];
  int count = 0;
  if (ff == NULL) {
    printf("File=%s does not exist\n", name);
    return;
  }
  while (1) {
    char *p;
    if (fgets(buffer, 255, ff) == NULL)
      break;
    count++;
    p = strchr(buffer, '\n');
    if (p == NULL || (p - buffer) > width) {
      printf("File=%s Line=%d:\n%s\n", name, count, buffer);
    }
    p = strchr(buffer, '\t');
    if (p != NULL)
      printf("File=%s Line=%d tab at %d\n%s\n", name, count, p - buffer, buffer);
    p = strstr(buffer, " \n");
    if (p != NULL)
      printf("File=%s Line=%d extra space at %d\n%s\n", name, count, p - buffer, buffer);
  }
  fclose(ff);
  return;
}
```