user: 请显示与下面列出的汇编代码相匹配的C语言实现:

```asm
<string_split_quotes>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  mov    %rdx,%r13
  push   %r12
  mov    %rsi,%r12
  push   %rbp
  push   %rbx
  mov    %rdi,%rbx
  sub    $0x8,%rsp
  movl   $0x0,(%rsi)
  call   <strlen@plt>
  lea    0x8(,%rax,8),%edi
  call   <malloc@plt>
  mov    %rax,0x0(%r13)
  test   %rax,%rax
  je     L147
  cmpb   $0x0,(%rbx)
  je     L155
  nopl   0x0(%rax,%rax,1)
L258:
  mov    %rbx,%rbp
  jmp    L210
  nopl   (%rax)
L199:
  add    $0x1,%rbp
L210:
  movsbl 0x0(%rbp),%edi
  call   <isspace@plt>
  test   %rax,%rax
  jne    L199
  movslq (%r12),%rdx
  mov    0x0(%r13),%rax
  cmpb   $0x0,0x0(%rbp)
  mov    %rdx,%rcx
  lea    (%rax,%rdx,8),%rsi
  je     L139
  add    $0x1,%ecx
  mov    %ecx,(%r12)
  mov    %rbp,(%rsi)
  movsbl 0x0(%rbp),%edi
  test   %dil,%dil
  jne    L242
  jmp    L115
  nopl   0x0(%rax,%rax,1)
L241:
  call   <isspace@plt>
  test   %rax,%rax
  jne    L47
  movzbl 0x0(%rbp),%r14d
  cmp    $0x27,%r14b
  je     L41
  cmp    $0x22,%r14b
  je     L41
  test   %r14b,%r14b
  je     L28
  add    $0x1,%rbp
L103:
  movsbl 0x0(%rbp),%edi
  test   %dil,%dil
  je     L28
L242:
  cmp    $0x5c,%dil
  jne    L241
  mov    %rbp,%rdi
  lea    0x1(%rbp),%rbx
  call   <strlen@plt>
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  mov    %eax,%edx
  call   <memmove@plt>
  cmpb   $0x0,0x0(%rbp)
  je     L28
  mov    %rbx,%rbp
  jmp    L103
  nopl   0x0(%rax,%rax,1)
L41:
  mov    %rbp,%rdi
  lea    0x1(%rbp),%rbx
  call   <strlen@plt>
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  mov    %eax,%edx
  call   <memmove@plt>
  movzbl 0x0(%rbp),%eax
  test   %al,%al
  jne    L164
  jmp    L28
  nopl   0x0(%rax,%rax,1)
L166:
  cmp    %al,%r14b
  je     L95
L200:
  movzbl (%rbx),%eax
  test   %al,%al
  je     L28
  add    $0x1,%rbx
L164:
  mov    %rbp,%r15
  mov    %rbx,%rbp
  cmp    $0x5c,%al
  jne    L166
  mov    %r15,%rdi
  call   <strlen@plt>
  mov    %rbx,%rsi
  mov    %r15,%rdi
  mov    %eax,%edx
  call   <memmove@plt>
  cmpb   $0x0,-0x1(%rbx)
  jne    L200
L28:
  mov    0x0(%r13),%rax
  movslq (%r12),%rdx
L139:
  movq   $0x0,(%rax,%rdx,8)
  add    $0x8,%rsp
  mov    $0x1,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L47:
  cmpb   $0x0,0x1(%rbp)
  movb   $0x0,0x0(%rbp)
  lea    0x1(%rbp),%rbx
  jne    L258
  jmp    L28
  nopl   0x0(%rax)
L95:
  mov    %r15,%rdi
  mov    %r15,%rbp
  call   <strlen@plt>
  mov    %rbx,%rsi
  mov    %r15,%rdi
  mov    %eax,%edx
  call   <memmove@plt>
  jmp    L103
L115:
  movslq %ecx,%rdx
  jmp    L139
L147:
  add    $0x8,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L155:
  movslq (%r12),%rdx
  jmp    L139
```

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;
}
```