user: What is the c source code of the assembly code below?

```asm
<msort>:
  endbr64
  cmp    %edx,%esi
  jne    L190
  xor    %eax,%eax
  ret
  nopl   0x0(%rax,%rax,1)
L190:
  push   %r15
  mov    %rcx,%r8
  push   %r14
  mov    %rdi,%r14
  push   %r13
  push   %r12
  mov    %edx,%r12d
  lea    (%rsi,%rdx,1),%edx
  push   %rbp
  mov    %edx,%eax
  mov    %esi,%ebp
  push   %rbx
  shr    $0x1f,%eax
  add    %edx,%eax
  sar    %eax
  sub    $0x48,%rsp
  mov    %eax,%r11d
  movl   $0x0,(%rsp)
  cmp    %eax,%esi
  je     L64
  lea    (%rsi,%rax,1),%eax
  xor    %ebx,%ebx
  mov    %eax,%r13d
  shr    $0x1f,%r13d
  add    %eax,%r13d
  sar    %r13d
  cmp    %r13d,%esi
  jne    L203
  lea    0x1(%r13),%r9d
  cmp    %r9d,%r11d
  jne    L131
L180:
  mov    %r11d,%edx
  mov    %r13d,%ecx
  mov    %ebp,%esi
  mov    %r14,%rdi
  mov    %r8,0x8(%rsp)
  mov    %r11d,0x30(%rsp)
  call   <merge@plt>
  mov    0x8(%rsp),%r8
  mov    0x30(%rsp),%r11d
  add    %ebx,%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  and    $0x1,%eax
  sub    %edx,%eax
  mov    %eax,(%rsp)
L64:
  lea    0x1(%r11),%r15d
  cmp    %r12d,%r15d
  je     L29
  lea    (%r15,%r12,1),%eax
  movl   $0x0,0x30(%rsp)
  mov    %eax,%r13d
  shr    $0x1f,%r13d
  add    %eax,%r13d
  sar    %r13d
  cmp    %r13d,%r15d
  jne    L156
  lea    0x1(%r13),%ebx
  cmp    %ebx,%r12d
  jne    L127
L200:
  mov    %r12d,%edx
  mov    %r13d,%ecx
  mov    %r15d,%esi
  mov    %r14,%rdi
  mov    %r11d,0x10(%rsp)
  mov    %r8,0x8(%rsp)
  call   <merge@plt>
  add    0x30(%rsp),%eax
  mov    0x10(%rsp),%r11d
  mov    %eax,%edx
  mov    0x8(%rsp),%r8
  shr    $0x1f,%edx
  add    %edx,%eax
  and    $0x1,%eax
  sub    %edx,%eax
  add    %eax,(%rsp)
L29:
  mov    %r12d,%edx
  mov    %ebp,%esi
  mov    %r14,%rdi
  mov    %r11d,%ecx
  call   <merge@plt>
  add    (%rsp),%eax
  add    $0x48,%rsp
  mov    %eax,%edx
  pop    %rbx
  pop    %rbp
  shr    $0x1f,%edx
  pop    %r12
  pop    %r13
  add    %edx,%eax
  pop    %r14
  pop    %r15
  and    $0x1,%eax
  sub    %edx,%eax
  ret
  nopw   0x0(%rax,%rax,1)
L127:
  lea    (%r12,%rbx,1),%eax
  movl   $0x0,0x8(%rsp)
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,%r10d
  cmp    %eax,%ebx
  je     L86
  lea    (%rbx,%rax,1),%eax
  mov    %r8,%rcx
  mov    %ebx,%esi
  mov    %r14,%rdi
  mov    %eax,%r9d
  mov    %r11d,0x38(%rsp)
  shr    $0x1f,%r9d
  mov    %r10d,0x34(%rsp)
  add    %eax,%r9d
  mov    %r8,0x18(%rsp)
  sar    %r9d
  mov    %r9d,%edx
  mov    %r9d,0x10(%rsp)
  call   <msort>
  mov    0x10(%rsp),%r9d
  mov    0x18(%rsp),%r8
  mov    %r14,%rdi
  mov    0x34(%rsp),%r10d
  mov    %eax,0x8(%rsp)
  lea    0x1(%r9),%esi
  mov    %r8,%rcx
  mov    %r9d,0x28(%rsp)
  mov    %r10d,%edx
  mov    %r10d,0x18(%rsp)
  mov    %r8,0x20(%rsp)
  call   <msort>
  mov    0x20(%rsp),%r8
  mov    0x18(%rsp),%edx
  mov    %ebx,%esi
  mov    0x28(%rsp),%ecx
  mov    %r14,%rdi
  mov    %eax,0x10(%rsp)
  call   <merge@plt>
  mov    0x38(%rsp),%r11d
  mov    0x20(%rsp),%r8
  mov    %eax,%r9d
  mov    0x8(%rsp),%eax
  add    0x10(%rsp),%eax
  add    %r9d,%eax
  mov    0x18(%rsp),%r10d
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  and    $0x1,%eax
  sub    %edx,%eax
  mov    %eax,0x8(%rsp)
L86:
  lea    0x1(%r10),%r9d
  cmp    %r9d,%r12d
  je     L152
  lea    (%r12,%r9,1),%edx
  mov    %r9d,%esi
  mov    %r8,%rcx
  mov    %r14,%rdi
  mov    %edx,%eax
  mov    %r10d,0x3c(%rsp)
  shr    $0x1f,%eax
  mov    %r11d,0x38(%rsp)
  add    %edx,%eax
  mov    %r9d,0x34(%rsp)
  sar    %eax
  mov    %r8,0x20(%rsp)
  mov    %eax,%edx
  mov    %eax,0x10(%rsp)
  call   <msort>
  mov    0x20(%rsp),%r8
  mov    %r12d,%edx
  mov    %r14,%rdi
  mov    0x10(%rsp),%ecx
  mov    %eax,0x18(%rsp)
  mov    %r8,0x28(%rsp)
  lea    0x1(%rcx),%esi
  mov    %r8,%rcx
  call   <msort>
  mov    0x28(%rsp),%r8
  mov    %r12d,%edx
  mov    %r14,%rdi
  mov    0x10(%rsp),%ecx
  mov    0x34(%rsp),%esi
  mov    %eax,0x20(%rsp)
  call   <merge@plt>
  mov    0x3c(%rsp),%r10d
  mov    0x38(%rsp),%r11d
  mov    %eax,%r9d
  mov    0x18(%rsp),%eax
  add    0x20(%rsp),%eax
  add    %r9d,%eax
  mov    0x28(%rsp),%r8
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  and    $0x1,%eax
  sub    %edx,%eax
  add    %eax,0x8(%rsp)
L152:
  mov    %r12d,%edx
  mov    %r10d,%ecx
  mov    %ebx,%esi
  mov    %r14,%rdi
  mov    %r11d,0x18(%rsp)
  mov    %r8,0x10(%rsp)
  call   <merge@plt>
  add    0x8(%rsp),%eax
  mov    0x18(%rsp),%r11d
  mov    %eax,%edx
  mov    0x10(%rsp),%r8
  shr    $0x1f,%edx
  add    %edx,%eax
  and    $0x1,%eax
  sub    %edx,%eax
  add    %eax,0x30(%rsp)
  jmp    L200
  nopl   0x0(%rax,%rax,1)
L156:
  lea    (%r15,%r13,1),%eax
  xor    %ebx,%ebx
  mov    %eax,%r9d
  shr    $0x1f,%r9d
  add    %eax,%r9d
  sar    %r9d
  cmp    %r9d,%r15d
  je     L61
  lea    (%r15,%r9,1),%eax
  mov    %r8,%rcx
  mov    %r15d,%esi
  mov    %r14,%rdi
  mov    %eax,%r10d
  mov    %r11d,0x20(%rsp)
  shr    $0x1f,%r10d
  mov    %r9d,0x10(%rsp)
  add    %eax,%r10d
  mov    %r8,0x8(%rsp)
  mov    %r10d,%ebx
  sar    %ebx
  mov    %ebx,%edx
  call   <msort>
  mov    0x8(%rsp),%r8
  lea    0x1(%rbx),%esi
  mov    %r14,%rdi
  mov    0x10(%rsp),%edx
  mov    %eax,0x30(%rsp)
  mov    %r8,%rcx
  mov    %r8,0x18(%rsp)
  call   <msort>
  mov    0x18(%rsp),%r8
  mov    0x10(%rsp),%edx
  mov    %ebx,%ecx
  mov    %r15d,%esi
  mov    %r14,%rdi
  mov    %eax,0x8(%rsp)
  call   <merge@plt>
  mov    0x30(%rsp),%ebx
  add    0x8(%rsp),%ebx
  add    %eax,%ebx
  mov    0x20(%rsp),%r11d
  mov    0x18(%rsp),%r8
  mov    %ebx,%eax
  mov    0x10(%rsp),%r9d
  shr    $0x1f,%eax
  add    %eax,%ebx
  and    $0x1,%ebx
  sub    %eax,%ebx
L61:
  lea    0x1(%r9),%r10d
  cmp    %r10d,%r13d
  je     L142
  lea    0x0(%r13,%r10,1),%eax
  mov    %r10d,%esi
  mov    %r8,%rcx
  mov    %r14,%rdi
  mov    %eax,%edx
  mov    %r9d,0x34(%rsp)
  shr    $0x1f,%edx
  mov    %r11d,0x28(%rsp)
  add    %edx,%eax
  mov    %r10d,0x20(%rsp)
  sar    %eax
  mov    %r8,0x10(%rsp)
  mov    %eax,%edx
  mov    %eax,0x30(%rsp)
  call   <msort>
  mov    0x10(%rsp),%r8
  mov    0x30(%rsp),%edi
  mov    %r13d,%edx
  mov    %eax,0x8(%rsp)
  lea    0x1(%rdi),%esi
  mov    %r8,%rcx
  mov    %r14,%rdi
  mov    %r8,0x18(%rsp)
  call   <msort>
  mov    0x18(%rsp),%r8
  mov    %r13d,%edx
  mov    %r14,%rdi
  mov    0x30(%rsp),%ecx
  mov    0x20(%rsp),%esi
  mov    %eax,0x10(%rsp)
  call   <merge@plt>
  mov    0x34(%rsp),%r9d
  mov    0x28(%rsp),%r11d
  mov    %eax,%r10d
  mov    0x8(%rsp),%eax
  add    0x10(%rsp),%eax
  add    %r10d,%eax
  mov    0x18(%rsp),%r8
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  and    $0x1,%eax
  sub    %edx,%eax
  add    %eax,%ebx
L142:
  mov    %r13d,%edx
  mov    %r9d,%ecx
  mov    %r15d,%esi
  mov    %r14,%rdi
  mov    %r11d,0x10(%rsp)
  mov    %r8,0x8(%rsp)
  call   <merge@plt>
  mov    0x10(%rsp),%r11d
  mov    0x8(%rsp),%r8
  add    %ebx,%eax
  lea    0x1(%r13),%ebx
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  and    $0x1,%eax
  sub    %edx,%eax
  mov    %eax,0x30(%rsp)
  cmp    %ebx,%r12d
  je     L200
  jmp    L127
  nopl   0x0(%rax,%rax,1)
L131:
  lea    (%r11,%r9,1),%eax
  movl   $0x0,(%rsp)
  mov    %eax,%r15d
  shr    $0x1f,%r15d
  add    %eax,%r15d
  sar    %r15d
  cmp    %r15d,%r9d
  je     L66
  lea    (%r9,%r15,1),%eax
  mov    %r8,%rcx
  mov    %r9d,%esi
  mov    %r14,%rdi
  mov    %eax,%r10d
  mov    %r11d,0x28(%rsp)
  shr    $0x1f,%r10d
  mov    %r8,0x8(%rsp)
  add    %eax,%r10d
  mov    %r9d,0x20(%rsp)
  sar    %r10d
  mov    %r10d,%edx
  mov    %r10d,0x30(%rsp)
  call   <msort>
  mov    0x30(%rsp),%r10d
  mov    %r15d,%edx
  mov    %r14,%rdi
  mov    0x8(%rsp),%rcx
  mov    %eax,(%rsp)
  lea    0x1(%r10),%esi
  mov    %r10d,0x18(%rsp)
  call   <msort>
  mov    0x20(%rsp),%r9d
  mov    %r15d,%edx
  mov    %r14,%rdi
  mov    0x8(%rsp),%r8
  mov    0x18(%rsp),%ecx
  mov    %eax,0x30(%rsp)
  mov    %r9d,%esi
  mov    %r9d,0x8(%rsp)
  mov    %r8,0x10(%rsp)
  call   <merge@plt>
  mov    (%rsp),%edx
  add    0x30(%rsp),%edx
  add    %eax,%edx
  mov    0x28(%rsp),%r11d
  mov    0x10(%rsp),%r8
  mov    %edx,%eax
  mov    0x8(%rsp),%r9d
  shr    $0x1f,%eax
  add    %eax,%edx
  and    $0x1,%edx
  sub    %eax,%edx
  mov    %edx,(%rsp)
L66:
  lea    0x1(%r15),%r10d
  cmp    %r10d,%r11d
  je     L96
  lea    (%r11,%r10,1),%eax
  mov    %r10d,%esi
  mov    %r8,%rcx
  mov    %r14,%rdi
  mov    %eax,%edx
  mov    %r9d,0x34(%rsp)
  shr    $0x1f,%edx
  mov    %r10d,0x28(%rsp)
  add    %edx,%eax
  mov    %r11d,0x20(%rsp)
  sar    %eax
  mov    %r8,0x10(%rsp)
  mov    %eax,%edx
  mov    %eax,0x30(%rsp)
  call   <msort>
  mov    0x30(%rsp),%ecx
  mov    0x20(%rsp),%edx
  mov    %r14,%rdi
  mov    0x10(%rsp),%r8
  mov    %eax,0x8(%rsp)
  lea    0x1(%rcx),%esi
  mov    %r8,%rcx
  mov    %r8,0x18(%rsp)
  call   <msort>
  mov    0x30(%rsp),%ecx
  mov    0x28(%rsp),%esi
  mov    %r14,%rdi
  mov    0x20(%rsp),%r11d
  mov    0x18(%rsp),%r8
  mov    %eax,0x10(%rsp)
  mov    %r11d,%edx
  mov    %r11d,0x30(%rsp)
  call   <merge@plt>
  mov    0x34(%rsp),%r9d
  mov    0x18(%rsp),%r8
  mov    %eax,%r10d
  mov    0x8(%rsp),%eax
  add    0x10(%rsp),%eax
  add    %r10d,%eax
  mov    0x30(%rsp),%r11d
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  and    $0x1,%eax
  sub    %edx,%eax
  add    %eax,(%rsp)
L96:
  mov    %r11d,%edx
  mov    %r15d,%ecx
  mov    %r9d,%esi
  mov    %r14,%rdi
  mov    %r8,0x8(%rsp)
  mov    %r11d,0x30(%rsp)
  call   <merge@plt>
  add    (%rsp),%eax
  mov    0x8(%rsp),%r8
  mov    %eax,%edx
  mov    0x30(%rsp),%r11d
  shr    $0x1f,%edx
  add    %edx,%eax
  and    $0x1,%eax
  sub    %edx,%eax
  add    %eax,%ebx
  jmp    L180
  nopl   0x0(%rax)
L203:
  lea    (%rsi,%r13,1),%eax
  mov    %eax,%r9d
  shr    $0x1f,%r9d
  add    %eax,%r9d
  sar    %r9d
  cmp    %r9d,%esi
  je     L155
  lea    (%rsi,%r9,1),%eax
  mov    %r11d,0x10(%rsp)
  mov    %eax,%r15d
  mov    %r9d,0x30(%rsp)
  shr    $0x1f,%r15d
  mov    %rcx,(%rsp)
  add    %eax,%r15d
  sar    %r15d
  mov    %r15d,%edx
  call   <msort>
  mov    (%rsp),%r8
  mov    0x30(%rsp),%edx
  mov    %r14,%rdi
  lea    0x1(%r15),%esi
  mov    %eax,%ebx
  mov    %r8,%rcx
  mov    %r8,0x8(%rsp)
  call   <msort>
  mov    0x8(%rsp),%r8
  mov    0x30(%rsp),%edx
  mov    %ebp,%esi
  mov    %r15d,%ecx
  mov    %r14,%rdi
  mov    %eax,(%rsp)
  call   <merge@plt>
  add    (%rsp),%ebx
  mov    0x10(%rsp),%r11d
  add    %eax,%ebx
  mov    0x8(%rsp),%r8
  mov    0x30(%rsp),%r9d
  mov    %ebx,%eax
  shr    $0x1f,%eax
  add    %eax,%ebx
  and    $0x1,%ebx
  sub    %eax,%ebx
L155:
  lea    0x1(%r9),%r15d
  cmp    %r15d,%r13d
  je     L163
  lea    0x0(%r13,%r15,1),%eax
  mov    %r8,%rcx
  mov    %r15d,%esi
  mov    %r14,%rdi
  mov    %eax,%r10d
  mov    %r9d,0x20(%rsp)
  shr    $0x1f,%r10d
  mov    %r11d,0x18(%rsp)
  add    %eax,%r10d
  mov    %r8,0x8(%rsp)
  sar    %r10d
  mov    %r10d,%edx
  mov    %r10d,0x30(%rsp)
  call   <msort>
  mov    0x30(%rsp),%r10d
  mov    %r13d,%edx
  mov    %r14,%rdi
  mov    0x8(%rsp),%rcx
  mov    %eax,(%rsp)
  lea    0x1(%r10),%esi
  mov    %r10d,0x10(%rsp)
  call   <msort>
  mov    0x8(%rsp),%r8
  mov    %r13d,%edx
  mov    %r15d,%esi
  mov    0x10(%rsp),%ecx
  mov    %r14,%rdi
  mov    %eax,0x30(%rsp)
  call   <merge@plt>
  mov    (%rsp),%edx
  add    0x30(%rsp),%edx
  add    %eax,%edx
  mov    0x20(%rsp),%r9d
  mov    0x18(%rsp),%r11d
  mov    %edx,%eax
  mov    0x8(%rsp),%r8
  shr    $0x1f,%eax
  add    %eax,%edx
  and    $0x1,%edx
  sub    %eax,%edx
  add    %edx,%ebx
L163:
  mov    %r9d,%ecx
  mov    %r13d,%edx
  mov    %ebp,%esi
  mov    %r14,%rdi
  mov    %r11d,0x30(%rsp)
  mov    %r8,(%rsp)
  call   <merge@plt>
  mov    0x30(%rsp),%r11d
  lea    0x1(%r13),%r9d
  mov    (%rsp),%r8
  add    %ebx,%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  lea    (%rax,%rdx,1),%ebx
  and    $0x1,%ebx
  sub    %edx,%ebx
  cmp    %r9d,%r11d
  je     L180
  jmp    L131
```

assistant: ```c
int msort(int *a, int lo, int hi, int *count) {
  if (lo == hi)
    return 0;
  else {
    int mid = (lo + hi) / 2;
    int x = msort(a, lo, mid, count);
    int y = msort(a, mid + 1, hi, count);
    int z = merge(a, lo, hi, mid, count);
    return (x + y + z) % 2;
  }
}
```