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

```asm
<y_strsplit>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x38,%rsp
  mov    %rdi,%r14
  mov    %rdi,0x20(%rsp)
  mov    %rsi,%rbx
  mov    %rsi,0x8(%rsp)
  mov    %edx,%r15d
  mov    %rsi,%rdi
  call   <strlen@plt>
  mov    %eax,%ebp
  test   %r15d,%r15d
  jle    L146
L115:
  lea    0x8(,%r15,8),%edi
  call   <malloc@plt>
  mov    %rax,%r13
  mov    %rax,0x28(%rsp)
  mov    %rax,0x18(%rsp)
  mov    0x8(%rsp),%rsi
  mov    0x20(%rsp),%r12
  mov    %r12,%rdi
  call   <strstr@plt>
  mov    %rax,%rbx
  test   %r15d,%r15d
  jle    L72
  test   %rax,%rax
  je     L72
  mov    $0x0,%r14d
  movslq %ebp,%rax
  mov    %rax,0x10(%rsp)
L77:
  mov    %rbx,%rbp
  sub    %r12,%rbp
  mov    %ebp,0x4(%rsp)
  lea    0x1(%rbp),%edi
  call   <malloc@plt>
  mov    %rax,%rdi
  mov    %rax,0x0(%r13)
  mov    0x4(%rsp),%edx
  mov    %r12,%rsi
  call   <strncpy@plt>
  movslq %ebp,%rbp
  mov    0x0(%r13),%rax
  movb   $0x0,(%rax,%rbp,1)
  mov    0x10(%rsp),%rax
  lea    (%rbx,%rax,1),%r12
  mov    0x8(%rsp),%rsi
  mov    %r12,%rdi
  call   <strstr@plt>
  mov    %rax,%rbx
  add    $0x1,%r14d
  add    $0x8,%r13
  cmp    %r14d,%r15d
  jle    L14
  test   %rax,%rax
  jne    L77
L14:
  cmp    %r14d,%r15d
  jle    L119
  mov    0x20(%rsp),%rax
  cmpb   $0x0,(%rax)
  jne    L32
L119:
  movslq %r14d,%r14
  mov    0x18(%rsp),%rax
  movq   $0x0,(%rax,%r14,8)
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L146:
  cmpb   $0x0,(%r14)
  je     L23
  mov    %rbx,%rsi
  mov    %r14,%rdi
  call   <strstr@plt>
  test   %rax,%rax
  je     L41
  mov    $0x0,%r15d
  movslq %ebp,%rbx
L100:
  lea    (%rax,%rbx,1),%rdi
  mov    0x8(%rsp),%rsi
  call   <strstr@plt>
  add    $0x1,%r15d
  test   %rax,%rax
  jne    L100
L130:
  mov    0x20(%rsp),%rbx
  mov    %rbx,%rdi
  call   <strlen@plt>
  movslq %eax,%rdi
  movslq %ebp,%rax
  sub    %rax,%rdi
  add    %rbx,%rdi
  mov    0x8(%rsp),%rsi
  call   <strcmp@plt>
  cmp    $0x1,%rax
  sbb    $0xffffffff,%r15d
  jmp    L115
L41:
  mov    $0x0,%r15d
  jmp    L130
L72:
  mov    0x20(%rsp),%r12
  mov    $0x0,%r14d
  jmp    L14
L32:
  lea    0x1(%r14),%ebx
  mov    %r12,%rdi
  call   <strdup@plt>
  movslq %r14d,%r14
  mov    0x28(%rsp),%rcx
  mov    %rax,(%rcx,%r14,8)
  mov    %ebx,%r14d
  jmp    L119
L23:
  mov    $0x8,%edi
  call   <malloc@plt>
  mov    %rax,0x18(%rsp)
  mov    $0x0,%r14d
  jmp    L119
```

assistant: ```c
char **y_strsplit(char *str, char *sep, int nelem) {
  char **vector;
  char *s, *p;
  int i = 0;
  int l = strlen(sep);
  if (nelem <= 0) {
    char *s;
    nelem = 0;
    if (*str) {
      for (s = strstr(str, sep); s; s = strstr(s + l, sep), nelem++)
        ;
      if (strcmp(str + strlen(str) - l, sep))
        nelem++;
    }
  }
  vector = (char **)malloc(sizeof(char *) * (nelem + 1));
  for (p = str, s = strstr(p, sep); i < nelem && s; p = s + l, s = strstr(p, sep), i++) {
    int len = s - p;
    vector[i] = (char *)malloc(sizeof(char) * (len + 1));
    strncpy(vector[i], p, len);
    vector[i][len] = '\0';
  }
  if ((i < nelem) && *str)
    vector[i++] = strdup(p);
  vector[i] = NULL;
  return vector;
}
```