user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<NURBSsurfaceBasisX4Max>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xc0,%rsp
  mov    %edi,-0x54(%rbp)
  mov    %esi,-0x58(%rbp)
  mov    %rdx,-0x60(%rbp)
  mov    %ecx,-0x64(%rbp)
  mov    %r8d,-0x68(%rbp)
  mov    %r9,-0x70(%rbp)
  mov    0x10(%rbp),%rax
  mov    %rax,-0x78(%rbp)
  mov    0x18(%rbp),%rax
  mov    %rax,-0x80(%rbp)
  mov    0x20(%rbp),%rax
  mov    %rax,-0x88(%rbp)
  mov    0x28(%rbp),%rax
  mov    %rax,-0x90(%rbp)
  mov    0x30(%rbp),%rax
  mov    %rax,-0x98(%rbp)
  mov    0x38(%rbp),%rax
  mov    %rax,-0xa0(%rbp)
  mov    0x40(%rbp),%rax
  mov    %rax,-0xa8(%rbp)
  mov    0x48(%rbp),%rax
  mov    %rax,-0xb0(%rbp)
  mov    0x50(%rbp),%rax
  mov    %rax,-0xb8(%rbp)
  mov    0x58(%rbp),%rax
  mov    %rax,-0xc0(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  mov    -0x54(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0x38(%rbp)
  mov    -0x58(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0x34(%rbp)
  movl   $0x0,-0x3c(%rbp)
  movl   $0x0,-0x44(%rbp)
  jmp    L41
L9:
  movl   $0x0,-0x40(%rbp)
  jmp    L23
L47:
  mov    -0x44(%rbp),%eax
  imul   -0x64(%rbp),%eax
  mov    %eax,%edx
  mov    -0x40(%rbp),%eax
  add    %edx,%eax
  add    %eax,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mov    -0x44(%rbp),%eax
  imul   -0x64(%rbp),%eax
  mov    %eax,%edx
  mov    -0x40(%rbp),%eax
  add    %edx,%eax
  add    $0x1,%eax
  add    %eax,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  addsd  %xmm0,%xmm1
  mov    -0x44(%rbp),%eax
  add    $0x1,%eax
  imul   -0x64(%rbp),%eax
  mov    %eax,%edx
  mov    -0x40(%rbp),%eax
  add    %edx,%eax
  add    %eax,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  addsd  %xmm0,%xmm1
  mov    -0x44(%rbp),%eax
  add    $0x1,%eax
  imul   -0x64(%rbp),%eax
  mov    %eax,%edx
  mov    -0x40(%rbp),%eax
  add    %edx,%eax
  add    $0x1,%eax
  add    %eax,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  addsd  %xmm0,%xmm1
  movsd  D19(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x20(%rbp)
  mov    -0x44(%rbp),%eax
  imul   -0x64(%rbp),%eax
  mov    %eax,%edx
  mov    -0x40(%rbp),%eax
  add    %edx,%eax
  add    %eax,%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mov    -0x44(%rbp),%eax
  imul   -0x64(%rbp),%eax
  mov    %eax,%edx
  mov    -0x40(%rbp),%eax
  add    %edx,%eax
  add    $0x1,%eax
  add    %eax,%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  addsd  %xmm0,%xmm1
  mov    -0x44(%rbp),%eax
  add    $0x1,%eax
  imul   -0x64(%rbp),%eax
  mov    %eax,%edx
  mov    -0x40(%rbp),%eax
  add    %edx,%eax
  add    %eax,%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  addsd  %xmm0,%xmm1
  mov    -0x44(%rbp),%eax
  add    $0x1,%eax
  imul   -0x64(%rbp),%eax
  mov    %eax,%edx
  mov    -0x40(%rbp),%eax
  add    %edx,%eax
  add    $0x1,%eax
  add    %eax,%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  addsd  %xmm0,%xmm1
  movsd  D19(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x18(%rbp)
  mov    -0x40(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    -0x38(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x70(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x40(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x70(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  movsd  D0(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x30(%rbp)
  mov    -0x44(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    -0x34(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x44(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  movsd  D0(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x28(%rbp)
  mov    -0x58(%rbp),%r9d
  mov    -0x54(%rbp),%r8d
  movsd  -0x28(%rbp),%xmm0
  mov    -0x30(%rbp),%rcx
  lea    -0x20(%rbp),%rdx
  mov    -0x40(%rbp),%esi
  mov    -0x44(%rbp),%eax
  sub    $0x8,%rsp
  push   -0xc0(%rbp)
  push   -0xb8(%rbp)
  push   -0xb0(%rbp)
  push   -0xa8(%rbp)
  push   -0xa0(%rbp)
  push   -0x98(%rbp)
  push   -0x90(%rbp)
  push   -0x88(%rbp)
  push   -0x78(%rbp)
  push   -0x70(%rbp)
  mov    -0x68(%rbp),%edi
  push   %rdi
  mov    -0x64(%rbp),%edi
  push   %rdi
  push   -0x60(%rbp)
  movapd %xmm0,%xmm1
  movq   %rcx,%xmm0
  mov    %rdx,%rcx
  mov    $0x6,%edx
  mov    %eax,%edi
  call   <findNURBSbasisFunIso4xCP@plt>
  add    $0x70,%rsp
  mov    -0x3c(%rbp),%eax
  add    %eax,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x80(%rbp),%rax
  add    %rdx,%rax
  movsd  -0x20(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x3c(%rbp),%eax
  add    %eax,%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x80(%rbp),%rax
  add    %rdx,%rax
  movsd  -0x18(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x3c(%rbp)
  addl   $0x1,-0x40(%rbp)
L23:
  mov    -0x64(%rbp),%eax
  sub    $0x1,%eax
  cmp    %eax,-0x40(%rbp)
  jl     L47
  addl   $0x1,-0x44(%rbp)
L41:
  mov    -0x68(%rbp),%eax
  sub    $0x1,%eax
  cmp    %eax,-0x44(%rbp)
  jl     L9
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L43
  call   <__stack_chk_fail@plt>
L43:
  leave
  ret
```

tool_calls: name: parse_data
arguments: data_tag: D19
data_type: f64
name: parse_data
arguments: data_tag: D0
data_type: f64

tool: D19: 0.25

tool: D0: 0.1

assistant: ```c
void NURBSsurfaceBasisX4Max(int degU, int degV, double *cp, int ncp, int kcp, double *knotU, double *knotV, double *us, double *usX1max, double *basisVals, double *leftU, double *rightU, double *NU, double *leftV, double *rightV, double *NV) {
  int ii, jj, nus, orderU, orderV;
  double uv[2], stepU, stepV;
  orderU = degU + 1;
  orderV = degV + 1;
  nus = 0;
  for (ii = 0; ii <= (kcp - 2); ii++) {
    for (jj = 0; jj <= (ncp - 2); jj++) {
      uv[0] = 0.25 * (usX1max[2 * (ii * ncp + jj)] + usX1max[2 * (ii * ncp + jj + 1)] + usX1max[2 * ((ii + 1) * ncp + jj)] + usX1max[2 * ((ii + 1) * ncp + jj + 1)]);
      uv[1] = 0.25 * (usX1max[2 * (ii * ncp + jj) + 1] + usX1max[2 * (ii * ncp + jj + 1) + 1] + usX1max[2 * ((ii + 1) * ncp + jj) + 1] + usX1max[2 * ((ii + 1) * ncp + jj + 1) + 1]);
      stepU = 0.1 * (knotU[jj + 1 + orderU] - knotU[jj]);
      stepV = 0.1 * (knotV[ii + 1 + orderV] - knotV[ii]);
      findNURBSbasisFunIso4xCP(ii, jj, 6, uv, stepU, stepV, degU, degV, cp, ncp, kcp, knotU, knotV, usX1max, basisVals, leftU, rightU, NU, leftV, rightV, NV);
      us[2 * nus] = uv[0];
      us[2 * nus + 1] = uv[1];
      nus++;
    }
  }
}
```