user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<splitmerge>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  sub    $0x60,%rsp
  mov    %rdi,-0x68(%rbp)
  mov    %esi,-0x6c(%rbp)
  mov    %edx,-0x70(%rbp)
  mov    %ecx,-0x74(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x28(%rbp)
  xor    %eax,%eax
  mov    %rsp,%rax
  mov    %rax,%rsi
  mov    -0x70(%rbp),%eax
  sub    -0x6c(%rbp),%eax
  movslq %eax,%rdx
  sub    $0x1,%rdx
  mov    %rdx,-0x48(%rbp)
  movslq %eax,%rdx
  mov    %rdx,%r14
  mov    $0x0,%r15d
  movslq %eax,%rdx
  mov    %rdx,%r12
  mov    $0x0,%r13d
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    $0x10,%eax
  sub    $0x1,%rax
  add    %rdx,%rax
  mov    $0x10,%edi
  mov    $0x0,%edx
  div    %rdi
  imul   $0x10,%rax,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffff000,%rcx
  mov    %rsp,%rdx
  sub    %rcx,%rdx
L95:
  cmp    %rdx,%rsp
  je     L46
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L95
L46:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  mov    %rax,%rdx
  and    $0xfff,%edx
  test   %rdx,%rdx
  je     L6
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L6:
  mov    %rsp,%rax
  add    $0x3,%rax
  shr    $0x2,%rax
  shl    $0x2,%rax
  mov    %rax,-0x40(%rbp)
  mov    -0x74(%rbp),%eax
  sub    -0x70(%rbp),%eax
  movslq %eax,%rdx
  sub    $0x1,%rdx
  mov    %rdx,-0x38(%rbp)
  movslq %eax,%rdx
  mov    %rdx,%r10
  mov    $0x0,%r11d
  movslq %eax,%rdx
  mov    %rdx,%r8
  mov    $0x0,%r9d
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    $0x10,%eax
  sub    $0x1,%rax
  add    %rdx,%rax
  mov    $0x10,%edi
  mov    $0x0,%edx
  div    %rdi
  imul   $0x10,%rax,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffff000,%rcx
  mov    %rsp,%rdx
  sub    %rcx,%rdx
L142:
  cmp    %rdx,%rsp
  je     L146
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L142
L146:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  mov    %rax,%rdx
  and    $0xfff,%edx
  test   %rdx,%rdx
  je     L33
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L33:
  mov    %rsp,%rax
  add    $0x3,%rax
  shr    $0x2,%rax
  shl    $0x2,%rax
  mov    %rax,-0x30(%rbp)
  mov    -0x6c(%rbp),%eax
  mov    %eax,-0x54(%rbp)
  jmp    L61
L20:
  mov    -0x54(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,%eax
  lea    0x0(,%rax,4),%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    -0x54(%rbp),%edx
  sub    $0x1,%edx
  mov    %eax,%ecx
  mov    -0x40(%rbp),%rax
  mov    %edx,%edx
  mov    %ecx,(%rax,%rdx,4)
  addl   $0x1,-0x54(%rbp)
L61:
  mov    -0x70(%rbp),%eax
  cmp    %eax,-0x54(%rbp)
  jbe    L20
  mov    -0x70(%rbp),%eax
  mov    %eax,-0x54(%rbp)
  jmp    L35
L13:
  mov    -0x54(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,%eax
  lea    0x0(,%rax,4),%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    -0x54(%rbp),%edx
  sub    $0x1,%edx
  mov    %eax,%ecx
  mov    -0x30(%rbp),%rax
  mov    %edx,%edx
  mov    %ecx,(%rax,%rdx,4)
  addl   $0x1,-0x54(%rbp)
L35:
  mov    -0x74(%rbp),%eax
  cmp    %eax,-0x54(%rbp)
  jbe    L13
  movl   $0x0,-0x50(%rbp)
  movl   $0x0,-0x4c(%rbp)
  mov    -0x6c(%rbp),%eax
  mov    %eax,-0x54(%rbp)
  jmp    L49
L112:
  mov    -0x40(%rbp),%rax
  mov    -0x50(%rbp),%edx
  mov    (%rax,%rdx,4),%ecx
  mov    -0x30(%rbp),%rax
  mov    -0x4c(%rbp),%edx
  mov    (%rax,%rdx,4),%eax
  cmp    %eax,%ecx
  jae    L88
  mov    -0x40(%rbp),%rax
  mov    -0x50(%rbp),%edx
  mov    (%rax,%rdx,4),%edx
  mov    -0x54(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,%eax
  lea    0x0(,%rax,4),%rcx
  mov    -0x68(%rbp),%rax
  add    %rcx,%rax
  mov    %edx,(%rax)
  addl   $0x1,-0x50(%rbp)
  jmp    L4
L88:
  mov    -0x30(%rbp),%rax
  mov    -0x4c(%rbp),%edx
  mov    (%rax,%rdx,4),%edx
  mov    -0x54(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,%eax
  lea    0x0(,%rax,4),%rcx
  mov    -0x68(%rbp),%rax
  add    %rcx,%rax
  mov    %edx,(%rax)
  addl   $0x1,-0x4c(%rbp)
L4:
  addl   $0x1,-0x54(%rbp)
  addl   $0x1,-0x54(%rbp)
L49:
  mov    -0x74(%rbp),%eax
  cmp    %eax,-0x54(%rbp)
  jbe    L112
  mov    %rsi,%rsp
  nop
  mov    -0x28(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L73
  call   <__stack_chk_fail@plt>
L73:
  lea    -0x20(%rbp),%rsp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
```

assistant: ```c
void splitmerge(int *array, int left_start, int left_end, int right_end) {
  unsigned int array_left[left_end - left_start];
  unsigned int array_right[right_end - left_end];
  unsigned int i;
  for (i = left_start; i <= left_end; i++) {
    array_left[i - 1] = array[i - 1];
  }
  for (i = left_end; i <= right_end; i++) {
    array_right[i - 1] = array[i - 1];
  }
  unsigned int j = 0, k = 0;
  for (i = left_start; i <= right_end; i++) {
    if (array_left[j] < array_right[k]) {
      array[i - 1] = array_left[j];
      j++;
    } else {
      array[i - 1] = array_right[k];
      k++;
    }
    i++;
  }
}
```