user: 这段汇编代码用C语言表示是什么样的：

```asm
<quickSort>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x48,%rsp
  mov    %edx,0x24(%rsp)
  cmp    %esi,%edx
  jle    L123
  mov    %rdi,%r15
  mov    %esi,%r14d
L173:
  mov    0x24(%rsp),%ebx
  mov    %r14d,%esi
  mov    %r15,%rdi
  mov    %ebx,%edx
  call   <median@plt>
  mov    %ebx,%edx
  mov    %r15,%rdi
  mov    %eax,%esi
  call   <swap@plt>
  mov    %ebx,%edx
  mov    %r14d,%esi
  mov    %r15,%rdi
  call   <partition@plt>
  mov    %eax,0x28(%rsp)
  sub    $0x1,%eax
  mov    %eax,0x18(%rsp)
  cmp    %r14d,%eax
  jle    L97
  mov    %r14d,%eax
  mov    %r15,%r14
  mov    %eax,%r15d
L151:
  mov    0x18(%rsp),%ebx
  mov    %r15d,%esi
  mov    %r14,%rdi
  mov    %ebx,%edx
  call   <median@plt>
  mov    %ebx,%edx
  mov    %r14,%rdi
  mov    %eax,%esi
  call   <swap@plt>
  mov    %ebx,%edx
  mov    %r15d,%esi
  mov    %r14,%rdi
  call   <partition@plt>
  mov    %eax,0x2c(%rsp)
  sub    $0x1,%eax
  mov    %eax,0x1c(%rsp)
  cmp    %r15d,%eax
  jle    L155
L41:
  mov    0x1c(%rsp),%ebx
  mov    %r15d,%esi
  mov    %r14,%rdi
  mov    %ebx,%edx
  call   <median@plt>
  mov    %ebx,%edx
  mov    %r14,%rdi
  mov    %eax,%esi
  call   <swap@plt>
  mov    %ebx,%edx
  mov    %r15d,%esi
  mov    %r14,%rdi
  call   <partition@plt>
  mov    %eax,0x30(%rsp)
  sub    $0x1,%eax
  mov    %eax,0x20(%rsp)
  cmp    %r15d,%eax
  jle    L54
  mov    %r15d,%r13d
  mov    %r14,%r15
L119:
  mov    0x20(%rsp),%ebx
  mov    %r13d,%esi
  mov    %r15,%rdi
  mov    %ebx,%edx
  call   <median@plt>
  mov    %ebx,%edx
  mov    %r15,%rdi
  mov    %eax,%esi
  call   <swap@plt>
  mov    %ebx,%edx
  mov    %r13d,%esi
  mov    %r15,%rdi
  call   <partition@plt>
  lea    -0x1(%rax),%r14d
  mov    %eax,0x34(%rsp)
  cmp    %r13d,%r14d
  jle    L32
L37:
  mov    %r14d,%edx
  mov    %r13d,%esi
  mov    %r15,%rdi
  call   <median@plt>
  mov    %r14d,%edx
  mov    %r15,%rdi
  mov    %eax,%esi
  call   <swap@plt>
  mov    %r14d,%edx
  mov    %r13d,%esi
  mov    %r15,%rdi
  call   <partition@plt>
  lea    -0x1(%rax),%r12d
  mov    %eax,%ebp
  cmp    %r13d,%r12d
  jle    L77
  mov    %eax,0x8(%rsp)
L102:
  mov    %r12d,%edx
  mov    %r13d,%esi
  mov    %r15,%rdi
  call   <median@plt>
  mov    %r12d,%edx
  mov    %r15,%rdi
  mov    %eax,%esi
  call   <swap@plt>
  mov    %r12d,%edx
  mov    %r13d,%esi
  mov    %r15,%rdi
  call   <partition@plt>
  lea    -0x1(%rax),%ebp
  mov    %eax,0xc(%rsp)
  cmp    %r13d,%ebp
  jle    L67
  mov    %r13d,%eax
  mov    %ebp,%r13d
  mov    %eax,%ebp
L81:
  mov    %r13d,%edx
  mov    %ebp,%esi
  mov    %r15,%rdi
  call   <median@plt>
  mov    %r13d,%edx
  mov    %r15,%rdi
  mov    %eax,%esi
  call   <swap@plt>
  mov    %r13d,%edx
  mov    %ebp,%esi
  mov    %r15,%rdi
  call   <partition@plt>
  lea    -0x1(%rax),%ebx
  mov    %eax,0x38(%rsp)
  cmp    %ebp,%ebx
  jle    L100
  mov    %r13d,0x14(%rsp)
  mov    %r12d,0x10(%rsp)
  mov    %ebx,%r12d
L17:
  mov    %r12d,%edx
  mov    %ebp,%esi
  mov    %r15,%rdi
  call   <median@plt>
  mov    %r12d,%edx
  mov    %r15,%rdi
  mov    %eax,%esi
  call   <swap@plt>
  mov    %r12d,%edx
  mov    %ebp,%esi
  mov    %r15,%rdi
  call   <partition@plt>
  lea    -0x1(%rax),%r13d
  mov    %eax,%ebx
  cmp    %ebp,%r13d
  jle    L96
  mov    %eax,%ecx
  mov    %r13d,%ebx
L0:
  mov    %ebp,%esi
  mov    %ebx,%edx
  mov    %r15,%rdi
  mov    %ecx,0x3c(%rsp)
  call   <median@plt>
  mov    %ebx,%edx
  mov    %r15,%rdi
  mov    %eax,%esi
  call   <swap@plt>
  mov    %ebp,%esi
  mov    %ebx,%edx
  mov    %r15,%rdi
  call   <partition@plt>
  mov    %ebp,%esi
  mov    %r15,%rdi
  mov    %eax,%r13d
  lea    -0x1(%rax),%edx
  call   <quickSort>
  lea    0x1(%r13),%ebp
  mov    0x3c(%rsp),%ecx
  cmp    %ebp,%ebx
  jg     L0
  mov    %ecx,%ebx
L96:
  lea    0x1(%rbx),%ebp
  cmp    %ebp,%r12d
  jg     L17
  mov    0x10(%rsp),%r12d
  mov    0x14(%rsp),%r13d
L100:
  mov    0x38(%rsp),%ebp
  add    $0x1,%ebp
  cmp    %ebp,%r13d
  jg     L81
L67:
  mov    0xc(%rsp),%r13d
  add    $0x1,%r13d
  cmp    %r13d,%r12d
  jg     L102
  mov    0x8(%rsp),%ebp
L77:
  lea    0x1(%rbp),%r13d
  cmp    %r13d,%r14d
  jg     L37
L32:
  mov    0x34(%rsp),%r13d
  add    $0x1,%r13d
  cmp    %r13d,0x20(%rsp)
  jg     L119
  mov    %r15,%r14
L54:
  mov    0x30(%rsp),%r15d
  add    $0x1,%r15d
  cmp    %r15d,0x1c(%rsp)
  jg     L41
L155:
  mov    0x2c(%rsp),%r15d
  add    $0x1,%r15d
  cmp    %r15d,0x18(%rsp)
  jg     L151
  mov    %r14,%r15
L97:
  mov    0x28(%rsp),%r14d
  add    $0x1,%r14d
  cmp    0x24(%rsp),%r14d
  jl     L173
L123:
  add    $0x48,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
void quickSort(int *array, int start, int end) {
  if (start < end) {
    int medianIndex = median(array, start, end);
    swap(array, medianIndex, end);
    int mid = partition(array, start, end);
    quickSort(array, start, mid - 1);
    quickSort(array, mid + 1, end);
  }
}
```