user: 这段汇编代码用C语言表示是什么样的？

```asm
<YVU9toI420>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x60,%rsp
  mov    %rdi,-0x58(%rbp)
  mov    %esi,-0x5c(%rbp)
  mov    %edx,-0x60(%rbp)
  mov    %ecx,-0x64(%rbp)
  mov    %r8d,-0x68(%rbp)
  mov    %r9d,-0x6c(%rbp)
  mov    0x20(%rbp),%rax
  mov    %rax,-0x78(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x28(%rbp)
  xor    %eax,%eax
  mov    0x58(%rbp),%ebx
  mov    0x50(%rbp),%r11d
  mov    0x48(%rbp),%r10d
  mov    0x40(%rbp),%r9d
  mov    0x18(%rbp),%r8d
  mov    0x10(%rbp),%edi
  mov    -0x6c(%rbp),%r14d
  mov    -0x68(%rbp),%r13d
  mov    -0x64(%rbp),%ecx
  mov    -0x60(%rbp),%edx
  mov    -0x5c(%rbp),%esi
  mov    -0x58(%rbp),%rax
  lea    -0x44(%rbp),%r12
  push   %r12
  lea    -0x48(%rbp),%r12
  push   %r12
  push   %rbx
  push   %r11
  push   %r10
  push   %r9
  mov    0x38(%rbp),%r9d
  push   %r9
  mov    0x30(%rbp),%r9d
  push   %r9
  mov    0x28(%rbp),%r9d
  push   %r9
  push   -0x78(%rbp)
  push   %r8
  push   %rdi
  mov    %r14d,%r9d
  mov    %r13d,%r8d
  mov    %rax,%rdi
  call   <chk_args@plt>
  add    $0x60,%rsp
  test   %eax,%eax
  jne    L51
  mov    $0xffffffff,%eax
  jmp    L162
L51:
  mov    -0x48(%rbp),%esi
  lea    0x50(%rbp),%rcx
  lea    0x40(%rbp),%rdx
  lea    -0x68(%rbp),%rax
  mov    %esi,%r8d
  lea    0x10(%rbp),%rsi
  mov    %rax,%rdi
  call   <adjust_range@plt>
  test   %eax,%eax
  je     L100
  mov    -0x44(%rbp),%edi
  lea    0x58(%rbp),%rcx
  lea    0x48(%rbp),%rdx
  lea    0x18(%rbp),%rsi
  lea    -0x6c(%rbp),%rax
  mov    %edi,%r8d
  mov    %rax,%rdi
  call   <adjust_range@plt>
  test   %eax,%eax
  jne    L14
L100:
  mov    $0x0,%eax
  jmp    L162
L14:
  mov    0x40(%rbp),%eax
  and    $0x1,%eax
  test   %eax,%eax
  jne    L40
  mov    0x48(%rbp),%eax
  and    $0x1,%eax
  test   %eax,%eax
  je     L10
L40:
  mov    $0xffffffff,%eax
  jmp    L162
L10:
  cmpl   $0x0,-0x64(%rbp)
  jle    L99
  cmpl   $0x0,0x38(%rbp)
  jg     L26
L99:
  mov    $0xffffffff,%eax
  jmp    L162
L26:
  mov    0x40(%rbp),%eax
  movslq %eax,%rdx
  mov    0x48(%rbp),%eax
  imul   0x38(%rbp),%eax
  cltq
  add    %rax,%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x38(%rbp)
  mov    -0x68(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x6c(%rbp),%eax
  imul   -0x64(%rbp),%eax
  cltq
  add    %rax,%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x30(%rbp)
  mov    $0x0,%ebx
  jmp    L71
L171:
  mov    0x10(%rbp),%edx
  mov    -0x38(%rbp),%rcx
  mov    -0x30(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <memcpy@plt>
  mov    0x38(%rbp),%eax
  cltq
  add    %rax,-0x38(%rbp)
  mov    -0x64(%rbp),%eax
  cltq
  add    %rax,-0x30(%rbp)
  add    $0x1,%ebx
L71:
  mov    0x18(%rbp),%eax
  cmp    %eax,%ebx
  jl     L171
  mov    0x30(%rbp),%eax
  imul   0x38(%rbp),%eax
  lea    0xf(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x4,%eax
  mov    %eax,-0x40(%rbp)
  mov    -0x60(%rbp),%eax
  imul   -0x64(%rbp),%eax
  lea    0x3(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x2,%eax
  mov    %eax,-0x3c(%rbp)
  mov    0x30(%rbp),%eax
  imul   0x38(%rbp),%eax
  movslq %eax,%rcx
  mov    0x40(%rbp),%eax
  lea    0x3(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x2,%eax
  cltq
  add    %rax,%rcx
  mov    0x48(%rbp),%eax
  lea    0x3(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x2,%eax
  imul   0x38(%rbp),%eax
  lea    0x3(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x2,%eax
  cltq
  lea    (%rcx,%rax,1),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x38(%rbp)
  mov    -0x60(%rbp),%eax
  imul   -0x64(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x68(%rbp),%eax
  mov    %eax,%ecx
  shr    $0x1f,%ecx
  add    %ecx,%eax
  sar    %eax
  cltq
  add    %rax,%rdx
  mov    -0x6c(%rbp),%eax
  mov    %eax,%ecx
  shr    $0x1f,%ecx
  add    %ecx,%eax
  sar    %eax
  imul   -0x64(%rbp),%eax
  mov    %eax,%ecx
  shr    $0x1f,%ecx
  add    %ecx,%eax
  sar    %eax
  cltq
  add    %rax,%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x30(%rbp)
  mov    0x48(%rbp),%eax
  and    $0x2,%eax
  test   %eax,%eax
  je     L6
  mov    0x10(%rbp),%ecx
  mov    0x40(%rbp),%edx
  mov    -0x38(%rbp),%rsi
  mov    -0x30(%rbp),%rax
  mov    %rax,%rdi
  call   <lineYVU9toI420@plt>
  mov    0x10(%rbp),%edx
  mov    0x40(%rbp),%eax
  mov    -0x40(%rbp),%ecx
  movslq %ecx,%rsi
  mov    -0x38(%rbp),%rcx
  add    %rcx,%rsi
  mov    -0x3c(%rbp),%ecx
  movslq %ecx,%rdi
  mov    -0x30(%rbp),%rcx
  add    %rcx,%rdi
  mov    %edx,%ecx
  mov    %eax,%edx
  call   <lineYVU9toI420@plt>
  mov    0x38(%rbp),%eax
  lea    0x3(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x2,%eax
  cltq
  add    %rax,-0x38(%rbp)
  mov    -0x64(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  cltq
  add    %rax,-0x30(%rbp)
  mov    0x18(%rbp),%eax
  sub    $0x2,%eax
  mov    %eax,0x18(%rbp)
L6:
  mov    $0x0,%ebx
  jmp    L95
L155:
  mov    0x10(%rbp),%ecx
  mov    0x40(%rbp),%edx
  mov    -0x38(%rbp),%rsi
  mov    -0x30(%rbp),%rax
  mov    %rax,%rdi
  call   <lineYVU9toI420@plt>
  mov    0x10(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,%edx
  mov    -0x64(%rbp),%eax
  mov    %eax,%ecx
  shr    $0x1f,%ecx
  add    %ecx,%eax
  sar    %eax
  movslq %eax,%rcx
  mov    -0x30(%rbp),%rax
  add    %rax,%rcx
  mov    -0x30(%rbp),%rax
  mov    %rax,%rsi
  mov    %rcx,%rdi
  call   <memcpy@plt>
  mov    0x10(%rbp),%edx
  mov    0x40(%rbp),%eax
  mov    -0x40(%rbp),%ecx
  movslq %ecx,%rsi
  mov    -0x38(%rbp),%rcx
  add    %rcx,%rsi
  mov    -0x3c(%rbp),%ecx
  movslq %ecx,%rdi
  mov    -0x30(%rbp),%rcx
  add    %rcx,%rdi
  mov    %edx,%ecx
  mov    %eax,%edx
  call   <lineYVU9toI420@plt>
  mov    0x10(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,%edx
  mov    -0x3c(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x30(%rbp),%rax
  add    %rax,%rcx
  mov    -0x64(%rbp),%eax
  mov    %eax,%esi
  shr    $0x1f,%esi
  add    %esi,%eax
  sar    %eax
  movslq %eax,%rsi
  mov    -0x3c(%rbp),%eax
  cltq
  add    %rax,%rsi
  mov    -0x30(%rbp),%rax
  add    %rsi,%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <memcpy@plt>
  mov    0x38(%rbp),%eax
  lea    0x3(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x2,%eax
  cltq
  add    %rax,-0x38(%rbp)
  mov    -0x64(%rbp),%eax
  cltq
  add    %rax,-0x30(%rbp)
  add    $0x1,%ebx
L95:
  mov    0x18(%rbp),%eax
  lea    0x3(%rax),%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  sar    $0x2,%eax
  cmp    %eax,%ebx
  jl     L155
  mov    0x18(%rbp),%eax
  and    $0x2,%eax
  test   %eax,%eax
  je     L86
  mov    0x10(%rbp),%ecx
  mov    0x40(%rbp),%edx
  mov    -0x38(%rbp),%rsi
  mov    -0x30(%rbp),%rax
  mov    %rax,%rdi
  call   <lineYVU9toI420@plt>
  mov    0x10(%rbp),%edx
  mov    0x40(%rbp),%eax
  mov    -0x40(%rbp),%ecx
  movslq %ecx,%rsi
  mov    -0x38(%rbp),%rcx
  add    %rcx,%rsi
  mov    -0x3c(%rbp),%ecx
  movslq %ecx,%rdi
  mov    -0x30(%rbp),%rcx
  add    %rcx,%rdi
  mov    %edx,%ecx
  mov    %eax,%edx
  call   <lineYVU9toI420@plt>
L86:
  mov    $0x0,%eax
L162:
  mov    -0x28(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L103
  call   <__stack_chk_fail@plt>
L103:
  lea    -0x20(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %rbp
  ret
```

