user: 请将以下的汇编代码转换成C语言代码:

```asm
<QuickSort>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x48,%rsp
  mov    %ecx,0x38(%rsp)
  cmp    %edx,%ecx
  je     L290
  mov    %esi,%r14d
  mov    %rdi,%r15
  mov    %edx,%r12d
L403:
  mov    0x38(%rsp),%ecx
  mov    %r12d,%edx
  mov    %r14d,%esi
  mov    %r15,%rdi
  call   <partition@plt>
  mov    %eax,0x34(%rsp)
  cmp    %r12d,%eax
  jg     L445
L164:
  mov    0x38(%rsp),%edi
  mov    0x34(%rsp),%eax
  cmp    %eax,%edi
  jle    L290
  mov    %eax,%r12d
  add    $0x1,%r12d
  cmp    %edi,%r12d
  jne    L403
L290:
  add    $0x48,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   (%rax)
L445:
  sub    $0x1,%eax
  mov    %eax,0x30(%rsp)
  cmp    %r12d,%eax
  je     L164
  mov    %r12d,%r13d
  mov    %r14d,%r12d
L23:
  mov    0x30(%rsp),%ecx
  mov    %r13d,%edx
  mov    %r12d,%esi
  mov    %r15,%rdi
  call   <partition@plt>
  mov    %eax,0x2c(%rsp)
  cmp    %r13d,%eax
  jg     L259
L138:
  mov    0x30(%rsp),%ecx
  mov    0x2c(%rsp),%eax
  cmp    %eax,%ecx
  jle    L375
  add    $0x1,%eax
  mov    %eax,%r13d
  cmp    %eax,%ecx
  jne    L23
L375:
  mov    %r12d,%r14d
  jmp    L164
L259:
  sub    $0x1,%eax
  mov    %eax,0x28(%rsp)
  cmp    %r13d,%eax
  je     L138
  mov    %r13d,%eax
  mov    %r12d,%r13d
  mov    %eax,%r12d
L105:
  mov    0x28(%rsp),%ecx
  mov    %r12d,%edx
  mov    %r13d,%esi
  mov    %r15,%rdi
  call   <partition@plt>
  mov    %eax,0x24(%rsp)
  cmp    %r12d,%eax
  jg     L390
L268:
  mov    0x28(%rsp),%ecx
  mov    0x24(%rsp),%eax
  cmp    %eax,%ecx
  jle    L145
  add    $0x1,%eax
  mov    %eax,%r12d
  cmp    %eax,%ecx
  jne    L105
L145:
  mov    %r13d,%r12d
  jmp    L138
  nopl   0x0(%rax,%rax,1)
L390:
  sub    $0x1,%eax
  mov    %eax,0x20(%rsp)
  cmp    %r12d,%eax
  je     L268
  mov    %r12d,%eax
  mov    %r13d,%r12d
  mov    %eax,%r13d
L240:
  mov    0x20(%rsp),%ecx
  mov    %r13d,%edx
  mov    %r12d,%esi
  mov    %r15,%rdi
  call   <partition@plt>
  mov    %eax,0x1c(%rsp)
  cmp    %r13d,%eax
  jg     L150
L305:
  mov    0x20(%rsp),%edi
  mov    0x1c(%rsp),%eax
  cmp    %eax,%edi
  jle    L50
  add    $0x1,%eax
  mov    %eax,%r13d
  cmp    %eax,%edi
  jne    L240
L50:
  mov    %r12d,%r13d
  jmp    L268
  nopl   0x0(%rax,%rax,1)
L150:
  sub    $0x1,%eax
  mov    %eax,0x18(%rsp)
  cmp    %r13d,%eax
  je     L305
  mov    %r13d,%r14d
L144:
  mov    0x18(%rsp),%ecx
  mov    %r14d,%edx
  mov    %r12d,%esi
  mov    %r15,%rdi
  call   <partition@plt>
  mov    %eax,0x14(%rsp)
  cmp    %r14d,%eax
  jg     L374
L20:
  mov    0x18(%rsp),%esi
  mov    0x14(%rsp),%eax
  cmp    %eax,%esi
  jle    L305
  add    $0x1,%eax
  mov    %eax,%r14d
  cmp    %eax,%esi
  jne    L144
  jmp    L305
  nopw   0x0(%rax,%rax,1)
L374:
  sub    $0x1,%eax
  mov    %eax,0x10(%rsp)
  cmp    %r14d,%eax
  je     L20
  mov    %r14d,%r13d
L332:
  mov    0x10(%rsp),%ecx
  mov    %r13d,%edx
  mov    %r12d,%esi
  mov    %r15,%rdi
  call   <partition@plt>
  mov    %eax,0xc(%rsp)
  cmp    %r13d,%eax
  jg     L152
L333:
  mov    0x10(%rsp),%edx
  mov    0xc(%rsp),%eax
  cmp    %eax,%edx
  jle    L20
  add    $0x1,%eax
  mov    %eax,%r13d
  cmp    %eax,%edx
  jne    L332
  jmp    L20
  nopw   0x0(%rax,%rax,1)
L152:
  sub    $0x1,%eax
  mov    %eax,0x8(%rsp)
  cmp    %r13d,%eax
  je     L333
L352:
  mov    0x8(%rsp),%ecx
  mov    %r13d,%edx
  mov    %r12d,%esi
  mov    %r15,%rdi
  call   <partition@plt>
  mov    %eax,0x4(%rsp)
  cmp    %r13d,%eax
  jg     L41
L217:
  mov    0x8(%rsp),%ebx
  mov    0x4(%rsp),%eax
  cmp    %eax,%ebx
  jle    L333
  add    $0x1,%eax
  mov    %eax,%r13d
  cmp    %eax,%ebx
  jne    L352
  jmp    L333
  nop
L41:
  lea    -0x1(%rax),%ebp
  cmp    %r13d,%ebp
  je     L217
L251:
  mov    %ebp,%ecx
  mov    %r13d,%edx
  mov    %r12d,%esi
  mov    %r15,%rdi
  call   <partition@plt>
  mov    %eax,%r14d
  cmp    %r13d,%eax
  jg     L177
L43:
  cmp    %r14d,%ebp
  jle    L217
  lea    0x1(%r14),%r13d
  cmp    %r13d,%ebp
  jne    L251
  jmp    L217
L177:
  lea    -0x1(%rax),%r8d
  cmp    %r13d,%r8d
  je     L43
  mov    %r8d,%ebx
L75:
  mov    %ebx,%ecx
  mov    %r13d,%edx
  mov    %r12d,%esi
  mov    %r15,%rdi
  call   <partition@plt>
  cmp    %r13d,%eax
  jg     L307
L359:
  cmp    %eax,%ebx
  jle    L43
  lea    0x1(%rax),%r13d
  cmp    %r13d,%ebx
  jne    L75
  jmp    L43
L307:
  lea    -0x1(%rax),%ecx
  mov    %r13d,%edx
  mov    %r12d,%esi
  mov    %r15,%rdi
  mov    %eax,0x3c(%rsp)
  call   <QuickSort>
  mov    0x3c(%rsp),%eax
  jmp    L359
```

assistant: ```c
void QuickSort(int data[], int length, int start, int end) {
  if (start == end) {
    return;
  }
  int index = partition(data, length, start, end);
  if (index > start) {
    QuickSort(data, length, start, index - 1);
  }
  if (index < end) {
    QuickSort(data, length, index + 1, end);
  }
}
```