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

```asm
<distort_vec_expl>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %rdi,-0x38(%rbp)
  mov    %rsi,-0x40(%rbp)
  mov    %rdx,-0x48(%rbp)
  mov    %rcx,-0x50(%rbp)
  mov    %r8,-0x58(%rbp)
  mov    %r9d,-0x5c(%rbp)
  movl   $0x0,-0x2c(%rbp)
  jmp    L142
L224:
  mov    -0x2c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  movl   $0x0,(%rax)
  addl   $0x1,-0x2c(%rbp)
L142:
  mov    -0x5c(%rbp),%eax
  imul   0x10(%rbp),%eax
  cmp    %eax,-0x2c(%rbp)
  jl     L224
  movl   $0x0,-0x2c(%rbp)
  jmp    L11
L132:
  mov    -0x2c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movb   $0x0,(%rax)
  addl   $0x1,-0x2c(%rbp)
L11:
  mov    -0x5c(%rbp),%eax
  imul   0x10(%rbp),%eax
  cmp    %eax,-0x2c(%rbp)
  jl     L132
  movl   $0x0,-0x28(%rbp)
  jmp    L178
L97:
  mov    -0x28(%rbp),%eax
  imul   -0x5c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x18(%rbp)
  mov    -0x28(%rbp),%eax
  imul   -0x5c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x10(%rbp)
  mov    -0x28(%rbp),%eax
  imul   -0x5c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x50(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x8(%rbp)
  movl   $0x0,-0x2c(%rbp)
  jmp    L111
L210:
  mov    -0x2c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  cvttss2si %xmm0,%edx
  mov    -0x2c(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x24(%rbp)
  mov    -0x2c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  cvttss2si %xmm0,%edx
  mov    -0x28(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x20(%rbp)
  cmpl   $0x0,-0x24(%rbp)
  js     L170
  cmpl   $0x0,-0x20(%rbp)
  js     L197
  mov    -0x24(%rbp),%eax
  cmp    -0x5c(%rbp),%eax
  jge    L7
  mov    -0x20(%rbp),%eax
  cmp    0x10(%rbp),%eax
  jge    L226
  mov    -0x5c(%rbp),%eax
  imul   -0x20(%rbp),%eax
  mov    %eax,%edx
  mov    -0x24(%rbp),%eax
  add    %edx,%eax
  test   %eax,%eax
  js     L54
  mov    -0x5c(%rbp),%eax
  imul   -0x20(%rbp),%eax
  mov    %eax,%edx
  mov    -0x24(%rbp),%eax
  add    %eax,%edx
  mov    -0x5c(%rbp),%eax
  imul   0x10(%rbp),%eax
  cmp    %eax,%edx
  jge    L64
  mov    -0x5c(%rbp),%eax
  imul   -0x20(%rbp),%eax
  mov    %eax,%edx
  mov    -0x24(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x1c(%rbp)
  mov    -0x1c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%ecx
  mov    -0x2c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%edx
  mov    -0x1c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rsi
  mov    -0x58(%rbp),%rax
  add    %rsi,%rax
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    -0x1c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%edx
  add    $0x1,%edx
  mov    %dl,(%rax)
  jmp    L207
L170:
  nop
  jmp    L207
L197:
  nop
  jmp    L207
L7:
  nop
  jmp    L207
L226:
  nop
L207:
  addl   $0x1,-0x2c(%rbp)
L111:
  mov    -0x2c(%rbp),%eax
  cmp    -0x5c(%rbp),%eax
  jl     L210
  addl   $0x1,-0x28(%rbp)
L178:
  mov    -0x28(%rbp),%eax
  cmp    0x10(%rbp),%eax
  jl     L97
  movl   $0x0,-0x2c(%rbp)
  jmp    L181
L4:
  mov    -0x2c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  test   %al,%al
  jne    L15
  mov    -0x2c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  mov    -0x2c(%rbp),%edx
  movslq %edx,%rcx
  mov    -0x40(%rbp),%rdx
  add    %rcx,%rdx
  movzbl (%rax),%eax
  mov    %al,(%rdx)
  jmp    L112
L15:
  mov    -0x2c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    -0x2c(%rbp),%edx
  movslq %edx,%rcx
  mov    -0x40(%rbp),%rdx
  add    %rcx,%rdx
  movzbl (%rdx),%edx
  movzbl %dl,%edi
  cltd
  idiv   %edi
  mov    %eax,%ecx
  mov    -0x2c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  mov    %ecx,%edx
  mov    %dl,(%rax)
L112:
  addl   $0x1,-0x2c(%rbp)
L181:
  mov    -0x5c(%rbp),%eax
  imul   0x10(%rbp),%eax
  cmp    %eax,-0x2c(%rbp)
  jl     L4
  jmp    L65
L54:
  nop
  jmp    L65
L64:
  nop
L65:
  pop    %rbp
  ret
```

assistant: ```c
void distort_vec_expl(unsigned char *in, unsigned char *out, float *vecx, float *vecy, int *acc, int width, int height) {
  int i, j;
  unsigned char *ino;
  float *vecxo, *vecyo;
  int destidx;
  int vecxi, vecyi;
  for (i = 0; i < width * height; i++)
    acc[i] = 0;
  for (i = 0; i < width * height; i++)
    out[i] = 0;
  for (j = 0; j < height; j++) {
    ino = in + j * width;
    vecxo = vecx + j * width;
    vecyo = vecy + j * width;
    for (i = 0; i < width; i++) {
      vecxi = i + (int)(vecxo[i]);
      vecyi = j + (int)(vecyo[i]);
      if (vecxi < 0)
        continue;
      if (vecyi < 0)
        continue;
      if (vecxi >= width)
        continue;
      if (vecyi >= height)
        continue;
      if ((vecxi + width * vecyi) < 0)
        return;
      if ((vecxi + width * vecyi) >= width * height)
        return;
      destidx = vecxi + width * vecyi;
      acc[destidx] += ino[i];
      out[destidx]++;
    }
  }
  for (i = 0; i < width * height; i++) {
    if (out[i] == 0) {
      out[i] = in[i];
    } else {
      out[i] = acc[i] / out[i];
    }
  }
}
```