user: 请将以下的汇编代码转换成C语言代码：

```asm
<interpSP6_b32>:
  endbr64
  push   %r15
  movd   %xmm1,%r15d
  push   %r14
  mov    %edx,%r14d
  push   %r13
  push   %r12
  mov    %esi,%r12d
  push   %rbp
  mov    %rdi,%rbp
  push   %rbx
  mov    %rcx,%rbx
  sub    $0x78,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x68(%rsp)
  xor    %eax,%eax
  movss  %xmm0,0xc(%rsp)
  call   <ceilf@plt>
  movd   %r15d,%xmm0
  lea    -0x3(%rax),%r13d
  xor    %eax,%eax
  test   %r13d,%r13d
  cmovs  %eax,%r13d
  lea    -0x6(%r12),%eax
  lea    0x6(%r13),%edx
  cmp    %r12d,%edx
  cmovge %eax,%r13d
  call   <ceilf@plt>
  mov    $0x0,%edx
  pxor   %xmm0,%xmm0
  movsd  D28(%rip),%xmm10
  sub    $0x3,%eax
  movd   %r15d,%xmm5
  movsd  D76(%rip),%xmm2
  movsd  D79(%rip),%xmm9
  cmovs  %edx,%eax
  lea    -0x6(%r14),%edx
  movss  D127(%rip),%xmm6
  movsd  D31(%rip),%xmm7
  pxor   %xmm1,%xmm1
  movss  0xc(%rsp),%xmm8
  movsd  D111(%rip),%xmm4
  lea    0x0(,%r12,4),%esi
  lea    0x6(%rax),%ecx
  movslq %esi,%rsi
  movsd  D92(%rip),%xmm12
  movsd  D52(%rip),%xmm11
  cmp    %r14d,%ecx
  lea    0x50(%rsp),%r10
  lea    0x68(%rsp),%rdi
  movsd  D4(%rip),%xmm14
  cmovge %edx,%eax
  lea    0x10(%rsp),%r9
  xor    %r11d,%r11d
  movsd  D120(%rip),%xmm13
  cvtsi2ss %eax,%xmm0
  imul   %r12d,%eax
  subss  %xmm0,%xmm5
  pxor   %xmm0,%xmm0
  add    %r13d,%eax
  cltq
  lea    0x0(%rbp,%rax,4),%rbp
  cvtss2sd %xmm5,%xmm0
  subsd  %xmm10,%xmm0
  subss  %xmm6,%xmm5
  movapd %xmm0,%xmm3
  cvtss2sd %xmm5,%xmm1
  subsd  %xmm7,%xmm1
  subss  %xmm6,%xmm5
  mulsd  %xmm2,%xmm3
  subsd  %xmm9,%xmm3
  mulsd  %xmm0,%xmm3
  addsd  D49(%rip),%xmm3
  mulsd  %xmm0,%xmm3
  movapd %xmm1,%xmm0
  mulsd  %xmm4,%xmm0
  cvtsd2ss %xmm3,%xmm3
  addsd  %xmm12,%xmm0
  mulsd  %xmm1,%xmm0
  subsd  %xmm11,%xmm0
  mulsd  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  cvtss2sd %xmm5,%xmm1
  movapd %xmm1,%xmm15
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,0x54(%rsp)
  movsd  D62(%rip),%xmm0
  mulsd  %xmm0,%xmm15
  subsd  %xmm14,%xmm15
  mulsd  %xmm1,%xmm15
  addsd  %xmm13,%xmm15
  mulsd  %xmm1,%xmm15
  movaps %xmm6,%xmm1
  subss  %xmm5,%xmm1
  addsd  %xmm7,%xmm15
  cvtsd2ss %xmm15,%xmm15
  movss  %xmm15,0x58(%rsp)
  pxor   %xmm15,%xmm15
  cvtss2sd %xmm1,%xmm15
  movapd %xmm15,%xmm5
  addss  %xmm6,%xmm1
  mulsd  %xmm0,%xmm5
  subsd  %xmm14,%xmm5
  mulsd  %xmm15,%xmm5
  addsd  %xmm13,%xmm5
  mulsd  %xmm15,%xmm5
  pxor   %xmm15,%xmm15
  cvtss2sd %xmm1,%xmm15
  subsd  %xmm7,%xmm15
  addss  %xmm6,%xmm1
  cvtss2sd %xmm1,%xmm1
  subsd  %xmm10,%xmm1
  addsd  %xmm7,%xmm5
  cvtsd2ss %xmm5,%xmm5
  movss  %xmm5,0x5c(%rsp)
  movapd %xmm15,%xmm5
  mulsd  %xmm4,%xmm5
  addsd  %xmm12,%xmm5
  mulsd  %xmm15,%xmm5
  subsd  %xmm11,%xmm5
  mulsd  %xmm15,%xmm5
  pxor   %xmm15,%xmm15
  cvtsd2ss %xmm5,%xmm5
  movss  %xmm5,0x60(%rsp)
  movapd %xmm1,%xmm5
  mulsd  %xmm2,%xmm5
  subsd  %xmm9,%xmm5
  mulsd  %xmm1,%xmm5
  addsd  D49(%rip),%xmm5
  mulsd  %xmm1,%xmm5
  movaps %xmm8,%xmm1
  pxor   %xmm8,%xmm8
  cvtsd2ss %xmm5,%xmm5
  movss  %xmm5,0x64(%rsp)
  pxor   %xmm5,%xmm5
  cvtsi2ss %r13d,%xmm5
  subss  %xmm5,%xmm1
  cvtss2sd %xmm1,%xmm15
  subsd  %xmm10,%xmm15
  subss  %xmm6,%xmm1
  movapd %xmm15,%xmm5
  mulsd  %xmm2,%xmm5
  subsd  %xmm9,%xmm5
  mulsd  %xmm15,%xmm5
  addsd  D49(%rip),%xmm5
  mulsd  %xmm15,%xmm5
  pxor   %xmm15,%xmm15
  cvtss2sd %xmm1,%xmm15
  subsd  %xmm7,%xmm15
  subss  %xmm6,%xmm1
  cvtsd2ss %xmm5,%xmm8
  movapd %xmm15,%xmm5
  mulsd  %xmm4,%xmm5
  addsd  %xmm12,%xmm5
  mulsd  %xmm15,%xmm5
  subsd  %xmm11,%xmm5
  mulsd  %xmm15,%xmm5
  pxor   %xmm15,%xmm15
  cvtss2sd %xmm1,%xmm15
  cvtsd2ss %xmm5,%xmm5
  movss  %xmm5,0x34(%rsp)
  movapd %xmm15,%xmm5
  mulsd  %xmm0,%xmm5
  subsd  %xmm14,%xmm5
  mulsd  %xmm15,%xmm5
  addsd  %xmm13,%xmm5
  mulsd  %xmm15,%xmm5
  addsd  %xmm7,%xmm5
  cvtsd2ss %xmm5,%xmm5
  movss  %xmm5,0x38(%rsp)
  movaps %xmm6,%xmm5
  subss  %xmm1,%xmm5
  pxor   %xmm1,%xmm1
  cvtss2sd %xmm5,%xmm1
  mulsd  %xmm1,%xmm0
  addss  %xmm6,%xmm5
  subsd  %xmm14,%xmm0
  mulsd  %xmm1,%xmm0
  addsd  %xmm13,%xmm0
  mulsd  %xmm1,%xmm0
  movaps %xmm5,%xmm1
  cvtss2sd %xmm5,%xmm5
  subsd  %xmm7,%xmm5
  addss  %xmm6,%xmm1
  mulsd  %xmm5,%xmm4
  cvtss2sd %xmm1,%xmm1
  subsd  %xmm10,%xmm1
  addsd  %xmm7,%xmm0
  mulsd  %xmm1,%xmm2
  addsd  %xmm12,%xmm4
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,0x3c(%rsp)
  mulsd  %xmm5,%xmm4
  movapd %xmm4,%xmm0
  pxor   %xmm4,%xmm4
  subsd  %xmm11,%xmm0
  mulsd  %xmm5,%xmm0
  movsd  D2(%rip),%xmm5
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,0x40(%rsp)
  movapd %xmm2,%xmm0
  subsd  %xmm9,%xmm0
  mulsd  %xmm1,%xmm0
  addsd  D49(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,0x44(%rsp)
L48:
  movq   $0x0,0x10(%r9)
  pxor   %xmm0,%xmm0
  lea    0x0(%rbp,%r11,1),%r12
  xor    %r8d,%r8d
  movaps %xmm0,(%r9)
L34:
  mov    %r10,%rax
  movaps %xmm3,%xmm2
  movaps %xmm4,%xmm1
  mov    %r12,%rdx
  jmp    L41
  xchg   %ax,%ax
L90:
  movss  (%rax),%xmm2
L41:
  movzbl (%rdx),%ecx
  pxor   %xmm0,%xmm0
  add    $0x4,%rax
  add    %rsi,%rdx
  cvtsi2ss %ecx,%xmm0
  mulss  %xmm2,%xmm0
  addss  %xmm0,%xmm1
  cmp    %rax,%rdi
  jne    L90
  movss  %xmm1,(%r9,%r8,4)
  add    $0x1,%r8
  add    $0x4,%r12
  cmp    $0x6,%r8
  jne    L34
  movaps %xmm8,%xmm0
  xor    %eax,%eax
  movaps %xmm4,%xmm1
  jmp    L92
  nopw   0x0(%rax,%rax,1)
L43:
  movss  0x30(%rsp,%rax,1),%xmm0
L92:
  mulss  (%r9,%rax,1),%xmm0
  add    $0x4,%rax
  addss  %xmm0,%xmm1
  cmp    $0x18,%rax
  jne    L43
  cvtss2sd %xmm1,%xmm1
  mulsd  %xmm5,%xmm1
  pxor   %xmm0,%xmm0
  xor    %eax,%eax
  cvtsd2ss %xmm1,%xmm0
  comiss %xmm0,%xmm4
  ja     L65
  comiss D32(%rip),%xmm0
  mov    $0xffffffff,%eax
  jbe    L0
L65:
  mov    %al,(%rbx,%r11,1)
  add    $0x1,%r11
  cmp    $0x4,%r11
  jne    L48
  mov    0x68(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L56
  add    $0x78,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L0:
  cvttss2si %xmm0,%eax
  jmp    L65
L56:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: data_tag: D28
datatype: f64
name: read_data
arguments: data_tag: D76
datatype: f64
name: read_data
arguments: data_tag: D79
datatype: f64
name: read_data
arguments: data_tag: D127
datatype: f32
name: read_data
arguments: data_tag: D31
datatype: f32[2]
name: read_data
arguments: data_tag: D111
datatype: byte[8]
name: read_data
arguments: data_tag: D92
datatype: f64
name: read_data
arguments: data_tag: D52
datatype: f64
name: read_data
arguments: data_tag: D4
datatype: f64
name: read_data
arguments: data_tag: D120
datatype: f64
name: read_data
arguments: data_tag: D49
datatype: f64
name: read_data
arguments: data_tag: D62
datatype: f64
name: read_data
arguments: data_tag: D2
datatype: f64
name: read_data
arguments: data_tag: D32
datatype: f32

tool: D28: 2

tool: D76: 0.090909

tool: D79: 0.215311

tool: D127: 1

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

tool: {"D111": [0xdc,0x11,0x4e,0x0b,0x5e,0x74,0xe1,0xbf]}

tool: D92: 1.291866

tool: D52: 0.746411

tool: D4: 2.167464

tool: D120: 0.014354

tool: D49: 0.124402

tool: D62: 1.181818

tool: D2: 0.947

tool: D32: 256

assistant: ```c
int interpSP6_b32(unsigned char *sl, int w, int h, float x, float y, float o, unsigned char *v) {
  int i, b, j, m, n;
  float pp, p[6], wx[6], wy[6], xx;
  m = (int)ceilf(x) - 3;
  if (m < 0)
    m = 0;
  if ((m + 7) > w)
    m = w - 6;
  n = (int)ceilf(y) - 3;
  if (n < 0)
    n = 0;
  if ((n + 7) > h)
    n = h - 6;
  xx = y - n;
  wy[0] = ((0.090909 * (xx - 2.0) - 0.215311) * (xx - 2.0) + 0.124402) * (xx - 2.0);
  xx = xx - 1.0;
  wy[1] = ((-0.545455 * (xx - 1.0) + 1.291866) * (xx - 1.0) - 0.746411) * (xx - 1.0);
  xx = xx - 1.0;
  wy[2] = ((1.181818 * xx - 2.167464) * xx + 0.014354) * xx + 1.0;
  xx = 1.0 - xx;
  wy[3] = ((1.181818 * xx - 2.167464) * xx + 0.014354) * xx + 1.0;
  xx = xx + 1.0;
  wy[4] = ((-0.545455 * (xx - 1.0) + 1.291866) * (xx - 1.0) - 0.746411) * (xx - 1.0);
  xx = xx + 1.0;
  wy[5] = ((0.090909 * (xx - 2.0) - 0.215311) * (xx - 2.0) + 0.124402) * (xx - 2.0);
  xx = x - m;
  wx[0] = ((0.090909 * (xx - 2.0) - 0.215311) * (xx - 2.0) + 0.124402) * (xx - 2.0);
  xx = xx - 1.0;
  wx[1] = ((-0.545455 * (xx - 1.0) + 1.291866) * (xx - 1.0) - 0.746411) * (xx - 1.0);
  xx = xx - 1.0;
  wx[2] = ((1.181818 * xx - 2.167464) * xx + 0.014354) * xx + 1.0;
  xx = 1.0 - xx;
  wx[3] = ((1.181818 * xx - 2.167464) * xx + 0.014354) * xx + 1.0;
  xx = xx + 1.0;
  wx[4] = ((-0.545455 * (xx - 1.0) + 1.291866) * (xx - 1.0) - 0.746411) * (xx - 1.0);
  xx = xx + 1.0;
  wx[5] = ((0.090909 * (xx - 2.0) - 0.215311) * (xx - 2.0) + 0.124402) * (xx - 2.0);
  for (b = 0; b < 4; b++) {
    for (i = 0; i < 6; i++) {
      p[i] = 0.0;
      for (j = 0; j < 6; j++) {
        p[i] = p[i] + wy[j] * sl[4 * ((j + n) * w + i + m) + b];
      }
    }
    pp = 0.0;
    for (i = 0; i < 6; i++)
      pp = pp + wx[i] * p[i];
    pp = 0.947 * pp;
    if (pp < 0.0)
      pp = 0.0;
    if (pp > 256.0)
      pp = 255.0;
    v[b] = pp;
  }
  return 0;
}
```