user: 请从给定的汇编指令推导出C源代码:

```asm
<quickSort>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %rdi,-0x18(%rbp)
  mov    %rsi,-0x20(%rbp)
  mov    %rdx,-0x28(%rbp)
  mov    -0x20(%rbp),%rax
  cmp    -0x28(%rbp),%rax
  jge    L24
  mov    -0x20(%rbp),%rax
  mov    %eax,-0x8(%rbp)
  mov    -0x20(%rbp),%rax
  mov    %eax,-0x10(%rbp)
  mov    -0x28(%rbp),%rax
  mov    %eax,-0xc(%rbp)
  jmp    L54
L23:
  addl   $0x1,-0x10(%rbp)
L41:
  mov    -0x10(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x8(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rax
  cmp    %rax,%rdx
  jg     L22
  mov    -0x10(%rbp),%eax
  cltq
  cmp    %rax,-0x28(%rbp)
  jg     L23
  jmp    L22
L57:
  subl   $0x1,-0xc(%rbp)
L22:
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x8(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rax
  cmp    %rax,%rdx
  jg     L57
  mov    -0x10(%rbp),%eax
  cmp    -0xc(%rbp),%eax
  jge    L54
  mov    -0x10(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    %eax,-0x4(%rbp)
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    -0x10(%rbp),%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,8),%rcx
  mov    -0x18(%rbp),%rdx
  add    %rcx,%rdx
  mov    (%rax),%rax
  mov    %rax,(%rdx)
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rax,%rdx
  mov    -0x4(%rbp),%eax
  cltq
  mov    %rax,(%rdx)
L54:
  mov    -0x10(%rbp),%eax
  cmp    -0xc(%rbp),%eax
  jl     L41
  mov    -0x8(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    %eax,-0x4(%rbp)
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    -0x8(%rbp),%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,8),%rcx
  mov    -0x18(%rbp),%rdx
  add    %rcx,%rdx
  mov    (%rax),%rax
  mov    %rax,(%rdx)
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rax,%rdx
  mov    -0x4(%rbp),%eax
  cltq
  mov    %rax,(%rdx)
  mov    -0xc(%rbp),%eax
  sub    $0x1,%eax
  movslq %eax,%rdx
  mov    -0x20(%rbp),%rcx
  mov    -0x18(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <quickSort>
  mov    -0xc(%rbp),%eax
  add    $0x1,%eax
  movslq %eax,%rcx
  mov    -0x28(%rbp),%rdx
  mov    -0x18(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <quickSort>
L24:
  nop
  leave
  ret
```

assistant: ```c
void quickSort(long list[], long first, long last) {
  int i, j, v, temp;
  if (first < last) {
    v = first;
    i = first;
    j = last;
    while (i < j) {
      while (list[i] <= list[v] && i < last)
        i++;
      while (list[j] > list[v])
        j--;
      if (i < j) {
        temp = list[i];
        list[i] = list[j];
        list[j] = temp;
      }
    }
    temp = list[v];
    list[v] = list[j];
    list[j] = temp;
    quickSort(list, first, j - 1);
    quickSort(list, j + 1, last);
  }
}
```