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

```asm
<interpSP4_b32>:
  endbr64
  push   %r15
  mov    %esi,%r15d
  push   %r14
  push   %r13
  mov    %edx,%r13d
  push   %r12
  movd   %xmm1,%r12d
  push   %rbp
  push   %rbx
  mov    %rdi,%rbx
  sub    $0x48,%rsp
  mov    %rcx,0x8(%rsp)
  movss  %xmm0,0x10(%rsp)
  call   <ceilf@plt>
  movd   %r12d,%xmm0
  lea    -0x2(%rax),%ebp
  xor    %eax,%eax
  test   %ebp,%ebp
  cmovs  %eax,%ebp
  lea    -0x4(%r15),%eax
  lea    0x4(%rbp),%edx
  cmp    %r15d,%edx
  cmovge %eax,%ebp
  call   <ceilf@plt>
  mov    $0x0,%edx
  pxor   %xmm0,%xmm0
  movsd  D61(%rip),%xmm11
  sub    $0x2,%eax
  movd   %r12d,%xmm1
  pxor   %xmm2,%xmm2
  movsd  D62(%rip),%xmm6
  cmovs  %edx,%eax
  lea    -0x4(%r13),%edx
  movsd  D33(%rip),%xmm10
  movss  D25(%rip),%xmm12
  movss  0x10(%rsp),%xmm5
  pxor   %xmm8,%xmm8
  pxor   %xmm15,%xmm15
  movsd  D78(%rip),%xmm14
  movsd  D18(%rip),%xmm13
  lea    0x4(%rax),%ecx
  movaps %xmm12,%xmm7
  cmp    %r13d,%ecx
  cmovge %edx,%eax
  cvtsi2ss %eax,%xmm0
  imul   %r15d,%eax
  subss  %xmm0,%xmm1
  movsd  D46(%rip),%xmm0
  lea    (%r15,%rax,1),%r14d
  lea    (%r15,%r14,1),%r13d
  lea    0x0(%rbp,%rax,1),%r12d
  lea    (%r15,%r13,1),%edx
  lea    0x2(%rbp,%rax,1),%r15d
  shl    $0x2,%r12d
  cvtss2sd %xmm1,%xmm2
  subsd  %xmm11,%xmm2
  subss  %xmm12,%xmm1
  shl    $0x2,%r15d
  mov    %r15d,0x10(%rsp)
  lea    0x1(%rbp,%rax,1),%r8d
  lea    0x2(%rbp,%r14,1),%r15d
  movslq %r12d,%r12
  lea    0x3(%rbp,%rax,1),%eax
  shl    $0x2,%r15d
  lea    0x0(%rbp,%r14,1),%r11d
  add    %rbx,%r12
  movapd %xmm2,%xmm4
  subss  %xmm1,%xmm7
  shl    $0x2,%eax
  mov    %r15d,0x18(%rsp)
  mulsd  %xmm0,%xmm4
  mov    %eax,0x30(%rsp)
  lea    0x2(%rbp,%r13,1),%r15d
  lea    0x3(%rbp,%r14,1),%eax
  shl    $0x2,%r15d
  shl    $0x2,%eax
  lea    0x0(%rbp,%r13,1),%r10d
  lea    0x1(%rbp,%rdx,1),%ecx
  lea    0x0(%rbp,%rdx,1),%r9d
  mov    %eax,0x3c(%rsp)
  shl    $0x2,%ecx
  shl    $0x2,%r11d
  mov    %r15d,0x20(%rsp)
  lea    0x1(%rbp,%r14,1),%edi
  lea    0x1(%rbp,%r13,1),%esi
  movslq 0x18(%rsp),%r14
  lea    0x2(%rbp,%rdx,1),%r15d
  lea    0x3(%rbp,%r13,1),%eax
  shl    $0x2,%edi
  shl    $0x2,%esi
  addsd  %xmm6,%xmm4
  shl    $0x2,%eax
  movslq 0x10(%rsp),%r13
  shl    $0x2,%r10d
  cltq
  shl    $0x2,%r9d
  movslq %ecx,%rcx
  movslq %r11d,%r11
  shl    $0x2,%r8d
  shl    $0x2,%r15d
  movslq %r10d,%r10
  movslq %r9d,%r9
  mulsd  %xmm2,%xmm4
  movslq %r8d,%r8
  movslq %edi,%rdi
  movslq %esi,%rsi
  movslq %r15d,%r15
  add    %rbx,%r11
  add    %rbx,%r10
  add    %rbx,%r9
  add    %rbx,%r8
  add    %rbx,%rdi
  add    %rbx,%rsi
  add    %rbx,%r13
  add    %rbx,%r14
  subsd  %xmm10,%xmm4
  mulsd  %xmm2,%xmm4
  pxor   %xmm2,%xmm2
  cvtss2sd %xmm1,%xmm2
  movapd %xmm2,%xmm3
  pxor   %xmm1,%xmm1
  subsd  %xmm14,%xmm3
  cvtss2sd %xmm7,%xmm1
  addss  %xmm12,%xmm7
  mulsd  %xmm2,%xmm3
  cvtss2sd %xmm7,%xmm7
  subsd  %xmm11,%xmm7
  cvtsd2ss %xmm4,%xmm4
  subsd  %xmm13,%xmm3
  mulsd  %xmm2,%xmm3
  movapd %xmm1,%xmm2
  subsd  %xmm14,%xmm2
  mulsd  %xmm1,%xmm2
  addsd  %xmm11,%xmm3
  cvtsd2ss %xmm3,%xmm3
  subsd  %xmm13,%xmm2
  mulsd  %xmm1,%xmm2
  movapd %xmm7,%xmm1
  mulsd  %xmm0,%xmm1
  addsd  %xmm11,%xmm2
  addsd  %xmm6,%xmm1
  cvtsd2ss %xmm2,%xmm2
  mulsd  %xmm7,%xmm1
  subsd  %xmm10,%xmm1
  mulsd  %xmm7,%xmm1
  pxor   %xmm7,%xmm7
  cvtsi2ss %ebp,%xmm7
  lea    0x3(%rbp,%rdx,1),%ebp
  movslq 0x20(%rsp),%rdx
  shl    $0x2,%ebp
  mov    %rdx,0x28(%rsp)
  movslq 0x30(%rsp),%rdx
  movslq %ebp,%rbp
  mov    %rax,0x30(%rsp)
  subss  %xmm7,%xmm5
  mov    %rdx,0x18(%rsp)
  movslq 0x3c(%rsp),%rdx
  cvtsd2ss %xmm1,%xmm1
  mov    %rdx,0x20(%rsp)
  lea    (%rbx,%rcx,1),%rdx
  cvtss2sd %xmm5,%xmm8
  subsd  %xmm11,%xmm8
  movaps %xmm5,%xmm7
  pxor   %xmm5,%xmm5
  subss  %xmm12,%xmm7
  mov    %rdx,0x10(%rsp)
  xor    %edx,%edx
  movapd %xmm8,%xmm9
  mulsd  %xmm0,%xmm9
  cvtss2sd %xmm7,%xmm5
  addsd  %xmm6,%xmm9
  mulsd  %xmm8,%xmm9
  subsd  %xmm10,%xmm9
  mulsd  %xmm8,%xmm9
  movapd %xmm5,%xmm8
  subsd  %xmm14,%xmm8
  mulsd  %xmm5,%xmm8
  cvtsd2ss %xmm9,%xmm9
  subsd  %xmm13,%xmm8
  mulsd  %xmm5,%xmm8
  movaps %xmm12,%xmm5
  subss  %xmm7,%xmm5
  cvtss2sd %xmm5,%xmm15
  addss  %xmm12,%xmm5
  movapd %xmm15,%xmm7
  subsd  %xmm14,%xmm7
  addsd  %xmm11,%xmm8
  cvtss2sd %xmm5,%xmm5
  subsd  %xmm11,%xmm5
  mulsd  %xmm15,%xmm7
  cvtsd2ss %xmm8,%xmm8
  mulsd  %xmm5,%xmm0
  subsd  %xmm13,%xmm7
  addsd  %xmm0,%xmm6
  mulsd  %xmm15,%xmm7
  mulsd  %xmm5,%xmm6
  addsd  %xmm11,%xmm7
  subsd  %xmm10,%xmm6
  cvtsd2ss %xmm7,%xmm7
  mulsd  %xmm5,%xmm6
  pxor   %xmm5,%xmm5
  cvtsd2ss %xmm6,%xmm6
L4:
  movzbl (%r12,%rdx,1),%ecx
  pxor   %xmm10,%xmm10
  pxor   %xmm0,%xmm0
  pxor   %xmm11,%xmm11
  mov    0x30(%rsp),%rax
  cvtsi2ss %ecx,%xmm10
  movzbl (%r11,%rdx,1),%ecx
  cvtsi2ss %ecx,%xmm0
  movzbl (%r10,%rdx,1),%ecx
  mulss  %xmm4,%xmm10
  mulss  %xmm3,%xmm0
  addss  %xmm5,%xmm10
  addss  %xmm0,%xmm10
  pxor   %xmm0,%xmm0
  cvtsi2ss %ecx,%xmm0
  movzbl (%r9,%rdx,1),%ecx
  mulss  %xmm2,%xmm0
  addss  %xmm0,%xmm10
  pxor   %xmm0,%xmm0
  cvtsi2ss %ecx,%xmm0
  movzbl (%r8,%rdx,1),%ecx
  mulss  %xmm1,%xmm0
  addss  %xmm0,%xmm10
  pxor   %xmm0,%xmm0
  cvtsi2ss %ecx,%xmm0
  movzbl (%rdi,%rdx,1),%ecx
  cvtsi2ss %ecx,%xmm11
  movzbl (%rsi,%rdx,1),%ecx
  mulss  %xmm9,%xmm10
  mulss  %xmm4,%xmm0
  mulss  %xmm3,%xmm11
  addss  %xmm5,%xmm10
  addss  %xmm5,%xmm0
  addss  %xmm11,%xmm0
  pxor   %xmm11,%xmm11
  cvtsi2ss %ecx,%xmm11
  mov    0x10(%rsp),%rcx
  movzbl (%rcx,%rdx,1),%ecx
  mulss  %xmm2,%xmm11
  addss  %xmm11,%xmm0
  pxor   %xmm11,%xmm11
  cvtsi2ss %ecx,%xmm11
  movzbl 0x0(%r13,%rdx,1),%ecx
  mulss  %xmm1,%xmm11
  addss  %xmm11,%xmm0
  pxor   %xmm11,%xmm11
  mulss  %xmm8,%xmm0
  addss  %xmm10,%xmm0
  pxor   %xmm10,%xmm10
  cvtsi2ss %ecx,%xmm10
  movzbl (%r14,%rdx,1),%ecx
  cvtsi2ss %ecx,%xmm11
  mov    0x28(%rsp),%rcx
  mulss  %xmm4,%xmm10
  add    %rbx,%rcx
  movzbl (%rcx,%rdx,1),%ecx
  mulss  %xmm3,%xmm11
  addss  %xmm5,%xmm10
  addss  %xmm11,%xmm10
  pxor   %xmm11,%xmm11
  cvtsi2ss %ecx,%xmm11
  lea    (%rbx,%r15,1),%rcx
  movzbl (%rcx,%rdx,1),%ecx
  mulss  %xmm2,%xmm11
  addss  %xmm11,%xmm10
  pxor   %xmm11,%xmm11
  cvtsi2ss %ecx,%xmm11
  mov    0x18(%rsp),%rcx
  add    %rbx,%rcx
  movzbl (%rcx,%rdx,1),%ecx
  mulss  %xmm1,%xmm11
  addss  %xmm11,%xmm10
  pxor   %xmm11,%xmm11
  mulss  %xmm7,%xmm10
  addss  %xmm0,%xmm10
  pxor   %xmm0,%xmm0
  cvtsi2ss %ecx,%xmm0
  mov    0x20(%rsp),%rcx
  add    %rbx,%rcx
  movzbl (%rcx,%rdx,1),%ecx
  mulss  %xmm4,%xmm0
  cvtsi2ss %ecx,%xmm11
  lea    (%rbx,%rax,1),%rcx
  movzbl (%rcx,%rdx,1),%ecx
  mulss  %xmm3,%xmm11
  addss  %xmm5,%xmm0
  addss  %xmm11,%xmm0
  pxor   %xmm11,%xmm11
  cvtsi2ss %ecx,%xmm11
  lea    (%rbx,%rbp,1),%rcx
  movzbl (%rcx,%rdx,1),%ecx
  mulss  %xmm2,%xmm11
  addss  %xmm11,%xmm0
  pxor   %xmm11,%xmm11
  cvtsi2ss %ecx,%xmm11
  xor    %ecx,%ecx
  mulss  %xmm1,%xmm11
  addss  %xmm11,%xmm0
  mulss  %xmm6,%xmm0
  addss  %xmm10,%xmm0
  comiss %xmm0,%xmm5
  ja     L26
  comiss D65(%rip),%xmm0
  mov    $0xffffffff,%ecx
  jbe    L9
L26:
  mov    0x8(%rsp),%rax
  mov    %cl,(%rax,%rdx,1)
  add    $0x1,%rdx
  cmp    $0x4,%rdx
  jne    L4
  add    $0x48,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L9:
  cvttss2si %xmm0,%ecx
  jmp    L26
```

