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

```asm
<qst>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x58,%rsp
  mov    %rdi,-0x58(%rbp)
  mov    %rsi,-0x60(%rbp)
  mov    %rdx,-0x68(%rbp)
  mov    %ecx,-0x6c(%rbp)
  mov    %r8d,-0x70(%rbp)
  mov    %r9d,-0x74(%rbp)
  mov    -0x60(%rbp),%rax
  sub    -0x58(%rbp),%rax
  mov    %eax,-0x48(%rbp)
L159:
  mov    -0x48(%rbp),%eax
  cltd
  idivl  -0x6c(%rbp)
  sar    %eax
  imul   -0x6c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x58(%rbp),%rax
  lea    (%rdx,%rax,1),%rbx
  mov    %rbx,-0x40(%rbp)
  mov    -0x48(%rbp),%eax
  cmp    -0x74(%rbp),%eax
  jl     L167
  mov    -0x58(%rbp),%r13
  mov    -0x68(%rbp),%rax
  mov    %rbx,%rsi
  mov    %r13,%rdi
  call   *%rax
  test   %eax,%eax
  jle    L189
  mov    %r13,%rax
  jmp    L27
L189:
  mov    %rbx,%rax
L27:
  mov    %rax,%r12
  mov    -0x6c(%rbp),%eax
  cltq
  neg    %rax
  mov    %rax,%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x38(%rbp)
  mov    -0x38(%rbp),%rax
  mov    -0x68(%rbp),%rdx
  mov    %rax,%rsi
  mov    %r12,%rdi
  call   *%rdx
  test   %eax,%eax
  jle    L253
  cmp    %r13,%r12
  jne    L10
  mov    %rbx,%rax
  jmp    L103
L10:
  mov    %r13,%rax
L103:
  mov    %rax,%r12
  mov    -0x38(%rbp),%rax
  mov    -0x68(%rbp),%rdx
  mov    %rax,%rsi
  mov    %r12,%rdi
  call   *%rdx
  test   %eax,%eax
  jns    L253
  mov    -0x38(%rbp),%r12
L253:
  cmp    %rbx,%r12
  je     L167
  mov    -0x6c(%rbp),%r14d
L192:
  movzbl (%rbx),%r15d
  mov    %rbx,%rax
  lea    0x1(%rax),%rbx
  movzbl (%r12),%edx
  mov    %dl,(%rax)
  mov    %r12,%rax
  lea    0x1(%rax),%r12
  mov    %r15b,(%rax)
  sub    $0x1,%r14d
  test   %r14d,%r14d
  jne    L192
L167:
  mov    -0x58(%rbp),%rbx
  mov    -0x6c(%rbp),%eax
  cltq
  neg    %rax
  mov    %rax,%rdx
  mov    -0x60(%rbp),%rax
  lea    (%rdx,%rax,1),%r12
  jmp    L259
L66:
  mov    -0x6c(%rbp),%eax
  cltq
  add    %rax,%rbx
L259:
  cmp    -0x40(%rbp),%rbx
  jae    L85
  mov    -0x40(%rbp),%rax
  mov    -0x68(%rbp),%rdx
  mov    %rax,%rsi
  mov    %rbx,%rdi
  call   *%rdx
  test   %eax,%eax
  jle    L66
  jmp    L85
L229:
  mov    -0x40(%rbp),%rax
  mov    -0x68(%rbp),%rdx
  mov    %r12,%rsi
  mov    %rax,%rdi
  call   *%rdx
  test   %eax,%eax
  jg     L14
  mov    -0x6c(%rbp),%eax
  cltq
  neg    %rax
  add    %rax,%r12
  jmp    L85
L14:
  mov    -0x6c(%rbp),%eax
  cltq
  add    %rbx,%rax
  mov    %rax,-0x38(%rbp)
  cmp    -0x40(%rbp),%rbx
  jne    L109
  mov    %r12,%r13
  mov    %r13,-0x40(%rbp)
  jmp    L202
L109:
  mov    %r12,%r13
  mov    -0x6c(%rbp),%eax
  cltq
  neg    %rax
  add    %rax,%r12
  jmp    L202
L85:
  cmp    -0x40(%rbp),%r12
  ja     L229
  cmp    -0x40(%rbp),%rbx
  je     L73
  mov    -0x40(%rbp),%r13
  mov    %rbx,-0x40(%rbp)
  mov    -0x40(%rbp),%rax
  mov    %rax,-0x38(%rbp)
  mov    -0x6c(%rbp),%eax
  cltq
  neg    %rax
  add    %rax,%r12
L202:
  mov    -0x6c(%rbp),%r14d
L198:
  movzbl (%rbx),%r15d
  mov    %rbx,%rax
  lea    0x1(%rax),%rbx
  movzbl 0x0(%r13),%edx
  mov    %dl,(%rax)
  mov    %r13,%rax
  lea    0x1(%rax),%r13
  mov    %r15b,(%rax)
  sub    $0x1,%r14d
  test   %r14d,%r14d
  jne    L198
  mov    -0x38(%rbp),%rbx
  jmp    L259
L73:
  nop
  mov    -0x40(%rbp),%r12
  mov    -0x6c(%rbp),%eax
  cltq
  lea    (%r12,%rax,1),%rbx
  mov    %r12,%rax
  sub    -0x58(%rbp),%rax
  mov    %eax,-0x48(%rbp)
  mov    -0x60(%rbp),%rax
  sub    %rbx,%rax
  mov    %eax,-0x44(%rbp)
  mov    -0x48(%rbp),%eax
  cmp    -0x44(%rbp),%eax
  jg     L153
  mov    -0x48(%rbp),%eax
  cmp    -0x70(%rbp),%eax
  jl     L71
  mov    -0x74(%rbp),%edi
  mov    -0x70(%rbp),%esi
  mov    -0x6c(%rbp),%ecx
  mov    -0x68(%rbp),%rdx
  mov    -0x58(%rbp),%rax
  mov    %edi,%r9d
  mov    %esi,%r8d
  mov    %r12,%rsi
  mov    %rax,%rdi
  call   <qst>
L71:
  mov    %rbx,-0x58(%rbp)
  mov    -0x44(%rbp),%eax
  mov    %eax,-0x48(%rbp)
  jmp    L205
L153:
  mov    -0x44(%rbp),%eax
  cmp    -0x70(%rbp),%eax
  jl     L185
  mov    -0x74(%rbp),%edi
  mov    -0x70(%rbp),%esi
  mov    -0x6c(%rbp),%ecx
  mov    -0x68(%rbp),%rdx
  mov    -0x60(%rbp),%rax
  mov    %edi,%r9d
  mov    %esi,%r8d
  mov    %rax,%rsi
  mov    %rbx,%rdi
  call   <qst>
L185:
  mov    %r12,-0x60(%rbp)
L205:
  mov    -0x48(%rbp),%eax
  cmp    -0x70(%rbp),%eax
  jge    L159
  nop
  nop
  add    $0x58,%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
```

