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

```asm
<yuv420raw_to_yuv420p>:
  endbr64
  push   %r15
  lea    -0x1(%rcx),%eax
  push   %r14
  push   %r13
  mov    %edx,%r13d
  push   %r12
  imul   %ecx,%r13d
  push   %rbp
  push   %rbx
  mov    %edx,%ebx
  shr    $0x1f,%ebx
  mov    %r13d,%r15d
  add    %edx,%ebx
  add    %rsi,%r15
  sub    $0x48,%rsp
  sar    %ebx
  mov    %rdi,0x28(%rsp)
  mov    %rsi,0x30(%rsp)
  mov    %eax,0x4(%rsp)
  test   %eax,%eax
  jle    L5
  lea    0x0(,%rbx,8),%eax
  shr    $0x2,%r13d
  mov    %rax,0x10(%rsp)
  cmp    $0x1,%edx
  jle    L5
  lea    -0x2(%rdx),%eax
  mov    %rdi,0x8(%rsp)
  mov    %r15,%r12
  mov    %eax,0x38(%rsp)
  shr    $0x4,%eax
  add    $0x1,%eax
  movl   $0x0,(%rsp)
  lea    0x0(,%rax,8),%rcx
  lea    (%rax,%rax,2),%rax
  mov    %edx,0x3c(%rsp)
  shl    $0x7,%rax
  mov    %rcx,0x18(%rsp)
  mov    %rax,0x20(%rsp)
  nopl   0x0(%rax)
L32:
  mov    0x18(%rsp),%rax
  mov    0x8(%rsp),%r14
  mov    %r12,%r15
  lea    (%r12,%rax,1),%rbp
  nopl   0x0(%rax)
L45:
  mov    %r15,%rsi
  mov    %r14,%rdi
  mov    %ebx,%edx
  call   <make_8x8@plt>
  lea    (%r15,%r13,1),%rsi
  lea    0x40(%r14),%rdi
  mov    %ebx,%edx
  call   <make_8x8@plt>
  add    $0x8,%r15
  add    $0x180,%r14
  cmp    %r15,%rbp
  jne    L45
  addl   $0x10,(%rsp)
  mov    0x20(%rsp),%rcx
  mov    (%rsp),%eax
  add    %rcx,0x8(%rsp)
  add    0x10(%rsp),%r12
  cmp    0x4(%rsp),%eax
  jl     L32
  mov    0x3c(%rsp),%ebp
  mov    0x38(%rsp),%r13d
  movl   $0x0,(%rsp)
  mov    0x28(%rsp),%r15
  mov    0x30(%rsp),%r12
  lea    0x0(,%rbp,8),%eax
  shr    $0x3,%r13d
  cltq
  add    $0x1,%r13d
  sub    $0xffffffffffffff80,%r15
  mov    %rax,0x8(%rsp)
  lea    0x0(,%r13,8),%r14
  xor    %r13d,%r13d
  mov    %r14,0x10(%rsp)
  mov    %r13d,%r14d
  nop
L79:
  mov    0x10(%rsp),%rax
  mov    %r12,%r13
  lea    (%r12,%rax,1),%rbx
  jmp    L81
  xchg   %ax,%ax
L54:
  add    $0x40,%r15
  cmp    %rbx,%r13
  je     L25
L81:
  mov    %r13,%rsi
  mov    %ebp,%edx
  mov    %r15,%rdi
  add    $0x1,%r14d
  call   <make_8x8@plt>
  add    $0x8,%r13
  cmp    $0x3,%r14d
  jle    L54
  add    $0xc0,%r15
  xor    %r14d,%r14d
  cmp    %rbx,%r13
  jne    L81
L25:
  addl   $0x8,(%rsp)
  add    0x8(%rsp),%r12
  mov    (%rsp),%eax
  cmp    0x4(%rsp),%eax
  jl     L79
L5:
  add    $0x48,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
void yuv420raw_to_yuv420p(unsigned char *pIn0, unsigned char *pOut0, int width, int height) {
  int k, x, y;
  unsigned char *pIn, *pOut, *pOutLine;
  const unsigned int a = width * height;
  const unsigned int w = width / 2;
  pIn = pIn0;
  pOutLine = pOut0 + a;
  for (y = 0; y < height - 1; y += 16) {
    pOut = pOutLine;
    for (x = 0; x < width - 1; x += 16) {
      make_8x8(pIn, pOut, w);
      make_8x8(pIn + 64, pOut + a / 4, w);
      pIn += 384;
      pOut += 8;
    }
    pOutLine += 8 * w;
  }
  pIn = pIn0 + 128;
  pOutLine = pOut0;
  k = 0;
  for (y = 0; y < height - 1; y += 8) {
    pOut = pOutLine;
    for (x = 0; x < width - 1; x += 8) {
      make_8x8(pIn, pOut, width);
      pIn += 64;
      pOut += 8;
      if ((++k) > 3) {
        k = 0;
        pIn += 128;
      }
    }
    pOutLine += 8 * width;
  }
}
```