user: 请将这段汇编代码片段转换成等效的C代码：

```asm
<MergeSort>:
  endbr64
  cmp    %edx,%esi
  jl     L5
  ret
  nopl   0x0(%rax)
L5:
  mov    %edx,%eax
  push   %r15
  sub    %esi,%eax
  push   %r14
  mov    %eax,%r14d
  push   %r13
  mov    %rdi,%r13
  push   %r12
  sar    %r14d
  mov    %edx,%r12d
  push   %rbp
  add    %esi,%r14d
  mov    %esi,%ebp
  push   %rbx
  mov    %ecx,%ebx
  sub    $0x28,%rsp
  cmp    %esi,%r14d
  jle    L88
  mov    %eax,%r15d
  sar    $0x2,%r15d
  add    %esi,%r15d
  cmp    %r15d,%esi
  jl     L130
  lea    0x1(%r15),%r9d
  cmp    %r9d,%r14d
  jg     L73
L112:
  mov    %ebx,%r8d
  mov    %r14d,%ecx
  mov    %r15d,%edx
  mov    %ebp,%esi
  mov    %r13,%rdi
  call   <Merge@plt>
L88:
  lea    0x1(%r14),%r15d
  cmp    %r12d,%r15d
  jge    L77
  mov    %r12d,%eax
  sub    %r15d,%eax
  mov    %eax,%r9d
  sar    %r9d
  add    %r15d,%r9d
  cmp    %r9d,%r15d
  jl     L136
  lea    0x1(%r9),%r10d
  cmp    %r10d,%r12d
  jg     L179
L195:
  mov    %ebx,%r8d
  mov    %r12d,%ecx
  mov    %r9d,%edx
  mov    %r15d,%esi
  mov    %r13,%rdi
  call   <Merge@plt>
L77:
  add    $0x28,%rsp
  mov    %ebx,%r8d
  mov    %r12d,%ecx
  mov    %r14d,%edx
  pop    %rbx
  mov    %ebp,%esi
  mov    %r13,%rdi
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    1050 <Merge@plt>
  nopl   0x0(%rax)
L179:
  mov    %r12d,%eax
  sub    %r10d,%eax
  mov    %eax,%r11d
  sar    %r11d
  add    %r10d,%r11d
  cmp    %r11d,%r10d
  jge    L192
  sar    $0x2,%eax
  mov    %r10d,%esi
  mov    %ebx,%ecx
  mov    %r13,%rdi
  add    %r10d,%eax
  mov    %r9d,0x1c(%rsp)
  mov    %eax,%edx
  mov    %r10d,0x18(%rsp)
  mov    %r11d,0x10(%rsp)
  mov    %eax,0xc(%rsp)
  call   <MergeSort>
  mov    0xc(%rsp),%eax
  mov    0x10(%rsp),%r11d
  mov    %ebx,%ecx
  mov    %r13,%rdi
  lea    0x1(%rax),%esi
  mov    %r11d,%edx
  mov    %eax,0x14(%rsp)
  mov    %r11d,0xc(%rsp)
  call   <MergeSort>
  mov    0xc(%rsp),%r11d
  mov    %ebx,%r8d
  mov    %r13,%rdi
  mov    0x18(%rsp),%r10d
  mov    0x14(%rsp),%edx
  mov    %r11d,%ecx
  mov    %r11d,0x10(%rsp)
  mov    %r10d,%esi
  mov    %r10d,0xc(%rsp)
  call   <Merge@plt>
  mov    0x1c(%rsp),%r9d
  mov    0x10(%rsp),%r11d
  mov    0xc(%rsp),%r10d
L192:
  lea    0x1(%r11),%eax
  cmp    %eax,%r12d
  jle    L173
  mov    %r12d,%edx
  mov    %eax,%esi
  mov    %r11d,0x1c(%rsp)
  sub    %eax,%edx
  mov    %r10d,0x18(%rsp)
  sar    %edx
  mov    %r9d,0x14(%rsp)
  lea    (%rdx,%rax,1),%ecx
  mov    %eax,0x10(%rsp)
  mov    %ecx,%edi
  mov    %ebx,%ecx
  mov    %edi,%edx
  mov    %edi,0xc(%rsp)
  mov    %r13,%rdi
  call   <MergeSort>
  mov    0xc(%rsp),%ecx
  mov    %r12d,%edx
  mov    %r13,%rdi
  lea    0x1(%rcx),%esi
  mov    %ebx,%ecx
  call   <MergeSort>
  mov    0xc(%rsp),%edx
  mov    0x10(%rsp),%esi
  mov    %ebx,%r8d
  mov    %r12d,%ecx
  mov    %r13,%rdi
  call   <Merge@plt>
  mov    0x1c(%rsp),%r11d
  mov    0x18(%rsp),%r10d
  mov    0x14(%rsp),%r9d
L173:
  mov    %ebx,%r8d
  mov    %r12d,%ecx
  mov    %r11d,%edx
  mov    %r10d,%esi
  mov    %r13,%rdi
  mov    %r9d,0xc(%rsp)
  call   <Merge@plt>
  mov    0xc(%rsp),%r9d
  jmp    L195
L136:
  mov    %eax,%r10d
  sar    $0x2,%r10d
  add    %r15d,%r10d
  cmp    %r10d,%r15d
  jge    L159
  sar    $0x3,%eax
  mov    %ebx,%ecx
  mov    %r15d,%esi
  mov    %r13,%rdi
  lea    (%rax,%r15,1),%r11d
  mov    %r9d,0x14(%rsp)
  mov    %r11d,%edx
  mov    %r10d,0x18(%rsp)
  mov    %r11d,0xc(%rsp)
  call   <MergeSort>
  mov    0xc(%rsp),%r11d
  mov    %ebx,%ecx
  mov    %r13,%rdi
  mov    0x18(%rsp),%r10d
  lea    0x1(%r11),%esi
  mov    %r11d,0x10(%rsp)
  mov    %r10d,%edx
  mov    %r10d,0xc(%rsp)
  call   <MergeSort>
  mov    0xc(%rsp),%ecx
  mov    0x10(%rsp),%edx
  mov    %ebx,%r8d
  mov    %r15d,%esi
  mov    %r13,%rdi
  call   <Merge@plt>
  mov    0x14(%rsp),%r9d
  mov    0xc(%rsp),%r10d
L159:
  lea    0x1(%r10),%eax
  cmp    %eax,%r9d
  jle    L191
  mov    %r9d,%r11d
  mov    %eax,%esi
  mov    %ebx,%ecx
  mov    %r13,%rdi
  sub    %eax,%r11d
  mov    %r10d,0x1c(%rsp)
  sar    %r11d
  mov    %eax,0x14(%rsp)
  add    %eax,%r11d
  mov    %r9d,0x18(%rsp)
  mov    %r11d,%edx
  mov    %r11d,0xc(%rsp)
  call   <MergeSort>
  mov    0xc(%rsp),%r11d
  mov    %ebx,%ecx
  mov    %r13,%rdi
  mov    0x18(%rsp),%r9d
  lea    0x1(%r11),%esi
  mov    %r11d,0x10(%rsp)
  mov    %r9d,%edx
  mov    %r9d,0xc(%rsp)
  call   <MergeSort>
  mov    0xc(%rsp),%ecx
  mov    0x10(%rsp),%edx
  mov    %ebx,%r8d
  mov    0x14(%rsp),%esi
  mov    %r13,%rdi
  call   <Merge@plt>
  mov    0x1c(%rsp),%r10d
  mov    0xc(%rsp),%r9d
L191:
  mov    %r9d,%ecx
  mov    %r10d,%edx
  mov    %ebx,%r8d
  mov    %r15d,%esi
  mov    %r13,%rdi
  mov    %r9d,0xc(%rsp)
  call   <Merge@plt>
  mov    0xc(%rsp),%r9d
  lea    0x1(%r9),%r10d
  cmp    %r10d,%r12d
  jle    L195
  jmp    L179
  nopw   0x0(%rax,%rax,1)
L73:
  mov    %r14d,%eax
  sub    %r9d,%eax
  mov    %eax,%r10d
  sar    %r10d
  add    %r9d,%r10d
  cmp    %r10d,%r9d
  jge    L143
  sar    $0x2,%eax
  mov    %r9d,%esi
  mov    %ebx,%ecx
  mov    %r13,%rdi
  lea    (%rax,%r9,1),%r11d
  mov    %r9d,0x18(%rsp)
  mov    %r11d,%edx
  mov    %r10d,0x10(%rsp)
  mov    %r11d,0xc(%rsp)
  call   <MergeSort>
  mov    0xc(%rsp),%r11d
  mov    %ebx,%ecx
  mov    %r13,%rdi
  mov    0x10(%rsp),%r10d
  lea    0x1(%r11),%esi
  mov    %r11d,0x14(%rsp)
  mov    %r10d,%edx
  mov    %r10d,0xc(%rsp)
  call   <MergeSort>
  mov    0xc(%rsp),%r10d
  mov    %ebx,%r8d
  mov    %r13,%rdi
  mov    0x18(%rsp),%r9d
  mov    0x14(%rsp),%edx
  mov    %r10d,%ecx
  mov    %r10d,0x10(%rsp)
  mov    %r9d,%esi
  mov    %r9d,0xc(%rsp)
  call   <Merge@plt>
  mov    0x10(%rsp),%r10d
  mov    0xc(%rsp),%r9d
L143:
  lea    0x1(%r10),%eax
  cmp    %eax,%r14d
  jle    L24
  mov    %r14d,%r11d
  mov    %eax,%esi
  mov    %ebx,%ecx
  mov    %r13,%rdi
  sub    %eax,%r11d
  mov    %r10d,0x18(%rsp)
  sar    %r11d
  mov    %r9d,0x14(%rsp)
  add    %eax,%r11d
  mov    %eax,0x10(%rsp)
  mov    %r11d,%edx
  mov    %r11d,0xc(%rsp)
  call   <MergeSort>
  mov    0xc(%rsp),%r11d
  mov    %ebx,%ecx
  mov    %r14d,%edx
  mov    %r13,%rdi
  lea    0x1(%r11),%esi
  call   <MergeSort>
  mov    0xc(%rsp),%edx
  mov    0x10(%rsp),%esi
  mov    %ebx,%r8d
  mov    %r14d,%ecx
  mov    %r13,%rdi
  call   <Merge@plt>
  mov    0x18(%rsp),%r10d
  mov    0x14(%rsp),%r9d
L24:
  mov    %ebx,%r8d
  mov    %r14d,%ecx
  mov    %r10d,%edx
  mov    %r9d,%esi
  mov    %r13,%rdi
  call   <Merge@plt>
  jmp    L112
  nopl   0x0(%rax,%rax,1)
L130:
  mov    %eax,%r10d
  sar    $0x3,%r10d
  add    %esi,%r10d
  cmp    %r10d,%esi
  jge    L51
  sar    $0x4,%eax
  mov    %r10d,0x14(%rsp)
  lea    (%rax,%rsi,1),%r9d
  mov    %r9d,%edx
  mov    %r9d,0xc(%rsp)
  call   <MergeSort>
  mov    0xc(%rsp),%r9d
  mov    %ebx,%ecx
  mov    %r13,%rdi
  mov    0x14(%rsp),%r10d
  lea    0x1(%r9),%esi
  mov    %r9d,0x10(%rsp)
  mov    %r10d,%edx
  mov    %r10d,0xc(%rsp)
  call   <MergeSort>
  mov    0xc(%rsp),%ecx
  mov    0x10(%rsp),%edx
  mov    %ebx,%r8d
  mov    %ebp,%esi
  mov    %r13,%rdi
  call   <Merge@plt>
  mov    0xc(%rsp),%r10d
L51:
  lea    0x1(%r10),%r9d
  cmp    %r9d,%r15d
  jle    L147
  mov    %r15d,%r11d
  mov    %r9d,%esi
  mov    %ebx,%ecx
  mov    %r13,%rdi
  sub    %r9d,%r11d
  mov    %r10d,0x14(%rsp)
  sar    %r11d
  mov    %r9d,0x10(%rsp)
  add    %r9d,%r11d
  mov    %r11d,%edx
  mov    %r11d,0xc(%rsp)
  call   <MergeSort>
  mov    0xc(%rsp),%r11d
  mov    %ebx,%ecx
  mov    %r15d,%edx
  mov    %r13,%rdi
  lea    0x1(%r11),%esi
  call   <MergeSort>
  mov    0xc(%rsp),%edx
  mov    0x10(%rsp),%esi
  mov    %ebx,%r8d
  mov    %r15d,%ecx
  mov    %r13,%rdi
  call   <Merge@plt>
  mov    0x14(%rsp),%r10d
L147:
  mov    %ebx,%r8d
  mov    %r15d,%ecx
  mov    %r10d,%edx
  mov    %ebp,%esi
  mov    %r13,%rdi
  call   <Merge@plt>
  lea    0x1(%r15),%r9d
  cmp    %r9d,%r14d
  jle    L112
  jmp    L73
```

assistant: ```c
void MergeSort(double **data, int first, int last, int col) {
  if (first >= last)
    return;
  int mid = (last - first) / 2;
  MergeSort(data, first, first + mid, col);
  MergeSort(data, first + mid + 1, last, col);
  Merge(data, first, first + mid, last, col);
  return;
}
```