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

```asm
<col221111_32>:
  endbr64
  push   %r15
  movslq %edx,%rax
  add    %edx,%edx
  push   %r14
  add    %rsi,%rax
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  lea    0x100(%rdi),%rbx
  mov    %rax,-0x20(%rsp)
  lea    0x400(%rdi),%rax
  mov    %rax,-0x28(%rsp)
  movslq %edx,%rax
  mov    %rax,-0x30(%rsp)
  shl    $0x2,%rax
  mov    %rbx,-0x38(%rsp)
  lea    0x500(%rdi),%rbx
  mov    %rsi,-0x18(%rsp)
  mov    %rbx,-0x10(%rsp)
  mov    %rax,-0x8(%rsp)
L23:
  mov    -0x38(%rsp),%rax
  mov    -0x28(%rsp),%r13
  mov    -0x20(%rsp),%r15
  mov    -0x18(%rsp),%r14
  lea    -0x100(%rax),%rbx
L103:
  mov    %r15,%rdx
  mov    %r14,%rax
  xor    %r9d,%r9d
  jmp    L200
  xchg   %ax,%ax
L264:
  mov    %r10d,%r12d
  sub    %ecx,%r12d
  mov    %r12b,0x1(%rax)
  lea    (%r8,%r10,1),%r12d
  cmp    $0xff,%r12d
  ja     L242
L270:
  add    %r8d,%r10d
  mov    %r10b,0x2(%rax)
L168:
  movb   $0x0,0x3(%rax)
  mov    0x4(%rbx,%rdi,4),%edi
  lea    (%rsi,%rdi,1),%r10d
  cmp    $0xff,%r10d
  ja     L119
  lea    (%rdi,%rsi,1),%r10d
  mov    %r10b,0x4(%rax)
L212:
  mov    %edi,%r10d
  sub    %ecx,%r10d
  cmp    $0xff,%r10d
  ja     L46
  mov    %edi,%r10d
  sub    %ecx,%r10d
  mov    %r10b,0x5(%rax)
L129:
  lea    (%r8,%rdi,1),%r10d
  cmp    $0xff,%r10d
  ja     L216
  add    %r8d,%edi
  mov    %dil,0x6(%rax)
L98:
  lea    0x1(,%rbp,8),%edi
  movb   $0x0,0x7(%rax)
  lea    (%r11,%rdi,4),%r10d
  add    %r10d,%r10d
  movslq %r10d,%r10
  mov    (%rbx,%r10,4),%edi
  lea    (%rsi,%rdi,1),%r11d
  cmp    $0xff,%r11d
  ja     L43
  lea    (%rdi,%rsi,1),%r11d
  mov    %r11b,(%rdx)
L226:
  mov    %edi,%r11d
  sub    %ecx,%r11d
  cmp    $0xff,%r11d
  ja     L170
  mov    %edi,%r11d
  sub    %ecx,%r11d
  mov    %r11b,0x1(%rdx)
L236:
  lea    (%r8,%rdi,1),%r11d
  cmp    $0xff,%r11d
  ja     L15
  add    %r8d,%edi
  mov    %dil,0x2(%rdx)
L125:
  movb   $0x0,0x3(%rdx)
  mov    0x4(%rbx,%r10,4),%edi
  lea    (%rsi,%rdi,1),%r10d
  cmp    $0xff,%r10d
  ja     L114
  add    %edi,%esi
  mov    %sil,0x4(%rdx)
L28:
  mov    %edi,%esi
  sub    %ecx,%esi
  cmp    $0xff,%esi
  ja     L167
  mov    %edi,%esi
  sub    %ecx,%esi
  mov    %sil,0x5(%rdx)
L183:
  lea    (%r8,%rdi,1),%ecx
  cmp    $0xff,%ecx
  ja     L218
  lea    (%rdi,%r8,1),%ecx
L182:
  add    $0x1,%r9
  mov    %cl,0x6(%rdx)
  add    $0x8,%rax
  add    $0x8,%rdx
  movb   $0x0,-0x1(%rdx)
  cmp    $0x8,%r9
  je     L5
L200:
  mov    0x100(%r13,%r9,4),%esi
  mov    0x0(%r13,%r9,4),%r8d
  mov    %r9d,%ebp
  mov    %r9d,%r11d
  sar    $0x2,%ebp
  and    $0x3,%r11d
  imul   $0x32,%r8d,%edi
  imul   $0x82,%esi,%ecx
  lea    0x80(%rdi,%rcx,1),%ecx
  mov    %ebp,%edi
  shl    $0x5,%edi
  sar    $0x8,%ecx
  add    %r11d,%edi
  add    %edi,%edi
  movslq %edi,%rdi
  mov    (%rbx,%rdi,4),%r10d
  lea    (%rsi,%r10,1),%r12d
  cmp    $0xff,%r12d
  ja     L17
  lea    (%rsi,%r10,1),%r12d
  mov    %r12b,(%rax)
L261:
  mov    %r10d,%r12d
  sub    %ecx,%r12d
  cmp    $0xff,%r12d
  jbe    L264
  not    %r12d
  sar    $0x1f,%r12d
  mov    %r12b,0x1(%rax)
  lea    (%r8,%r10,1),%r12d
  cmp    $0xff,%r12d
  jbe    L270
L242:
  not    %r12d
  sar    $0x1f,%r12d
  mov    %r12b,0x2(%rax)
  jmp    L168
  nopl   0x0(%rax)
L17:
  not    %r12d
  sar    $0x1f,%r12d
  mov    %r12b,(%rax)
  jmp    L261
  nopl   0x0(%rax)
L218:
  not    %ecx
  sar    $0x1f,%ecx
  jmp    L182
  nopw   0x0(%rax,%rax,1)
L167:
  not    %esi
  sar    $0x1f,%esi
  mov    %sil,0x5(%rdx)
  jmp    L183
  xchg   %ax,%ax
L114:
  not    %r10d
  sar    $0x1f,%r10d
  mov    %r10b,0x4(%rdx)
  jmp    L28
L15:
  not    %r11d
  sar    $0x1f,%r11d
  mov    %r11b,0x2(%rdx)
  jmp    L125
L170:
  not    %r11d
  sar    $0x1f,%r11d
  mov    %r11b,0x1(%rdx)
  jmp    L236
L43:
  not    %r11d
  sar    $0x1f,%r11d
  mov    %r11b,(%rdx)
  jmp    L226
  nop
L216:
  not    %r10d
  sar    $0x1f,%r10d
  mov    %r10b,0x6(%rax)
  jmp    L98
L46:
  not    %r10d
  sar    $0x1f,%r10d
  mov    %r10b,0x5(%rax)
  jmp    L129
L119:
  not    %r10d
  sar    $0x1f,%r10d
  mov    %r10b,0x4(%rax)
  jmp    L212
L5:
  mov    -0x30(%rsp),%rax
  add    $0x20,%r13
  add    $0x40,%rbx
  add    %rax,%r14
  add    %rax,%r15
  cmp    -0x38(%rsp),%rbx
  jne    L103
  lea    0x200(%rbx),%rax
  mov    -0x8(%rsp),%rdx
  subq   $0xffffffffffffff80,-0x28(%rsp)
  add    %rdx,-0x18(%rsp)
  add    %rdx,-0x20(%rsp)
  mov    %rax,-0x38(%rsp)
  cmp    -0x10(%rsp),%rax
  jne    L23
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
void col221111_32(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], ((pic0[(k * 2 + 0) * 4 + 0]) = (y + cr), (unsigned int)(y + cr) >= 256 ? ((pic0[(k * 2 + 0) * 4 + 0]) = (y + cr) < 0 ? 0 : 255) : 0), ((pic0[(k * 2 + 0) * 4 + 1]) = (y - cg), (unsigned int)(y - cg) >= 256 ? ((pic0[(k * 2 + 0) * 4 + 1]) = (y - cg) < 0 ? 0 : 255) : 0), ((pic0[(k * 2 + 0) * 4 + 2]) = (y + cb), (unsigned int)(y + cb) >= 256 ? ((pic0[(k * 2 + 0) * 4 + 2]) = (y + cb) < 0 ? 0 : 255) : 0), pic0[(k * 2 + 0) * 4 + 3] = 0), (y = outy[(k / 4 * 8 + 0) * 8 + (k & 3) * 2 + 1], ((pic0[(k * 2 + 1) * 4 + 0]) = (y + cr), (unsigned int)(y + cr) >= 256 ? ((pic0[(k * 2 + 1) * 4 + 0]) = (y + cr) < 0 ? 0 : 255) : 0), ((pic0[(k * 2 + 1) * 4 + 1]) = (y - cg), (unsigned int)(y - cg) >= 256 ? ((pic0[(k * 2 + 1) * 4 + 1]) = (y - cg) < 0 ? 0 : 255) : 0), ((pic0[(k * 2 + 1) * 4 + 2]) = (y + cb), (unsigned int)(y + cb) >= 256 ? ((pic0[(k * 2 + 1) * 4 + 2]) = (y + cb) < 0 ? 0 : 255) : 0), pic0[(k * 2 + 1) * 4 + 3] = 0), (y = outy[(k / 4 * 8 + 1) * 8 + (k & 3) * 2 + 0], ((pic1[(k * 2 + 0) * 4 + 0]) = (y + cr), (unsigned int)(y + cr) >= 256 ? ((pic1[(k * 2 + 0) * 4 + 0]) = (y + cr) < 0 ? 0 : 255) : 0), ((pic1[(k * 2 + 0) * 4 + 1]) = (y - cg), (unsigned int)(y - cg) >= 256 ? ((pic1[(k * 2 + 0) * 4 + 1]) = (y - cg) < 0 ? 0 : 255) : 0), ((pic1[(k * 2 + 0) * 4 + 2]) = (y + cb), (unsigned int)(y + cb) >= 256 ? ((pic1[(k * 2 + 0) * 4 + 2]) = (y + cb) < 0 ? 0 : 255) : 0), pic1[(k * 2 + 0) * 4 + 3] = 0), (y = outy[(k / 4 * 8 + 1) * 8 + (k & 3) * 2 + 1], ((pic1[(k * 2 + 1) * 4 + 0]) = (y + cr), (unsigned int)(y + cr) >= 256 ? ((pic1[(k * 2 + 1) * 4 + 0]) = (y + cr) < 0 ? 0 : 255) : 0), ((pic1[(k * 2 + 1) * 4 + 1]) = (y - cg), (unsigned int)(y - cg) >= 256 ? ((pic1[(k * 2 + 1) * 4 + 1]) = (y - cg) < 0 ? 0 : 255) : 0), ((pic1[(k * 2 + 1) * 4 + 2]) = (y + cb), (unsigned int)(y + cb) >= 256 ? ((pic1[(k * 2 + 1) * 4 + 2]) = (y + cb) < 0 ? 0 : 255) : 0), pic1[(k * 2 + 1) * 4 + 3] = 0));
      outc += 8;
      outy += 16;
      pic0 += 2 * width;
      pic1 += 2 * width;
    }
    outy += 64 * 2 - 16 * 4;
  }
}
```