user: 请从给定的汇编指令推导出C源代码:

```asm
<fastBlur>:
  endbr64
  push   %r15
  mov    %rdi,%r11
  mov    %esi,%r15d
  mov    %edx,%r8d
  push   %r14
  mov    %ecx,%esi
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x20,%rsp
  cmp    $0x1,%ecx
  je     L155
  cmp    $0x3,%ecx
  jne    L401
  mov    $0x1,%eax
  mov    $0x2,%ecx
L405:
  lea    -0x2(%r15),%ebx
  mov    %ebx,%r12d
  cmp    $0x3f,%esi
  je     L222
  cmp    $0x7f,%esi
  je     L366
  test   %eax,%eax
  jne    L102
  cmp    $0x1,%r15d
  jle    L613
  test   %r8d,%r8d
  jle    L176
  lea    -0x1(%r15),%r14d
  xor    %ebp,%ebp
  lea    0x1(%r11),%r13
  movslq %r15d,%rdi
  lea    0x1(%rsi),%ecx
  nopl   (%rax)
L217:
  lea    0x0(%r13,%rbp,1),%r9
  xor    %r10d,%r10d
  nopl   0x0(%rax,%rax,1)
L73:
  movzbl -0x1(%r9),%eax
  movzbl (%r9),%edx
  add    $0x1,%r10d
  imul   %esi,%eax
  add    %edx,%eax
  cltd
  idiv   %ecx
  mov    %al,(%r9)
  add    %rdi,%r9
  cmp    %r10d,%r8d
  jne    L73
  add    $0x1,%rbp
  cmp    %r14,%rbp
  jne    L217
L612:
  movslq %ebx,%rbx
  add    %r11,%rbx
  nop
L523:
  mov    %rbx,%r9
  xor    %r10d,%r10d
  cs nopw 0x0(%rax,%rax,1)
L624:
  movzbl 0x1(%r9),%eax
  movzbl (%r9),%edx
  add    $0x1,%r10d
  imul   %esi,%eax
  add    %edx,%eax
  cltd
  idiv   %ecx
  mov    %al,(%r9)
  add    %rdi,%r9
  cmp    %r10d,%r8d
  jne    L624
  sub    $0x1,%r12d
  sub    $0x1,%rbx
  cmp    $0xffffffff,%r12d
  jne    L523
L176:
  test   %r15d,%r15d
  jle    L640
  cmp    $0x1,%r8d
  jle    L441
  mov    %r15d,%ebp
  movslq %r15d,%rdi
  lea    0x1(%rsi),%ecx
  xor    %ebx,%ebx
  neg    %ebp
  lea    (%r11,%rdi,1),%r12
  movslq %ebp,%rbp
  nopl   0x0(%rax)
L610:
  lea    (%r12,%rbx,1),%r9
  mov    $0x1,%r10d
  nopw   0x0(%rax,%rax,1)
L290:
  mov    %r9,%rax
  movzbl (%r9),%edx
  add    $0x1,%r10d
  sub    %rbx,%rax
  movzbl (%rax,%rbp,1),%eax
  imul   %esi,%eax
  add    %edx,%eax
  cltd
  idiv   %ecx
  mov    %al,(%r9)
  add    %rdi,%r9
  cmp    %r10d,%r8d
  jne    L290
  add    $0x1,%rbx
  add    $0x1,%rbp
  cmp    %rdi,%rbx
  jne    L610
L441:
  sub    $0x2,%r8d
  js     L640
  mov    %r15d,%eax
  mov    %r15d,%r10d
  lea    -0x1(%r15),%ebx
  movslq %r15d,%rdi
  imul   %r8d,%eax
  neg    %r10d
  lea    0x1(%rsi),%ecx
  movslq %r10d,%r10
  cltq
  lea    0x1(%r11,%rax,1),%r11
  add    %rbx,%r11
  nopl   0x0(%rax)
L169:
  mov    %r11,%r9
  sub    %rbx,%r9
  sub    $0x1,%r9
  nopw   0x0(%rax,%rax,1)
L498:
  movzbl (%r9,%rdi,1),%eax
  movzbl (%r9),%edx
  add    $0x1,%r9
  imul   %esi,%eax
  add    %edx,%eax
  cltd
  idiv   %ecx
  mov    %al,-0x1(%r9)
  cmp    %r11,%r9
  jne    L498
  sub    $0x1,%r8d
  add    %r10,%r11
  cmp    $0xffffffff,%r8d
  jne    L169
L640:
  add    $0x20,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L401:
  cmp    $0x7,%ecx
  jne    L534
  mov    $0x3,%ecx
  lea    -0x2(%r15),%ebx
L102:
  mov    %ebx,%edx
  cmp    $0x1,%r15d
  jle    L424
  test   %r8d,%r8d
  jle    L556
  lea    -0x1(%r15),%r12d
  xor    %ebp,%ebp
  lea    0x1(%r11),%r13
  movslq %r15d,%rdi
  cs nopw 0x0(%rax,%rax,1)
L627:
  lea    0x0(%r13,%rbp,1),%r9
  xor    %r10d,%r10d
  nopl   0x0(%rax,%rax,1)
L382:
  movzbl -0x1(%r9),%eax
  movzbl (%r9),%r14d
  add    $0x1,%r10d
  imul   %esi,%eax
  add    %r14d,%eax
  sar    %cl,%eax
  mov    %al,(%r9)
  add    %rdi,%r9
  cmp    %r10d,%r8d
  jne    L382
  add    $0x1,%rbp
  cmp    %r12,%rbp
  jne    L627
L493:
  movslq %ebx,%rbx
  add    %r11,%rbx
  nop
L444:
  mov    %rbx,%r9
  xor    %r10d,%r10d
  cs nopw 0x0(%rax,%rax,1)
L541:
  movzbl 0x1(%r9),%eax
  movzbl (%r9),%ebp
  add    $0x1,%r10d
  imul   %esi,%eax
  add    %ebp,%eax
  sar    %cl,%eax
  mov    %al,(%r9)
  add    %rdi,%r9
  cmp    %r10d,%r8d
  jne    L541
  sub    $0x1,%edx
  sub    $0x1,%rbx
  cmp    $0xffffffff,%edx
  jne    L444
L556:
  test   %r15d,%r15d
  jle    L640
  cmp    $0x1,%r8d
  jle    L44
  mov    %r15d,%ebx
  movslq %r15d,%rdi
  xor    %r10d,%r10d
  neg    %ebx
  lea    (%r11,%rdi,1),%rbp
  movslq %ebx,%rbx
  nopl   0x0(%rax)
L593:
  lea    0x0(%rbp,%r10,1),%rdx
  mov    $0x1,%r9d
  nopl   0x0(%rax,%rax,1)
L431:
  mov    %rdx,%rax
  movzbl (%rdx),%r12d
  add    $0x1,%r9d
  sub    %r10,%rax
  movzbl (%rax,%rbx,1),%eax
  imul   %esi,%eax
  add    %r12d,%eax
  sar    %cl,%eax
  mov    %al,(%rdx)
  add    %rdi,%rdx
  cmp    %r9d,%r8d
  jne    L431
  add    $0x1,%r10
  add    $0x1,%rbx
  cmp    %rdi,%r10
  jne    L593
L44:
  sub    $0x2,%r8d
  js     L640
  mov    %r15d,%ebp
  mov    %r15d,%eax
  movd   %esi,%xmm5
  mov    %r15d,%edx
  and    $0xfffffff0,%ebp
  neg    %eax
  shr    $0x4,%edx
  pshufd $0x0,%xmm5,%xmm4
  lea    (%r15,%rbp,1),%edi
  lea    0x1(%rbp),%r13d
  movdqa %xmm4,%xmm7
  cltq
  mov    %edi,-0x60(%rsp)
  lea    (%r15,%r13,1),%edi
  lea    -0x1(%rdx),%r10d
  pxor   %xmm5,%xmm5
  mov    %edi,-0x58(%rsp)
  lea    0x2(%rbp),%edi
  add    $0x1,%r10
  pxor   %xmm3,%xmm3
  mov    %edi,-0x5c(%rsp)
  add    %r15d,%edi
  shl    $0x4,%r10
  psrlq  $0x20,%xmm7
  mov    %edi,-0x54(%rsp)
  lea    0x3(%rbp),%edi
  mov    %edi,-0x50(%rsp)
  add    %r15d,%edi
  mov    %edi,-0x4c(%rsp)
  lea    0x4(%rbp),%edi
  mov    %edi,-0x48(%rsp)
  add    %r15d,%edi
  mov    %edi,-0x44(%rsp)
  lea    0x5(%rbp),%edi
  mov    %edi,-0x40(%rsp)
  add    %r15d,%edi
  mov    %edi,-0x38(%rsp)
  lea    0x6(%rbp),%edi
  mov    %edi,-0x3c(%rsp)
  add    %r15d,%edi
  mov    %edi,-0x30(%rsp)
  lea    0x7(%rbp),%edi
  mov    %edi,-0x34(%rsp)
  add    %r15d,%edi
  mov    %edi,-0x28(%rsp)
  lea    0x8(%rbp),%edi
  mov    %edi,-0x2c(%rsp)
  add    %r15d,%edi
  mov    %edi,-0x20(%rsp)
  lea    0x9(%rbp),%edi
  mov    %edi,-0x24(%rsp)
  add    %r15d,%edi
  mov    %edi,-0x18(%rsp)
  lea    0xa(%rbp),%edi
  mov    %edi,-0x1c(%rsp)
  add    %r15d,%edi
  mov    %edi,-0x10(%rsp)
  lea    0xb(%rbp),%edi
  mov    %edi,-0x14(%rsp)
  add    %r15d,%edi
  mov    %edi,(%rsp)
  lea    0xc(%rbp),%edi
  mov    %edi,-0xc(%rsp)
  add    %r15d,%edi
  mov    %edi,0x8(%rsp)
  lea    0xd(%rbp),%edi
  mov    %edi,0x4(%rsp)
  add    %r15d,%edi
  mov    %edi,0x10(%rsp)
  lea    0xe(%rbp),%edi
  mov    %edi,0xc(%rsp)
  add    %r15d,%edi
  mov    %edi,0x14(%rsp)
  lea    -0x1(%r15),%edi
  mov    %edi,%edx
  mov    %rax,-0x78(%rsp)
  mov    %r15d,%eax
  movslq %r15d,%rdi
  imul   %r8d,%eax
  mov    %edx,-0x6c(%rsp)
  lea    0x1(%r11,%rdx,1),%rdx
  mov    %rdx,-0x8(%rsp)
  lea    (%r11,%rdi,1),%rdx
  mov    %rdx,-0x68(%rsp)
  movslq %ecx,%rdx
  movdqa D4(%rip),%xmm8
  cmpl   $0xe,-0x6c(%rsp)
  movslq %eax,%rbx
  movq   %rdx,%xmm6
  jbe    L1
  nopl   0x0(%rax,%rax,1)
L58:
  mov    -0x68(%rsp),%rdx
  lea    (%r11,%rbx,1),%r9
  lea    (%rdx,%rbx,1),%r12
  xor    %edx,%edx
  nop
L510:
  movdqu (%r12,%rdx,1),%xmm2
  movdqu (%r9,%rdx,1),%xmm9
  movdqa %xmm2,%xmm1
  movdqa %xmm9,%xmm11
  punpckhbw %xmm5,%xmm2
  punpcklbw %xmm5,%xmm1
  punpcklbw %xmm5,%xmm11
  punpckhbw %xmm5,%xmm9
  movdqa %xmm1,%xmm10
  punpckhwd %xmm3,%xmm1
  punpcklwd %xmm3,%xmm10
  movdqa %xmm10,%xmm0
  psrlq  $0x20,%xmm10
  pmuludq %xmm4,%xmm0
  pmuludq %xmm7,%xmm10
  pshufd $0x8,%xmm0,%xmm0
  pshufd $0x8,%xmm10,%xmm10
  punpckldq %xmm10,%xmm0
  movdqa %xmm11,%xmm10
  punpckhwd %xmm3,%xmm11
  punpcklwd %xmm3,%xmm10
  paddd  %xmm10,%xmm0
  movdqa %xmm1,%xmm10
  psrlq  $0x20,%xmm1
  pmuludq %xmm4,%xmm10
  pmuludq %xmm7,%xmm1
  psrad  %xmm6,%xmm0
  pshufd $0x8,%xmm10,%xmm10
  pshufd $0x8,%xmm1,%xmm1
  punpckldq %xmm1,%xmm10
  movdqa %xmm10,%xmm1
  movdqa %xmm0,%xmm10
  paddd  %xmm11,%xmm1
  psrad  %xmm6,%xmm1
  punpcklwd %xmm1,%xmm0
  punpckhwd %xmm1,%xmm10
  movdqa %xmm0,%xmm1
  punpcklwd %xmm10,%xmm0
  punpckhwd %xmm10,%xmm1
  movdqa %xmm2,%xmm10
  punpckhwd %xmm3,%xmm2
  punpcklwd %xmm3,%xmm10
  punpcklwd %xmm1,%xmm0
  movdqa %xmm10,%xmm1
  psrlq  $0x20,%xmm10
  pand   %xmm8,%xmm0
  pmuludq %xmm4,%xmm1
  pmuludq %xmm7,%xmm10
  pshufd $0x8,%xmm1,%xmm1
  pshufd $0x8,%xmm10,%xmm10
  punpckldq %xmm10,%xmm1
  movdqa %xmm9,%xmm10
  punpckhwd %xmm3,%xmm9
  punpcklwd %xmm3,%xmm10
  paddd  %xmm10,%xmm1
  movdqa %xmm2,%xmm10
  psrlq  $0x20,%xmm2
  pmuludq %xmm4,%xmm10
  pmuludq %xmm7,%xmm2
  psrad  %xmm6,%xmm1
  pshufd $0x8,%xmm10,%xmm10
  pshufd $0x8,%xmm2,%xmm2
  punpckldq %xmm2,%xmm10
  movdqa %xmm1,%xmm2
  paddd  %xmm10,%xmm9
  psrad  %xmm6,%xmm9
  punpcklwd %xmm9,%xmm1
  punpckhwd %xmm9,%xmm2
  movdqa %xmm1,%xmm9
  punpcklwd %xmm2,%xmm1
  punpckhwd %xmm2,%xmm9
  punpcklwd %xmm9,%xmm1
  pand   %xmm8,%xmm1
  packuswb %xmm1,%xmm0
  movups %xmm0,(%r9,%rdx,1)
  add    $0x10,%rdx
  cmp    %r10,%rdx
  jne    L510
  cmp    %ebp,%r15d
  je     L60
  mov    -0x60(%rsp),%r14d
  lea    (%rax,%rbp,1),%edx
  movslq %edx,%rdx
  lea    (%rax,%r14,1),%r9d
  add    %r11,%rdx
  movslq %r9d,%r9
  movzbl (%r11,%r9,1),%r12d
  movzbl (%rdx),%r9d
  imul   %esi,%r12d
  add    %r12d,%r9d
  sar    %cl,%r9d
  mov    %r9b,(%rdx)
  cmp    %r13d,%r15d
  jle    L60
  mov    -0x58(%rsp),%r14d
  lea    (%rax,%r13,1),%edx
  movslq %edx,%rdx
  lea    (%rax,%r14,1),%r9d
  add    %r11,%rdx
  movslq %r9d,%r9
  movzbl (%r11,%r9,1),%r12d
  movzbl (%rdx),%r9d
  imul   %esi,%r12d
  add    %r12d,%r9d
  sar    %cl,%r9d
  mov    %r9b,(%rdx)
  mov    -0x5c(%rsp),%edx
  cmp    %edx,%r15d
  jle    L60
  mov    -0x54(%rsp),%r14d
  add    %eax,%edx
  movslq %edx,%rdx
  lea    (%rax,%r14,1),%r9d
  add    %r11,%rdx
  movslq %r9d,%r9
  movzbl (%r11,%r9,1),%r12d
  movzbl (%rdx),%r9d
  imul   %esi,%r12d
  add    %r12d,%r9d
  sar    %cl,%r9d
  mov    %r9b,(%rdx)
  mov    -0x50(%rsp),%edx
  cmp    %edx,%r15d
  jle    L60
  mov    -0x4c(%rsp),%r14d
  add    %eax,%edx
  movslq %edx,%rdx
  lea    (%rax,%r14,1),%r9d
  add    %r11,%rdx
  movslq %r9d,%r9
  movzbl (%r11,%r9,1),%r12d
  movzbl (%rdx),%r9d
  imul   %esi,%r12d
  add    %r12d,%r9d
  sar    %cl,%r9d
  mov    %r9b,(%rdx)
  mov    -0x48(%rsp),%edx
  cmp    %edx,%r15d
  jle    L60
  mov    -0x44(%rsp),%r14d
  add    %eax,%edx
  movslq %edx,%rdx
  lea    (%rax,%r14,1),%r9d
  add    %r11,%rdx
  movslq %r9d,%r9
  movzbl (%r11,%r9,1),%r12d
  movzbl (%rdx),%r9d
  imul   %esi,%r12d
  add    %r12d,%r9d
  sar    %cl,%r9d
  mov    %r9b,(%rdx)
  mov    -0x40(%rsp),%edx
  cmp    %edx,%r15d
  jle    L60
  mov    -0x38(%rsp),%r14d
  add    %eax,%edx
  movslq %edx,%rdx
  lea    (%rax,%r14,1),%r9d
  add    %r11,%rdx
  movslq %r9d,%r9
  movzbl (%r11,%r9,1),%r12d
  movzbl (%rdx),%r9d
  imul   %esi,%r12d
  add    %r12d,%r9d
  sar    %cl,%r9d
  mov    %r9b,(%rdx)
  mov    -0x3c(%rsp),%edx
  cmp    %edx,%r15d
  jle    L60
  mov    -0x30(%rsp),%r14d
  add    %eax,%edx
  movslq %edx,%rdx
  lea    (%rax,%r14,1),%r9d
  add    %r11,%rdx
  movslq %r9d,%r9
  movzbl (%r11,%r9,1),%r12d
  movzbl (%rdx),%r9d
  imul   %esi,%r12d
  add    %r12d,%r9d
  sar    %cl,%r9d
  mov    %r9b,(%rdx)
  mov    -0x34(%rsp),%edx
  cmp    %edx,%r15d
  jle    L60
  mov    -0x28(%rsp),%r14d
  add    %eax,%edx
  movslq %edx,%rdx
  lea    (%rax,%r14,1),%r9d
  add    %r11,%rdx
  movslq %r9d,%r9
  movzbl (%r11,%r9,1),%r12d
  movzbl (%rdx),%r9d
  imul   %esi,%r12d
  add    %r12d,%r9d
  sar    %cl,%r9d
  mov    %r9b,(%rdx)
  mov    -0x2c(%rsp),%edx
  cmp    %edx,%r15d
  jle    L60
  mov    -0x20(%rsp),%r14d
  add    %eax,%edx
  movslq %edx,%rdx
  lea    (%rax,%r14,1),%r9d
  add    %r11,%rdx
  movslq %r9d,%r9
  movzbl (%r11,%r9,1),%r12d
  movzbl (%rdx),%r9d
  imul   %esi,%r12d
  add    %r12d,%r9d
  sar    %cl,%r9d
  mov    %r9b,(%rdx)
  mov    -0x24(%rsp),%edx
  cmp    %edx,%r15d
  jle    L60
  mov    -0x18(%rsp),%r14d
  add    %eax,%edx
  movslq %edx,%rdx
  lea    (%rax,%r14,1),%r9d
  add    %r11,%rdx
  movslq %r9d,%r9
  movzbl (%r11,%r9,1),%r12d
  movzbl (%rdx),%r9d
  imul   %esi,%r12d
  add    %r12d,%r9d
  sar    %cl,%r9d
  mov    %r9b,(%rdx)
  mov    -0x1c(%rsp),%edx
  cmp    %edx,%r15d
  jle    L60
  mov    -0x10(%rsp),%r14d
  add    %eax,%edx
  movslq %edx,%rdx
  lea    (%rax,%r14,1),%r9d
  add    %r11,%rdx
  movslq %r9d,%r9
  movzbl (%r11,%r9,1),%r12d
  movzbl (%rdx),%r9d
  imul   %esi,%r12d
  add    %r12d,%r9d
  sar    %cl,%r9d
  mov    %r9b,(%rdx)
  mov    -0x14(%rsp),%edx
  cmp    %edx,%r15d
  jle    L60
  mov    (%rsp),%r14d
  add    %eax,%edx
  movslq %edx,%rdx
  lea    (%rax,%r14,1),%r9d
  add    %r11,%rdx
  movslq %r9d,%r9
  movzbl (%r11,%r9,1),%r12d
  movzbl (%rdx),%r9d
  imul   %esi,%r12d
  add    %r12d,%r9d
  sar    %cl,%r9d
  mov    %r9b,(%rdx)
  mov    -0xc(%rsp),%edx
  cmp    %edx,%r15d
  jle    L60
  mov    0x8(%rsp),%r14d
  add    %eax,%edx
  movslq %edx,%rdx
  lea    (%rax,%r14,1),%r9d
  add    %r11,%rdx
  movslq %r9d,%r9
  movzbl (%r11,%r9,1),%r12d
  movzbl (%rdx),%r9d
  imul   %esi,%r12d
  add    %r12d,%r9d
  sar    %cl,%r9d
  mov    %r9b,(%rdx)
  mov    0x4(%rsp),%edx
  cmp    %r15d,%edx
  jge    L60
  mov    0x10(%rsp),%r14d
  add    %eax,%edx
  movslq %edx,%rdx
  lea    (%rax,%r14,1),%r9d
  add    %r11,%rdx
  movslq %r9d,%r9
  movzbl (%r11,%r9,1),%r12d
  movzbl (%rdx),%r9d
  imul   %esi,%r12d
  add    %r12d,%r9d
  sar    %cl,%r9d
  mov    %r9b,(%rdx)
  mov    0xc(%rsp),%edx
  cmp    %r15d,%edx
  jge    L60
  mov    0x14(%rsp),%r14d
  add    %eax,%edx
  movslq %edx,%rdx
  lea    (%rax,%r14,1),%r9d
  add    %r11,%rdx
  movslq %r9d,%r9
  movzbl (%r11,%r9,1),%r12d
  movzbl (%rdx),%r9d
  imul   %esi,%r12d
  add    %r12d,%r9d
  sar    %cl,%r9d
  mov    %r9b,(%rdx)
  nopl   (%rax)
L60:
  sub    $0x1,%r8d
  add    -0x78(%rsp),%rbx
  sub    %r15d,%eax
  cmp    $0xffffffff,%r8d
  je     L640
  cmpl   $0xe,-0x6c(%rsp)
  ja     L58
L1:
  mov    -0x8(%rsp),%r14
  lea    (%rbx,%r11,1),%rdx
  lea    (%r14,%rbx,1),%r12
  cs nopw 0x0(%rax,%rax,1)
L324:
  movzbl (%rdx,%rdi,1),%r14d
  movzbl (%rdx),%r9d
  add    $0x1,%rdx
  imul   %esi,%r14d
  add    %r14d,%r9d
  sar    %cl,%r9d
  mov    %r9b,-0x1(%rdx)
  cmp    %rdx,%r12
  jne    L324
  jmp    L60
L534:
  cmp    $0xf,%ecx
  jne    L359
  mov    $0x4,%ecx
  lea    -0x2(%r15),%ebx
  jmp    L102
L155:
  mov    $0x1,%eax
  mov    $0x1,%ecx
  jmp    L405
L359:
  cmp    $0x1f,%ecx
  jne    L238
  mov    $0x5,%ecx
  lea    -0x2(%r15),%ebx
  jmp    L102
L424:
  test   %ebx,%ebx
  js     L556
  test   %r8d,%r8d
  jle    L556
  movslq %r15d,%rdi
  jmp    L493
L238:
  xor    %eax,%eax
  xor    %ecx,%ecx
  jmp    L405
L222:
  mov    $0x6,%ecx
  jmp    L102
  nopl   0x0(%rax,%rax,1)
L613:
  test   %ebx,%ebx
  js     L176
  test   %r8d,%r8d
  jle    L176
  movslq %r15d,%rdi
  lea    0x1(%rsi),%ecx
  jmp    L612
L366:
  mov    $0x7,%ecx
  jmp    L102
```