assistant: ```c
void qst(char *base, char *max, int (*qcmp)(void *, void *), int qsz, int thresh, int mthresh) {
  register char c, *i, *j, *jj;
  register int ii;
  char *mid, *tmp;
  int lo, hi;
  lo = max - base;
  do {
    mid = i = base + qsz * ((lo / qsz) >> 1);
    if (lo >= mthresh) {
      j = (qcmp((jj = base), i) > 0 ? jj : i);
      if (qcmp(j, (tmp = max - qsz)) > 0) {
        j = (j == jj ? i : jj);
        if (qcmp(j, tmp) < 0)
          j = tmp;
      }
      if (j != i) {
        ii = qsz;
        do {
          c = *i;
          *i++ = *j;
          *j++ = c;
        } while (--ii);
      }
    }
    for (i = base, j = max - qsz;;) {
      while (i < mid && qcmp(i, mid) <= 0)
        i += qsz;
      while (j > mid) {
        if (qcmp(mid, j) <= 0) {
          j -= qsz;
          continue;
        }
        tmp = i + qsz;
        if (i == mid) {
          mid = jj = j;
        } else {
          jj = j;
          j -= qsz;
        }
        goto swap;
      }
      if (i == mid) {
        break;
      } else {
        jj = mid;
        tmp = mid = i;
        j -= qsz;
      }
    swap:
      ii = qsz;
      do {
        c = *i;
        *i++ = *jj;
        *jj++ = c;
      } while (--ii);
      i = tmp;
    }
    i = (j = mid) + qsz;
    if ((lo = j - base) <= (hi = max - i)) {
      if (lo >= thresh)
        qst(base, j, qcmp, qsz, thresh, mthresh);
      base = i;
      lo = hi;
    } else {
      if (hi >= thresh)
        qst(i, max, qcmp, qsz, thresh, mthresh);
      max = j;
    }
  } while (lo >= thresh);
}
```