user: 请将以下的汇编代码转换成C语言代码：

```asm
<sv2uv>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xa0,%rsp
  mov    %rdi,-0x78(%rbp)
  mov    %rsi,-0x80(%rbp)
  mov    %rdx,-0x88(%rbp)
  mov    %ecx,-0x8c(%rbp)
  mov    %r8,-0x98(%rbp)
  mov    %r9d,-0x90(%rbp)
  mov    -0x8c(%rbp),%eax
  cmp    -0x90(%rbp),%eax
  jge    L150
  mov    $0xffffffff,%eax
  jmp    L53
L150:
  mov    -0x8c(%rbp),%edx
  mov    -0x90(%rbp),%eax
  add    %edx,%eax
  mov    $0x8,%esi
  mov    %eax,%edi
  call   <calloc@plt>
  mov    %rax,-0x18(%rbp)
  mov    -0x8c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x10(%rbp)
  movl   $0x0,-0x70(%rbp)
  mov    -0x8c(%rbp),%eax
  mov    %eax,-0x64(%rbp)
  mov    -0x80(%rbp),%rax
  mov    %rax,-0x58(%rbp)
  jmp    L530
L117:
  cmpl   $0x1,-0x64(%rbp)
  jle    L197
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x30(%rbp)
  movsd  -0x30(%rbp),%xmm0
  movsd  %xmm0,-0x20(%rbp)
  movl   $0x0,-0x6c(%rbp)
  mov    -0x58(%rbp),%rax
  mov    %rax,-0x48(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x38(%rbp)
  jmp    L393
L152:
  mov    -0x6c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rax,%rdx
  mov    -0x48(%rbp),%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,(%rdx)
  mov    -0x48(%rbp),%rax
  movsd  (%rax),%xmm1
  mov    -0x48(%rbp),%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  -0x38(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x38(%rbp)
  addl   $0x1,-0x6c(%rbp)
  mov    -0x90(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,-0x48(%rbp)
L393:
  mov    -0x6c(%rbp),%eax
  cmp    -0x64(%rbp),%eax
  jl     L152
  movsd  -0x38(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  comisd %xmm1,%xmm0
  jbe    L76
  mov    -0x38(%rbp),%rax
  movq   %rax,%xmm0
  call   <sqrt@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x30(%rbp)
  mov    -0x58(%rbp),%rax
  movsd  (%rax),%xmm1
  pxor   %xmm0,%xmm0
  comisd %xmm1,%xmm0
  jbe    L387
  movsd  -0x30(%rbp),%xmm0
  movq   D29(%rip),%xmm1
  xorpd  %xmm1,%xmm0
  movsd  %xmm0,-0x30(%rbp)
L387:
  mov    -0x58(%rbp),%rax
  movsd  (%rax),%xmm0
  mulsd  -0x30(%rbp),%xmm0
  movsd  -0x38(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x38(%rbp)
  movsd  D159(%rip),%xmm0
  divsd  -0x38(%rbp),%xmm0
  movsd  %xmm0,-0x38(%rbp)
  mov    -0x18(%rbp),%rax
  movsd  (%rax),%xmm0
  addsd  -0x30(%rbp),%xmm0
  mov    -0x18(%rbp),%rax
  movsd  %xmm0,(%rax)
  mov    -0x18(%rbp),%rax
  movsd  (%rax),%xmm1
  movsd  D159(%rip),%xmm0
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x8(%rbp)
  mov    -0x58(%rbp),%rax
  movsd  (%rax),%xmm0
  divsd  -0x30(%rbp),%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  call   <fabs@plt>
  pxor   %xmm1,%xmm1
  cvtsi2sd %eax,%xmm1
  movsd  D159(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x20(%rbp)
  movl   $0x1,-0x68(%rbp)
  mov    -0x90(%rbp),%eax
  sub    -0x70(%rbp),%eax
  mov    %eax,-0x5c(%rbp)
  jmp    L298
L533:
  movl   $0x0,-0x6c(%rbp)
  mov    -0x68(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x48(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x28(%rbp)
  jmp    L620
L293:
  mov    -0x6c(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x6c(%rbp)
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mov    -0x48(%rbp),%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  -0x28(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x28(%rbp)
  mov    -0x90(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,-0x48(%rbp)
L620:
  mov    -0x6c(%rbp),%eax
  cmp    -0x64(%rbp),%eax
  jl     L293
  movsd  -0x28(%rbp),%xmm0
  mulsd  -0x38(%rbp),%xmm0
  movsd  %xmm0,-0x28(%rbp)
  movl   $0x0,-0x6c(%rbp)
  mov    -0x68(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x48(%rbp)
  jmp    L261
L305:
  mov    -0x6c(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x6c(%rbp)
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x28(%rbp),%xmm1
  mov    -0x48(%rbp),%rax
  movsd  (%rax),%xmm0
  subsd  %xmm1,%xmm0
  mov    -0x48(%rbp),%rax
  movsd  %xmm0,(%rax)
  mov    -0x90(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,-0x48(%rbp)
L261:
  mov    -0x6c(%rbp),%eax
  cmp    -0x64(%rbp),%eax
  jl     L305
  addl   $0x1,-0x68(%rbp)
L298:
  mov    -0x68(%rbp),%eax
  cmp    -0x5c(%rbp),%eax
  jl     L533
  movl   $0x1,-0x6c(%rbp)
  mov    -0x58(%rbp),%rax
  mov    %rax,-0x48(%rbp)
  jmp    L366
L418:
  mov    -0x6c(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x6c(%rbp)
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x90(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,-0x48(%rbp)
  mulsd  -0x8(%rbp),%xmm0
  mov    -0x48(%rbp),%rax
  movsd  %xmm0,(%rax)
L366:
  mov    -0x6c(%rbp),%eax
  cmp    -0x64(%rbp),%eax
  jl     L418
L76:
  mov    -0x58(%rbp),%rax
  movsd  -0x20(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x70(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  movsd  -0x30(%rbp),%xmm0
  movq   D29(%rip),%xmm1
  xorpd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
L197:
  cmpl   $0x1,-0x64(%rbp)
  jne    L481
  mov    -0x70(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x78(%rbp),%rax
  add    %rax,%rdx
  mov    -0x58(%rbp),%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,(%rdx)
L481:
  addl   $0x1,-0x70(%rbp)
  subl   $0x1,-0x64(%rbp)
  mov    -0x90(%rbp),%eax
  cltq
  add    $0x1,%rax
  shl    $0x3,%rax
  add    %rax,-0x58(%rbp)
L530:
  mov    -0x70(%rbp),%eax
  cmp    -0x90(%rbp),%eax
  jl     L117
  mov    -0x90(%rbp),%ecx
  mov    -0x8c(%rbp),%edx
  mov    -0x88(%rbp),%rsi
  mov    -0x80(%rbp),%rax
  mov    %rax,%rdi
  call   <ldumat@plt>
  movl   $0x0,-0x70(%rbp)
  mov    -0x80(%rbp),%rax
  mov    %rax,-0x48(%rbp)
  jmp    L347
L154:
  movl   $0x0,-0x6c(%rbp)
  jmp    L242
L173:
  mov    -0x6c(%rbp),%eax
  cmp    -0x70(%rbp),%eax
  jge    L260
  mov    -0x48(%rbp),%rax
  pxor   %xmm0,%xmm0
  movsd  %xmm0,(%rax)
  jmp    L402
L260:
  mov    -0x6c(%rbp),%eax
  cmp    -0x70(%rbp),%eax
  jne    L402
  mov    -0x70(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x48(%rbp),%rax
  movsd  %xmm0,(%rax)
L402:
  addl   $0x1,-0x6c(%rbp)
  addq   $0x8,-0x48(%rbp)
L242:
  mov    -0x6c(%rbp),%eax
  cmp    -0x90(%rbp),%eax
  jl     L173
  addl   $0x1,-0x70(%rbp)
L347:
  mov    -0x70(%rbp),%eax
  cmp    -0x90(%rbp),%eax
  jl     L154
  movl   $0x0,-0x70(%rbp)
  mov    -0x90(%rbp),%eax
  mov    %eax,-0x64(%rbp)
  mov    -0x90(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0x60(%rbp)
  mov    -0x80(%rbp),%rax
  mov    %rax,-0x58(%rbp)
  jmp    L89
L252:
  cmpl   $0x0,-0x70(%rbp)
  je     L633
  cmpl   $0x1,-0x64(%rbp)
  jle    L633
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x30(%rbp)
  movsd  -0x30(%rbp),%xmm0
  movsd  %xmm0,-0x20(%rbp)
  movl   $0x0,-0x6c(%rbp)
  mov    -0x58(%rbp),%rax
  mov    %rax,-0x48(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x38(%rbp)
  jmp    L424
L422:
  mov    -0x6c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rax,%rdx
  mov    -0x48(%rbp),%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,(%rdx)
  mov    -0x48(%rbp),%rax
  movsd  (%rax),%xmm1
  mov    -0x48(%rbp),%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  -0x38(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x38(%rbp)
  addl   $0x1,-0x6c(%rbp)
  mov    -0x90(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,-0x48(%rbp)
L424:
  mov    -0x6c(%rbp),%eax
  cmp    -0x64(%rbp),%eax
  jl     L422
  movsd  -0x38(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  comisd %xmm1,%xmm0
  jbe    L439
  mov    -0x38(%rbp),%rax
  movq   %rax,%xmm0
  call   <sqrt@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x30(%rbp)
  mov    -0x58(%rbp),%rax
  movsd  (%rax),%xmm1
  pxor   %xmm0,%xmm0
  comisd %xmm1,%xmm0
  jbe    L390
  movsd  -0x30(%rbp),%xmm0
  movq   D29(%rip),%xmm1
  xorpd  %xmm1,%xmm0
  movsd  %xmm0,-0x30(%rbp)
L390:
  mov    -0x58(%rbp),%rax
  movsd  (%rax),%xmm0
  mulsd  -0x30(%rbp),%xmm0
  movsd  -0x38(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x38(%rbp)
  movsd  D159(%rip),%xmm0
  divsd  -0x38(%rbp),%xmm0
  movsd  %xmm0,-0x38(%rbp)
  mov    -0x18(%rbp),%rax
  movsd  (%rax),%xmm0
  addsd  -0x30(%rbp),%xmm0
  mov    -0x18(%rbp),%rax
  movsd  %xmm0,(%rax)
  mov    -0x18(%rbp),%rax
  movsd  (%rax),%xmm1
  movsd  D159(%rip),%xmm0
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x8(%rbp)
  mov    -0x58(%rbp),%rax
  movsd  (%rax),%xmm0
  divsd  -0x30(%rbp),%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  call   <fabs@plt>
  pxor   %xmm1,%xmm1
  cvtsi2sd %eax,%xmm1
  movsd  D159(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x20(%rbp)
  movl   $0x1,-0x68(%rbp)
  mov    -0x90(%rbp),%eax
  sub    -0x70(%rbp),%eax
  mov    %eax,-0x5c(%rbp)
  jmp    L483
L343:
  movl   $0x0,-0x6c(%rbp)
  mov    -0x68(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x48(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x28(%rbp)
  jmp    L33
L131:
  mov    -0x6c(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x6c(%rbp)
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mov    -0x48(%rbp),%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  -0x28(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x28(%rbp)
  mov    -0x90(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,-0x48(%rbp)
L33:
  mov    -0x6c(%rbp),%eax
  cmp    -0x64(%rbp),%eax
  jl     L131
  movl   $0x0,-0x6c(%rbp)
  mov    -0x68(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x48(%rbp)
  movsd  -0x28(%rbp),%xmm0
  mulsd  -0x38(%rbp),%xmm0
  movsd  %xmm0,-0x28(%rbp)
  jmp    L396
L345:
  mov    -0x6c(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x6c(%rbp)
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x28(%rbp),%xmm1
  mov    -0x48(%rbp),%rax
  movsd  (%rax),%xmm0
  subsd  %xmm1,%xmm0
  mov    -0x48(%rbp),%rax
  movsd  %xmm0,(%rax)
  mov    -0x90(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,-0x48(%rbp)
L396:
  mov    -0x6c(%rbp),%eax
  cmp    -0x64(%rbp),%eax
  jl     L345
  addl   $0x1,-0x68(%rbp)
L483:
  mov    -0x68(%rbp),%eax
  cmp    -0x5c(%rbp),%eax
  jl     L343
  movl   $0x0,-0x68(%rbp)
  mov    -0x70(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x88(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x50(%rbp)
  jmp    L1
L136:
  movl   $0x0,-0x6c(%rbp)
  mov    -0x50(%rbp),%rax
  mov    %rax,-0x48(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x28(%rbp)
  jmp    L172
L500:
  mov    -0x6c(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x6c(%rbp)
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mov    -0x48(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    %rdx,-0x48(%rbp)
  movsd  (%rax),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  -0x28(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x28(%rbp)
L172:
  mov    -0x6c(%rbp),%eax
  cmp    -0x64(%rbp),%eax
  jl     L500
  movl   $0x0,-0x6c(%rbp)
  mov    -0x50(%rbp),%rax
  mov    %rax,-0x48(%rbp)
  movsd  -0x28(%rbp),%xmm0
  mulsd  -0x38(%rbp),%xmm0
  movsd  %xmm0,-0x28(%rbp)
  jmp    L523
L289:
  mov    -0x6c(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x6c(%rbp)
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x28(%rbp),%xmm1
  mov    -0x48(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    %rdx,-0x48(%rbp)
  movsd  (%rax),%xmm0
  subsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
L523:
  mov    -0x6c(%rbp),%eax
  cmp    -0x64(%rbp),%eax
  jl     L289
  addl   $0x1,-0x68(%rbp)
  mov    -0x8c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,-0x50(%rbp)
L1:
  mov    -0x68(%rbp),%eax
  cmp    -0x8c(%rbp),%eax
  jl     L136
L439:
  mov    -0x58(%rbp),%rax
  movsd  -0x20(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x70(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  movsd  -0x30(%rbp),%xmm0
  movq   D29(%rip),%xmm1
  xorpd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
L633:
  cmpl   $0x1,-0x64(%rbp)
  jne    L407
  mov    -0x70(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x78(%rbp),%rax
  add    %rax,%rdx
  mov    -0x58(%rbp),%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,(%rdx)
L407:
  mov    -0x58(%rbp),%rax
  add    $0x8,%rax
  mov    %rax,-0x50(%rbp)
  cmpl   $0x1,-0x60(%rbp)
  jle    L362
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x30(%rbp)
  movsd  -0x30(%rbp),%xmm0
  movsd  %xmm0,-0x20(%rbp)
  movl   $0x0,-0x6c(%rbp)
  mov    -0x50(%rbp),%rax
  mov    %rax,-0x48(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x38(%rbp)
  jmp    L437
L296:
  mov    -0x48(%rbp),%rax
  movsd  (%rax),%xmm1
  mov    -0x48(%rbp),%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  -0x38(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x38(%rbp)
  addl   $0x1,-0x6c(%rbp)
  addq   $0x8,-0x48(%rbp)
L437:
  mov    -0x6c(%rbp),%eax
  cmp    -0x60(%rbp),%eax
  jl     L296
  movsd  -0x38(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  comisd %xmm1,%xmm0
  jbe    L125
  mov    -0x38(%rbp),%rax
  movq   %rax,%xmm0
  call   <sqrt@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x30(%rbp)
  mov    -0x50(%rbp),%rax
  movsd  (%rax),%xmm1
  pxor   %xmm0,%xmm0
  comisd %xmm1,%xmm0
  jbe    L623
  movsd  -0x30(%rbp),%xmm0
  movq   D29(%rip),%xmm1
  xorpd  %xmm1,%xmm0
  movsd  %xmm0,-0x30(%rbp)
L623:
  mov    -0x50(%rbp),%rax
  movsd  (%rax),%xmm0
  divsd  -0x30(%rbp),%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  call   <fabs@plt>
  pxor   %xmm1,%xmm1
  cvtsi2sd %eax,%xmm1
  movsd  D159(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x20(%rbp)
  mov    -0x50(%rbp),%rax
  movsd  (%rax),%xmm0
  mulsd  -0x30(%rbp),%xmm0
  movsd  -0x38(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x38(%rbp)
  movsd  D159(%rip),%xmm0
  divsd  -0x38(%rbp),%xmm0
  movsd  %xmm0,-0x38(%rbp)
  mov    -0x50(%rbp),%rax
  movsd  (%rax),%xmm0
  addsd  -0x30(%rbp),%xmm0
  mov    -0x50(%rbp),%rax
  movsd  %xmm0,(%rax)
  mov    -0x50(%rbp),%rax
  movsd  (%rax),%xmm1
  movsd  D159(%rip),%xmm0
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x8(%rbp)
  mov    -0x90(%rbp),%eax
  mov    %eax,-0x68(%rbp)
  mov    -0x90(%rbp),%eax
  sub    -0x70(%rbp),%eax
  mov    -0x90(%rbp),%edx
  imul   %edx,%eax
  mov    %eax,-0x5c(%rbp)
  jmp    L91
L221:
  movl   $0x0,-0x6c(%rbp)
  mov    -0x50(%rbp),%rax
  mov    %rax,-0x48(%rbp)
  mov    -0x68(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x50(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x40(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x28(%rbp)
  jmp    L381
L586:
  mov    -0x48(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    %rdx,-0x48(%rbp)
  movsd  (%rax),%xmm1
  mov    -0x40(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    %rdx,-0x40(%rbp)
  movsd  (%rax),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  -0x28(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x28(%rbp)
  addl   $0x1,-0x6c(%rbp)
L381:
  mov    -0x6c(%rbp),%eax
  cmp    -0x60(%rbp),%eax
  jl     L586
  movl   $0x0,-0x6c(%rbp)
  mov    -0x50(%rbp),%rax
  mov    %rax,-0x48(%rbp)
  mov    -0x68(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x50(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x40(%rbp)
  movsd  -0x28(%rbp),%xmm0
  mulsd  -0x38(%rbp),%xmm0
  movsd  %xmm0,-0x28(%rbp)
  jmp    L37
L47:
  mov    -0x48(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    %rdx,-0x48(%rbp)
  movsd  (%rax),%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x28(%rbp),%xmm1
  mov    -0x40(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    %rdx,-0x40(%rbp)
  movsd  (%rax),%xmm0
  subsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x6c(%rbp)
L37:
  mov    -0x6c(%rbp),%eax
  cmp    -0x60(%rbp),%eax
  jl     L47
  mov    -0x90(%rbp),%eax
  add    %eax,-0x68(%rbp)
L91:
  mov    -0x68(%rbp),%eax
  cmp    -0x5c(%rbp),%eax
  jl     L221
  movl   $0x1,-0x6c(%rbp)
  mov    -0x50(%rbp),%rax
  add    $0x8,%rax
  mov    %rax,-0x48(%rbp)
  jmp    L457
L444:
  mov    -0x48(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    %rdx,-0x48(%rbp)
  movsd  (%rax),%xmm0
  mulsd  -0x8(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x6c(%rbp)
L457:
  mov    -0x6c(%rbp),%eax
  cmp    -0x60(%rbp),%eax
  jl     L444
L125:
  mov    -0x50(%rbp),%rax
  movsd  -0x20(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x70(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  movsd  -0x30(%rbp),%xmm0
  movq   D29(%rip),%xmm1
  xorpd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
L362:
  cmpl   $0x1,-0x60(%rbp)
  jne    L648
  mov    -0x70(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x10(%rbp),%rax
  add    %rax,%rdx
  mov    -0x50(%rbp),%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,(%rdx)
L648:
  addl   $0x1,-0x70(%rbp)
  subl   $0x1,-0x64(%rbp)
  subl   $0x1,-0x60(%rbp)
  mov    -0x90(%rbp),%eax
  cltq
  add    $0x1,%rax
  shl    $0x3,%rax
  add    %rax,-0x58(%rbp)
L89:
  mov    -0x70(%rbp),%eax
  cmp    -0x90(%rbp),%eax
  jl     L252
  mov    -0x90(%rbp),%edx
  mov    -0x98(%rbp),%rcx
  mov    -0x80(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <ldvmat@plt>
  mov    -0x90(%rbp),%r8d
  mov    -0x98(%rbp),%rdi
  mov    -0x8c(%rbp),%ecx
  mov    -0x88(%rbp),%rdx
  mov    -0x10(%rbp),%rsi
  mov    -0x78(%rbp),%rax
  mov    %r8d,%r9d
  mov    %rdi,%r8
  mov    %rax,%rdi
  call   <qrbdv@plt>
  movl   $0x0,-0x70(%rbp)
  jmp    L229
L499:
  mov    -0x70(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  pxor   %xmm0,%xmm0
  comisd %xmm1,%xmm0
  jbe    L188
  mov    -0x70(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x70(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  movq   D29(%rip),%xmm1
  xorpd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  movl   $0x0,-0x6c(%rbp)
  mov    -0x70(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x98(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x58(%rbp)
  jmp    L543
L64:
  mov    -0x58(%rbp),%rax
  movsd  (%rax),%xmm0
  movq   D29(%rip),%xmm1
  xorpd  %xmm1,%xmm0
  mov    -0x58(%rbp),%rax
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x6c(%rbp)
  mov    -0x90(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,-0x58(%rbp)
L543:
  mov    -0x6c(%rbp),%eax
  cmp    -0x90(%rbp),%eax
  jl     L64
L188:
  addl   $0x1,-0x70(%rbp)
L229:
  mov    -0x70(%rbp),%eax
  cmp    -0x90(%rbp),%eax
  jl     L499
  mov    -0x18(%rbp),%rax
  mov    %rax,%rdi
  call   <free@plt>
  mov    $0x0,%eax
L53:
  leave
  ret
```

