user: 下面的汇编指令对应的C源代码是什么：

```asm
<explode>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x38,%rsp
  mov    %rdi,-0x48(%rbp)
  mov    %rsi,-0x50(%rbp)
  mov    %rdx,-0x58(%rbp)
  cmpq   $0x0,-0x48(%rbp)
  je     L132
  cmpq   $0x0,-0x50(%rbp)
  jne    L120
L132:
  mov    -0x58(%rbp),%rax
  movl   $0x0,(%rax)
  mov    $0x0,%eax
  jmp    L116
L120:
  mov    $0x0,%r15d
  mov    %r15d,%r14d
  mov    %r14d,%ebx
  mov    $0x1,%r12d
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,-0x3c(%rbp)
  mov    $0x0,%r13d
  jmp    L134
L6:
  movslq %r13d,%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%edx
  mov    -0x50(%rbp),%rax
  movzbl (%rax),%eax
  cmp    %al,%dl
  jne    L138
  add    $0x1,%ebx
L138:
  add    $0x1,%r13d
L134:
  cmp    -0x3c(%rbp),%r13d
  jl     L6
  test   %ebx,%ebx
  jne    L105
  mov    -0x58(%rbp),%rax
  movl   $0x0,(%rax)
  mov    $0x0,%eax
  jmp    L116
L105:
  movslq %ebx,%rax
  shl    $0x3,%eax
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,-0x38(%rbp)
  cmpq   $0x0,-0x38(%rbp)
  jne    L107
  mov    $0x147,%ecx
  lea    D44(%rip),%rax
  mov    %rax,%rdx
  lea    D35(%rip),%rax
  mov    %rax,%rsi
  mov    $0x4,%edi
  call   <libcgi_error@plt>
L107:
  mov    $0x0,%r13d
  jmp    L86
L20:
  movslq %r13d,%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%edx
  mov    -0x50(%rbp),%rax
  movzbl (%rax),%eax
  cmp    %al,%dl
  je     L11
  add    $0x1,%r12d
  jmp    L146
L11:
  mov    %r12d,%eax
  sub    %r15d,%eax
  mov    %eax,%edi
  call   <malloc@plt>
  movslq %r14d,%rdx
  lea    0x0(,%rdx,8),%rcx
  mov    -0x38(%rbp),%rdx
  add    %rcx,%rdx
  mov    %rax,(%rdx)
  movslq %r14d,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  test   %rax,%rax
  jne    L77
  mov    $0x151,%ecx
  lea    D44(%rip),%rax
  mov    %rax,%rdx
  lea    D35(%rip),%rax
  mov    %rax,%rsi
  mov    $0x4,%edi
  call   <libcgi_error@plt>
  mov    $0x0,%eax
  jmp    L116
L77:
  lea    -0x1(%r12),%edx
  movslq %r14d,%rax
  lea    0x0(,%rax,8),%rcx
  mov    -0x38(%rbp),%rax
  add    %rcx,%rax
  mov    %rax,-0x60(%rbp)
  mov    -0x48(%rbp),%rax
  mov    %r15d,%esi
  mov    %rax,%rdi
  call   <substr@plt>
  mov    -0x60(%rbp),%rsi
  mov    %rax,(%rsi)
  movslq %r14d,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    %r12d,%eax
  sub    %r15d,%eax
  cltq
  sub    $0x1,%rax
  add    %rdx,%rax
  movb   $0x0,(%rax)
  add    $0x1,%r14d
  mov    %r12d,%eax
  lea    0x1(%rax),%r12d
  mov    %eax,%r15d
L146:
  add    $0x1,%r13d
L86:
  cmp    -0x3c(%rbp),%r13d
  jl     L20
  mov    %r12d,%edi
  call   <malloc@plt>
  movslq %ebx,%rdx
  lea    0x0(,%rdx,8),%rcx
  mov    -0x38(%rbp),%rdx
  add    %rcx,%rdx
  mov    %rax,(%rdx)
  movslq %ebx,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  test   %rax,%rax
  jne    L98
  mov    $0x161,%ecx
  lea    D44(%rip),%rax
  mov    %rax,%rdx
  lea    D35(%rip),%rax
  mov    %rax,%rsi
  mov    $0x4,%edi
  call   <libcgi_error@plt>
L98:
  movslq %ebx,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  lea    (%rdx,%rax,1),%r13
  mov    -0x48(%rbp),%rax
  mov    %r12d,%edx
  mov    %r15d,%esi
  mov    %rax,%rdi
  call   <substr@plt>
  mov    %rax,0x0(%r13)
  movslq %ebx,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    %r12d,%eax
  sub    %r15d,%eax
  cltq
  add    %rdx,%rax
  movb   $0x0,(%rax)
  add    $0x1,%ebx
  mov    -0x58(%rbp),%rax
  mov    %ebx,(%rax)
  mov    -0x38(%rbp),%rax
L116:
  add    $0x38,%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
```

tool_calls: name: read_data
arguments: data_label: D44
datatype: string
name: read_data
arguments: data_label: D35
datatype: string

tool: D44: /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: D35: %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;
}
```