user: Converte this assembly snippet into its equivalent C code:

```asm
<convert_IYUV_ARGB>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  add    $0xffffffffffffff80,%rsp
  mov    %rdi,-0x68(%rbp)
  mov    %rsi,-0x70(%rbp)
  mov    %edx,-0x74(%rbp)
  mov    %ecx,-0x78(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x0,-0x60(%rbp)
  movl   $0x0,-0x5c(%rbp)
  movq   $0x0,-0x38(%rbp)
  movq   $0x0,-0x30(%rbp)
  movq   $0x0,-0x28(%rbp)
  movq   $0x0,-0x58(%rbp)
  movq   $0x0,-0x50(%rbp)
  movq   $0x0,-0x48(%rbp)
  mov    -0x68(%rbp),%rax
  mov    %rax,-0x20(%rbp)
  mov    -0x74(%rbp),%eax
  imul   -0x78(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x18(%rbp)
  mov    -0x74(%rbp),%eax
  imul   -0x78(%rbp),%eax
  lea    0x3(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x2,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x10(%rbp)
  mov    -0x70(%rbp),%rax
  mov    %rax,-0x40(%rbp)
  movl   $0x0,-0x5c(%rbp)
  jmp    L40
L29:
  movl   $0x0,-0x60(%rbp)
  jmp    L17
L26:
  mov    -0x60(%rbp),%eax
  lea    (%rax,%rax,1),%edx
  mov    -0x5c(%rbp),%eax
  imul   -0x74(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    %rax,-0x38(%rbp)
  mov    -0x5c(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  imul   -0x74(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,%edx
  mov    -0x60(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    %rax,-0x30(%rbp)
  mov    -0x5c(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  imul   -0x74(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,%edx
  mov    -0x60(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    %rax,-0x28(%rbp)
  lea    -0x48(%rbp),%r8
  lea    -0x50(%rbp),%rdi
  lea    -0x58(%rbp),%rcx
  mov    -0x28(%rbp),%rdx
  mov    -0x30(%rbp),%rsi
  mov    -0x38(%rbp),%rax
  mov    %r8,%r9
  mov    %rdi,%r8
  mov    %rax,%rdi
  call   <yuv2rgb@plt>
  mov    -0x40(%rbp),%rax
  movq   $0x0,(%rax)
  mov    -0x40(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    -0x58(%rbp),%rax
  mov    %rax,(%rdx)
  mov    -0x40(%rbp),%rax
  lea    0x10(%rax),%rdx
  mov    -0x50(%rbp),%rax
  mov    %rax,(%rdx)
  mov    -0x40(%rbp),%rax
  lea    0x18(%rax),%rdx
  mov    -0x48(%rbp),%rax
  mov    %rax,(%rdx)
  addq   $0x20,-0x40(%rbp)
  mov    -0x60(%rbp),%eax
  lea    (%rax,%rax,1),%edx
  mov    -0x5c(%rbp),%eax
  imul   -0x74(%rbp),%eax
  add    %edx,%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    %rax,-0x38(%rbp)
  lea    -0x48(%rbp),%r8
  lea    -0x50(%rbp),%rdi
  lea    -0x58(%rbp),%rcx
  mov    -0x28(%rbp),%rdx
  mov    -0x30(%rbp),%rsi
  mov    -0x38(%rbp),%rax
  mov    %r8,%r9
  mov    %rdi,%r8
  mov    %rax,%rdi
  call   <yuv2rgb@plt>
  mov    -0x40(%rbp),%rax
  movq   $0x0,(%rax)
  mov    -0x40(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    -0x58(%rbp),%rax
  mov    %rax,(%rdx)
  mov    -0x40(%rbp),%rax
  lea    0x10(%rax),%rdx
  mov    -0x50(%rbp),%rax
  mov    %rax,(%rdx)
  mov    -0x40(%rbp),%rax
  lea    0x18(%rax),%rdx
  mov    -0x48(%rbp),%rax
  mov    %rax,(%rdx)
  addq   $0x20,-0x40(%rbp)
  addl   $0x1,-0x60(%rbp)
L17:
  mov    -0x74(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  cmp    %eax,-0x60(%rbp)
  jl     L26
  addl   $0x1,-0x5c(%rbp)
L40:
  mov    -0x5c(%rbp),%eax
  cmp    -0x78(%rbp),%eax
  jl     L29
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L43
  call   <__stack_chk_fail@plt>
L43:
  leave
  ret
```

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