user: 请将以下的汇编代码转换成C语言代码:

```asm
<convert_IYUV_ARGB>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x88,%rsp
  mov    %rsi,0x28(%rsp)
  mov    %edx,%esi
  mov    %edx,0x48(%rsp)
  imul   %ecx,%edx
  mov    %ecx,0x4c(%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,0x40(%rsp)
  lea    0x3(%rdx),%eax
  movq   $0x0,0x70(%rsp)
  cmovns %edx,%eax
  sar    $0x2,%eax
  cltq
  mov    %rax,0x38(%rsp)
  test   %ecx,%ecx
  jle    L45
  mov    %esi,%eax
  shr    $0x1f,%eax
  add    %esi,%eax
  sar    %eax
  mov    %eax,0x20(%rsp)
  mov    %eax,%ecx
  cmp    $0x1,%esi
  jle    L45
  movslq %esi,%rax
  mov    %rdi,0x30(%rsp)
  lea    0x70(%rsp),%r14
  lea    0x68(%rsp),%r13
  shl    $0x3,%rax
  movl   $0x0,0x24(%rsp)
  lea    0x60(%rsp),%r12
  mov    %rax,0x50(%rsp)
  lea    -0x1(%rcx),%eax
  add    $0x1,%rax
  shl    $0x6,%rax
  mov    %rax,0x58(%rsp)
  nopl   0x0(%rax,%rax,1)
L2:
  mov    0x24(%rsp),%eax
  mov    0x40(%rsp),%rcx
  xor    %ebp,%ebp
  mov    0x30(%rsp),%r15
  mov    0x28(%rsp),%rbx
  sar    %eax
  imul   0x48(%rsp),%eax
  sar    %eax
  cltq
  lea    (%rcx,%rax,8),%rdi
  add    0x38(%rsp),%rax
  lea    (%rcx,%rax,8),%rax
  mov    %rdi,0x10(%rsp)
  mov    %rax,0x18(%rsp)
  nopw   0x0(%rax,%rax,1)
L12:
  mov    0x10(%rsp),%rax
  mov    (%r15),%rdi
  mov    %r14,%r9
  mov    %r13,%r8
  mov    %r12,%rcx
  add    $0x40,%rbx
  add    $0x10,%r15
  mov    (%rax,%rbp,8),%rsi
  mov    0x18(%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    %r13,%r8
  movq   $0x0,-0x40(%rbx)
  mov    0x8(%rsp),%rdx
  mov    %r12,%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(%r15),%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,0x20(%rsp)
  jg     L12
  addl   $0x1,0x24(%rsp)
  mov    0x58(%rsp),%rcx
  mov    0x50(%rsp),%rdi
  add    %rcx,0x28(%rsp)
  add    %rdi,0x30(%rsp)
  mov    0x24(%rsp),%eax
  cmp    %eax,0x4c(%rsp)
  jne    L2
L45:
  mov    0x78(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L42
  add    $0x88,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L42:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
void convert_IYUV_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 *u_buf = y_buf + (w * h);
  uint8_t *v_buf = u_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;
}
```