user: 提供的汇编代码用C语言表示会是什么样子:

```asm
<convert_YV12_ARGB>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x88,%rsp
  mov    %rsi,0x30(%rsp)
  mov    %edx,%esi
  mov    %edx,0x2c(%rsp)
  imul   %ecx,%edx
  mov    %rdi,0x50(%rsp)
  mov    %ecx,0x3c(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x78(%rsp)
  xor    %eax,%eax
  movslq %edx,%rax
  test   %edx,%edx
  movq   $0x0,0x60(%rsp)
  movq   $0x0,0x68(%rsp)
  lea    (%rdi,%rax,8),%rax
  mov    %rax,0x48(%rsp)
  lea    0x3(%rdx),%eax
  movq   $0x0,0x70(%rsp)
  cmovns %edx,%eax
  sar    $0x2,%eax
  cltq
  mov    %rax,0x40(%rsp)
  test   %ecx,%ecx
  jle    L21
  mov    %esi,%eax
  mov    $0x40,%edx
  movl   $0x0,0x38(%rsp)
  lea    0x70(%rsp),%r14
  shr    $0x1f,%eax
  movl   $0x0,0x28(%rsp)
  add    %esi,%eax
  sar    %eax
  mov    %eax,0x24(%rsp)
  sub    $0x1,%eax
  add    $0x1,%rax
  shl    $0x6,%rax
  cmp    $0x1,%esi
  cmovg  %rax,%rdx
  mov    %rdx,0x58(%rsp)
  nopl   0x0(%rax,%rax,1)
L30:
  cmpl   $0x1,0x2c(%rsp)
  jle    L7
  movslq 0x38(%rsp),%rax
  mov    0x50(%rsp),%rcx
  xor    %ebp,%ebp
  lea    0x68(%rsp),%r15
  mov    0x30(%rsp),%rbx
  lea    0x60(%rsp),%r13
  lea    (%rcx,%rax,8),%r12
  mov    0x28(%rsp),%eax
  mov    0x40(%rsp),%rcx
  sar    %eax
  imul   0x2c(%rsp),%eax
  sar    %eax
  cltq
  lea    (%rcx,%rax,1),%rdx
  mov    0x48(%rsp),%rcx
  lea    (%rcx,%rdx,8),%rdi
  lea    (%rcx,%rax,8),%rax
  mov    %rdi,0x18(%rsp)
  mov    %rax,0x10(%rsp)
  nopl   0x0(%rax)
L17:
  mov    0x18(%rsp),%rax
  mov    (%r12),%rdi
  mov    %r14,%r9
  mov    %r15,%r8
  mov    %r13,%rcx
  add    $0x40,%rbx
  add    $0x10,%r12
  mov    (%rax,%rbp,8),%rsi
  mov    0x10(%rsp),%rax
  mov    (%rax,%rbp,8),%rdx
  mov    %rsi,(%rsp)
  add    $0x1,%rbp
  mov    %rdx,0x8(%rsp)
  call   <yuv2rgb@plt>
  mov    0x60(%rsp),%rax
  mov    %r14,%r9
  mov    %r15,%r8
  movq   $0x0,-0x40(%rbx)
  mov    0x8(%rsp),%rdx
  mov    %r13,%rcx
  mov    %rax,-0x38(%rbx)
  mov    0x68(%rsp),%rax
  mov    (%rsp),%rsi
  mov    %rax,-0x30(%rbx)
  mov    0x70(%rsp),%rax
  mov    %rax,-0x28(%rbx)
  mov    -0x8(%r12),%rdi
  call   <yuv2rgb@plt>
  mov    0x60(%rsp),%rax
  movq   $0x0,-0x20(%rbx)
  mov    %rax,-0x18(%rbx)
  mov    0x68(%rsp),%rax
  mov    %rax,-0x10(%rbx)
  mov    0x70(%rsp),%rax
  mov    %rax,-0x8(%rbx)
  cmp    %ebp,0x24(%rsp)
  jg     L17
  mov    0x58(%rsp),%rcx
  add    %rcx,0x30(%rsp)
L7:
  addl   $0x1,0x28(%rsp)
  mov    0x2c(%rsp),%edi
  mov    0x28(%rsp),%eax
  add    %edi,0x38(%rsp)
  cmp    %eax,0x3c(%rsp)
  jne    L30
L21:
  mov    0x78(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L41
  add    $0x88,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L41:
  call   <__stack_chk_fail@plt>
```

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