user: 下面的汇编指令对应的C源代码是什么：

```asm
<mergeRanges>:
  endbr64
  push   %r14
  mov    %edx,%r14d
  push   %r13
  mov    %ecx,%r13d
  push   %r12
  mov    %ecx,%r12d
  push   %rbp
  movslq %esi,%rbp
  mov    $0x4,%esi
  push   %rbx
  sub    %ebp,%r12d
  mov    %rdi,%rbx
  mov    %r12d,%edi
  call   <calloc@plt>
  mov    %rax,%rdi
  cmp    %r14d,%ebp
  jge    L22
  cmp    %r14d,%r13d
  jle    L22
  mov    %rax,%rsi
  mov    %ebp,%ecx
  mov    %r14d,%eax
  xor    %r8d,%r8d
  jmp    L59
  nopl   (%rax)
L50:
  add    $0x1,%ecx
  mov    %edx,(%rsi)
  add    $0x1,%r8d
  add    $0x4,%rsi
  cmp    %r14d,%ecx
  jge    L131
L81:
  cmp    %r13d,%eax
  jge    L131
L59:
  movslq %ecx,%rdx
  movslq %eax,%r9
  mov    (%rbx,%rdx,4),%edx
  mov    (%rbx,%r9,4),%r9d
  cmp    %r9d,%edx
  jl     L50
  mov    %r9d,%edx
  add    $0x1,%eax
  add    $0x1,%r8d
  add    $0x4,%rsi
  mov    %edx,-0x4(%rsi)
  cmp    %r14d,%ecx
  jl     L81
L131:
  cmp    %ecx,%r14d
  jle    L32
  lea    -0x1(%r14),%r9d
  movslq %r8d,%r10
  sub    %ecx,%r9d
  lea    0x0(,%r10,4),%rsi
  add    %r10,%r9
  lea    (%rsi,%rdi,1),%rdx
  lea    0x4(%rdi,%r9,4),%r10
  movslq %ecx,%r9
  shl    $0x2,%r9
  sub    %rsi,%r9
  sub    %rdi,%r9
  add    %rbx,%r9
  nopw   0x0(%rax,%rax,1)
L20:
  mov    (%r9,%rdx,1),%esi
  add    $0x4,%rdx
  mov    %esi,-0x4(%rdx)
  cmp    %r10,%rdx
  jne    L20
  add    %r8d,%r14d
  mov    %r14d,%r8d
  sub    %ecx,%r8d
L32:
  cmp    %eax,%r13d
  jle    L60
  sub    $0x1,%r13d
  movslq %r8d,%r8
  sub    %eax,%r13d
  cltq
  lea    0x0(,%r8,4),%rcx
  shl    $0x2,%rax
  add    %r8,%r13
  lea    (%rdi,%rcx,1),%rdx
  sub    %rdi,%rax
  lea    0x4(%rdi,%r13,4),%rsi
  sub    %rcx,%rax
  add    %rbx,%rax
  nopl   0x0(%rax,%rax,1)
L95:
  mov    (%rax,%rdx,1),%ecx
  add    $0x4,%rdx
  mov    %ecx,-0x4(%rdx)
  cmp    %rdx,%rsi
  jne    L95
L60:
  test   %r12d,%r12d
  jle    L36
  lea    (%rbx,%rbp,4),%rcx
  mov    %rdi,%rax
  lea    (%rdi,%r12,4),%rsi
  sub    %rdi,%rcx
  nopw   0x0(%rax,%rax,1)
L114:
  mov    (%rax),%edx
  mov    %edx,(%rcx,%rax,1)
  add    $0x4,%rax
  cmp    %rsi,%rax
  jne    L114
L36:
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  jmp    1060 <free@plt>
  nopl   0x0(%rax,%rax,1)
L22:
  mov    %r14d,%eax
  mov    %ebp,%ecx
  xor    %r8d,%r8d
  jmp    L131
```

assistant: ```c
void mergeRanges(int values[], int startIndex, int midPoint, int endIndex) {
  int rangeSize = endIndex - startIndex;
  int *destination = (int *)calloc(rangeSize, sizeof(int));
  int firstIndex = startIndex;
  int secondIndex = midPoint;
  int copyIndex = 0;
  int i = 0;
  while (firstIndex < midPoint && secondIndex < endIndex) {
    if (values[firstIndex] < values[secondIndex]) {
      destination[copyIndex] = values[firstIndex];
      ++firstIndex;
    } else {
      destination[copyIndex] = values[secondIndex];
      ++secondIndex;
    }
    ++copyIndex;
  }
  while (firstIndex < midPoint) {
    destination[copyIndex] = values[firstIndex];
    ++copyIndex;
    ++firstIndex;
  }
  while (secondIndex < endIndex) {
    destination[copyIndex] = values[secondIndex];
    ++copyIndex;
    ++secondIndex;
  }
  for (i = 0; i < rangeSize; ++i) {
    values[i + startIndex] = destination[i];
  }
  free(destination);
}
```