user: 请将以下的汇编代码转换成C语言代码:

```asm
<_quicksort>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %edx,0x18(%rsp)
  cmp    %esi,%edx
  jbe    L98
  mov    %ecx,%r15d
  mov    %esi,%r14d
  mov    %rdi,%r13
  mov    %r8,%r12
L140:
  mov    0x18(%rsp),%edx
  mov    %r12,%r8
  mov    %r15d,%ecx
  mov    %r14d,%esi
  mov    %r13,%rdi
  call   <_quicksort_partition@plt>
  mov    %eax,0xc(%rsp)
  cmp    %r14d,%eax
  jbe    L131
L52:
  mov    0xc(%rsp),%edx
  mov    %r12,%r8
  mov    %r15d,%ecx
  mov    %r14d,%esi
  mov    %r13,%rdi
  call   <_quicksort_partition@plt>
  mov    %eax,0x10(%rsp)
  cmp    %r14d,%eax
  jbe    L168
L153:
  mov    0x10(%rsp),%edx
  mov    %r12,%r8
  mov    %r15d,%ecx
  mov    %r14d,%esi
  mov    %r13,%rdi
  call   <_quicksort_partition@plt>
  mov    %eax,0x14(%rsp)
  cmp    %r14d,%eax
  jbe    L123
L162:
  mov    0x14(%rsp),%edx
  mov    %r12,%r8
  mov    %r15d,%ecx
  mov    %r14d,%esi
  mov    %r13,%rdi
  call   <_quicksort_partition@plt>
  mov    %eax,%ebp
  cmp    %r14d,%eax
  jbe    L78
  mov    %r12,%rax
  mov    %ebp,%r12d
  mov    %rax,%rbp
L60:
  mov    %rbp,%r8
  mov    %r15d,%ecx
  mov    %r12d,%edx
  mov    %r14d,%esi
  mov    %r13,%rdi
  call   <_quicksort_partition@plt>
  mov    %eax,%ebx
  cmp    %r14d,%eax
  jbe    L4
  mov    %r12d,0x4(%rsp)
  mov    %eax,%r12d
  mov    %r15d,%eax
  mov    %r13,%r15
  mov    %eax,%r13d
L45:
  mov    %rbp,%r8
  mov    %r13d,%ecx
  mov    %r12d,%edx
  mov    %r14d,%esi
  mov    %r15,%rdi
  call   <_quicksort_partition@plt>
  mov    %eax,(%rsp)
  cmp    %eax,%r14d
  jae    L166
  mov    %r12d,0x8(%rsp)
  mov    %rbp,%r12
L144:
  mov    (%rsp),%edx
  mov    %r12,%r8
  mov    %r13d,%ecx
  mov    %r14d,%esi
  mov    %r15,%rdi
  call   <_quicksort_partition@plt>
  mov    %eax,%ebp
  cmp    %r14d,%eax
  jbe    L113
L171:
  mov    %r12,%r8
  mov    %r13d,%ecx
  mov    %ebp,%edx
  mov    %r14d,%esi
  mov    %r15,%rdi
  call   <_quicksort_partition@plt>
  mov    %eax,%ebx
  cmp    %r14d,%eax
  jbe    L55
  mov    %ebp,%r9d
  mov    %r14d,%ebp
L90:
  mov    %ebp,%esi
  mov    %r12,%r8
  mov    %r13d,%ecx
  mov    %ebx,%edx
  mov    %r15,%rdi
  mov    %r9d,0x1c(%rsp)
  call   <_quicksort_partition@plt>
  mov    %ebp,%esi
  mov    %r12,%r8
  mov    %r13d,%ecx
  mov    %eax,%r14d
  mov    %eax,%edx
  mov    %r15,%rdi
  call   <_quicksort>
  lea    0x1(%r14),%ebp
  mov    0x1c(%rsp),%r9d
  cmp    %ebp,%ebx
  ja     L90
  mov    %r9d,%ebp
L55:
  lea    0x1(%rbx),%r14d
  cmp    %r14d,%ebp
  ja     L171
L113:
  lea    0x1(%rbp),%r14d
  cmp    %r14d,(%rsp)
  ja     L144
  mov    %r12,%rbp
  mov    0x8(%rsp),%r12d
L166:
  mov    (%rsp),%r14d
  add    $0x1,%r14d
  cmp    %r14d,%r12d
  ja     L45
  mov    %r13d,%eax
  mov    %r12d,%ebx
  mov    0x4(%rsp),%r12d
  mov    %r15,%r13
  mov    %eax,%r15d
L4:
  lea    0x1(%rbx),%r14d
  cmp    %r14d,%r12d
  ja     L60
  mov    %rbp,%rax
  mov    %r12d,%ebp
  mov    %rax,%r12
L78:
  lea    0x1(%rbp),%r14d
  cmp    %r14d,0x14(%rsp)
  ja     L162
L123:
  mov    0x14(%rsp),%r14d
  add    $0x1,%r14d
  cmp    %r14d,0x10(%rsp)
  ja     L153
L168:
  mov    0x10(%rsp),%r14d
  add    $0x1,%r14d
  cmp    %r14d,0xc(%rsp)
  ja     L52
L131:
  mov    0xc(%rsp),%r14d
  add    $0x1,%r14d
  cmp    0x18(%rsp),%r14d
  jb     L140
L98:
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
void _quicksort(void *array, unsigned int lo, unsigned int hi, unsigned int el_size, int (*comp)(const void *, const void *)) {
  if (lo >= hi)
    return;
  unsigned int p = _quicksort_partition(array, lo, hi, el_size, comp);
  _quicksort(array, lo, p, el_size, comp);
  _quicksort(array, p + 1, hi, el_size, comp);
}
```