user: Translate the below assembly code into C programming language:

```asm
<interpBC2_b>:
  endbr64
  push   %r15
  movd   %xmm1,%r15d
  push   %r14
  mov    %edx,%r14d
  push   %r13
  push   %r12
  movslq %esi,%r12
  push   %rbp
  mov    %rdi,%rbp
  push   %rbx
  mov    %rcx,%rbx
  sub    $0x38,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  xor    %eax,%eax
  movss  %xmm0,0xc(%rsp)
  call   <ceilf@plt>
  movd   %r15d,%xmm0
  lea    -0x2(%rax),%r13d
  xor    %eax,%eax
  test   %r13d,%r13d
  cmovs  %eax,%r13d
  lea    -0x4(%r12),%eax
  lea    0x4(%r13),%edx
  cmp    %r12d,%edx
  cmovge %eax,%r13d
  call   <ceilf@plt>
  pxor   %xmm0,%xmm0
  movd   %r15d,%xmm2
  movsd  D70(%rip),%xmm12
  lea    -0x2(%rax),%edx
  xor    %eax,%eax
  movsd  D54(%rip),%xmm11
  movsd  D87(%rip),%xmm10
  test   %edx,%edx
  pxor   %xmm1,%xmm1
  movss  0xc(%rsp),%xmm7
  lea    (%r12,%r12,2),%rsi
  cmovs  %eax,%edx
  lea    -0x4(%r14),%eax
  movss  D27(%rip),%xmm8
  movsd  D82(%rip),%xmm15
  movsd  D75(%rip),%xmm6
  movsd  D31(%rip),%xmm9
  lea    0x4(%rdx),%ecx
  cmp    %r14d,%ecx
  lea    0x10(%rsp),%rcx
  cmovge %eax,%edx
  cvtsi2ss %edx,%xmm0
  imul   %r12d,%edx
  subss  %xmm0,%xmm2
  pxor   %xmm0,%xmm0
  add    %r13d,%edx
  movslq %edx,%rdx
  lea    0x0(%rbp,%rdx,1),%rax
  lea    0x4(%rbp,%rdx,1),%rdx
  cvtss2sd %xmm2,%xmm0
  movapd %xmm0,%xmm3
  subss  %xmm8,%xmm2
  subsd  %xmm12,%xmm3
  cvtss2sd %xmm2,%xmm1
  movapd %xmm1,%xmm5
  mulsd  %xmm11,%xmm3
  mulsd  %xmm0,%xmm3
  subsd  %xmm10,%xmm3
  mulsd  %xmm0,%xmm3
  movsd  D0(%rip),%xmm0
  mulsd  %xmm0,%xmm5
  addsd  %xmm9,%xmm3
  subsd  %xmm15,%xmm5
  cvtsd2ss %xmm3,%xmm3
  mulsd  %xmm1,%xmm5
  mulsd  %xmm1,%xmm5
  movaps %xmm8,%xmm1
  subss  %xmm2,%xmm1
  pxor   %xmm2,%xmm2
  cvtss2sd %xmm1,%xmm2
  movapd %xmm2,%xmm4
  addss  %xmm8,%xmm1
  mulsd  %xmm0,%xmm4
  addsd  %xmm6,%xmm5
  cvtss2sd %xmm1,%xmm1
  cvtsd2ss %xmm5,%xmm5
  subsd  %xmm15,%xmm4
  mulsd  %xmm2,%xmm4
  mulsd  %xmm2,%xmm4
  movapd %xmm1,%xmm2
  subsd  %xmm12,%xmm2
  mulsd  %xmm11,%xmm2
  addsd  %xmm6,%xmm4
  cvtsd2ss %xmm4,%xmm4
  mulsd  %xmm1,%xmm2
  subsd  %xmm10,%xmm2
  mulsd  %xmm1,%xmm2
  pxor   %xmm1,%xmm1
  cvtsi2ss %r13d,%xmm1
  subss  %xmm1,%xmm7
  pxor   %xmm1,%xmm1
  addsd  %xmm9,%xmm2
  cvtss2sd %xmm7,%xmm1
  movapd %xmm1,%xmm13
  subss  %xmm8,%xmm7
  cvtsd2ss %xmm2,%xmm2
  subsd  %xmm12,%xmm13
  movaps %xmm7,%xmm14
  mulsd  %xmm11,%xmm13
  mulsd  %xmm1,%xmm13
  subsd  %xmm10,%xmm13
  mulsd  %xmm1,%xmm13
  pxor   %xmm1,%xmm1
  cvtss2sd %xmm7,%xmm1
  movapd %xmm1,%xmm7
  mulsd  %xmm0,%xmm7
  addsd  %xmm9,%xmm13
  subsd  %xmm15,%xmm7
  cvtsd2ss %xmm13,%xmm13
  mulsd  %xmm1,%xmm7
  mulsd  %xmm1,%xmm7
  movaps %xmm8,%xmm1
  subss  %xmm14,%xmm1
  pxor   %xmm14,%xmm14
  cvtss2sd %xmm1,%xmm14
  mulsd  %xmm14,%xmm0
  addss  %xmm8,%xmm1
  pxor   %xmm8,%xmm8
  addsd  %xmm6,%xmm7
  cvtss2sd %xmm1,%xmm1
  cvtsd2ss %xmm7,%xmm7
  subsd  %xmm15,%xmm0
  mulsd  %xmm14,%xmm0
  mulsd  %xmm14,%xmm0
  addsd  %xmm0,%xmm6
  movapd %xmm1,%xmm0
  subsd  %xmm12,%xmm0
  cvtsd2ss %xmm6,%xmm6
  mulsd  %xmm11,%xmm0
  mulsd  %xmm1,%xmm0
  subsd  %xmm10,%xmm0
  mulsd  %xmm1,%xmm0
  addsd  %xmm9,%xmm0
  cvtsd2ss %xmm0,%xmm8
L20:
  movzbl (%rax),%edi
  pxor   %xmm0,%xmm0
  pxor   %xmm1,%xmm1
  add    $0x4,%rcx
  cvtsi2ss %edi,%xmm0
  movzbl (%rax,%r12,1),%edi
  cvtsi2ss %edi,%xmm1
  movzbl (%rax,%r12,2),%edi
  add    $0x1,%rax
  mulss  %xmm3,%xmm0
  mulss  %xmm5,%xmm1
  addss  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2ss %edi,%xmm1
  movzbl -0x1(%rax,%rsi,1),%edi
  mulss  %xmm4,%xmm1
  addss  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2ss %edi,%xmm1
  mulss  %xmm2,%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x4(%rcx)
  cmp    %rax,%rdx
  jne    L20
  mulss  0x10(%rsp),%xmm13
  pxor   %xmm0,%xmm0
  xor    %eax,%eax
  mulss  0x14(%rsp),%xmm7
  mulss  0x18(%rsp),%xmm6
  mulss  0x1c(%rsp),%xmm8
  addss  %xmm13,%xmm7
  addss  %xmm7,%xmm6
  addss  %xmm6,%xmm8
  comiss %xmm8,%xmm0
  ja     L0
  comiss D29(%rip),%xmm8
  mov    $0xffffffff,%eax
  jbe    L34
L0:
  mov    %al,(%rbx)
  mov    0x28(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L41
  add    $0x38,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L34:
  cvttss2si %xmm8,%eax
  jmp    L0
L41:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D70
datatype: f64
name: extract_symbolic_data
arguments: data_label: D54
datatype: f32[2]
name: extract_symbolic_data
arguments: data_label: D87
datatype: f64
name: extract_symbolic_data
arguments: data_label: D27
datatype: f32
name: extract_symbolic_data
arguments: data_label: D82
datatype: f64
name: extract_symbolic_data
arguments: data_label: D75
datatype: f32[2]
name: extract_symbolic_data
arguments: data_label: D31
datatype: f64
name: extract_symbolic_data
arguments: data_label: D0
datatype: f64
name: extract_symbolic_data
arguments: data_label: D29
datatype: f32

tool: D70: 5

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

tool: D87: 6

tool: D27: 1

tool: D82: 2.25

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

tool: D31: 3

tool: D0: 1.25

tool: D29: 256

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