user: What would the C source look like for the assembly code provided here?

```asm
<mergeSort>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x360,%rsp
  mov    %rdi,-0x358(%rbp)
  mov    %esi,-0x35c(%rbp)
  mov    %edx,-0x360(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  mov    -0x360(%rbp),%eax
  cmp    -0x35c(%rbp),%eax
  jle    L64
  mov    -0x360(%rbp),%eax
  sub    -0x35c(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,%edx
  mov    -0x35c(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x334(%rbp)
  mov    -0x334(%rbp),%edx
  mov    -0x35c(%rbp),%ecx
  mov    -0x358(%rbp),%rax
  mov    %ecx,%esi
  mov    %rax,%rdi
  call   <mergeSort>
  mov    -0x334(%rbp),%eax
  lea    0x1(%rax),%ecx
  mov    -0x360(%rbp),%edx
  mov    -0x358(%rbp),%rax
  mov    %ecx,%esi
  mov    %rax,%rdi
  call   <mergeSort>
  mov    -0x35c(%rbp),%eax
  mov    %eax,-0x348(%rbp)
  jmp    L15
L21:
  mov    -0x348(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x358(%rbp),%rax
  add    %rax,%rdx
  mov    -0x348(%rbp),%eax
  sub    -0x35c(%rbp),%eax
  mov    (%rdx),%edx
  cltq
  mov    %edx,-0x330(%rbp,%rax,4)
  addl   $0x1,-0x348(%rbp)
L15:
  mov    -0x348(%rbp),%eax
  cmp    -0x334(%rbp),%eax
  jle    L21
  mov    -0x334(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0x344(%rbp)
  jmp    L115
L7:
  mov    -0x344(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x358(%rbp),%rax
  add    %rax,%rdx
  mov    -0x344(%rbp),%eax
  sub    -0x334(%rbp),%eax
  sub    $0x1,%eax
  mov    (%rdx),%edx
  cltq
  mov    %edx,-0x1a0(%rbp,%rax,4)
  addl   $0x1,-0x344(%rbp)
L115:
  mov    -0x344(%rbp),%eax
  cmp    -0x360(%rbp),%eax
  jle    L7
  movl   $0x0,-0x340(%rbp)
  movl   $0x0,-0x33c(%rbp)
  mov    -0x35c(%rbp),%eax
  mov    %eax,-0x338(%rbp)
  jmp    L92
L12:
  mov    -0x35c(%rbp),%edx
  mov    -0x340(%rbp),%eax
  add    %edx,%eax
  cmp    %eax,-0x334(%rbp)
  jl     L69
  mov    -0x334(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    -0x33c(%rbp),%eax
  add    %edx,%eax
  cmp    %eax,-0x360(%rbp)
  jl     L35
  mov    -0x340(%rbp),%eax
  cltq
  mov    -0x330(%rbp,%rax,4),%edx
  mov    -0x33c(%rbp),%eax
  cltq
  mov    -0x1a0(%rbp,%rax,4),%eax
  cmp    %eax,%edx
  jge    L69
L35:
  mov    -0x338(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x358(%rbp),%rax
  add    %rax,%rdx
  mov    -0x340(%rbp),%eax
  cltq
  mov    -0x330(%rbp,%rax,4),%eax
  mov    %eax,(%rdx)
  addl   $0x1,-0x340(%rbp)
  jmp    L84
L69:
  mov    -0x338(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x358(%rbp),%rax
  add    %rax,%rdx
  mov    -0x33c(%rbp),%eax
  cltq
  mov    -0x1a0(%rbp,%rax,4),%eax
  mov    %eax,(%rdx)
  addl   $0x1,-0x33c(%rbp)
L84:
  addl   $0x1,-0x338(%rbp)
L92:
  mov    -0x338(%rbp),%eax
  cmp    -0x360(%rbp),%eax
  jle    L12
L64:
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L54
  call   <__stack_chk_fail@plt>
L54:
  leave
  ret
```

assistant: ```c
void mergeSort(int arr[], int left, int right) {
  if (right > left) {
    int mid = left + ((right - left) / 2);
    mergeSort(arr, left, mid);
    mergeSort(arr, mid + 1, right);
    int subLeft[100];
    int subRight[100];
    for (int i = left; i <= mid; i++)
      subLeft[i - left] = arr[i];
    for (int i = mid + 1; i <= right; i++)
      subRight[i - mid - 1] = arr[i];
    int leftIndex = 0;
    int rightIndex = 0;
    for (int i = left; i <= right; i++)
      if (left + leftIndex <= mid && (mid + 1 + rightIndex > right || subLeft[leftIndex] < subRight[rightIndex])) {
        arr[i] = subLeft[leftIndex];
        leftIndex++;
      } else {
        arr[i] = subRight[rightIndex];
        rightIndex++;
      }
  }
}
```