user: Translate the below assembly code into C programming language:

```asm
<argb2yuv420sp>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %rdi,-0x18(%rbp)
  mov    %rsi,-0x20(%rbp)
  mov    %edx,-0x24(%rbp)
  mov    %ecx,-0x28(%rbp)
  mov    %r8,-0x30(%rbp)
  mov    %r9,-0x38(%rbp)
  movl   $0x0,-0x8(%rbp)
  jmp    L23
L75:
  mov    -0x8(%rbp),%eax
  and    $0x1,%eax
  test   %eax,%eax
  jne    L62
  movl   $0x0,-0x4(%rbp)
  jmp    L2
L77:
  mov    -0x18(%rbp),%rax
  add    $0x2,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  imul   $0x12b,%eax,%edx
  mov    -0x18(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  imul   $0x24b,%eax,%eax
  add    %eax,%edx
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  imul   $0x72,%eax,%eax
  add    %edx,%eax
  movslq %eax,%rdx
  imul   $0x10624dd3,%rdx,%rdx
  shr    $0x20,%rdx
  sar    $0x6,%edx
  sar    $0x1f,%eax
  mov    %eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  mov    %eax,%edx
  mov    -0x30(%rbp),%rax
  mov    %dl,(%rax)
  mov    -0x4(%rbp),%eax
  and    $0x1,%eax
  test   %eax,%eax
  jne    L60
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%edx
  mov    -0x30(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  imul   $0x234,%eax,%eax
  movslq %eax,%rdx
  imul   $0x10624dd3,%rdx,%rdx
  shr    $0x20,%rdx
  sar    $0x6,%edx
  sar    $0x1f,%eax
  mov    %eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  mov    %eax,%ecx
  mov    -0x38(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x38(%rbp)
  lea    -0x80(%rcx),%edx
  mov    %dl,(%rax)
  jmp    L70
L60:
  mov    -0x18(%rbp),%rax
  add    $0x2,%rax
  movzbl (%rax),%eax
  movzbl %al,%edx
  mov    -0x30(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  imul   $0x2c9,%eax,%eax
  movslq %eax,%rdx
  imul   $0x10624dd3,%rdx,%rdx
  shr    $0x20,%rdx
  sar    $0x6,%edx
  sar    $0x1f,%eax
  mov    %eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  mov    %eax,%ecx
  mov    -0x38(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x38(%rbp)
  lea    -0x80(%rcx),%edx
  mov    %dl,(%rax)
L70:
  mov    -0x20(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x20(%rbp)
  mov    -0x18(%rbp),%rdx
  movzbl 0x3(%rdx),%edx
  mov    %dl,(%rax)
  addq   $0x4,-0x18(%rbp)
  addq   $0x1,-0x30(%rbp)
  addl   $0x1,-0x4(%rbp)
L2:
  mov    -0x24(%rbp),%eax
  cmp    %eax,-0x4(%rbp)
  jl     L77
  jmp    L13
L62:
  movl   $0x0,-0x4(%rbp)
  jmp    L65
L31:
  mov    -0x18(%rbp),%rax
  add    $0x2,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  imul   $0x12b,%eax,%edx
  mov    -0x18(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  imul   $0x24b,%eax,%eax
  add    %eax,%edx
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  imul   $0x72,%eax,%eax
  add    %edx,%eax
  movslq %eax,%rdx
  imul   $0x10624dd3,%rdx,%rdx
  shr    $0x20,%rdx
  sar    $0x6,%edx
  sar    $0x1f,%eax
  mov    %eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  mov    %eax,%edx
  mov    -0x30(%rbp),%rax
  mov    %dl,(%rax)
  mov    -0x20(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x20(%rbp)
  mov    -0x18(%rbp),%rdx
  movzbl 0x3(%rdx),%edx
  mov    %dl,(%rax)
  addq   $0x4,-0x18(%rbp)
  addq   $0x1,-0x30(%rbp)
  addl   $0x1,-0x4(%rbp)
L65:
  mov    -0x24(%rbp),%eax
  cmp    %eax,-0x4(%rbp)
  jl     L31
L13:
  addl   $0x1,-0x8(%rbp)
L23:
  mov    -0x28(%rbp),%eax
  cmp    %eax,-0x8(%rbp)
  jl     L75
  nop
  pop    %rbp
  ret
```

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;
}
```