user: Demonstrate the C code that generates the assembly output below:

```asm
<yuv422_rgb24>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rdi,%rbp
  mov    %rsi,%rdi
  mov    %edx,%r13d
  movl   $0x0,-0x8(%rsp)
  mov    $0x0,%r14d
  add    %ecx,%ecx
  mov    %ecx,-0x4(%rsp)
  jne    L30
L1:
  mov    $0x0,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L3:
  mov    %r12d,%esi
  add    -0x10(%rsp),%rsi
  movzbl 0x0(%rbp,%rsi,1),%ecx
  movzbl 0x2(%rbp,%rsi,1),%edx
  movzbl 0x3(%rbp,%rsi,1),%eax
  add    $0xffffff80,%eax
  imul   $0x68,%eax,%ebx
  sar    $0x8,%ebx
  movzbl 0x1(%rbp,%rsi,1),%r8d
  add    $0xffffff80,%r8d
  imul   $0x59,%r8d,%r11d
  sar    $0x8,%r11d
  imul   $0xb7,%eax,%r10d
  sar    $0x8,%r10d
  imul   $0xc7,%r8d,%r9d
  sar    $0x8,%r9d
  lea    (%rcx,%rax,1),%esi
  add    %ebx,%esi
  mov    $0xff,%r15d
  cmp    %r15d,%esi
  cmovg  %r15d,%esi
  test   %esi,%esi
  mov    $0x0,%r15d
  cmovs  %r15d,%esi
  mov    %sil,(%rdi)
  mov    %ecx,%esi
  sub    %r11d,%esi
  sub    %r10d,%esi
  mov    $0xff,%r15d
  cmp    %r15d,%esi
  cmovg  %r15d,%esi
  test   %esi,%esi
  mov    $0x0,%r15d
  cmovs  %r15d,%esi
  mov    %sil,0x1(%rdi)
  add    %r8d,%ecx
  add    %r9d,%ecx
  mov    $0xff,%esi
  cmp    %esi,%ecx
  cmovg  %esi,%ecx
  test   %ecx,%ecx
  mov    $0x0,%esi
  cmovs  %esi,%ecx
  mov    %cl,0x2(%rdi)
  add    %edx,%eax
  add    %ebx,%eax
  mov    $0xff,%ecx
  cmp    %ecx,%eax
  cmovg  %ecx,%eax
  test   %eax,%eax
  mov    $0x0,%ecx
  cmovs  %ecx,%eax
  mov    %al,0x3(%rdi)
  mov    %edx,%eax
  sub    %r11d,%eax
  sub    %r10d,%eax
  mov    $0xff,%ecx
  cmp    %ecx,%eax
  cmovg  %ecx,%eax
  test   %eax,%eax
  mov    $0x0,%ecx
  cmovs  %ecx,%eax
  mov    %al,0x4(%rdi)
  add    $0x6,%rdi
  add    %r8d,%edx
  add    %r9d,%edx
  mov    $0xff,%eax
  cmp    %eax,%edx
  cmovg  %eax,%edx
  test   %edx,%edx
  mov    $0x0,%eax
  cmovs  %eax,%edx
  mov    %dl,-0x1(%rdi)
  add    $0x4,%r12d
  cmp    %r12d,%r13d
  ja     L3
L42:
  add    $0x1,%r14d
  add    %r13d,-0x8(%rsp)
  cmp    -0x4(%rsp),%r14d
  je     L1
L30:
  mov    -0x8(%rsp),%eax
  mov    %rax,-0x10(%rsp)
  mov    $0x0,%r12d
  test   %r13d,%r13d
  jne    L3
  jmp    L42
```

assistant: ```c
int yuv422_rgb24(unsigned char *yuv_buf, unsigned char *rgb_buf, unsigned int width, unsigned int height) {
  int yuvdata[4];
  int rgbdata[3];
  unsigned char *rgb_temp;
  unsigned int i, j;
  rgb_temp = rgb_buf;
  for (i = 0; i < height * 2; i++) {
    for (j = 0; j < width; j += 4) {
      yuvdata[0] = *(yuv_buf + i * width + j + 0);
      yuvdata[1] = *(yuv_buf + i * width + j + 1);
      yuvdata[2] = *(yuv_buf + i * width + j + 2);
      yuvdata[3] = *(yuv_buf + i * width + j + 3);
      rgbdata[0] = yuvdata[0] + (yuvdata[3] - 128) + (((yuvdata[3] - 128) * 104) >> 8);
      rgbdata[1] = yuvdata[0] - (((yuvdata[1] - 128) * 89) >> 8) - (((yuvdata[3] - 128) * 183) >> 8);
      rgbdata[2] = yuvdata[0] + (yuvdata[1] - 128) + (((yuvdata[1] - 128) * 199) >> 8);
      if (rgbdata[0] > 255)
        rgbdata[0] = 255;
      if (rgbdata[0] < 0)
        rgbdata[0] = 0;
      if (rgbdata[1] > 255)
        rgbdata[1] = 255;
      if (rgbdata[1] < 0)
        rgbdata[1] = 0;
      if (rgbdata[2] > 255)
        rgbdata[2] = 255;
      if (rgbdata[2] < 0)
        rgbdata[2] = 0;
      *(rgb_temp++) = rgbdata[0];
      *(rgb_temp++) = rgbdata[1];
      *(rgb_temp++) = rgbdata[2];
      rgbdata[0] = yuvdata[2] + (yuvdata[3] - 128) + (((yuvdata[3] - 128) * 104) >> 8);
      rgbdata[1] = yuvdata[2] - (((yuvdata[1] - 128) * 89) >> 8) - (((yuvdata[3] - 128) * 183) >> 8);
      rgbdata[2] = yuvdata[2] + (yuvdata[1] - 128) + (((yuvdata[1] - 128) * 199) >> 8);
      if (rgbdata[0] > 255)
        rgbdata[0] = 255;
      if (rgbdata[0] < 0)
        rgbdata[0] = 0;
      if (rgbdata[1] > 255)
        rgbdata[1] = 255;
      if (rgbdata[1] < 0)
        rgbdata[1] = 0;
      if (rgbdata[2] > 255)
        rgbdata[2] = 255;
      if (rgbdata[2] < 0)
        rgbdata[2] = 0;
      *(rgb_temp++) = rgbdata[0];
      *(rgb_temp++) = rgbdata[1];
      *(rgb_temp++) = rgbdata[2];
    }
  }
  return 0;
}
```