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

```asm
<mergeSortHelper>:
  endbr64
  mov    %esi,%r8d
  push   %r15
  mov    %edx,%r15d
  push   %r14
  not    %r8d
  push   %r13
  mov    %r8d,%r14d
  mov    %rdi,%r13
  push   %r12
  shr    $0x1f,%r14d
  push   %rbp
  mov    %r14d,%edi
  mov    %esi,%ebp
  push   %rbx
  mov    %rcx,%rbx
  sub    $0x28,%rsp
  mov    %edx,0x4(%rsp)
  call   <assert@plt>
  xor    %edi,%edi
  cmp    %r15d,%ebp
  setl   %dil
  call   <assert@plt>
  mov    %r15d,%eax
  sub    %ebp,%eax
  cmp    $0x1,%eax
  jle    L36
  lea    0x0(%rbp,%r15,1),%eax
  mov    %r14d,%edi
  mov    %eax,%r12d
  mov    %eax,0xc(%rsp)
  shr    $0x1f,%r12d
  add    %eax,%r12d
  call   <assert@plt>
  sar    %r12d
  xor    %edi,%edi
  cmp    %r12d,%ebp
  setl   %dil
  call   <assert@plt>
  mov    %r12d,%eax
  sub    %ebp,%eax
  cmp    $0x1,%eax
  jle    L60
  lea    0x0(%rbp,%r12,1),%esi
  mov    %r14d,%edi
  mov    %esi,%eax
  mov    %esi,0x10(%rsp)
  shr    $0x1f,%eax
  add    %esi,%eax
  sar    %eax
  mov    %eax,%r15d
  call   <assert@plt>
  xor    %edi,%edi
  cmp    %r15d,%ebp
  setl   %dil
  call   <assert@plt>
  mov    %r15d,%eax
  sub    %ebp,%eax
  cmp    $0x1,%eax
  jle    L189
  lea    0x0(%rbp,%r15,1),%ecx
  mov    %r14d,%edi
  mov    %ecx,%eax
  mov    %ecx,0x14(%rsp)
  shr    $0x1f,%eax
  add    %ecx,%eax
  sar    %eax
  mov    %eax,0x8(%rsp)
  call   <assert@plt>
  xor    %edi,%edi
  cmp    0x8(%rsp),%ebp
  setl   %dil
  call   <assert@plt>
  mov    0x8(%rsp),%edx
  mov    %edx,%eax
  sub    %ebp,%eax
  cmp    $0x1,%eax
  jle    L91
  add    %ebp,%edx
  mov    %r14d,%edi
  mov    %edx,%eax
  shr    $0x1f,%eax
  add    %edx,%eax
  sar    %eax
  mov    %eax,0x18(%rsp)
  call   <assert@plt>
  mov    0x18(%rsp),%r14d
  xor    %edi,%edi
  cmp    %r14d,%ebp
  setl   %dil
  call   <assert@plt>
  mov    %r14d,%eax
  sub    %ebp,%eax
  cmp    $0x1,%eax
  jle    L96
  lea    0x0(%rbp,%r14,1),%eax
  mov    %rbx,%rcx
  mov    %ebp,%esi
  mov    %r13,%rdi
  mov    %eax,%r9d
  shr    $0x1f,%r9d
  add    %eax,%r9d
  sar    %r9d
  mov    %r9d,%edx
  mov    %r9d,0x1c(%rsp)
  call   <mergeSortHelper>
  mov    0x1c(%rsp),%esi
  mov    %rbx,%rcx
  mov    %r14d,%edx
  mov    %r13,%rdi
  call   <mergeSortHelper>
  mov    0x1c(%rsp),%edx
  mov    %rbx,%r8
  mov    %r14d,%ecx
  mov    %ebp,%esi
  mov    %r13,%rdi
  call   <merge@plt>
L96:
  mov    0x18(%rsp),%r14d
  mov    0x8(%rsp),%edx
  mov    %rbx,%rcx
  mov    %r13,%rdi
  mov    %r14d,%esi
  call   <mergeSortHelper>
  mov    0x8(%rsp),%ecx
  mov    %rbx,%r8
  mov    %r14d,%edx
  mov    %ebp,%esi
  mov    %r13,%rdi
  call   <merge@plt>
L91:
  xor    %edi,%edi
  cmpl   $0xffffffff,0x14(%rsp)
  setge  %dil
  call   <assert@plt>
  mov    0x8(%rsp),%r14d
  xor    %edi,%edi
  cmp    %r14d,%r15d
  setg   %dil
  call   <assert@plt>
  mov    %r15d,%eax
  sub    %r14d,%eax
  cmp    $0x1,%eax
  jle    L149
  lea    (%r15,%r14,1),%eax
  mov    %r14d,%esi
  mov    %rbx,%rcx
  mov    %r13,%rdi
  mov    %eax,%r9d
  shr    $0x1f,%r9d
  add    %eax,%r9d
  sar    %r9d
  mov    %r9d,%edx
  mov    %r9d,0x14(%rsp)
  call   <mergeSortHelper>
  mov    0x14(%rsp),%esi
  mov    %rbx,%rcx
  mov    %r15d,%edx
  mov    %r13,%rdi
  call   <mergeSortHelper>
  mov    0x14(%rsp),%edx
  mov    %rbx,%r8
  mov    %r15d,%ecx
  mov    %r14d,%esi
  mov    %r13,%rdi
  call   <merge@plt>
L149:
  mov    0x8(%rsp),%edx
  mov    %rbx,%r8
  mov    %r15d,%ecx
  mov    %ebp,%esi
  mov    %r13,%rdi
  call   <merge@plt>
L189:
  xor    %r8d,%r8d
  cmpl   $0xffffffff,0x10(%rsp)
  setge  %r8b
  mov    %r8d,%edi
  mov    %r8d,0x8(%rsp)
  call   <assert@plt>
  xor    %edi,%edi
  cmp    %r15d,%r12d
  setg   %dil
  call   <assert@plt>
  mov    %r12d,%eax
  sub    %r15d,%eax
  cmp    $0x1,%eax
  jle    L94
  lea    (%r12,%r15,1),%r10d
  mov    0x8(%rsp),%edi
  mov    %r10d,%r14d
  mov    %r10d,0x10(%rsp)
  shr    $0x1f,%r14d
  add    %r10d,%r14d
  call   <assert@plt>
  sar    %r14d
  xor    %edi,%edi
  cmp    %r14d,%r15d
  setl   %dil
  call   <assert@plt>
  mov    %r14d,%eax
  mov    0x10(%rsp),%r10d
  sub    %r15d,%eax
  cmp    $0x1,%eax
  jle    L8
  lea    (%r15,%r14,1),%eax
  mov    %rbx,%rcx
  mov    %r15d,%esi
  mov    %r13,%rdi
  mov    %eax,%r9d
  shr    $0x1f,%r9d
  add    %eax,%r9d
  sar    %r9d
  mov    %r9d,%edx
  mov    %r9d,0x8(%rsp)
  call   <mergeSortHelper>
  mov    0x8(%rsp),%esi
  mov    %rbx,%rcx
  mov    %r14d,%edx
  mov    %r13,%rdi
  call   <mergeSortHelper>
  mov    0x8(%rsp),%edx
  mov    %rbx,%r8
  mov    %r14d,%ecx
  mov    %r15d,%esi
  mov    %r13,%rdi
  call   <merge@plt>
  mov    0x10(%rsp),%r10d
L8:
  xor    %edi,%edi
  cmp    $0xffffffff,%r10d
  setge  %dil
  call   <assert@plt>
  xor    %edi,%edi
  cmp    %r14d,%r12d
  setg   %dil
  call   <assert@plt>
  mov    %r12d,%eax
  sub    %r14d,%eax
  cmp    $0x1,%eax
  jle    L76
  lea    (%r12,%r14,1),%eax
  mov    %rbx,%rcx
  mov    %r14d,%esi
  mov    %r13,%rdi
  mov    %eax,%r9d
  shr    $0x1f,%r9d
  add    %eax,%r9d
  sar    %r9d
  mov    %r9d,%edx
  mov    %r9d,0x8(%rsp)
  call   <mergeSortHelper>
  mov    0x8(%rsp),%esi
  mov    %rbx,%rcx
  mov    %r12d,%edx
  mov    %r13,%rdi
  call   <mergeSortHelper>
  mov    0x8(%rsp),%edx
  mov    %rbx,%r8
  mov    %r12d,%ecx
  mov    %r14d,%esi
  mov    %r13,%rdi
  call   <merge@plt>
L76:
  mov    %rbx,%r8
  mov    %r12d,%ecx
  mov    %r14d,%edx
  mov    %r15d,%esi
  mov    %r13,%rdi
  call   <merge@plt>
L94:
  mov    %rbx,%r8
  mov    %r12d,%ecx
  mov    %r15d,%edx
  mov    %ebp,%esi
  mov    %r13,%rdi
  call   <merge@plt>
L60:
  xor    %r8d,%r8d
  cmpl   $0xffffffff,0xc(%rsp)
  setge  %r8b
  mov    %r8d,%edi
  mov    %r8d,0x8(%rsp)
  call   <assert@plt>
  mov    0x4(%rsp),%r14d
  xor    %edi,%edi
  cmp    %r12d,%r14d
  setg   %dil
  call   <assert@plt>
  mov    %r14d,%eax
  sub    %r12d,%eax
  cmp    $0x1,%eax
  jle    L141
  lea    (%r14,%r12,1),%eax
  mov    0x8(%rsp),%edi
  mov    %eax,%r14d
  mov    %eax,0xc(%rsp)
  shr    $0x1f,%r14d
  add    %eax,%r14d
  call   <assert@plt>
  sar    %r14d
  xor    %edi,%edi
  cmp    %r14d,%r12d
  setl   %dil
  call   <assert@plt>
  mov    %r14d,%eax
  sub    %r12d,%eax
  cmp    $0x1,%eax
  jle    L38
  lea    (%r12,%r14,1),%r10d
  mov    0x8(%rsp),%edi
  mov    %r10d,%r15d
  mov    %r10d,0x10(%rsp)
  shr    $0x1f,%r15d
  add    %r10d,%r15d
  call   <assert@plt>
  sar    %r15d
  xor    %edi,%edi
  cmp    %r15d,%r12d
  setl   %dil
  call   <assert@plt>
  mov    %r15d,%eax
  mov    0x10(%rsp),%r10d
  sub    %r12d,%eax
  cmp    $0x1,%eax
  jle    L88
  lea    (%r12,%r15,1),%eax
  mov    %rbx,%rcx
  mov    %r12d,%esi
  mov    %r13,%rdi
  mov    %eax,%r9d
  shr    $0x1f,%r9d
  add    %eax,%r9d
  sar    %r9d
  mov    %r9d,%edx
  mov    %r9d,0x8(%rsp)
  call   <mergeSortHelper>
  mov    0x8(%rsp),%esi
  mov    %rbx,%rcx
  mov    %r15d,%edx
  mov    %r13,%rdi
  call   <mergeSortHelper>
  mov    0x8(%rsp),%edx
  mov    %rbx,%r8
  mov    %r15d,%ecx
  mov    %r12d,%esi
  mov    %r13,%rdi
  call   <merge@plt>
  mov    0x10(%rsp),%r10d
L88:
  xor    %edi,%edi
  cmp    $0xffffffff,%r10d
  setge  %dil
  call   <assert@plt>
  xor    %edi,%edi
  cmp    %r15d,%r14d
  setg   %dil
  call   <assert@plt>
  mov    %r14d,%eax
  sub    %r15d,%eax
  cmp    $0x1,%eax
  jle    L83
  lea    (%r14,%r15,1),%eax
  mov    %rbx,%rcx
  mov    %r15d,%esi
  mov    %r13,%rdi
  mov    %eax,%r9d
  shr    $0x1f,%r9d
  add    %eax,%r9d
  sar    %r9d
  mov    %r9d,%edx
  mov    %r9d,0x8(%rsp)
  call   <mergeSortHelper>
  mov    0x8(%rsp),%esi
  mov    %rbx,%rcx
  mov    %r14d,%edx
  mov    %r13,%rdi
  call   <mergeSortHelper>
  mov    0x8(%rsp),%edx
  mov    %rbx,%r8
  mov    %r14d,%ecx
  mov    %r15d,%esi
  mov    %r13,%rdi
  call   <merge@plt>
L83:
  mov    %rbx,%r8
  mov    %r14d,%ecx
  mov    %r15d,%edx
  mov    %r12d,%esi
  mov    %r13,%rdi
  call   <merge@plt>
L38:
  xor    %r8d,%r8d
  cmpl   $0xffffffff,0xc(%rsp)
  setge  %r8b
  mov    %r8d,%edi
  mov    %r8d,0x8(%rsp)
  call   <assert@plt>
  mov    0x4(%rsp),%r15d
  xor    %edi,%edi
  cmp    %r14d,%r15d
  setg   %dil
  call   <assert@plt>
  mov    %r15d,%eax
  sub    %r14d,%eax
  cmp    $0x1,%eax
  jle    L110
  lea    (%r15,%r14,1),%eax
  mov    0x8(%rsp),%r8d
  mov    %eax,%r15d
  mov    %eax,0xc(%rsp)
  shr    $0x1f,%r15d
  mov    %r8d,%edi
  mov    %r8d,0x10(%rsp)
  add    %eax,%r15d
  call   <assert@plt>
  sar    %r15d
  xor    %edi,%edi
  cmp    %r15d,%r14d
  setl   %dil
  call   <assert@plt>
  mov    %r15d,%eax
  sub    %r14d,%eax
  cmp    $0x1,%eax
  jle    L135
  lea    (%r14,%r15,1),%r10d
  mov    0x10(%rsp),%edi
  mov    %r10d,%eax
  mov    %r10d,0x14(%rsp)
  shr    $0x1f,%eax
  add    %r10d,%eax
  sar    %eax
  mov    %eax,0x8(%rsp)
  call   <assert@plt>
  xor    %edi,%edi
  cmp    0x8(%rsp),%r14d
  setl   %dil
  call   <assert@plt>
  mov    0x8(%rsp),%esi
  mov    0x14(%rsp),%r10d
  mov    %esi,%eax
  sub    %r14d,%eax
  cmp    $0x1,%eax
  jle    L0
  lea    (%r14,%rsi,1),%eax
  mov    %rbx,%rcx
  mov    %r14d,%esi
  mov    %r13,%rdi
  mov    %eax,%r9d
  shr    $0x1f,%r9d
  add    %eax,%r9d
  sar    %r9d
  mov    %r9d,%edx
  mov    %r9d,0x10(%rsp)
  call   <mergeSortHelper>
  mov    0x8(%rsp),%edx
  mov    0x10(%rsp),%esi
  mov    %rbx,%rcx
  mov    %r13,%rdi
  call   <mergeSortHelper>
  mov    0x8(%rsp),%ecx
  mov    0x10(%rsp),%edx
  mov    %rbx,%r8
  mov    %r14d,%esi
  mov    %r13,%rdi
  call   <merge@plt>
  mov    0x14(%rsp),%r10d
L0:
  xor    %edi,%edi
  cmp    $0xffffffff,%r10d
  setge  %dil
  call   <assert@plt>
  xor    %edi,%edi
  cmp    0x8(%rsp),%r15d
  setg   %dil
  call   <assert@plt>
  mov    0x8(%rsp),%esi
  mov    %r15d,%eax
  sub    %esi,%eax
  cmp    $0x1,%eax
  jle    L37
  lea    (%r15,%rsi,1),%eax
  mov    %rbx,%rcx
  mov    %r13,%rdi
  mov    %eax,%r9d
  shr    $0x1f,%r9d
  add    %eax,%r9d
  sar    %r9d
  mov    %r9d,%edx
  mov    %r9d,0x10(%rsp)
  call   <mergeSortHelper>
  mov    0x10(%rsp),%esi
  mov    %rbx,%rcx
  mov    %r15d,%edx
  mov    %r13,%rdi
  call   <mergeSortHelper>
  mov    0x10(%rsp),%edx
  mov    0x8(%rsp),%esi
  mov    %rbx,%r8
  mov    %r15d,%ecx
  mov    %r13,%rdi
  call   <merge@plt>
L37:
  mov    0x8(%rsp),%edx
  mov    %rbx,%r8
  mov    %r15d,%ecx
  mov    %r14d,%esi
  mov    %r13,%rdi
  call   <merge@plt>
L135:
  xor    %r8d,%r8d
  cmpl   $0xffffffff,0xc(%rsp)
  setge  %r8b
  mov    %r8d,%edi
  mov    %r8d,0xc(%rsp)
  call   <assert@plt>
  xor    %edi,%edi
  cmp    %r15d,0x4(%rsp)
  setg   %dil
  call   <assert@plt>
  mov    0x4(%rsp),%edx
  mov    %edx,%eax
  sub    %r15d,%eax
  cmp    $0x1,%eax
  jle    L18
  lea    (%rdx,%r15,1),%r10d
  mov    0xc(%rsp),%edi
  mov    %r10d,%eax
  mov    %r10d,0x10(%rsp)
  shr    $0x1f,%eax
  add    %r10d,%eax
  sar    %eax
  mov    %eax,0x8(%rsp)
  call   <assert@plt>
  xor    %edi,%edi
  cmp    0x8(%rsp),%r15d
  setl   %dil
  call   <assert@plt>
  mov    0x8(%rsp),%ecx
  mov    0x10(%rsp),%r10d
  mov    %ecx,%eax
  sub    %r15d,%eax
  cmp    $0x1,%eax
  jle    L84
  lea    (%r15,%rcx,1),%eax
  mov    %r15d,%esi
  mov    %rbx,%rcx
  mov    %r13,%rdi
  mov    %eax,%r9d
  shr    $0x1f,%r9d
  add    %eax,%r9d
  sar    %r9d
  mov    %r9d,%edx
  mov    %r9d,0xc(%rsp)
  call   <mergeSortHelper>
  mov    0x8(%rsp),%edx
  mov    0xc(%rsp),%esi
  mov    %rbx,%rcx
  mov    %r13,%rdi
  call   <mergeSortHelper>
  mov    0x8(%rsp),%ecx
  mov    0xc(%rsp),%edx
  mov    %rbx,%r8
  mov    %r15d,%esi
  mov    %r13,%rdi
  call   <merge@plt>
  mov    0x10(%rsp),%r10d
L84:
  xor    %edi,%edi
  cmp    $0xffffffff,%r10d
  setge  %dil
  call   <assert@plt>
  mov    0x8(%rsp),%esi
  xor    %edi,%edi
  cmp    %esi,0x4(%rsp)
  setg   %dil
  call   <assert@plt>
  mov    0x4(%rsp),%edx
  mov    0x8(%rsp),%esi
  mov    %edx,%eax
  sub    %esi,%eax
  cmp    $0x1,%eax
  jle    L103
  mov    %edx,%eax
  mov    %rbx,%rcx
  mov    %r13,%rdi
  add    %esi,%eax
  mov    %eax,%r9d
  shr    $0x1f,%r9d
  add    %eax,%r9d
  sar    %r9d
  mov    %r9d,%edx
  mov    %r9d,0xc(%rsp)
  call   <mergeSortHelper>
  mov    0x4(%rsp),%edx
  mov    0xc(%rsp),%esi
  mov    %rbx,%rcx
  mov    %r13,%rdi
  call   <mergeSortHelper>
  mov    0x4(%rsp),%ecx
  mov    0xc(%rsp),%edx
  mov    %rbx,%r8
  mov    0x8(%rsp),%esi
  mov    %r13,%rdi
  call   <merge@plt>
L103:
  mov    0x4(%rsp),%ecx
  mov    0x8(%rsp),%edx
  mov    %rbx,%r8
  mov    %r15d,%esi
  mov    %r13,%rdi
  call   <merge@plt>
L18:
  mov    0x4(%rsp),%ecx
  mov    %rbx,%r8
  mov    %r15d,%edx
  mov    %r14d,%esi
  mov    %r13,%rdi
  call   <merge@plt>
L110:
  mov    0x4(%rsp),%ecx
  mov    %rbx,%r8
  mov    %r14d,%edx
  mov    %r12d,%esi
  mov    %r13,%rdi
  call   <merge@plt>
L141:
  mov    0x4(%rsp),%ecx
  add    $0x28,%rsp
  mov    %rbx,%r8
  mov    %r12d,%edx
  pop    %rbx
  mov    %ebp,%esi
  mov    %r13,%rdi
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    1060 <merge@plt>
  nop
L36:
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
void mergeSortHelper(int *const arr, const int start, const int end, int *const temp) {
  assert(start >= 0);
  assert(start < end);
  if (end - start < 2) {
    return;
  }
  int middle = (start + end) / 2;
  mergeSortHelper(arr, start, middle, temp);
  mergeSortHelper(arr, middle, end, temp);
  merge(arr, start, middle, end, temp);
}
```