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

```asm
<generic_mcpy_qsort_recurse>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x78,%rsp
  mov    %rdx,0x40(%rsp)
  cmp    $0xffffffffffffffff,%rdx
  je     L8
  cmp    %rsi,%rdx
  jbe    L8
  mov    %rcx,%rbx
  mov    %rdi,%r15
  mov    %r8,%r14
  mov    %rsi,%rbp
L193:
  mov    0x40(%rsp),%rdx
  mov    %rbx,%rcx
  mov    %r14,%r8
  mov    %rbp,%rsi
  mov    %r15,%rdi
  call   <generic_mcpy_partition@plt>
  mov    %eax,0x4c(%rsp)
  sub    $0x1,%eax
  movslq %eax,%rcx
  mov    %rcx,0x28(%rsp)
  cmp    $0xffffffff,%eax
  je     L248
  cmp    %rbp,%rcx
  jbe    L248
  mov    %r14,%rax
  mov    %rbp,%r12
  mov    %r15,%r14
  mov    %rax,%r15
L127:
  mov    0x28(%rsp),%rdx
  mov    %r12,%rsi
  mov    %r15,%r8
  mov    %rbx,%rcx
  mov    %r14,%rdi
  call   <generic_mcpy_partition@plt>
  mov    %eax,0x50(%rsp)
  sub    $0x1,%eax
  movslq %eax,%rsi
  mov    %rsi,0x30(%rsp)
  cmp    $0xffffffff,%eax
  je     L232
  cmp    %r12,%rsi
  jbe    L232
  mov    %r12,%rbp
  mov    %r14,%r13
  mov    %r15,%r12
L140:
  mov    0x30(%rsp),%rdx
  mov    %r13,%rdi
  mov    %r12,%r8
  mov    %rbx,%rcx
  mov    %rbp,%rsi
  call   <generic_mcpy_partition@plt>
  mov    %eax,0x54(%rsp)
  sub    $0x1,%eax
  movslq %eax,%rdi
  mov    %rdi,0x38(%rsp)
  cmp    $0xffffffff,%eax
  je     L181
  cmp    %rbp,%rdi
  jbe    L181
  mov    %rbp,%r14
  mov    %r13,%r15
  mov    %rbx,%rbp
L73:
  mov    0x38(%rsp),%rdx
  mov    %r12,%r8
  mov    %rbp,%rcx
  mov    %r14,%rsi
  mov    %r15,%rdi
  call   <generic_mcpy_partition@plt>
  mov    %eax,0x58(%rsp)
  sub    $0x1,%eax
  movslq %eax,%r13
  cmp    $0xffffffff,%eax
  je     L141
  cmp    %r14,%r13
  jbe    L141
  mov    %r14,%rbx
  mov    %r12,%r14
  mov    %rbp,%r12
L174:
  mov    %r14,%r8
  mov    %r12,%rcx
  mov    %r13,%rdx
  mov    %rbx,%rsi
  mov    %r15,%rdi
  call   <generic_mcpy_partition@plt>
  lea    -0x1(%rax),%ebp
  mov    %eax,0xc(%rsp)
  movslq %ebp,%rbp
  cmp    %rbx,%rbp
  jbe    L217
  cmp    $0xffffffffffffffff,%rbp
  je     L217
  mov    %r13,0x18(%rsp)
  mov    %rbx,%r13
  mov    %rbp,0x10(%rsp)
  mov    %r12,%rbp
  mov    %r14,%r12
L27:
  mov    0x10(%rsp),%rdx
  mov    %r12,%r8
  mov    %rbp,%rcx
  mov    %r13,%rsi
  mov    %r15,%rdi
  call   <generic_mcpy_partition@plt>
  mov    %eax,0x48(%rsp)
  sub    $0x1,%eax
  cltq
  mov    %rax,0x20(%rsp)
  cmp    %r13,%rax
  jbe    L9
  cmp    $0xffffffffffffffff,%rax
  je     L9
  mov    %r12,%r8
L92:
  mov    0x20(%rsp),%rdx
  mov    %rbp,%rcx
  mov    %r13,%rsi
  mov    %r15,%rdi
  mov    %r8,0x60(%rsp)
  call   <generic_mcpy_partition@plt>
  mov    0x60(%rsp),%r8
  lea    -0x1(%rax),%r12d
  mov    %eax,0x5c(%rsp)
  movslq %r12d,%r12
  cmp    %r13,%r12
  jbe    L162
  cmp    $0xffffffffffffffff,%r12
  je     L162
  mov    %r8,%r14
L251:
  mov    %r14,%r8
  mov    %rbp,%rcx
  mov    %r12,%rdx
  mov    %r13,%rsi
  mov    %r15,%rdi
  call   <generic_mcpy_partition@plt>
  mov    %eax,%ebx
  lea    -0x1(%rax),%eax
  movslq %eax,%r9
  cmp    %r13,%r9
  jbe    L112
  cmp    $0xffffffffffffffff,%r9
  je     L112
  mov    %r14,%r8
  mov    %ebx,%r14d
  mov    %rbp,%rbx
  mov    %r13,%rbp
L85:
  mov    %r9,%rdx
  mov    %rbp,%rsi
  mov    %rbx,%rcx
  mov    %r15,%rdi
  mov    %r9,0x68(%rsp)
  mov    %r8,0x60(%rsp)
  call   <generic_mcpy_partition@plt>
  mov    0x60(%rsp),%r8
  mov    %rbp,%rsi
  mov    %rbx,%rcx
  lea    -0x1(%rax),%edx
  mov    %eax,%r13d
  mov    %r15,%rdi
  movslq %edx,%rdx
  add    $0x1,%r13d
  call   <generic_mcpy_qsort_recurse>
  mov    0x68(%rsp),%r9
  movslq %r13d,%rbp
  mov    0x60(%rsp),%r8
  cmp    %rbp,%r9
  ja     L85
  mov    %rbx,%rbp
  mov    %r14d,%ebx
  mov    %r8,%r14
L112:
  add    $0x1,%ebx
  movslq %ebx,%r13
  cmp    %r13,%r12
  ja     L251
  mov    %r14,%r8
L162:
  mov    0x5c(%rsp),%eax
  add    $0x1,%eax
  movslq %eax,%r13
  cmp    %r13,0x20(%rsp)
  ja     L92
  mov    %r8,%r12
L9:
  mov    0x48(%rsp),%eax
  add    $0x1,%eax
  movslq %eax,%r13
  cmp    %r13,0x10(%rsp)
  ja     L27
  mov    0x18(%rsp),%r13
  mov    %r12,%r14
  mov    %rbp,%r12
L217:
  mov    0xc(%rsp),%eax
  add    $0x1,%eax
  movslq %eax,%rbx
  cmp    %rbx,%r13
  ja     L174
  mov    %r12,%rbp
  mov    %r14,%r12
L141:
  mov    0x58(%rsp),%eax
  add    $0x1,%eax
  movslq %eax,%r14
  cmp    %r14,0x38(%rsp)
  ja     L73
  mov    %r15,%r13
  mov    %rbp,%rbx
L181:
  mov    0x54(%rsp),%eax
  add    $0x1,%eax
  movslq %eax,%rbp
  cmp    %rbp,0x30(%rsp)
  ja     L140
  mov    %r13,%r14
  mov    %r12,%r15
L232:
  mov    0x50(%rsp),%eax
  add    $0x1,%eax
  movslq %eax,%r12
  cmp    %r12,0x28(%rsp)
  ja     L127
  mov    %r15,%rax
  mov    %r14,%r15
  mov    %rax,%r14
L248:
  mov    0x4c(%rsp),%eax
  add    $0x1,%eax
  movslq %eax,%rbp
  cmp    0x40(%rsp),%rbp
  jb     L193
L8:
  add    $0x78,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
void generic_mcpy_qsort_recurse(void *a, size_t p, size_t r, size_t size, int (*compare)(const void *, const void *)) {
  if (p < r && ~r) {
    int q = generic_mcpy_partition(a, p, r, size, compare);
    generic_mcpy_qsort_recurse(a, p, q - 1, size, compare);
    generic_mcpy_qsort_recurse(a, q + 1, r, size, compare);
  }
}
```