user: What would the C source look like for the assembly code provided here:

```asm
<strip_scale_rgba>:
  endbr64
  test   %edx,%edx
  jle    L1
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %rdi,%rbp
  mov    %esi,%r14d
  mov    %rcx,%r13
  mov    %r8,%r12
  lea    -0x1(%rdx),%eax
  shr    $0x2,%eax
  lea    0x1(%rax),%eax
  mov    %eax,%eax
  lea    (%rcx,%rax,4),%r15
  mov    $0x0,%ebx
  jmp    L53
L83:
  movsd  (%rsp),%xmm6
  movsd  0x18(%rsp),%xmm7
  divsd  %xmm7,%xmm6
  movsd  %xmm6,(%rsp)
  movsd  0x8(%rsp),%xmm6
  divsd  %xmm7,%xmm6
  movsd  %xmm6,0x8(%rsp)
  movsd  0x10(%rsp),%xmm6
  divsd  %xmm7,%xmm6
  movsd  %xmm6,0x10(%rsp)
L50:
  movsd  (%rsp),%xmm0
  call   <linear_sample_to_srgb@plt>
  mov    %al,0x0(%r13)
  movsd  0x8(%rsp),%xmm0
  call   <linear_sample_to_srgb@plt>
  mov    %al,0x1(%r13)
  movsd  0x10(%rsp),%xmm0
  call   <linear_sample_to_srgb@plt>
  mov    %al,0x2(%r13)
  movsd  D9(%rip),%xmm0
  mulsd  0x18(%rsp),%xmm0
  call   <round@plt>
  mov    %al,0x3(%r13)
  add    $0x4,%r13
  add    $0x10,%rbx
  cmp    %r15,%r13
  je     L14
L53:
  test   %r14d,%r14d
  jle    L3
  lea    0x4(%rbx),%r8
  lea    0x8(%rbx),%rdi
  lea    0xc(%rbx),%rsi
  mov    %r14d,%ecx
  mov    $0x0,%eax
  pxor   %xmm2,%xmm2
  movsd  %xmm2,0x10(%rsp)
  movsd  %xmm2,(%rsp)
  movsd  %xmm2,0x8(%rsp)
L40:
  movss  (%r12,%rax,4),%xmm0
  mov    0x0(%rbp,%rax,8),%rdx
  movaps %xmm0,%xmm1
  mulss  (%rdx,%rbx,1),%xmm1
  cvtss2sd %xmm1,%xmm1
  addsd  (%rsp),%xmm1
  movsd  %xmm1,(%rsp)
  movaps %xmm0,%xmm1
  mulss  (%rdx,%r8,1),%xmm1
  cvtss2sd %xmm1,%xmm1
  addsd  0x8(%rsp),%xmm1
  movsd  %xmm1,0x8(%rsp)
  movaps %xmm0,%xmm1
  mulss  (%rdx,%rdi,1),%xmm1
  cvtss2sd %xmm1,%xmm1
  addsd  0x10(%rsp),%xmm1
  movsd  %xmm1,0x10(%rsp)
  mulss  (%rdx,%rsi,1),%xmm0
  cvtss2sd %xmm0,%xmm0
  addsd  %xmm0,%xmm2
  add    $0x1,%rax
  cmp    %rax,%rcx
  jne    L40
L42:
  movapd %xmm2,%xmm0
  call   <clampf@plt>
  movsd  %xmm0,0x18(%rsp)
  pxor   %xmm7,%xmm7
  ucomisd %xmm7,%xmm0
  jp     L83
  je     L50
  jmp    L83
L3:
  pxor   %xmm2,%xmm2
  movsd  %xmm2,0x10(%rsp)
  movsd  %xmm2,(%rsp)
  movsd  %xmm2,0x8(%rsp)
  jmp    L42
L14:
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L1:
  ret
```

tool_calls: name: parse_data
arguments: data_label: D9
data_type: byte[8]

tool: {"D9": [0x00,0x00,0x00,0x00,0x00,0xe0,0x6f,0x40]}

assistant: ```c
void strip_scale_rgba(float **in, int strip_height, int len, unsigned char *out, float *coeffs) {
  int i, j;
  double sum[4], alpha;
  for (i = 0; i < len; i += 4) {
    sum[0] = sum[1] = sum[2] = sum[3] = 0;
    for (j = 0; j < strip_height; j++) {
      sum[0] += coeffs[j] * in[j][i];
      sum[1] += coeffs[j] * in[j][i + 1];
      sum[2] += coeffs[j] * in[j][i + 2];
      sum[3] += coeffs[j] * in[j][i + 3];
    }
    alpha = clampf(sum[3]);
    if (alpha != 0) {
      sum[0] /= alpha;
      sum[1] /= alpha;
      sum[2] /= alpha;
    }
    out[0] = linear_sample_to_srgb(sum[0]);
    out[1] = linear_sample_to_srgb(sum[1]);
    out[2] = linear_sample_to_srgb(sum[2]);
    out[3] = round(alpha * 255.0f);
    out += 4;
  }
}
```