user: 下面的汇编指令对应的C源代码是什么：

```asm
<blur_cusp2>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %rdi,-0x18(%rbp)
  mov    %rsi,-0x20(%rbp)
  mov    %edx,-0x24(%rbp)
  mov    %ecx,-0x28(%rbp)
  mov    %r8d,-0x2c(%rbp)
  mov    $0x100,%eax
  sub    -0x2c(%rbp),%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x18(%rbp),%rax
  mov    (%rax),%eax
  mov    %eax,-0x10(%rbp)
  movl   $0x0,-0xc(%rbp)
  jmp    L88
L116:
  mov    -0x10(%rbp),%eax
  imul   -0x2c(%rbp),%eax
  mov    %eax,%edx
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  imul   -0x4(%rbp),%eax
  add    %edx,%eax
  sar    $0x8,%eax
  mov    %eax,-0x10(%rbp)
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x20(%rbp),%rax
  add    %rax,%rdx
  mov    -0x10(%rbp),%eax
  mov    %eax,(%rdx)
  addl   $0x1,-0xc(%rbp)
L88:
  mov    -0x24(%rbp),%eax
  imul   -0x28(%rbp),%eax
  cmp    %eax,-0xc(%rbp)
  jl     L116
  mov    -0x24(%rbp),%eax
  imul   -0x28(%rbp),%eax
  cltq
  shl    $0x2,%rax
  lea    -0x4(%rax),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x10(%rbp)
  mov    -0x24(%rbp),%eax
  imul   -0x28(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0xc(%rbp)
  jmp    L45
L110:
  mov    -0x10(%rbp),%eax
  imul   -0x2c(%rbp),%eax
  mov    %eax,%edx
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rcx
  mov    -0x20(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  imul   -0x4(%rbp),%eax
  add    %edx,%eax
  sar    $0x8,%eax
  mov    %eax,-0x10(%rbp)
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rax,%rdx
  mov    -0x10(%rbp),%eax
  mov    %eax,(%rdx)
  subl   $0x1,-0xc(%rbp)
L45:
  cmpl   $0x0,-0xc(%rbp)
  jns    L110
  mov    -0x18(%rbp),%rax
  mov    (%rax),%eax
  mov    %eax,-0x10(%rbp)
  movl   $0x0,-0x8(%rbp)
  jmp    L25
L46:
  mov    -0x8(%rbp),%eax
  mov    %eax,-0xc(%rbp)
  jmp    L79
L102:
  mov    -0x10(%rbp),%eax
  imul   -0x2c(%rbp),%eax
  mov    %eax,%edx
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rcx
  mov    -0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  imul   -0x4(%rbp),%eax
  add    %edx,%eax
  sar    $0x8,%eax
  mov    %eax,-0x10(%rbp)
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x20(%rbp),%rax
  add    %rax,%rdx
  mov    -0x10(%rbp),%eax
  mov    %eax,(%rdx)
  mov    -0x24(%rbp),%eax
  add    %eax,-0xc(%rbp)
L79:
  mov    -0x24(%rbp),%eax
  imul   -0x28(%rbp),%eax
  cmp    %eax,-0xc(%rbp)
  jl     L102
  addl   $0x1,-0x8(%rbp)
L25:
  mov    -0x8(%rbp),%eax
  cmp    -0x24(%rbp),%eax
  jl     L46
  mov    -0x24(%rbp),%eax
  imul   -0x28(%rbp),%eax
  cltq
  shl    $0x2,%rax
  lea    -0x4(%rax),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x10(%rbp)
  mov    -0x24(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0x8(%rbp)
  jmp    L50
L26:
  mov    -0x28(%rbp),%eax
  sub    $0x1,%eax
  imul   -0x24(%rbp),%eax
  mov    %eax,%edx
  mov    -0x8(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0xc(%rbp)
  jmp    L9
L39:
  mov    -0x10(%rbp),%eax
  imul   -0x2c(%rbp),%eax
  mov    %eax,%edx
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rcx
  mov    -0x20(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  imul   -0x4(%rbp),%eax
  add    %edx,%eax
  sar    $0x8,%eax
  mov    %eax,-0x10(%rbp)
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rax,%rdx
  mov    -0x10(%rbp),%eax
  mov    %eax,(%rdx)
  mov    -0x24(%rbp),%eax
  sub    %eax,-0xc(%rbp)
L9:
  cmpl   $0x0,-0xc(%rbp)
  jns    L39
  subl   $0x1,-0x8(%rbp)
L50:
  cmpl   $0x0,-0x8(%rbp)
  jns    L26
  nop
  nop
  pop    %rbp
  ret
```

assistant: ```c
void blur_cusp2(int *in, int *tmp, int w, int h, int amount) {
  int ramount;
  int sum;
  int i, j;
  ramount = 256 - amount;
  sum = in[0];
  for (i = 0; i < w * h; i++) {
    sum = (sum * amount + in[i] * ramount) >> 8;
    tmp[i] = sum;
  }
  sum = tmp[w * h - 1];
  for (i = w * h - 1; i >= 0; i--) {
    sum = (sum * amount + tmp[i] * ramount) >> 8;
    in[i] = sum;
  }
  sum = in[0];
  for (j = 0; j < w; j++) {
    for (i = j; i < w * h; i += w) {
      sum = (sum * amount + in[i] * ramount) >> 8;
      tmp[i] = sum;
    }
  }
  sum = tmp[w * h - 1];
  for (j = w - 1; j >= 0; j--) {
    for (i = w * (h - 1) + j; i >= 0; i -= w) {
      sum = (sum * amount + tmp[i] * ramount) >> 8;
      in[i] = sum;
    }
  }
}
```