user: What is the c source code of the assembly code below:

```asm
<readsplit>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %rbx
  sub    $0x68,%rsp
  mov    %rdi,-0x58(%rbp)
  mov    %rsi,-0x60(%rbp)
  mov    %rdx,-0x68(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x18(%rbp)
  xor    %eax,%eax
  movl   $0x100,-0x44(%rbp)
  mov    -0x44(%rbp),%eax
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,-0x40(%rbp)
  mov    $0x80,%edi
  call   <malloc@plt>
  mov    %rax,-0x38(%rbp)
  jmp    L104
L20:
  mov    -0x40(%rbp),%rdx
  mov    -0x40(%rbp),%rax
  mov    -0x38(%rbp),%rcx
  lea    D28(%rip),%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <sprintf@plt>
L104:
  mov    -0x60(%rbp),%rdx
  mov    -0x44(%rbp),%ecx
  mov    -0x38(%rbp),%rax
  mov    %ecx,%esi
  mov    %rax,%rdi
  call   <fgets@plt>
  mov    %rax,-0x38(%rbp)
  cmpq   $0x0,-0x38(%rbp)
  jne    L20
  mov    -0x40(%rbp),%rax
  lea    D69(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L53
  movq   $0x0,-0x58(%rbp)
  lea    D69(%rip),%rax
  jmp    L36
L53:
  mov    -0x40(%rbp),%rbx
  mov    -0x40(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  cltq
  sub    $0x1,%rax
  add    %rbx,%rax
  mov    %rax,-0x30(%rbp)
  mov    -0x30(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0xa,%al
  jne    L60
  mov    -0x68(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0xa,%al
  je     L60
  mov    -0x30(%rbp),%rax
  movb   $0x0,(%rax)
L60:
  cmpq   $0x0,-0x68(%rbp)
  jne    L5
  mov    -0x40(%rbp),%rax
  jmp    L36
L5:
  mov    -0x68(%rbp),%rax
  lea    D37(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L99
  lea    D41(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
L99:
  movl   $0x0,-0x48(%rbp)
  mov    -0x40(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  cmp    $0x6d,%al
  jne    L114
  mov    $0x4,%edi
  call   <malloc@plt>
  mov    %rax,-0x28(%rbp)
  mov    -0x40(%rbp),%rax
  add    $0x7,%rax
  movzbl (%rax),%eax
  movsbl %al,%ecx
  mov    -0x40(%rbp),%rax
  add    $0x6,%rax
  movzbl (%rax),%eax
  movsbl %al,%edx
  mov    -0x28(%rbp),%rax
  lea    D55(%rip),%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <sprintf@plt>
  mov    -0x58(%rbp),%rax
  mov    -0x28(%rbp),%rdx
  mov    %rdx,(%rax)
  mov    -0x68(%rbp),%rdx
  lea    -0x40(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strsep@plt>
  addl   $0x1,-0x48(%rbp)
  jmp    L114
L77:
  mov    -0x48(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x58(%rbp),%rax
  add    %rax,%rdx
  mov    -0x20(%rbp),%rax
  mov    %rax,(%rdx)
  addl   $0x1,-0x48(%rbp)
L114:
  mov    -0x68(%rbp),%rdx
  lea    -0x40(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strsep@plt>
  mov    %rax,-0x20(%rbp)
  cmpq   $0x0,-0x20(%rbp)
  jne    L77
  mov    -0x40(%rbp),%rax
  mov    %rax,%rdi
  call   <free@plt>
  lea    D69(%rip),%rax
L36:
  mov    -0x18(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L48
  call   <__stack_chk_fail@plt>
L48:
  mov    -0x8(%rbp),%rbx
  leave
  ret
```

tool_calls: name: disassemble_data
arguments: tag: D28
type_guessed: string
name: disassemble_data
arguments: tag: D69
type_guessed: string
name: disassemble_data
arguments: tag: D37
type_guessed: string
name: disassemble_data
arguments: tag: D41
type_guessed: string
name: disassemble_data
arguments: tag: D55
type_guessed: string

tool: D28: %s%s

tool: 

tool: D37: 


tool: D41: kats

tool: D55: %c%c

assistant: ```c
char *readsplit(char **a, FILE *fp, char *sep) {
  const int size = 256;
  char *s = malloc(size);
  char *buf = malloc(128);
  while ((buf = fgets(buf, size, fp)) != NULL)
    sprintf(s, "%s%s", s, buf);
  if (strcmp(s, "") == 0) {
    a = NULL;
    return "";
  }
  char *lchar = &s[strlen(s) - 1];
  if (*lchar == '\n' && *sep != '\n')
    *lchar = '\0';
  if (sep == NULL)
    return s;
  if (strcmp(sep, "\n") == 0)
    puts("kats");
  int i = 0;
  if (s[1] == 'm') {
    char *vol = malloc(4);
    sprintf(vol, "%c%c", s[6], s[7]);
    a[0] = vol;
    strsep(&s, sep);
    i++;
  }
  char *token;
  while ((token = strsep(&s, sep)) != NULL) {
    a[i] = token;
    i++;
  }
  free(s);
  return "";
}
```