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

```asm
<interpSP4_b32>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x90,%rsp
  mov    %rdi,-0x68(%rbp)
  mov    %esi,-0x6c(%rbp)
  mov    %edx,-0x70(%rbp)
  movss  %xmm0,-0x74(%rbp)
  movss  %xmm1,-0x78(%rbp)
  movss  %xmm2,-0x7c(%rbp)
  mov    %rcx,-0x88(%rbp)
  mov    %r8d,-0x80(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  mov    -0x74(%rbp),%eax
  movd   %eax,%xmm0
  call   <ceilf@plt>
  sub    $0x2,%eax
  mov    %eax,-0x54(%rbp)
  cmpl   $0x0,-0x54(%rbp)
  jns    L59
  movl   $0x0,-0x54(%rbp)
L59:
  mov    -0x54(%rbp),%eax
  add    $0x4,%eax
  cmp    %eax,-0x6c(%rbp)
  jg     L25
  mov    -0x6c(%rbp),%eax
  sub    $0x4,%eax
  mov    %eax,-0x54(%rbp)
L25:
  mov    -0x78(%rbp),%eax
  movd   %eax,%xmm0
  call   <ceilf@plt>
  sub    $0x2,%eax
  mov    %eax,-0x50(%rbp)
  cmpl   $0x0,-0x50(%rbp)
  jns    L5
  movl   $0x0,-0x50(%rbp)
L5:
  mov    -0x50(%rbp),%eax
  add    $0x4,%eax
  cmp    %eax,-0x70(%rbp)
  jg     L96
  mov    -0x70(%rbp),%eax
  sub    $0x4,%eax
  mov    %eax,-0x50(%rbp)
L96:
  pxor   %xmm1,%xmm1
  cvtsi2ssl -0x50(%rbp),%xmm1
  movss  -0x78(%rbp),%xmm0
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x44(%rbp)
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  movsd  D189(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  movsd  D17(%rip),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  D292(%rip),%xmm0
  addsd  %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  movsd  D189(%rip),%xmm2
  subsd  %xmm2,%xmm0
  mulsd  %xmm1,%xmm0
  movsd  D290(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  movsd  D189(%rip),%xmm2
  subsd  %xmm2,%xmm0
  mulsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x20(%rbp)
  movss  -0x44(%rbp),%xmm0
  movss  D339(%rip),%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x44(%rbp)
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  movsd  D405(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  D400(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  D189(%rip),%xmm0
  addsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x1c(%rbp)
  movss  D339(%rip),%xmm0
  subss  -0x44(%rbp),%xmm0
  movss  %xmm0,-0x44(%rbp)
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  movsd  D405(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  D400(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  D189(%rip),%xmm0
  addsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x18(%rbp)
  movss  -0x44(%rbp),%xmm1
  movss  D339(%rip),%xmm0
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x44(%rbp)
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  movsd  D189(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  movsd  D17(%rip),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  D292(%rip),%xmm0
  addsd  %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  movsd  D189(%rip),%xmm2
  subsd  %xmm2,%xmm0
  mulsd  %xmm1,%xmm0
  movsd  D290(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  movsd  D189(%rip),%xmm2
  subsd  %xmm2,%xmm0
  mulsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x14(%rbp)
  pxor   %xmm1,%xmm1
  cvtsi2ssl -0x54(%rbp),%xmm1
  movss  -0x74(%rbp),%xmm0
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x44(%rbp)
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  movsd  D189(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  movsd  D17(%rip),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  D292(%rip),%xmm0
  addsd  %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  movsd  D189(%rip),%xmm2
  subsd  %xmm2,%xmm0
  mulsd  %xmm1,%xmm0
  movsd  D290(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  movsd  D189(%rip),%xmm2
  subsd  %xmm2,%xmm0
  mulsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x30(%rbp)
  movss  -0x44(%rbp),%xmm0
  movss  D339(%rip),%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x44(%rbp)
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  movsd  D405(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  D400(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  D189(%rip),%xmm0
  addsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x2c(%rbp)
  movss  D339(%rip),%xmm0
  subss  -0x44(%rbp),%xmm0
  movss  %xmm0,-0x44(%rbp)
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  movsd  D405(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  D400(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  D189(%rip),%xmm0
  addsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x28(%rbp)
  movss  -0x44(%rbp),%xmm1
  movss  D339(%rip),%xmm0
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x44(%rbp)
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  movsd  D189(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  movsd  D17(%rip),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  D292(%rip),%xmm0
  addsd  %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  movsd  D189(%rip),%xmm2
  subsd  %xmm2,%xmm0
  mulsd  %xmm1,%xmm0
  movsd  D290(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  movsd  D189(%rip),%xmm2
  subsd  %xmm2,%xmm0
  mulsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x24(%rbp)
  movl   $0x0,-0x4c(%rbp)
  jmp    L57
L105:
  movl   $0x0,-0x5c(%rbp)
  jmp    L98
L3:
  mov    -0x5c(%rbp),%eax
  cltq
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x40(%rbp,%rax,4)
  movl   $0x0,-0x58(%rbp)
  jmp    L137
L95:
  mov    -0x5c(%rbp),%eax
  cltq
  movss  -0x40(%rbp,%rax,4),%xmm1
  mov    -0x58(%rbp),%eax
  cltq
  movss  -0x20(%rbp,%rax,4),%xmm2
  mov    -0x58(%rbp),%edx
  mov    -0x50(%rbp),%eax
  add    %edx,%eax
  imul   -0x6c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x5c(%rbp),%eax
  add    %eax,%edx
  mov    -0x54(%rbp),%eax
  add    %edx,%eax
  lea    0x0(,%rax,4),%edx
  mov    -0x4c(%rbp),%eax
  add    %edx,%eax
  movslq %eax,%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  mulss  %xmm2,%xmm0
  addss  %xmm1,%xmm0
  mov    -0x5c(%rbp),%eax
  cltq
  movss  %xmm0,-0x40(%rbp,%rax,4)
  addl   $0x1,-0x58(%rbp)
L137:
  cmpl   $0x3,-0x58(%rbp)
  jle    L95
  addl   $0x1,-0x5c(%rbp)
L98:
  cmpl   $0x3,-0x5c(%rbp)
  jle    L3
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x48(%rbp)
  movl   $0x0,-0x5c(%rbp)
  jmp    L75
L15:
  mov    -0x5c(%rbp),%eax
  cltq
  movss  -0x30(%rbp,%rax,4),%xmm1
  mov    -0x5c(%rbp),%eax
  cltq
  movss  -0x40(%rbp,%rax,4),%xmm0
  mulss  %xmm1,%xmm0
  movss  -0x48(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x48(%rbp)
  addl   $0x1,-0x5c(%rbp)
L75:
  cmpl   $0x3,-0x5c(%rbp)
  jle    L15
  pxor   %xmm0,%xmm0
  comiss -0x48(%rbp),%xmm0
  jbe    L13
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x48(%rbp)
L13:
  movss  -0x48(%rbp),%xmm0
  comiss D153(%rip),%xmm0
  jbe    L62
  movss  D70(%rip),%xmm0
  movss  %xmm0,-0x48(%rbp)
L62:
  mov    -0x4c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  cvttss2si -0x48(%rbp),%edx
  mov    %dl,(%rax)
  addl   $0x1,-0x4c(%rbp)
L57:
  cmpl   $0x3,-0x4c(%rbp)
  jle    L105
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L22
  call   <__stack_chk_fail@plt>
L22:
  leave
  ret
```

tool_calls: name: retrieve_data
arguments: data_tag: D189
datatype: f64
name: retrieve_data
arguments: data_tag: D17
datatype: byte[8]
name: retrieve_data
arguments: data_tag: D292
datatype: f64
name: retrieve_data
arguments: data_tag: D290
datatype: f64
name: retrieve_data
arguments: data_tag: D339
datatype: byte[4]
name: retrieve_data
arguments: data_tag: D405
datatype: f64
name: retrieve_data
arguments: data_tag: D400
datatype: f64
name: retrieve_data
arguments: data_tag: D153
datatype: f32
name: retrieve_data
arguments: data_tag: D70
datatype: f32

tool: D189: 1

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

tool: D292: 0.8

tool: D290: 0.466667

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

tool: D405: 1.8

tool: D400: 0.2

tool: D153: 256

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