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

```asm
<interpBC2_b>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x30,%rsp
  mov    %rdi,%r12
  mov    %esi,%ebx
  mov    %edx,%r14d
  movss  %xmm1,0x8(%rsp)
  mov    %rcx,%rbp
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  xor    %eax,%eax
  movss  %xmm0,0xc(%rsp)
  call   <ceilf@plt>
  lea    -0x2(%rax),%r13d
  test   %r13d,%r13d
  mov    $0x0,%eax
  cmovs  %eax,%r13d
  lea    0x4(%r13),%edx
  lea    -0x4(%rbx),%eax
  cmp    %ebx,%edx
  cmovge %eax,%r13d
  movss  0x8(%rsp),%xmm0
  call   <ceilf@plt>
  lea    -0x2(%rax),%edx
  test   %edx,%edx
  mov    $0x0,%eax
  cmovs  %eax,%edx
  lea    0x4(%rdx),%ecx
  lea    -0x4(%r14),%eax
  cmp    %r14d,%ecx
  cmovge %eax,%edx
  pxor   %xmm0,%xmm0
  cvtsi2ss %edx,%xmm0
  movss  0x8(%rsp),%xmm2
  subss  %xmm0,%xmm2
  pxor   %xmm0,%xmm0
  cvtss2sd %xmm2,%xmm0
  movsd  D38(%rip),%xmm13
  movapd %xmm0,%xmm3
  subsd  %xmm13,%xmm3
  movsd  D44(%rip),%xmm12
  mulsd  %xmm12,%xmm3
  mulsd  %xmm0,%xmm3
  movsd  D63(%rip),%xmm11
  subsd  %xmm11,%xmm3
  mulsd  %xmm0,%xmm3
  movsd  D6(%rip),%xmm10
  addsd  %xmm10,%xmm3
  cvtsd2ss %xmm3,%xmm3
  movss  D74(%rip),%xmm9
  subss  %xmm9,%xmm2
  pxor   %xmm1,%xmm1
  cvtss2sd %xmm2,%xmm1
  movsd  D81(%rip),%xmm0
  movapd %xmm1,%xmm5
  mulsd  %xmm0,%xmm5
  movsd  D16(%rip),%xmm15
  subsd  %xmm15,%xmm5
  mulsd  %xmm1,%xmm5
  mulsd  %xmm1,%xmm5
  movsd  D45(%rip),%xmm6
  addsd  %xmm6,%xmm5
  cvtsd2ss %xmm5,%xmm5
  movaps %xmm9,%xmm4
  subss  %xmm2,%xmm4
  movaps %xmm4,%xmm1
  pxor   %xmm2,%xmm2
  cvtss2sd %xmm4,%xmm2
  movapd %xmm2,%xmm4
  mulsd  %xmm0,%xmm4
  subsd  %xmm15,%xmm4
  mulsd  %xmm2,%xmm4
  mulsd  %xmm2,%xmm4
  addsd  %xmm6,%xmm4
  cvtsd2ss %xmm4,%xmm4
  addss  %xmm9,%xmm1
  cvtss2sd %xmm1,%xmm1
  movapd %xmm1,%xmm2
  subsd  %xmm13,%xmm2
  mulsd  %xmm12,%xmm2
  mulsd  %xmm1,%xmm2
  subsd  %xmm11,%xmm2
  mulsd  %xmm1,%xmm2
  addsd  %xmm10,%xmm2
  cvtsd2ss %xmm2,%xmm2
  pxor   %xmm7,%xmm7
  cvtsi2ss %r13d,%xmm7
  movss  0xc(%rsp),%xmm1
  subss  %xmm7,%xmm1
  pxor   %xmm7,%xmm7
  cvtss2sd %xmm1,%xmm7
  movapd %xmm7,%xmm8
  subsd  %xmm13,%xmm8
  mulsd  %xmm12,%xmm8
  mulsd  %xmm7,%xmm8
  subsd  %xmm11,%xmm8
  mulsd  %xmm7,%xmm8
  addsd  %xmm10,%xmm8
  cvtsd2ss %xmm8,%xmm8
  subss  %xmm9,%xmm1
  movaps %xmm1,%xmm14
  cvtss2sd %xmm1,%xmm1
  movapd %xmm1,%xmm7
  mulsd  %xmm0,%xmm7
  subsd  %xmm15,%xmm7
  mulsd  %xmm1,%xmm7
  mulsd  %xmm1,%xmm7
  addsd  %xmm6,%xmm7
  cvtsd2ss %xmm7,%xmm7
  movaps %xmm9,%xmm1
  subss  %xmm14,%xmm1
  pxor   %xmm14,%xmm14
  cvtss2sd %xmm1,%xmm14
  mulsd  %xmm14,%xmm0
  subsd  %xmm15,%xmm0
  mulsd  %xmm14,%xmm0
  mulsd  %xmm14,%xmm0
  addsd  %xmm6,%xmm0
  pxor   %xmm6,%xmm6
  cvtsd2ss %xmm0,%xmm6
  addss  %xmm9,%xmm1
  cvtss2sd %xmm1,%xmm1
  movapd %xmm1,%xmm0
  subsd  %xmm13,%xmm0
  mulsd  %xmm12,%xmm0
  mulsd  %xmm1,%xmm0
  subsd  %xmm11,%xmm0
  mulsd  %xmm1,%xmm0
  addsd  %xmm10,%xmm0
  pxor   %xmm9,%xmm9
  cvtsd2ss %xmm0,%xmm9
  imul   %ebx,%edx
  add    %r13d,%edx
  movslq %edx,%rdx
  lea    (%r12,%rdx,1),%rax
  lea    0x10(%rsp),%rcx
  lea    0x4(%r12,%rdx,1),%rdx
  movslq %ebx,%rbx
  lea    (%rbx,%rbx,2),%rsi
L37:
  movzbl (%rax),%edi
  pxor   %xmm0,%xmm0
  cvtsi2ss %edi,%xmm0
  mulss  %xmm3,%xmm0
  movzbl (%rax,%rbx,1),%edi
  pxor   %xmm1,%xmm1
  cvtsi2ss %edi,%xmm1
  mulss  %xmm5,%xmm1
  addss  %xmm1,%xmm0
  movzbl (%rax,%rbx,2),%edi
  pxor   %xmm1,%xmm1
  cvtsi2ss %edi,%xmm1
  mulss  %xmm4,%xmm1
  addss  %xmm1,%xmm0
  movzbl (%rax,%rsi,1),%edi
  pxor   %xmm1,%xmm1
  cvtsi2ss %edi,%xmm1
  mulss  %xmm2,%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,(%rcx)
  add    $0x1,%rax
  add    $0x4,%rcx
  cmp    %rdx,%rax
  jne    L37
  mulss  0x10(%rsp),%xmm8
  mulss  0x14(%rsp),%xmm7
  addss  %xmm8,%xmm7
  mulss  0x18(%rsp),%xmm6
  addss  %xmm7,%xmm6
  movaps %xmm9,%xmm0
  mulss  0x1c(%rsp),%xmm0
  addss  %xmm6,%xmm0
  pxor   %xmm1,%xmm1
  comiss %xmm0,%xmm1
  ja     L35
  comiss D28(%rip),%xmm0
  jbe    L28
  movss  D96(%rip),%xmm0
L28:
  cvttss2si %xmm0,%eax
  mov    %al,0x0(%rbp)
  mov    0x28(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L49
  mov    $0x0,%eax
  add    $0x30,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L35:
  pxor   %xmm0,%xmm0
  jmp    L28
L49:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: label: D38
type_infered: f64
name: read_data
arguments: label: D44
type_infered: f32[2]
name: read_data
arguments: label: D63
type_infered: f64
name: read_data
arguments: label: D6
type_infered: f64
name: read_data
arguments: label: D74
type_infered: f32
name: read_data
arguments: label: D81
type_infered: f64
name: read_data
arguments: label: D16
type_infered: f64
name: read_data
arguments: label: D45
type_infered: f32[2]
name: read_data
arguments: label: D28
type_infered: f32
name: read_data
arguments: label: D96
type_infered: f32

tool: D38: 5

tool: {"D44": [0.0,-1.8125]}

tool: D63: 6

tool: D6: 3

tool: D74: 1

tool: D81: 1.25

tool: D16: 2.25

tool: {"D45": [0.0,1.875]}

tool: D28: 256

tool: D96: 255

assistant: ```c
int interpBC2_b(unsigned char *sl, int w, int h, float x, float y, float o, unsigned char *v, int is_alpha) {
  int i, k, l, m, n;
  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.75 * (xx - 5.0) * xx - 6.0) * xx + 3.0;
  xx = xx - 1.0;
  wy[1] = (1.25 * xx - 2.25) * xx * xx + 1.0;
  xx = 1.0 - xx;
  wy[2] = (1.25 * xx - 2.25) * xx * xx + 1.0;
  xx = xx + 1.0;
  wy[3] = (-0.75 * (xx - 5.0) * xx - 6.0) * xx + 3.0;
  xx = x - m;
  wx[0] = (-0.75 * (xx - 5.0) * xx - 6.0) * xx + 3.0;
  xx = xx - 1.0;
  wx[1] = (1.25 * xx - 2.25) * xx * xx + 1.0;
  xx = 1.0 - xx;
  wx[2] = (1.25 * xx - 2.25) * xx * xx + 1.0;
  xx = xx + 1.0;
  wx[3] = (-0.75 * (xx - 5.0) * xx - 6.0) * xx + 3.0;
  k = n * w + m;
  for (i = 0; i < 4; i++) {
    p[i] = 0.0;
    l = k + i;
    p[i] = wy[0] * sl[l];
    l += w;
    p[i] += wy[1] * sl[l];
    l += w;
    p[i] += wy[2] * sl[l];
    l += w;
    p[i] += wy[3] * sl[l];
  }
  pp = wx[0] * p[0];
  pp += wx[1] * p[1];
  pp += wx[2] * p[2];
  pp += wx[3] * p[3];
  if (pp < 0.0)
    pp = 0.0;
  if (pp > 256.0)
    pp = 255.0;
  *v = pp;
  return 0;
}
```