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

```asm
<interpSP4_b32>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x50,%rsp
  mov    %rdi,%r12
  mov    %esi,%r13d
  mov    %edx,%r14d
  movss  %xmm1,0x8(%rsp)
  mov    %rcx,%rbx
  mov    %fs:0x28,%rax
  mov    %rax,0x48(%rsp)
  xor    %eax,%eax
  movss  %xmm0,0xc(%rsp)
  call   <ceilf@plt>
  lea    -0x2(%rax),%ebp
  test   %ebp,%ebp
  mov    $0x0,%eax
  cmovs  %eax,%ebp
  lea    0x4(%rbp),%edx
  lea    -0x4(%r13),%eax
  cmp    %r13d,%edx
  cmovge %eax,%ebp
  movss  0x8(%rsp),%xmm0
  call   <ceilf@plt>
  sub    $0x2,%eax
  mov    $0x0,%edx
  cmovs  %edx,%eax
  lea    0x4(%rax),%ecx
  lea    -0x4(%r14),%edx
  cmp    %r14d,%ecx
  cmovge %edx,%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  movss  0x8(%rsp),%xmm9
  subss  %xmm0,%xmm9
  pxor   %xmm5,%xmm5
  cvtss2sd %xmm9,%xmm5
  movsd  D18(%rip),%xmm3
  subsd  %xmm3,%xmm5
  movsd  D31(%rip),%xmm0
  movapd %xmm5,%xmm1
  mulsd  %xmm0,%xmm1
  movsd  D83(%rip),%xmm4
  addsd  %xmm4,%xmm1
  mulsd  %xmm5,%xmm1
  movsd  D73(%rip),%xmm2
  subsd  %xmm2,%xmm1
  mulsd  %xmm5,%xmm1
  cvtsd2ss %xmm1,%xmm1
  movss  %xmm1,0x30(%rsp)
  movss  D53(%rip),%xmm5
  subss  %xmm5,%xmm9
  pxor   %xmm8,%xmm8
  cvtss2sd %xmm9,%xmm8
  movsd  D16(%rip),%xmm7
  movapd %xmm8,%xmm1
  subsd  %xmm7,%xmm1
  mulsd  %xmm8,%xmm1
  movsd  D6(%rip),%xmm6
  subsd  %xmm6,%xmm1
  mulsd  %xmm8,%xmm1
  addsd  %xmm3,%xmm1
  cvtsd2ss %xmm1,%xmm1
  movss  %xmm1,0x34(%rsp)
  movaps %xmm5,%xmm8
  subss  %xmm9,%xmm8
  pxor   %xmm9,%xmm9
  cvtss2sd %xmm8,%xmm9
  movapd %xmm9,%xmm1
  subsd  %xmm7,%xmm1
  mulsd  %xmm9,%xmm1
  subsd  %xmm6,%xmm1
  mulsd  %xmm9,%xmm1
  addsd  %xmm3,%xmm1
  cvtsd2ss %xmm1,%xmm1
  movss  %xmm1,0x38(%rsp)
  addss  %xmm5,%xmm8
  cvtss2sd %xmm8,%xmm8
  subsd  %xmm3,%xmm8
  movapd %xmm8,%xmm1
  mulsd  %xmm0,%xmm1
  addsd  %xmm4,%xmm1
  mulsd  %xmm8,%xmm1
  subsd  %xmm2,%xmm1
  mulsd  %xmm8,%xmm1
  cvtsd2ss %xmm1,%xmm1
  movss  %xmm1,0x3c(%rsp)
  pxor   %xmm1,%xmm1
  cvtsi2ss %ebp,%xmm1
  movss  0xc(%rsp),%xmm9
  subss  %xmm1,%xmm9
  pxor   %xmm8,%xmm8
  cvtss2sd %xmm9,%xmm8
  subsd  %xmm3,%xmm8
  movapd %xmm8,%xmm1
  mulsd  %xmm0,%xmm1
  addsd  %xmm4,%xmm1
  mulsd  %xmm8,%xmm1
  subsd  %xmm2,%xmm1
  mulsd  %xmm8,%xmm1
  cvtsd2ss %xmm1,%xmm1
  movss  %xmm1,0x20(%rsp)
  subss  %xmm5,%xmm9
  pxor   %xmm8,%xmm8
  cvtss2sd %xmm9,%xmm8
  movapd %xmm8,%xmm1
  subsd  %xmm7,%xmm1
  mulsd  %xmm8,%xmm1
  subsd  %xmm6,%xmm1
  mulsd  %xmm8,%xmm1
  addsd  %xmm3,%xmm1
  cvtsd2ss %xmm1,%xmm1
  movss  %xmm1,0x24(%rsp)
  movaps %xmm5,%xmm8
  subss  %xmm9,%xmm8
  pxor   %xmm9,%xmm9
  cvtss2sd %xmm8,%xmm9
  movapd %xmm9,%xmm1
  subsd  %xmm7,%xmm1
  mulsd  %xmm9,%xmm1
  subsd  %xmm6,%xmm1
  mulsd  %xmm9,%xmm1
  addsd  %xmm3,%xmm1
  cvtsd2ss %xmm1,%xmm1
  movss  %xmm1,0x28(%rsp)
  addss  %xmm5,%xmm8
  pxor   %xmm1,%xmm1
  cvtss2sd %xmm8,%xmm1
  subsd  %xmm3,%xmm1
  mulsd  %xmm1,%xmm0
  addsd  %xmm4,%xmm0
  mulsd  %xmm1,%xmm0
  subsd  %xmm2,%xmm0
  mulsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,0x2c(%rsp)
  imul   %r13d,%eax
  add    %ebp,%eax
  cltq
  lea    (%r12,%rax,4),%r12
  lea    0x0(,%r13,4),%esi
  movslq %esi,%rsi
  mov    $0x0,%r11d
  lea    0x40(%rsp),%rdi
  lea    0x10(%rsp),%rbp
  pxor   %xmm2,%xmm2
  jmp    L20
L86:
  pxor   %xmm1,%xmm1
L9:
  cvttss2si %xmm1,%eax
  mov    %al,(%rbx,%r11,1)
  add    $0x1,%r11
  cmp    $0x4,%r11
  je     L26
L20:
  lea    0x10(%rsp),%r10
  lea    (%r11,%r12,1),%r9
  mov    $0x0,%r8d
L3:
  mov    %r10,%r13
  lea    0x30(%rsp),%rax
  mov    %r9,%rdx
  pxor   %xmm1,%xmm1
L12:
  movzbl (%rdx),%ecx
  pxor   %xmm0,%xmm0
  cvtsi2ss %ecx,%xmm0
  mulss  (%rax),%xmm0
  addss  %xmm0,%xmm1
  add    $0x4,%rax
  add    %rsi,%rdx
  cmp    %rdi,%rax
  jne    L12
  movss  %xmm1,0x0(%r13)
  add    $0x1,%r8d
  add    $0x4,%r10
  add    $0x4,%r9
  cmp    $0x4,%r8d
  jne    L3
  mov    $0x0,%eax
  pxor   %xmm1,%xmm1
L18:
  movss  0x20(%rsp,%rax,1),%xmm0
  mulss  (%rax,%rbp,1),%xmm0
  addss  %xmm0,%xmm1
  add    $0x4,%rax
  cmp    $0x10,%rax
  jne    L18
  comiss %xmm1,%xmm2
  ja     L86
  comiss D56(%rip),%xmm1
  jbe    L9
  movss  D23(%rip),%xmm1
  jmp    L9
L26:
  mov    0x48(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L19
  mov    $0x0,%eax
  add    $0x50,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L19:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: label: D18
type_infered: f64
name: parse_data
arguments: label: D31
type_infered: byte[8]
name: parse_data
arguments: label: D83
type_infered: f64
name: parse_data
arguments: label: D73
type_infered: f64
name: parse_data
arguments: label: D53
type_infered: byte[4]
name: parse_data
arguments: label: D16
type_infered: f64
name: parse_data
arguments: label: D6
type_infered: f64
name: parse_data
arguments: label: D56
type_infered: f32
name: parse_data
arguments: label: D23
type_infered: f32

tool: D18: 1

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

tool: D83: 0.8

tool: D73: 0.466667

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

tool: D16: 1.8

tool: D6: 0.2

tool: D56: 256

tool: D23: 255

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;
}
```