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

```asm
<merge>:
  endbr64
  push   %rbp
  sub    %edx,%ecx
  mov    %rsp,%rbp
  push   %r15
  mov    %esi,%r15d
  push   %r14
  mov    %rdi,%r14
  push   %r13
  mov    %ecx,%r13d
  push   %r12
  push   %rbx
  mov    %edx,%ebx
  sub    $0x38,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  mov    %edx,%eax
  sub    %esi,%eax
  mov    %rsp,%rsi
  lea    0x1(%rax),%r9d
  mov    %eax,-0x44(%rbp)
  movslq %r9d,%rax
  lea    0xf(,%rax,4),%rax
  mov    %rax,%rdx
  and    $0xfffffffffffff000,%rax
  sub    %rax,%rsi
  and    $0xfffffffffffffff0,%rdx
  cmp    %rsi,%rsp
  je     L110
L35:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rsi,%rsp
  jne    L35
L110:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  jne    L134
L223:
  mov    %rsp,%r10
  test   %r9d,%r9d
  jle    L23
  mov    -0x44(%rbp),%eax
  mov    %r10,%rdi
  mov    %r9d,-0x50(%rbp)
  lea    0x4(,%rax,4),%rdx
  movslq %r15d,%rax
  lea    (%r14,%rax,4),%rsi
  call   <memcpy@plt>
  movslq %r13d,%rdx
  mov    %rsp,%rdi
  mov    -0x50(%rbp),%r9d
  mov    %rax,%r10
  lea    0xf(,%rdx,4),%rax
  mov    %rax,%rsi
  and    $0xfffffffffffff000,%rax
  sub    %rax,%rdi
  and    $0xfffffffffffffff0,%rsi
  cmp    %rdi,%rsp
  je     L19
L39:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rdi,%rsp
  jne    L39
L19:
  and    $0xfff,%esi
  sub    %rsi,%rsp
  test   %rsi,%rsi
  jne    L130
L82:
  mov    %rsp,%rdi
  mov    %rdi,-0x50(%rbp)
  test   %r13d,%r13d
  jle    L208
  add    $0x1,%ebx
  shl    $0x2,%rdx
  mov    %r9d,-0x48(%rbp)
  add    $0x1,%r15d
  movslq %ebx,%rbx
  mov    %r10,-0x58(%rbp)
  xor    %r12d,%r12d
  lea    (%r14,%rbx,4),%rsi
  xor    %ebx,%ebx
  call   <memcpy@plt>
  mov    -0x58(%rbp),%r10
  mov    -0x48(%rbp),%r9d
  mov    %rax,%rdi
  movslq %r15d,%rax
  jmp    L70
  nop
L32:
  add    $0x1,%r12d
L111:
  mov    %edx,-0x4(%r14,%rax,4)
  mov    %eax,%r15d
  add    $0x1,%rax
  cmp    %r9d,%r12d
  jge    L56
  cmp    %r13d,%ebx
  jge    L56
L70:
  movslq %r12d,%rdx
  movslq %ebx,%rsi
  mov    (%r10,%rdx,4),%edx
  mov    (%rdi,%rsi,4),%esi
  cmp    %esi,%edx
  jle    L32
  add    $0x1,%ebx
  mov    %esi,%edx
  jmp    L111
L208:
  xor    %ebx,%ebx
  xor    %r12d,%r12d
  nopw   0x0(%rax,%rax,1)
L56:
  cmp    %r12d,%r9d
  mov    %r9d,-0x58(%rbp)
  jle    L0
  movslq %r15d,%rax
  lea    (%r14,%rax,4),%rdi
  mov    -0x44(%rbp),%eax
  sub    %r12d,%eax
  lea    0x4(,%rax,4),%rdx
  movslq %r12d,%rax
  lea    (%r10,%rax,4),%rsi
  call   <memcpy@plt>
  mov    -0x58(%rbp),%r9d
  add    %r15d,%r9d
  mov    %r9d,%r15d
  sub    %r12d,%r15d
L0:
  cmp    %ebx,%r13d
  jle    L33
L228:
  mov    -0x50(%rbp),%rax
  lea    -0x1(%r13),%ecx
  movslq %r15d,%r15
  sub    %ebx,%ecx
  movslq %ebx,%rbx
  lea    (%r14,%r15,4),%rdi
  lea    0x4(,%rcx,4),%rdx
  lea    (%rax,%rbx,4),%rsi
  call   <memcpy@plt>
L33:
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L53
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
L23:
  movslq %r13d,%rdx
  mov    %rsp,%rdi
  lea    0xf(,%rdx,4),%rax
  mov    %rax,%rsi
  and    $0xfffffffffffff000,%rax
  sub    %rax,%rdi
  and    $0xfffffffffffffff0,%rsi
  cmp    %rdi,%rsp
  je     L58
L49:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rdi,%rsp
  jne    L49
L58:
  and    $0xfff,%esi
  sub    %rsi,%rsp
  test   %rsi,%rsi
  jne    L157
L100:
  mov    %rsp,-0x50(%rbp)
  test   %r13d,%r13d
  jle    L208
  add    $0x1,%ebx
  mov    -0x50(%rbp),%rdi
  shl    $0x2,%rdx
  movslq %ebx,%rbx
  lea    (%r14,%rbx,4),%rsi
  xor    %ebx,%ebx
  call   <memcpy@plt>
  jmp    L228
  nopl   0x0(%rax)
L134:
  orq    $0x0,-0x8(%rsp,%rdx,1)
  jmp    L223
  nopl   0x0(%rax,%rax,1)
L157:
  orq    $0x0,-0x8(%rsp,%rsi,1)
  jmp    L100
L130:
  orq    $0x0,-0x8(%rsp,%rsi,1)
  jmp    L82
L53:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
void merge(int arr[], int l, int m, int r) {
  int i, j, k;
  int n1 = m - l + 1;
  int n2 = r - m;
  int L[n1];
  for (i = 0; i < n1; i++) {
    L[i] = arr[l + i];
  }
  int R[n2];
  for (j = 0; j < n2; j++) {
    R[j] = arr[m + 1 + j];
  }
  i = 0;
  j = 0;
  k = l;
  while (i < n1 && j < n2) {
    if (L[i] <= R[j]) {
      arr[k] = L[i];
      i++;
    } else {
      arr[k] = R[j];
      j++;
    }
    k++;
  }
  while (i < n1) {
    arr[k] = L[i];
    i++;
    k++;
  }
  while (j < n2) {
    arr[k] = R[j];
    j++;
    k++;
  }
}
```