user: 下面的汇编指令对应的C源代码是什么:

```asm
<rgb_to_yuv>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x88,%rsp
  mov    %rdi,%r12
  mov    %rsi,0x40(%rsp)
  mov    %edx,%edi
  mov    %edx,0x60(%rsp)
  imul   %ecx,%edx
  movslq %edx,%rax
  lea    (%r12,%rax,1),%rsi
  mov    %rsi,0x50(%rsp)
  lea    0x3(%rdx),%eax
  test   %edx,%edx
  cmovns %edx,%eax
  sar    $0x2,%eax
  cltq
  add    %rsi,%rax
  mov    %rax,0x58(%rsp)
  test   %ecx,%ecx
  jle    L16
  lea    (%rdi,%rdi,2),%eax
  cltq
  mov    %rax,0x48(%rsp)
  sub    $0x1,%ecx
  and    $0xfffffffe,%ecx
  lea    0x2(%rcx),%eax
  mov    %eax,0x64(%rsp)
  lea    -0x1(%rdi),%eax
  shr    %eax
  lea    0x1(%rax),%ecx
  mov    %rcx,0x68(%rsp)
  lea    (%rcx,%rcx,1),%rax
  mov    %rax,0x70(%rsp)
  add    %rcx,%rax
  add    %rax,%rax
  mov    %rax,0x78(%rsp)
  movl   $0x0,0x3c(%rsp)
  movslq %edi,%r15
  jmp    L18
L26:
  mov    0x40(%rsp),%rbx
  mov    %rbx,%rbp
  add    0x48(%rsp),%rbp
  mov    0x70(%rsp),%rax
  add    %r12,%rax
  mov    %rax,0x30(%rsp)
  mov    0x58(%rsp),%r14
  mov    0x50(%rsp),%r13
L13:
  movzbl (%rbx),%eax
  pxor   %xmm2,%xmm2
  cvtsi2ss %eax,%xmm2
  movzbl 0x2(%rbx),%eax
  pxor   %xmm3,%xmm3
  cvtsi2ss %eax,%xmm3
  movzbl 0x1(%rbx),%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  mulss  D15(%rip),%xmm0
  movss  %xmm2,0x14(%rsp)
  movaps %xmm2,%xmm1
  mulss  D215(%rip),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm3,0x18(%rsp)
  movaps %xmm3,%xmm1
  mulss  D44(%rip),%xmm1
  movaps %xmm0,%xmm4
  addss  %xmm1,%xmm4
  movzbl 0x3(%rbx),%eax
  pxor   %xmm5,%xmm5
  cvtsi2ss %eax,%xmm5
  movzbl 0x5(%rbx),%eax
  pxor   %xmm7,%xmm7
  cvtsi2ss %eax,%xmm7
  movzbl 0x4(%rbx),%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  mulss  D15(%rip),%xmm0
  movss  %xmm5,0x1c(%rsp)
  movaps %xmm5,%xmm6
  mulss  D215(%rip),%xmm6
  addss  %xmm6,%xmm0
  movss  %xmm7,0x20(%rsp)
  movaps %xmm7,%xmm6
  mulss  D44(%rip),%xmm6
  addss  %xmm6,%xmm0
  movss  %xmm0,0x4(%rsp)
  movzbl 0x0(%rbp),%eax
  pxor   %xmm8,%xmm8
  cvtsi2ss %eax,%xmm8
  movzbl 0x2(%rbp),%eax
  pxor   %xmm10,%xmm10
  cvtsi2ss %eax,%xmm10
  movzbl 0x1(%rbp),%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  mulss  D15(%rip),%xmm0
  movss  %xmm8,0x24(%rsp)
  movaps %xmm8,%xmm9
  mulss  D215(%rip),%xmm9
  addss  %xmm9,%xmm0
  movss  %xmm10,0x28(%rsp)
  movaps %xmm10,%xmm11
  mulss  D44(%rip),%xmm11
  movaps %xmm0,%xmm12
  addss  %xmm11,%xmm12
  movss  %xmm12,0x8(%rsp)
  movzbl 0x3(%rbp),%eax
  pxor   %xmm13,%xmm13
  cvtsi2ss %eax,%xmm13
  movzbl 0x5(%rbp),%eax
  pxor   %xmm15,%xmm15
  cvtsi2ss %eax,%xmm15
  movzbl 0x4(%rbp),%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  mulss  D15(%rip),%xmm0
  movss  %xmm13,0x2c(%rsp)
  movaps %xmm13,%xmm14
  mulss  D215(%rip),%xmm14
  addss  %xmm14,%xmm0
  movss  %xmm15,0x38(%rsp)
  movaps %xmm15,%xmm9
  mulss  D44(%rip),%xmm9
  movaps %xmm0,%xmm14
  addss  %xmm9,%xmm14
  movss  %xmm14,0xc(%rsp)
  movss  %xmm4,0x10(%rsp)
  movaps %xmm4,%xmm0
  call   <cl255@plt>
  mov    %al,(%r12)
  movss  0x4(%rsp),%xmm0
  call   <cl255@plt>
  mov    %al,0x1(%r12)
  movss  0x8(%rsp),%xmm0
  call   <cl255@plt>
  mov    %al,(%r12,%r15,1)
  movss  0xc(%rsp),%xmm0
  call   <cl255@plt>
  mov    %al,0x1(%r12,%r15,1)
  movss  0x18(%rsp),%xmm3
  subss  0x10(%rsp),%xmm3
  movaps %xmm3,%xmm0
  mulss  D194(%rip),%xmm0
  movss  0x20(%rsp),%xmm7
  subss  0x4(%rsp),%xmm7
  movaps %xmm7,%xmm1
  mulss  D194(%rip),%xmm1
  addss  %xmm1,%xmm0
  movss  0x28(%rsp),%xmm10
  subss  0x8(%rsp),%xmm10
  movaps %xmm10,%xmm1
  mulss  D194(%rip),%xmm1
  addss  %xmm1,%xmm0
  movss  0x38(%rsp),%xmm15
  subss  0xc(%rsp),%xmm15
  movaps %xmm15,%xmm1
  mulss  D194(%rip),%xmm1
  addss  %xmm1,%xmm0
  mulss  D172(%rip),%xmm0
  addss  D85(%rip),%xmm0
  call   <cl255@plt>
  mov    %al,0x0(%r13)
  movss  0x14(%rsp),%xmm0
  subss  0x10(%rsp),%xmm0
  mulss  D194(%rip),%xmm0
  movss  0x1c(%rsp),%xmm1
  subss  0x4(%rsp),%xmm1
  mulss  D194(%rip),%xmm1
  addss  %xmm1,%xmm0
  movss  0x24(%rsp),%xmm1
  subss  0x8(%rsp),%xmm1
  mulss  D194(%rip),%xmm1
  addss  %xmm1,%xmm0
  movss  0x2c(%rsp),%xmm1
  subss  0xc(%rsp),%xmm1
  mulss  D194(%rip),%xmm1
  addss  %xmm1,%xmm0
  mulss  D172(%rip),%xmm0
  addss  D85(%rip),%xmm0
  call   <cl255@plt>
  mov    %al,(%r14)
  add    $0x2,%r12
  add    $0x1,%r13
  add    $0x1,%r14
  add    $0x6,%rbx
  add    $0x6,%rbp
  cmp    0x30(%rsp),%r12
  jne    L13
  mov    0x68(%rsp),%rsi
  add    %rsi,0x50(%rsp)
  add    %rsi,0x58(%rsp)
  mov    0x78(%rsp),%rcx
  add    %rcx,0x40(%rsp)
L22:
  mov    0x30(%rsp),%r12
  add    %r15,%r12
  mov    0x48(%rsp),%rdi
  add    %rdi,0x40(%rsp)
  addl   $0x2,0x3c(%rsp)
  mov    0x3c(%rsp),%eax
  cmp    0x64(%rsp),%eax
  je     L16
L18:
  cmpl   $0x0,0x60(%rsp)
  jg     L26
  mov    %r12,0x30(%rsp)
  jmp    L22
L16:
  add    $0x88,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D15
datatype: byte[4]
name: extract_symbolic_data
arguments: data_label: D215
datatype: byte[4]
name: extract_symbolic_data
arguments: data_label: D44
datatype: byte[4]
name: extract_symbolic_data
arguments: data_label: D194
datatype: byte[4]
name: extract_symbolic_data
arguments: data_label: D172
datatype: byte[4]
name: extract_symbolic_data
arguments: data_label: D85
datatype: byte[4]

tool: {"D15": [0xa2,0x45,0x16,0x3f]}

tool: {"D215": [0x87,0x16,0x99,0x3e]}

tool: {"D44": [0xd5,0x78,0xe9,0x3d]}

tool: {"D194": [0x6d,0xe7,0xfb,0x3e]}

tool: {"D172": [0x00,0x00,0x80,0x3e]}

tool: {"D85": [0x00,0x00,0x00,0x43]}

assistant: ```c
void rgb_to_yuv(unsigned char *oot, unsigned char const *d, int xs, int ys) {
  unsigned char *y = oot;
  unsigned char *u = y + xs * ys;
  unsigned char *v = u + xs * ys / 4;
  for (int r = 0; r < ys; r += 2) {
    for (int c = 0; c < xs; c += 2) {
      float y0 = d[0] * 0.299f + d[1] * 0.587f + d[2] * 0.114f;
      float u0 = 0.492f * (d[2] - y0);
      float v0 = 0.492f * (d[0] - y0);
      float y1 = d[3] * 0.299f + d[4] * 0.587f + d[5] * 0.114f;
      float u1 = 0.492f * (d[5] - y1);
      float v1 = 0.492f * (d[3] - y1);
      float y2 = d[xs * 3 + 0] * 0.299f + d[xs * 3 + 1] * 0.587f + d[xs * 3 + 2] * 0.114f;
      float u2 = 0.492f * (d[xs * 3 + 2] - y2);
      float v2 = 0.492f * (d[xs * 3 + 0] - y2);
      float y3 = d[xs * 3 + 3] * 0.299f + d[xs * 3 + 4] * 0.587f + d[xs * 3 + 5] * 0.114f;
      float u3 = 0.492f * (d[xs * 3 + 5] - y3);
      float v3 = 0.492f * (d[xs * 3 + 3] - y3);
      y[0] = cl255(y0);
      y[1] = cl255(y1);
      y[xs] = cl255(y2);
      y[xs + 1] = cl255(y3);
      u[0] = cl255((u0 + u1 + u2 + u3) * 0.25f + 128);
      v[0] = cl255((v0 + v1 + v2 + v3) * 0.25f + 128);
      y += 2;
      u += 1;
      v += 1;
      d += 6;
    }
    y += xs;
    d += xs * 3;
  }
}
```