user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<neuralops_omp_caffe_col2im>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %rdi,-0x48(%rbp)
  mov    %esi,-0x4c(%rbp)
  mov    %edx,-0x50(%rbp)
  mov    %ecx,-0x54(%rbp)
  mov    %r8d,-0x58(%rbp)
  mov    %r9d,-0x5c(%rbp)
  mov    0x10(%rbp),%eax
  lea    (%rax,%rax,1),%edx
  mov    -0x50(%rbp),%eax
  add    %eax,%edx
  mov    -0x58(%rbp),%eax
  sub    $0x1,%eax
  imul   0x30(%rbp),%eax
  lea    0x1(%rax),%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  cltd
  idivl  0x20(%rbp)
  add    $0x1,%eax
  mov    %eax,-0x1c(%rbp)
  mov    0x18(%rbp),%eax
  lea    (%rax,%rax,1),%edx
  mov    -0x54(%rbp),%eax
  add    %eax,%edx
  mov    -0x5c(%rbp),%eax
  sub    $0x1,%eax
  imul   0x38(%rbp),%eax
  lea    0x1(%rax),%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  cltd
  idivl  0x28(%rbp)
  add    $0x1,%eax
  mov    %eax,-0x18(%rbp)
  mov    -0x50(%rbp),%eax
  imul   -0x54(%rbp),%eax
  mov    %eax,-0x14(%rbp)
  movl   $0x0,-0x38(%rbp)
  jmp    L3
L15:
  mov    -0x38(%rbp),%eax
  imul   -0x18(%rbp),%eax
  imul   -0x1c(%rbp),%eax
  imul   -0x5c(%rbp),%eax
  imul   -0x58(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x10(%rbp)
  mov    -0x38(%rbp),%eax
  imul   -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x40(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x8(%rbp)
  movl   $0x0,-0x34(%rbp)
  jmp    L27
L118:
  movl   $0x0,-0x30(%rbp)
  jmp    L42
L37:
  mov    -0x34(%rbp),%eax
  imul   0x30(%rbp),%eax
  sub    0x10(%rbp),%eax
  mov    %eax,-0x2c(%rbp)
  mov    -0x1c(%rbp),%eax
  mov    %eax,-0x28(%rbp)
  jmp    L104
L16:
  cmpl   $0x0,-0x2c(%rbp)
  js     L61
  mov    -0x2c(%rbp),%eax
  cmp    -0x50(%rbp),%eax
  jl     L2
L61:
  mov    -0x18(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rax,-0x10(%rbp)
  jmp    L30
L2:
  mov    -0x30(%rbp),%eax
  imul   0x38(%rbp),%eax
  sub    0x18(%rbp),%eax
  mov    %eax,-0x24(%rbp)
  mov    -0x18(%rbp),%eax
  mov    %eax,-0x20(%rbp)
  jmp    L69
L114:
  cmpl   $0x0,-0x24(%rbp)
  js     L76
  mov    -0x24(%rbp),%eax
  cmp    -0x54(%rbp),%eax
  jge    L76
  mov    -0x2c(%rbp),%eax
  imul   -0x54(%rbp),%eax
  mov    %eax,%edx
  mov    -0x24(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm1
  mov    -0x10(%rbp),%rax
  movss  (%rax),%xmm0
  mov    -0x2c(%rbp),%eax
  imul   -0x54(%rbp),%eax
  mov    %eax,%edx
  mov    -0x24(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  addss  %xmm1,%xmm0
  movss  %xmm0,(%rax)
L76:
  addq   $0x4,-0x10(%rbp)
  mov    0x28(%rbp),%eax
  add    %eax,-0x24(%rbp)
  subl   $0x1,-0x20(%rbp)
L69:
  cmpl   $0x0,-0x20(%rbp)
  jne    L114
L30:
  mov    0x20(%rbp),%eax
  add    %eax,-0x2c(%rbp)
  subl   $0x1,-0x28(%rbp)
L104:
  cmpl   $0x0,-0x28(%rbp)
  jne    L16
  addl   $0x1,-0x30(%rbp)
L42:
  mov    -0x30(%rbp),%eax
  cmp    -0x5c(%rbp),%eax
  jl     L37
  addl   $0x1,-0x34(%rbp)
L27:
  mov    -0x34(%rbp),%eax
  cmp    -0x58(%rbp),%eax
  jl     L118
  addl   $0x1,-0x38(%rbp)
L3:
  mov    -0x38(%rbp),%eax
  cmp    -0x4c(%rbp),%eax
  jl     L15
  nop
  nop
  pop    %rbp
  ret
```

assistant: ```c
void neuralops_omp_caffe_col2im(const float *col_buf, const int channels, const int height, const int width, const int kernel_h, const int kernel_w, const int pad_h, const int pad_w, const int stride_h, const int stride_w, const int dilation_h, const int dilation_w, float *out_buf) {
  const int output_h = (height + 2 * pad_h - (dilation_h * (kernel_h - 1) + 1)) / stride_h + 1;
  const int output_w = (width + 2 * pad_w - (dilation_w * (kernel_w - 1) + 1)) / stride_w + 1;
  const int channel_size = height * width;
#pragma omp parallel for
  for (int channel = 0; channel < channels; channel++) {
    const float *data_col = col_buf + channel * output_w * output_h * kernel_w * kernel_h;
    float *data_im = out_buf + channel * channel_size;
    for (int kernel_row = 0; kernel_row < kernel_h; kernel_row++) {
      for (int kernel_col = 0; kernel_col < kernel_w; kernel_col++) {
        int input_row = -pad_h + kernel_row * dilation_h;
        for (int output_rows = output_h; output_rows; output_rows--) {
          if (!(input_row >= 0 && input_row < height)) {
            data_col += output_w;
          } else {
            int input_col = -pad_w + kernel_col * dilation_w;
            for (int output_col = output_w; output_col; output_col--) {
              if (input_col >= 0 && input_col < width) {
                data_im[input_row * width + input_col] += *data_col;
              }
              data_col++;
              input_col += stride_w;
            }
          }
          input_row += stride_h;
        }
      }
    }
  }
}
```