user: 请将以下的汇编代码转换成C语言代码：

```asm
<compute>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %edi,-0x14(%rbp)
  mov    %esi,-0x18(%rbp)
  mov    %rdx,-0x20(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x4(%rbp)
  movl   $0x0,-0xc(%rbp)
  jmp    L98
L0:
  movl   $0x0,-0x8(%rbp)
  jmp    L86
L71:
  mov    -0xc(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  mov    %rax,%rdx
  mov    -0x20(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%eax
  cltq
  movss  (%rdx,%rax,4),%xmm0
  movss  -0x4(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x4(%rbp)
  mov    -0xc(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  mov    %rax,%rdx
  mov    -0x20(%rbp),%rax
  add    %rax,%rdx
  mov    -0x18(%rbp),%eax
  sub    $0x1,%eax
  cltq
  movss  -0x4(%rbp),%xmm0
  movss  %xmm0,(%rdx,%rax,4)
  addl   $0x1,-0x8(%rbp)
L86:
  mov    -0x18(%rbp),%eax
  sub    $0x1,%eax
  cmp    %eax,-0x8(%rbp)
  jl     L71
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x4(%rbp)
  addl   $0x1,-0xc(%rbp)
L98:
  mov    -0x14(%rbp),%eax
  sub    $0x1,%eax
  cmp    %eax,-0xc(%rbp)
  jl     L0
  movl   $0x0,-0x8(%rbp)
  jmp    L16
L89:
  movl   $0x0,-0xc(%rbp)
  jmp    L35
L34:
  mov    -0xc(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  mov    %rax,%rdx
  mov    -0x20(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%eax
  cltq
  movss  (%rdx,%rax,4),%xmm0
  movss  -0x4(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x4(%rbp)
  mov    -0x14(%rbp),%eax
  sub    $0x1,%eax
  pxor   %xmm1,%xmm1
  cvtsi2ss %eax,%xmm1
  mov    -0x14(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  lea    -0x14(%rax),%rdx
  mov    -0x20(%rbp),%rax
  add    %rax,%rdx
  movss  -0x4(%rbp),%xmm0
  divss  %xmm1,%xmm0
  mov    -0x8(%rbp),%eax
  cltq
  movss  %xmm0,(%rdx,%rax,4)
  addl   $0x1,-0xc(%rbp)
L35:
  mov    -0x14(%rbp),%eax
  sub    $0x1,%eax
  cmp    %eax,-0xc(%rbp)
  jl     L34
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x4(%rbp)
  addl   $0x1,-0x8(%rbp)
L16:
  mov    -0x18(%rbp),%eax
  sub    $0x1,%eax
  cmp    %eax,-0x8(%rbp)
  jl     L89
  movl   $0x0,-0xc(%rbp)
  jmp    L48
L49:
  mov    -0xc(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  mov    %rax,%rdx
  mov    -0x20(%rbp),%rax
  add    %rax,%rdx
  mov    -0x18(%rbp),%eax
  cltq
  movss  (%rdx,%rax,4),%xmm0
  movss  -0x4(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x4(%rbp)
  addl   $0x1,-0xc(%rbp)
L48:
  mov    -0x14(%rbp),%eax
  sub    $0x1,%eax
  cmp    %eax,-0xc(%rbp)
  jl     L49
  mov    -0x14(%rbp),%eax
  sub    $0x1,%eax
  pxor   %xmm1,%xmm1
  cvtsi2ss %eax,%xmm1
  mov    -0x14(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  lea    -0x14(%rax),%rdx
  mov    -0x20(%rbp),%rax
  add    %rax,%rdx
  mov    -0x18(%rbp),%eax
  sub    $0x1,%eax
  movss  -0x4(%rbp),%xmm0
  divss  %xmm1,%xmm0
  cltq
  movss  %xmm0,(%rdx,%rax,4)
  nop
  pop    %rbp
  ret
```

assistant: ```c
void compute(int m, int n, float a[][5]) {
  int i, j;
  float s = 0;
  for (i = 0; i < m - 1; i++) {
    for (j = 0; j < n - 1; j++) {
      s += a[i][j];
      a[i][n - 1] = s;
    }
    s = 0;
  }
  for (j = 0; j < n - 1; j++) {
    for (i = 0; i < m - 1; i++) {
      s += a[i][j];
      a[m - 1][j] = s / (m - 1);
    }
    s = 0;
  }
  for (i = 0; i < m - 1; i++)
    s += a[i][n];
  a[m - 1][n - 1] = s / (m - 1);
}
```