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

```asm
<convert_YVYU_BGRA>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x70,%rsp
  mov    %rdi,-0x58(%rbp)
  mov    %rsi,-0x60(%rbp)
  mov    %edx,-0x64(%rbp)
  mov    %ecx,-0x68(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x0,-0x4c(%rbp)
  movq   $0x0,-0x28(%rbp)
  movq   $0x0,-0x20(%rbp)
  movq   $0x0,-0x18(%rbp)
  movq   $0x0,-0x48(%rbp)
  movq   $0x0,-0x40(%rbp)
  movq   $0x0,-0x38(%rbp)
  mov    -0x58(%rbp),%rax
  mov    %rax,-0x10(%rbp)
  mov    -0x60(%rbp),%rax
  mov    %rax,-0x30(%rbp)
  movl   $0x0,-0x4c(%rbp)
  jmp    L23
L27:
  mov    -0x4c(%rbp),%eax
  shl    $0x2,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    %rax,-0x28(%rbp)
  mov    -0x4c(%rbp),%eax
  shl    $0x2,%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    %rax,-0x18(%rbp)
  mov    -0x4c(%rbp),%eax
  shl    $0x2,%eax
  cltq
  add    $0x3,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    %rax,-0x20(%rbp)
  lea    -0x38(%rbp),%r8
  lea    -0x40(%rbp),%rdi
  lea    -0x48(%rbp),%rcx
  mov    -0x18(%rbp),%rdx
  mov    -0x20(%rbp),%rsi
  mov    -0x28(%rbp),%rax
  mov    %r8,%r9
  mov    %rdi,%r8
  mov    %rax,%rdi
  call   <yuv2rgb@plt>
  mov    -0x38(%rbp),%rdx
  mov    -0x30(%rbp),%rax
  mov    %rdx,(%rax)
  mov    -0x30(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    -0x40(%rbp),%rax
  mov    %rax,(%rdx)
  mov    -0x30(%rbp),%rax
  lea    0x10(%rax),%rdx
  mov    -0x48(%rbp),%rax
  mov    %rax,(%rdx)
  mov    -0x30(%rbp),%rax
  add    $0x18,%rax
  movq   $0x0,(%rax)
  addq   $0x20,-0x30(%rbp)
  mov    -0x4c(%rbp),%eax
  shl    $0x2,%eax
  cltq
  add    $0x2,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    %rax,-0x28(%rbp)
  lea    -0x38(%rbp),%r8
  lea    -0x40(%rbp),%rdi
  lea    -0x48(%rbp),%rcx
  mov    -0x18(%rbp),%rdx
  mov    -0x20(%rbp),%rsi
  mov    -0x28(%rbp),%rax
  mov    %r8,%r9
  mov    %rdi,%r8
  mov    %rax,%rdi
  call   <yuv2rgb@plt>
  mov    -0x38(%rbp),%rdx
  mov    -0x30(%rbp),%rax
  mov    %rdx,(%rax)
  mov    -0x30(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    -0x40(%rbp),%rax
  mov    %rax,(%rdx)
  mov    -0x30(%rbp),%rax
  lea    0x10(%rax),%rdx
  mov    -0x48(%rbp),%rax
  mov    %rax,(%rdx)
  mov    -0x30(%rbp),%rax
  add    $0x18,%rax
  movq   $0x0,(%rax)
  addq   $0x20,-0x30(%rbp)
  addl   $0x1,-0x4c(%rbp)
L23:
  mov    -0x64(%rbp),%eax
  imul   -0x68(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  cmp    %eax,-0x4c(%rbp)
  jl     L27
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L18
  call   <__stack_chk_fail@plt>
L18:
  leave
  ret
```

assistant: ```c
void convert_YVYU_BGRA(uint8_t *src, uint8_t *dst, uint32_t w, uint32_t h) {
  uint32_t i = 0;
  uint8_t y = 0, u = 0, v = 0;
  uint8_t r = 0, g = 0, b = 0;
  uint8_t *p_src = src;
  uint8_t *rgb = dst;
  do {
  } while (0);
  for (i = 0; i < (w * h / 2); i++) {
    y = p_src[i * 4 + 0];
    v = p_src[i * 4 + 1];
    u = p_src[i * 4 + 3];
    yuv2rgb(y, u, v, &r, &g, &b);
    rgb[0] = b;
    rgb[1] = g;
    rgb[2] = r;
    rgb[3] = 0;
    rgb += 4;
    y = p_src[i * 4 + 2];
    yuv2rgb(y, u, v, &r, &g, &b);
    rgb[0] = b;
    rgb[1] = g;
    rgb[2] = r;
    rgb[3] = 0;
    rgb += 4;
  }
  return;
}
```