user: 下面的汇编指令对应的C源代码是什么：

```asm
<split_n_sort>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x50,%rsp
  mov    %rdi,-0x48(%rbp)
  mov    %rsi,-0x50(%rbp)
  cmpq   $0x1,-0x50(%rbp)
  je     L18
  mov    -0x50(%rbp),%rax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,-0x34(%rbp)
  cmpq   $0x2,-0x50(%rbp)
  jne    L41
  mov    -0x34(%rbp),%eax
  cltq
  shl    $0x2,%eax
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,-0x10(%rbp)
  mov    -0x34(%rbp),%eax
  cltq
  shl    $0x2,%eax
  mov    %eax,%edx
  mov    -0x48(%rbp),%rcx
  mov    -0x10(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <memcpy@plt>
  mov    -0x34(%rbp),%eax
  cltq
  shl    $0x2,%eax
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,-0x8(%rbp)
  mov    -0x34(%rbp),%eax
  cltq
  shl    $0x2,%eax
  mov    %eax,%edx
  mov    -0x34(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rcx
  mov    -0x48(%rbp),%rax
  add    %rax,%rcx
  mov    -0x8(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <memcpy@plt>
  mov    -0x48(%rbp),%rdi
  mov    -0x34(%rbp),%ecx
  mov    -0x8(%rbp),%rdx
  mov    -0x34(%rbp),%esi
  mov    -0x10(%rbp),%rax
  mov    %rdi,%r8
  mov    %rax,%rdi
  call   <merge@plt>
  jmp    L6
L41:
  mov    -0x50(%rbp),%rax
  and    $0x1,%eax
  test   %rax,%rax
  je     L5
  mov    -0x34(%rbp),%eax
  add    $0x1,%eax
  movslq %eax,%rdx
  mov    -0x48(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <split_n_sort>
  mov    -0x34(%rbp),%eax
  cltq
  mov    -0x34(%rbp),%edx
  movslq %edx,%rdx
  add    $0x1,%rdx
  lea    0x0(,%rdx,4),%rcx
  mov    -0x48(%rbp),%rdx
  add    %rcx,%rdx
  mov    %rax,%rsi
  mov    %rdx,%rdi
  call   <split_n_sort>
  mov    -0x34(%rbp),%eax
  add    $0x1,%eax
  cltq
  shl    $0x2,%eax
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,-0x20(%rbp)
  mov    -0x34(%rbp),%eax
  add    $0x1,%eax
  cltq
  shl    $0x2,%eax
  mov    %eax,%edx
  mov    -0x48(%rbp),%rcx
  mov    -0x20(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <memcpy@plt>
  mov    -0x34(%rbp),%eax
  cltq
  shl    $0x2,%eax
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,-0x18(%rbp)
  mov    -0x34(%rbp),%eax
  cltq
  shl    $0x2,%eax
  mov    %eax,%edx
  mov    -0x34(%rbp),%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,4),%rcx
  mov    -0x48(%rbp),%rax
  add    %rax,%rcx
  mov    -0x18(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <memcpy@plt>
  mov    -0x34(%rbp),%eax
  lea    0x1(%rax),%esi
  mov    -0x48(%rbp),%rdi
  mov    -0x34(%rbp),%ecx
  mov    -0x18(%rbp),%rdx
  mov    -0x20(%rbp),%rax
  mov    %rdi,%r8
  mov    %rax,%rdi
  call   <merge@plt>
  jmp    L6
L5:
  mov    -0x34(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x48(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <split_n_sort>
  mov    -0x34(%rbp),%eax
  cltq
  mov    -0x34(%rbp),%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,4),%rcx
  mov    -0x48(%rbp),%rdx
  add    %rcx,%rdx
  mov    %rax,%rsi
  mov    %rdx,%rdi
  call   <split_n_sort>
  mov    -0x34(%rbp),%eax
  cltq
  shl    $0x2,%eax
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,-0x30(%rbp)
  mov    -0x34(%rbp),%eax
  cltq
  shl    $0x2,%eax
  mov    %eax,%edx
  mov    -0x48(%rbp),%rcx
  mov    -0x30(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <memcpy@plt>
  mov    -0x34(%rbp),%eax
  cltq
  shl    $0x2,%eax
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,-0x28(%rbp)
  mov    -0x34(%rbp),%eax
  cltq
  shl    $0x2,%eax
  mov    %eax,%edx
  mov    -0x34(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rcx
  mov    -0x48(%rbp),%rax
  add    %rax,%rcx
  mov    -0x28(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <memcpy@plt>
  mov    -0x48(%rbp),%rdi
  mov    -0x34(%rbp),%ecx
  mov    -0x28(%rbp),%rdx
  mov    -0x34(%rbp),%esi
  mov    -0x30(%rbp),%rax
  mov    %rdi,%r8
  mov    %rax,%rdi
  call   <merge@plt>
  jmp    L6
L18:
  nop
L6:
  leave
  ret
```

assistant: ```c
void split_n_sort(int array[], size_t count) {
  if (count == 1)
    return;
  int c2 = (int)count / 2;
  if (count == 2) {
    int *t1 = malloc(c2 * sizeof(*array));
    memcpy(t1, array, c2 * sizeof(*array));
    int *t2 = malloc(c2 * sizeof(*array));
    memcpy(t2, array + c2, c2 * sizeof(*array));
    merge(t1, c2, t2, c2, array);
  } else {
    if (count % 2) {
      split_n_sort(array, c2 + 1);
      split_n_sort(array + c2 + 1, c2);
      int *t1 = malloc((c2 + 1) * sizeof(*array));
      memcpy(t1, array, (c2 + 1) * sizeof(*array));
      int *t2 = malloc(c2 * sizeof(*array));
      memcpy(t2, array + c2 + 1, c2 * sizeof(*array));
      merge(t1, c2 + 1, t2, c2, array);
    } else {
      split_n_sort(array, c2);
      split_n_sort(array + c2, c2);
      int *t1 = malloc(c2 * sizeof(*array));
      memcpy(t1, array, c2 * sizeof(*array));
      int *t2 = malloc(c2 * sizeof(*array));
      memcpy(t2, array + c2, c2 * sizeof(*array));
      merge(t1, c2, t2, c2, array);
    }
  }
  return;
}
```