user: 请将这段汇编代码片段转换成等效的C代码：

```asm
<interpBC2_b>:
  endbr64
  push   %r15
  movd   %xmm1,%r15d
  push   %r14
  mov    %edx,%r14d
  push   %r13
  push   %r12
  mov    %rcx,%r12
  push   %rbp
  mov    %rdi,%rbp
  push   %rbx
  mov    %esi,%ebx
  sub    $0x18,%rsp
  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(%rbx),%eax
  lea    0x4(%r13),%edx
  cmp    %ebx,%edx
  cmovge %eax,%r13d
  call   <ceilf@plt>
  mov    $0x0,%edx
  pxor   %xmm1,%xmm1
  movsd  D52(%rip),%xmm10
  sub    $0x2,%eax
  movd   %r15d,%xmm0
  movsd  D73(%rip),%xmm9
  movsd  D7(%rip),%xmm8
  cmovs  %edx,%eax
  lea    -0x4(%r14),%edx
  movss  D104(%rip),%xmm5
  movsd  D54(%rip),%xmm3
  movss  0xc(%rsp),%xmm6
  pxor   %xmm14,%xmm14
  movsd  D5(%rip),%xmm12
  pxor   %xmm15,%xmm15
  movsd  D6(%rip),%xmm11
  lea    0x4(%rax),%ecx
  movaps %xmm5,%xmm7
  cmp    %r14d,%ecx
  cmovge %edx,%eax
  cvtsi2ss %eax,%xmm1
  imul   %ebx,%eax
  subss  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  add    %r13d,%eax
  lea    (%rbx,%rax,1),%r15d
  lea    0x1(%rax),%r11d
  lea    (%rbx,%r15,1),%r14d
  lea    0x2(%rax),%r9d
  movslq %r15d,%r15
  cvtss2sd %xmm0,%xmm1
  movapd %xmm1,%xmm2
  subss  %xmm5,%xmm0
  lea    0x3(%rax),%esi
  subsd  %xmm10,%xmm2
  cltq
  movzbl 0x0(%rbp,%r15,1),%r15d
  lea    (%rbx,%rsi,1),%ecx
  movzbl 0x0(%rbp,%rax,1),%eax
  lea    (%rbx,%r9,1),%r10d
  movslq %r9d,%r9
  movslq %esi,%rsi
  subss  %xmm0,%xmm7
  lea    (%rbx,%r10,1),%edx
  movslq %r10d,%r10
  mulsd  %xmm9,%xmm2
  cvtsi2ss %eax,%xmm15
  lea    (%rbx,%rcx,1),%edi
  movslq %r14d,%rax
  movzbl 0x0(%rbp,%rax,1),%eax
  movslq %ecx,%rcx
  mulsd  %xmm1,%xmm2
  subsd  %xmm8,%xmm2
  mulsd  %xmm1,%xmm2
  pxor   %xmm1,%xmm1
  cvtss2sd %xmm0,%xmm1
  movapd %xmm1,%xmm4
  pxor   %xmm0,%xmm0
  addsd  D24(%rip),%xmm2
  mulsd  %xmm3,%xmm4
  cvtss2sd %xmm7,%xmm0
  addss  %xmm5,%xmm7
  cvtsd2ss %xmm2,%xmm2
  mulss  %xmm2,%xmm15
  cvtss2sd %xmm7,%xmm7
  subsd  %xmm12,%xmm4
  mulsd  %xmm1,%xmm4
  mulsd  %xmm1,%xmm4
  movapd %xmm0,%xmm1
  mulsd  %xmm3,%xmm1
  addsd  %xmm11,%xmm4
  subsd  %xmm12,%xmm1
  cvtsd2ss %xmm4,%xmm4
  mulsd  %xmm0,%xmm1
  mulsd  %xmm0,%xmm1
  movapd %xmm7,%xmm0
  subsd  %xmm10,%xmm0
  mulsd  %xmm9,%xmm0
  addsd  %xmm11,%xmm1
  cvtsd2ss %xmm1,%xmm1
  mulsd  %xmm7,%xmm0
  subsd  %xmm8,%xmm0
  mulsd  %xmm7,%xmm0
  pxor   %xmm7,%xmm7
  cvtsi2ss %r13d,%xmm7
  addsd  D24(%rip),%xmm0
  lea    (%rbx,%r11,1),%r13d
  movslq %r11d,%r11
  lea    (%rbx,%r13,1),%r8d
  movslq %r13d,%r13
  cvtsd2ss %xmm0,%xmm0
  subss  %xmm7,%xmm6
  movaps %xmm5,%xmm7
  movaps %xmm6,%xmm13
  cvtss2sd %xmm6,%xmm6
  subss  %xmm5,%xmm13
  subss  %xmm13,%xmm7
  cvtss2sd %xmm13,%xmm14
  pxor   %xmm13,%xmm13
  cvtss2sd %xmm7,%xmm13
  addss  %xmm5,%xmm7
  pxor   %xmm5,%xmm5
  cvtsi2ss %r15d,%xmm5
  cvtss2sd %xmm7,%xmm7
  mulss  %xmm4,%xmm5
  addss  %xmm5,%xmm15
  pxor   %xmm5,%xmm5
  cvtsi2ss %eax,%xmm5
  lea    (%rbx,%r14,1),%eax
  cltq
  movzbl 0x0(%rbp,%rax,1),%eax
  mulss  %xmm1,%xmm5
  addss  %xmm15,%xmm5
  pxor   %xmm15,%xmm15
  cvtsi2ss %eax,%xmm15
  movzbl 0x0(%rbp,%r13,1),%eax
  mulss  %xmm0,%xmm15
  addss  %xmm5,%xmm15
  movapd %xmm6,%xmm5
  subsd  %xmm10,%xmm5
  mulsd  %xmm9,%xmm5
  mulsd  %xmm6,%xmm5
  subsd  %xmm8,%xmm5
  mulsd  %xmm6,%xmm5
  pxor   %xmm6,%xmm6
  addsd  D24(%rip),%xmm5
  cvtsd2ss %xmm5,%xmm5
  mulss  %xmm5,%xmm15
  pxor   %xmm5,%xmm5
  cvtsi2ss %eax,%xmm5
  movzbl 0x0(%rbp,%r11,1),%eax
  cvtsi2ss %eax,%xmm6
  movslq %r8d,%rax
  add    %ebx,%r8d
  movzbl 0x0(%rbp,%rax,1),%eax
  movslq %r8d,%r8
  mulss  %xmm4,%xmm5
  mulss  %xmm2,%xmm6
  addss  %xmm5,%xmm6
  pxor   %xmm5,%xmm5
  cvtsi2ss %eax,%xmm5
  movzbl 0x0(%rbp,%r8,1),%eax
  mulss  %xmm1,%xmm5
  addss  %xmm6,%xmm5
  pxor   %xmm6,%xmm6
  cvtsi2ss %eax,%xmm6
  movzbl 0x0(%rbp,%r10,1),%eax
  mulss  %xmm0,%xmm6
  addss  %xmm5,%xmm6
  movapd %xmm14,%xmm5
  mulsd  %xmm3,%xmm5
  mulsd  %xmm13,%xmm3
  subsd  %xmm12,%xmm5
  subsd  %xmm12,%xmm3
  mulsd  %xmm14,%xmm5
  mulsd  %xmm13,%xmm3
  mulsd  %xmm14,%xmm5
  pxor   %xmm14,%xmm14
  mulsd  %xmm13,%xmm3
  addsd  %xmm11,%xmm5
  addsd  %xmm11,%xmm3
  cvtsd2ss %xmm5,%xmm5
  mulss  %xmm5,%xmm6
  pxor   %xmm5,%xmm5
  cvtsi2ss %eax,%xmm5
  movzbl 0x0(%rbp,%r9,1),%eax
  cvtsd2ss %xmm3,%xmm3
  cvtsi2ss %eax,%xmm14
  movslq %edx,%rax
  add    %ebx,%edx
  add    %edi,%ebx
  movzbl 0x0(%rbp,%rax,1),%eax
  movslq %edx,%rdx
  movslq %ebx,%rbx
  mulss  %xmm4,%xmm5
  addss  %xmm15,%xmm6
  mulss  %xmm2,%xmm14
  addss  %xmm14,%xmm5
  pxor   %xmm14,%xmm14
  cvtsi2ss %eax,%xmm14
  movzbl 0x0(%rbp,%rdx,1),%eax
  mulss  %xmm1,%xmm14
  addss  %xmm14,%xmm5
  pxor   %xmm14,%xmm14
  cvtsi2ss %eax,%xmm14
  movzbl 0x0(%rbp,%rsi,1),%eax
  mulss  %xmm0,%xmm14
  addss  %xmm14,%xmm5
  mulss  %xmm3,%xmm5
  movaps %xmm5,%xmm3
  pxor   %xmm5,%xmm5
  cvtsi2ss %eax,%xmm5
  movzbl 0x0(%rbp,%rcx,1),%eax
  addss  %xmm6,%xmm3
  mulss  %xmm2,%xmm5
  pxor   %xmm2,%xmm2
  cvtsi2ss %eax,%xmm2
  movslq %edi,%rax
  movzbl 0x0(%rbp,%rax,1),%eax
  mulss  %xmm4,%xmm2
  addss  %xmm2,%xmm5
  pxor   %xmm2,%xmm2
  cvtsi2ss %eax,%xmm2
  movzbl 0x0(%rbp,%rbx,1),%eax
  mulss  %xmm2,%xmm1
  addss  %xmm1,%xmm5
  pxor   %xmm1,%xmm1
  cvtsi2ss %eax,%xmm1
  xor    %eax,%eax
  mulss  %xmm1,%xmm0
  addss  %xmm0,%xmm5
  movapd %xmm7,%xmm0
  subsd  %xmm10,%xmm0
  mulsd  %xmm9,%xmm0
  mulsd  %xmm7,%xmm0
  subsd  %xmm8,%xmm0
  mulsd  %xmm7,%xmm0
  addsd  D24(%rip),%xmm0
  cvtsd2ss %xmm0,%xmm0
  mulss  %xmm0,%xmm5
  pxor   %xmm0,%xmm0
  addss  %xmm3,%xmm5
  comiss %xmm5,%xmm0
  ja     L26
  comiss D90(%rip),%xmm5
  mov    $0xffffffff,%eax
  jbe    L23
L26:
  mov    %al,(%r12)
  add    $0x18,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nop
L23:
  cvttss2si %xmm5,%eax
  jmp    L26
```

tool_calls: name: disassemble_data
arguments: data_label: D52
type: f64
name: disassemble_data
arguments: data_label: D73
type: f32[2]
name: disassemble_data
arguments: data_label: D7
type: f64
name: disassemble_data
arguments: data_label: D104
type: f32
name: disassemble_data
arguments: data_label: D54
type: f64
name: disassemble_data
arguments: data_label: D5
type: f64
name: disassemble_data
arguments: data_label: D6
type: f32[2]
name: disassemble_data
arguments: data_label: D24
type: f64
name: disassemble_data
arguments: data_label: D90
type: f32

tool: D52: 5

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

tool: D7: 6

tool: D104: 1

tool: D54: 1.25

tool: D5: 2.25

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

tool: D24: 3

tool: D90: 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;
}
```