tool_calls: name: disassemble_data
arguments: data_tag: D4
datatype: byte[16]

tool: {"D4": [0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00]}

assistant: ```c
void fastBlur(unsigned char *img, int w, int h, int size) {
  int x, y;
  int m = size;
  int divZ = 0;
  int canFastDiv = 0;
  if (size == 1)
    divZ = 1, canFastDiv = 1;
  if (size == 3)
    divZ = 2, canFastDiv = 1;
  if (size == 7)
    divZ = 3, canFastDiv = 1;
  if (size == 15)
    divZ = 4, canFastDiv = 1;
  if (size == 31)
    divZ = 5, canFastDiv = 1;
  if (size == 63)
    divZ = 6, canFastDiv = 1;
  if (size == 127)
    divZ = 7, canFastDiv = 1;
  if (canFastDiv) {
    for (x = 1; x < w; x++)
      for (y = 0; y < h; y++)
        img[x + w * y] = (m * img[x - 1 + w * y] + img[x + w * y]) >> divZ;
    for (x = w - 2; x >= 0; x--)
      for (y = 0; y < h; y++)
        img[x + w * y] = (m * img[x + 1 + w * y] + img[x + w * y]) >> divZ;
    for (x = 0; x < w; x++)
      for (y = 1; y < h; y++)
        img[x + w * y] = (m * img[x - w + w * y] + img[x + w * y]) >> divZ;
    for (y = h - 2; y >= 0; y--)
      for (x = 0; x < w; x++)
        img[x + w * y] = (m * img[x + w + w * y] + img[x + w * y]) >> divZ;
    return;
  }
  for (x = 1; x < w; x++)
    for (y = 0; y < h; y++)
      img[x + w * y] = (m * img[x - 1 + w * y] + img[x + w * y]) / (m + 1);
  for (x = w - 2; x >= 0; x--)
    for (y = 0; y < h; y++)
      img[x + w * y] = (m * img[x + 1 + w * y] + img[x + w * y]) / (m + 1);
  for (x = 0; x < w; x++)
    for (y = 1; y < h; y++)
      img[x + w * y] = (m * img[x - w + w * y] + img[x + w * y]) / (m + 1);
  for (y = h - 2; y >= 0; y--)
    for (x = 0; x < w; x++)
      img[x + w * y] = (m * img[x + w + w * y] + img[x + w * y]) / (m + 1);
}
```