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

```asm
<intern_merge_sort>:
  endbr64
  mov    %edx,%eax
  sub    %esi,%eax
  cmp    $0x1,%eax
  jle    L265
  lea    (%rdx,%rsi,1),%eax
  push   %r15
  push   %r14
  mov    %edx,%r14d
  push   %r13
  mov    %esi,%r13d
  push   %r12
  mov    %eax,%r12d
  shr    $0x1f,%r12d
  push   %rbp
  mov    %rdi,%rbp
  add    %eax,%r12d
  push   %rbx
  mov    %rcx,%rbx
  sar    %r12d
  mov    %r12d,%eax
  sub    %esi,%eax
  sub    $0x18,%rsp
  cmp    $0x1,%eax
  jle    L25
  lea    (%rsi,%r12,1),%eax
  mov    %eax,%r9d
  shr    $0x1f,%r9d
  add    %eax,%r9d
  sar    %r9d
  mov    %r9d,%eax
  sub    %esi,%eax
  cmp    $0x1,%eax
  jle    L64
  lea    (%rsi,%r9,1),%eax
  mov    %eax,%r15d
  shr    $0x1f,%r15d
  add    %eax,%r15d
  sar    %r15d
  mov    %r15d,%eax
  sub    %esi,%eax
  cmp    $0x1,%eax
  jle    L127
  lea    (%rsi,%r15,1),%eax
  mov    %eax,%r10d
  shr    $0x1f,%r10d
  add    %eax,%r10d
  sar    %r10d
  mov    %r10d,%eax
  sub    %esi,%eax
  cmp    $0x1,%eax
  jle    L55
  lea    (%rsi,%r10,1),%eax
  mov    %r9d,0xc(%rsp)
  mov    %eax,%r11d
  mov    %r10d,0x4(%rsp)
  shr    $0x1f,%r11d
  add    %eax,%r11d
  sar    %r11d
  mov    %r11d,%edx
  mov    %r11d,0x8(%rsp)
  call   <intern_merge_sort>
  mov    0x4(%rsp),%edx
  mov    0x8(%rsp),%esi
  mov    %rbx,%rcx
  mov    %rbp,%rdi
  call   <intern_merge_sort>
  mov    0x4(%rsp),%ecx
  mov    0x8(%rsp),%edx
  mov    %rbx,%r8
  mov    %r13d,%esi
  mov    %rbp,%rdi
  call   <merge@plt>
  mov    0xc(%rsp),%r9d
  mov    0x4(%rsp),%r10d
L55:
  mov    %r15d,%eax
  sub    %r10d,%eax
  cmp    $0x1,%eax
  jle    L49
  lea    (%r15,%r10,1),%eax
  mov    %r10d,%esi
  mov    %rbx,%rcx
  mov    %rbp,%rdi
  mov    %eax,%r11d
  mov    %r9d,0xc(%rsp)
  shr    $0x1f,%r11d
  mov    %r10d,0x8(%rsp)
  add    %eax,%r11d
  sar    %r11d
  mov    %r11d,%edx
  mov    %r11d,0x4(%rsp)
  call   <intern_merge_sort>
  mov    0x4(%rsp),%esi
  mov    %rbx,%rcx
  mov    %r15d,%edx
  mov    %rbp,%rdi
  call   <intern_merge_sort>
  mov    0x8(%rsp),%r10d
  mov    %rbx,%r8
  mov    %r15d,%ecx
  mov    0x4(%rsp),%edx
  mov    %rbp,%rdi
  mov    %r10d,%esi
  mov    %r10d,0x4(%rsp)
  call   <merge@plt>
  mov    0xc(%rsp),%r9d
  mov    0x4(%rsp),%r10d
L49:
  mov    %rbx,%r8
  mov    %r15d,%ecx
  mov    %r10d,%edx
  mov    %r13d,%esi
  mov    %rbp,%rdi
  mov    %r9d,0x4(%rsp)
  call   <merge@plt>
  mov    0x4(%rsp),%r9d
L127:
  mov    %r9d,%eax
  sub    %r15d,%eax
  cmp    $0x1,%eax
  jle    L32
  lea    (%r9,%r15,1),%eax
  mov    %rbx,%rcx
  mov    %r15d,%esi
  mov    %rbp,%rdi
  mov    %eax,%r10d
  mov    %r9d,0x4(%rsp)
  shr    $0x1f,%r10d
  add    %eax,%r10d
  sar    %r10d
  mov    %r10d,%edx
  mov    %r10d,0x8(%rsp)
  call   <intern_merge_sort>
  mov    0x4(%rsp),%edx
  mov    0x8(%rsp),%esi
  mov    %rbx,%rcx
  mov    %rbp,%rdi
  call   <intern_merge_sort>
  mov    0x4(%rsp),%ecx
  mov    0x8(%rsp),%edx
  mov    %rbx,%r8
  mov    %r15d,%esi
  mov    %rbp,%rdi
  call   <merge@plt>
  mov    0x4(%rsp),%r9d
L32:
  mov    %r9d,%ecx
  mov    %rbx,%r8
  mov    %r15d,%edx
  mov    %r13d,%esi
  mov    %rbp,%rdi
  mov    %r9d,0x4(%rsp)
  call   <merge@plt>
  mov    0x4(%rsp),%r9d
L64:
  mov    %r12d,%eax
  sub    %r9d,%eax
  cmp    $0x1,%eax
  jle    L253
  lea    (%r12,%r9,1),%eax
  mov    %eax,%r15d
  shr    $0x1f,%r15d
  add    %eax,%r15d
  sar    %r15d
  mov    %r15d,%eax
  sub    %r9d,%eax
  cmp    $0x1,%eax
  jle    L5
  lea    (%r9,%r15,1),%eax
  mov    %eax,%r10d
  shr    $0x1f,%r10d
  add    %eax,%r10d
  sar    %r10d
  mov    %r10d,%eax
  sub    %r9d,%eax
  cmp    $0x1,%eax
  jle    L95
  lea    (%r9,%r10,1),%eax
  mov    %r9d,%esi
  mov    %rbx,%rcx
  mov    %rbp,%rdi
  mov    %eax,%r11d
  mov    %r10d,0x8(%rsp)
  shr    $0x1f,%r11d
  mov    %r9d,0xc(%rsp)
  add    %eax,%r11d
  sar    %r11d
  mov    %r11d,%edx
  mov    %r11d,0x4(%rsp)
  call   <intern_merge_sort>
  mov    0x8(%rsp),%edx
  mov    0x4(%rsp),%esi
  mov    %rbx,%rcx
  mov    %rbp,%rdi
  call   <intern_merge_sort>
  mov    0xc(%rsp),%r9d
  mov    %rbx,%r8
  mov    %rbp,%rdi
  mov    0x4(%rsp),%edx
  mov    0x8(%rsp),%ecx
  mov    %r9d,%esi
  mov    %r9d,0x4(%rsp)
  call   <merge@plt>
  mov    0x8(%rsp),%r10d
  mov    0x4(%rsp),%r9d
L95:
  mov    %r15d,%eax
  sub    %r10d,%eax
  cmp    $0x1,%eax
  jle    L203
  lea    (%r15,%r10,1),%eax
  mov    %r10d,%esi
  mov    %rbx,%rcx
  mov    %rbp,%rdi
  mov    %eax,%r11d
  mov    %r9d,0xc(%rsp)
  shr    $0x1f,%r11d
  mov    %r10d,0x8(%rsp)
  add    %eax,%r11d
  sar    %r11d
  mov    %r11d,%edx
  mov    %r11d,0x4(%rsp)
  call   <intern_merge_sort>
  mov    0x4(%rsp),%esi
  mov    %rbx,%rcx
  mov    %r15d,%edx
  mov    %rbp,%rdi
  call   <intern_merge_sort>
  mov    0x8(%rsp),%r10d
  mov    %rbx,%r8
  mov    %r15d,%ecx
  mov    0x4(%rsp),%edx
  mov    %rbp,%rdi
  mov    %r10d,%esi
  mov    %r10d,0x4(%rsp)
  call   <merge@plt>
  mov    0xc(%rsp),%r9d
  mov    0x4(%rsp),%r10d
L203:
  mov    %r9d,%esi
  mov    %rbx,%r8
  mov    %r15d,%ecx
  mov    %r10d,%edx
  mov    %rbp,%rdi
  mov    %r9d,0x4(%rsp)
  call   <merge@plt>
  mov    0x4(%rsp),%r9d
L5:
  mov    %r12d,%eax
  sub    %r15d,%eax
  cmp    $0x1,%eax
  jle    L181
  lea    (%r12,%r15,1),%eax
  mov    %eax,%r10d
  shr    $0x1f,%r10d
  add    %eax,%r10d
  sar    %r10d
  mov    %r10d,%eax
  sub    %r15d,%eax
  cmp    $0x1,%eax
  jle    L124
  lea    (%r15,%r10,1),%eax
  mov    %rbx,%rcx
  mov    %r15d,%esi
  mov    %rbp,%rdi
  mov    %eax,%r11d
  mov    %r9d,0xc(%rsp)
  shr    $0x1f,%r11d
  mov    %r10d,0x4(%rsp)
  add    %eax,%r11d
  sar    %r11d
  mov    %r11d,%edx
  mov    %r11d,0x8(%rsp)
  call   <intern_merge_sort>
  mov    0x4(%rsp),%edx
  mov    0x8(%rsp),%esi
  mov    %rbx,%rcx
  mov    %rbp,%rdi
  call   <intern_merge_sort>
  mov    0x4(%rsp),%ecx
  mov    0x8(%rsp),%edx
  mov    %rbx,%r8
  mov    %r15d,%esi
  mov    %rbp,%rdi
  call   <merge@plt>
  mov    0xc(%rsp),%r9d
  mov    0x4(%rsp),%r10d
L124:
  mov    %r12d,%eax
  sub    %r10d,%eax
  cmp    $0x1,%eax
  jle    L81
  lea    (%r12,%r10,1),%eax
  mov    %r10d,%esi
  mov    %rbx,%rcx
  mov    %rbp,%rdi
  mov    %eax,%r11d
  mov    %r9d,0xc(%rsp)
  shr    $0x1f,%r11d
  mov    %r10d,0x8(%rsp)
  add    %eax,%r11d
  sar    %r11d
  mov    %r11d,%edx
  mov    %r11d,0x4(%rsp)
  call   <intern_merge_sort>
  mov    0x4(%rsp),%esi
  mov    %rbx,%rcx
  mov    %r12d,%edx
  mov    %rbp,%rdi
  call   <intern_merge_sort>
  mov    0x8(%rsp),%r10d
  mov    %rbx,%r8
  mov    %r12d,%ecx
  mov    0x4(%rsp),%edx
  mov    %rbp,%rdi
  mov    %r10d,%esi
  mov    %r10d,0x4(%rsp)
  call   <merge@plt>
  mov    0xc(%rsp),%r9d
  mov    0x4(%rsp),%r10d
L81:
  mov    %rbx,%r8
  mov    %r12d,%ecx
  mov    %r10d,%edx
  mov    %r15d,%esi
  mov    %rbp,%rdi
  mov    %r9d,0x4(%rsp)
  call   <merge@plt>
  mov    0x4(%rsp),%r9d
L181:
  mov    %r9d,%esi
  mov    %rbx,%r8
  mov    %r12d,%ecx
  mov    %r15d,%edx
  mov    %rbp,%rdi
  mov    %r9d,0x4(%rsp)
  call   <merge@plt>
  mov    0x4(%rsp),%r9d
L253:
  mov    %rbx,%r8
  mov    %r12d,%ecx
  mov    %r9d,%edx
  mov    %r13d,%esi
  mov    %rbp,%rdi
  call   <merge@plt>
L25:
  mov    %r14d,%eax
  sub    %r12d,%eax
  cmp    $0x1,%eax
  jle    L152
  lea    (%r14,%r12,1),%eax
  mov    %eax,%r15d
  shr    $0x1f,%r15d
  add    %eax,%r15d
  sar    %r15d
  mov    %r15d,%eax
  sub    %r12d,%eax
  cmp    $0x1,%eax
  jle    L148
  lea    (%r12,%r15,1),%eax
  mov    %eax,%r9d
  shr    $0x1f,%r9d
  add    %eax,%r9d
  sar    %r9d
  mov    %r9d,%eax
  sub    %r12d,%eax
  cmp    $0x1,%eax
  jle    L103
  lea    (%r12,%r9,1),%eax
  mov    %eax,%r10d
  shr    $0x1f,%r10d
  add    %eax,%r10d
  sar    %r10d
  mov    %r10d,%eax
  sub    %r12d,%eax
  cmp    $0x1,%eax
  jle    L99
  lea    (%r12,%r10,1),%eax
  mov    %rbx,%rcx
  mov    %r12d,%esi
  mov    %rbp,%rdi
  mov    %eax,%r11d
  mov    %r9d,0xc(%rsp)
  shr    $0x1f,%r11d
  mov    %r10d,0x4(%rsp)
  add    %eax,%r11d
  sar    %r11d
  mov    %r11d,%edx
  mov    %r11d,0x8(%rsp)
  call   <intern_merge_sort>
  mov    0x4(%rsp),%edx
  mov    0x8(%rsp),%esi
  mov    %rbx,%rcx
  mov    %rbp,%rdi
  call   <intern_merge_sort>
  mov    0x4(%rsp),%ecx
  mov    0x8(%rsp),%edx
  mov    %rbx,%r8
  mov    %r12d,%esi
  mov    %rbp,%rdi
  call   <merge@plt>
  mov    0xc(%rsp),%r9d
  mov    0x4(%rsp),%r10d
L99:
  mov    %r9d,%eax
  sub    %r10d,%eax
  cmp    $0x1,%eax
  jle    L197
  lea    (%r9,%r10,1),%eax
  mov    %r10d,%esi
  mov    %rbx,%rcx
  mov    %rbp,%rdi
  mov    %eax,%r11d
  mov    %r9d,0x8(%rsp)
  shr    $0x1f,%r11d
  mov    %r10d,0xc(%rsp)
  add    %eax,%r11d
  sar    %r11d
  mov    %r11d,%edx
  mov    %r11d,0x4(%rsp)
  call   <intern_merge_sort>
  mov    0x8(%rsp),%edx
  mov    0x4(%rsp),%esi
  mov    %rbx,%rcx
  mov    %rbp,%rdi
  call   <intern_merge_sort>
  mov    0xc(%rsp),%r10d
  mov    %rbx,%r8
  mov    %rbp,%rdi
  mov    0x4(%rsp),%edx
  mov    0x8(%rsp),%ecx
  mov    %r10d,%esi
  mov    %r10d,0x4(%rsp)
  call   <merge@plt>
  mov    0x8(%rsp),%r9d
  mov    0x4(%rsp),%r10d
L197:
  mov    %r9d,%ecx
  mov    %rbx,%r8
  mov    %r10d,%edx
  mov    %r12d,%esi
  mov    %rbp,%rdi
  mov    %r9d,0x4(%rsp)
  call   <merge@plt>
  mov    0x4(%rsp),%r9d
L103:
  mov    %r15d,%eax
  sub    %r9d,%eax
  cmp    $0x1,%eax
  jle    L211
  lea    (%r15,%r9,1),%eax
  mov    %r9d,%esi
  mov    %rbx,%rcx
  mov    %rbp,%rdi
  mov    %eax,%r10d
  mov    %r9d,0x8(%rsp)
  shr    $0x1f,%r10d
  add    %eax,%r10d
  sar    %r10d
  mov    %r10d,%edx
  mov    %r10d,0x4(%rsp)
  call   <intern_merge_sort>
  mov    0x4(%rsp),%esi
  mov    %rbx,%rcx
  mov    %r15d,%edx
  mov    %rbp,%rdi
  call   <intern_merge_sort>
  mov    0x8(%rsp),%r9d
  mov    %rbx,%r8
  mov    %r15d,%ecx
  mov    0x4(%rsp),%edx
  mov    %rbp,%rdi
  mov    %r9d,%esi
  mov    %r9d,0x4(%rsp)
  call   <merge@plt>
  mov    0x4(%rsp),%r9d
L211:
  mov    %rbx,%r8
  mov    %r15d,%ecx
  mov    %r9d,%edx
  mov    %r12d,%esi
  mov    %rbp,%rdi
  call   <merge@plt>
L148:
  mov    %r14d,%eax
  sub    %r15d,%eax
  cmp    $0x1,%eax
  jle    L52
  lea    (%r14,%r15,1),%eax
  mov    %eax,%r9d
  shr    $0x1f,%r9d
  add    %eax,%r9d
  sar    %r9d
  mov    %r9d,%eax
  sub    %r15d,%eax
  cmp    $0x1,%eax
  jle    L43
  lea    (%r15,%r9,1),%eax
  mov    %eax,%r10d
  shr    $0x1f,%r10d
  add    %eax,%r10d
  sar    %r10d
  mov    %r10d,%eax
  sub    %r15d,%eax
  cmp    $0x1,%eax
  jle    L188
  lea    (%r15,%r10,1),%eax
  mov    %rbx,%rcx
  mov    %r15d,%esi
  mov    %rbp,%rdi
  mov    %eax,%r11d
  mov    %r9d,0xc(%rsp)
  shr    $0x1f,%r11d
  mov    %r10d,0x4(%rsp)
  add    %eax,%r11d
  sar    %r11d
  mov    %r11d,%edx
  mov    %r11d,0x8(%rsp)
  call   <intern_merge_sort>
  mov    0x4(%rsp),%edx
  mov    0x8(%rsp),%esi
  mov    %rbx,%rcx
  mov    %rbp,%rdi
  call   <intern_merge_sort>
  mov    0x4(%rsp),%ecx
  mov    0x8(%rsp),%edx
  mov    %rbx,%r8
  mov    %r15d,%esi
  mov    %rbp,%rdi
  call   <merge@plt>
  mov    0xc(%rsp),%r9d
  mov    0x4(%rsp),%r10d
L188:
  mov    %r9d,%eax
  sub    %r10d,%eax
  cmp    $0x1,%eax
  jle    L218
  lea    (%r9,%r10,1),%eax
  mov    %r10d,%esi
  mov    %rbx,%rcx
  mov    %rbp,%rdi
  mov    %eax,%r11d
  mov    %r9d,0x8(%rsp)
  shr    $0x1f,%r11d
  mov    %r10d,0xc(%rsp)
  add    %eax,%r11d
  sar    %r11d
  mov    %r11d,%edx
  mov    %r11d,0x4(%rsp)
  call   <intern_merge_sort>
  mov    0x8(%rsp),%edx
  mov    0x4(%rsp),%esi
  mov    %rbx,%rcx
  mov    %rbp,%rdi
  call   <intern_merge_sort>
  mov    0xc(%rsp),%r10d
  mov    %rbx,%r8
  mov    %rbp,%rdi
  mov    0x4(%rsp),%edx
  mov    0x8(%rsp),%ecx
  mov    %r10d,%esi
  mov    %r10d,0x4(%rsp)
  call   <merge@plt>
  mov    0x8(%rsp),%r9d
  mov    0x4(%rsp),%r10d
L218:
  mov    %r9d,%ecx
  mov    %rbx,%r8
  mov    %r10d,%edx
  mov    %r15d,%esi
  mov    %rbp,%rdi
  mov    %r9d,0x4(%rsp)
  call   <merge@plt>
  mov    0x4(%rsp),%r9d
L43:
  mov    %r14d,%eax
  sub    %r9d,%eax
  cmp    $0x1,%eax
  jle    L121
  lea    (%r14,%r9,1),%eax
  mov    %eax,%r10d
  shr    $0x1f,%r10d
  add    %eax,%r10d
  sar    %r10d
  mov    %r10d,%eax
  sub    %r9d,%eax
  cmp    $0x1,%eax
  jle    L7
  lea    (%r9,%r10,1),%eax
  mov    %r9d,%esi
  mov    %rbx,%rcx
  mov    %rbp,%rdi
  mov    %eax,%r11d
  mov    %r10d,0x8(%rsp)
  shr    $0x1f,%r11d
  mov    %r9d,0xc(%rsp)
  add    %eax,%r11d
  sar    %r11d
  mov    %r11d,%edx
  mov    %r11d,0x4(%rsp)
  call   <intern_merge_sort>
  mov    0x8(%rsp),%edx
  mov    0x4(%rsp),%esi
  mov    %rbx,%rcx
  mov    %rbp,%rdi
  call   <intern_merge_sort>
  mov    0xc(%rsp),%r9d
  mov    %rbx,%r8
  mov    %rbp,%rdi
  mov    0x4(%rsp),%edx
  mov    0x8(%rsp),%ecx
  mov    %r9d,%esi
  mov    %r9d,0x4(%rsp)
  call   <merge@plt>
  mov    0x8(%rsp),%r10d
  mov    0x4(%rsp),%r9d
L7:
  mov    %r14d,%eax
  sub    %r10d,%eax
  cmp    $0x1,%eax
  jle    L54
  lea    (%r14,%r10,1),%eax
  mov    %r10d,%esi
  mov    %rbx,%rcx
  mov    %rbp,%rdi
  mov    %eax,%r11d
  mov    %r9d,0xc(%rsp)
  shr    $0x1f,%r11d
  mov    %r10d,0x8(%rsp)
  add    %eax,%r11d
  sar    %r11d
  mov    %r11d,%edx
  mov    %r11d,0x4(%rsp)
  call   <intern_merge_sort>
  mov    0x4(%rsp),%esi
  mov    %rbx,%rcx
  mov    %r14d,%edx
  mov    %rbp,%rdi
  call   <intern_merge_sort>
  mov    0x8(%rsp),%r10d
  mov    %rbx,%r8
  mov    %r14d,%ecx
  mov    0x4(%rsp),%edx
  mov    %rbp,%rdi
  mov    %r10d,%esi
  mov    %r10d,0x4(%rsp)
  call   <merge@plt>
  mov    0xc(%rsp),%r9d
  mov    0x4(%rsp),%r10d
L54:
  mov    %r9d,%esi
  mov    %rbx,%r8
  mov    %r14d,%ecx
  mov    %r10d,%edx
  mov    %rbp,%rdi
  mov    %r9d,0x4(%rsp)
  call   <merge@plt>
  mov    0x4(%rsp),%r9d
L121:
  mov    %rbx,%r8
  mov    %r14d,%ecx
  mov    %r9d,%edx
  mov    %r15d,%esi
  mov    %rbp,%rdi
  call   <merge@plt>
L52:
  mov    %rbx,%r8
  mov    %r14d,%ecx
  mov    %r15d,%edx
  mov    %r12d,%esi
  mov    %rbp,%rdi
  call   <merge@plt>
L152:
  add    $0x18,%rsp
  mov    %rbx,%r8
  mov    %r14d,%ecx
  mov    %r12d,%edx
  pop    %rbx
  mov    %r13d,%esi
  mov    %rbp,%rdi
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    1050 <merge@plt>
  xchg   %ax,%ax
L265:
  ret
```

assistant: ```c
void intern_merge_sort(int *tb, int start, int end, int *tmp) {
  if (end - start < 2)
    return;
  int middle = (start + end) / 2;
  intern_merge_sort(tb, start, middle, tmp);
  intern_merge_sort(tb, middle, end, tmp);
  merge(tb, start, middle, end, tmp);
}
```