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

```asm
<explode>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x38,%rsp
  mov    %rdx,0x18(%rsp)
  test   %rdi,%rdi
  je     L4
  mov    %rdi,%rbp
  mov    %rsi,%r12
  test   %rsi,%rsi
  je     L4
  call   <strlen@plt>
  mov    %eax,%ebx
  test   %eax,%eax
  jle    L79
  movzbl (%r12),%esi
  mov    %rbp,%rax
  lea    -0x1(%rbx),%edx
  lea    0x1(%rbp,%rdx,1),%rcx
  mov    $0x0,%r15d
L155:
  cmp    %sil,(%rax)
  sete   %dl
  movzbl %dl,%edx
  add    %edx,%r15d
  add    $0x1,%rax
  cmp    %rcx,%rax
  jne    L155
  test   %r15d,%r15d
  je     L79
  movslq %r15d,%rax
  mov    %rax,0x20(%rsp)
  lea    0x0(,%r15,8),%edi
  call   <malloc@plt>
  mov    %rax,0x8(%rsp)
  test   %rax,%rax
  je     L24
L145:
  mov    %ebx,%eax
  mov    $0x0,%ebx
  movl   $0x0,0x10(%rsp)
  movl   $0x0,0x14(%rsp)
  mov    %r15d,0x2c(%rsp)
  mov    %rax,%r15
  jmp    L20
L4:
  mov    0x18(%rsp),%rax
  movl   $0x0,(%rax)
  movq   $0x0,0x8(%rsp)
  jmp    L116
L79:
  mov    0x18(%rsp),%rax
  movl   $0x0,(%rax)
  movq   $0x0,0x8(%rsp)
  jmp    L116
L24:
  mov    $0x147,%ecx
  lea    D53(%rip),%rdx
  lea    D16(%rip),%rsi
  mov    $0x4,%edi
  call   <libcgi_error@plt>
  jmp    L145
L2:
  lea    0x2(%rbx),%r14d
L165:
  add    $0x1,%rbx
  cmp    %r15,%rbx
  je     L1
L20:
  mov    %ebx,0x4(%rsp)
  lea    0x1(%rbx),%r13d
  movzbl (%r12),%eax
  cmp    %al,0x0(%rbp,%rbx,1)
  jne    L2
  mov    %r13d,%eax
  sub    0x10(%rsp),%eax
  mov    %eax,0x28(%rsp)
  mov    %eax,%edi
  call   <malloc@plt>
  movslq 0x14(%rsp),%rdx
  mov    0x8(%rsp),%rdi
  lea    (%rdi,%rdx,8),%r14
  mov    %rax,(%r14)
  test   %rax,%rax
  je     L7
  mov    %ebx,%edx
  mov    0x10(%rsp),%esi
  mov    %rbp,%rdi
  call   <substr@plt>
  mov    %rax,(%r14)
  movslq 0x28(%rsp),%rdx
  movb   $0x0,-0x1(%rax,%rdx,1)
  addl   $0x1,0x14(%rsp)
  mov    0x4(%rsp),%r14d
  add    $0x2,%r14d
  mov    %r13d,0x10(%rsp)
  jmp    L165
L7:
  mov    $0x151,%ecx
  lea    D53(%rip),%rdx
  lea    D16(%rip),%rsi
  mov    $0x4,%edi
  call   <libcgi_error@plt>
  movq   $0x0,0x8(%rsp)
  jmp    L116
L1:
  mov    0x2c(%rsp),%r15d
  mov    %r14d,%edi
  call   <malloc@plt>
  mov    0x8(%rsp),%rdi
  mov    0x20(%rsp),%rsi
  lea    (%rdi,%rsi,8),%rbx
  mov    %rax,(%rbx)
  test   %rax,%rax
  je     L157
L160:
  mov    %r14d,%edx
  mov    0x10(%rsp),%r13d
  mov    %r13d,%esi
  mov    %rbp,%rdi
  call   <substr@plt>
  mov    %rax,(%rbx)
  sub    %r13d,%r14d
  movslq %r14d,%r14
  movb   $0x0,(%rax,%r14,1)
  lea    0x1(%r15),%eax
  mov    0x18(%rsp),%rdi
  mov    %eax,(%rdi)
L116:
  mov    0x8(%rsp),%rax
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L157:
  mov    $0x161,%ecx
  lea    D53(%rip),%rdx
  lea    D16(%rip),%rsi
  mov    $0x4,%edi
  call   <libcgi_error@plt>
  jmp    L160
```

tool_calls: name: retrieve_data
arguments: tag: D53
type_infered: string
name: retrieve_data
arguments: tag: D16
type_infered: string

tool: D53: /scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/LeSpocky/libcgi/refs/heads/master/src/string.c

tool: D16: %s, line %s

assistant: ```c
char **explode(char *src, const char *token, int *total) {
  char **str;
  register int i, j, count, item, start;
  int len;
  if (!src || !token) {
    *total = 0;
    return NULL;
  }
  count = item = start = 0;
  j = 1;
  len = strlen(src);
  for (i = 0; i < len; i++) {
    if (src[i] == *token)
      count++;
  }
  if (count == 0) {
    *total = 0;
    return NULL;
  }
  str = (char **)malloc(count * sizeof(char *));
  if (str == NULL)
    libcgi_error(4, "%s, line %s", "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/LeSpocky/libcgi/refs/heads/master/src/string.c", 327);
  for (i = 0; i < len; i++) {
    if (src[i] != *token)
      j++;
    else {
      str[item] = (char *)malloc(j - start);
      if (str[item] == NULL) {
        libcgi_error(4, "%s, line %s", "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/LeSpocky/libcgi/refs/heads/master/src/string.c", 337);
        return NULL;
      }
      *(str + item) = substr(src, start, j - 1);
      str[item][j - start - 1] = '\0';
      item++;
      start = j++;
    }
  }
  *(str + count) = (char *)malloc(j);
  if (str[count] == NULL)
    libcgi_error(4, "%s, line %s", "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/LeSpocky/libcgi/refs/heads/master/src/string.c", 353);
  str[count] = substr(src, start, j);
  str[count][j - start] = '\0';
  *total = ++count;
  return str;
}
```