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

```asm
<interpSP6_b32>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x70,%rsp
  mov    %rdi,%r13
  mov    %esi,%r12d
  mov    %edx,%r14d
  movss  %xmm1,0x8(%rsp)
  mov    %rcx,%rbx
  mov    %fs:0x28,%rax
  mov    %rax,0x68(%rsp)
  xor    %eax,%eax
  movss  %xmm0,0xc(%rsp)
  call   <ceilf@plt>
  lea    -0x3(%rax),%ebp
  test   %ebp,%ebp
  mov    $0x0,%eax
  cmovs  %eax,%ebp
  lea    0x6(%rbp),%edx
  lea    -0x6(%r12),%eax
  cmp    %r12d,%edx
  cmovge %eax,%ebp
  movss  0x8(%rsp),%xmm0
  call   <ceilf@plt>
  sub    $0x3,%eax
  mov    $0x0,%edx
  cmovs  %edx,%eax
  lea    0x6(%rax),%ecx
  lea    -0x6(%r14),%edx
  cmp    %r14d,%ecx
  cmovge %edx,%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  movss  0x8(%rsp),%xmm11
  subss  %xmm0,%xmm11
  pxor   %xmm2,%xmm2
  cvtss2sd %xmm11,%xmm2
  movsd  D33(%rip),%xmm8
  subsd  %xmm8,%xmm2
  movsd  D31(%rip),%xmm1
  movapd %xmm2,%xmm6
  mulsd  %xmm1,%xmm6
  movapd %xmm6,%xmm0
  movsd  D134(%rip),%xmm7
  subsd  %xmm7,%xmm0
  mulsd  %xmm2,%xmm0
  movsd  D9(%rip),%xmm6
  addsd  %xmm6,%xmm0
  mulsd  %xmm2,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,0x50(%rsp)
  movss  D105(%rip),%xmm4
  subss  %xmm4,%xmm11
  pxor   %xmm3,%xmm3
  cvtss2sd %xmm11,%xmm3
  movsd  D113(%rip),%xmm5
  subsd  %xmm5,%xmm3
  movsd  D37(%rip),%xmm2
  movapd %xmm3,%xmm15
  mulsd  %xmm2,%xmm15
  movapd %xmm15,%xmm0
  movsd  D83(%rip),%xmm10
  addsd  %xmm10,%xmm0
  mulsd  %xmm3,%xmm0
  movsd  D7(%rip),%xmm9
  subsd  %xmm9,%xmm0
  mulsd  %xmm3,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,0x54(%rsp)
  subss  %xmm4,%xmm11
  pxor   %xmm14,%xmm14
  cvtss2sd %xmm11,%xmm14
  movsd  D122(%rip),%xmm0
  movapd %xmm14,%xmm3
  mulsd  %xmm0,%xmm3
  movsd  D17(%rip),%xmm13
  subsd  %xmm13,%xmm3
  mulsd  %xmm14,%xmm3
  movsd  D109(%rip),%xmm12
  addsd  %xmm12,%xmm3
  mulsd  %xmm14,%xmm3
  addsd  %xmm5,%xmm3
  cvtsd2ss %xmm3,%xmm3
  movss  %xmm3,0x58(%rsp)
  movaps %xmm4,%xmm3
  subss  %xmm11,%xmm3
  pxor   %xmm14,%xmm14
  cvtss2sd %xmm3,%xmm14
  movapd %xmm14,%xmm15
  mulsd  %xmm0,%xmm15
  movapd %xmm15,%xmm11
  subsd  %xmm13,%xmm11
  mulsd  %xmm14,%xmm11
  addsd  %xmm12,%xmm11
  mulsd  %xmm14,%xmm11
  addsd  %xmm5,%xmm11
  cvtsd2ss %xmm11,%xmm11
  movss  %xmm11,0x5c(%rsp)
  addss  %xmm4,%xmm3
  pxor   %xmm14,%xmm14
  cvtss2sd %xmm3,%xmm14
  subsd  %xmm5,%xmm14
  movapd %xmm14,%xmm15
  mulsd  %xmm2,%xmm15
  movapd %xmm15,%xmm11
  addsd  %xmm10,%xmm11
  mulsd  %xmm14,%xmm11
  subsd  %xmm9,%xmm11
  mulsd  %xmm14,%xmm11
  cvtsd2ss %xmm11,%xmm11
  movss  %xmm11,0x60(%rsp)
  addss  %xmm4,%xmm3
  pxor   %xmm11,%xmm11
  cvtss2sd %xmm3,%xmm11
  subsd  %xmm8,%xmm11
  movapd %xmm11,%xmm3
  mulsd  %xmm1,%xmm3
  subsd  %xmm7,%xmm3
  mulsd  %xmm11,%xmm3
  addsd  %xmm6,%xmm3
  mulsd  %xmm11,%xmm3
  cvtsd2ss %xmm3,%xmm3
  movss  %xmm3,0x64(%rsp)
  pxor   %xmm3,%xmm3
  cvtsi2ss %ebp,%xmm3
  movss  0xc(%rsp),%xmm11
  subss  %xmm3,%xmm11
  pxor   %xmm14,%xmm14
  cvtss2sd %xmm11,%xmm14
  subsd  %xmm8,%xmm14
  movapd %xmm14,%xmm3
  mulsd  %xmm1,%xmm3
  subsd  %xmm7,%xmm3
  mulsd  %xmm14,%xmm3
  addsd  %xmm6,%xmm3
  mulsd  %xmm14,%xmm3
  cvtsd2ss %xmm3,%xmm3
  movss  %xmm3,0x30(%rsp)
  subss  %xmm4,%xmm11
  pxor   %xmm14,%xmm14
  cvtss2sd %xmm11,%xmm14
  subsd  %xmm5,%xmm14
  movapd %xmm14,%xmm3
  mulsd  %xmm2,%xmm3
  addsd  %xmm10,%xmm3
  mulsd  %xmm14,%xmm3
  subsd  %xmm9,%xmm3
  mulsd  %xmm14,%xmm3
  cvtsd2ss %xmm3,%xmm3
  movss  %xmm3,0x34(%rsp)
  subss  %xmm4,%xmm11
  pxor   %xmm14,%xmm14
  cvtss2sd %xmm11,%xmm14
  movapd %xmm14,%xmm3
  mulsd  %xmm0,%xmm3
  subsd  %xmm13,%xmm3
  mulsd  %xmm14,%xmm3
  addsd  %xmm12,%xmm3
  mulsd  %xmm14,%xmm3
  addsd  %xmm5,%xmm3
  cvtsd2ss %xmm3,%xmm3
  movss  %xmm3,0x38(%rsp)
  movaps %xmm4,%xmm3
  subss  %xmm11,%xmm3
  pxor   %xmm11,%xmm11
  cvtss2sd %xmm3,%xmm11
  mulsd  %xmm11,%xmm0
  subsd  %xmm13,%xmm0
  mulsd  %xmm11,%xmm0
  addsd  %xmm12,%xmm0
  mulsd  %xmm11,%xmm0
  addsd  %xmm5,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,0x3c(%rsp)
  addss  %xmm4,%xmm3
  pxor   %xmm11,%xmm11
  cvtss2sd %xmm3,%xmm11
  subsd  %xmm5,%xmm11
  mulsd  %xmm11,%xmm2
  addsd  %xmm10,%xmm2
  movapd %xmm2,%xmm0
  mulsd  %xmm11,%xmm0
  subsd  %xmm9,%xmm0
  mulsd  %xmm11,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,0x40(%rsp)
  addss  %xmm4,%xmm3
  pxor   %xmm2,%xmm2
  cvtss2sd %xmm3,%xmm2
  subsd  %xmm8,%xmm2
  mulsd  %xmm2,%xmm1
  movapd %xmm1,%xmm0
  subsd  %xmm7,%xmm0
  mulsd  %xmm2,%xmm0
  addsd  %xmm6,%xmm0
  mulsd  %xmm2,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,0x44(%rsp)
  imul   %r12d,%eax
  add    %ebp,%eax
  cltq
  lea    0x0(%r13,%rax,4),%rbp
  lea    0x0(,%r12,4),%esi
  movslq %esi,%rsi
  mov    $0x0,%r11d
  lea    0x68(%rsp),%rdi
  lea    0x10(%rsp),%r10
  movsd  D139(%rip),%xmm3
  pxor   %xmm2,%xmm2
  jmp    L4
L19:
  pxor   %xmm0,%xmm0
L45:
  cvttss2si %xmm0,%eax
  mov    %al,(%rbx,%r11,1)
  add    $0x1,%r11
  cmp    $0x4,%r11
  je     L44
L4:
  lea    0x10(%rsp),%r12
  lea    (%r11,%rbp,1),%r9
  mov    $0x0,%r8d
L37:
  mov    %r12,%r13
  lea    0x50(%rsp),%rax
  mov    %r9,%rdx
  pxor   %xmm1,%xmm1
L54:
  movzbl (%rdx),%ecx
  pxor   %xmm0,%xmm0
  cvtsi2ss %ecx,%xmm0
  mulss  (%rax),%xmm0
  addss  %xmm0,%xmm1
  add    $0x4,%rax
  add    %rsi,%rdx
  cmp    %rdi,%rax
  jne    L54
  movss  %xmm1,0x0(%r13)
  add    $0x1,%r8d
  add    $0x4,%r12
  add    $0x4,%r9
  cmp    $0x6,%r8d
  jne    L37
  mov    $0x0,%eax
  pxor   %xmm1,%xmm1
L67:
  movss  0x30(%rsp,%rax,1),%xmm0
  mulss  (%rax,%r10,1),%xmm0
  addss  %xmm0,%xmm1
  add    $0x4,%rax
  cmp    $0x18,%rax
  jne    L67
  cvtss2sd %xmm1,%xmm1
  mulsd  %xmm3,%xmm1
  pxor   %xmm0,%xmm0
  cvtsd2ss %xmm1,%xmm0
  comiss %xmm0,%xmm2
  ja     L19
  comiss D2(%rip),%xmm0
  jbe    L45
  movss  D60(%rip),%xmm0
  jmp    L45
L44:
  mov    0x68(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L59
  mov    $0x0,%eax
  add    $0x70,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L59:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_label: D33
type_infered: f64
name: unpack_data
arguments: data_label: D31
type_infered: f64
name: unpack_data
arguments: data_label: D134
type_infered: f64
name: unpack_data
arguments: data_label: D9
type_infered: f64
name: unpack_data
arguments: data_label: D105
type_infered: f32
name: unpack_data
arguments: data_label: D113
type_infered: f32[2]
name: unpack_data
arguments: data_label: D37
type_infered: byte[8]
name: unpack_data
arguments: data_label: D83
type_infered: f64
name: unpack_data
arguments: data_label: D7
type_infered: f64
name: unpack_data
arguments: data_label: D122
type_infered: f64
name: unpack_data
arguments: data_label: D17
type_infered: f64
name: unpack_data
arguments: data_label: D109
type_infered: f64
name: unpack_data
arguments: data_label: D139
type_infered: f64
name: unpack_data
arguments: data_label: D2
type_infered: f32
name: unpack_data
arguments: data_label: D60
type_infered: f32

tool: D33: 2

tool: D31: 0.090909

tool: D134: 0.215311

tool: D9: 0.124402

tool: D105: 1

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

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

tool: D83: 1.291866

tool: D7: 0.746411

tool: D122: 1.181818

tool: D17: 2.167464

tool: D109: 0.014354

tool: D139: 0.947

tool: D2: 256

tool: D60: 255

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