user: Please show me the C implementation that matches the assembly code listed below:

```asm
<neuralops_omp_caffe_col2im>:
  endbr64
  push   %r15
  mov    %ecx,%r11d
  push   %r14
  push   %r13
  push   %r12
  mov    %edx,%r12d
  push   %rbp
  push   %rbx
  mov    0x38(%rsp),%eax
  mov    0x48(%rsp),%r13d
  mov    0x50(%rsp),%r10d
  lea    (%rdx,%rax,2),%eax
  lea    -0x1(%r8),%edx
  mov    0x68(%rsp),%rbp
  imul   0x58(%rsp),%edx
  mov    %esi,-0x4(%rsp)
  mov    %r8d,-0x2c(%rsp)
  mov    %r9d,-0x40(%rsp)
  add    $0x1,%edx
  sub    %edx,%eax
  cltd
  idiv   %r13d
  lea    -0x1(%r9),%edx
  imul   0x60(%rsp),%edx
  add    $0x1,%edx
  lea    0x1(%rax),%r14d
  mov    0x40(%rsp),%eax
  mov    %r14d,-0x3c(%rsp)
  lea    (%rcx,%rax,2),%eax
  sub    %edx,%eax
  cltd
  idiv   %r10d
  mov    %r12d,%edx
  imul   %r11d,%edx
  mov    %eax,%ecx
  add    $0x1,%eax
  mov    %eax,-0x4c(%rsp)
  test   %esi,%esi
  jle    L97
  cltq
  mov    %rdi,-0x20(%rsp)
  xor    %ebx,%ebx
  mov    %rax,%rsi
  lea    0x0(,%rax,4),%r15
  mov    %r14d,%eax
  mov    %r13d,%r14d
  imul   %esi,%eax
  movl   $0x0,-0x24(%rsp)
  imul   %r11d,%r14d
  imul   %r9d,%eax
  imul   %r8d,%eax
  cltq
  shl    $0x2,%rax
  mov    %rax,-0x18(%rsp)
  movslq %edx,%rax
  mov    %rax,-0x10(%rsp)
  mov    0x58(%rsp),%eax
  imul   %r11d,%eax
  mov    %eax,-0x28(%rsp)
  mov    0x38(%rsp),%eax
  imul   %r11d,%eax
  neg    %eax
  mov    %eax,-0x8(%rsp)
  mov    %ecx,%eax
  lea    0x4(,%rax,4),%rax
  mov    %rax,-0x48(%rsp)
L85:
  mov    -0x2c(%rsp),%esi
  mov    -0x20(%rsp),%rdx
  test   %esi,%esi
  jle    L142
  mov    0x38(%rsp),%eax
  movl   $0x0,-0x30(%rsp)
  neg    %eax
  mov    %eax,-0x38(%rsp)
  mov    -0x8(%rsp),%eax
  mov    %eax,-0x34(%rsp)
L57:
  mov    0x40(%rsp),%eax
  movl   $0x0,-0x54(%rsp)
  neg    %eax
  mov    %eax,-0x50(%rsp)
  mov    -0x40(%rsp),%eax
  test   %eax,%eax
  jle    L92
  nopw   0x0(%rax,%rax,1)
L47:
  mov    -0x3c(%rsp),%r8d
  test   %r8d,%r8d
  je     L25
  mov    -0x34(%rsp),%edi
  mov    -0x38(%rsp),%esi
  jmp    L36
  nopl   0x0(%rax)
L43:
  add    %r15,%rdx
L44:
  add    %r13d,%esi
  add    %r14d,%edi
  sub    $0x1,%r8d
  je     L25
L36:
  test   %esi,%esi
  js     L43
  cmp    %esi,%r12d
  jle    L43
  mov    -0x4c(%rsp),%ecx
  test   %ecx,%ecx
  je     L44
  mov    -0x48(%rsp),%rax
  lea    (%rdx,%rax,1),%r9
  mov    -0x50(%rsp),%eax
  nopl   (%rax)
L133:
  test   %eax,%eax
  js     L18
  cmp    %eax,%r11d
  jle    L18
  lea    (%rax,%rdi,1),%ecx
  movslq %ecx,%rcx
  add    %rbx,%rcx
  lea    0x0(%rbp,%rcx,4),%rcx
  movss  (%rcx),%xmm0
  addss  (%rdx),%xmm0
  movss  %xmm0,(%rcx)
L18:
  add    $0x4,%rdx
  add    %r10d,%eax
  cmp    %r9,%rdx
  jne    L133
  add    %r13d,%esi
  add    %r14d,%edi
  sub    $0x1,%r8d
  jne    L36
L25:
  addl   $0x1,-0x54(%rsp)
  mov    0x60(%rsp),%esi
  mov    -0x54(%rsp),%eax
  add    %esi,-0x50(%rsp)
  cmp    %eax,-0x40(%rsp)
  jne    L47
L92:
  mov    0x58(%rsp),%esi
  addl   $0x1,-0x30(%rsp)
  add    %esi,-0x38(%rsp)
  mov    -0x30(%rsp),%eax
  mov    -0x28(%rsp),%esi
  add    %esi,-0x34(%rsp)
  cmp    %eax,-0x2c(%rsp)
  jne    L57
L142:
  addl   $0x1,-0x24(%rsp)
  mov    -0x18(%rsp),%rsi
  mov    -0x24(%rsp),%eax
  add    %rsi,-0x20(%rsp)
  add    -0x10(%rsp),%rbx
  cmp    %eax,-0x4(%rsp)
  jne    L85
L97:
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  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;
        }
      }
    }
  }
}
```