user: Converte this assembly snippet into its equivalent C code:

```asm
<interpSP6_b32>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xb0,%rsp
  mov    %rdi,-0x88(%rbp)
  mov    %esi,-0x8c(%rbp)
  mov    %edx,-0x90(%rbp)
  movss  %xmm0,-0x94(%rbp)
  movss  %xmm1,-0x98(%rbp)
  movss  %xmm2,-0x9c(%rbp)
  mov    %rcx,-0xa8(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  mov    -0x94(%rbp),%eax
  movd   %eax,%xmm0
  call   <ceilf@plt>
  sub    $0x3,%eax
  mov    %eax,-0x70(%rbp)
  cmpl   $0x0,-0x70(%rbp)
  jns    L26
  movl   $0x0,-0x70(%rbp)
L26:
  mov    -0x70(%rbp),%eax
  add    $0x6,%eax
  cmp    %eax,-0x8c(%rbp)
  jg     L110
  mov    -0x8c(%rbp),%eax
  sub    $0x6,%eax
  mov    %eax,-0x70(%rbp)
L110:
  mov    -0x98(%rbp),%eax
  movd   %eax,%xmm0
  call   <ceilf@plt>
  sub    $0x3,%eax
  mov    %eax,-0x6c(%rbp)
  cmpl   $0x0,-0x6c(%rbp)
  jns    L82
  movl   $0x0,-0x6c(%rbp)
L82:
  mov    -0x6c(%rbp),%eax
  add    $0x6,%eax
  cmp    %eax,-0x90(%rbp)
  jg     L35
  mov    -0x90(%rbp),%eax
  sub    $0x6,%eax
  mov    %eax,-0x6c(%rbp)
L35:
  pxor   %xmm1,%xmm1
  cvtsi2ssl -0x6c(%rbp),%xmm1
  movss  -0x98(%rbp),%xmm0
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x64(%rbp)
  pxor   %xmm0,%xmm0
  cvtss2sd -0x64(%rbp),%xmm0
  movsd  D111(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  movsd  D362(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  D80(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x64(%rbp),%xmm0
  movsd  D111(%rip),%xmm2
  subsd  %xmm2,%xmm0
  mulsd  %xmm0,%xmm1
  movsd  D116(%rip),%xmm0
  addsd  %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x64(%rbp),%xmm0
  movsd  D111(%rip),%xmm2
  subsd  %xmm2,%xmm0
  mulsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x20(%rbp)
  movss  -0x64(%rbp),%xmm0
  movss  D749(%rip),%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x64(%rbp)
  pxor   %xmm0,%xmm0
  cvtss2sd -0x64(%rbp),%xmm0
  movsd  D421(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  movsd  D527(%rip),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  D179(%rip),%xmm0
  addsd  %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x64(%rbp),%xmm0
  movsd  D421(%rip),%xmm2
  subsd  %xmm2,%xmm0
  mulsd  %xmm1,%xmm0
  movsd  D595(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x64(%rbp),%xmm0
  movsd  D421(%rip),%xmm2
  subsd  %xmm2,%xmm0
  mulsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x1c(%rbp)
  movss  -0x64(%rbp),%xmm0
  movss  D749(%rip),%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x64(%rbp)
  pxor   %xmm1,%xmm1
  cvtss2sd -0x64(%rbp),%xmm1
  movsd  D382(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  D338(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x64(%rbp),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  D692(%rip),%xmm0
  addsd  %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x64(%rbp),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  D421(%rip),%xmm0
  addsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x18(%rbp)
  movss  D749(%rip),%xmm0
  subss  -0x64(%rbp),%xmm0
  movss  %xmm0,-0x64(%rbp)
  pxor   %xmm1,%xmm1
  cvtss2sd -0x64(%rbp),%xmm1
  movsd  D382(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  D338(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x64(%rbp),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  D692(%rip),%xmm0
  addsd  %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x64(%rbp),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  D421(%rip),%xmm0
  addsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x14(%rbp)
  movss  -0x64(%rbp),%xmm1
  movss  D749(%rip),%xmm0
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x64(%rbp)
  pxor   %xmm0,%xmm0
  cvtss2sd -0x64(%rbp),%xmm0
  movsd  D421(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  movsd  D527(%rip),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  D179(%rip),%xmm0
  addsd  %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x64(%rbp),%xmm0
  movsd  D421(%rip),%xmm2
  subsd  %xmm2,%xmm0
  mulsd  %xmm1,%xmm0
  movsd  D595(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x64(%rbp),%xmm0
  movsd  D421(%rip),%xmm2
  subsd  %xmm2,%xmm0
  mulsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x10(%rbp)
  movss  -0x64(%rbp),%xmm1
  movss  D749(%rip),%xmm0
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x64(%rbp)
  pxor   %xmm0,%xmm0
  cvtss2sd -0x64(%rbp),%xmm0
  movsd  D111(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  movsd  D362(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  D80(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x64(%rbp),%xmm0
  movsd  D111(%rip),%xmm2
  subsd  %xmm2,%xmm0
  mulsd  %xmm0,%xmm1
  movsd  D116(%rip),%xmm0
  addsd  %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x64(%rbp),%xmm0
  movsd  D111(%rip),%xmm2
  subsd  %xmm2,%xmm0
  mulsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0xc(%rbp)
  pxor   %xmm1,%xmm1
  cvtsi2ssl -0x70(%rbp),%xmm1
  movss  -0x94(%rbp),%xmm0
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x64(%rbp)
  pxor   %xmm0,%xmm0
  cvtss2sd -0x64(%rbp),%xmm0
  movsd  D111(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  movsd  D362(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  D80(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x64(%rbp),%xmm0
  movsd  D111(%rip),%xmm2
  subsd  %xmm2,%xmm0
  mulsd  %xmm0,%xmm1
  movsd  D116(%rip),%xmm0
  addsd  %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x64(%rbp),%xmm0
  movsd  D111(%rip),%xmm2
  subsd  %xmm2,%xmm0
  mulsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x40(%rbp)
  movss  -0x64(%rbp),%xmm0
  movss  D749(%rip),%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x64(%rbp)
  pxor   %xmm0,%xmm0
  cvtss2sd -0x64(%rbp),%xmm0
  movsd  D421(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  movsd  D527(%rip),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  D179(%rip),%xmm0
  addsd  %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x64(%rbp),%xmm0
  movsd  D421(%rip),%xmm2
  subsd  %xmm2,%xmm0
  mulsd  %xmm1,%xmm0
  movsd  D595(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x64(%rbp),%xmm0
  movsd  D421(%rip),%xmm2
  subsd  %xmm2,%xmm0
  mulsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x3c(%rbp)
  movss  -0x64(%rbp),%xmm0
  movss  D749(%rip),%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x64(%rbp)
  pxor   %xmm1,%xmm1
  cvtss2sd -0x64(%rbp),%xmm1
  movsd  D382(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  D338(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x64(%rbp),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  D692(%rip),%xmm0
  addsd  %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x64(%rbp),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  D421(%rip),%xmm0
  addsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x38(%rbp)
  movss  D749(%rip),%xmm0
  subss  -0x64(%rbp),%xmm0
  movss  %xmm0,-0x64(%rbp)
  pxor   %xmm1,%xmm1
  cvtss2sd -0x64(%rbp),%xmm1
  movsd  D382(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  D338(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x64(%rbp),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  D692(%rip),%xmm0
  addsd  %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x64(%rbp),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  D421(%rip),%xmm0
  addsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x34(%rbp)
  movss  -0x64(%rbp),%xmm1
  movss  D749(%rip),%xmm0
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x64(%rbp)
  pxor   %xmm0,%xmm0
  cvtss2sd -0x64(%rbp),%xmm0
  movsd  D421(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  movsd  D527(%rip),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  D179(%rip),%xmm0
  addsd  %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x64(%rbp),%xmm0
  movsd  D421(%rip),%xmm2
  subsd  %xmm2,%xmm0
  mulsd  %xmm1,%xmm0
  movsd  D595(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x64(%rbp),%xmm0
  movsd  D421(%rip),%xmm2
  subsd  %xmm2,%xmm0
  mulsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x30(%rbp)
  movss  -0x64(%rbp),%xmm1
  movss  D749(%rip),%xmm0
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x64(%rbp)
  pxor   %xmm0,%xmm0
  cvtss2sd -0x64(%rbp),%xmm0
  movsd  D111(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  movsd  D362(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  D80(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x64(%rbp),%xmm0
  movsd  D111(%rip),%xmm2
  subsd  %xmm2,%xmm0
  mulsd  %xmm0,%xmm1
  movsd  D116(%rip),%xmm0
  addsd  %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x64(%rbp),%xmm0
  movsd  D111(%rip),%xmm2
  subsd  %xmm2,%xmm0
  mulsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x2c(%rbp)
  movl   $0x0,-0x78(%rbp)
  jmp    L74
L134:
  movl   $0x0,-0x7c(%rbp)
  jmp    L92
L33:
  mov    -0x7c(%rbp),%eax
  cltq
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x60(%rbp,%rax,4)
  movl   $0x0,-0x74(%rbp)
  jmp    L121
L102:
  mov    -0x7c(%rbp),%eax
  cltq
  movss  -0x60(%rbp,%rax,4),%xmm1
  mov    -0x74(%rbp),%eax
  cltq
  movss  -0x20(%rbp,%rax,4),%xmm2
  mov    -0x74(%rbp),%edx
  mov    -0x6c(%rbp),%eax
  add    %edx,%eax
  imul   -0x8c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x7c(%rbp),%eax
  add    %eax,%edx
  mov    -0x70(%rbp),%eax
  add    %edx,%eax
  lea    0x0(,%rax,4),%edx
  mov    -0x78(%rbp),%eax
  add    %edx,%eax
  movslq %eax,%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  mulss  %xmm2,%xmm0
  addss  %xmm1,%xmm0
  mov    -0x7c(%rbp),%eax
  cltq
  movss  %xmm0,-0x60(%rbp,%rax,4)
  addl   $0x1,-0x74(%rbp)
L121:
  cmpl   $0x5,-0x74(%rbp)
  jle    L102
  addl   $0x1,-0x7c(%rbp)
L92:
  cmpl   $0x5,-0x7c(%rbp)
  jle    L33
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x68(%rbp)
  movl   $0x0,-0x7c(%rbp)
  jmp    L123
L51:
  mov    -0x7c(%rbp),%eax
  cltq
  movss  -0x40(%rbp,%rax,4),%xmm1
  mov    -0x7c(%rbp),%eax
  cltq
  movss  -0x60(%rbp,%rax,4),%xmm0
  mulss  %xmm1,%xmm0
  movss  -0x68(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x68(%rbp)
  addl   $0x1,-0x7c(%rbp)
L123:
  cmpl   $0x5,-0x7c(%rbp)
  jle    L51
  pxor   %xmm1,%xmm1
  cvtss2sd -0x68(%rbp),%xmm1
  movsd  D606(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x68(%rbp)
  pxor   %xmm0,%xmm0
  comiss -0x68(%rbp),%xmm0
  jbe    L125
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x68(%rbp)
L125:
  movss  -0x68(%rbp),%xmm0
  comiss D437(%rip),%xmm0
  jbe    L138
  movss  D714(%rip),%xmm0
  movss  %xmm0,-0x68(%rbp)
L138:
  mov    -0x78(%rbp),%eax
  movslq %eax,%rdx
  mov    -0xa8(%rbp),%rax
  add    %rdx,%rax
  cvttss2si -0x68(%rbp),%edx
  mov    %dl,(%rax)
  addl   $0x1,-0x78(%rbp)
L74:
  cmpl   $0x3,-0x78(%rbp)
  jle    L134
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L30
  call   <__stack_chk_fail@plt>
L30:
  leave
  ret
```

