user: 这段汇编代码用C语言表示是什么样的:

```asm
<__imlib_BlendShapedSpanToRGB>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %rdi,-0x18(%rbp)
  mov    %esi,-0x1c(%rbp)
  mov    %rdx,-0x28(%rbp)
  mov    %ecx,-0x20(%rbp)
  lea    -0x1c(%rbp),%rax
  add    $0x3,%rax
  movzbl (%rax),%eax
  cmp    $0xff,%al
  je     L74
  jmp    L4
L23:
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  test   %eax,%eax
  je     L129
  cmp    $0xff,%eax
  jne    L22
  lea    -0x1c(%rbp),%rax
  add    $0x2,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    -0x28(%rbp),%rdx
  add    $0x2,%rdx
  movzbl (%rdx),%edx
  movzbl %dl,%ecx
  sub    %ecx,%eax
  mov    %eax,%edx
  lea    -0x1c(%rbp),%rax
  add    $0x3,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  imul   %edx,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x28(%rbp),%rax
  add    $0x2,%rax
  movzbl (%rax),%edx
  mov    -0x4(%rbp),%eax
  shr    $0x8,%eax
  mov    %eax,%ecx
  mov    -0x4(%rbp),%eax
  add    %ecx,%eax
  sub    $0xffffff80,%eax
  shr    $0x8,%eax
  mov    %eax,%ecx
  mov    -0x28(%rbp),%rax
  add    $0x2,%rax
  add    %ecx,%edx
  mov    %dl,(%rax)
  lea    -0x1c(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    -0x28(%rbp),%rdx
  add    $0x1,%rdx
  movzbl (%rdx),%edx
  movzbl %dl,%ecx
  sub    %ecx,%eax
  mov    %eax,%edx
  lea    -0x1c(%rbp),%rax
  add    $0x3,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  imul   %edx,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x28(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rax),%edx
  mov    -0x4(%rbp),%eax
  shr    $0x8,%eax
  mov    %eax,%ecx
  mov    -0x4(%rbp),%eax
  add    %ecx,%eax
  sub    $0xffffff80,%eax
  shr    $0x8,%eax
  mov    %eax,%ecx
  mov    -0x28(%rbp),%rax
  add    $0x1,%rax
  add    %ecx,%edx
  mov    %dl,(%rax)
  lea    -0x1c(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%edx
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  sub    %eax,%edx
  lea    -0x1c(%rbp),%rax
  add    $0x3,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  imul   %edx,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%edx
  mov    -0x4(%rbp),%eax
  shr    $0x8,%eax
  mov    %eax,%ecx
  mov    -0x4(%rbp),%eax
  add    %ecx,%eax
  sub    $0xffffff80,%eax
  shr    $0x8,%eax
  add    %eax,%edx
  mov    -0x28(%rbp),%rax
  mov    %dl,(%rax)
  jmp    L108
L22:
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%edx
  lea    -0x1c(%rbp),%rax
  add    $0x3,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  imul   %edx,%eax
  sub    $0xffffff80,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x4(%rbp),%eax
  shr    $0x8,%eax
  mov    %eax,%edx
  mov    -0x4(%rbp),%eax
  add    %edx,%eax
  shr    $0x8,%eax
  mov    %al,-0x9(%rbp)
  lea    -0x1c(%rbp),%rax
  add    $0x2,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    -0x28(%rbp),%rdx
  add    $0x2,%rdx
  movzbl (%rdx),%edx
  movzbl %dl,%ecx
  sub    %ecx,%eax
  mov    %eax,%edx
  movzbl -0x9(%rbp),%eax
  imul   %edx,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x28(%rbp),%rax
  add    $0x2,%rax
  movzbl (%rax),%edx
  mov    -0x4(%rbp),%eax
  shr    $0x8,%eax
  mov    %eax,%ecx
  mov    -0x4(%rbp),%eax
  add    %ecx,%eax
  sub    $0xffffff80,%eax
  shr    $0x8,%eax
  mov    %eax,%ecx
  mov    -0x28(%rbp),%rax
  add    $0x2,%rax
  add    %ecx,%edx
  mov    %dl,(%rax)
  lea    -0x1c(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    -0x28(%rbp),%rdx
  add    $0x1,%rdx
  movzbl (%rdx),%edx
  movzbl %dl,%ecx
  sub    %ecx,%eax
  mov    %eax,%edx
  movzbl -0x9(%rbp),%eax
  imul   %edx,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x28(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rax),%edx
  mov    -0x4(%rbp),%eax
  shr    $0x8,%eax
  mov    %eax,%ecx
  mov    -0x4(%rbp),%eax
  add    %ecx,%eax
  sub    $0xffffff80,%eax
  shr    $0x8,%eax
  mov    %eax,%ecx
  mov    -0x28(%rbp),%rax
  add    $0x1,%rax
  add    %ecx,%edx
  mov    %dl,(%rax)
  lea    -0x1c(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%edx
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  sub    %eax,%edx
  movzbl -0x9(%rbp),%eax
  imul   %edx,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%edx
  mov    -0x4(%rbp),%eax
  shr    $0x8,%eax
  mov    %eax,%ecx
  mov    -0x4(%rbp),%eax
  add    %ecx,%eax
  sub    $0xffffff80,%eax
  shr    $0x8,%eax
  add    %eax,%edx
  mov    -0x28(%rbp),%rax
  mov    %dl,(%rax)
  jmp    L108
L129:
  nop
L108:
  addq   $0x1,-0x18(%rbp)
  addq   $0x4,-0x28(%rbp)
L4:
  mov    -0x20(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    %edx,-0x20(%rbp)
  test   %eax,%eax
  jne    L23
  jmp    L71
L17:
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  test   %eax,%eax
  je     L39
  cmp    $0xff,%eax
  jne    L110
  mov    -0x28(%rbp),%rax
  mov    (%rax),%eax
  and    $0xff000000,%eax
  mov    %eax,%edx
  mov    -0x1c(%rbp),%eax
  and    $0xffffff,%eax
  or     %eax,%edx
  mov    -0x28(%rbp),%rax
  mov    %edx,(%rax)
  jmp    L2
L110:
  lea    -0x1c(%rbp),%rax
  add    $0x2,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    -0x28(%rbp),%rdx
  add    $0x2,%rdx
  movzbl (%rdx),%edx
  movzbl %dl,%ecx
  sub    %ecx,%eax
  mov    %eax,%edx
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  imul   %edx,%eax
  mov    %eax,-0x8(%rbp)
  mov    -0x28(%rbp),%rax
  add    $0x2,%rax
  movzbl (%rax),%edx
  mov    -0x8(%rbp),%eax
  shr    $0x8,%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%eax
  add    %ecx,%eax
  sub    $0xffffff80,%eax
  shr    $0x8,%eax
  mov    %eax,%ecx
  mov    -0x28(%rbp),%rax
  add    $0x2,%rax
  add    %ecx,%edx
  mov    %dl,(%rax)
  lea    -0x1c(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    -0x28(%rbp),%rdx
  add    $0x1,%rdx
  movzbl (%rdx),%edx
  movzbl %dl,%ecx
  sub    %ecx,%eax
  mov    %eax,%edx
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  imul   %edx,%eax
  mov    %eax,-0x8(%rbp)
  mov    -0x28(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rax),%edx
  mov    -0x8(%rbp),%eax
  shr    $0x8,%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%eax
  add    %ecx,%eax
  sub    $0xffffff80,%eax
  shr    $0x8,%eax
  mov    %eax,%ecx
  mov    -0x28(%rbp),%rax
  add    $0x1,%rax
  add    %ecx,%edx
  mov    %dl,(%rax)
  lea    -0x1c(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%edx
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  sub    %eax,%edx
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  imul   %edx,%eax
  mov    %eax,-0x8(%rbp)
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%edx
  mov    -0x8(%rbp),%eax
  shr    $0x8,%eax
  mov    %eax,%ecx
  mov    -0x8(%rbp),%eax
  add    %ecx,%eax
  sub    $0xffffff80,%eax
  shr    $0x8,%eax
  add    %eax,%edx
  mov    -0x28(%rbp),%rax
  mov    %dl,(%rax)
  jmp    L2
L39:
  nop
L2:
  addq   $0x1,-0x18(%rbp)
  addq   $0x4,-0x28(%rbp)
L74:
  mov    -0x20(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    %edx,-0x20(%rbp)
  test   %eax,%eax
  jne    L17
L71:
  pop    %rbp
  ret
```

