user: Translate the below assembly code into C programming language:

```asm
<quicksort>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x78,%rsp
  mov    %rdx,0x38(%rsp)
  cmp    $0xffffffffffffffff,%rdx
  je     L130
  cmp    %rsi,%rdx
  jbe    L130
  mov    %rdi,%r15
  mov    %rsi,%r13
L133:
  mov    0x38(%rsp),%rdx
  mov    %r13,%rsi
  mov    %r15,%rdi
  call   <partition@plt>
  lea    -0x1(%rax),%rcx
  mov    %rax,0x40(%rsp)
  mov    %rcx,0x20(%rsp)
  test   %rax,%rax
  je     L52
  cmp    %r13,%rcx
  jbe    L52
  mov    %r13,%r14
  mov    %r15,%r13
L196:
  mov    0x20(%rsp),%rdx
  mov    %r14,%rsi
  mov    %r13,%rdi
  call   <partition@plt>
  lea    -0x1(%rax),%rcx
  mov    %rax,0x48(%rsp)
  mov    %rcx,0x28(%rsp)
  test   %rax,%rax
  je     L195
  cmp    %r14,%rcx
  jbe    L195
  mov    %r14,%rax
  mov    %r13,%r14
  mov    %rax,%r13
L201:
  mov    0x28(%rsp),%rdx
  mov    %r13,%rsi
  mov    %r14,%rdi
  call   <partition@plt>
  lea    -0x1(%rax),%rcx
  mov    %rax,0x50(%rsp)
  mov    %rcx,0x30(%rsp)
  test   %rax,%rax
  je     L38
  cmp    %r13,%rcx
  jbe    L38
L66:
  mov    0x30(%rsp),%rdx
  mov    %r13,%rsi
  mov    %r14,%rdi
  call   <partition@plt>
  mov    %rax,0x58(%rsp)
  lea    -0x1(%rax),%r12
  test   %rax,%rax
  je     L224
  cmp    %r13,%r12
  jbe    L224
L164:
  mov    %r12,%rdx
  mov    %r13,%rsi
  mov    %r14,%rdi
  call   <partition@plt>
  lea    -0x1(%rax),%rbx
  mov    %rax,%rbp
  cmp    %r13,%rbx
  jbe    L25
  cmp    $0xffffffffffffffff,%rbx
  je     L25
  mov    %r12,(%rsp)
  mov    %r13,%r15
  mov    %rbx,%rbp
  mov    %r14,%r13
  mov    %rax,%r14
L10:
  mov    %rbp,%rdx
  mov    %r15,%rsi
  mov    %r13,%rdi
  call   <partition@plt>
  lea    -0x1(%rax),%rbx
  mov    %rax,0x10(%rsp)
  cmp    %r15,%rbx
  jbe    L80
  cmp    $0xffffffffffffffff,%rbx
  je     L80
  mov    %rbp,0x8(%rsp)
  mov    %rbx,%rbp
  mov    %r13,%rbx
L249:
  mov    %rbp,%rdx
  mov    %r15,%rsi
  mov    %rbx,%rdi
  call   <partition@plt>
  lea    -0x1(%rax),%r13
  mov    %rax,0x60(%rsp)
  cmp    %r15,%r13
  jbe    L28
  cmp    $0xffffffffffffffff,%r13
  je     L28
  mov    %rbp,0x18(%rsp)
  mov    %rbx,%rbp
  mov    %r13,%rbx
L61:
  mov    %rbx,%rdx
  mov    %r15,%rsi
  mov    %rbp,%rdi
  call   <partition@plt>
  lea    -0x1(%rax),%r13
  mov    %rax,%r12
  cmp    %r15,%r13
  jbe    L152
  cmp    $0xffffffffffffffff,%r13
  je     L152
  mov    %rbx,%r12
  mov    %rax,%rcx
  mov    %r13,%rbx
L189:
  mov    %r15,%rsi
  mov    %rbx,%rdx
  mov    %rbp,%rdi
  mov    %rcx,0x68(%rsp)
  call   <partition@plt>
  mov    %r15,%rsi
  mov    %rbp,%rdi
  mov    %rax,%r13
  lea    -0x1(%rax),%rdx
  call   <quicksort>
  lea    0x1(%r13),%r15
  mov    0x68(%rsp),%rcx
  cmp    %r15,%rbx
  ja     L189
  mov    %r12,%rbx
  mov    %rcx,%r12
L152:
  lea    0x1(%r12),%r15
  cmp    %r15,%rbx
  ja     L61
  mov    %rbp,%rbx
  mov    0x18(%rsp),%rbp
L28:
  mov    0x60(%rsp),%r15
  add    $0x1,%r15
  cmp    %r15,%rbp
  ja     L249
  mov    0x8(%rsp),%rbp
  mov    %rbx,%r13
L80:
  mov    0x10(%rsp),%r15
  add    $0x1,%r15
  cmp    %r15,%rbp
  ja     L10
  mov    (%rsp),%r12
  mov    %r14,%rbp
  mov    %r13,%r14
L25:
  lea    0x1(%rbp),%r13
  cmp    %r13,%r12
  ja     L164
L224:
  mov    0x58(%rsp),%r13
  add    $0x1,%r13
  cmp    %r13,0x30(%rsp)
  ja     L66
L38:
  mov    0x50(%rsp),%r13
  add    $0x1,%r13
  cmp    %r13,0x28(%rsp)
  ja     L201
  mov    %r14,%r13
L195:
  mov    0x48(%rsp),%r14
  add    $0x1,%r14
  cmp    %r14,0x20(%rsp)
  ja     L196
  mov    %r13,%r15
L52:
  mov    0x40(%rsp),%r13
  add    $0x1,%r13
  cmp    0x38(%rsp),%r13
  jb     L133
L130:
  add    $0x78,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
void quicksort(int a[], size_t p, size_t r) {
  if (p < r && ~r) {
    size_t q = partition(a, p, r);
    quicksort(a, p, q - 1);
    quicksort(a, q + 1, r);
  }
}
```