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

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

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