tool_calls: name: unpack_data
arguments: data_label: D111
type_infered: f64
name: unpack_data
arguments: data_label: D362
type_infered: f64
name: unpack_data
arguments: data_label: D80
type_infered: f64
name: unpack_data
arguments: data_label: D116
type_infered: f64
name: unpack_data
arguments: data_label: D749
type_infered: f32
name: unpack_data
arguments: data_label: D421
type_infered: f32[2]
name: unpack_data
arguments: data_label: D527
type_infered: byte[8]
name: unpack_data
arguments: data_label: D179
type_infered: f64
name: unpack_data
arguments: data_label: D595
type_infered: f64
name: unpack_data
arguments: data_label: D382
type_infered: f64
name: unpack_data
arguments: data_label: D338
type_infered: f64
name: unpack_data
arguments: data_label: D692
type_infered: f64
name: unpack_data
arguments: data_label: D606
type_infered: f64
name: unpack_data
arguments: data_label: D437
type_infered: f32
name: unpack_data
arguments: data_label: D714
type_infered: f32

tool: D111: 2

tool: D362: 0.090909

tool: D80: 0.215311

tool: D116: 0.124402

tool: D749: 1

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

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

tool: D179: 1.291866

tool: D595: 0.746411

tool: D382: 1.181818

tool: D338: 2.167464

tool: D692: 0.014354

tool: D606: 0.947

tool: D437: 256

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