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

```asm
<s_memcpy2orgba>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %rdi,-0x28(%rbp)
  mov    %esi,-0x2c(%rbp)
  mov    %rdx,-0x38(%rbp)
  mov    %rcx,-0x40(%rbp)
  mov    %r8d,-0x30(%rbp)
  mov    %r9d,-0x44(%rbp)
  mov    -0x38(%rbp),%rax
  mov    %rax,-0x10(%rbp)
  mov    -0x40(%rbp),%rax
  mov    %rax,-0x8(%rbp)
  mov    $0x8,%eax
  sub    -0x44(%rbp),%eax
  mov    %eax,-0x44(%rbp)
  mov    $0x8,%eax
  sub    0x10(%rbp),%eax
  mov    %eax,0x10(%rbp)
  mov    $0x8,%eax
  sub    0x18(%rbp),%eax
  mov    %eax,0x18(%rbp)
  jmp    L43
L34:
  mov    -0x8(%rbp),%rax
  mov    (%rax),%eax
  mov    %al,-0x14(%rbp)
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  cmp    %eax,-0x2c(%rbp)
  jne    L24
  cmpb   $0xff,-0x14(%rbp)
  je     L24
  mov    -0x8(%rbp),%rax
  mov    (%rax),%eax
  shr    $0x18,%eax
  mov    %al,-0x13(%rbp)
  mov    -0x8(%rbp),%rax
  mov    (%rax),%eax
  shr    $0x10,%eax
  mov    %al,-0x12(%rbp)
  mov    -0x8(%rbp),%rax
  mov    (%rax),%eax
  shr    $0x8,%eax
  mov    %al,-0x11(%rbp)
  cmpb   $0x0,-0x14(%rbp)
  jne    L29
  movzbl -0x13(%rbp),%eax
  mov    %al,-0x17(%rbp)
  movzbl -0x12(%rbp),%eax
  mov    %al,-0x16(%rbp)
  movzbl -0x11(%rbp),%eax
  mov    %al,-0x15(%rbp)
  jmp    L11
L29:
  mov    -0x10(%rbp),%rax
  movzwl (%rax),%eax
  movzwl %ax,%edx
  mov    0x20(%rbp),%eax
  mov    %eax,%ecx
  sar    %cl,%edx
  mov    -0x44(%rbp),%eax
  mov    %eax,%ecx
  shl    %cl,%edx
  mov    %edx,%eax
  mov    %al,-0x17(%rbp)
  mov    -0x10(%rbp),%rax
  movzwl (%rax),%eax
  movzwl %ax,%edx
  mov    0x28(%rbp),%eax
  mov    %eax,%ecx
  sar    %cl,%edx
  mov    0x10(%rbp),%eax
  mov    %eax,%ecx
  shl    %cl,%edx
  mov    %edx,%eax
  mov    %al,-0x16(%rbp)
  mov    -0x10(%rbp),%rax
  movzwl (%rax),%eax
  movzwl %ax,%edx
  mov    0x30(%rbp),%eax
  mov    %eax,%ecx
  sar    %cl,%edx
  mov    0x18(%rbp),%eax
  mov    %eax,%ecx
  shl    %cl,%edx
  mov    %edx,%eax
  mov    %al,-0x15(%rbp)
  movzbl -0x14(%rbp),%eax
  movzbl -0x17(%rbp),%edx
  movzbl -0x13(%rbp),%ecx
  sub    %ecx,%edx
  imul   %edx,%eax
  sar    $0x8,%eax
  mov    %eax,%edx
  movzbl -0x13(%rbp),%eax
  add    %edx,%eax
  mov    %al,-0x17(%rbp)
  movzbl -0x14(%rbp),%eax
  movzbl -0x16(%rbp),%edx
  movzbl -0x12(%rbp),%ecx
  sub    %ecx,%edx
  imul   %edx,%eax
  sar    $0x8,%eax
  mov    %eax,%edx
  movzbl -0x12(%rbp),%eax
  add    %edx,%eax
  mov    %al,-0x16(%rbp)
  movzbl -0x14(%rbp),%eax
  movzbl -0x15(%rbp),%edx
  movzbl -0x11(%rbp),%ecx
  sub    %ecx,%edx
  imul   %edx,%eax
  sar    $0x8,%eax
  mov    %eax,%edx
  movzbl -0x11(%rbp),%eax
  add    %edx,%eax
  mov    %al,-0x15(%rbp)
L11:
  movzbl -0x17(%rbp),%edx
  mov    -0x44(%rbp),%eax
  mov    %eax,%ecx
  sar    %cl,%edx
  mov    0x20(%rbp),%eax
  mov    %eax,%ecx
  shl    %cl,%edx
  mov    %edx,%eax
  mov    %eax,%esi
  movzbl -0x16(%rbp),%edx
  mov    0x10(%rbp),%eax
  mov    %eax,%ecx
  sar    %cl,%edx
  mov    0x28(%rbp),%eax
  mov    %eax,%ecx
  shl    %cl,%edx
  mov    %edx,%eax
  or     %eax,%esi
  movzbl -0x15(%rbp),%edx
  mov    0x18(%rbp),%eax
  mov    %eax,%ecx
  sar    %cl,%edx
  mov    0x30(%rbp),%eax
  mov    %eax,%ecx
  shl    %cl,%edx
  mov    %edx,%eax
  or     %esi,%eax
  mov    %eax,%edx
  mov    -0x10(%rbp),%rax
  mov    %dx,(%rax)
L24:
  addq   $0x2,-0x10(%rbp)
  addq   $0x4,-0x8(%rbp)
  addq   $0x1,-0x28(%rbp)
L43:
  mov    -0x30(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    %edx,-0x30(%rbp)
  test   %eax,%eax
  jne    L34
  nop
  nop
  pop    %rbp
  ret
```

assistant: ```c
void s_memcpy2orgba(unsigned char *m, int id, void *dest, unsigned int *rgb, int n, int rl, int gl, int bl, int ro, int go, int bo) {
  unsigned char a;
  unsigned char sr;
  unsigned char sg;
  unsigned char sb;
  unsigned char dr;
  unsigned char dg;
  unsigned char db;
  unsigned short int *d = (unsigned short int *)dest;
  unsigned int *s = (unsigned int *)rgb;
  rl = 8 - rl;
  gl = 8 - gl;
  bl = 8 - bl;
  while (n--) {
    a = *s;
    if ((*m == id) && (a != 0xff)) {
      sr = *s >> 0x18;
      sg = *s >> 0x10;
      sb = *s >> 0x08;
      if (a == 0x00) {
        dr = sr;
        dg = sg;
        db = sb;
      } else {
        dr = (*d >> ro) << rl;
        dg = (*d >> go) << gl;
        db = (*d >> bo) << bl;
        dr = (a * (dr - sr) >> 8) + sr;
        dg = (a * (dg - sg) >> 8) + sg;
        db = (a * (db - sb) >> 8) + sb;
      }
      *d = ((dr >> rl) << ro) | ((dg >> gl) << go) | ((db >> bl) << bo);
    }
    d++;
    s++;
    m++;
  };
}
```