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

```asm
<pthread_qsort_split>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  mov    %r9,%r14
  push   %r13
  push   %r12
  mov    %rsi,%r12
  push   %rbx
  mov    %rdx,%rbx
  sub    $0x48,%rsp
  mov    %rcx,-0x48(%rbp)
  mov    %rdi,-0x50(%rbp)
  mov    %rsp,%rcx
  mov    %r8,-0x60(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  lea    0x17(%rsi),%rax
  mov    %rax,%rdx
  and    $0xfffffffffffff000,%rax
  sub    %rax,%rcx
  and    $0xfffffffffffffff0,%rdx
  cmp    %rcx,%rsp
  je     L57
L56:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L56
L57:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  jne    L82
L20:
  mov    -0x48(%rbp),%rax
  mov    %r12,%r9
  mov    -0x50(%rbp),%rcx
  lea    0xf(%rsp),%r15
  imul   %rbx,%r9
  and    $0xfffffffffffffff0,%r15
  add    %rbx,%rax
  shr    %rax
  mov    %rax,-0x68(%rbp)
  imul   %r12,%rax
  add    %rcx,%r9
  mov    %r9,-0x58(%rbp)
  mov    %r9,%rsi
  lea    (%rax,%rcx,1),%r13
  mov    %r13,%rdi
  call   *%r14
  mov    -0x58(%rbp),%r9
  test   %eax,%eax
  jns    L6
  mov    -0x68(%rbp),%rdx
  mov    -0x50(%rbp),%rdi
  mov    %rbx,%rcx
  mov    %r12,%rsi
  call   <pthread_qsort_swap@plt>
  mov    -0x58(%rbp),%r9
L6:
  mov    -0x48(%rbp),%r8
  mov    %r9,%rsi
  imul   %r12,%r8
  add    -0x50(%rbp),%r8
  mov    %r8,-0x58(%rbp)
  mov    %r8,%rdi
  call   *%r14
  mov    -0x58(%rbp),%r8
  test   %eax,%eax
  js     L28
L66:
  mov    %r13,%rsi
  mov    %r8,%rdi
  call   *%r14
  test   %eax,%eax
  js     L4
L123:
  mov    %r13,%rsi
  mov    %r12,%rdx
  mov    %r15,%rdi
  call   <memcpy@plt>
  mov    -0x48(%rbp),%rax
  mov    -0x68(%rbp),%rdx
  mov    %r12,%rsi
  mov    -0x50(%rbp),%rdi
  sub    $0x1,%rax
  mov    %rax,%r13
  mov    %rax,%rcx
  mov    %rax,-0x58(%rbp)
  call   <pthread_qsort_swap@plt>
  mov    %r13,-0x48(%rbp)
L158:
  add    $0x1,%rbx
  mov    %r12,%rdx
  mov    -0x50(%rbp),%rax
  imul   %rbx,%rdx
  lea    (%rax,%rdx,1),%r13
  jmp    L84
  nopl   0x0(%rax)
L155:
  add    $0x1,%rbx
L84:
  mov    %r13,%rdi
  mov    %r15,%rsi
  add    %r12,%r13
  call   *%r14
  test   %eax,%eax
  js     L155
  subq   $0x1,-0x48(%rbp)
  mov    -0x48(%rbp),%rdx
  mov    -0x50(%rbp),%rax
  imul   %r12,%rdx
  lea    (%rax,%rdx,1),%r13
  jmp    L22
  nopl   0x0(%rax,%rax,1)
L74:
  subq   $0x1,-0x48(%rbp)
L22:
  mov    %r13,%rdi
  mov    %r15,%rsi
  sub    %r12,%r13
  call   *%r14
  test   %eax,%eax
  jg     L74
  cmp    -0x48(%rbp),%rbx
  jb     L105
  mov    -0x58(%rbp),%rcx
  mov    -0x50(%rbp),%rdi
  mov    %rbx,%rdx
  mov    %r12,%rsi
  call   <pthread_qsort_swap@plt>
  mov    -0x60(%rbp),%rax
  mov    %rbx,(%rax)
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L151
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
  nopl   0x0(%rax,%rax,1)
L105:
  mov    -0x48(%rbp),%rcx
  mov    -0x50(%rbp),%rdi
  mov    %rbx,%rdx
  mov    %r12,%rsi
  call   <pthread_qsort_swap@plt>
  jmp    L158
L4:
  mov    -0x68(%rbp),%rcx
  mov    -0x48(%rbp),%rdx
  mov    %r12,%rsi
  mov    -0x50(%rbp),%rdi
  call   <pthread_qsort_swap@plt>
  jmp    L123
L28:
  mov    -0x48(%rbp),%rdx
  mov    -0x50(%rbp),%rdi
  mov    %rbx,%rcx
  mov    %r12,%rsi
  call   <pthread_qsort_swap@plt>
  mov    -0x58(%rbp),%r8
  jmp    L66
L82:
  orq    $0x0,-0x8(%rsp,%rdx,1)
  jmp    L20
L151:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
void pthread_qsort_split(void *base, const size_t width, const size_t first, const size_t last, size_t *middle, int (*compare)(const void *, const void *)) {
  short done;
  size_t ii, jj, temp_middle;
  void *test_temp;
  test_temp = alloca(width);
  temp_middle = (first + last) / 2;
  if (compare((void *)((size_t)base + (temp_middle * width)), (void *)((size_t)base + (first * width))) < 0) {
    pthread_qsort_swap(base, width, temp_middle, first);
  }
  if (compare((void *)((size_t)base + (last * width)), (void *)((size_t)base + (first * width))) < 0) {
    pthread_qsort_swap(base, width, last, first);
  }
  if (compare((void *)((size_t)base + (last * width)), (void *)((size_t)base + (temp_middle * width))) < 0) {
    pthread_qsort_swap(base, width, last, temp_middle);
  }
  (void)memcpy(test_temp, (void *)((size_t)base + (temp_middle * width)), width);
  pthread_qsort_swap(base, width, temp_middle, (last - 1));
  ii = first;
  jj = last - 1;
  done = 0;
  while (done == 0) {
    ii++;
    while (compare((void *)((size_t)base + (ii * width)), test_temp) < 0) {
      ii++;
    }
    jj--;
    while (compare((void *)((size_t)base + (jj * width)), test_temp) > 0) {
      jj--;
    }
    if (ii < jj) {
      pthread_qsort_swap(base, width, ii, jj);
    } else {
      done = 1;
    }
  }
  pthread_qsort_swap(base, width, ii, (last - 1));
  (*middle) = ii;
  return;
}
```