user: 提供的汇编代码用C语言表示会是什么样子:

```asm
<lineSearchUpdateOffsetNURBS>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x140,%rsp
  mov    %edi,-0xa4(%rbp)
  mov    %esi,-0xa8(%rbp)
  mov    %rdx,-0xb0(%rbp)
  mov    %rcx,-0xb8(%rbp)
  mov    %r8d,-0xbc(%rbp)
  mov    %r9d,-0xc0(%rbp)
  mov    0x10(%rbp),%rax
  mov    %rax,-0xc8(%rbp)
  mov    0x18(%rbp),%rax
  mov    %rax,-0xd0(%rbp)
  mov    0x20(%rbp),%rax
  mov    %rax,-0xd8(%rbp)
  mov    0x30(%rbp),%rax
  mov    %rax,-0xe0(%rbp)
  mov    0x38(%rbp),%rax
  mov    %rax,-0xe8(%rbp)
  mov    0x40(%rbp),%rax
  mov    %rax,-0xf0(%rbp)
  mov    0x48(%rbp),%rax
  mov    %rax,-0xf8(%rbp)
  mov    0x50(%rbp),%rax
  mov    %rax,-0x100(%rbp)
  mov    0x58(%rbp),%rax
  mov    %rax,-0x108(%rbp)
  mov    0x60(%rbp),%rax
  mov    %rax,-0x110(%rbp)
  mov    0x68(%rbp),%rax
  mov    %rax,-0x118(%rbp)
  mov    0x70(%rbp),%rax
  mov    %rax,-0x120(%rbp)
  mov    0x78(%rbp),%rax
  mov    %rax,-0x128(%rbp)
  mov    0x80(%rbp),%rax
  mov    %rax,-0x130(%rbp)
  mov    0x88(%rbp),%rax
  mov    %rax,-0x138(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x40(%rbp)
  movsd  D4(%rip),%xmm0
  movsd  %xmm0,-0x38(%rbp)
  mov    -0xbc(%rbp),%eax
  shl    $0x2,%eax
  mov    %eax,-0x88(%rbp)
  mov    -0xa4(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0x84(%rbp)
  mov    -0xa8(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0x80(%rbp)
  mov    -0xbc(%rbp),%eax
  imul   -0xc0(%rbp),%eax
  mov    %eax,-0x7c(%rbp)
  mov    -0x7c(%rbp),%eax
  sub    $0x4,%eax
  add    %eax,%eax
  mov    %eax,-0x78(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x58(%rbp)
  movl   $0x0,-0x94(%rbp)
  jmp    L189
L37:
  mov    -0x94(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0xf0(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mov    -0x94(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0xf0(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  -0x58(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x58(%rbp)
  addl   $0x1,-0x94(%rbp)
L189:
  mov    -0x94(%rbp),%eax
  cmp    0x28(%rbp),%eax
  jl     L37
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x50(%rbp)
  movl   $0x0,-0x94(%rbp)
  jmp    L95
L87:
  mov    -0x94(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x100(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mov    -0x94(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x108(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  -0x50(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x50(%rbp)
  addl   $0x1,-0x94(%rbp)
L95:
  mov    -0x94(%rbp),%eax
  cmp    -0x78(%rbp),%eax
  jl     L87
  movsd  -0x50(%rbp),%xmm1
  movsd  D24(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x50(%rbp)
  movl   $0x0,-0x90(%rbp)
  jmp    L48
L93:
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x48(%rbp)
  movl   $0x0,-0x94(%rbp)
  jmp    L38
L27:
  mov    -0x94(%rbp),%eax
  add    %eax,%eax
  mov    %eax,-0x74(%rbp)
  mov    -0x94(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  mov    %eax,-0x70(%rbp)
  mov    -0x74(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0xd8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rsi
  mov    -0xc8(%rbp),%rdx
  mov    -0xa4(%rbp),%ecx
  mov    -0xbc(%rbp),%eax
  movq   %rsi,%xmm0
  mov    %ecx,%esi
  mov    %eax,%edi
  call   <FindSpan@plt>
  mov    %eax,-0x6c(%rbp)
  mov    -0x74(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0xd8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdi
  mov    -0x118(%rbp),%r9
  mov    -0x110(%rbp),%r8
  mov    -0x120(%rbp),%rcx
  mov    -0xc8(%rbp),%rdx
  mov    -0xa4(%rbp),%esi
  mov    -0x6c(%rbp),%eax
  movq   %rdi,%xmm0
  mov    %eax,%edi
  call   <BasisFuns@plt>
  mov    -0x6c(%rbp),%eax
  sub    -0xa4(%rbp),%eax
  mov    %eax,-0x68(%rbp)
  mov    -0x74(%rbp),%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0xd8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rsi
  mov    -0xd0(%rbp),%rdx
  mov    -0xa8(%rbp),%ecx
  mov    -0xc0(%rbp),%eax
  movq   %rsi,%xmm0
  mov    %ecx,%esi
  mov    %eax,%edi
  call   <FindSpan@plt>
  mov    %eax,-0x64(%rbp)
  mov    -0x74(%rbp),%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0xd8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdi
  mov    -0x130(%rbp),%r9
  mov    -0x128(%rbp),%r8
  mov    -0x138(%rbp),%rcx
  mov    -0xd0(%rbp),%rdx
  mov    -0xa8(%rbp),%esi
  mov    -0x64(%rbp),%eax
  movq   %rdi,%xmm0
  mov    %eax,%edi
  call   <BasisFuns@plt>
  mov    -0x64(%rbp),%eax
  sub    -0xa8(%rbp),%eax
  mov    %eax,-0x60(%rbp)
  mov    -0x60(%rbp),%eax
  imul   -0x88(%rbp),%eax
  mov    %eax,%edx
  mov    -0x68(%rbp),%eax
  shl    $0x2,%eax
  add    %edx,%eax
  mov    %eax,-0x5c(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x30(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x28(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x20(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x18(%rbp)
  movl   $0x0,-0x9c(%rbp)
  jmp    L0
L92:
  movl   $0x0,-0x98(%rbp)
  jmp    L104
L7:
  mov    -0x60(%rbp),%edx
  mov    -0x9c(%rbp),%eax
  add    %edx,%eax
  imul   -0xbc(%rbp),%eax
  mov    %eax,%edx
  mov    -0x68(%rbp),%eax
  add    %eax,%edx
  mov    -0x98(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x8c(%rbp)
  mov    -0x8c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0xf8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  cmp    %eax,-0x7c(%rbp)
  jle    L98
  movsd  -0x30(%rbp),%xmm1
  mov    -0x9c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x138(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm2
  mov    -0x98(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x120(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm0,%xmm2
  mov    -0x8c(%rbp),%eax
  shl    $0x2,%eax
  cltq
  add    $0x3,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0xb0(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm3
  mov    -0x8c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0xf8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  add    %eax,%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x100(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  -0x38(%rbp),%xmm0
  addsd  %xmm3,%xmm0
  mulsd  %xmm0,%xmm2
  mov    -0x8c(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0xb8(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm3
  mov    -0x8c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0xf8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  add    %eax,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x100(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movapd %xmm0,%xmm4
  mulsd  -0x38(%rbp),%xmm4
  mov    -0x8c(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0xe8(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm4,%xmm0
  addsd  %xmm3,%xmm0
  mulsd  %xmm2,%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x30(%rbp)
  movsd  -0x28(%rbp),%xmm1
  mov    -0x9c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x138(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm2
  mov    -0x98(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x120(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm0,%xmm2
  mov    -0x8c(%rbp),%eax
  shl    $0x2,%eax
  cltq
  add    $0x3,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0xb0(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm3
  mov    -0x8c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0xf8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  add    %eax,%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x100(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  -0x38(%rbp),%xmm0
  addsd  %xmm3,%xmm0
  mulsd  %xmm0,%xmm2
  mov    -0x8c(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0xb8(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm3
  mov    -0x8c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0xf8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  add    %eax,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x100(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movapd %xmm0,%xmm4
  mulsd  -0x38(%rbp),%xmm4
  mov    -0x8c(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0xe8(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm4,%xmm0
  addsd  %xmm3,%xmm0
  mulsd  %xmm2,%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x28(%rbp)
  movsd  -0x20(%rbp),%xmm1
  mov    -0x9c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x138(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm2
  mov    -0x98(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x120(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm0,%xmm2
  mov    -0x8c(%rbp),%eax
  shl    $0x2,%eax
  cltq
  add    $0x3,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0xb0(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm3
  mov    -0x8c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0xf8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  add    %eax,%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x100(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  -0x38(%rbp),%xmm0
  addsd  %xmm3,%xmm0
  mulsd  %xmm0,%xmm2
  mov    -0x8c(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  add    $0x2,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0xb8(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm3
  mov    -0x8c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0xf8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  add    %eax,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x100(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movapd %xmm0,%xmm4
  mulsd  -0x38(%rbp),%xmm4
  mov    -0x8c(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  add    $0x2,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0xe8(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm4,%xmm0
  addsd  %xmm3,%xmm0
  mulsd  %xmm2,%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x20(%rbp)
  movsd  -0x18(%rbp),%xmm1
  mov    -0x9c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x138(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm2
  mov    -0x98(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x120(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm0,%xmm2
  mov    -0x8c(%rbp),%eax
  shl    $0x2,%eax
  cltq
  add    $0x3,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0xb0(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm3
  mov    -0x8c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0xf8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  add    %eax,%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x100(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  -0x38(%rbp),%xmm0
  addsd  %xmm3,%xmm0
  mulsd  %xmm2,%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x18(%rbp)
  jmp    L194
L98:
  movsd  -0x30(%rbp),%xmm1
  mov    -0x9c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x138(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm2
  mov    -0x98(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x120(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm0,%xmm2
  mov    -0x8c(%rbp),%eax
  shl    $0x2,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0xb0(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm2,%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x30(%rbp)
  movsd  -0x28(%rbp),%xmm1
  mov    -0x9c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x138(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm2
  mov    -0x98(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x120(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm0,%xmm2
  mov    -0x8c(%rbp),%eax
  shl    $0x2,%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0xb0(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm2,%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x28(%rbp)
  movsd  -0x20(%rbp),%xmm1
  mov    -0x9c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x138(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm2
  mov    -0x98(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x120(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm0,%xmm2
  mov    -0x8c(%rbp),%eax
  shl    $0x2,%eax
  cltq
  add    $0x2,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0xb0(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm2,%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x20(%rbp)
  movsd  -0x18(%rbp),%xmm1
  mov    -0x9c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x138(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm2
  mov    -0x98(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x120(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm0,%xmm2
  mov    -0x8c(%rbp),%eax
  shl    $0x2,%eax
  cltq
  add    $0x3,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0xb0(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm2,%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x18(%rbp)
L194:
  addl   $0x1,-0x98(%rbp)
L104:
  mov    -0x98(%rbp),%eax
  cmp    -0xa4(%rbp),%eax
  jle    L7
  addl   $0x1,-0x9c(%rbp)
L0:
  mov    -0x9c(%rbp),%eax
  cmp    -0xa8(%rbp),%eax
  jle    L92
  mov    -0x70(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0xe0(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  movsd  -0x30(%rbp),%xmm0
  mulsd  %xmm0,%xmm1
  mov    -0x70(%rbp),%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0xe0(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm2
  movsd  -0x28(%rbp),%xmm0
  mulsd  %xmm2,%xmm0
  addsd  %xmm0,%xmm1
  mov    -0x70(%rbp),%eax
  cltq
  add    $0x2,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0xe0(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm2
  movsd  -0x20(%rbp),%xmm0
  mulsd  %xmm2,%xmm0
  addsd  %xmm1,%xmm0
  movsd  -0x18(%rbp),%xmm2
  movapd %xmm0,%xmm1
  divsd  %xmm2,%xmm1
  mov    -0x94(%rbp),%edx
  mov    0x28(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0xf0(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  addsd  %xmm0,%xmm1
  movq   %xmm1,%rax
  movq   %rax,%xmm0
  call   <pwr2@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %rax,%xmm0
  movsd  -0x48(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x48(%rbp)
  addl   $0x1,-0x94(%rbp)
L38:
  mov    -0x94(%rbp),%eax
  cmp    0x28(%rbp),%eax
  jl     L27
  movsd  -0x38(%rbp),%xmm0
  mulsd  -0x50(%rbp),%xmm0
  addsd  -0x58(%rbp),%xmm0
  comisd -0x48(%rbp),%xmm0
  jbe    L111
  movsd  -0x58(%rbp),%xmm0
  subsd  -0x48(%rbp),%xmm0
  movsd  %xmm0,-0x40(%rbp)
  movl   $0x0,-0x8c(%rbp)
  jmp    L40
L168:
  mov    -0x8c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0xf8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  cmp    %eax,-0x7c(%rbp)
  jle    L164
  mov    -0x8c(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0xb8(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mov    -0x8c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0xf8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  add    %eax,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x100(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movapd %xmm0,%xmm2
  mulsd  -0x38(%rbp),%xmm2
  mov    -0x8c(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0xe8(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm2,%xmm0
  mov    -0x8c(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0xb8(%rbp),%rax
  add    %rdx,%rax
  addsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x8c(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0xb8(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mov    -0x8c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0xf8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  add    %eax,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x100(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movapd %xmm0,%xmm2
  mulsd  -0x38(%rbp),%xmm2
  mov    -0x8c(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0xe8(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm2,%xmm0
  mov    -0x8c(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0xb8(%rbp),%rax
  add    %rdx,%rax
  addsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x8c(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  add    $0x2,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0xb8(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mov    -0x8c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0xf8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  add    %eax,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x100(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movapd %xmm0,%xmm2
  mulsd  -0x38(%rbp),%xmm2
  mov    -0x8c(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  add    $0x2,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0xe8(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm2,%xmm0
  mov    -0x8c(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  add    $0x2,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0xb8(%rbp),%rax
  add    %rdx,%rax
  addsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x8c(%rbp),%eax
  shl    $0x2,%eax
  cltq
  add    $0x3,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0xb0(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mov    -0x8c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0xf8(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  add    %eax,%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x100(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  -0x38(%rbp),%xmm0
  mov    -0x8c(%rbp),%eax
  shl    $0x2,%eax
  cltq
  add    $0x3,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0xb0(%rbp),%rax
  add    %rdx,%rax
  addsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x8c(%rbp),%eax
  shl    $0x2,%eax
  cltq
  add    $0x3,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0xb0(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mov    -0x8c(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0xb8(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x8c(%rbp),%eax
  shl    $0x2,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0xb0(%rbp),%rax
  add    %rdx,%rax
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x8c(%rbp),%eax
  shl    $0x2,%eax
  cltq
  add    $0x3,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0xb0(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mov    -0x8c(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0xb8(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x8c(%rbp),%eax
  shl    $0x2,%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0xb0(%rbp),%rax
  add    %rdx,%rax
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x8c(%rbp),%eax
  shl    $0x2,%eax
  cltq
  add    $0x3,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0xb0(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mov    -0x8c(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  add    $0x2,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0xb8(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x8c(%rbp),%eax
  shl    $0x2,%eax
  cltq
  add    $0x2,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0xb0(%rbp),%rax
  add    %rdx,%rax
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
L164:
  addl   $0x1,-0x8c(%rbp)
L40:
  mov    -0x8c(%rbp),%eax
  cmp    -0x7c(%rbp),%eax
  jl     L168
  jmp    L39
L111:
  movsd  -0x38(%rbp),%xmm1
  movsd  D24(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x38(%rbp)
  addl   $0x1,-0x90(%rbp)
L48:
  cmpl   $0x31,-0x90(%rbp)
  jle    L93
L39:
  movsd  -0x40(%rbp),%xmm0
  movq   %xmm0,%rax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L69
  call   <__stack_chk_fail@plt>
L69:
  movq   %rax,%xmm0
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: label: D4
type_guessed: f64
name: extract_symbolic_data
arguments: label: D24
type_guessed: f64

tool: D4: 1

tool: D24: 0.5

assistant: ```c
double lineSearchUpdateOffsetNURBS(int degU, int degV, double *cpw, double *cp, int ncp, int kcp, double *knotU, double *knotV, double *us, int nus, double *dirOffset, double *cpDir, double *sgnDistDiff, int *matInds, double *gnDir, double *gradIent, double *leftU, double *rightU, double *NU, double *leftV, double *rightV, double *NV) {
  int i, j, ii, itr, twoii, threeii, spanU, spanV, ind, ind2, fourncp, myint, numCP, numRows, orderU, orderV, cpInd;
  double bspnt[4], f0, scfp0, falpha, fdiff = 0.0, alpha = 1.0;
  fourncp = 4 * ncp;
  orderU = degU + 1;
  orderV = degV + 1;
  numCP = ncp * kcp;
  numRows = 2 * (numCP - 4);
  f0 = 0.0;
  for (ii = 0; ii < nus; ii++) {
    f0 += sgnDistDiff[ii] * sgnDistDiff[ii];
  }
  scfp0 = 0.0;
  for (ii = 0; ii < numRows; ii++) {
    scfp0 += gnDir[ii] * gradIent[ii];
  }
  scfp0 = 0.5 * scfp0;
  for (itr = 0; itr < 50; itr++) {
    falpha = 0.0;
    for (ii = 0; ii < nus; ii++) {
      twoii = 2 * ii;
      threeii = 3 * ii;
      spanU = FindSpan(ncp, degU, us[twoii], knotU);
      BasisFuns(spanU, us[twoii], degU, knotU, NU, leftU, rightU);
      ind = spanU - degU;
      spanV = FindSpan(kcp, degV, us[twoii + 1], knotV);
      BasisFuns(spanV, us[twoii + 1], degV, knotV, NV, leftV, rightV);
      ind2 = spanV - degV;
      myint = ind2 * fourncp + ind * 4;
      bspnt[0] = 0.0;
      bspnt[1] = 0.0;
      bspnt[2] = 0.0;
      bspnt[3] = 0.0;
      for (i = 0; i <= degV; i++) {
        for (j = 0; j <= degU; j++) {
          cpInd = (ind2 + i) * ncp + ind + j;
          if (matInds[cpInd] < numCP) {
            bspnt[0] += NV[i] * NU[j] * (cpw[4 * cpInd + 3] + alpha * gnDir[2 * matInds[cpInd] + 1]) * (cp[3 * cpInd] + alpha * gnDir[2 * matInds[cpInd]] * cpDir[3 * cpInd]);
            bspnt[1] += NV[i] * NU[j] * (cpw[4 * cpInd + 3] + alpha * gnDir[2 * matInds[cpInd] + 1]) * (cp[3 * cpInd + 1] + alpha * gnDir[2 * matInds[cpInd]] * cpDir[3 * cpInd + 1]);
            bspnt[2] += NV[i] * NU[j] * (cpw[4 * cpInd + 3] + alpha * gnDir[2 * matInds[cpInd] + 1]) * (cp[3 * cpInd + 2] + alpha * gnDir[2 * matInds[cpInd]] * cpDir[3 * cpInd + 2]);
            bspnt[3] += NV[i] * NU[j] * (cpw[4 * cpInd + 3] + alpha * gnDir[2 * matInds[cpInd] + 1]);
          } else {
            bspnt[0] += NV[i] * NU[j] * cpw[4 * cpInd];
            bspnt[1] += NV[i] * NU[j] * cpw[4 * cpInd + 1];
            bspnt[2] += NV[i] * NU[j] * cpw[4 * cpInd + 2];
            bspnt[3] += NV[i] * NU[j] * cpw[4 * cpInd + 3];
          }
        }
      }
      falpha += pwr2((dirOffset[threeii] * bspnt[0] + dirOffset[threeii + 1] * bspnt[1] + dirOffset[threeii + 2] * bspnt[2]) / bspnt[3] + sgnDistDiff[ii + nus]);
    }
    if (falpha < (f0 + alpha * scfp0)) {
      fdiff = f0 - falpha;
      for (cpInd = 0; cpInd < numCP; cpInd++) {
        if (matInds[cpInd] < numCP) {
          cp[3 * cpInd] += alpha * gnDir[2 * matInds[cpInd]] * cpDir[3 * cpInd];
          cp[3 * cpInd + 1] += alpha * gnDir[2 * matInds[cpInd]] * cpDir[3 * cpInd + 1];
          cp[3 * cpInd + 2] += alpha * gnDir[2 * matInds[cpInd]] * cpDir[3 * cpInd + 2];
          cpw[4 * cpInd + 3] += alpha * gnDir[2 * matInds[cpInd] + 1];
          cpw[4 * cpInd] = cpw[4 * cpInd + 3] * cp[3 * cpInd];
          cpw[4 * cpInd + 1] = cpw[4 * cpInd + 3] * cp[3 * cpInd + 1];
          cpw[4 * cpInd + 2] = cpw[4 * cpInd + 3] * cp[3 * cpInd + 2];
        }
      }
      break;
    } else {
      alpha = 0.5 * alpha;
    }
  }
  return (fdiff);
}
```