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

```asm
<__imlib_SubBlendSpanToRGB>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %edi,-0x14(%rbp)
  mov    %rsi,-0x20(%rbp)
  mov    %edx,-0x18(%rbp)
  jmp    L10
L13:
  lea    -0x14(%rbp),%rax
  add    $0x2,%rax
  movzbl (%rax),%eax
  movzbl %al,%edx
  lea    -0x14(%rbp),%rax
  add    $0x3,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  imul   %edx,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x20(%rbp),%rax
  add    $0x2,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    -0x4(%rbp),%edx
  mov    %edx,%ecx
  shr    $0x8,%ecx
  mov    -0x4(%rbp),%edx
  add    %ecx,%edx
  sub    $0xffffff80,%edx
  shr    $0x8,%edx
  sub    %edx,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x4(%rbp),%eax
  shr    $0x8,%eax
  not    %eax
  mov    %eax,%edx
  mov    -0x4(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x20(%rbp),%rax
  add    $0x2,%rax
  and    %ecx,%edx
  mov    %dl,(%rax)
  lea    -0x14(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  movzbl %al,%edx
  lea    -0x14(%rbp),%rax
  add    $0x3,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  imul   %edx,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x20(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    -0x4(%rbp),%edx
  mov    %edx,%ecx
  shr    $0x8,%ecx
  mov    -0x4(%rbp),%edx
  add    %ecx,%edx
  sub    $0xffffff80,%edx
  shr    $0x8,%edx
  sub    %edx,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x4(%rbp),%eax
  shr    $0x8,%eax
  not    %eax
  mov    %eax,%edx
  mov    -0x4(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x20(%rbp),%rax
  add    $0x1,%rax
  and    %ecx,%edx
  mov    %dl,(%rax)
  lea    -0x14(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%edx
  lea    -0x14(%rbp),%rax
  add    $0x3,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  imul   %edx,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x20(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    -0x4(%rbp),%edx
  mov    %edx,%ecx
  shr    $0x8,%ecx
  mov    -0x4(%rbp),%edx
  add    %ecx,%edx
  sub    $0xffffff80,%edx
  shr    $0x8,%edx
  sub    %edx,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x4(%rbp),%eax
  shr    $0x8,%eax
  not    %eax
  mov    %eax,%edx
  mov    -0x4(%rbp),%eax
  and    %eax,%edx
  mov    -0x20(%rbp),%rax
  mov    %dl,(%rax)
  addq   $0x4,-0x20(%rbp)
L10:
  mov    -0x18(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    %edx,-0x18(%rbp)
  test   %eax,%eax
  jne    L13
  nop
  nop
  pop    %rbp
  ret
```

assistant: ```c
void __imlib_SubBlendSpanToRGB(unsigned int color, unsigned int *dst, int len) {
  while (len--) {
    unsigned int tmp;
    tmp = (((unsigned char *)(&color))[2]) * (((unsigned char *)(&color))[3]);
    tmp = (((unsigned char *)(dst))[2]) - ((tmp + (tmp >> 8) + 0x80) >> 8);
    ((unsigned char *)(dst))[2] = (tmp & (~(tmp >> 8)));
    ;
    tmp = (((unsigned char *)(&color))[1]) * (((unsigned char *)(&color))[3]);
    tmp = (((unsigned char *)(dst))[1]) - ((tmp + (tmp >> 8) + 0x80) >> 8);
    ((unsigned char *)(dst))[1] = (tmp & (~(tmp >> 8)));
    ;
    tmp = (((unsigned char *)(&color))[0]) * (((unsigned char *)(&color))[3]);
    tmp = (((unsigned char *)(dst))[0]) - ((tmp + (tmp >> 8) + 0x80) >> 8);
    ((unsigned char *)(dst))[0] = (tmp & (~(tmp >> 8)));
    ;
    ;
    dst++;
  }
}
```