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

```asm
<interpSC16_b32>:
  endbr64
  push   %r15
  push   %r14
  mov    %esi,%r14d
  push   %r13
  push   %r12
  push   %rbp
  mov    %edx,%ebp
  push   %rbx
  movd   %xmm1,%ebx
  sub    $0x178,%rsp
  mov    %rdi,0x28(%rsp)
  lea    0x120(%rsp),%r15
  mov    %esi,0x30(%rsp)
  mov    %rcx,0x80(%rsp)
  movss  %xmm0,0x20(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x168(%rsp)
  xor    %eax,%eax
  call   <ceilf@plt>
  movd   %ebx,%xmm0
  lea    -0x8(%rax),%r12d
  xor    %eax,%eax
  test   %r12d,%r12d
  cmovs  %eax,%r12d
  lea    -0x10(%r14),%eax
  lea    0x10(%r12),%edx
  cmp    %r14d,%edx
  lea    0x15c(%rsp),%r14
  cmovge %eax,%r12d
  call   <ceilf@plt>
  pxor   %xmm0,%xmm0
  movd   %ebx,%xmm6
  mov    $0xf,%ebx
  lea    -0x8(%rax),%r13d
  xor    %eax,%eax
  test   %r13d,%r13d
  cmovs  %eax,%r13d
  lea    -0x10(%rbp),%eax
  lea    0x10(%r13),%edx
  cmp    %ebp,%edx
  cmovge %eax,%r13d
  xor    %ebp,%ebp
  cvtsi2ss %r13d,%xmm0
  subss  %xmm0,%xmm6
  movss  %xmm6,0x8(%rsp)
L1:
  movss  D58(%rip),%xmm3
  mulss  0x8(%rsp),%xmm3
  movaps %xmm3,%xmm0
  movss  %xmm3,0x10(%rsp)
  call   <sin@plt>
  movss  0x10(%rsp),%xmm3
  movss  %xmm0,0x18(%rsp)
  movss  D54(%rip),%xmm0
  mulss  %xmm3,%xmm0
  call   <sin@plt>
  movss  0x10(%rsp),%xmm3
  pxor   %xmm1,%xmm1
  mov    %rbp,%rax
  cvtss2sd %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  movss  0x18(%rsp),%xmm2
  neg    %rax
  cvtss2sd %xmm3,%xmm0
  mulsd  D30(%rip),%xmm0
  divss  %xmm3,%xmm2
  divsd  %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd %xmm2,%xmm0
  pxor   %xmm2,%xmm2
  cvtsi2ss %ebx,%xmm2
  subss  0x8(%rsp),%xmm2
  sub    $0x2,%ebx
  mulss  D58(%rip),%xmm2
  movss  %xmm2,0x10(%rsp)
  mulsd  %xmm0,%xmm1
  movaps %xmm2,%xmm0
  cvtsd2ss %xmm1,%xmm1
  movss  %xmm1,(%r15,%rax,1)
  call   <sin@plt>
  movss  0x10(%rsp),%xmm2
  movss  %xmm0,0x18(%rsp)
  movss  D54(%rip),%xmm0
  mulss  %xmm2,%xmm0
  call   <sin@plt>
  movss  0x10(%rsp),%xmm2
  pxor   %xmm1,%xmm1
  movss  0x18(%rsp),%xmm3
  cvtss2sd %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  movss  0x8(%rsp),%xmm4
  subss  D115(%rip),%xmm4
  cvtss2sd %xmm2,%xmm0
  mulsd  D30(%rip),%xmm0
  divss  %xmm2,%xmm3
  movss  %xmm4,0x8(%rsp)
  divsd  %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd %xmm3,%xmm0
  mulsd  %xmm0,%xmm1
  cvtsd2ss %xmm1,%xmm1
  movss  %xmm1,(%r14,%rbp,1)
  sub    $0x4,%rbp
  cmp    $0xffffffff,%ebx
  jne    L1
  pxor   %xmm0,%xmm0
  movss  0x20(%rsp),%xmm7
  xor    %ebp,%ebp
  mov    $0xf,%ebx
  cvtsi2ss %r12d,%xmm0
  lea    0xe0(%rsp),%r15
  lea    0x11c(%rsp),%r14
  subss  %xmm0,%xmm7
  movss  %xmm7,0x8(%rsp)
L28:
  movss  D58(%rip),%xmm3
  mulss  0x8(%rsp),%xmm3
  movaps %xmm3,%xmm0
  movss  %xmm3,0x10(%rsp)
  call   <sin@plt>
  movss  0x10(%rsp),%xmm3
  movss  %xmm0,0x18(%rsp)
  movss  D54(%rip),%xmm0
  mulss  %xmm3,%xmm0
  call   <sin@plt>
  movss  0x10(%rsp),%xmm3
  pxor   %xmm1,%xmm1
  mov    %rbp,%rax
  cvtss2sd %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  movss  0x18(%rsp),%xmm2
  neg    %rax
  cvtss2sd %xmm3,%xmm0
  mulsd  D30(%rip),%xmm0
  divss  %xmm3,%xmm2
  divsd  %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd %xmm2,%xmm0
  pxor   %xmm2,%xmm2
  cvtsi2ss %ebx,%xmm2
  subss  0x8(%rsp),%xmm2
  sub    $0x2,%ebx
  mulss  D58(%rip),%xmm2
  movss  %xmm2,0x10(%rsp)
  mulsd  %xmm0,%xmm1
  movaps %xmm2,%xmm0
  cvtsd2ss %xmm1,%xmm1
  movss  %xmm1,(%r15,%rax,1)
  call   <sin@plt>
  movss  0x10(%rsp),%xmm2
  movss  %xmm0,0x18(%rsp)
  movss  D54(%rip),%xmm0
  mulss  %xmm2,%xmm0
  call   <sin@plt>
  movss  0x10(%rsp),%xmm2
  pxor   %xmm1,%xmm1
  movss  0x18(%rsp),%xmm3
  cvtss2sd %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  movss  0x8(%rsp),%xmm5
  subss  D115(%rip),%xmm5
  cvtss2sd %xmm2,%xmm0
  mulsd  D30(%rip),%xmm0
  divss  %xmm2,%xmm3
  movss  %xmm5,0x8(%rsp)
  divsd  %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd %xmm3,%xmm0
  mulsd  %xmm0,%xmm1
  cvtsd2ss %xmm1,%xmm1
  movss  %xmm1,(%r14,%rbp,1)
  sub    $0x4,%rbp
  cmp    $0xffffffff,%ebx
  jne    L28
  mov    0x30(%rsp),%r15d
  mov    %r13d,%edx
  movss  0x154(%rsp),%xmm1
  movss  0x120(%rsp),%xmm14
  movss  0x124(%rsp),%xmm13
  imul   %r15d,%edx
  movss  %xmm1,0x20(%rsp)
  mov    %r15d,%eax
  mov    %r15d,%ebp
  movss  0x158(%rsp),%xmm1
  movss  0x128(%rsp),%xmm12
  movss  0x12c(%rsp),%xmm11
  movss  0x130(%rsp),%xmm10
  lea    (%r15,%rdx,1),%ecx
  movss  %xmm1,0x24(%rsp)
  movslq %edx,%rdx
  movss  0x15c(%rsp),%xmm1
  movss  0x134(%rsp),%xmm9
  lea    (%r15,%rcx,1),%esi
  movss  0x138(%rsp),%xmm8
  lea    (%r15,%rsi,1),%edi
  movss  %xmm1,0x40(%rsp)
  movss  0xe0(%rsp),%xmm1
  movss  0x13c(%rsp),%xmm7
  movss  0x140(%rsp),%xmm6
  lea    (%r15,%rdi,1),%r8d
  movss  0x144(%rsp),%xmm5
  lea    (%r15,%r8,1),%r9d
  movss  %xmm1,0x44(%rsp)
  movss  0xe4(%rsp),%xmm1
  movss  0x148(%rsp),%xmm4
  movss  0x14c(%rsp),%xmm3
  lea    (%r15,%r9,1),%r10d
  movss  0x150(%rsp),%xmm2
  lea    (%r15,%r10,1),%r11d
  movss  %xmm1,0x48(%rsp)
  movss  0xe8(%rsp),%xmm1
  lea    (%r15,%r11,1),%ebx
  lea    (%r15,%rbx,1),%r14d
  movss  %xmm1,0x4c(%rsp)
  add    %r14d,%eax
  mov    %r14d,0x38(%rsp)
  add    %eax,%ebp
  mov    %eax,0x8c(%rsp)
  mov    %r15d,%eax
  mov    %ebp,0x90(%rsp)
  add    %ebp,%r15d
  mov    %eax,%ebp
  add    %r15d,%ebp
  mov    %r15d,0x94(%rsp)
  mov    %ebp,%r15d
  mov    %eax,%ebp
  movslq %r12d,%rax
  add    %r15d,%ebp
  mov    %r15d,0x98(%rsp)
  add    %rax,%rdx
  mov    %ebp,0x9c(%rsp)
  movss  0xec(%rsp),%xmm1
  mov    0x28(%rsp),%rbp
  movss  %xmm1,0x50(%rsp)
  movss  0xf0(%rsp),%xmm1
  lea    0x0(%rbp,%rdx,4),%rdx
  mov    %rdx,0x18(%rsp)
  movslq %ecx,%rdx
  add    %rax,%rdx
  movss  %xmm1,0x54(%rsp)
  movss  0xf4(%rsp),%xmm1
  lea    0x0(%rbp,%rdx,4),%rdx
  mov    %rdx,0x10(%rsp)
  movslq %esi,%rdx
  mov    %rbp,%rsi
  movss  %xmm1,0x58(%rsp)
  add    %rax,%rdx
  movss  0xf8(%rsp),%xmm1
  lea    0x0(%rbp,%rdx,4),%rdx
  mov    %rdx,0x8(%rsp)
  movslq %edi,%rdx
  movss  %xmm1,0x5c(%rsp)
  add    %rax,%rdx
  movss  0xfc(%rsp),%xmm1
  lea    0x0(%rbp,%rdx,4),%r15
  movslq %r8d,%rdx
  movss  %xmm1,0x60(%rsp)
  add    %rax,%rdx
  movss  0x100(%rsp),%xmm1
  lea    0x0(%rbp,%rdx,4),%r14
  movslq %r9d,%rdx
  movss  %xmm1,0x64(%rsp)
  add    %rax,%rdx
  movss  0x104(%rsp),%xmm1
  lea    0x0(%rbp,%rdx,4),%r13
  movslq %r10d,%rdx
  movss  %xmm1,0x68(%rsp)
  add    %rax,%rdx
  movss  0x108(%rsp),%xmm1
  lea    0x0(%rbp,%rdx,4),%r12
  movslq %r11d,%rdx
  movss  %xmm1,0x6c(%rsp)
  add    %rax,%rdx
  movss  0x10c(%rsp),%xmm1
  lea    0x0(%rbp,%rdx,4),%rbp
  movslq %ebx,%rdx
  movss  %xmm1,0x70(%rsp)
  add    %rax,%rdx
  movss  0x110(%rsp),%xmm1
  lea    (%rsi,%rdx,4),%rbx
  movslq 0x38(%rsp),%rdx
  movss  %xmm1,0x74(%rsp)
  movss  0x114(%rsp),%xmm1
  add    %rax,%rdx
  movss  %xmm1,0x78(%rsp)
  lea    (%rsi,%rdx,4),%r11
  movss  0x118(%rsp),%xmm1
  movslq 0x8c(%rsp),%rdx
  movss  %xmm1,0x7c(%rsp)
  add    %rax,%rdx
  movss  0x11c(%rsp),%xmm1
  lea    (%rsi,%rdx,4),%r10
  movss  %xmm1,0x88(%rsp)
  pxor   %xmm1,%xmm1
  movslq 0x90(%rsp),%rdx
  movq   $0x0,0x38(%rsp)
  add    %rax,%rdx
  lea    (%rsi,%rdx,4),%r9
  movslq 0x94(%rsp),%rdx
  add    %rax,%rdx
  lea    (%rsi,%rdx,4),%r8
  movslq 0x98(%rsp),%rdx
  add    %rax,%rdx
  lea    (%rsi,%rdx,4),%rdi
  movslq 0x9c(%rsp),%rdx
  mov    %rdx,%rcx
  add    %rax,%rdx
  lea    (%rsi,%rdx,4),%rsi
  mov    0x30(%rsp),%edx
  add    %ecx,%edx
  movslq %edx,%rdx
  add    %rax,%rdx
  mov    0x28(%rsp),%rax
  lea    (%rax,%rdx,4),%rcx
  lea    0xa0(%rsp),%rax
  mov    %rax,0x28(%rsp)
  mov    %rcx,0x30(%rsp)
L11:
  mov    0x30(%rsp),%rcx
  xor    %eax,%eax
L64:
  mov    0x18(%rsp),%rdx
  pxor   %xmm0,%xmm0
  pxor   %xmm15,%xmm15
  movzbl (%rdx,%rax,1),%edx
  cvtsi2ss %edx,%xmm0
  mov    0x10(%rsp),%rdx
  movzbl (%rdx,%rax,1),%edx
  cvtsi2ss %edx,%xmm15
  mulss  %xmm14,%xmm0
  mov    0x8(%rsp),%rdx
  movzbl (%rdx,%rax,1),%edx
  mulss  %xmm13,%xmm15
  addss  %xmm1,%xmm0
  addss  %xmm15,%xmm0
  pxor   %xmm15,%xmm15
  cvtsi2ss %edx,%xmm15
  movzbl (%r15,%rax,1),%edx
  mulss  %xmm12,%xmm15
  addss  %xmm15,%xmm0
  pxor   %xmm15,%xmm15
  cvtsi2ss %edx,%xmm15
  movzbl (%r14,%rax,1),%edx
  mulss  %xmm11,%xmm15
  addss  %xmm15,%xmm0
  pxor   %xmm15,%xmm15
  cvtsi2ss %edx,%xmm15
  movzbl 0x0(%r13,%rax,1),%edx
  mulss  %xmm10,%xmm15
  addss  %xmm15,%xmm0
  pxor   %xmm15,%xmm15
  cvtsi2ss %edx,%xmm15
  movzbl (%r12,%rax,1),%edx
  mulss  %xmm9,%xmm15
  addss  %xmm15,%xmm0
  pxor   %xmm15,%xmm15
  cvtsi2ss %edx,%xmm15
  movzbl 0x0(%rbp,%rax,1),%edx
  mulss  %xmm8,%xmm15
  addss  %xmm15,%xmm0
  pxor   %xmm15,%xmm15
  cvtsi2ss %edx,%xmm15
  movzbl (%rbx,%rax,1),%edx
  mulss  %xmm7,%xmm15
  addss  %xmm15,%xmm0
  pxor   %xmm15,%xmm15
  cvtsi2ss %edx,%xmm15
  movzbl (%r11,%rax,1),%edx
  mulss  %xmm6,%xmm15
  addss  %xmm15,%xmm0
  pxor   %xmm15,%xmm15
  cvtsi2ss %edx,%xmm15
  movzbl (%r10,%rax,1),%edx
  mulss  %xmm5,%xmm15
  addss  %xmm15,%xmm0
  pxor   %xmm15,%xmm15
  cvtsi2ss %edx,%xmm15
  movzbl (%r9,%rax,1),%edx
  mulss  %xmm4,%xmm15
  addss  %xmm15,%xmm0
  pxor   %xmm15,%xmm15
  cvtsi2ss %edx,%xmm15
  movzbl (%r8,%rax,1),%edx
  mulss  %xmm3,%xmm15
  addss  %xmm15,%xmm0
  pxor   %xmm15,%xmm15
  cvtsi2ss %edx,%xmm15
  movzbl (%rdi,%rax,1),%edx
  mulss  %xmm2,%xmm15
  addss  %xmm15,%xmm0
  pxor   %xmm15,%xmm15
  cvtsi2ss %edx,%xmm15
  mulss  0x20(%rsp),%xmm15
  movzbl (%rsi,%rax,1),%edx
  addss  %xmm15,%xmm0
  pxor   %xmm15,%xmm15
  cvtsi2ss %edx,%xmm15
  mulss  0x24(%rsp),%xmm15
  movzbl (%rcx,%rax,1),%edx
  addss  %xmm15,%xmm0
  pxor   %xmm15,%xmm15
  cvtsi2ss %edx,%xmm15
  mulss  0x40(%rsp),%xmm15
  mov    0x28(%rsp),%rdx
  addss  %xmm15,%xmm0
  movss  %xmm0,(%rdx,%rax,1)
  add    $0x4,%rax
  cmp    $0x40,%rax
  jne    L64
  movss  0x44(%rsp),%xmm0
  movss  0x48(%rsp),%xmm15
  mov    %rcx,0x30(%rsp)
  xor    %eax,%eax
  mulss  0xa0(%rsp),%xmm0
  mulss  0xa4(%rsp),%xmm15
  addss  %xmm1,%xmm0
  addss  %xmm15,%xmm0
  movss  0x4c(%rsp),%xmm15
  mulss  0xa8(%rsp),%xmm15
  addss  %xmm15,%xmm0
  movss  0x50(%rsp),%xmm15
  mulss  0xac(%rsp),%xmm15
  addss  %xmm15,%xmm0
  movss  0x54(%rsp),%xmm15
  mulss  0xb0(%rsp),%xmm15
  addss  %xmm15,%xmm0
  movss  0x58(%rsp),%xmm15
  mulss  0xb4(%rsp),%xmm15
  addss  %xmm15,%xmm0
  movss  0x5c(%rsp),%xmm15
  mulss  0xb8(%rsp),%xmm15
  addss  %xmm15,%xmm0
  movss  0x60(%rsp),%xmm15
  mulss  0xbc(%rsp),%xmm15
  addss  %xmm15,%xmm0
  movss  0x64(%rsp),%xmm15
  mulss  0xc0(%rsp),%xmm15
  addss  %xmm15,%xmm0
  movss  0x68(%rsp),%xmm15
  mulss  0xc4(%rsp),%xmm15
  addss  %xmm15,%xmm0
  movss  0x6c(%rsp),%xmm15
  mulss  0xc8(%rsp),%xmm15
  addss  %xmm15,%xmm0
  movss  0x70(%rsp),%xmm15
  mulss  0xcc(%rsp),%xmm15
  addss  %xmm15,%xmm0
  movss  0x74(%rsp),%xmm15
  mulss  0xd0(%rsp),%xmm15
  addss  %xmm15,%xmm0
  movss  0x78(%rsp),%xmm15
  mulss  0xd4(%rsp),%xmm15
  addss  %xmm15,%xmm0
  movss  0x7c(%rsp),%xmm15
  mulss  0xd8(%rsp),%xmm15
  addss  %xmm15,%xmm0
  movss  0x88(%rsp),%xmm15
  mulss  0xdc(%rsp),%xmm15
  addss  %xmm0,%xmm15
  comiss %xmm15,%xmm1
  ja     L7
  comiss D113(%rip),%xmm15
  mov    $0xffffffff,%eax
  jbe    L22
L7:
  mov    0x38(%rsp),%rdx
  addq   $0x1,0x18(%rsp)
  add    $0x1,%r15
  add    $0x1,%r14
  mov    0x80(%rsp),%rcx
  addq   $0x1,0x10(%rsp)
  add    $0x1,%r13
  add    $0x1,%r12
  add    $0x1,%rbp
  add    $0x1,%rbx
  add    $0x1,%r11
  add    $0x1,%r10
  mov    %al,(%rcx,%rdx,1)
  mov    %rdx,%rax
  add    $0x1,%r9
  add    $0x1,%r8
  add    $0x1,%rax
  addq   $0x1,0x8(%rsp)
  add    $0x1,%rdi
  add    $0x1,%rsi
  addq   $0x1,0x30(%rsp)
  mov    %rax,0x38(%rsp)
  cmp    $0x4,%rax
  jne    L11
  mov    0x168(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L49
  add    $0x178,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L22:
  cvttss2si %xmm15,%eax
  jmp    L7
L49:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_tag: D58
data_type: f32
name: parse_data
arguments: data_tag: D54
data_type: f32
name: parse_data
arguments: data_tag: D30
data_type: f32[2]
name: parse_data
arguments: data_tag: D115
data_type: f32
name: parse_data
arguments: data_tag: D113
data_type: f32

tool: D58: 3.141592654

tool: D54: 0.125

tool: {"D30": [0.0,1.5]}

tool: D115: 1

tool: D113: 256

assistant: ```c
int interpSC16_b32(unsigned char *sl, int w, int h, float x, float y, unsigned char *v) {
  int i, j, m, b, n;
  float pp, p[16], wx[16], wy[16], xx, xxx, x1;
  float PI = 3.141592654;
  m = (int)ceilf(x) - 8;
  if (m < 0)
    m = 0;
  if ((m + 17) > w)
    m = w - 16;
  n = (int)ceilf(y) - 8;
  if (n < 0)
    n = 0;
  if ((n + 17) > h)
    n = h - 16;
  xx = y - n;
  for (i = 7; i >= 0; i--) {
    x1 = xx * PI;
    wy[7 - i] = (sin(x1) / (x1)) * (sin(x1 * 0.125) / (x1 * 0.125));
    xxx = (float)(2 * i + 1) - xx;
    x1 = xxx * PI;
    wy[8 + i] = (sin(x1) / (x1)) * (sin(x1 * 0.125) / (x1 * 0.125));
    xx = xx - 1.0;
  }
  xx = x - m;
  for (i = 7; i >= 0; i--) {
    x1 = xx * PI;
    wx[7 - i] = (sin(x1) / (x1)) * (sin(x1 * 0.125) / (x1 * 0.125));
    xxx = (float)(2 * i + 1) - xx;
    x1 = xxx * PI;
    wx[8 + i] = (sin(x1) / (x1)) * (sin(x1 * 0.125) / (x1 * 0.125));
    xx = xx - 1.0;
  }
  for (b = 0; b < 4; b++) {
    for (i = 0; i < 16; i++) {
      p[i] = 0.0;
      for (j = 0; j < 16; j++) {
        p[i] = p[i] + wy[j] * sl[4 * ((j + n) * w + i + m) + b];
      }
    }
    pp = 0.0;
    for (i = 0; i < 16; 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;
}
```