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

```asm
<v4lconvert_yvyu_to_rgb24>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %rdi,-0x28(%rbp)
  mov    %rsi,-0x30(%rbp)
  mov    %edx,-0x34(%rbp)
  mov    %ecx,-0x38(%rbp)
  jmp    L101
L242:
  movl   $0x0,-0x18(%rbp)
  jmp    L267
L214:
  mov    -0x28(%rbp),%rax
  add    $0x3,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    %eax,-0x14(%rbp)
  mov    -0x28(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    %eax,-0x10(%rbp)
  mov    -0x14(%rbp),%eax
  add    $0xffffff80,%eax
  shl    $0x7,%eax
  mov    %eax,%edx
  mov    -0x14(%rbp),%eax
  add    $0xffffff80,%eax
  add    %edx,%eax
  sar    $0x6,%eax
  mov    %eax,-0xc(%rbp)
  mov    -0x14(%rbp),%eax
  add    $0xffffff80,%eax
  lea    (%rax,%rax,1),%edx
  mov    -0x14(%rbp),%eax
  add    $0xffffff80,%eax
  add    %eax,%edx
  mov    -0x10(%rbp),%eax
  add    $0xffffff80,%eax
  shl    $0x2,%eax
  add    %eax,%edx
  mov    -0x10(%rbp),%eax
  add    $0xffffff80,%eax
  add    %eax,%eax
  add    %edx,%eax
  sar    $0x3,%eax
  mov    %eax,-0x8(%rbp)
  mov    -0x10(%rbp),%eax
  add    $0xffffff80,%eax
  lea    (%rax,%rax,1),%edx
  mov    -0x10(%rbp),%eax
  add    $0xffffff80,%eax
  add    %edx,%eax
  sar    %eax
  mov    %eax,-0x4(%rbp)
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%edx
  mov    -0x4(%rbp),%eax
  add    %edx,%eax
  cmp    $0xff,%eax
  jg     L273
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%edx
  mov    -0x4(%rbp),%eax
  add    %edx,%eax
  test   %eax,%eax
  js     L22
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%eax
  mov    -0x4(%rbp),%edx
  add    %edx,%eax
  jmp    L58
L22:
  mov    $0x0,%eax
  jmp    L58
L273:
  mov    $0xffffffff,%eax
L58:
  mov    -0x30(%rbp),%rdx
  lea    0x1(%rdx),%rcx
  mov    %rcx,-0x30(%rbp)
  mov    %al,(%rdx)
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  sub    -0x8(%rbp),%eax
  cmp    $0xff,%eax
  jg     L183
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  sub    -0x8(%rbp),%eax
  test   %eax,%eax
  js     L62
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%eax
  mov    -0x8(%rbp),%edx
  sub    %edx,%eax
  jmp    L266
L62:
  mov    $0x0,%eax
  jmp    L266
L183:
  mov    $0xffffffff,%eax
L266:
  mov    -0x30(%rbp),%rdx
  lea    0x1(%rdx),%rcx
  mov    %rcx,-0x30(%rbp)
  mov    %al,(%rdx)
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%edx
  mov    -0xc(%rbp),%eax
  add    %edx,%eax
  cmp    $0xff,%eax
  jg     L78
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%edx
  mov    -0xc(%rbp),%eax
  add    %edx,%eax
  test   %eax,%eax
  js     L44
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%eax
  mov    -0xc(%rbp),%edx
  add    %edx,%eax
  jmp    L5
L44:
  mov    $0x0,%eax
  jmp    L5
L78:
  mov    $0xffffffff,%eax
L5:
  mov    -0x30(%rbp),%rdx
  lea    0x1(%rdx),%rcx
  mov    %rcx,-0x30(%rbp)
  mov    %al,(%rdx)
  mov    -0x28(%rbp),%rax
  add    $0x2,%rax
  movzbl (%rax),%eax
  movzbl %al,%edx
  mov    -0x4(%rbp),%eax
  add    %edx,%eax
  cmp    $0xff,%eax
  jg     L201
  mov    -0x28(%rbp),%rax
  add    $0x2,%rax
  movzbl (%rax),%eax
  movzbl %al,%edx
  mov    -0x4(%rbp),%eax
  add    %edx,%eax
  test   %eax,%eax
  js     L156
  mov    -0x28(%rbp),%rax
  add    $0x2,%rax
  movzbl (%rax),%eax
  mov    -0x4(%rbp),%edx
  add    %edx,%eax
  jmp    L74
L156:
  mov    $0x0,%eax
  jmp    L74
L201:
  mov    $0xffffffff,%eax
L74:
  mov    -0x30(%rbp),%rdx
  lea    0x1(%rdx),%rcx
  mov    %rcx,-0x30(%rbp)
  mov    %al,(%rdx)
  mov    -0x28(%rbp),%rax
  add    $0x2,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  sub    -0x8(%rbp),%eax
  cmp    $0xff,%eax
  jg     L36
  mov    -0x28(%rbp),%rax
  add    $0x2,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  sub    -0x8(%rbp),%eax
  test   %eax,%eax
  js     L109
  mov    -0x28(%rbp),%rax
  add    $0x2,%rax
  movzbl (%rax),%eax
  mov    -0x8(%rbp),%edx
  sub    %edx,%eax
  jmp    L117
L109:
  mov    $0x0,%eax
  jmp    L117
L36:
  mov    $0xffffffff,%eax
L117:
  mov    -0x30(%rbp),%rdx
  lea    0x1(%rdx),%rcx
  mov    %rcx,-0x30(%rbp)
  mov    %al,(%rdx)
  mov    -0x28(%rbp),%rax
  add    $0x2,%rax
  movzbl (%rax),%eax
  movzbl %al,%edx
  mov    -0xc(%rbp),%eax
  add    %edx,%eax
  cmp    $0xff,%eax
  jg     L38
  mov    -0x28(%rbp),%rax
  add    $0x2,%rax
  movzbl (%rax),%eax
  movzbl %al,%edx
  mov    -0xc(%rbp),%eax
  add    %edx,%eax
  test   %eax,%eax
  js     L118
  mov    -0x28(%rbp),%rax
  add    $0x2,%rax
  movzbl (%rax),%eax
  mov    -0xc(%rbp),%edx
  add    %edx,%eax
  jmp    L81
L118:
  mov    $0x0,%eax
  jmp    L81
L38:
  mov    $0xffffffff,%eax
L81:
  mov    -0x30(%rbp),%rdx
  lea    0x1(%rdx),%rcx
  mov    %rcx,-0x30(%rbp)
  mov    %al,(%rdx)
  addq   $0x4,-0x28(%rbp)
  addl   $0x2,-0x18(%rbp)
L267:
  mov    -0x18(%rbp),%eax
  cmp    -0x34(%rbp),%eax
  jl     L214
L101:
  subl   $0x1,-0x38(%rbp)
  cmpl   $0x0,-0x38(%rbp)
  jns    L242
  nop
  nop
  pop    %rbp
  ret
```

