user: 请显示与下面列出的汇编代码相匹配的C语言实现:

```asm
<BatchInterpolatedGradY2DTranMirrWarp>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x90,%rsp
  mov    %rdi,-0x38(%rbp)
  mov    %rsi,-0x40(%rbp)
  mov    %rdx,-0x48(%rbp)
  mov    %rcx,-0x50(%rbp)
  movsd  %xmm0,-0x58(%rbp)
  movsd  %xmm1,-0x60(%rbp)
  movsd  %xmm2,-0x68(%rbp)
  mov    %r8,-0x70(%rbp)
  movsd  %xmm3,-0x78(%rbp)
  movsd  %xmm4,-0x80(%rbp)
  movsd  %xmm5,-0x88(%rbp)
  mov    %r9,-0x90(%rbp)
  movq   $0x0,-0x28(%rbp)
  jmp    L49
L48:
  mov    -0x28(%rbp),%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  pxor   %xmm0,%xmm0
  movss  %xmm0,(%rax)
  addq   $0x1,-0x28(%rbp)
L49:
  pxor   %xmm1,%xmm1
  cvtsi2sdq -0x28(%rbp),%xmm1
  movsd  -0x58(%rbp),%xmm0
  mulsd  -0x78(%rbp),%xmm0
  comisd %xmm1,%xmm0
  ja     L48
  movq   $0x0,-0x28(%rbp)
  movq   $0x0,-0x18(%rbp)
  jmp    L42
L16:
  movq   $0x0,-0x20(%rbp)
  jmp    L6
L47:
  pxor   %xmm1,%xmm1
  cvtsi2ssq -0x20(%rbp),%xmm1
  mov    -0x28(%rbp),%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x70(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  addss  %xmm1,%xmm0
  cvtss2sd %xmm0,%xmm0
  subsd  -0x60(%rbp),%xmm0
  divsd  -0x68(%rbp),%xmm0
  movsd  %xmm0,-0x10(%rbp)
  pxor   %xmm1,%xmm1
  cvtsi2ssq -0x18(%rbp),%xmm1
  mov    -0x28(%rbp),%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x90(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  addss  %xmm1,%xmm0
  cvtss2sd %xmm0,%xmm0
  subsd  -0x80(%rbp),%xmm0
  divsd  -0x88(%rbp),%xmm0
  movsd  %xmm0,-0x8(%rbp)
  mov    -0x28(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x28(%rbp)
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm1
  movsd  -0x8(%rbp),%xmm3
  movsd  -0x10(%rbp),%xmm2
  movsd  -0x78(%rbp),%xmm0
  mov    -0x58(%rbp),%rdx
  mov    -0x38(%rbp),%rax
  mov    0x10(%rbp),%rsi
  movapd %xmm3,%xmm4
  movapd %xmm2,%xmm3
  movaps %xmm1,%xmm2
  movapd %xmm0,%xmm1
  movq   %rdx,%xmm0
  mov    %rax,%rdi
  call   <InterpolatedGradYTranMirr@plt>
  addq   $0x1,-0x20(%rbp)
L6:
  mov    -0x20(%rbp),%rax
  cmp    -0x48(%rbp),%rax
  jl     L47
  addq   $0x1,-0x18(%rbp)
L42:
  mov    -0x18(%rbp),%rax
  cmp    -0x50(%rbp),%rax
  jl     L16
  movq   $0x0,-0x28(%rbp)
  jmp    L56
L52:
  mov    -0x28(%rbp),%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  cvtss2sd %xmm0,%xmm0
  divsd  -0x88(%rbp),%xmm0
  mov    -0x28(%rbp),%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  addq   $0x1,-0x28(%rbp)
L56:
  pxor   %xmm1,%xmm1
  cvtsi2sdq -0x28(%rbp),%xmm1
  movsd  -0x58(%rbp),%xmm0
  mulsd  -0x78(%rbp),%xmm0
  comisd %xmm1,%xmm0
  ja     L52
  nop
  nop
  leave
  ret
```

assistant: ```c
extern void BatchInterpolatedGradY2DTranMirrWarp(float *Bout, float *Bcoeff, long Width, long Height, double nx, double offx, double mx, float *WarpX, double ny, double offy, double my, float *WarpY, long SplineDegree) {
  double x, y;
  long idx;
  long idcoordx, idcoordy;
  for (idx = 0; idx < nx * ny; idx++)
    Bout[idx] = 0;
  idx = 0;
  for (idcoordy = 0; idcoordy < Height; idcoordy++) {
    for (idcoordx = 0; idcoordx < Width; idcoordx++) {
      x = (idcoordx + WarpX[idx] - offx) / mx;
      y = (idcoordy + WarpY[idx] - offy) / my;
      InterpolatedGradYTranMirr(Bout, nx, ny, Bcoeff[idx++], x, y, SplineDegree);
    }
  }
  for (idx = 0; idx < nx * ny; idx++)
    Bout[idx] = Bout[idx] / my;
}
```