user: Translate the below assembly code into C programming language:

```asm
<fastBlur>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %rdi,-0x28(%rbp)
  mov    %esi,-0x2c(%rbp)
  mov    %edx,-0x30(%rbp)
  mov    %ecx,-0x34(%rbp)
  mov    -0x34(%rbp),%eax
  mov    %eax,-0x4(%rbp)
  movl   $0x0,-0xc(%rbp)
  movl   $0x0,-0x8(%rbp)
  cmpl   $0x1,-0x34(%rbp)
  jne    L205
  movl   $0x1,-0xc(%rbp)
  movl   $0x1,-0x8(%rbp)
L205:
  cmpl   $0x3,-0x34(%rbp)
  jne    L172
  movl   $0x2,-0xc(%rbp)
  movl   $0x1,-0x8(%rbp)
L172:
  cmpl   $0x7,-0x34(%rbp)
  jne    L86
  movl   $0x3,-0xc(%rbp)
  movl   $0x1,-0x8(%rbp)
L86:
  cmpl   $0xf,-0x34(%rbp)
  jne    L322
  movl   $0x4,-0xc(%rbp)
  movl   $0x1,-0x8(%rbp)
L322:
  cmpl   $0x1f,-0x34(%rbp)
  jne    L207
  movl   $0x5,-0xc(%rbp)
  movl   $0x1,-0x8(%rbp)
L207:
  cmpl   $0x3f,-0x34(%rbp)
  jne    L150
  movl   $0x6,-0xc(%rbp)
  movl   $0x1,-0x8(%rbp)
L150:
  cmpl   $0x7f,-0x34(%rbp)
  jne    L60
  movl   $0x7,-0xc(%rbp)
  movl   $0x1,-0x8(%rbp)
L60:
  cmpl   $0x0,-0x8(%rbp)
  je     L182
  movl   $0x1,-0x14(%rbp)
  jmp    L20
L377:
  movl   $0x0,-0x10(%rbp)
  jmp    L178
L169:
  mov    -0x14(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    -0x2c(%rbp),%eax
  imul   -0x10(%rbp),%eax
  add    %edx,%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  imul   -0x4(%rbp),%eax
  mov    %eax,%edx
  mov    -0x2c(%rbp),%eax
  imul   -0x10(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x14(%rbp),%eax
  add    %ecx,%eax
  movslq %eax,%rcx
  mov    -0x28(%rbp),%rax
  add    %rcx,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  add    %eax,%edx
  mov    -0xc(%rbp),%eax
  mov    %eax,%ecx
  sar    %cl,%edx
  mov    %edx,%ecx
  mov    -0x2c(%rbp),%eax
  imul   -0x10(%rbp),%eax
  mov    %eax,%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    %ecx,%edx
  mov    %dl,(%rax)
  addl   $0x1,-0x10(%rbp)
L178:
  mov    -0x10(%rbp),%eax
  cmp    -0x30(%rbp),%eax
  jl     L169
  addl   $0x1,-0x14(%rbp)
L20:
  mov    -0x14(%rbp),%eax
  cmp    -0x2c(%rbp),%eax
  jl     L377
  mov    -0x2c(%rbp),%eax
  sub    $0x2,%eax
  mov    %eax,-0x14(%rbp)
  jmp    L334
L140:
  movl   $0x0,-0x10(%rbp)
  jmp    L408
L305:
  mov    -0x14(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    -0x2c(%rbp),%eax
  imul   -0x10(%rbp),%eax
  add    %edx,%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  imul   -0x4(%rbp),%eax
  mov    %eax,%edx
  mov    -0x2c(%rbp),%eax
  imul   -0x10(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x14(%rbp),%eax
  add    %ecx,%eax
  movslq %eax,%rcx
  mov    -0x28(%rbp),%rax
  add    %rcx,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  add    %eax,%edx
  mov    -0xc(%rbp),%eax
  mov    %eax,%ecx
  sar    %cl,%edx
  mov    %edx,%ecx
  mov    -0x2c(%rbp),%eax
  imul   -0x10(%rbp),%eax
  mov    %eax,%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    %ecx,%edx
  mov    %dl,(%rax)
  addl   $0x1,-0x10(%rbp)
L408:
  mov    -0x10(%rbp),%eax
  cmp    -0x30(%rbp),%eax
  jl     L305
  subl   $0x1,-0x14(%rbp)
L334:
  cmpl   $0x0,-0x14(%rbp)
  jns    L140
  movl   $0x0,-0x14(%rbp)
  jmp    L0
L68:
  movl   $0x1,-0x10(%rbp)
  jmp    L220
L137:
  mov    -0x14(%rbp),%eax
  sub    -0x2c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x2c(%rbp),%eax
  imul   -0x10(%rbp),%eax
  add    %edx,%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  imul   -0x4(%rbp),%eax
  mov    %eax,%edx
  mov    -0x2c(%rbp),%eax
  imul   -0x10(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x14(%rbp),%eax
  add    %ecx,%eax
  movslq %eax,%rcx
  mov    -0x28(%rbp),%rax
  add    %rcx,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  add    %eax,%edx
  mov    -0xc(%rbp),%eax
  mov    %eax,%ecx
  sar    %cl,%edx
  mov    %edx,%ecx
  mov    -0x2c(%rbp),%eax
  imul   -0x10(%rbp),%eax
  mov    %eax,%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    %ecx,%edx
  mov    %dl,(%rax)
  addl   $0x1,-0x10(%rbp)
L220:
  mov    -0x10(%rbp),%eax
  cmp    -0x30(%rbp),%eax
  jl     L137
  addl   $0x1,-0x14(%rbp)
L0:
  mov    -0x14(%rbp),%eax
  cmp    -0x2c(%rbp),%eax
  jl     L68
  mov    -0x30(%rbp),%eax
  sub    $0x2,%eax
  mov    %eax,-0x10(%rbp)
  jmp    L96
L116:
  movl   $0x0,-0x14(%rbp)
  jmp    L363
L269:
  mov    -0x14(%rbp),%edx
  mov    -0x2c(%rbp),%eax
  add    %eax,%edx
  mov    -0x2c(%rbp),%eax
  imul   -0x10(%rbp),%eax
  add    %edx,%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  imul   -0x4(%rbp),%eax
  mov    %eax,%edx
  mov    -0x2c(%rbp),%eax
  imul   -0x10(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x14(%rbp),%eax
  add    %ecx,%eax
  movslq %eax,%rcx
  mov    -0x28(%rbp),%rax
  add    %rcx,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  add    %eax,%edx
  mov    -0xc(%rbp),%eax
  mov    %eax,%ecx
  sar    %cl,%edx
  mov    %edx,%ecx
  mov    -0x2c(%rbp),%eax
  imul   -0x10(%rbp),%eax
  mov    %eax,%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    %ecx,%edx
  mov    %dl,(%rax)
  addl   $0x1,-0x14(%rbp)
L363:
  mov    -0x14(%rbp),%eax
  cmp    -0x2c(%rbp),%eax
  jl     L269
  subl   $0x1,-0x10(%rbp)
L96:
  cmpl   $0x0,-0x10(%rbp)
  jns    L116
  jmp    L230
L182:
  movl   $0x1,-0x14(%rbp)
  jmp    L225
L394:
  movl   $0x0,-0x10(%rbp)
  jmp    L238
L41:
  mov    -0x14(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    -0x2c(%rbp),%eax
  imul   -0x10(%rbp),%eax
  add    %edx,%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  imul   -0x4(%rbp),%eax
  mov    %eax,%edx
  mov    -0x2c(%rbp),%eax
  imul   -0x10(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x14(%rbp),%eax
  add    %ecx,%eax
  movslq %eax,%rcx
  mov    -0x28(%rbp),%rax
  add    %rcx,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  add    %edx,%eax
  mov    -0x4(%rbp),%edx
  lea    0x1(%rdx),%esi
  cltd
  idiv   %esi
  mov    %eax,%ecx
  mov    -0x2c(%rbp),%eax
  imul   -0x10(%rbp),%eax
  mov    %eax,%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    %ecx,%edx
  mov    %dl,(%rax)
  addl   $0x1,-0x10(%rbp)
L238:
  mov    -0x10(%rbp),%eax
  cmp    -0x30(%rbp),%eax
  jl     L41
  addl   $0x1,-0x14(%rbp)
L225:
  mov    -0x14(%rbp),%eax
  cmp    -0x2c(%rbp),%eax
  jl     L394
  mov    -0x2c(%rbp),%eax
  sub    $0x2,%eax
  mov    %eax,-0x14(%rbp)
  jmp    L73
L250:
  movl   $0x0,-0x10(%rbp)
  jmp    L291
L253:
  mov    -0x14(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    -0x2c(%rbp),%eax
  imul   -0x10(%rbp),%eax
  add    %edx,%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  imul   -0x4(%rbp),%eax
  mov    %eax,%edx
  mov    -0x2c(%rbp),%eax
  imul   -0x10(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x14(%rbp),%eax
  add    %ecx,%eax
  movslq %eax,%rcx
  mov    -0x28(%rbp),%rax
  add    %rcx,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  add    %edx,%eax
  mov    -0x4(%rbp),%edx
  lea    0x1(%rdx),%edi
  cltd
  idiv   %edi
  mov    %eax,%ecx
  mov    -0x2c(%rbp),%eax
  imul   -0x10(%rbp),%eax
  mov    %eax,%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    %ecx,%edx
  mov    %dl,(%rax)
  addl   $0x1,-0x10(%rbp)
L291:
  mov    -0x10(%rbp),%eax
  cmp    -0x30(%rbp),%eax
  jl     L253
  subl   $0x1,-0x14(%rbp)
L73:
  cmpl   $0x0,-0x14(%rbp)
  jns    L250
  movl   $0x0,-0x14(%rbp)
  jmp    L236
L232:
  movl   $0x1,-0x10(%rbp)
  jmp    L366
L148:
  mov    -0x14(%rbp),%eax
  sub    -0x2c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x2c(%rbp),%eax
  imul   -0x10(%rbp),%eax
  add    %edx,%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  imul   -0x4(%rbp),%eax
  mov    %eax,%edx
  mov    -0x2c(%rbp),%eax
  imul   -0x10(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x14(%rbp),%eax
  add    %ecx,%eax
  movslq %eax,%rcx
  mov    -0x28(%rbp),%rax
  add    %rcx,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  add    %edx,%eax
  mov    -0x4(%rbp),%edx
  lea    0x1(%rdx),%esi
  cltd
  idiv   %esi
  mov    %eax,%ecx
  mov    -0x2c(%rbp),%eax
  imul   -0x10(%rbp),%eax
  mov    %eax,%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    %ecx,%edx
  mov    %dl,(%rax)
  addl   $0x1,-0x10(%rbp)
L366:
  mov    -0x10(%rbp),%eax
  cmp    -0x30(%rbp),%eax
  jl     L148
  addl   $0x1,-0x14(%rbp)
L236:
  mov    -0x14(%rbp),%eax
  cmp    -0x2c(%rbp),%eax
  jl     L232
  mov    -0x30(%rbp),%eax
  sub    $0x2,%eax
  mov    %eax,-0x10(%rbp)
  jmp    L368
L274:
  movl   $0x0,-0x14(%rbp)
  jmp    L1
L163:
  mov    -0x14(%rbp),%edx
  mov    -0x2c(%rbp),%eax
  add    %eax,%edx
  mov    -0x2c(%rbp),%eax
  imul   -0x10(%rbp),%eax
  add    %edx,%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  imul   -0x4(%rbp),%eax
  mov    %eax,%edx
  mov    -0x2c(%rbp),%eax
  imul   -0x10(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x14(%rbp),%eax
  add    %ecx,%eax
  movslq %eax,%rcx
  mov    -0x28(%rbp),%rax
  add    %rcx,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  add    %edx,%eax
  mov    -0x4(%rbp),%edx
  lea    0x1(%rdx),%edi
  cltd
  idiv   %edi
  mov    %eax,%ecx
  mov    -0x2c(%rbp),%eax
  imul   -0x10(%rbp),%eax
  mov    %eax,%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    %ecx,%edx
  mov    %dl,(%rax)
  addl   $0x1,-0x14(%rbp)
L1:
  mov    -0x14(%rbp),%eax
  cmp    -0x2c(%rbp),%eax
  jl     L163
  subl   $0x1,-0x10(%rbp)
L368:
  cmpl   $0x0,-0x10(%rbp)
  jns    L274
L230:
  pop    %rbp
  ret
```

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);
}
```