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

```asm
<argb2yuv420sp>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x30,%rsp
  mov    %ecx,-0x3c(%rsp)
  test   %ecx,%ecx
  jle    L100
  mov    %edx,%ecx
  mov    %edx,%r14d
  lea    -0x1(%rdx),%r11d
  mov    %rsi,%r10
  lea    0x0(,%rcx,4),%rax
  and    $0xfffffff0,%r14d
  mov    %edx,%ebx
  xor    %ebp,%ebp
  mov    %rax,-0x30(%rsp)
  mov    %edx,%eax
  lea    0x1(%r11),%r13
  pxor   %xmm15,%xmm15
  shr    $0x4,%eax
  movdqa %xmm15,%xmm14
  pxor   %xmm5,%xmm5
  movdqa D42(%rip),%xmm3
  lea    -0x1(%rax),%r12d
  mov    %r14d,%eax
  movdqa D100(%rip),%xmm0
  mov    %r11d,-0x18(%rsp)
  mov    %rax,-0x28(%rsp)
  shl    $0x2,%rax
  pcmpgtd %xmm3,%xmm14
  add    $0x1,%r12
  mov    %rax,-0x20(%rsp)
  lea    0x1(%r14),%eax
  punpcklbw %xmm5,%xmm0
  movdqa D106(%rip),%xmm13
  mov    %eax,-0x10(%rsp)
  lea    0x2(%r14),%eax
  shl    $0x4,%r12
  mov    %eax,-0xc(%rsp)
  lea    0x3(%r14),%eax
  mov    %eax,-0x8(%rsp)
  lea    0x4(%r14),%eax
  mov    %eax,-0x4(%rsp)
  lea    0x5(%r14),%eax
  mov    %eax,(%rsp)
  lea    0x6(%r14),%eax
  mov    %eax,0x4(%rsp)
  lea    0x7(%r14),%eax
  mov    %eax,0x8(%rsp)
  lea    0x8(%r14),%eax
  mov    %eax,0xc(%rsp)
  lea    0x9(%r14),%eax
  mov    %eax,0x10(%rsp)
  lea    0xa(%r14),%eax
  mov    %eax,0x14(%rsp)
  lea    0xb(%r14),%eax
  mov    %eax,0x18(%rsp)
  lea    0xc(%r14),%eax
  mov    %eax,0x1c(%rsp)
  lea    0xd(%r14),%eax
  mov    %eax,0x20(%rsp)
  lea    0xe(%r14),%eax
  mov    %eax,0x24(%rsp)
  lea    0x0(,%r13,4),%rax
  mov    %rax,-0x38(%rsp)
  mov    %r14d,-0x14(%rsp)
  mov    %rcx,%r14
  movaps %xmm0,-0x58(%rsp)
  nopl   0x0(%rax,%rax,1)
L139:
  test   $0x1,%bpl
  je     L188
  test   %ebx,%ebx
  jle    L32
  mov    -0x30(%rsp),%rax
  lea    (%rdi,%rax,1),%rcx
  lea    (%r10,%r14,1),%rax
  cmp    %rax,%rdi
  setae  %dl
  cmp    %rcx,%r10
  setae  %al
  or     %eax,%edx
  lea    (%r8,%r14,1),%rax
  cmp    %rax,%rdi
  setae  %al
  cmp    %rcx,%r8
  setae  %cl
  or     %ecx,%eax
  and    %edx,%eax
  cmpl   $0xe,-0x18(%rsp)
  seta   %dl
  test   %dl,%al
  je     L175
  lea    0x1(%r8),%rdx
  mov    %r10,%rax
  sub    %rdx,%rax
  cmp    $0xe,%rax
  jbe    L175
  xor    %eax,%eax
  nop
L53:
  movdqu (%rdi,%rax,4),%xmm4
  movdqu 0x10(%rdi,%rax,4),%xmm0
  pxor   %xmm7,%xmm7
  pxor   %xmm12,%xmm12
  movdqu (%rdi,%rax,4),%xmm1
  movdqu 0x20(%rdi,%rax,4),%xmm2
  pand   %xmm13,%xmm0
  pand   %xmm13,%xmm4
  movdqa D5(%rip),%xmm11
  psrlw  $0x8,%xmm1
  psrlw  $0x8,%xmm2
  packuswb %xmm0,%xmm4
  movdqu 0x10(%rdi,%rax,4),%xmm0
  movdqa %xmm1,%xmm6
  movdqu 0x30(%rdi,%rax,4),%xmm1
  movdqa %xmm2,%xmm5
  psrlw  $0x8,%xmm0
  packuswb %xmm0,%xmm6
  movdqu 0x20(%rdi,%rax,4),%xmm0
  pand   %xmm13,%xmm1
  movaps %xmm6,-0x78(%rsp)
  pand   %xmm13,%xmm6
  pand   %xmm13,%xmm0
  packuswb %xmm1,%xmm0
  movdqu 0x30(%rdi,%rax,4),%xmm1
  psrlw  $0x8,%xmm1
  packuswb %xmm1,%xmm5
  movdqa %xmm13,%xmm1
  movdqa %xmm5,%xmm2
  movdqa %xmm13,%xmm5
  pand   %xmm0,%xmm1
  pand   %xmm4,%xmm5
  psrlw  $0x8,%xmm0
  movaps %xmm2,-0x68(%rsp)
  psrlw  $0x8,%xmm4
  packuswb %xmm1,%xmm5
  movdqa D14(%rip),%xmm1
  packuswb %xmm0,%xmm4
  movdqa %xmm2,%xmm0
  movdqa %xmm5,%xmm8
  pand   %xmm13,%xmm0
  movdqa %xmm4,%xmm10
  punpcklbw %xmm7,%xmm8
  packuswb %xmm0,%xmm6
  punpcklbw %xmm7,%xmm10
  movdqa -0x58(%rsp),%xmm0
  punpckhbw %xmm7,%xmm5
  movdqa %xmm6,%xmm9
  pmullw %xmm10,%xmm11
  punpckhbw %xmm7,%xmm4
  pmulhuw D5(%rip),%xmm10
  punpcklbw %xmm7,%xmm9
  pmullw %xmm0,%xmm8
  punpckhbw %xmm7,%xmm6
  pmullw %xmm9,%xmm1
  pmullw %xmm0,%xmm5
  movdqa %xmm15,%xmm7
  pmulhuw D14(%rip),%xmm9
  movdqa %xmm11,%xmm0
  punpckhwd %xmm10,%xmm11
  punpcklwd %xmm10,%xmm0
  movdqa %xmm14,%xmm10
  movdqa %xmm1,%xmm2
  punpckhwd %xmm9,%xmm1
  punpcklwd %xmm9,%xmm2
  paddd  %xmm11,%xmm1
  movdqa %xmm15,%xmm9
  paddd  %xmm0,%xmm2
  movdqa %xmm8,%xmm0
  punpcklwd %xmm12,%xmm0
  movdqa %xmm14,%xmm12
  paddd  %xmm0,%xmm2
  movdqa %xmm2,%xmm0
  punpckldq %xmm2,%xmm0
  punpckhdq %xmm2,%xmm2
  pcmpgtd %xmm0,%xmm7
  pmuludq %xmm0,%xmm12
  pmuludq %xmm3,%xmm0
  pmuludq %xmm3,%xmm7
  paddq  %xmm12,%xmm7
  movdqa %xmm14,%xmm12
  psllq  $0x20,%xmm7
  pmuludq %xmm2,%xmm12
  paddq  %xmm7,%xmm0
  movdqa %xmm15,%xmm7
  pcmpgtd %xmm2,%xmm7
  pmuludq %xmm3,%xmm2
  pmuludq %xmm3,%xmm7
  paddq  %xmm12,%xmm7
  pxor   %xmm12,%xmm12
  psllq  $0x20,%xmm7
  punpckhwd %xmm12,%xmm8
  paddd  %xmm8,%xmm1
  paddq  %xmm7,%xmm2
  movdqa %xmm15,%xmm7
  shufps $0xdd,%xmm2,%xmm0
  movdqa %xmm1,%xmm2
  movdqa %xmm14,%xmm8
  punpckldq %xmm1,%xmm2
  psrad  $0x6,%xmm0
  punpckhdq %xmm1,%xmm1
  pcmpgtd %xmm2,%xmm7
  pmuludq %xmm2,%xmm8
  pmuludq %xmm3,%xmm2
  pmuludq %xmm3,%xmm7
  paddq  %xmm8,%xmm7
  movdqa %xmm14,%xmm8
  psllq  $0x20,%xmm7
  pmuludq %xmm1,%xmm8
  paddq  %xmm7,%xmm2
  movdqa %xmm15,%xmm7
  pcmpgtd %xmm1,%xmm7
  pmuludq %xmm3,%xmm1
  pmuludq %xmm3,%xmm7
  paddq  %xmm8,%xmm7
  movdqa D5(%rip),%xmm8
  psllq  $0x20,%xmm7
  paddq  %xmm7,%xmm1
  pmullw %xmm4,%xmm8
  pmulhuw D5(%rip),%xmm4
  shufps $0xdd,%xmm1,%xmm2
  psrad  $0x6,%xmm2
  movdqa %xmm0,%xmm1
  punpcklwd %xmm2,%xmm0
  punpckhwd %xmm2,%xmm1
  movdqa %xmm0,%xmm2
  punpcklwd %xmm1,%xmm0
  punpckhwd %xmm1,%xmm2
  punpcklwd %xmm2,%xmm0
  movdqa D14(%rip),%xmm2
  movdqa %xmm8,%xmm1
  punpckhwd %xmm4,%xmm8
  punpcklwd %xmm4,%xmm1
  pand   %xmm13,%xmm0
  pmullw %xmm6,%xmm2
  pmulhuw D14(%rip),%xmm6
  movdqa %xmm2,%xmm7
  punpckhwd %xmm6,%xmm2
  punpcklwd %xmm6,%xmm7
  paddd  %xmm8,%xmm2
  movdqa %xmm14,%xmm6
  paddd  %xmm1,%xmm7
  movdqa %xmm5,%xmm1
  punpckhwd %xmm12,%xmm5
  paddd  %xmm2,%xmm5
  punpcklwd %xmm12,%xmm1
  paddd  %xmm1,%xmm7
  movdqa %xmm5,%xmm4
  punpckldq %xmm5,%xmm4
  movdqa %xmm7,%xmm1
  punpckhdq %xmm5,%xmm5
  punpckldq %xmm7,%xmm1
  movdqa %xmm4,%xmm2
  movdqa %xmm15,%xmm4
  pcmpgtd %xmm1,%xmm9
  pcmpgtd %xmm2,%xmm4
  punpckhdq %xmm7,%xmm7
  pmuludq %xmm1,%xmm10
  pmuludq %xmm2,%xmm6
  pmuludq %xmm3,%xmm1
  pmuludq %xmm3,%xmm2
  pmuludq %xmm3,%xmm9
  pmuludq %xmm3,%xmm4
  paddq  %xmm10,%xmm9
  paddq  %xmm6,%xmm4
  movdqa %xmm14,%xmm10
  psllq  $0x20,%xmm9
  psllq  $0x20,%xmm4
  movdqa %xmm14,%xmm6
  paddq  %xmm9,%xmm1
  paddq  %xmm4,%xmm2
  movdqa %xmm15,%xmm9
  pcmpgtd %xmm7,%xmm9
  pmuludq %xmm7,%xmm10
  movdqa %xmm15,%xmm4
  pcmpgtd %xmm5,%xmm4
  pmuludq %xmm5,%xmm6
  pmuludq %xmm3,%xmm7
  pmuludq %xmm3,%xmm5
  pmuludq %xmm3,%xmm9
  pmuludq %xmm3,%xmm4
  paddq  %xmm10,%xmm9
  paddq  %xmm6,%xmm4
  psllq  $0x20,%xmm9
  psllq  $0x20,%xmm4
  paddq  %xmm9,%xmm7
  paddq  %xmm4,%xmm5
  shufps $0xdd,%xmm7,%xmm1
  psrad  $0x6,%xmm1
  shufps $0xdd,%xmm5,%xmm2
  psrad  $0x6,%xmm2
  movdqa %xmm1,%xmm4
  punpcklwd %xmm2,%xmm1
  punpckhwd %xmm2,%xmm4
  movdqa %xmm1,%xmm5
  punpcklwd %xmm4,%xmm1
  punpckhwd %xmm4,%xmm5
  punpcklwd %xmm5,%xmm1
  pand   %xmm13,%xmm1
  packuswb %xmm1,%xmm0
  movdqa -0x68(%rsp),%xmm1
  movups %xmm0,(%r8,%rax,1)
  movdqa -0x78(%rsp),%xmm0
  psrlw  $0x8,%xmm1
  psrlw  $0x8,%xmm0
  packuswb %xmm1,%xmm0
  movups %xmm0,(%r10,%rax,1)
  add    $0x10,%rax
  cmp    %rax,%r12
  jne    L53
  mov    -0x28(%rsp),%rsi
  mov    -0x20(%rsp),%rax
  lea    (%r10,%rsi,1),%rcx
  add    %rdi,%rax
  add    %r8,%rsi
  cmp    -0x14(%rsp),%ebx
  je     L115
  movzbl 0x2(%rax),%edx
  movzbl 0x1(%rax),%r15d
  imul   $0x12b,%edx,%edx
  imul   $0x24b,%r15d,%r15d
  add    %r15d,%edx
  movzbl (%rax),%r15d
  imul   $0x72,%r15d,%r15d
  add    %r15d,%edx
  imul   $0x10624dd3,%rdx,%rdx
  shr    $0x26,%rdx
  mov    %dl,(%rsi)
  movzbl 0x3(%rax),%edx
  mov    %dl,(%rcx)
  cmp    -0x10(%rsp),%ebx
  jle    L115
  movzbl 0x6(%rax),%edx
  movzbl 0x5(%rax),%r15d
  imul   $0x12b,%edx,%edx
  imul   $0x24b,%r15d,%r15d
  add    %r15d,%edx
  movzbl 0x4(%rax),%r15d
  imul   $0x72,%r15d,%r15d
  add    %r15d,%edx
  imul   $0x10624dd3,%rdx,%rdx
  shr    $0x26,%rdx
  mov    %dl,0x1(%rsi)
  movzbl 0x7(%rax),%edx
  mov    %dl,0x1(%rcx)
  cmp    %ebx,-0xc(%rsp)
  jge    L115
  movzbl 0xa(%rax),%edx
  movzbl 0x9(%rax),%r15d
  imul   $0x12b,%edx,%edx
  imul   $0x24b,%r15d,%r15d
  add    %r15d,%edx
  movzbl 0x8(%rax),%r15d
  imul   $0x72,%r15d,%r15d
  add    %r15d,%edx
  imul   $0x10624dd3,%rdx,%rdx
  shr    $0x26,%rdx
  mov    %dl,0x2(%rsi)
  movzbl 0xb(%rax),%edx
  mov    %dl,0x2(%rcx)
  cmp    -0x8(%rsp),%ebx
  jle    L115
  movzbl 0xd(%rax),%edx
  movzbl 0xe(%rax),%r15d
  imul   $0x24b,%edx,%edx
  imul   $0x12b,%r15d,%r15d
  add    %r15d,%edx
  movzbl 0xc(%rax),%r15d
  imul   $0x72,%r15d,%r15d
  add    %r15d,%edx
  imul   $0x10624dd3,%rdx,%rdx
  shr    $0x26,%rdx
  mov    %dl,0x3(%rsi)
  movzbl 0xf(%rax),%edx
  mov    %dl,0x3(%rcx)
  cmp    -0x4(%rsp),%ebx
  jle    L115
  movzbl 0x12(%rax),%edx
  movzbl 0x11(%rax),%r15d
  imul   $0x12b,%edx,%edx
  imul   $0x24b,%r15d,%r15d
  add    %r15d,%edx
  movzbl 0x10(%rax),%r15d
  imul   $0x72,%r15d,%r15d
  add    %r15d,%edx
  imul   $0x10624dd3,%rdx,%rdx
  shr    $0x26,%rdx
  mov    %dl,0x4(%rsi)
  movzbl 0x13(%rax),%edx
  mov    %dl,0x4(%rcx)
  cmp    (%rsp),%ebx
  jle    L115
  movzbl 0x16(%rax),%edx
  movzbl 0x15(%rax),%r15d
  imul   $0x12b,%edx,%edx
  imul   $0x24b,%r15d,%r15d
  add    %r15d,%edx
  movzbl 0x14(%rax),%r15d
  imul   $0x72,%r15d,%r15d
  add    %r15d,%edx
  imul   $0x10624dd3,%rdx,%rdx
  shr    $0x26,%rdx
  mov    %dl,0x5(%rsi)
  movzbl 0x17(%rax),%edx
  mov    %dl,0x5(%rcx)
  cmp    0x4(%rsp),%ebx
  jle    L115
  movzbl 0x1a(%rax),%edx
  movzbl 0x19(%rax),%r15d
  imul   $0x12b,%edx,%edx
  imul   $0x24b,%r15d,%r15d
  add    %r15d,%edx
  movzbl 0x18(%rax),%r15d
  imul   $0x72,%r15d,%r15d
  add    %r15d,%edx
  imul   $0x10624dd3,%rdx,%rdx
  shr    $0x26,%rdx
  mov    %dl,0x6(%rsi)
  movzbl 0x1b(%rax),%edx
  mov    %dl,0x6(%rcx)
  cmp    0x8(%rsp),%ebx
  jle    L115
  movzbl 0x1e(%rax),%edx
  movzbl 0x1d(%rax),%r15d
  imul   $0x12b,%edx,%edx
  imul   $0x24b,%r15d,%r15d
  add    %r15d,%edx
  movzbl 0x1c(%rax),%r15d
  imul   $0x72,%r15d,%r15d
  add    %r15d,%edx
  imul   $0x10624dd3,%rdx,%rdx
  shr    $0x26,%rdx
  mov    %dl,0x7(%rsi)
  movzbl 0x1f(%rax),%edx
  mov    %dl,0x7(%rcx)
  cmp    0xc(%rsp),%ebx
  jle    L115
  movzbl 0x22(%rax),%edx
  movzbl 0x21(%rax),%r15d
  imul   $0x12b,%edx,%edx
  imul   $0x24b,%r15d,%r15d
  add    %r15d,%edx
  movzbl 0x20(%rax),%r15d
  imul   $0x72,%r15d,%r15d
  add    %r15d,%edx
  imul   $0x10624dd3,%rdx,%rdx
  shr    $0x26,%rdx
  mov    %dl,0x8(%rsi)
  movzbl 0x23(%rax),%edx
  mov    %dl,0x8(%rcx)
  cmp    0x10(%rsp),%ebx
  jle    L115
  movzbl 0x26(%rax),%edx
  movzbl 0x25(%rax),%r15d
  imul   $0x12b,%edx,%edx
  imul   $0x24b,%r15d,%r15d
  add    %r15d,%edx
  movzbl 0x24(%rax),%r15d
  imul   $0x72,%r15d,%r15d
  add    %r15d,%edx
  imul   $0x10624dd3,%rdx,%rdx
  shr    $0x26,%rdx
  mov    %dl,0x9(%rsi)
  movzbl 0x27(%rax),%edx
  mov    %dl,0x9(%rcx)
  cmp    0x14(%rsp),%ebx
  jle    L115
  movzbl 0x2a(%rax),%edx
  movzbl 0x29(%rax),%r15d
  imul   $0x12b,%edx,%edx
  imul   $0x24b,%r15d,%r15d
  add    %r15d,%edx
  movzbl 0x28(%rax),%r15d
  imul   $0x72,%r15d,%r15d
  add    %r15d,%edx
  imul   $0x10624dd3,%rdx,%rdx
  shr    $0x26,%rdx
  mov    %dl,0xa(%rsi)
  movzbl 0x2b(%rax),%edx
  mov    %dl,0xa(%rcx)
  cmp    0x18(%rsp),%ebx
  jle    L115
  movzbl 0x2e(%rax),%edx
  movzbl 0x2d(%rax),%r15d
  imul   $0x12b,%edx,%edx
  imul   $0x24b,%r15d,%r15d
  add    %r15d,%edx
  movzbl 0x2c(%rax),%r15d
  imul   $0x72,%r15d,%r15d
  add    %r15d,%edx
  imul   $0x10624dd3,%rdx,%rdx
  shr    $0x26,%rdx
  mov    %dl,0xb(%rsi)
  movzbl 0x2f(%rax),%edx
  mov    %dl,0xb(%rcx)
  cmp    0x1c(%rsp),%ebx
  jle    L115
  movzbl 0x32(%rax),%edx
  movzbl 0x31(%rax),%r15d
  imul   $0x12b,%edx,%edx
  imul   $0x24b,%r15d,%r15d
  add    %r15d,%edx
  movzbl 0x30(%rax),%r15d
  imul   $0x72,%r15d,%r15d
  add    %r15d,%edx
  imul   $0x10624dd3,%rdx,%rdx
  shr    $0x26,%rdx
  mov    %dl,0xc(%rsi)
  movzbl 0x33(%rax),%edx
  mov    %dl,0xc(%rcx)
  cmp    0x20(%rsp),%ebx
  jle    L115
  movzbl 0x36(%rax),%edx
  movzbl 0x35(%rax),%r15d
  imul   $0x12b,%edx,%edx
  imul   $0x24b,%r15d,%r15d
  add    %r15d,%edx
  movzbl 0x34(%rax),%r15d
  imul   $0x72,%r15d,%r15d
  add    %r15d,%edx
  imul   $0x10624dd3,%rdx,%rdx
  shr    $0x26,%rdx
  mov    %dl,0xd(%rsi)
  movzbl 0x37(%rax),%edx
  mov    %dl,0xd(%rcx)
  cmp    0x24(%rsp),%ebx
  jle    L115
  movzbl 0x3a(%rax),%edx
  movzbl 0x39(%rax),%r15d
  imul   $0x12b,%edx,%edx
  imul   $0x24b,%r15d,%r15d
  add    %r15d,%edx
  movzbl 0x38(%rax),%r15d
  imul   $0x72,%r15d,%r15d
  add    %r15d,%edx
  imul   $0x10624dd3,%rdx,%rdx
  shr    $0x26,%rdx
  mov    %dl,0xe(%rsi)
  movzbl 0x3b(%rax),%eax
  mov    %al,0xe(%rcx)
  nopw   0x0(%rax,%rax,1)
L115:
  add    %r13,%r10
  add    -0x38(%rsp),%rdi
  add    %r13,%r8
L32:
  add    $0x1,%ebp
  cmp    %ebp,-0x3c(%rsp)
  jne    L139
L100:
  add    $0x30,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopw   0x0(%rax,%rax,1)
L188:
  test   %ebx,%ebx
  jle    L32
  lea    0x1(%r9),%rsi
  mov    %rdi,%rdx
  xor    %ecx,%ecx
  jmp    L177
  nop
L25:
  movzbl (%rdx),%r15d
  sub    %eax,%r15d
  imul   $0x234,%r15d,%r15d
L14:
  movslq %r15d,%rax
  sar    $0x1f,%r15d
  add    $0x4,%rdx
  add    $0x1,%rsi
  imul   $0x10624dd3,%rax,%rax
  sar    $0x26,%rax
  sub    %r15d,%eax
  add    $0xffffff80,%eax
  mov    %al,-0x2(%rsi)
  movzbl -0x1(%rdx),%eax
  mov    %al,(%r10,%rcx,1)
  lea    0x1(%rcx),%rax
  cmp    %rcx,%r11
  je     L99
  mov    %rax,%rcx
L177:
  movzbl 0x1(%rdx),%eax
  movzbl 0x2(%rdx),%r15d
  imul   $0x24b,%eax,%eax
  imul   $0x12b,%r15d,%r15d
  add    %r15d,%eax
  movzbl (%rdx),%r15d
  imul   $0x72,%r15d,%r15d
  add    %r15d,%eax
  imul   $0x10624dd3,%rax,%rax
  shr    $0x26,%rax
  mov    %al,(%r8,%rcx,1)
  test   $0x1,%cl
  je     L25
  movzbl 0x2(%rdx),%r15d
  sub    %eax,%r15d
  imul   $0x2c9,%r15d,%r15d
  jmp    L14
  xchg   %ax,%ax
L99:
  add    %r13,%r9
  add    %r13,%r10
  add    -0x38(%rsp),%rdi
  add    %r13,%r8
  jmp    L32
  nopl   0x0(%rax,%rax,1)
L175:
  xor    %edx,%edx
  nopw   0x0(%rax,%rax,1)
L221:
  movzbl 0x2(%rdi,%rdx,4),%eax
  movzbl 0x1(%rdi,%rdx,4),%ecx
  imul   $0x12b,%eax,%eax
  imul   $0x24b,%ecx,%ecx
  add    %ecx,%eax
  movzbl (%rdi,%rdx,4),%ecx
  imul   $0x72,%ecx,%ecx
  add    %ecx,%eax
  imul   $0x10624dd3,%rax,%rax
  shr    $0x26,%rax
  mov    %al,(%r8,%rdx,1)
  movzbl 0x3(%rdi,%rdx,4),%eax
  mov    %al,(%r10,%rdx,1)
  mov    %rdx,%rax
  add    $0x1,%rdx
  cmp    %rax,%r11
  jne    L221
  jmp    L115
```

