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

```asm
<QuickSort>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x40,%rsp
  mov    %rdi,-0x28(%rbp)
  mov    %esi,-0x2c(%rbp)
  mov    %edx,-0x30(%rbp)
  mov    %rcx,-0x38(%rbp)
  movl   $0x1,-0x1c(%rbp)
  mov    -0x2c(%rbp),%eax
  cmp    -0x30(%rbp),%eax
  jge    L41
  mov    -0x2c(%rbp),%eax
  mov    %eax,-0x18(%rbp)
  mov    -0x30(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0x14(%rbp)
  mov    -0x2c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    %rax,-0x10(%rbp)
  jmp    L15
L3:
  addl   $0x1,-0x18(%rbp)
  jmp    L34
L13:
  addl   $0x1,-0x18(%rbp)
L34:
  mov    -0x18(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    -0x10(%rbp),%rdx
  mov    -0x38(%rbp),%rcx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   *%rcx
  test   %eax,%eax
  js     L13
  subl   $0x1,-0x14(%rbp)
  jmp    L75
L65:
  subl   $0x1,-0x14(%rbp)
L75:
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    -0x10(%rbp),%rdx
  mov    -0x38(%rbp),%rcx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   *%rcx
  test   %eax,%eax
  jg     L65
  mov    -0x18(%rbp),%eax
  cmp    -0x14(%rbp),%eax
  jge    L40
  mov    -0x18(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    %rax,-0x8(%rbp)
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    -0x18(%rbp),%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,8),%rcx
  mov    -0x28(%rbp),%rdx
  add    %rcx,%rdx
  mov    (%rax),%rax
  mov    %rax,(%rdx)
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%rax
  mov    %rax,(%rdx)
  jmp    L15
L40:
  movl   $0x0,-0x1c(%rbp)
L15:
  cmpl   $0x0,-0x1c(%rbp)
  jne    L3
  mov    -0x2c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    %rax,-0x8(%rbp)
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    -0x2c(%rbp),%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,8),%rcx
  mov    -0x28(%rbp),%rdx
  add    %rcx,%rdx
  mov    (%rax),%rax
  mov    %rax,(%rdx)
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%rax
  mov    %rax,(%rdx)
  mov    -0x14(%rbp),%eax
  lea    -0x1(%rax),%edi
  mov    -0x38(%rbp),%rdx
  mov    -0x2c(%rbp),%esi
  mov    -0x28(%rbp),%rax
  mov    %rdx,%rcx
  mov    %edi,%edx
  mov    %rax,%rdi
  call   <QuickSort>
  mov    -0x14(%rbp),%eax
  lea    0x1(%rax),%esi
  mov    -0x38(%rbp),%rcx
  mov    -0x30(%rbp),%edx
  mov    -0x28(%rbp),%rax
  mov    %rax,%rdi
  call   <QuickSort>
L41:
  nop
  leave
  ret
```

assistant: ```c
void QuickSort(void *list[], int low, int high, int (*Comp)(const void *, const void *)) {
  int flag = 1, i, j;
  void *key, *temp;
  if (low < high) {
    i = low;
    j = high + 1;
    key = list[low];
    while (flag) {
      i++;
      while (Comp(list[i], key) < 0)
        i++;
      j--;
      while (Comp(list[j], key) > 0)
        j--;
      if (i < j) {
        temp = list[i];
        list[i] = list[j];
        list[j] = temp;
      } else
        flag = 0;
    }
    temp = list[low];
    list[low] = list[j];
    list[j] = temp;
    QuickSort(list, low, j - 1, Comp);
    QuickSort(list, j + 1, high, Comp);
  }
}
```