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

```asm
<string_split_quotes>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x8,%rsp
  mov    %rdi,%rbp
  mov    %rsi,%r12
  mov    %rdx,%r13
  movl   $0x0,(%rsi)
  call   <strlen@plt>
  lea    0x8(,%rax,8),%edi
  call   <malloc@plt>
  mov    %rax,0x0(%r13)
  test   %rax,%rax
  je     L30
  cmpb   $0x0,0x0(%rbp)
  jne    L74
  jmp    L79
L206:
  add    $0x1,%rbx
L65:
  movsbl (%rbx),%edi
  call   <isspace@plt>
  test   %rax,%rax
  jne    L206
  cmpb   $0x0,(%rbx)
  je     L79
  mov    0x0(%r13),%rdx
  mov    (%r12),%eax
  lea    0x1(%rax),%ecx
  mov    %ecx,(%r12)
  cltq
  mov    %rbx,(%rdx,%rax,8)
  movzbl (%rbx),%edi
  test   %dil,%dil
  jne    L165
  jmp    L79
L7:
  mov    %rbx,%rdi
  call   <strlen@plt>
  mov    %eax,%edx
  lea    0x1(%rbx),%rbp
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <memmove@plt>
  cmpb   $0x0,(%rbx)
  jne    L90
L79:
  movslq (%r12),%rdx
  mov    0x0(%r13),%rax
  movq   $0x0,(%rax,%rdx,8)
  mov    $0x1,%eax
L9:
  add    $0x8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L181:
  movb   $0x0,(%rbx)
  lea    0x1(%rbx),%rbp
  cmpb   $0x0,0x1(%rbx)
  je     L79
L74:
  mov    %rbp,%rbx
  jmp    L65
L35:
  mov    %rbx,%rdi
  call   <strlen@plt>
  mov    %eax,%edx
  lea    0x1(%rbx),%rbp
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <memmove@plt>
  movzbl (%rbx),%eax
  test   %al,%al
  jne    L145
  jmp    L79
L32:
  mov    %rbx,%rdi
  call   <strlen@plt>
  mov    %eax,%edx
  mov    %rbp,%r15
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <memmove@plt>
  cmpb   $0x0,-0x1(%rbp)
  je     L79
L157:
  movzbl (%r15),%eax
  add    $0x1,%rbp
  test   %al,%al
  je     L79
L145:
  lea    -0x1(%rbp),%rbx
  cmp    $0x5c,%al
  je     L32
  cmp    %al,%r14b
  je     L54
  mov    %rbp,%r15
  jmp    L157
L54:
  mov    %rbx,%rdi
  call   <strlen@plt>
  mov    %eax,%edx
  lea    0x1(%rbx),%rsi
  mov    %rbx,%rdi
  call   <memmove@plt>
  jmp    L24
L90:
  mov    %rbp,%rbx
L24:
  movzbl (%rbx),%edi
  test   %dil,%dil
  je     L79
L165:
  cmp    $0x5c,%dil
  je     L7
  movsbl %dil,%edi
  call   <isspace@plt>
  test   %rax,%rax
  jne    L181
  movzbl (%rbx),%r14d
  cmp    $0x27,%r14b
  je     L35
  cmp    $0x22,%r14b
  je     L35
  test   %r14b,%r14b
  je     L79
  add    $0x1,%rbx
  jmp    L24
L30:
  mov    $0x0,%eax
  jmp    L9
```

assistant: ```c
int string_split_quotes(char *str, int *argc, char ***argv) {
  *argc = 0;
  *argv = malloc((strlen(str) + 1) * sizeof(char *));
  if (!*argv)
    return 0;
  while (*str) {
    while (isspace((int)*str)) {
      str++;
    }
    if (!*str)
      break;
    (*argv)[(*argc)++] = str;
    while (*str) {
      if (*str == '\\') {
        memmove(str, str + 1, strlen(str));
        if (*str)
          str++;
      } else if (isspace((int)*str)) {
        *str = 0;
        str++;
        break;
      } else if (*str == '\'' || *str == '\"') {
        char quote = *str;
        memmove(str, str + 1, strlen(str));
        while (*str) {
          if (*str == '\\') {
            memmove(str, str + 1, strlen(str));
            if (*str)
              str++;
          } else if (*str == quote) {
            memmove(str, str + 1, strlen(str));
            break;
          } else {
            str++;
          }
        }
      } else if (!*str) {
        break;
      } else {
        str++;
      }
    }
  }
  (*argv)[*argc] = 0;
  return 1;
}
```