user: 请将以下的汇编代码转换成C语言代码：

```asm
<mmx_blur16>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %rdi,-0x18(%rbp)
  mov    %esi,-0x1c(%rbp)
  mov    %edx,-0x20(%rbp)
  mov    %ecx,-0x24(%rbp)
  mov    %r8d,-0x28(%rbp)
  movl   $0x0,-0x4(%rbp)
  jmp    L3
L86:
  mov    -0x4(%rbp),%eax
  imul   -0x24(%rbp),%eax
  cltq
  lea    (%rax,%rax,1),%rdx
  mov    -0x18(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x28(%rbp),%edx
  mov    -0x1c(%rbp),%eax
  mov    %eax,%esi
  mov    %rcx,%rdi
  call   <mmx16_blurrow@plt>
  addl   $0x1,-0x4(%rbp)
L3:
  mov    -0x4(%rbp),%eax
  cmp    -0x20(%rbp),%eax
  jl     L86
  cmpl   $0x0,-0x1c(%rbp)
  je     L25
  mov    -0x18(%rbp),%rax
  and    $0x2,%eax
  test   %eax,%eax
  je     L25
  mov    -0x24(%rbp),%eax
  lea    (%rax,%rax,1),%edi
  mov    -0x18(%rbp),%rax
  lea    0x2(%rax),%rdx
  mov    %rdx,-0x18(%rbp)
  mov    -0x28(%rbp),%edx
  mov    -0x20(%rbp),%esi
  mov    %edx,%ecx
  mov    %edi,%edx
  mov    %rax,%rdi
  call   <mmx16_blurcol@plt>
  subl   $0x1,-0x1c(%rbp)
L25:
  cmpl   $0x1,-0x1c(%rbp)
  jle    L47
  mov    -0x18(%rbp),%rax
  and    $0x3,%eax
  test   %eax,%eax
  je     L47
  mov    -0x24(%rbp),%eax
  lea    (%rax,%rax,1),%edi
  mov    -0x28(%rbp),%edx
  mov    -0x20(%rbp),%esi
  mov    -0x18(%rbp),%rax
  mov    %edx,%ecx
  mov    %edi,%edx
  mov    %rax,%rdi
  call   <mmx16_blurcol_2@plt>
  addq   $0x4,-0x18(%rbp)
  subl   $0x2,-0x1c(%rbp)
  jmp    L47
L54:
  mov    -0x24(%rbp),%eax
  lea    (%rax,%rax,1),%edi
  mov    -0x28(%rbp),%edx
  mov    -0x20(%rbp),%esi
  mov    -0x18(%rbp),%rax
  mov    %edx,%ecx
  mov    %edi,%edx
  mov    %rax,%rdi
  call   <mmx16_blurcol_4@plt>
  addq   $0x8,-0x18(%rbp)
  subl   $0x4,-0x1c(%rbp)
L47:
  cmpl   $0x3,-0x1c(%rbp)
  jg     L54
  cmpl   $0x1,-0x1c(%rbp)
  jle    L9
  mov    -0x24(%rbp),%eax
  lea    (%rax,%rax,1),%edi
  mov    -0x28(%rbp),%edx
  mov    -0x20(%rbp),%esi
  mov    -0x18(%rbp),%rax
  mov    %edx,%ecx
  mov    %edi,%edx
  mov    %rax,%rdi
  call   <mmx16_blurcol_2@plt>
  addq   $0x4,-0x18(%rbp)
  subl   $0x2,-0x1c(%rbp)
L9:
  cmpl   $0x0,-0x1c(%rbp)
  je     L44
  mov    -0x24(%rbp),%eax
  lea    (%rax,%rax,1),%edi
  mov    -0x28(%rbp),%edx
  mov    -0x20(%rbp),%esi
  mov    -0x18(%rbp),%rax
  mov    %edx,%ecx
  mov    %edi,%edx
  mov    %rax,%rdi
  call   <mmx16_blurcol@plt>
  addq   $0x2,-0x18(%rbp)
  subl   $0x1,-0x1c(%rbp)
L44:
  nop
  leave
  ret
```

assistant: ```c
void mmx_blur16(unsigned short *img, int width, int height, int step_width, int alpha32) {
  int row, col;
  int ii;
  for (row = 0; row < height; ++row)
    mmx16_blurrow(img + row * step_width, width, alpha32);
  if (width && (unsigned int)img & 0x2) {
    mmx16_blurcol(img++, height, step_width * 2, alpha32);
    width--;
  }
  if (width >= 2 && (unsigned int)img & 0x3) {
    mmx16_blurcol_2(img, height, step_width * 2, alpha32);
    img += 2;
    width -= 2;
  }
  while (width >= 4) {
    mmx16_blurcol_4(img, height, step_width * 2, alpha32);
    img += 4;
    width -= 4;
  }
  if (width >= 2) {
    mmx16_blurcol_2(img, height, step_width * 2, alpha32);
    img += 2;
    width -= 2;
  }
  if (width) {
    mmx16_blurcol(img, height, step_width * 2, alpha32);
    img += 1;
    width -= 1;
  }
}
```