user: Please show me the C implementation that matches the assembly code listed below:

```asm
<quicksort>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x48,%rsp
  mov    %esi,0x24(%rsp)
  mov    %edx,0x38(%rsp)
  cmp    %esi,%edx
  jle    L109
  mov    %rdi,%r14
L39:
  mov    0x24(%rsp),%ebx
  mov    0x38(%rsp),%edx
  mov    %r14,%rdi
  mov    %r14,%r15
  mov    %ebx,%esi
  mov    %ebx,0x20(%rsp)
  call   <partition@plt>
  mov    %eax,0x24(%rsp)
  sub    $0x1,%eax
  mov    %eax,0x2c(%rsp)
  cmp    %ebx,%eax
  jle    L49
L20:
  mov    0x20(%rsp),%ebx
  mov    0x2c(%rsp),%edx
  mov    %r15,%rdi
  mov    %ebx,%esi
  mov    %ebx,0x14(%rsp)
  call   <partition@plt>
  mov    %eax,0x20(%rsp)
  sub    $0x1,%eax
  mov    %eax,0x30(%rsp)
  cmp    %ebx,%eax
  jle    L18
L152:
  mov    0x14(%rsp),%ebx
  mov    0x30(%rsp),%edx
  mov    %r15,%rdi
  mov    %ebx,%esi
  mov    %ebx,0x18(%rsp)
  call   <partition@plt>
  mov    %eax,0x14(%rsp)
  sub    $0x1,%eax
  mov    %eax,0x34(%rsp)
  cmp    %ebx,%eax
  jle    L17
L2:
  mov    0x18(%rsp),%ebx
  mov    0x34(%rsp),%edx
  mov    %r15,%rdi
  mov    %ebx,%esi
  call   <partition@plt>
  mov    %eax,0x18(%rsp)
  lea    -0x1(%rax),%r13d
L80:
  cmp    %ebx,%r13d
  jle    L61
L15:
  mov    %ebx,%esi
  mov    %r13d,%edx
  mov    %r15,%rdi
  mov    %ebx,%r14d
  call   <partition@plt>
  lea    -0x1(%rax),%r12d
  mov    %eax,%ebx
  cmp    %r14d,%r12d
  jle    L80
  mov    %eax,0xc(%rsp)
  mov    %r12d,%ebx
  mov    %r13d,0x8(%rsp)
  mov    %r15,%r13
L23:
  mov    %r14d,%esi
  mov    %ebx,%edx
  mov    %r13,%rdi
  mov    %r14d,%ebp
  call   <partition@plt>
  mov    %eax,%r14d
  lea    -0x1(%rax),%eax
  mov    %eax,0x1c(%rsp)
  cmp    %ebp,%eax
  jle    L83
  mov    %ebx,0x10(%rsp)
  mov    %r13,%rbx
L132:
  mov    0x1c(%rsp),%edx
  mov    %ebp,%esi
  mov    %rbx,%rdi
  mov    %ebp,%r12d
  call   <partition@plt>
  lea    -0x1(%rax),%r13d
  mov    %eax,%ebp
  cmp    %r12d,%r13d
  jle    L24
  mov    %eax,0x28(%rsp)
  mov    %rbx,%rbp
  mov    %r13d,%ebx
L155:
  mov    %r12d,%esi
  mov    %ebx,%edx
  mov    %rbp,%rdi
  mov    %r12d,%r15d
  call   <partition@plt>
  lea    -0x1(%rax),%r13d
  mov    %eax,%r12d
  cmp    %r15d,%r13d
  jle    L30
  mov    %r14d,%ecx
  mov    %ebx,%r12d
  mov    %eax,%r14d
  mov    %r13d,%ebx
L107:
  mov    %r15d,%esi
  mov    %ebx,%edx
  mov    %rbp,%rdi
  mov    %ecx,0x3c(%rsp)
  call   <partition@plt>
  mov    %r15d,%r13d
  mov    %rbp,%rdi
  mov    %eax,%r15d
  lea    -0x1(%rax),%edx
  mov    %r13d,%esi
  call   <quicksort>
  cmp    %r15d,%ebx
  mov    0x3c(%rsp),%ecx
  jg     L107
  mov    %r12d,%ebx
  mov    %r14d,%r12d
  mov    %ecx,%r14d
L30:
  cmp    %r12d,%ebx
  jg     L155
  mov    %rbp,%rbx
  mov    0x28(%rsp),%ebp
L24:
  cmp    %ebp,0x1c(%rsp)
  jg     L132
  mov    %rbx,%r13
  mov    0x10(%rsp),%ebx
L83:
  cmp    %r14d,%ebx
  jg     L23
  mov    %r13,%r15
  mov    0xc(%rsp),%ebx
  mov    0x8(%rsp),%r13d
  cmp    %ebx,%r13d
  jg     L15
L61:
  mov    0x18(%rsp),%ecx
  cmp    %ecx,0x34(%rsp)
  jg     L2
L17:
  mov    0x14(%rsp),%ecx
  cmp    %ecx,0x30(%rsp)
  jg     L152
L18:
  mov    0x20(%rsp),%ecx
  cmp    %ecx,0x2c(%rsp)
  jg     L20
  mov    %r15,%r14
L49:
  mov    0x24(%rsp),%ecx
  cmp    %ecx,0x38(%rsp)
  jg     L39
L109:
  add    $0x48,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
void quicksort(uint32_t a[], int begin, int end) {
  int m;
  if (begin < end) {
    m = partition(a, begin, end);
    quicksort(a, begin, m - 1);
    quicksort(a, m, end);
  }
}
```