user: Demonstrate the C code that generates the assembly output below:

```asm
<pool_backwards_cpu>:
  endbr64
  push   %r15
  mov    %ecx,%eax
  push   %r14
  imul   %r8d,%eax
  mov    %edx,%r14d
  push   %r13
  mov    %rdi,%r13
  push   %r12
  mov    %r8d,%r12d
  push   %rbp
  mov    %r9d,%ebp
  push   %rbx
  mov    %ecx,%ebx
  sub    $0x68,%rsp
  mov    %eax,0x4c(%rsp)
  imul   %edx,%eax
  mov    0xb8(%rsp),%rdi
  mov    %edx,0x54(%rsp)
  mov    0xa0(%rsp),%r15d
  mov    %rsi,(%rsp)
  xor    %esi,%esi
  mov    %eax,%edx
  shl    $0x3,%edx
  call   <memset@plt>
  test   %r14d,%r14d
  jle    L84
  mov    %r15d,%eax
  sub    %ebp,%ebx
  movl   $0x0,0x3c(%rsp)
  neg    %eax
  mov    %ebx,0x40(%rsp)
  mov    %eax,0x48(%rsp)
  mov    0xa8(%rsp),%eax
  movl   $0x0,0x34(%rsp)
  imul   %r12d,%eax
  mov    %eax,0x50(%rsp)
  movslq 0xb0(%rsp),%rax
  mov    %rax,0x18(%rsp)
  shl    $0x3,%rax
  mov    %rax,0x20(%rsp)
  lea    -0x2(%r15),%eax
  lea    0x2(%rax),%r14
  lea    (%r12,%r15,1),%eax
  mov    %eax,0x5c(%rsp)
  mov    %r14,%rax
  mov    %r13,%r14
  mov    %rax,%r13
L36:
  mov    0x40(%rsp),%eax
  test   %eax,%eax
  js     L116
  movslq 0x3c(%rsp),%rbx
  mov    %r12d,%eax
  movl   $0x0,0x44(%rsp)
  sub    %r15d,%eax
  movl   $0x0,0x38(%rsp)
  mov    %eax,0x14(%rsp)
  mov    %rbx,%rax
  mov    %rbx,0x28(%rsp)
  mov    0x5c(%rsp),%ebx
  add    %eax,%ebx
  mov    %ebx,0x58(%rsp)
L9:
  mov    0x14(%rsp),%edx
  test   %edx,%edx
  js     L18
  movslq 0x44(%rsp),%rax
  mov    0x58(%rsp),%edi
  movq   $0x0,0x8(%rsp)
  mov    0x48(%rsp),%r10d
  mov    %rax,%rbx
  add    0x28(%rsp),%rax
  lea    (%r14,%rax,8),%r9
  mov    %ebx,%eax
  add    0x3c(%rsp),%ebx
  add    %eax,%edi
  mov    %ebx,%r8d
  xor    %ebx,%ebx
  mov    %edi,0x30(%rsp)
  nopl   0x0(%rax)
L35:
  movsd  (%r9),%xmm0
  mov    %r8d,%ecx
  cmp    $0x1,%r15d
  jle    L119
  mov    $0x1,%eax
  nopl   0x0(%rax,%rax,1)
L87:
  movsd  (%r9,%rax,8),%xmm1
  lea    (%r8,%rax,1),%edx
  comisd %xmm0,%xmm1
  maxsd  %xmm0,%xmm1
  cmova  %edx,%ecx
  add    $0x1,%rax
  movapd %xmm1,%xmm0
  cmp    %r13,%rax
  jne    L87
L119:
  cmp    $0x1,%ebp
  jle    L102
  mov    0x30(%rsp),%eax
  mov    0x8(%rsp),%r11
  mov    $0x1,%edi
  add    0x28(%rsp),%r11
  lea    (%rax,%rbx,1),%esi
  nopl   (%rax)
L112:
  test   %r15d,%r15d
  jle    L1
  lea    (%rsi,%r10,1),%eax
  cltq
  add    %r11,%rax
  lea    (%r14,%rax,8),%rdx
  mov    %esi,%eax
  sub    %r15d,%eax
  nopw   0x0(%rax,%rax,1)
L83:
  movsd  (%rdx),%xmm1
  comisd %xmm0,%xmm1
  maxsd  %xmm0,%xmm1
  cmova  %eax,%ecx
  add    $0x1,%eax
  movapd %xmm1,%xmm0
  add    $0x8,%rdx
  cmp    %eax,%esi
  jne    L83
L1:
  add    $0x1,%edi
  add    %r12d,%esi
  cmp    %edi,%ebp
  jne    L112
L102:
  mov    0xb8(%rsp),%rax
  addq   $0x8,(%rsp)
  movslq %ecx,%rcx
  mov    (%rsp),%rdi
  add    0xb0(%rsp),%ebx
  lea    (%rax,%rcx,8),%rax
  add    0x20(%rsp),%r9
  add    0xb0(%rsp),%r8d
  movsd  (%rax),%xmm0
  addsd  -0x8(%rdi),%xmm0
  sub    0xb0(%rsp),%r10d
  mov    0x18(%rsp),%rdi
  add    %rdi,0x8(%rsp)
  movsd  %xmm0,(%rax)
  cmp    0x14(%rsp),%ebx
  jle    L35
L18:
  mov    0xa8(%rsp),%ebx
  mov    0x50(%rsp),%edi
  add    %ebx,0x38(%rsp)
  mov    0x38(%rsp),%eax
  add    %edi,0x44(%rsp)
  cmp    0x40(%rsp),%eax
  jle    L9
L116:
  mov    0x4c(%rsp),%edi
  addl   $0x1,0x34(%rsp)
  sub    %edi,0x48(%rsp)
  mov    0x34(%rsp),%eax
  add    %edi,0x3c(%rsp)
  cmp    %eax,0x54(%rsp)
  jne    L36
L84:
  add    $0x68,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
void pool_backwards_cpu(const double *data_im, const double *data_pooled, const int channels, const int height, const int width, const int kernel_h, const int kernel_w, const int stride_h, const int stride_w, double *data_backgrad) {
  memset(data_backgrad, 0, height * width * channels * sizeof(double));
  const int channel_size = height * width;
  for (int channel = 0; channel < channels; channel++) {
    for (int fitting_height = 0; fitting_height <= (height - kernel_h); fitting_height += stride_h) {
      for (int fitting_width = 0; fitting_width <= (width - kernel_w); fitting_width += stride_w) {
        int max_index = fitting_height * width + fitting_width + channel_size * channel;
        double max_value = data_im[max_index];
        for (int kernel_col = 1; kernel_col < kernel_w; kernel_col++) {
          int input_row = fitting_height;
          int input_col = fitting_width + kernel_col;
          int data_index = input_row * width + input_col + channel_size * channel;
          double data_value = data_im[data_index];
          if (data_value > max_value) {
            max_index = data_index;
            max_value = data_value;
          }
        }
        for (int kernel_row = 1; kernel_row < kernel_h; kernel_row++) {
          for (int kernel_col = 0; kernel_col < kernel_w; kernel_col++) {
            int input_row = fitting_height + kernel_row;
            int input_col = fitting_width + kernel_col;
            int data_index = input_row * width + input_col + channel_size * channel;
            double data_value = data_im[data_index];
            if (data_value > max_value) {
              max_index = data_index;
              max_value = data_value;
            }
          }
        }
        data_backgrad[max_index] += *(data_pooled++);
      }
    }
  }
}
```