user: Translate the below assembly code into C programming language:

```asm
<mergeSort>:
  endbr64
  cmp    %rdx,%rsi
  jl     L66
  ret
  nopw   0x0(%rax,%rax,1)
L66:
  lea    (%rsi,%rdx,1),%rax
  push   %r15
  push   %r14
  mov    %rdi,%r14
  push   %r13
  mov    %rax,%r13
  push   %r12
  shr    $0x3f,%r13
  mov    %rdx,%r12
  push   %rbp
  add    %rax,%r13
  mov    %rsi,%rbp
  push   %rbx
  sar    %r13
  mov    %rcx,%rbx
  sub    $0x28,%rsp
  cmp    %r13,%rsi
  jl     L95
  lea    0x1(%r13),%r15
  cmp    %r12,%r15
  jl     L27
L84:
  add    $0x28,%rsp
  mov    %rbx,%r8
  mov    %r12,%rcx
  mov    %r13,%rdx
  pop    %rbx
  mov    %rbp,%rsi
  mov    %r14,%rdi
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    1050 <merge@plt>
  nopl   0x0(%rax,%rax,1)
L95:
  lea    (%rsi,%r13,1),%rax
  mov    %rax,%r15
  shr    $0x3f,%r15
  add    %rax,%r15
  sar    %r15
  cmp    %r15,%rsi
  jl     L109
L117:
  lea    0x1(%r15),%r9
  cmp    %r9,%r13
  jg     L125
L69:
  mov    %r15,%rdx
  mov    %rbx,%r8
  mov    %r13,%rcx
  mov    %rbp,%rsi
  mov    %r14,%rdi
  lea    0x1(%r13),%r15
  call   <merge@plt>
  cmp    %r12,%r15
  jge    L84
L27:
  lea    (%r15,%r12,1),%rax
  mov    %rax,%r9
  shr    $0x3f,%r9
  add    %rax,%r9
  sar    %r9
  cmp    %r9,%r15
  jl     L42
L73:
  lea    0x1(%r9),%r10
  cmp    %r10,%r12
  jg     L120
L79:
  mov    %rbx,%r8
  mov    %r12,%rcx
  mov    %r9,%rdx
  mov    %r15,%rsi
  mov    %r14,%rdi
  call   <merge@plt>
  jmp    L84
  nopl   0x0(%rax)
L109:
  lea    (%rsi,%r15,1),%rax
  mov    %rax,%r9
  shr    $0x3f,%r9
  add    %rax,%r9
  sar    %r9
  mov    %r9,%rdx
  mov    %r9,0x8(%rsp)
  call   <mergeSort>
  mov    0x8(%rsp),%r9
  mov    %rbx,%rcx
  mov    %r15,%rdx
  mov    %r14,%rdi
  lea    0x1(%r9),%rsi
  call   <mergeSort>
  mov    0x8(%rsp),%rdx
  mov    %rbx,%r8
  mov    %r15,%rcx
  mov    %rbp,%rsi
  mov    %r14,%rdi
  call   <merge@plt>
  jmp    L117
L120:
  lea    (%r12,%r10,1),%rax
  mov    %r10,%rsi
  mov    %rbx,%rcx
  mov    %r14,%rdi
  mov    %rax,%r11
  mov    %r9,0x18(%rsp)
  shr    $0x3f,%r11
  mov    %r10,0x10(%rsp)
  add    %rax,%r11
  sar    %r11
  mov    %r11,%rdx
  mov    %r11,0x8(%rsp)
  call   <mergeSort>
  mov    0x8(%rsp),%r11
  mov    %rbx,%rcx
  mov    %r12,%rdx
  mov    %r14,%rdi
  lea    0x1(%r11),%rsi
  call   <mergeSort>
  mov    0x8(%rsp),%rdx
  mov    %rbx,%r8
  mov    %r12,%rcx
  mov    0x10(%rsp),%rsi
  mov    %r14,%rdi
  call   <merge@plt>
  mov    0x18(%rsp),%r9
  jmp    L79
  nopw   0x0(%rax,%rax,1)
L42:
  lea    (%r15,%r9,1),%rax
  mov    %rbx,%rcx
  mov    %r15,%rsi
  mov    %r14,%rdi
  mov    %rax,%r10
  mov    %r9,0x18(%rsp)
  shr    $0x3f,%r10
  add    %rax,%r10
  sar    %r10
  mov    %r10,%rdx
  mov    %r10,0x8(%rsp)
  call   <mergeSort>
  mov    0x8(%rsp),%r10
  mov    %rbx,%rcx
  mov    %r14,%rdi
  mov    0x18(%rsp),%r9
  lea    0x1(%r10),%rsi
  mov    %r10,0x10(%rsp)
  mov    %r9,%rdx
  mov    %r9,0x8(%rsp)
  call   <mergeSort>
  mov    0x8(%rsp),%rcx
  mov    %rbx,%r8
  mov    %r15,%rsi
  mov    0x10(%rsp),%rdx
  mov    %r14,%rdi
  call   <merge@plt>
  mov    0x8(%rsp),%r9
  jmp    L73
  nopl   0x0(%rax)
L125:
  lea    0x0(%r13,%r9,1),%rax
  mov    %r9,%rsi
  mov    %rbx,%rcx
  mov    %r14,%rdi
  mov    %rax,%r10
  mov    %r9,0x10(%rsp)
  shr    $0x3f,%r10
  add    %rax,%r10
  sar    %r10
  mov    %r10,%rdx
  mov    %r10,0x8(%rsp)
  call   <mergeSort>
  mov    0x8(%rsp),%r10
  mov    %rbx,%rcx
  mov    %r13,%rdx
  mov    %r14,%rdi
  lea    0x1(%r10),%rsi
  call   <mergeSort>
  mov    0x8(%rsp),%rdx
  mov    %rbx,%r8
  mov    %r13,%rcx
  mov    0x10(%rsp),%rsi
  mov    %r14,%rdi
  call   <merge@plt>
  jmp    L69
```

assistant: ```c
void mergeSort(long array[], long low, long high, long n) {
  long mid;
  if (low < high) {
    mid = (low + high) / 2;
    mergeSort(array, low, mid, n);
    mergeSort(array, mid + 1, high, n);
    merge(array, low, mid, high, n);
  }
}
```