tool_calls: name: parse_data
arguments: data_label: D61
type: f64
name: parse_data
arguments: data_label: D62
type: f64
name: parse_data
arguments: data_label: D33
type: f64
name: parse_data
arguments: data_label: D25
type: byte[4]
name: parse_data
arguments: data_label: D78
type: f64
name: parse_data
arguments: data_label: D18
type: f64
name: parse_data
arguments: data_label: D46
type: byte[8]
name: parse_data
arguments: data_label: D65
type: f32

tool: D61: 1

tool: D62: 0.8

tool: D33: 0.466667

tool: {"D25": [0x00,0x00,0x80,0x3f]}

tool: D78: 1.8

tool: D18: 0.2

tool: {"D46": [0x46,0x5d,0x6b,0xef,0x53,0x55,0xd5,0xbf]}

tool: D65: 256

assistant: ```c
int interpSP4_b32(unsigned char *sl, int w, int h, float x, float y, float o, unsigned char *v, int is_alpha) {
  int i, j, m, n, b;
  float pp, p[4], wx[4], wy[4], xx;
  m = (int)ceilf(x) - 2;
  if (m < 0)
    m = 0;
  if ((m + 5) > w)
    m = w - 4;
  n = (int)ceilf(y) - 2;
  if (n < 0)
    n = 0;
  if ((n + 5) > h)
    n = h - 4;
  xx = y - n;
  wy[0] = ((-0.333333 * (xx - 1.0) + 0.8) * (xx - 1.0) - 0.466667) * (xx - 1.0);
  xx = xx - 1.0;
  wy[1] = ((xx - 1.8) * xx - 0.2) * xx + 1.0;
  xx = 1.0 - xx;
  wy[2] = ((xx - 1.8) * xx - 0.2) * xx + 1.0;
  xx = xx + 1.0;
  wy[3] = ((-0.333333 * (xx - 1.0) + 0.8) * (xx - 1.0) - 0.466667) * (xx - 1.0);
  xx = x - m;
  wx[0] = ((-0.333333 * (xx - 1.0) + 0.8) * (xx - 1.0) - 0.466667) * (xx - 1.0);
  xx = xx - 1.0;
  wx[1] = ((xx - 1.8) * xx - 0.2) * xx + 1.0;
  xx = 1.0 - xx;
  wx[2] = ((xx - 1.8) * xx - 0.2) * xx + 1.0;
  xx = xx + 1.0;
  wx[3] = ((-0.333333 * (xx - 1.0) + 0.8) * (xx - 1.0) - 0.466667) * (xx - 1.0);
  for (b = 0; b < 4; b++) {
    for (i = 0; i < 4; i++) {
      p[i] = 0.0;
      for (j = 0; j < 4; j++) {
        p[i] = p[i] + wy[j] * sl[4 * ((j + n) * w + i + m) + b];
      }
    }
    pp = 0.0;
    for (i = 0; i < 4; i++)
      pp = pp + wx[i] * p[i];
    if (pp < 0.0)
      pp = 0.0;
    if (pp > 256.0)
      pp = 255.0;
    v[b] = pp;
  }
  return 0;
}
```