user: What would the C source look like for the assembly code provided here:

```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    L28
  mov    %rdi,%r15
  mov    %esi,%ebp
L322:
  mov    0x24(%rsp),%ebx
  mov    %ebp,%esi
  mov    %r15,%rdi
  lea    0x1(%rbp),%r14d
  mov    %ebx,%edx
  call   <partition@plt>
  mov    %eax,0x28(%rsp)
  cmp    %ebx,%r14d
  je     L28
  sub    $0x1,%eax
  mov    %eax,0x10(%rsp)
  cmp    %ebp,%eax
  jle    L199
  mov    %r14d,%r12d
  mov    %r15,%r14
L222:
  mov    0x10(%rsp),%ebx
  mov    %ebp,%esi
  mov    %r14,%rdi
  mov    %ebx,%edx
  call   <partition@plt>
  mov    %eax,0x2c(%rsp)
  cmp    %r12d,%ebx
  je     L341
  sub    $0x1,%eax
  mov    %eax,0x14(%rsp)
  cmp    %ebp,%eax
  jle    L150
  mov    %r12d,%r13d
  mov    %r14,%r12
L6:
  mov    0x14(%rsp),%ebx
  mov    %ebp,%esi
  mov    %r12,%rdi
  mov    %ebx,%edx
  call   <partition@plt>
  mov    %eax,0x30(%rsp)
  cmp    %r13d,%ebx
  je     L324
  sub    $0x1,%eax
  mov    %eax,0x18(%rsp)
  cmp    %ebp,%eax
  jle    L277
  mov    %r13d,%eax
  mov    %r12,%r13
  mov    %eax,%r12d
L175:
  mov    0x18(%rsp),%ebx
  mov    %ebp,%esi
  mov    %r13,%rdi
  mov    %ebx,%edx
  call   <partition@plt>
  mov    %eax,0x34(%rsp)
  cmp    %r12d,%ebx
  je     L235
  sub    $0x1,%eax
  mov    %eax,0x1c(%rsp)
  cmp    %ebp,%eax
  jle    L276
  mov    %r12d,%r14d
  mov    %ebp,%r12d
L31:
  mov    0x1c(%rsp),%ebx
  mov    %r12d,%esi
  mov    %r13,%rdi
  mov    %ebx,%edx
  call   <partition@plt>
  mov    %eax,0x38(%rsp)
  cmp    %r14d,%ebx
  je     L276
  sub    $0x1,%eax
  mov    %eax,0x4(%rsp)
  cmp    %r12d,%eax
  jle    L272
  mov    %r14d,%ebp
  mov    %r12d,%r14d
L22:
  mov    0x4(%rsp),%ebx
  mov    %r14d,%esi
  mov    %r13,%rdi
  mov    %ebx,%edx
  call   <partition@plt>
  mov    %eax,0x20(%rsp)
  cmp    %ebp,%ebx
  je     L272
  lea    -0x1(%rax),%r15d
  cmp    %r14d,%r15d
  jle    L167
  mov    %r15d,0x8(%rsp)
  mov    %ebp,%r15d
L26:
  mov    0x8(%rsp),%ebx
  mov    %r14d,%esi
  mov    %r13,%rdi
  mov    %ebx,%edx
  call   <partition@plt>
  mov    %eax,%r12d
  cmp    %r15d,%ebx
  je     L167
  lea    -0x1(%rax),%ebp
  cmp    %r14d,%ebp
  jle    L156
  mov    %r15d,%r8d
  mov    %ebp,%r15d
  mov    %r13,%rbp
L86:
  mov    %r15d,%edx
  mov    %r14d,%esi
  mov    %rbp,%rdi
  mov    %r8d,0xc(%rsp)
  call   <partition@plt>
  mov    0xc(%rsp),%r8d
  mov    %eax,0x3c(%rsp)
  cmp    %r8d,%r15d
  je     L36
  lea    -0x1(%rax),%r13d
  cmp    %r14d,%r13d
  jle    L336
L310:
  mov    %r13d,%edx
  mov    %r14d,%esi
  mov    %rbp,%rdi
  mov    %r8d,0xc(%rsp)
  call   <partition@plt>
  mov    0xc(%rsp),%r8d
  mov    %eax,%ebx
  cmp    %r8d,%r13d
  je     L336
  mov    %r14d,%esi
  lea    -0x1(%rax),%edx
  lea    0x1(%rbx),%r14d
  mov    %rbp,%rdi
  call   <QuickSort>
  cmp    %r14d,%r13d
  jle    L336
  lea    0x2(%rbx),%r8d
  jmp    L310
  nopl   0x0(%rax,%rax,1)
L167:
  mov    0x20(%rsp),%eax
  lea    0x1(%rax),%r14d
  cmp    %r14d,0x4(%rsp)
  jle    L272
  lea    0x2(%rax),%ebp
  jmp    L22
  nopw   0x0(%rax,%rax,1)
L36:
  mov    %rbp,%r13
L156:
  lea    0x1(%r12),%r14d
  cmp    %r14d,0x8(%rsp)
  jle    L167
  lea    0x2(%r12),%r15d
  jmp    L26
L276:
  mov    0x34(%rsp),%eax
  lea    0x1(%rax),%ebp
  cmp    %ebp,0x18(%rsp)
  jle    L235
  lea    0x2(%rax),%r12d
  jmp    L175
L272:
  mov    0x38(%rsp),%eax
  lea    0x1(%rax),%r12d
  cmp    %r12d,0x1c(%rsp)
  jle    L276
  lea    0x2(%rax),%r14d
  jmp    L31
  nopw   0x0(%rax,%rax,1)
L336:
  mov    0x3c(%rsp),%eax
  lea    0x1(%rax),%r14d
  cmp    %r14d,%r15d
  jle    L36
  lea    0x2(%rax),%r8d
  jmp    L86
L235:
  mov    %r13,%r12
L277:
  mov    0x30(%rsp),%eax
  lea    0x1(%rax),%ebp
  cmp    %ebp,0x14(%rsp)
  jle    L324
  lea    0x2(%rax),%r13d
  jmp    L6
L324:
  mov    %r12,%r14
L150:
  mov    0x2c(%rsp),%eax
  lea    0x1(%rax),%ebp
  cmp    %ebp,0x10(%rsp)
  jle    L341
  lea    0x2(%rax),%r12d
  jmp    L222
L341:
  mov    %r14,%r15
L199:
  mov    0x28(%rsp),%ebp
  add    $0x1,%ebp
  cmp    0x24(%rsp),%ebp
  jl     L322
L28:
  add    $0x48,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
void QuickSort(int *list, int lower, int upper) {
  if (lower >= upper)
    return;
  int pivot = partition(list, lower, upper);
  if (upper != lower + 1) {
    QuickSort(list, lower, pivot - 1);
    QuickSort(list, pivot + 1, upper);
  }
}
```