assistant: ```c
void __imlib_BlendShapedSpanToRGB(unsigned char *src, unsigned int color, unsigned int *dst, int len) {
  if (((unsigned char *)(&color))[3] < 255) {
    while (len--) {
      unsigned int tmp;
      unsigned char a;
      switch (*src) {
      case 0:
        break;
      case 255: {
        tmp = ((((unsigned char *)(&color))[2]) - (((unsigned char *)(dst))[2])) * (((unsigned char *)(&color))[3]);
        ((unsigned char *)(dst))[2] = (((unsigned char *)(dst))[2]) + ((tmp + (tmp >> 8) + 0x80) >> 8);
        ;
        tmp = ((((unsigned char *)(&color))[1]) - (((unsigned char *)(dst))[1])) * (((unsigned char *)(&color))[3]);
        ((unsigned char *)(dst))[1] = (((unsigned char *)(dst))[1]) + ((tmp + (tmp >> 8) + 0x80) >> 8);
        ;
        tmp = ((((unsigned char *)(&color))[0]) - (((unsigned char *)(dst))[0])) * (((unsigned char *)(&color))[3]);
        ((unsigned char *)(dst))[0] = (((unsigned char *)(dst))[0]) + ((tmp + (tmp >> 8) + 0x80) >> 8);
        ;
        ;
        break;
      }
      default: {
        do {
          tmp = ((*src) * (((unsigned char *)(&color))[3])) + 0x80;
          a = (tmp + (tmp >> 8)) >> 8;
        } while (0);
        tmp = ((((unsigned char *)(&color))[2]) - (((unsigned char *)(dst))[2])) * (a);
        ((unsigned char *)(dst))[2] = (((unsigned char *)(dst))[2]) + ((tmp + (tmp >> 8) + 0x80) >> 8);
        ;
        tmp = ((((unsigned char *)(&color))[1]) - (((unsigned char *)(dst))[1])) * (a);
        ((unsigned char *)(dst))[1] = (((unsigned char *)(dst))[1]) + ((tmp + (tmp >> 8) + 0x80) >> 8);
        ;
        tmp = ((((unsigned char *)(&color))[0]) - (((unsigned char *)(dst))[0])) * (a);
        ((unsigned char *)(dst))[0] = (((unsigned char *)(dst))[0]) + ((tmp + (tmp >> 8) + 0x80) >> 8);
        ;
        ;
        break;
      }
      }
      src++;
      dst++;
    }
    return;
  }
  while (len--) {
    unsigned int tmp;
    switch (*src) {
    case 0:
      break;
    case 255: {
      *dst = (*dst & 0xff000000) | (color & 0x00ffffff);
      break;
    }
    default: {
      tmp = ((((unsigned char *)(&color))[2]) - (((unsigned char *)(dst))[2])) * (*src);
      ((unsigned char *)(dst))[2] = (((unsigned char *)(dst))[2]) + ((tmp + (tmp >> 8) + 0x80) >> 8);
      ;
      tmp = ((((unsigned char *)(&color))[1]) - (((unsigned char *)(dst))[1])) * (*src);
      ((unsigned char *)(dst))[1] = (((unsigned char *)(dst))[1]) + ((tmp + (tmp >> 8) + 0x80) >> 8);
      ;
      tmp = ((((unsigned char *)(&color))[0]) - (((unsigned char *)(dst))[0])) * (*src);
      ((unsigned char *)(dst))[0] = (((unsigned char *)(dst))[0]) + ((tmp + (tmp >> 8) + 0x80) >> 8);
      ;
      ;
      break;
    }
    }
    src++;
    dst++;
  }
}
```