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

```asm
<jerasure_invertible_matrix>:
  endbr64
  test   %esi,%esi
  jle    L179
  push   %r15
  movslq %esi,%rax
  push   %r14
  lea    0x4(,%rax,4),%rcx
  mov    %edx,%r14d
  push   %r13
  push   %r12
  push   %rbp
  mov    %esi,%ebp
  push   %rbx
  mov    %rdi,%rbx
  sub    $0x98,%rsp
  mov    %rax,0x70(%rsp)
  shl    $0x2,%rax
  mov    %rax,0x18(%rsp)
  mov    %esi,%eax
  mov    %rax,0x80(%rsp)
  mov    %esi,%eax
  shr    $0x2,%eax
  mov    %rcx,0x78(%rsp)
  lea    -0x1(%rsi),%ecx
  sub    $0x1,%eax
  mov    %ecx,0x60(%rsp)
  add    $0x1,%rax
  mov    %rcx,0x40(%rsp)
  shl    $0x4,%rax
  mov    %esi,0x20(%rsp)
  mov    %rax,0x68(%rsp)
  mov    %esi,%eax
  and    $0xfffffffc,%eax
  mov    %rdi,0x48(%rsp)
  mov    %eax,0x64(%rsp)
  lea    0x4(%rdi,%rcx,4),%rax
  mov    %rax,0x88(%rsp)
  lea    0x4(%rdi),%rax
  movq   $0x0,0x58(%rsp)
  movq   $0x0,0x28(%rsp)
  movq   $0x0,0x30(%rsp)
  mov    %rax,0x50(%rsp)
  nopl   0x0(%rax)
L104:
  mov    0x20(%rsp),%eax
  sub    %ebp,%eax
  mov    %eax,0x24(%rsp)
  mov    0x48(%rsp),%rax
  mov    (%rax),%r8d
  mov    0x30(%rsp),%eax
  add    $0x1,%eax
  mov    %eax,0xc(%rsp)
  test   %r8d,%r8d
  je     L190
  cmp    $0x1,%r8d
  jne    L146
L365:
  mov    0x40(%rsp),%rcx
  cmp    %rcx,0x30(%rsp)
  je     L181
  mov    0x48(%rsp),%rax
  add    0x18(%rsp),%rax
  mov    0x20(%rsp),%r12d
  mov    %rax,0x10(%rsp)
  mov    %ebp,0x20(%rsp)
L356:
  mov    0x10(%rsp),%rax
  mov    (%rax),%r13d
  test   %r13d,%r13d
  je     L216
  cmp    $0x1,%r13d
  je     L68
  mov    0x40(%rsp),%rcx
  movslq %r12d,%rax
  mov    %rbx,0x38(%rsp)
  lea    (%rbx,%rax,4),%r15
  lea    (%rax,%rcx,1),%rdx
  mov    0x50(%rsp),%rcx
  lea    (%rcx,%rdx,4),%rdi
  mov    0x28(%rsp),%rcx
  mov    %rdi,%rbp
  sub    %rax,%rcx
  mov    %rcx,%rbx
  nopl   0x0(%rax,%rax,1)
L127:
  mov    (%r15,%rbx,4),%esi
  mov    %r14d,%edx
  mov    %r13d,%edi
  call   <galois_single_multiply@plt>
  xor    %eax,(%r15)
  add    $0x4,%r15
  cmp    %r15,%rbp
  jne    L127
  mov    0x38(%rsp),%rbx
  nopl   0x0(%rax,%rax,1)
L216:
  mov    0x18(%rsp),%rdi
  addl   $0x1,0xc(%rsp)
  add    %rdi,0x10(%rsp)
  mov    0xc(%rsp),%eax
  mov    0x20(%rsp),%edi
  add    %edi,%r12d
  cmp    %eax,%edi
  jne    L356
  mov    0x24(%rsp),%ecx
  mov    0x78(%rsp),%rdx
  mov    %edi,%ebp
  addq   $0x1,0x30(%rsp)
  mov    0x70(%rsp),%rsi
  lea    (%rcx,%rdi,2),%ecx
  add    %rdx,0x48(%rsp)
  mov    0x30(%rsp),%rax
  mov    0x18(%rsp),%rdx
  add    %rsi,0x28(%rsp)
  add    %rdx,0x58(%rsp)
  mov    %ecx,0x20(%rsp)
  cmp    0x80(%rsp),%rax
  jne    L104
L181:
  mov    $0x1,%r9d
L113:
  add    $0x98,%rsp
  mov    %r9d,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L68:
  mov    0x58(%rsp),%rdi
  movslq %r12d,%rcx
  lea    0x0(,%rcx,4),%rdx
  lea    0x4(%rdi),%rsi
  mov    %rdx,%rax
  sub    %rsi,%rax
  cmp    $0x8,%rax
  jbe    L326
  cmpl   $0x1,0x20(%rsp)
  je     L326
  cmpl   $0x2,0x60(%rsp)
  jbe    L287
  lea    (%rbx,%rdi,1),%rsi
  mov    0x68(%rsp),%rdi
  add    %rbx,%rdx
  xor    %eax,%eax
L102:
  movdqu (%rsi,%rax,1),%xmm0
  movdqu (%rdx,%rax,1),%xmm2
  pxor   %xmm2,%xmm0
  movups %xmm0,(%rdx,%rax,1)
  add    $0x10,%rax
  cmp    %rax,%rdi
  jne    L102
  mov    0x64(%rsp),%eax
  mov    0x20(%rsp),%esi
  cmp    %esi,%eax
  je     L216
  mov    %eax,%edx
  sub    %edx,%esi
  cmp    $0x1,%esi
  je     L360
L285:
  add    %rdx,%rcx
  add    0x28(%rsp),%rdx
  lea    (%rbx,%rcx,4),%rcx
  movq   (%rbx,%rdx,4),%xmm0
  mov    %esi,%edx
  movq   (%rcx),%xmm1
  and    $0xfffffffe,%edx
  add    %edx,%eax
  pxor   %xmm1,%xmm0
  movq   %xmm0,(%rcx)
  cmp    %esi,%edx
  je     L216
L360:
  lea    (%rax,%r12,1),%edx
  add    0x24(%rsp),%eax
  movslq %edx,%rdx
  cltq
  mov    (%rbx,%rax,4),%eax
  xor    %eax,(%rbx,%rdx,4)
  jmp    L216
  nopl   0x0(%rax,%rax,1)
L326:
  lea    (%rbx,%rdx,1),%rax
  mov    0x40(%rsp),%rdx
  mov    0x50(%rsp),%rsi
  add    %rcx,%rdx
  lea    (%rsi,%rdx,4),%rdi
  mov    0x28(%rsp),%rsi
  sub    %rcx,%rsi
  nopl   (%rax)
L363:
  mov    (%rax,%rsi,4),%edx
  xor    %edx,(%rax)
  add    $0x4,%rax
  cmp    %rdi,%rax
  jne    L363
  jmp    L216
  nopl   0x0(%rax,%rax,1)
L190:
  mov    %eax,%esi
  cmp    %eax,%ebp
  jle    L338
  movslq 0x20(%rsp),%rax
  mov    0x18(%rsp),%rdi
  mov    %rax,%rdx
  add    0x30(%rsp),%rax
  lea    (%rbx,%rax,4),%rcx
  mov    %edx,%eax
  jmp    L96
  nopl   0x0(%rax)
L335:
  add    $0x1,%esi
  add    %ebp,%eax
  add    %rdi,%rcx
  cmp    %esi,%ebp
  je     L113
L96:
  mov    (%rcx),%r9d
  mov    %eax,%edx
  test   %r9d,%r9d
  je     L335
L366:
  mov    0x58(%rsp),%r10
  movslq %edx,%rdi
  lea    0x0(,%rdi,4),%rcx
  lea    0x10(%r10),%rax
  lea    0x10(%rcx),%rsi
  cmp    %rax,%rcx
  setge  %al
  cmp    %r10,%rsi
  setle  %sil
  or     %sil,%al
  je     L258
  cmp    $0x1,%ebp
  je     L258
  cmpl   $0x2,0x60(%rsp)
  jbe    L358
  mov    0x68(%rsp),%r8
  lea    (%rbx,%r10,1),%rsi
  add    %rbx,%rcx
  xor    %eax,%eax
  nopw   0x0(%rax,%rax,1)
L379:
  movdqu (%rsi,%rax,1),%xmm0
  movdqu (%rcx,%rax,1),%xmm3
  movups %xmm3,(%rsi,%rax,1)
  movups %xmm0,(%rcx,%rax,1)
  add    $0x10,%rax
  cmp    %rax,%r8
  jne    L379
  mov    0x64(%rsp),%r8d
  mov    %r8d,%eax
  cmp    %ebp,%eax
  je     L257
  mov    %ebp,%ecx
  sub    %r8d,%ecx
  cmp    $0x1,%ecx
  je     L362
L304:
  mov    0x28(%rsp),%rsi
  add    %rax,%rsi
  add    %rdi,%rax
  lea    (%rbx,%rax,4),%rax
  lea    (%rbx,%rsi,4),%rsi
  mov    (%rax),%r9
  mov    (%rsi),%rdi
  mov    %r9,(%rsi)
  mov    %rdi,(%rax)
  mov    %ecx,%eax
  and    $0xfffffffe,%eax
  add    %eax,%r8d
  cmp    %ecx,%eax
  je     L257
L362:
  mov    0x24(%rsp),%eax
  add    %r8d,%edx
  movslq %edx,%rdx
  add    %r8d,%eax
  cltq
  lea    (%rbx,%rax,4),%rcx
  lea    (%rbx,%rdx,4),%rax
  mov    (%rcx),%esi
  mov    (%rax),%edx
  mov    %edx,(%rcx)
  mov    %esi,(%rax)
L257:
  mov    0x48(%rsp),%rax
  mov    (%rax),%r8d
  cmp    $0x1,%r8d
  je     L365
L146:
  mov    %r14d,%edx
  mov    %r8d,%esi
  mov    $0x1,%edi
  call   <galois_single_divide@plt>
  mov    0x88(%rsp),%r12
  mov    %eax,%r13d
  mov    0x58(%rsp),%rax
  lea    (%rbx,%rax,1),%r15
  add    %rax,%r12
  nopl   0x0(%rax)
L85:
  mov    (%r15),%edi
  mov    %r14d,%edx
  mov    %r13d,%esi
  add    $0x4,%r15
  call   <galois_single_multiply@plt>
  mov    %eax,-0x4(%r15)
  cmp    %r12,%r15
  jne    L85
  jmp    L365
L338:
  je     L309
  mov    %eax,%edx
  imul   %ebp,%edx
  jmp    L366
L287:
  mov    0x20(%rsp),%esi
  xor    %eax,%eax
  xor    %edx,%edx
  jmp    L285
L258:
  mov    0x58(%rsp),%rcx
  mov    0x88(%rsp),%rsi
  sub    0x28(%rsp),%rdi
  lea    (%rbx,%rcx,1),%rax
  add    %rcx,%rsi
  nopw   0x0(%rax,%rax,1)
L92:
  mov    (%rax),%edx
  mov    (%rax,%rdi,4),%ecx
  mov    %ecx,(%rax)
  mov    %edx,(%rax,%rdi,4)
  add    $0x4,%rax
  cmp    %rsi,%rax
  jne    L92
  jmp    L257
L358:
  mov    %ebp,%ecx
  xor    %eax,%eax
  jmp    L304
L179:
  mov    $0x1,%eax
  ret
L309:
  xor    %r9d,%r9d
  jmp    L113
```

