user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<col221111_16>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %rdi,-0x48(%rbp)
  mov    %rsi,-0x50(%rbp)
  mov    %edx,-0x54(%rbp)
  mov    -0x50(%rbp),%rax
  mov    %rax,-0x20(%rbp)
  mov    -0x54(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x50(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x18(%rbp)
  mov    -0x48(%rbp),%rax
  mov    %rax,-0x10(%rbp)
  mov    -0x48(%rbp),%rax
  add    $0x400,%rax
  mov    %rax,-0x8(%rbp)
  movl   $0x2,-0x3c(%rbp)
  jmp    L275
L263:
  movl   $0x4,-0x38(%rbp)
  jmp    L242
L497:
  movl   $0x0,-0x34(%rbp)
  jmp    L329
L303:
  mov    -0x34(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x30(%rbp)
  mov    -0x34(%rbp),%eax
  add    $0x40,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x2c(%rbp)
  mov    -0x30(%rbp),%eax
  imul   $0x32,%eax,%edx
  mov    -0x2c(%rbp),%eax
  imul   $0x82,%eax,%eax
  add    %edx,%eax
  sub    $0xffffff80,%eax
  sar    $0x8,%eax
  mov    %eax,-0x28(%rbp)
  mov    -0x34(%rbp),%eax
  lea    0x3(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x2,%eax
  shl    $0x5,%eax
  mov    %eax,%edx
  mov    -0x34(%rbp),%eax
  and    $0x3,%eax
  add    %edx,%eax
  add    %eax,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x24(%rbp)
  mov    -0x24(%rbp),%edx
  mov    -0x2c(%rbp),%eax
  add    %edx,%eax
  add    $0x7,%eax
  cmp    $0xff,%eax
  jbe    L91
  mov    -0x24(%rbp),%edx
  mov    -0x2c(%rbp),%eax
  add    %edx,%eax
  cmp    $0xfffffff9,%eax
  jge    L273
  mov    $0x0,%edx
  jmp    L272
L273:
  mov    $0xf800,%edx
  jmp    L272
L91:
  mov    -0x24(%rbp),%edx
  mov    -0x2c(%rbp),%eax
  add    %edx,%eax
  add    $0x7,%eax
  shl    $0x8,%eax
  and    $0xf800,%eax
  mov    %eax,%edx
L272:
  mov    -0x24(%rbp),%eax
  sub    -0x28(%rbp),%eax
  add    $0x3,%eax
  cmp    $0xff,%eax
  jbe    L41
  mov    -0x24(%rbp),%eax
  sub    -0x28(%rbp),%eax
  cmp    $0xfffffffd,%eax
  jge    L536
  mov    $0x0,%eax
  jmp    L108
L536:
  mov    $0x7e0,%eax
  jmp    L108
L41:
  mov    -0x24(%rbp),%eax
  sub    -0x28(%rbp),%eax
  add    $0x3,%eax
  shl    $0x3,%eax
  and    $0x7e0,%eax
L108:
  mov    %edx,%ecx
  or     %eax,%ecx
  mov    -0x24(%rbp),%edx
  mov    -0x30(%rbp),%eax
  add    %edx,%eax
  add    $0x7,%eax
  cmp    $0xff,%eax
  jbe    L121
  mov    -0x24(%rbp),%edx
  mov    -0x30(%rbp),%eax
  add    %edx,%eax
  cmp    $0xfffffff9,%eax
  jge    L72
  mov    $0x0,%eax
  jmp    L302
L72:
  mov    $0x1f,%eax
  jmp    L302
L121:
  mov    -0x24(%rbp),%edx
  mov    -0x30(%rbp),%eax
  add    %edx,%eax
  add    $0x7,%eax
  sar    $0x3,%eax
L302:
  or     %ecx,%eax
  mov    %eax,-0x24(%rbp)
  mov    -0x24(%rbp),%eax
  sar    $0x8,%eax
  mov    %eax,%ecx
  mov    -0x34(%rbp),%eax
  shl    $0x2,%eax
  movslq %eax,%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  mov    %ecx,%edx
  mov    %dl,(%rax)
  mov    -0x34(%rbp),%eax
  shl    $0x2,%eax
  cltq
  lea    0x1(%rax),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  mov    -0x24(%rbp),%edx
  mov    %dl,(%rax)
  mov    -0x34(%rbp),%eax
  lea    0x3(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x2,%eax
  shl    $0x5,%eax
  mov    %eax,%edx
  mov    -0x34(%rbp),%eax
  and    $0x3,%eax
  add    %edx,%eax
  add    %eax,%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x24(%rbp)
  mov    -0x24(%rbp),%edx
  mov    -0x2c(%rbp),%eax
  add    %edx,%eax
  add    $0x1,%eax
  cmp    $0xff,%eax
  jbe    L507
  mov    -0x24(%rbp),%edx
  mov    -0x2c(%rbp),%eax
  add    %edx,%eax
  cmp    $0xffffffff,%eax
  jge    L93
  mov    $0x0,%edx
  jmp    L453
L93:
  mov    $0xf800,%edx
  jmp    L453
L507:
  mov    -0x24(%rbp),%edx
  mov    -0x2c(%rbp),%eax
  add    %edx,%eax
  add    $0x1,%eax
  shl    $0x8,%eax
  and    $0xf800,%eax
  mov    %eax,%edx
L453:
  mov    -0x24(%rbp),%eax
  sub    -0x28(%rbp),%eax
  cmp    $0xff,%eax
  jbe    L301
  mov    -0x24(%rbp),%eax
  sub    -0x28(%rbp),%eax
  test   %eax,%eax
  jns    L7
  mov    $0x0,%eax
  jmp    L55
L7:
  mov    $0x7e0,%eax
  jmp    L55
L301:
  mov    -0x24(%rbp),%eax
  sub    -0x28(%rbp),%eax
  shl    $0x3,%eax
  and    $0x7e0,%eax
L55:
  mov    %edx,%ecx
  or     %eax,%ecx
  mov    -0x24(%rbp),%edx
  mov    -0x30(%rbp),%eax
  add    %edx,%eax
  add    $0x1,%eax
  cmp    $0xff,%eax
  jbe    L282
  mov    -0x24(%rbp),%edx
  mov    -0x30(%rbp),%eax
  add    %edx,%eax
  cmp    $0xffffffff,%eax
  jge    L186
  mov    $0x0,%eax
  jmp    L16
L186:
  mov    $0x1f,%eax
  jmp    L16
L282:
  mov    -0x24(%rbp),%edx
  mov    -0x30(%rbp),%eax
  add    %edx,%eax
  add    $0x1,%eax
  sar    $0x3,%eax
L16:
  or     %ecx,%eax
  mov    %eax,-0x24(%rbp)
  mov    -0x24(%rbp),%eax
  sar    $0x8,%eax
  mov    %eax,%ecx
  mov    -0x34(%rbp),%eax
  add    %eax,%eax
  add    $0x1,%eax
  add    %eax,%eax
  movslq %eax,%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  mov    %ecx,%edx
  mov    %dl,(%rax)
  mov    -0x34(%rbp),%eax
  add    %eax,%eax
  add    $0x1,%eax
  add    %eax,%eax
  cltq
  lea    0x1(%rax),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  mov    -0x24(%rbp),%edx
  mov    %dl,(%rax)
  mov    -0x34(%rbp),%eax
  lea    0x3(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x2,%eax
  shl    $0x3,%eax
  add    $0x1,%eax
  lea    0x0(,%rax,4),%edx
  mov    -0x34(%rbp),%eax
  and    $0x3,%eax
  add    %edx,%eax
  add    %eax,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x24(%rbp)
  mov    -0x24(%rbp),%edx
  mov    -0x2c(%rbp),%eax
  add    %edx,%eax
  add    $0x3,%eax
  cmp    $0xff,%eax
  jbe    L51
  mov    -0x24(%rbp),%edx
  mov    -0x2c(%rbp),%eax
  add    %edx,%eax
  cmp    $0xfffffffd,%eax
  jge    L313
  mov    $0x0,%edx
  jmp    L332
L313:
  mov    $0xf800,%edx
  jmp    L332
L51:
  mov    -0x24(%rbp),%edx
  mov    -0x2c(%rbp),%eax
  add    %edx,%eax
  add    $0x3,%eax
  shl    $0x8,%eax
  and    $0xf800,%eax
  mov    %eax,%edx
L332:
  mov    -0x24(%rbp),%eax
  sub    -0x28(%rbp),%eax
  add    $0x1,%eax
  cmp    $0xff,%eax
  jbe    L249
  mov    -0x24(%rbp),%eax
  sub    -0x28(%rbp),%eax
  cmp    $0xffffffff,%eax
  jge    L384
  mov    $0x0,%eax
  jmp    L478
L384:
  mov    $0x7e0,%eax
  jmp    L478
L249:
  mov    -0x24(%rbp),%eax
  sub    -0x28(%rbp),%eax
  add    $0x1,%eax
  shl    $0x3,%eax
  and    $0x7e0,%eax
L478:
  mov    %edx,%ecx
  or     %eax,%ecx
  mov    -0x24(%rbp),%edx
  mov    -0x30(%rbp),%eax
  add    %edx,%eax
  add    $0x3,%eax
  cmp    $0xff,%eax
  jbe    L232
  mov    -0x24(%rbp),%edx
  mov    -0x30(%rbp),%eax
  add    %edx,%eax
  cmp    $0xfffffffd,%eax
  jge    L136
  mov    $0x0,%eax
  jmp    L508
L136:
  mov    $0x1f,%eax
  jmp    L508
L232:
  mov    -0x24(%rbp),%edx
  mov    -0x30(%rbp),%eax
  add    %edx,%eax
  add    $0x3,%eax
  sar    $0x3,%eax
L508:
  or     %ecx,%eax
  mov    %eax,-0x24(%rbp)
  mov    -0x24(%rbp),%eax
  sar    $0x8,%eax
  mov    %eax,%ecx
  mov    -0x34(%rbp),%eax
  shl    $0x2,%eax
  movslq %eax,%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    %ecx,%edx
  mov    %dl,(%rax)
  mov    -0x34(%rbp),%eax
  shl    $0x2,%eax
  cltq
  lea    0x1(%rax),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    -0x24(%rbp),%edx
  mov    %dl,(%rax)
  mov    -0x34(%rbp),%eax
  lea    0x3(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x2,%eax
  shl    $0x3,%eax
  add    $0x1,%eax
  lea    0x0(,%rax,4),%edx
  mov    -0x34(%rbp),%eax
  and    $0x3,%eax
  add    %edx,%eax
  add    %eax,%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x24(%rbp)
  mov    -0x24(%rbp),%edx
  mov    -0x2c(%rbp),%eax
  add    %edx,%eax
  add    $0x5,%eax
  cmp    $0xff,%eax
  jbe    L479
  mov    -0x24(%rbp),%edx
  mov    -0x2c(%rbp),%eax
  add    %edx,%eax
  cmp    $0xfffffffb,%eax
  jge    L347
  mov    $0x0,%edx
  jmp    L487
L347:
  mov    $0xf800,%edx
  jmp    L487
L479:
  mov    -0x24(%rbp),%edx
  mov    -0x2c(%rbp),%eax
  add    %edx,%eax
  add    $0x5,%eax
  shl    $0x8,%eax
  and    $0xf800,%eax
  mov    %eax,%edx
L487:
  mov    -0x24(%rbp),%eax
  sub    -0x28(%rbp),%eax
  add    $0x2,%eax
  cmp    $0xff,%eax
  jbe    L250
  mov    -0x24(%rbp),%eax
  sub    -0x28(%rbp),%eax
  cmp    $0xfffffffe,%eax
  jge    L204
  mov    $0x0,%eax
  jmp    L194
L204:
  mov    $0x7e0,%eax
  jmp    L194
L250:
  mov    -0x24(%rbp),%eax
  sub    -0x28(%rbp),%eax
  add    $0x2,%eax
  shl    $0x3,%eax
  and    $0x7e0,%eax
L194:
  mov    %edx,%ecx
  or     %eax,%ecx
  mov    -0x24(%rbp),%edx
  mov    -0x30(%rbp),%eax
  add    %edx,%eax
  add    $0x5,%eax
  cmp    $0xff,%eax
  jbe    L412
  mov    -0x24(%rbp),%edx
  mov    -0x30(%rbp),%eax
  add    %edx,%eax
  cmp    $0xfffffffb,%eax
  jge    L8
  mov    $0x0,%eax
  jmp    L338
L8:
  mov    $0x1f,%eax
  jmp    L338
L412:
  mov    -0x24(%rbp),%edx
  mov    -0x30(%rbp),%eax
  add    %edx,%eax
  add    $0x5,%eax
  sar    $0x3,%eax
L338:
  or     %ecx,%eax
  mov    %eax,-0x24(%rbp)
  mov    -0x24(%rbp),%eax
  sar    $0x8,%eax
  mov    %eax,%ecx
  mov    -0x34(%rbp),%eax
  add    %eax,%eax
  add    $0x1,%eax
  add    %eax,%eax
  movslq %eax,%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    %ecx,%edx
  mov    %dl,(%rax)
  mov    -0x34(%rbp),%eax
  add    %eax,%eax
  add    $0x1,%eax
  add    %eax,%eax
  cltq
  lea    0x1(%rax),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    -0x24(%rbp),%edx
  mov    %dl,(%rax)
  addl   $0x1,-0x34(%rbp)
L329:
  cmpl   $0x7,-0x34(%rbp)
  jle    L303
  addq   $0x20,-0x8(%rbp)
  addq   $0x40,-0x10(%rbp)
  mov    -0x54(%rbp),%eax
  add    %eax,%eax
  cltq
  add    %rax,-0x20(%rbp)
  mov    -0x54(%rbp),%eax
  add    %eax,%eax
  cltq
  add    %rax,-0x18(%rbp)
  subl   $0x1,-0x38(%rbp)
L242:
  cmpl   $0x0,-0x38(%rbp)
  jg     L497
  addq   $0x100,-0x10(%rbp)
  subl   $0x1,-0x3c(%rbp)
L275:
  cmpl   $0x0,-0x3c(%rbp)
  jg     L263
  nop
  nop
  pop    %rbp
  ret
```

assistant: ```c
void col221111_16(out, pic, width) int *out;
unsigned char *pic;
int width;
{
  int i, j, k;
  unsigned char *pic0, *pic1;
  int *outy, *outc;
  int cr, cg, cb, y;
  pic0 = pic;
  pic1 = pic + width;
  outy = out;
  outc = out + 64 * 4;
  for (i = 2; i > 0; i--) {
    for (j = 4; j > 0; j--) {
      for (k = 0; k < 8; k++) {
        ((cb = outc[0 + 0 * 8 + k], cr = outc[64 + 0 * 8 + k], cg = (50 * cb + 130 * cr + 128) >> 8), (y = outy[(k / 4 * 8 + 0) * 8 + (k & 3) * 2 + 0], y = ((((unsigned int)(y + cr + 3 * 2 + 1) >= 256 ? ((y + cr + 3 * 2 + 1) < 0 ? 0 : 255) : (y + cr + 3 * 2 + 1)) & 0xf8) << 8) | ((((unsigned int)(y - cg + 3) >= 256 ? ((y - cg + 3) < 0 ? 0 : 255) : (y - cg + 3)) & 0xfc) << 3) | ((((unsigned int)(y + cb + 3 * 2 + 1) >= 256 ? ((y + cb + 3 * 2 + 1) < 0 ? 0 : 255) : (y + cb + 3 * 2 + 1))) >> 3), pic0[(k * 2 + 0) * 2 + 0] = y >> 8, pic0[(k * 2 + 0) * 2 + 1] = y & 0xff), (y = outy[(k / 4 * 8 + 0) * 8 + (k & 3) * 2 + 1], y = ((((unsigned int)(y + cr + 0 * 2 + 1) >= 256 ? ((y + cr + 0 * 2 + 1) < 0 ? 0 : 255) : (y + cr + 0 * 2 + 1)) & 0xf8) << 8) | ((((unsigned int)(y - cg + 0) >= 256 ? ((y - cg + 0) < 0 ? 0 : 255) : (y - cg + 0)) & 0xfc) << 3) | ((((unsigned int)(y + cb + 0 * 2 + 1) >= 256 ? ((y + cb + 0 * 2 + 1) < 0 ? 0 : 255) : (y + cb + 0 * 2 + 1))) >> 3), pic0[(k * 2 + 1) * 2 + 0] = y >> 8, pic0[(k * 2 + 1) * 2 + 1] = y & 0xff), (y = outy[(k / 4 * 8 + 1) * 8 + (k & 3) * 2 + 0], y = ((((unsigned int)(y + cr + 1 * 2 + 1) >= 256 ? ((y + cr + 1 * 2 + 1) < 0 ? 0 : 255) : (y + cr + 1 * 2 + 1)) & 0xf8) << 8) | ((((unsigned int)(y - cg + 1) >= 256 ? ((y - cg + 1) < 0 ? 0 : 255) : (y - cg + 1)) & 0xfc) << 3) | ((((unsigned int)(y + cb + 1 * 2 + 1) >= 256 ? ((y + cb + 1 * 2 + 1) < 0 ? 0 : 255) : (y + cb + 1 * 2 + 1))) >> 3), pic1[(k * 2 + 0) * 2 + 0] = y >> 8, pic1[(k * 2 + 0) * 2 + 1] = y & 0xff), (y = outy[(k / 4 * 8 + 1) * 8 + (k & 3) * 2 + 1], y = ((((unsigned int)(y + cr + 2 * 2 + 1) >= 256 ? ((y + cr + 2 * 2 + 1) < 0 ? 0 : 255) : (y + cr + 2 * 2 + 1)) & 0xf8) << 8) | ((((unsigned int)(y - cg + 2) >= 256 ? ((y - cg + 2) < 0 ? 0 : 255) : (y - cg + 2)) & 0xfc) << 3) | ((((unsigned int)(y + cb + 2 * 2 + 1) >= 256 ? ((y + cb + 2 * 2 + 1) < 0 ? 0 : 255) : (y + cb + 2 * 2 + 1))) >> 3), pic1[(k * 2 + 1) * 2 + 0] = y >> 8, pic1[(k * 2 + 1) * 2 + 1] = y & 0xff));
      }
      outc += 8;
      outy += 16;
      pic0 += 2 * width;
      pic1 += 2 * width;
    }
    outy += 64 * 2 - 16 * 4;
  }
}
```