assistant: ```c
void v4lconvert_yvyu_to_rgb24(const unsigned char *src, unsigned char *dest, int width, int height) {
  int j;
  while (--height >= 0) {
    for (j = 0; j < width; j += 2) {
      int u = src[3];
      int v = src[1];
      int u1 = (((u - 128) << 7) + (u - 128)) >> 6;
      int rg = (((u - 128) << 1) + (u - 128) + ((v - 128) << 2) + ((v - 128) << 1)) >> 3;
      int v1 = (((v - 128) << 1) + (v - 128)) >> 1;
      *dest++ = (unsigned char)(((src[0] + v1) > 0xFF) ? 0xff : (((src[0] + v1) < 0) ? 0 : (src[0] + v1)));
      *dest++ = (unsigned char)(((src[0] - rg) > 0xFF) ? 0xff : (((src[0] - rg) < 0) ? 0 : (src[0] - rg)));
      *dest++ = (unsigned char)(((src[0] + u1) > 0xFF) ? 0xff : (((src[0] + u1) < 0) ? 0 : (src[0] + u1)));
      *dest++ = (unsigned char)(((src[2] + v1) > 0xFF) ? 0xff : (((src[2] + v1) < 0) ? 0 : (src[2] + v1)));
      *dest++ = (unsigned char)(((src[2] - rg) > 0xFF) ? 0xff : (((src[2] - rg) < 0) ? 0 : (src[2] - rg)));
      *dest++ = (unsigned char)(((src[2] + u1) > 0xFF) ? 0xff : (((src[2] + u1) < 0) ? 0 : (src[2] + u1)));
      src += 4;
    }
  }
}
```