tool_calls: name: retrieve_data
arguments: label: D29
type: f32[2]
name: retrieve_data
arguments: label: D159
type: f64

tool: {"D29": [0.0,-0.0]}

tool: D159: 1

assistant: ```c
int sv2uv(double *d, double *a, double *u, int m, double *v, int n) {
  double *p, *p1, *q, *pp, *w, *e;
  double s, t, h, r, sv;
  int i, j, k, mm, nm, ms;
  if (m < n)
    return -1;
  w = (double *)calloc(m + n, sizeof(double));
  e = w + m;
  for (i = 0, mm = m, p = a; i < n; ++i, --mm, p += n + 1) {
    if (mm > 1) {
      sv = h = 0.;
      for (j = 0, q = p, s = 0.; j < mm; ++j, q += n) {
        w[j] = *q;
        s += *q * *q;
      }
      if (s > 0.) {
        h = sqrt(s);
        if (*p < 0.)
          h = -h;
        s += *p * h;
        s = 1. / s;
        t = 1. / (w[0] += h);
        sv = 1. + fabs(*p / h);
        for (k = 1, ms = n - i; k < ms; ++k) {
          for (j = 0, q = p + k, r = 0.; j < mm; q += n)
            r += w[j++] * *q;
          r = r * s;
          for (j = 0, q = p + k; j < mm; q += n)
            *q -= r * w[j++];
        }
        for (j = 1, q = p; j < mm;)
          *(q += n) = w[j++] * t;
      }
      *p = sv;
      d[i] = -h;
    }
    if (mm == 1)
      d[i] = *p;
  }
  ldumat(a, u, m, n);
  for (i = 0, q = a; i < n; ++i) {
    for (j = 0; j < n; ++j, ++q) {
      if (j < i)
        *q = 0.;
      else if (j == i)
        *q = d[i];
    }
  }
  for (i = 0, mm = n, nm = n - 1, p = a; i < n; ++i, --mm, --nm, p += n + 1) {
    if (i && mm > 1) {
      sv = h = 0.;
      for (j = 0, q = p, s = 0.; j < mm; ++j, q += n) {
        w[j] = *q;
        s += *q * *q;
      }
      if (s > 0.) {
        h = sqrt(s);
        if (*p < 0.)
          h = -h;
        s += *p * h;
        s = 1. / s;
        t = 1. / (w[0] += h);
        sv = 1. + fabs(*p / h);
        for (k = 1, ms = n - i; k < ms; ++k) {
          for (j = 0, q = p + k, r = 0.; j < mm; q += n)
            r += w[j++] * *q;
          for (j = 0, q = p + k, r *= s; j < mm; q += n)
            *q -= r * w[j++];
        }
        for (k = 0, p1 = u + i; k < m; ++k, p1 += m) {
          for (j = 0, q = p1, r = 0.; j < mm;)
            r += w[j++] * *q++;
          for (j = 0, q = p1, r *= s; j < mm;)
            *q++ -= r * w[j++];
        }
      }
      *p = sv;
      d[i] = -h;
    }
    if (mm == 1)
      d[i] = *p;
    p1 = p + 1;
    if (nm > 1) {
      sv = h = 0.;
      for (j = 0, q = p1, s = 0.; j < nm; ++j, ++q)
        s += *q * *q;
      if (s > 0.) {
        h = sqrt(s);
        if (*p1 < 0.)
          h = -h;
        sv = 1. + fabs(*p1 / h);
        s += *p1 * h;
        s = 1. / s;
        t = 1. / (*p1 += h);
        for (k = n, ms = n * (n - i); k < ms; k += n) {
          for (j = 0, q = p1, pp = p1 + k, r = 0.; j < nm; ++j)
            r += *q++ * *pp++;
          for (j = 0, q = p1, pp = p1 + k, r *= s; j < nm; ++j)
            *pp++ -= r * *q++;
        }
        for (j = 1, q = p1 + 1; j < nm; ++j)
          *q++ *= t;
      }
      *p1 = sv;
      e[i] = -h;
    }
    if (nm == 1)
      e[i] = *p1;
  }
  ldvmat(a, v, n);
  qrbdv(d, e, u, m, v, n);
  for (i = 0; i < n; ++i) {
    if (d[i] < 0.) {
      d[i] = -d[i];
      for (j = 0, p = v + i; j < n; ++j, p += n)
        *p = -*p;
    }
  }
  free(w);
  return 0;
}
```