tool_calls: name: unpack_data
arguments: data_tag: D42
type_infered: byte[16]
name: unpack_data
arguments: data_tag: D100
type_infered: byte[16]
name: unpack_data
arguments: data_tag: D106
type_infered: byte[16]
name: unpack_data
arguments: data_tag: D5
type_infered: byte[16]
name: unpack_data
arguments: data_tag: D14
type_infered: byte[16]

tool: {"D42": [0xd3,0x4d,0x62,0x10,0xd3,0x4d,0x62,0x10,0xd3,0x4d,0x62,0x10,0xd3,0x4d,0x62,0x10]}

tool: {"D100": [0x72,0x72,0x72,0x72,0x72,0x72,0x72,0x72,0x72,0x72,0x72,0x72,0x72,0x72,0x72,0x72]}

tool: {"D106": [0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00]}

tool: {"D5": [0x2b,0x01,0x2b,0x01,0x2b,0x01,0x2b,0x01,0x2b,0x01,0x2b,0x01,0x2b,0x01,0x2b,0x01]}

tool: {"D14": [0x4b,0x02,0x4b,0x02,0x4b,0x02,0x4b,0x02,0x4b,0x02,0x4b,0x02,0x4b,0x02,0x4b,0x02]}

assistant: ```c
void argb2yuv420sp(unsigned char *src_p, unsigned char *alph, unsigned int width, unsigned int height, unsigned char *dest_y, unsigned char *dest_c) {
  int i, j;
  for (i = 0; i < (int)height; i++) {
    if ((i & 1) == 0) {
      for (j = 0; j < (int)width; j++) {
        *dest_y = (299 * src_p[2] + 587 * src_p[1] + 114 * src_p[0]) / 1000;
        if ((j & 1) == 0) {
          *dest_c++ = 128 + (564 * (src_p[0] - *dest_y) / 1000);
        } else {
          *dest_c++ = 128 + (713 * (src_p[2] - *dest_y) / 1000);
        }
        *alph++ = src_p[3];
        src_p += 4;
        dest_y++;
      }
    } else {
      for (j = 0; j < (int)width; j++) {
        *dest_y = (299 * src_p[2] + 587 * src_p[1] + 114 * src_p[0]) / 1000;
        *alph++ = src_p[3];
        src_p += 4;
        dest_y++;
      }
    }
  }
  return;
}
```