user: 请从给定的汇编指令推导出C源代码:

```asm
<interpSP4_b32>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  add    $0xffffffffffffff80,%rsp
  mov    %rdi,-0x68(%rbp)
  mov    %esi,-0x6c(%rbp)
  mov    %edx,-0x70(%rbp)
  movss  %xmm0,-0x74(%rbp)
  movss  %xmm1,-0x78(%rbp)
  mov    %rcx,-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    L83
  movl   $0x0,-0x54(%rbp)
L83:
  mov    -0x54(%rbp),%eax
  add    $0x4,%eax
  cmp    %eax,-0x6c(%rbp)
  jg     L116
  mov    -0x6c(%rbp),%eax
  sub    $0x4,%eax
  mov    %eax,-0x54(%rbp)
L116:
  mov    -0x78(%rbp),%eax
  movd   %eax,%xmm0
  call   <ceilf@plt>
  sub    $0x2,%eax
  mov    %eax,-0x50(%rbp)
  cmpl   $0x0,-0x50(%rbp)
  jns    L24
  movl   $0x0,-0x50(%rbp)
L24:
  mov    -0x50(%rbp),%eax
  add    $0x4,%eax
  cmp    %eax,-0x70(%rbp)
  jg     L129
  mov    -0x70(%rbp),%eax
  sub    $0x4,%eax
  mov    %eax,-0x50(%rbp)
L129:
  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  D131(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  movsd  D253(%rip),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  D75(%rip),%xmm0
  addsd  %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  movsd  D131(%rip),%xmm2
  subsd  %xmm2,%xmm0
  mulsd  %xmm1,%xmm0
  movsd  D42(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  movsd  D131(%rip),%xmm2
  subsd  %xmm2,%xmm0
  mulsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x20(%rbp)
  movss  -0x44(%rbp),%xmm0
  movss  D159(%rip),%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x44(%rbp)
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  movsd  D304(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  D128(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  D131(%rip),%xmm0
  addsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x1c(%rbp)
  movss  D159(%rip),%xmm0
  subss  -0x44(%rbp),%xmm0
  movss  %xmm0,-0x44(%rbp)
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  movsd  D304(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  D128(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  D131(%rip),%xmm0
  addsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x18(%rbp)
  movss  -0x44(%rbp),%xmm1
  movss  D159(%rip),%xmm0
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x44(%rbp)
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  movsd  D131(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  movsd  D253(%rip),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  D75(%rip),%xmm0
  addsd  %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  movsd  D131(%rip),%xmm2
  subsd  %xmm2,%xmm0
  mulsd  %xmm1,%xmm0
  movsd  D42(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  movsd  D131(%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  D131(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  movsd  D253(%rip),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  D75(%rip),%xmm0
  addsd  %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  movsd  D131(%rip),%xmm2
  subsd  %xmm2,%xmm0
  mulsd  %xmm1,%xmm0
  movsd  D42(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  movsd  D131(%rip),%xmm2
  subsd  %xmm2,%xmm0
  mulsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x30(%rbp)
  movss  -0x44(%rbp),%xmm0
  movss  D159(%rip),%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x44(%rbp)
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  movsd  D304(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  D128(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  D131(%rip),%xmm0
  addsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x2c(%rbp)
  movss  D159(%rip),%xmm0
  subss  -0x44(%rbp),%xmm0
  movss  %xmm0,-0x44(%rbp)
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  movsd  D304(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  D128(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  D131(%rip),%xmm0
  addsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x28(%rbp)
  movss  -0x44(%rbp),%xmm1
  movss  D159(%rip),%xmm0
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x44(%rbp)
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  movsd  D131(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  movsd  D253(%rip),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  D75(%rip),%xmm0
  addsd  %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  movsd  D131(%rip),%xmm2
  subsd  %xmm2,%xmm0
  mulsd  %xmm1,%xmm0
  movsd  D42(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  movsd  D131(%rip),%xmm2
  subsd  %xmm2,%xmm0
  mulsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x24(%rbp)
  movl   $0x0,-0x4c(%rbp)
  jmp    L4
L49:
  movl   $0x0,-0x5c(%rbp)
  jmp    L112
L5:
  mov    -0x5c(%rbp),%eax
  cltq
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x40(%rbp,%rax,4)
  movl   $0x0,-0x58(%rbp)
  jmp    L82
L138:
  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)
L82:
  cmpl   $0x3,-0x58(%rbp)
  jle    L138
  addl   $0x1,-0x5c(%rbp)
L112:
  cmpl   $0x3,-0x5c(%rbp)
  jle    L5
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x48(%rbp)
  movl   $0x0,-0x5c(%rbp)
  jmp    L57
L87:
  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)
L57:
  cmpl   $0x3,-0x5c(%rbp)
  jle    L87
  pxor   %xmm0,%xmm0
  comiss -0x48(%rbp),%xmm0
  jbe    L15
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x48(%rbp)
L15:
  movss  -0x48(%rbp),%xmm0
  comiss D273(%rip),%xmm0
  jbe    L11
  movss  D129(%rip),%xmm0
  movss  %xmm0,-0x48(%rbp)
L11:
  mov    -0x4c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x80(%rbp),%rax
  add    %rdx,%rax
  cvttss2si -0x48(%rbp),%edx
  mov    %dl,(%rax)
  addl   $0x1,-0x4c(%rbp)
L4:
  cmpl   $0x3,-0x4c(%rbp)
  jle    L49
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L97
  call   <__stack_chk_fail@plt>
L97:
  leave
  ret
```

tool_calls: name: read_data
arguments: data_tag: D131
type: f64
name: read_data
arguments: data_tag: D253
type: byte[8]
name: read_data
arguments: data_tag: D75
type: f64
name: read_data
arguments: data_tag: D42
type: f64
name: read_data
arguments: data_tag: D159
type: byte[4]
name: read_data
arguments: data_tag: D304
type: f64
name: read_data
arguments: data_tag: D128
type: f64
name: read_data
arguments: data_tag: D273
type: f32
name: read_data
arguments: data_tag: D129
type: f32

tool: D131: 1

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

tool: D75: 0.8

tool: D42: 0.466667

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

tool: D304: 1.8

tool: D128: 0.2

tool: D273: 256

tool: D129: 255

assistant: ```c
int interpSP4_b32(unsigned char *sl, int w, int h, float x, float y, unsigned char *v) {
  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;
}
```