user: 这段汇编代码用C语言表示是什么样的？

```asm
<inv>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  movslq %esi,%r12
  push   %rbp
  lea    0x1(%r12),%eax
  push   %rbx
  sub    $0x18,%rsp
  cmp    %edx,%eax
  je     L63
  lea    (%r12,%rdx,1),%eax
  mov    %edx,%r14d
  mov    %rdi,%r13
  mov    %r12d,%esi
  mov    %eax,%ebp
  mov    %r14d,%r15d
  shr    $0x1f,%ebp
  sub    %r12d,%r15d
  add    %eax,%ebp
  sar    %ebp
  mov    %ebp,%edx
  call   <inv>
  mov    %r14d,%edx
  mov    %ebp,%esi
  mov    %r13,%rdi
  call   <inv>
  lea    0x0(,%r15,4),%edi
  call   <malloc@plt>
  mov    %rax,0x8(%rsp)
  test   %r15d,%r15d
  jle    L94
  mov    %rax,%rbx
  lea    (%rax,%r15,8),%r15
L52:
  mov    $0x8,%edi
  add    $0x8,%rbx
  call   <malloc@plt>
  mov    %rax,-0x8(%rbx)
  cmp    %rbx,%r15
  jne    L52
L94:
  cmp    %ebp,%r14d
  jg     L50
  cmp    %ebp,%r12d
  jge    L63
L50:
  mov    0x8(%rsp),%r11
  mov    %ebp,%edi
  mov    %r12d,%eax
  mov    $0x1,%ecx
  mov    %r11,%rsi
  nopw   0x0(%rax,%rax,1)
L28:
  lea    -0x1(%rcx),%edx
  mov    (%r11),%r9
  mov    %edx,%r10d
  cmp    %edi,%r14d
  jg     L118
  movslq %eax,%rdi
  mov    0x0(%r13,%rdi,8),%rdi
  mov    (%rdi),%r11d
  mov    %r11d,(%r9)
  mov    0x4(%rdi),%r11d
  lea    0x1(%rax),%edi
  mov    %r11d,0x4(%r9)
  cmp    %edi,%ebp
  jle    L27
  mov    0x8(%rsp),%rbx
  add    $0x2,%eax
  movslq %ecx,%rcx
  sub    %edi,%edx
  cltq
  lea    (%rbx,%rcx,8),%rcx
L113:
  mov    -0x8(%r13,%rax,8),%r9
  mov    (%rcx),%rdi
  lea    (%rdx,%rax,1),%r10d
  add    $0x8,%rcx
  mov    (%r9),%r11d
  mov    %r11d,(%rdi)
  mov    0x4(%r9),%r9d
  mov    %r9d,0x4(%rdi)
  mov    %eax,%edi
  add    $0x1,%rax
  cmp    %edi,%ebp
  jg     L113
L27:
  mov    0x8(%rsp),%rax
  movslq %r10d,%r10
  lea    0x0(%r13,%r12,8),%rdi
  lea    0x8(%rax,%r10,8),%r9
  sub    %rax,%rdi
  nop
L85:
  mov    (%rsi),%rdx
  mov    (%rdi,%rsi,1),%rax
  add    $0x8,%rsi
  mov    (%rdx),%ecx
  mov    %ecx,(%rax)
  mov    0x4(%rdx),%edx
  mov    %edx,0x4(%rax)
  cmp    %rsi,%r9
  jne    L85
L63:
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L118:
  movslq %edi,%rdx
  mov    0x0(%r13,%rdx,8),%rdx
  cmp    %eax,%ebp
  jg     L97
  mov    (%rdx),%ebx
  add    $0x1,%edi
  mov    %ebx,(%r9)
  mov    0x4(%rdx),%edx
  mov    %edx,0x4(%r9)
  cmp    %edi,%r14d
  jle    L27
  add    $0x8,%r11
  add    $0x1,%ecx
  jmp    L28
  nopl   0x0(%rax)
L97:
  movslq %eax,%r10
  mov    0x4(%rdx),%ebx
  mov    0x0(%r13,%r10,8),%r10
  cmp    %ebx,0x4(%r10)
  jle    L33
  mov    (%r10),%edx
  add    $0x1,%eax
  mov    %edx,(%r9)
  mov    0x4(%r10),%edx
L37:
  mov    %edx,0x4(%r9)
  add    $0x8,%r11
  add    $0x1,%ecx
  jmp    L28
  xchg   %ax,%ax
L33:
  mov    (%rdx),%ebx
  jge    L1
L29:
  mov    %ebx,(%r9)
  add    $0x1,%edi
  mov    0x4(%rdx),%edx
  jmp    L37
  nop
L1:
  mov    (%r10),%r15d
  cmp    %ebx,%r15d
  jge    L29
  mov    %r15d,(%r9)
  add    $0x1,%eax
  mov    0x4(%r10),%edx
  jmp    L37
```

assistant: ```c
void inv(int **arr, int a, int b) {
  if (b == a + 1) {
    return;
  }
  int m = (a + b) / 2;
  inv(arr, a, m);
  inv(arr, m, b);
  int i, j, k = 0;
  int **temp = (int **)malloc((b - a) * sizeof(int));
  for (i = 0; i < (b - a); i++) {
    temp[i] = (int *)malloc(2 * sizeof(int));
  }
  for (i = a, j = m; i < m || j < b;) {
    if (j >= b) {
      temp[k][0] = arr[i][0];
      temp[k][1] = arr[i][1];
      i++;
    } else if (i >= m) {
      temp[k][0] = arr[j][0];
      temp[k][1] = arr[j][1];
      j++;
    } else {
      if (arr[i][1] > arr[j][1]) {
        temp[k][0] = arr[i][0];
        temp[k][1] = arr[i][1];
        i++;
      } else if (arr[i][1] < arr[j][1]) {
        temp[k][0] = arr[j][0];
        temp[k][1] = arr[j][1];
        j++;
      } else {
        if (arr[i][0] < arr[j][0]) {
          temp[k][0] = arr[i][0];
          temp[k][1] = arr[i][1];
          i++;
        } else {
          temp[k][0] = arr[j][0];
          temp[k][1] = arr[j][1];
          j++;
        }
      }
    }
    k++;
  }
  for (i = 0; i < k; i++) {
    arr[a + i][0] = temp[i][0];
    arr[a + i][1] = temp[i][1];
  }
}
```