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

```asm
<qsort>:
  endbr64
  push   %r15
  mov    %rdi,%r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x48,%rsp
  mov    %esi,0x24(%rsp)
  mov    0x24(%rsp),%ebx
  mov    %edx,0x38(%rsp)
  mov    0x38(%rsp),%edx
  cmp    %edx,%ebx
  jge    L207
L131:
  mov    %ebx,%esi
  mov    %r15,%rdi
  call   <partition@plt>
  mov    %eax,0x34(%rsp)
  sub    $0x1,%eax
  mov    %eax,0x30(%rsp)
  cmp    %ebx,%eax
  jg     L199
L234:
  mov    0x34(%rsp),%ecx
  cmp    %ecx,0x38(%rsp)
  jle    L207
  mov    0x34(%rsp),%eax
  mov    0x38(%rsp),%edx
  mov    %eax,0x24(%rsp)
  mov    0x24(%rsp),%ebx
  cmp    %edx,%ebx
  jl     L131
L207:
  add    $0x48,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nop
L199:
  mov    0x24(%rsp),%ebx
  mov    0x30(%rsp),%edx
  mov    %r15,%rdi
  mov    %ebx,%esi
  mov    %ebx,0x20(%rsp)
  call   <partition@plt>
  mov    %eax,0x24(%rsp)
  sub    $0x1,%eax
  mov    %eax,0x28(%rsp)
  cmp    %ebx,%eax
  jg     L175
L194:
  mov    0x24(%rsp),%ecx
  cmp    %ecx,0x30(%rsp)
  jg     L199
  jmp    L234
  nopl   0x0(%rax)
L24:
  mov    0x20(%rsp),%ecx
  cmp    %ecx,0x28(%rsp)
  jle    L194
L175:
  mov    0x20(%rsp),%ebx
  mov    0x28(%rsp),%edx
  mov    %r15,%rdi
  mov    %ebx,%esi
  mov    %ebx,0x18(%rsp)
  call   <partition@plt>
  mov    %eax,0x20(%rsp)
  sub    $0x1,%eax
  mov    %eax,0x1c(%rsp)
  cmp    %ebx,%eax
  jle    L24
  jmp    L236
  nopl   0x0(%rax)
L195:
  mov    0x18(%rsp),%ecx
  cmp    %ecx,0x1c(%rsp)
  jle    L24
L236:
  mov    0x18(%rsp),%ebx
  mov    0x1c(%rsp),%edx
  mov    %r15,%rdi
  mov    %ebx,%esi
  mov    %ebx,0x10(%rsp)
  call   <partition@plt>
  mov    %eax,0x18(%rsp)
  sub    $0x1,%eax
  mov    %eax,0x14(%rsp)
  cmp    %ebx,%eax
  jle    L195
  jmp    L278
  nopl   0x0(%rax)
L192:
  mov    0x10(%rsp),%ecx
  cmp    %ecx,0x14(%rsp)
  jle    L195
L278:
  mov    0x10(%rsp),%ebp
  mov    0x14(%rsp),%edx
  mov    %r15,%rdi
  mov    %ebp,%esi
  call   <partition@plt>
  mov    %eax,0x10(%rsp)
  sub    $0x1,%eax
  mov    %eax,0xc(%rsp)
  cmp    %ebp,%eax
  jle    L192
  mov    %ebp,0x8(%rsp)
  jmp    L55
  nopl   0x0(%rax)
L92:
  mov    0x8(%rsp),%ecx
  cmp    %ecx,0xc(%rsp)
  jle    L192
L55:
  mov    0x8(%rsp),%ebx
  mov    0xc(%rsp),%edx
  mov    %r15,%rdi
  mov    %ebx,%esi
  call   <partition@plt>
  mov    %eax,0x8(%rsp)
  sub    $0x1,%eax
  mov    %eax,0x4(%rsp)
  cmp    %ebx,%eax
  jle    L92
  jmp    L62
  nopl   (%rax)
L37:
  mov    0x2c(%rsp),%ebx
  nopl   0x0(%rax)
L63:
  cmp    %ebx,0x4(%rsp)
  jle    L92
L62:
  mov    0x4(%rsp),%edx
  mov    %ebx,%esi
  mov    %r15,%rdi
  mov    %ebx,%r14d
  call   <partition@plt>
  lea    -0x1(%rax),%r12d
  mov    %eax,%ebx
  cmp    %r14d,%r12d
  jle    L63
  mov    %eax,0x2c(%rsp)
  jmp    L122
L3:
  cmp    %r14d,%r12d
  jle    L37
L122:
  mov    %r14d,%esi
  mov    %r12d,%edx
  mov    %r15,%rdi
  mov    %r14d,%ebp
  call   <partition@plt>
  lea    -0x1(%rax),%r13d
  mov    %eax,%r14d
  cmp    %ebp,%r13d
  jle    L3
  mov    %r13d,%ebx
  mov    %ebp,%eax
  jmp    L169
  nopl   0x0(%rax)
L188:
  cmp    %eax,%ebx
  jle    L3
L169:
  mov    %ebx,%edx
  mov    %eax,%esi
  mov    %r15,%rdi
  mov    %eax,%r13d
  call   <partition@plt>
  lea    -0x1(%rax),%edx
  cmp    %r13d,%edx
  jle    L188
  mov    %r13d,%esi
  mov    %r15,%rdi
  mov    %eax,0x3c(%rsp)
  call   <qsort>
  mov    0x3c(%rsp),%eax
  jmp    L188
```

assistant: ```c
void qsort(char a[], int l, int r) {
  int m;
  if (l < r) {
    m = partition(a, l, r);
    if (l < m - 1)
      qsort(a, l, m - 1);
    if (m < r)
      qsort(a, m, r);
  }
}
```