assistant: ```c
int YVU9toI420(unsigned char *dest_ptr, int dest_width, int dest_height, int dest_pitch, int dest_x, int dest_y, int dest_dx, int dest_dy, unsigned char *src_ptr, int src_width, int src_height, int src_pitch, int src_x, int src_y, int src_dx, int src_dy) {
  int scale_x, scale_y;
  if (!chk_args(dest_ptr, dest_width, dest_height, dest_pitch, dest_x, dest_y, dest_dx, dest_dy, src_ptr, src_width, src_height, src_pitch, src_x, src_y, src_dx, src_dy, &scale_x, &scale_y))
    return -1;
  if (!adjust_range(&dest_x, &dest_dx, &src_x, &src_dx, scale_x) || !adjust_range(&dest_y, &dest_dy, &src_y, &src_dy, scale_y))
    return 0;
  if ((src_x & 1) || (src_y & 1))
    return -1;
  if (dest_pitch <= 0 || src_pitch <= 0)
    return -1;
  {
    unsigned char *s, *d;
    int src_uv_offs, dest_uv_offs;
    register int j;
    s = src_ptr + src_x + src_y * src_pitch;
    d = dest_ptr + dest_x + dest_y * dest_pitch;
    for (j = 0; j < dest_dy; j++) {
      memcpy(d, s, dest_dx);
      s += src_pitch;
      d += dest_pitch;
    }
    src_uv_offs = src_height * src_pitch / 16;
    dest_uv_offs = dest_height * dest_pitch / 4;
    s = (src_ptr + src_height * src_pitch) + src_x / 4 + src_y / 4 * src_pitch / 4;
    d = (dest_ptr + dest_height * dest_pitch) + dest_x / 2 + dest_y / 2 * dest_pitch / 2;
    if (src_y & 2) {
      lineYVU9toI420(d, s, src_x, dest_dx);
      lineYVU9toI420(d + dest_uv_offs, s + src_uv_offs, src_x, dest_dx);
      s += src_pitch / 4;
      d += dest_pitch / 2;
      dest_dy -= 2;
    }
    for (j = 0; j < dest_dy / 4; j++) {
      lineYVU9toI420(d, s, src_x, dest_dx);
      memcpy(d + dest_pitch / 2, d, dest_dx / 2);
      lineYVU9toI420(d + dest_uv_offs, s + src_uv_offs, src_x, dest_dx);
      memcpy(d + dest_pitch / 2 + dest_uv_offs, d + dest_uv_offs, dest_dx / 2);
      s += src_pitch / 4;
      d += dest_pitch;
    }
    if (dest_dy & 2) {
      lineYVU9toI420(d, s, src_x, dest_dx);
      lineYVU9toI420(d + dest_uv_offs, s + src_uv_offs, src_x, dest_dx);
    }
  }
  return 0;
}
```