user: What would the C source look like for the assembly code provided here?

```asm
<yuvPlanartoyuy2_C>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %r8d,%ebx
  shr    %ebx
  mov    %r9d,-0x54(%rsp)
  mov    %ebx,-0x58(%rsp)
  test   %r9d,%r9d
  je     L24
  mov    %rdi,%rax
  mov    %rdx,%rdi
  mov    %rcx,%rdx
  movslq 0x40(%rsp),%rcx
  shl    $0x2,%rcx
  mov    %rcx,-0x18(%rsp)
  movslq 0x38(%rsp),%rcx
  shl    $0x2,%rcx
  mov    %rcx,-0x50(%rsp)
  movslq 0x48(%rsp),%rcx
  shl    $0x2,%rcx
  mov    %rcx,-0x48(%rsp)
  mov    0x50(%rsp),%ecx
  sub    $0x1,%ecx
  mov    %ecx,-0x30(%rsp)
  test   %ebx,%ebx
  je     L24
  mov    %ebx,%ecx
  shr    $0x3,%r8d
  xor    %ebp,%ebp
  lea    0x0(,%rcx,8),%r14
  mov    %rcx,-0x10(%rsp)
  shl    $0x2,%rcx
  lea    -0x1(%r8),%r11d
  mov    %rcx,-0x40(%rsp)
  lea    -0x1(%rbx),%ecx
  add    $0x1,%r11
  mov    %ecx,-0x2c(%rsp)
  lea    0x0(,%r8,4),%ecx
  shl    $0x4,%r11
  mov    %r14,-0x38(%rsp)
  mov    %rcx,%r14
  lea    0x0(,%rcx,4),%r15
  mov    %ecx,-0x20(%rsp)
  sub    %r14d,%ebx
  shl    $0x3,%rcx
  mov    %rcx,-0x28(%rsp)
  mov    %ebx,-0x1c(%rsp)
  nopl   0x0(%rax,%rax,1)
L136:
  lea    0x4(%rdi),%r8
  mov    %rdx,%rcx
  lea    0x4(%rsi),%r9
  sub    %r8,%rcx
  mov    %rdx,%r8
  cmp    $0x8,%rcx
  seta   %cl
  sub    %r9,%r8
  cmp    $0x8,%r8
  seta   %r8b
  and    %r8d,%ecx
  cmpl   $0x1,-0x58(%rsp)
  setne  %r8b
  test   %r8b,%cl
  je     L104
  mov    -0x40(%rsp),%rbx
  lea    (%rdx,%rbx,1),%rcx
  mov    -0x38(%rsp),%rbx
  cmp    %rcx,%rax
  lea    (%rax,%rbx,1),%rcx
  setae  %r8b
  cmp    %rcx,%rdx
  setae  %cl
  or     %r8b,%cl
  je     L104
  cmpl   $0x2,-0x2c(%rsp)
  jbe    L110
  xor    %ecx,%ecx
  nopl   (%rax)
L76:
  movdqu (%rax,%rcx,2),%xmm1
  movdqu (%rsi,%rcx,1),%xmm0
  movdqu 0x10(%rax,%rcx,2),%xmm4
  movdqa %xmm1,%xmm2
  pslld  $0x8,%xmm0
  shufps $0x88,%xmm4,%xmm2
  shufps $0xdd,%xmm4,%xmm1
  paddd  %xmm2,%xmm0
  pslld  $0x10,%xmm1
  paddd  %xmm1,%xmm0
  movdqu (%rdi,%rcx,1),%xmm1
  pslld  $0x18,%xmm1
  paddd  %xmm1,%xmm0
  movups %xmm0,(%rdx,%rcx,1)
  add    $0x10,%rcx
  cmp    %r11,%rcx
  jne    L76
  mov    -0x28(%rsp),%rbx
  lea    (%rdx,%r15,1),%r8
  lea    (%rsi,%r15,1),%r10
  lea    (%rdi,%r15,1),%r9
  lea    (%rax,%rbx,1),%rcx
  mov    -0x20(%rsp),%ebx
  cmp    %ebx,-0x58(%rsp)
  je     L21
  mov    -0x1c(%rsp),%r13d
  mov    %r13d,%r14d
  cmp    $0x1,%r13d
  je     L37
L9:
  lea    (%rax,%rbx,8),%r12
  movq   (%rsi,%rbx,4),%xmm0
  movq   (%r12),%xmm2
  movq   0x8(%r12),%xmm3
  mov    %r14d,%r12d
  pslld  $0x8,%xmm0
  and    $0xfffffffe,%r12d
  movdqa %xmm2,%xmm1
  punpckldq %xmm3,%xmm2
  mov    %r12d,%r13d
  punpckldq %xmm3,%xmm1
  pshufd $0xe,%xmm2,%xmm2
  lea    (%rcx,%r13,8),%rcx
  paddd  %xmm1,%xmm0
  pslld  $0x10,%xmm2
  movq   (%rdi,%rbx,4),%xmm1
  pslld  $0x18,%xmm1
  paddd  %xmm2,%xmm0
  paddd  %xmm1,%xmm0
  movq   %xmm0,(%rdx,%rbx,4)
  lea    0x0(,%r13,4),%rbx
  add    %rbx,%r8
  add    %rbx,%r10
  add    %rbx,%r9
  cmp    %r12d,%r14d
  je     L21
L37:
  mov    (%r10),%r10d
  mov    (%r9),%r9d
  shl    $0x8,%r10d
  add    (%rcx),%r10d
  mov    0x4(%rcx),%ecx
  shl    $0x18,%r9d
  shl    $0x10,%ecx
  add    %r10d,%ecx
  add    %r9d,%ecx
  mov    %ecx,(%r8)
L21:
  mov    -0x30(%rsp),%ebx
  mov    %ebx,%ecx
  and    %ebp,%ecx
  cmp    %ebx,%ecx
  jne    L90
  mov    -0x18(%rsp),%rbx
  add    %rbx,%rsi
  add    %rbx,%rdi
L90:
  add    -0x50(%rsp),%rax
  add    -0x48(%rsp),%rdx
  add    $0x1,%ebp
  cmp    %ebp,-0x54(%rsp)
  jne    L136
L24:
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L104:
  mov    -0x10(%rsp),%r10
  xor    %ecx,%ecx
  nop
L83:
  mov    (%rsi,%rcx,4),%r8d
  mov    0x4(%rax,%rcx,8),%r9d
  shl    $0x8,%r8d
  shl    $0x10,%r9d
  add    (%rax,%rcx,8),%r8d
  add    %r9d,%r8d
  mov    (%rdi,%rcx,4),%r9d
  shl    $0x18,%r9d
  add    %r9d,%r8d
  mov    %r8d,(%rdx,%rcx,4)
  add    $0x1,%rcx
  cmp    %r10,%rcx
  jne    L83
  jmp    L21
L110:
  mov    -0x58(%rsp),%r14d
  mov    %rdi,%r9
  mov    %rsi,%r10
  mov    %rax,%rcx
  mov    %rdx,%r8
  xor    %ebx,%ebx
  jmp    L9
```

assistant: ```c
void yuvPlanartoyuy2_C(const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t *dst, unsigned int width, unsigned int height, int lumStride, int chromStride, int dstStride, int vertLumPerChroma) {
  unsigned y;
  const unsigned chromWidth = width >> 1;
  for (y = 0; y < height; y++) {
    int i, *idst = (int32_t *)dst;
    const uint8_t *yc = ysrc, *uc = usrc, *vc = vsrc;
    for (i = 0; i < chromWidth; i++) {
      *idst++ = yc[0] + (uc[0] << 8) + (yc[1] << 16) + (vc[0] << 24);
      yc += 2;
      uc++;
      vc++;
    }
    if ((y & (vertLumPerChroma - 1)) == (vertLumPerChroma - 1)) {
      usrc += chromStride;
      vsrc += chromStride;
    }
    ysrc += lumStride;
    dst += dstStride;
  }
}
```