user: 提供的汇编代码用C语言表示会是什么样子:

```asm
<merge_sort_helper>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x48,%rsp
  mov    %rdi,-0x68(%rbp)
  mov    %esi,-0x6c(%rbp)
  mov    %edx,-0x70(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  mov    -0x6c(%rbp),%eax
  cmp    -0x70(%rbp),%eax
  jge    L151
  mov    %rsp,%rax
  mov    %rax,%rbx
  mov    -0x70(%rbp),%eax
  sub    -0x6c(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,%edx
  mov    -0x6c(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x4c(%rbp)
  mov    -0x4c(%rbp),%edx
  mov    -0x6c(%rbp),%ecx
  mov    -0x68(%rbp),%rax
  mov    %ecx,%esi
  mov    %rax,%rdi
  call   <merge_sort_helper>
  mov    -0x4c(%rbp),%eax
  lea    0x1(%rax),%ecx
  mov    -0x70(%rbp),%edx
  mov    -0x68(%rbp),%rax
  mov    %ecx,%esi
  mov    %rax,%rdi
  call   <merge_sort_helper>
  mov    -0x70(%rbp),%eax
  sub    -0x6c(%rbp),%eax
  add    $0x1,%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,%esi
  mov    $0x0,%edx
  div    %rsi
  imul   $0x10,%rax,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffff000,%rcx
  mov    %rsp,%rdx
  sub    %rcx,%rdx
L32:
  cmp    %rdx,%rsp
  je     L48
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L32
L48:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  mov    %rax,%rdx
  and    $0xfff,%edx
  test   %rdx,%rdx
  je     L85
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L85:
  mov    %rsp,%rax
  add    $0x3,%rax
  shr    $0x2,%rax
  shl    $0x2,%rax
  mov    %rax,-0x40(%rbp)
  mov    -0x6c(%rbp),%eax
  mov    %eax,-0x5c(%rbp)
  mov    -0x4c(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0x58(%rbp)
  movl   $0x0,-0x54(%rbp)
  jmp    L159
L100:
  mov    -0x5c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%edx
  mov    -0x58(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rcx
  mov    -0x68(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  cmp    %eax,%edx
  jge    L92
  mov    -0x5c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%ecx
  mov    -0x40(%rbp),%rax
  mov    -0x54(%rbp),%edx
  movslq %edx,%rdx
  mov    %ecx,(%rax,%rdx,4)
  addl   $0x1,-0x5c(%rbp)
  addl   $0x1,-0x54(%rbp)
  jmp    L159
L92:
  mov    -0x58(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%ecx
  mov    -0x40(%rbp),%rax
  mov    -0x54(%rbp),%edx
  movslq %edx,%rdx
  mov    %ecx,(%rax,%rdx,4)
  addl   $0x1,-0x58(%rbp)
  addl   $0x1,-0x54(%rbp)
L159:
  mov    -0x5c(%rbp),%eax
  cmp    -0x4c(%rbp),%eax
  jg     L124
  mov    -0x58(%rbp),%eax
  cmp    -0x70(%rbp),%eax
  jle    L100
  jmp    L124
L42:
  mov    -0x5c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%ecx
  mov    -0x40(%rbp),%rax
  mov    -0x54(%rbp),%edx
  movslq %edx,%rdx
  mov    %ecx,(%rax,%rdx,4)
  addl   $0x1,-0x54(%rbp)
  addl   $0x1,-0x5c(%rbp)
L124:
  mov    -0x5c(%rbp),%eax
  cmp    -0x4c(%rbp),%eax
  jle    L42
  jmp    L147
L19:
  mov    -0x58(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%ecx
  mov    -0x40(%rbp),%rax
  mov    -0x54(%rbp),%edx
  movslq %edx,%rdx
  mov    %ecx,(%rax,%rdx,4)
  addl   $0x1,-0x54(%rbp)
  addl   $0x1,-0x58(%rbp)
L147:
  mov    -0x58(%rbp),%eax
  cmp    -0x70(%rbp),%eax
  jle    L19
  mov    -0x70(%rbp),%eax
  sub    -0x6c(%rbp),%eax
  mov    %eax,-0x50(%rbp)
  jmp    L17
L70:
  mov    -0x70(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x68(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x40(%rbp),%rax
  mov    -0x50(%rbp),%edx
  movslq %edx,%rdx
  mov    (%rax,%rdx,4),%eax
  mov    %eax,(%rcx)
  subl   $0x1,-0x70(%rbp)
  subl   $0x1,-0x50(%rbp)
L17:
  cmpl   $0x0,-0x50(%rbp)
  jns    L70
  mov    %rbx,%rsp
L151:
  nop
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L110
  call   <__stack_chk_fail@plt>
L110:
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
```

assistant: ```c
void merge_sort_helper(int *arr, int left, int right) {
  int mid;
  if (left < right) {
    mid = left + (right - left) / 2;
    merge_sort_helper(arr, left, mid);
    merge_sort_helper(arr, mid + 1, right);
    int temp[right - left + 1], i = left, j = mid + 1, k = 0, m;
    while ((i <= mid) && (j <= right)) {
      if (arr[i] < arr[j]) {
        temp[k] = arr[i];
        i++;
        k++;
      } else {
        temp[k] = arr[j];
        j++;
        k++;
      }
    }
    while (i <= mid) {
      temp[k] = arr[i];
      k++;
      i++;
    }
    while (j <= right) {
      temp[k] = arr[j];
      k++;
      j++;
    }
    for (m = right - left; m >= 0; m--) {
      arr[right] = temp[m];
      right--;
    }
  }
}
```