assistant: ```c
int jerasure_invertible_matrix(int *mat, int rows, int w) {
  int cols, i, j, k, x, rs2;
  int row_start, tmp, inverse;
  cols = rows;
  for (i = 0; i < cols; i++) {
    row_start = cols * i;
    if (mat[row_start + i] == 0) {
      for (j = i + 1; j < rows && mat[cols * j + i] == 0; j++)
        ;
      if (j == rows)
        return 0;
      rs2 = j * cols;
      for (k = 0; k < cols; k++) {
        tmp = mat[row_start + k];
        mat[row_start + k] = mat[rs2 + k];
        mat[rs2 + k] = tmp;
      }
    }
    tmp = mat[row_start + i];
    if (tmp != 1) {
      inverse = galois_single_divide(1, tmp, w);
      for (j = 0; j < cols; j++) {
        mat[row_start + j] = galois_single_multiply(mat[row_start + j], inverse, w);
      }
    }
    k = row_start + i;
    for (j = i + 1; j != cols; j++) {
      k += cols;
      if (mat[k] != 0) {
        if (mat[k] == 1) {
          rs2 = cols * j;
          for (x = 0; x < cols; x++) {
            mat[rs2 + x] ^= mat[row_start + x];
          }
        } else {
          tmp = mat[k];
          rs2 = cols * j;
          for (x = 0; x < cols; x++) {
            mat[rs2 + x] ^= galois_single_multiply(tmp, mat[row_start + x], w);
          }
        }
      }
    }
  }
  return 1;
}
```