user: Converte this assembly snippet into its equivalent C code:

```asm
<string_quicksort>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x20,%rsp
  mov    %rdi,-0x18(%rbp)
  mov    %esi,-0x1c(%rbp)
  mov    %edx,-0x20(%rbp)
  mov    -0x1c(%rbp),%eax
  cmp    -0x20(%rbp),%eax
  jae    L76
  mov    -0x1c(%rbp),%eax
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    %rax,-0x8(%rbp)
  mov    -0x1c(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0x10(%rbp)
  mov    -0x20(%rbp),%eax
  mov    %eax,-0xc(%rbp)
  jmp    L78
L75:
  subl   $0x1,-0xc(%rbp)
L10:
  mov    -0x10(%rbp),%eax
  cmp    -0xc(%rbp),%eax
  jge    L95
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    -0x8(%rbp),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jns    L75
  jmp    L95
L104:
  addl   $0x1,-0x10(%rbp)
L95:
  mov    -0x10(%rbp),%eax
  cmp    -0xc(%rbp),%eax
  jge    L113
  mov    -0x10(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    -0x8(%rbp),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jle    L104
L113:
  mov    -0x10(%rbp),%eax
  cmp    -0xc(%rbp),%eax
  jge    L78
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rax,%rdx
  mov    -0x10(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <string_swap@plt>
L78:
  mov    -0x10(%rbp),%eax
  cmp    -0xc(%rbp),%eax
  jl     L10
  mov    -0x10(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x1c(%rbp),%eax
  lea    0x0(,%rax,8),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jle    L103
  mov    -0x10(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rax,%rdx
  mov    -0x1c(%rbp),%eax
  lea    0x0(,%rax,8),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <string_swap@plt>
  mov    -0x10(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,%edx
  mov    -0x1c(%rbp),%ecx
  mov    -0x18(%rbp),%rax
  mov    %ecx,%esi
  mov    %rax,%rdi
  call   <string_quicksort>
  mov    -0x10(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,%ecx
  mov    -0x20(%rbp),%edx
  mov    -0x18(%rbp),%rax
  mov    %ecx,%esi
  mov    %rax,%rdi
  call   <string_quicksort>
  jmp    L35
L103:
  mov    -0x1c(%rbp),%eax
  lea    0x1(%rax),%ecx
  mov    -0x20(%rbp),%edx
  mov    -0x18(%rbp),%rax
  mov    %ecx,%esi
  mov    %rax,%rdi
  call   <string_quicksort>
  jmp    L35
L76:
  nop
L35:
  leave
  ret
```

assistant: ```c
void string_quicksort(char **strings, unsigned int a, unsigned int b) {
  if (a >= b)
    return;
  const char *key = strings[a];
  int i = a + 1, j = b;
  while (i < j) {
    while (i < j && strcmp(strings[j], key) >= 0)
      j--;
    while (i < j && strcmp(strings[i], key) <= 0)
      i++;
    if (i < j)
      string_swap(strings + i, strings + j);
  }
  if (strcmp(strings[a], strings[i]) > 0) {
    string_swap(strings + a, strings + i);
    string_quicksort(strings, a, i - 1);
    string_quicksort(strings, i + 1, b);
  } else {
    string_quicksort(strings, a + 1, b);
  }
}
```