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

```asm
<svd>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x148,%rsp
  mov    %rcx,0x80(%rsp)
  mov    %r8,0xb8(%rsp)
  cmp    %edx,%esi
  jl     L1791
  movslq %edx,%rax
  mov    %rdi,%rbx
  lea    0x0(,%rdx,8),%edi
  mov    %esi,%r15d
  mov    %edx,%r14d
  mov    %r9,%r13
  mov    %rax,0x88(%rsp)
  call   <malloc@plt>
  mov    %rax,0x60(%rsp)
  xor    %eax,%eax
  call   <macheps@plt>
  mov    %r15d,%eax
  movsd  %xmm0,0xd8(%rsp)
  imul   %r14d,%eax
  mov    %eax,0x120(%rsp)
  test   %eax,%eax
  jle    L1280
  mov    %eax,%esi
  lea    -0x1(%rax),%eax
  cmp    $0x2,%eax
  jbe    L436
  lea    0x8(%rbx),%rax
  cmp    %rax,0x80(%rsp)
  je     L436
  shr    %esi
  xor    %eax,%eax
  mov    %esi,%edx
  shl    $0x4,%rdx
L1501:
  movupd (%rbx,%rax,1),%xmm6
  mov    0x80(%rsp),%rsi
  movups %xmm6,(%rsi,%rax,1)
  add    $0x10,%rax
  cmp    %rdx,%rax
  jne    L1501
  mov    0x120(%rsp),%ecx
  mov    %ecx,%eax
  and    $0xfffffffe,%eax
  and    $0x1,%ecx
  je     L1280
  movsd  (%rbx,%rax,8),%xmm0
  movsd  %xmm0,(%rsi,%rax,8)
L1280:
  lea    -0x1(%r14),%eax
  mov    %eax,0x18(%rsp)
  test   %r14d,%r14d
  jle    L1343
L952:
  mov    %eax,%ebx
  mov    0x60(%rsp),%rax
  pxor   %xmm4,%xmm4
  mov    %r14d,0x8(%rsp)
  mov    %r13,0x40(%rsp)
  xor    %ebp,%ebp
  movapd %xmm4,%xmm3
  xor    %r8d,%r8d
  add    $0x8,%rax
  mov    0x80(%rsp),%r12
  movq   D116(%rip),%xmm6
  movl   $0x1,0x70(%rsp)
  mov    %rax,0x20(%rsp)
  lea    0x1(%r14),%eax
  mov    %eax,0xc0(%rsp)
  mov    0x88(%rsp),%rax
  mov    %r12,0x98(%rsp)
  lea    0x8(,%rax,8),%rcx
  mov    %rax,%rsi
  movl   $0x0,(%rsp)
  mov    %rcx,0xc8(%rsp)
  lea    0x0(,%rax,8),%rcx
  neg    %rax
  shl    $0x4,%rsi
  shl    $0x3,%rax
  mov    %r15d,0x28(%rsp)
  mov    %rcx,%r14
  mov    %rsi,0xe8(%rsp)
  mov    %rax,0x100(%rsp)
  mov    %r13,0xd0(%rsp)
  movsd  %xmm4,0x48(%rsp)
  movsd  %xmm4,0x10(%rsp)
  movaps %xmm6,0x30(%rsp)
  jmp    L1030
L37:
  mov    0x40(%rsp),%rax
  movsd  0x48(%rsp),%xmm1
  movq   $0x0,(%rax)
  movapd %xmm1,%xmm3
L758:
  mov    0x50(%rsp),%rax
  movapd 0x30(%rsp),%xmm6
  movsd  (%rax),%xmm0
  andpd  %xmm6,%xmm1
  andpd  %xmm6,%xmm0
  addsd  %xmm1,%xmm0
  comisd 0x10(%rsp),%xmm0
  jbe    L1143
  movsd  %xmm0,0x10(%rsp)
L1143:
  pxor   %xmm4,%xmm4
L1812:
  mov    0x8(%rsp),%eax
  cmp    %r13d,%eax
  jle    L2014
  mov    (%rsp),%esi
  lea    0x1(%rbp),%r15
  lea    -0x1(%rbx),%edx
  add    %esi,%eax
  mov    %eax,0x68(%rsp)
L643:
  mov    0xc0(%rsp),%ecx
  add    %ecx,0x70(%rsp)
  mov    %r15,%rbp
  mov    %edx,%ebx
  mov    0xc8(%rsp),%rsi
  addq   $0x8,0x20(%rsp)
  mov    %r13d,%r8d
  addq   $0x8,0x40(%rsp)
  add    %rsi,0x98(%rsp)
  mov    %eax,(%rsp)
L1030:
  mulsd  %xmm4,%xmm3
  mov    0x20(%rsp),%rax
  lea    0x1(%r8),%r11d
  mov    %ebp,0x78(%rsp)
  mov    %r11d,%r13d
  lea    -0x8(%rax),%rcx
  mov    %rcx,0x50(%rsp)
  movsd  %xmm3,-0x8(%rax)
  cmp    %ebp,0x28(%rsp)
  jle    L37
  movslq (%rsp),%rax
  mov    0x28(%rsp),%edx
  pxor   %xmm1,%xmm1
  mov    %rax,0x58(%rsp)
  add    %rbp,%rax
  lea    (%r12,%rax,8),%rax
  mov    %rax,0x68(%rsp)
  mov    %rax,%rsi
  mov    %r8d,%eax
L1106:
  movsd  (%rsi),%xmm0
  andpd  0x30(%rsp),%xmm0
  mov    %eax,%ecx
  add    $0x1,%eax
  add    %r14,%rsi
  addsd  %xmm0,%xmm1
  cmp    %eax,%edx
  jne    L1106
  movsd  0x48(%rsp),%xmm6
  ucomisd %xmm6,%xmm1
  jp     L1553
  jne    L1553
  mulsd  %xmm6,%xmm1
  mov    0x40(%rsp),%rax
  mov    0x78(%rsp),%ecx
  movsd  %xmm1,(%rax)
  cmp    %ecx,0x28(%rsp)
  jle    L1586
L162:
  mov    0x78(%rsp),%ecx
  pxor   %xmm3,%xmm3
  cmp    %ecx,0x18(%rsp)
  je     L758
  mov    0x28(%rsp),%eax
  cmp    %r13d,%eax
  jle    L758
  mov    %eax,%r8d
  sub    %ebp,%eax
  mov    %ebp,%r10d
  sub    %r13d,%r8d
  cmp    $0x2,%eax
  je     L1567
  mov    0x58(%rsp),%rax
  lea    0x1(%rbp,%rax,1),%rax
  lea    (%r12,%rax,8),%rcx
  mov    %r8d,%eax
  shr    %eax
  lea    -0x1(%rax),%esi
  lea    0x10(%rcx),%rax
  shl    $0x4,%rsi
  add    %rax,%rsi
  jmp    L1136
L1968:
  add    $0x10,%rax
L1136:
  movupd (%rcx),%xmm0
  andpd  D74(%rip),%xmm0
  mov    %rax,%rcx
  addsd  %xmm0,%xmm3
  unpckhpd %xmm0,%xmm0
  addsd  %xmm0,%xmm3
  cmp    %rsi,%rax
  jne    L1968
  mov    %r8d,%ecx
  and    $0xfffffffe,%ecx
  lea    (%rcx,%r13,1),%eax
  cmp    %ecx,%r8d
  je     L1347
L1027:
  add    (%rsp),%eax
  cltq
  movsd  (%r12,%rax,8),%xmm0
  andpd  0x30(%rsp),%xmm0
  addsd  %xmm0,%xmm3
L1347:
  ucomisd 0x48(%rsp),%xmm3
  jp     L2064
  je     L758
L2064:
  movslq 0x70(%rsp),%rax
  lea    (%r12,%rax,8),%rsi
  mov    0x8(%rsp),%eax
  movsd  (%rsi),%xmm2
  cmp    %r13d,%eax
  jle    L315
  sub    %r10d,%eax
  cmp    $0x2,%eax
  je     L380
  mov    0x58(%rsp),%rax
  lea    0x1(%rbp),%r15
  mov    %ebx,%ecx
  movapd %xmm3,%xmm4
  shr    %ecx
  unpcklpd %xmm4,%xmm4
  pxor   %xmm1,%xmm1
  add    %r15,%rax
  shl    $0x4,%rcx
  lea    (%r12,%rax,8),%rax
  add    %rax,%rcx
L1642:
  movupd (%rax),%xmm0
  add    $0x10,%rax
  divpd  %xmm4,%xmm0
  movups %xmm0,-0x10(%rax)
  mulpd  %xmm0,%xmm0
  addsd  %xmm0,%xmm1
  unpckhpd %xmm0,%xmm0
  addsd  %xmm0,%xmm1
  cmp    %rcx,%rax
  jne    L1642
  mov    %ebx,%ecx
  and    $0xfffffffe,%ecx
  lea    (%rcx,%r13,1),%eax
  cmp    %ebx,%ecx
  je     L1305
L834:
  add    (%rsp),%eax
  cltq
  lea    (%r12,%rax,8),%rax
  movsd  (%rax),%xmm0
  divsd  %xmm3,%xmm0
  movsd  %xmm0,(%rax)
  mulsd  %xmm0,%xmm0
  addsd  %xmm0,%xmm1
L1305:
  movsd  (%rsi),%xmm2
  movsd  0x48(%rsp),%xmm6
  comisd %xmm2,%xmm6
  ja     L1691
  ucomisd %xmm1,%xmm6
  ja     L2067
L1534:
  movapd %xmm1,%xmm4
  sqrtsd %xmm4,%xmm4
L1287:
  xorpd  D48(%rip),%xmm4
L58:
  movapd %xmm2,%xmm0
  subsd  %xmm4,%xmm2
  mulsd  %xmm4,%xmm0
  movsd  %xmm2,(%rsi)
  subsd  %xmm1,%xmm0
  cmp    %r13d,0x8(%rsp)
  jle    L418
L171:
  mov    0x58(%rsp),%rax
  mov    0x20(%rsp),%rdi
  lea    0x2(%rbp,%rax,1),%rax
  mov    %rdi,%rcx
  lea    0x0(,%rax,8),%rsi
  lea    (%r12,%rsi,1),%rax
  cmp    %rax,%rdi
  je     L1107
  cmp    $0x1,%ebx
  je     L1107
  mov    %ebx,%eax
  movapd %xmm0,%xmm2
  shr    %eax
  unpcklpd %xmm2,%xmm2
  sub    $0x1,%eax
  shl    $0x4,%rax
  lea    0x10(%rdi,%rax,1),%r8
  mov    %rsi,%rax
  sub    %rdi,%rax
  add    %r12,%rax
L1528:
  movupd -0x8(%rcx,%rax,1),%xmm1
  add    $0x10,%rcx
  divpd  %xmm2,%xmm1
  movups %xmm1,-0x10(%rcx)
  cmp    %r8,%rcx
  jne    L1528
  mov    %ebx,%ecx
  and    $0xfffffffe,%ecx
  lea    (%rcx,%r13,1),%eax
  cmp    %ebx,%ecx
  je     L418
  movslq %eax,%rcx
  add    (%rsp),%eax
  lea    -0x1(%rbx),%edx
  cltq
  movsd  (%r12,%rax,8),%xmm1
  mov    0x60(%rsp),%rax
  divsd  %xmm0,%xmm1
  lea    0x10(%rax),%r11
  mov    %rax,%rsi
  movsd  %xmm1,(%rax,%rcx,8)
L63:
  lea    0x1(%rbx),%edi
  mov    (%rsp),%eax
  add    0x8(%rsp),%eax
  mov    %ebx,%r9d
  mov    %eax,0xf0(%rsp)
  and    $0xfffffffe,%r9d
  mov    0x50(%rsp),%r10
  mov    %eax,0x68(%rsp)
  cltq
  mov    %edi,0xa0(%rsp)
  mov    0x58(%rsp),%rdi
  lea    (%r12,%rax,8),%rcx
  add    %r15,%rax
  sub    %rsi,%rcx
  lea    (%r12,%rax,8),%r8
  mov    %r9d,0x90(%rsp)
  add    %r13d,%r9d
  add    %r15,%rdi
  mov    %rcx,0xf8(%rsp)
  sub    %r8,%r10
  lea    (%r12,%rdi,8),%rcx
  mov    %ebx,%edi
  mov    %r13d,0x78(%rsp)
  shr    %edi
  mov    %edx,0x110(%rsp)
  mov    %edi,%eax
  sub    $0x1,%eax
  add    $0x1,%rax
  mov    %rax,%rdi
  mov    (%rsp),%eax
  shl    $0x4,%rdi
  cmp    $0x1,%ebx
  mov    %rdi,0xb0(%rsp)
  mov    %r9d,%edi
  cmove  %r13d,%edi
  add    %edi,%eax
  cltq
  lea    (%r12,%rax,8),%rax
  mov    %rax,0xe0(%rsp)
  movslq %r9d,%rax
  lea    (%rsi,%rax,8),%rsi
  mov    %edx,%eax
  mov    0xf8(%rsp),%rdx
  add    %rbp,%rax
  mov    %rsi,0x58(%rsp)
  lea    (%r11,%rax,8),%rsi
  mov    %rsi,0xa8(%rsp)
  mov    0x20(%rsp),%rsi
  add    $0x8,%rsi
  mov    %rsi,0x108(%rsp)
  mov    0xf0(%rsp),%esi
  mov    %rbp,0xf0(%rsp)
  mov    0xe0(%rsp),%rbp
  mov    %r15,0xe0(%rsp)
  mov    0xb0(%rsp),%r15
L1725:
  cmp    %r13d,0x8(%rsp)
  jle    L537
  cmpl   $0x2,0xa0(%rsp)
  je     L471
  xor    %eax,%eax
  pxor   %xmm0,%xmm0
L812:
  movupd (%r8,%rax,1),%xmm2
  movupd (%rcx,%rax,1),%xmm6
  add    $0x10,%rax
  mulpd  %xmm6,%xmm2
  addsd  %xmm2,%xmm0
  unpckhpd %xmm2,%xmm2
  addsd  %xmm2,%xmm0
  cmp    %r15,%rax
  jne    L812
  cmp    %ebx,0x90(%rsp)
  je     L47
L1487:
  lea    (%rsi,%rdi,1),%eax
  cltq
  movsd  (%r12,%rax,8),%xmm1
  mulsd  0x0(%rbp),%xmm1
  addsd  %xmm1,%xmm0
L47:
  cmp    %r8,0x108(%rsp)
  je     L96
  cmpl   $0x2,0xa0(%rsp)
  je     L96
  movapd %xmm0,%xmm2
  lea    (%r15,%r8,1),%r11
  mov    %r8,%rax
  unpcklpd %xmm2,%xmm2
L281:
  movupd 0x8(%rax,%r10,1),%xmm1
  movupd (%rax),%xmm6
  add    $0x10,%rax
  mulpd  %xmm2,%xmm1
  addpd  %xmm6,%xmm1
  movups %xmm1,-0x10(%rax)
  cmp    %r11,%rax
  jne    L281
  cmp    %ebx,0x90(%rsp)
  je     L537
  mov    0x58(%rsp),%r11
  lea    (%rsi,%r9,1),%eax
  cltq
  mulsd  (%r11),%xmm0
  lea    (%r12,%rax,8),%rax
  addsd  (%rax),%xmm0
  movsd  %xmm0,(%rax)
L537:
  addl   $0x1,0x78(%rsp)
  add    0x8(%rsp),%esi
  add    %r14,%rdx
  add    %r14,%r8
  mov    0x78(%rsp),%eax
  add    0x100(%rsp),%r10
  cmp    %eax,0x28(%rsp)
  jne    L1725
  mov    0xf0(%rsp),%rbp
  mov    0xe0(%rsp),%r15
  mov    0x110(%rsp),%edx
  cmp    %r13d,0x8(%rsp)
  jle    L978
  cmpl   $0x2,0xa0(%rsp)
  je     L1251
  mov    0xb0(%rsp),%rax
  movapd %xmm3,%xmm1
  unpcklpd %xmm1,%xmm1
  add    %rcx,%rax
L1957:
  movupd (%rcx),%xmm0
  add    $0x10,%rcx
  mulpd  %xmm1,%xmm0
  movups %xmm0,-0x10(%rcx)
  cmp    %rax,%rcx
  jne    L1957
  mov    %r9d,%eax
  cmp    %ebx,0x90(%rsp)
  je     L153
L791:
  add    (%rsp),%eax
  cltq
  lea    (%r12,%rax,8),%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm3,%xmm0
  movsd  %xmm0,(%rax)
L153:
  mov    0x50(%rsp),%rax
  movapd 0x30(%rsp),%xmm6
  movsd  (%rax),%xmm0
  mov    0x40(%rsp),%rax
  movsd  (%rax),%xmm1
  andpd  %xmm6,%xmm0
  mov    0x68(%rsp),%eax
  andpd  %xmm6,%xmm1
  addsd  %xmm1,%xmm0
  maxsd  0x10(%rsp),%xmm0
  movsd  %xmm0,0x10(%rsp)
  jmp    L643
L2014:
  mov    0x28(%rsp),%r15d
  mov    0xd0(%rsp),%r13
  mov    %eax,%r14d
L1389:
  mov    0x18(%rsp),%esi
  test   %esi,%esi
  js     L26
  mov    0x18(%rsp),%eax
  imul   %r14d,%eax
  mov    %eax,0x30(%rsp)
  cmp    $0x1,%r14d
  jne    L963
  movsd  D105(%rip),%xmm6
  mov    0xb8(%rsp),%rax
  mov    0x120(%rsp),%ecx
  movsd  %xmm6,(%rax)
  movsd  0x0(%r13),%xmm1
  ucomisd 0x48(%rsp),%xmm1
  mov    0x80(%rsp),%rax
  movsd  %xmm6,0x78(%rsp)
  lea    -0x1(%rcx),%edx
  jp     L756
  jne    L756
  mov    0x120(%rsp),%ecx
  test   %ecx,%ecx
  jle    L1631
  mov    %rax,%rdi
  mov    %edx,%eax
  xor    %esi,%esi
  lea    0x8(,%rax,8),%rdx
  call   <memset@plt>
  jmp    L1631
L756:
  mov    0x120(%rsp),%esi
  test   %esi,%esi
  jle    L1631
  cmp    $0x1,%esi
  je     L792
  shr    %esi
  mov    0x80(%rsp),%rcx
  movapd %xmm1,%xmm2
  mov    %esi,%edx
  unpcklpd %xmm2,%xmm2
  sub    $0x1,%edx
  shl    $0x4,%rdx
  lea    0x10(%rcx,%rdx,1),%rdx
L1838:
  movupd (%rax),%xmm0
  add    $0x10,%rax
  divpd  %xmm2,%xmm0
  movups %xmm0,-0x10(%rax)
  cmp    %rdx,%rax
  jne    L1838
  mov    0x120(%rsp),%ecx
  mov    %ecx,%eax
  and    $0xfffffffe,%eax
  and    $0x1,%ecx
  je     L1631
L1281:
  mov    0x80(%rsp),%rsi
  cltq
  lea    (%rsi,%rax,8),%rax
  movsd  (%rax),%xmm0
  divsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
L1631:
  mov    0x80(%rsp),%rax
  movsd  0x78(%rsp),%xmm0
  addsd  (%rax),%xmm0
  movsd  %xmm0,(%rax)
  movslq 0x18(%rsp),%rax
  mov    %rax,0x28(%rsp)
L1678:
  mov    0x28(%rsp),%rax
  mov    0x88(%rsp),%rcx
  mov    %r13,0x50(%rsp)
  mov    %r15d,%r13d
  movsd  0xd8(%rsp),%xmm6
  mulsd  0x10(%rsp),%xmm6
  lea    0x0(,%rcx,8),%r12
  mov    %rax,0x68(%rsp)
  xor    %eax,%eax
  test   %r14d,%r14d
  mov    %rax,%rsi
  cmovs  %r12,%rax
  cmovns %r12,%rsi
  shl    $0x4,%rcx
  mov    %rax,0xe0(%rsp)
  mov    %r15d,%eax
  and    $0xfffffffe,%eax
  mov    %rsi,0xe8(%rsp)
  mov    %r15d,%esi
  mov    %eax,0x13c(%rsp)
  imul   %r14d,%eax
  shr    %esi
  movsd  %xmm6,0x70(%rsp)
  movq   D116(%rip),%xmm6
  mov    %esi,0x124(%rsp)
  mov    %eax,0x90(%rsp)
  lea    -0x1(%rsi),%eax
  add    $0x1,%rax
  mov    %rcx,0x118(%rsp)
  shl    $0x4,%rax
  movaps %xmm6,0x30(%rsp)
  mov    %rax,0x130(%rsp)
  mov    0x60(%rsp),%rax
  sub    $0x8,%rax
  mov    %rax,0x110(%rsp)
  mov    %r14d,%eax
  mov    %r12,%r14
  mov    %eax,%r12d
L241:
  mov    0x68(%rsp),%rsi
  mov    0x60(%rsp),%rcx
  mov    %r12d,%r15d
  mov    %r13d,%r12d
  movl   $0x32,0xc8(%rsp)
  lea    0x0(,%rsi,8),%rax
  mov    %esi,0x98(%rsp)
  add    %rax,%rcx
  mov    %rax,0xc0(%rsp)
  mov    %rcx,0xa0(%rsp)
  mov    0x110(%rsp),%rcx
  mov    %esi,0x88(%rsp)
  add    %rax,%rcx
  mov    %rcx,0xd0(%rsp)
  cs nopw 0x0(%rax,%rax,1)
L2036:
  mov    0xc0(%rsp),%rbx
  movslq 0x98(%rsp),%r13
  mov    0x60(%rsp),%rdx
  movsd  0x70(%rsp),%xmm1
  mov    0x50(%rsp),%rcx
  movapd 0x30(%rsp),%xmm6
  jmp    L1589
  nopl   0x0(%rax,%rax,1)
L954:
  movslq %edi,%r13
L1589:
  lea    (%rdx,%rbx,1),%rax
  movsd  (%rax),%xmm0
  andpd  %xmm6,%xmm0
  comisd %xmm0,%xmm1
  jae    L1250
  movsd  -0x8(%rcx,%rbx,1),%xmm0
  lea    -0x1(%r13),%edi
  andpd  %xmm6,%xmm0
  comisd %xmm0,%xmm1
  jae    L2007
  sub    $0x8,%rbx
  cmp    $0xffffffff,%edi
  jne    L954
  mov    0x110(%rsp),%rax
  mov    $0xffffffffffffffff,%r13
  mov    $0xfffffffe,%edi
  mov    $0xfffffffffffffff8,%rbx
  mov    %rax,0xb0(%rsp)
  cmp    0x68(%rsp),%r13d
  jg     L53
L49:
  movslq %edi,%r10
  mov    0x90(%rsp),%edx
  movslq %r13d,%rbp
  mov    %r12d,%r11d
  mov    0xe8(%rsp),%rcx
  mov    %rbp,%r8
  movsd  0x78(%rsp),%xmm2
  shl    $0x3,%rbp
  lea    0x0(,%r10,8),%rax
  lea    (%rdx,%rdi,1),%r9d
  sub    %r10,%r8
  mov    %r15d,0x28(%rsp)
  add    %rax,%rcx
  movslq %r9d,%r9
  mov    %rax,0x58(%rsp)
  pxor   %xmm1,%xmm1
  mov    %rcx,0xf0(%rsp)
  mov    0x80(%rsp),%rcx
  mov    0xe0(%rsp),%rsi
  mov    %r13d,0x138(%rsp)
  lea    (%rcx,%r9,8),%rdx
  lea    -0x1(%r12),%r9d
  mov    0x130(%rsp),%r12
  mov    %r14,0xd8(%rsp)
  add    %rax,%rsi
  mov    %rdx,0x40(%rsp)
  mov    %r8,%r14
  mov    0x13c(%rsp),%edx
  mov    %rsi,0xf8(%rsp)
  mov    %rcx,%rsi
  add    %rax,%rsi
  add    %edx,%edi
  add    $0x10,%rax
  mov    %r9d,0x100(%rsp)
  add    %r10,%r9
  mov    %rax,0xa8(%rsp)
  movslq %edi,%rdi
  lea    0x8(%rcx,%r9,8),%rax
  lea    (%rcx,%rdi,8),%rdi
  mov    %rbx,0x128(%rsp)
  mov    %rax,0x108(%rsp)
  mov    %r13d,%eax
  mov    %rdi,%r15
  mov    %rsi,%r13
  mov    %eax,%ebx
  mov    %edx,%esi
  nopl   0x0(%rax,%rax,1)
L394:
  mov    0x60(%rsp),%rax
  movapd 0x30(%rsp),%xmm5
  mov    %rcx,0x8(%rsp)
  movsd  0x70(%rsp),%xmm6
  mov    %esi,(%rsp)
  add    %rbp,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm0,%xmm2
  mulsd  %xmm1,%xmm0
  andpd  %xmm2,%xmm5
  comisd %xmm5,%xmm6
  movsd  %xmm0,(%rax)
  jae    L264
  mov    0x50(%rsp),%rax
  movapd %xmm2,%xmm0
  mov    %r11d,0x20(%rsp)
  movsd  %xmm2,0x10(%rsp)
  movsd  (%rax,%rbp,1),%xmm1
  movsd  %xmm1,0x18(%rsp)
  call   <hypot@plt>
  mov    0x20(%rsp),%r11d
  mov    0x50(%rsp),%rax
  movsd  0x18(%rsp),%xmm1
  movsd  0x10(%rsp),%xmm2
  test   %r11d,%r11d
  mov    (%rsp),%esi
  mov    0x8(%rsp),%rcx
  movsd  %xmm0,(%rax,%rbp,1)
  divsd  %xmm0,%xmm1
  xorpd  D48(%rip),%xmm2
  divsd  %xmm0,%xmm2
  jle    L1692
  cmpl   $0x1,0x28(%rsp)
  jne    L657
  lea    0x10(%rbp),%rax
  cmp    %rax,0x58(%rsp)
  setge  %dl
  cmp    %rbp,0xa8(%rsp)
  setle  %al
  or     %dl,%al
  je     L1382
  cmpl   $0x1,0x120(%rsp)
  je     L1382
  movapd %xmm1,%xmm6
  movapd %xmm2,%xmm5
  lea    (%rcx,%rbp,1),%rdx
  xor    %eax,%eax
  unpcklpd %xmm6,%xmm6
  unpcklpd %xmm5,%xmm5
  nopl   0x0(%rax,%rax,1)
L666:
  movupd 0x0(%r13,%rax,1),%xmm3
  movupd (%rdx,%rax,1),%xmm0
  movapd %xmm5,%xmm4
  movapd %xmm6,%xmm7
  mulpd  %xmm0,%xmm4
  mulpd  %xmm3,%xmm7
  mulpd  %xmm6,%xmm0
  mulpd  %xmm5,%xmm3
  addpd  %xmm7,%xmm4
  subpd  %xmm3,%xmm0
  movups %xmm4,0x0(%r13,%rax,1)
  movups %xmm0,(%rdx,%rax,1)
  add    $0x10,%rax
  cmp    %rax,%r12
  jne    L666
  cmp    %r11d,%esi
  je     L1692
  lea    (%rbx,%rsi,1),%eax
  movsd  (%r15),%xmm3
  movapd %xmm2,%xmm4
  movapd %xmm1,%xmm5
  cltq
  lea    (%rcx,%rax,8),%rax
  mulsd  %xmm3,%xmm5
  movsd  (%rax),%xmm0
  mulsd  %xmm2,%xmm3
  mulsd  %xmm0,%xmm4
  mulsd  %xmm1,%xmm0
  addsd  %xmm5,%xmm4
  subsd  %xmm3,%xmm0
  movsd  %xmm4,(%r15)
  movsd  %xmm0,(%rax)
L1692:
  add    $0x1,%ebx
  add    $0x1,%r14
  add    $0x8,%rbp
  cmp    0x88(%rsp),%ebx
  jle    L394
L264:
  movslq 0x138(%rsp),%r13
  mov    0xd8(%rsp),%r14
  mov    %r11d,%r12d
  mov    0x128(%rsp),%rbx
  mov    0x28(%rsp),%r15d
L1706:
  mov    0x50(%rsp),%rsi
  mov    0x68(%rsp),%rax
  movsd  (%rsi,%rax,8),%xmm3
  cmp    %eax,%r13d
  je     L1919
L1799:
  mov    0x50(%rsp),%rax
  mov    0x68(%rsp),%rsi
  movsd  %xmm3,0x18(%rsp)
  movsd  0x78(%rsp),%xmm1
  movsd  -0x8(%rax,%rsi,8),%xmm8
  movsd  (%rax,%rbx,1),%xmm7
  mov    0xd0(%rsp),%rax
  movsd  %xmm7,0x20(%rsp)
  movsd  (%rax),%xmm0
  mov    0xa0(%rsp),%rax
  movsd  %xmm8,0x8(%rsp)
  movapd %xmm0,%xmm2
  subsd  %xmm3,%xmm0
  movsd  (%rax),%xmm4
  addsd  %xmm3,%xmm2
  movsd  %xmm4,0x10(%rsp)
  divsd  %xmm8,%xmm0
  divsd  %xmm4,%xmm2
  mulsd  %xmm0,%xmm2
  movapd %xmm8,%xmm0
  divsd  %xmm4,%xmm0
  addsd  %xmm0,%xmm2
  movapd %xmm4,%xmm0
  divsd  %xmm8,%xmm0
  subsd  %xmm0,%xmm2
  mulsd  D146(%rip),%xmm2
  movapd %xmm2,%xmm0
  movsd  %xmm2,(%rsp)
  call   <hypot@plt>
  movsd  0x48(%rsp),%xmm6
  movsd  (%rsp),%xmm2
  movsd  0x8(%rsp),%xmm8
  movsd  0x10(%rsp),%xmm4
  comisd %xmm2,%xmm6
  movsd  0x18(%rsp),%xmm3
  movsd  0x20(%rsp),%xmm7
  ja     L181
  addsd  %xmm0,%xmm2
L1318:
  divsd  %xmm2,%xmm8
  movapd %xmm3,%xmm0
  lea    0x1(%r13),%esi
  divsd  %xmm7,%xmm0
  subsd  %xmm4,%xmm8
  divsd  %xmm7,%xmm4
  mulsd  %xmm0,%xmm3
  movapd %xmm7,%xmm0
  subsd  %xmm3,%xmm0
  mulsd  %xmm4,%xmm8
  addsd  %xmm0,%xmm8
  cmp    0x68(%rsp),%esi
  jg     L368
  mov    0x60(%rsp),%rax
  movslq %esi,%rbx
  mov    0x80(%rsp),%rsi
  shl    $0x3,%rbx
  movsd  0x78(%rsp),%xmm6
  lea    (%rbx,%rax,1),%rbp
  sub    $0x8,%rbx
  lea    (%rsi,%rbx,1),%rcx
  mov    0x98(%rsp),%esi
  add    0xb8(%rsp),%rbx
  movapd %xmm6,%xmm5
  sub    $0x1,%esi
  sub    %r13d,%esi
  add    %r13,%rsi
  mov    0x50(%rsp),%r13
  lea    0x10(%rax,%rsi,8),%rsi
  mov    %rsi,0x58(%rsp)
  sub    %rax,%r13
  mov    %r13,(%rsp)
  mov    %r15d,%r13d
  mov    %r12d,%r15d
  mov    %rbp,%r12
  mov    %rbx,%rbp
  mov    %rcx,%rbx
  nopl   0x0(%rax,%rax,1)
L1073:
  movsd  (%r12),%xmm4
  mov    (%rsp),%rax
  movapd %xmm8,%xmm0
  movsd  %xmm7,0x28(%rsp)
  movsd  %xmm8,0x8(%rsp)
  mulsd  %xmm4,%xmm5
  movsd  (%rax,%r12,1),%xmm10
  mulsd  %xmm6,%xmm4
  movsd  %xmm10,0x20(%rsp)
  movapd %xmm5,%xmm1
  movsd  %xmm5,0x10(%rsp)
  movsd  %xmm4,0x18(%rsp)
  call   <hypot@plt>
  movsd  0x8(%rsp),%xmm8
  movsd  0x10(%rsp),%xmm1
  movsd  0x18(%rsp),%xmm4
  movsd  0x28(%rsp),%xmm7
  movsd  %xmm0,-0x8(%r12)
  movapd %xmm8,%xmm6
  movapd %xmm1,%xmm5
  movsd  0x20(%rsp),%xmm10
  divsd  %xmm0,%xmm6
  movapd %xmm10,%xmm1
  divsd  %xmm0,%xmm5
  movapd %xmm4,%xmm0
  mulsd  %xmm6,%xmm4
  movapd %xmm6,%xmm9
  mulsd  %xmm7,%xmm9
  mulsd  %xmm6,%xmm10
  mulsd  %xmm5,%xmm0
  mulsd  %xmm5,%xmm7
  mulsd  %xmm5,%xmm1
  addsd  %xmm0,%xmm9
  subsd  %xmm7,%xmm4
  test   %r13d,%r13d
  jle    L1019
  movapd %xmm6,%xmm8
  movapd %xmm5,%xmm7
  mov    %rbp,%rax
  xor    %edx,%edx
  unpcklpd %xmm8,%xmm8
  unpcklpd %xmm7,%xmm7
  nopl   0x0(%rax,%rax,1)
L164:
  movupd (%rax),%xmm0
  movupd (%rax),%xmm2
  add    $0x1,%edx
  mulpd  %xmm7,%xmm0
  mulpd  %xmm8,%xmm2
  shufpd $0x1,%xmm0,%xmm0
  movapd %xmm0,%xmm3
  addpd  %xmm2,%xmm3
  subpd  %xmm0,%xmm2
  movsd  %xmm3,%xmm2
  movups %xmm2,(%rax)
  add    %r14,%rax
  cmp    %edx,%r13d
  jne    L164
L1019:
  movapd %xmm9,%xmm0
  movsd  %xmm10,0x20(%rsp)
  movsd  %xmm4,0x18(%rsp)
  movsd  %xmm1,0x10(%rsp)
  movsd  %xmm9,0x8(%rsp)
  movsd  %xmm6,0x40(%rsp)
  movsd  %xmm5,0x28(%rsp)
  call   <hypot@plt>
  ucomisd 0x48(%rsp),%xmm0
  mov    (%rsp),%rax
  movsd  0x8(%rsp),%xmm9
  movsd  0x10(%rsp),%xmm1
  movsd  0x18(%rsp),%xmm4
  movsd  0x20(%rsp),%xmm10
  movsd  %xmm0,-0x8(%rax,%r12,1)
  jp     L1312
  movsd  0x28(%rsp),%xmm5
  movsd  0x40(%rsp),%xmm6
  je     L316
L1312:
  movapd %xmm9,%xmm6
  movapd %xmm1,%xmm5
  divsd  %xmm0,%xmm6
  divsd  %xmm0,%xmm5
L316:
  movapd %xmm6,%xmm8
  movapd %xmm5,%xmm0
  movapd %xmm10,%xmm7
  mulsd  %xmm4,%xmm8
  mulsd  %xmm10,%xmm0
  mulsd  %xmm6,%xmm7
  mulsd  %xmm5,%xmm4
  addsd  %xmm0,%xmm8
  subsd  %xmm4,%xmm7
  test   %r15d,%r15d
  jle    L1365
  movapd %xmm6,%xmm4
  movapd %xmm5,%xmm1
  mov    %rbx,%rax
  xor    %edx,%edx
  unpcklpd %xmm4,%xmm4
  unpcklpd %xmm1,%xmm1
  nopl   0x0(%rax,%rax,1)
L1179:
  movupd (%rax),%xmm0
  movupd (%rax),%xmm2
  add    $0x1,%edx
  mulpd  %xmm1,%xmm0
  mulpd  %xmm4,%xmm2
  shufpd $0x1,%xmm0,%xmm0
  movapd %xmm0,%xmm3
  addpd  %xmm2,%xmm3
  subpd  %xmm0,%xmm2
  movsd  %xmm3,%xmm2
  movups %xmm2,(%rax)
  add    %r14,%rax
  cmp    %edx,%r15d
  jne    L1179
L1365:
  add    $0x8,%r12
  add    $0x8,%rbx
  add    $0x8,%rbp
  cmp    %r12,0x58(%rsp)
  jne    L1073
  mov    %r15d,%r12d
  mov    %r13d,%r15d
L368:
  mov    0xb0(%rsp),%rax
  subl   $0x1,0xc8(%rsp)
  mov    0x68(%rsp),%rsi
  movq   $0x0,(%rax)
  mov    0xa0(%rsp),%rax
  movsd  %xmm8,(%rax)
  mov    0x50(%rsp),%rax
  movsd  %xmm7,(%rax,%rsi,8)
  jne    L2036
  lea    D41(%rip),%rdi
  call   <printf@plt>
  mov    $0xf,%eax
L1566:
  add    $0x148,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L657:
  mov    0xe0(%rsp),%rax
  add    %rbp,%rax
  cmp    0xf0(%rsp),%rax
  mov    0xe8(%rsp),%rax
  setg   %dl
  add    %rbp,%rax
  cmp    %rax,0xf8(%rsp)
  setg   %al
  or     %dl,%al
  je     L585
  mov    0x28(%rsp),%eax
  test   %eax,%eax
  setne  %dl
  cmpl   $0xc,0x100(%rsp)
  seta   %al
  test   %al,%dl
  je     L585
  movapd %xmm1,%xmm6
  movapd %xmm2,%xmm5
  lea    (%rcx,%rbp,1),%rdx
  mov    %r13,%rax
  mov    0x118(%rsp),%r8
  unpcklpd %xmm6,%xmm6
  unpcklpd %xmm5,%xmm5
  xor    %r10d,%r10d
  mov    0x124(%rsp),%r9d
  mov    0xd8(%rsp),%rdi
  cs nopw 0x0(%rax,%rax,1)
L1979:
  movsd  (%rax),%xmm3
  movsd  (%rdx),%xmm0
  movapd %xmm5,%xmm4
  movapd %xmm6,%xmm7
  add    $0x1,%r10d
  movhpd (%rax,%rdi,1),%xmm3
  movhpd (%rdx,%rdi,1),%xmm0
  mulpd  %xmm0,%xmm4
  mulpd  %xmm3,%xmm7
  mulpd  %xmm6,%xmm0
  mulpd  %xmm5,%xmm3
  addpd  %xmm7,%xmm4
  subpd  %xmm3,%xmm0
  movlpd %xmm4,(%rax)
  movhpd %xmm4,(%rax,%rdi,1)
  add    %r8,%rax
  movlpd %xmm0,(%rdx)
  movhpd %xmm0,(%rdx,%rdi,1)
  add    %r8,%rdx
  cmp    %r9d,%r10d
  jne    L1979
  cmp    %r11d,%esi
  je     L1692
  mov    0x90(%rsp),%eax
  mov    0x40(%rsp),%rdi
  movapd %xmm2,%xmm4
  movapd %xmm1,%xmm5
  add    %ebx,%eax
  movsd  (%rdi),%xmm3
  cltq
  lea    (%rcx,%rax,8),%rax
  mulsd  %xmm3,%xmm5
  movsd  (%rax),%xmm0
  mulsd  %xmm2,%xmm3
  mulsd  %xmm0,%xmm4
  mulsd  %xmm1,%xmm0
  addsd  %xmm5,%xmm4
  subsd  %xmm3,%xmm0
  movsd  %xmm4,(%rdi)
  movsd  %xmm0,(%rax)
  jmp    L1692
L181:
  subsd  %xmm0,%xmm2
  jmp    L1318
L1250:
  mov    %rax,0xb0(%rsp)
  jmp    L1706
L2007:
  mov    %rax,0xb0(%rsp)
  cmp    0x68(%rsp),%r13d
  jle    L49
L53:
  mov    0x50(%rsp),%rax
  mov    0x68(%rsp),%rcx
  movsd  (%rax,%rcx,8),%xmm3
  jmp    L1799
L1382:
  mov    0x108(%rsp),%rdx
  mov    %r13,%rax
  nopl   (%rax)
L1247:
  movsd  (%rax),%xmm3
  movsd  (%rax,%r14,8),%xmm0
  movapd %xmm2,%xmm4
  movapd %xmm1,%xmm5
  mulsd  %xmm0,%xmm4
  mulsd  %xmm3,%xmm5
  mulsd  %xmm1,%xmm0
  mulsd  %xmm2,%xmm3
  addsd  %xmm5,%xmm4
  subsd  %xmm3,%xmm0
  movsd  %xmm4,(%rax)
  movsd  %xmm0,(%rax,%r14,8)
  add    $0x8,%rax
  cmp    %rax,%rdx
  jne    L1247
  jmp    L1692
L585:
  mov    0xd8(%rsp),%rdi
  mov    %r13,%rax
  xor    %edx,%edx
  nop
L917:
  movsd  (%rax),%xmm3
  movapd %xmm2,%xmm4
  movapd %xmm1,%xmm5
  add    $0x1,%edx
  movsd  (%rax,%r14,8),%xmm0
  mulsd  %xmm3,%xmm5
  mulsd  %xmm0,%xmm4
  mulsd  %xmm2,%xmm3
  mulsd  %xmm1,%xmm0
  addsd  %xmm5,%xmm4
  subsd  %xmm3,%xmm0
  movsd  %xmm4,(%rax)
  movsd  %xmm0,(%rax,%r14,8)
  add    %rdi,%rax
  cmp    %edx,%r11d
  jne    L917
  jmp    L1692
L1919:
  movsd  0x48(%rsp),%xmm6
  mov    %r12d,%r13d
  mov    %r15d,%r12d
  comisd %xmm3,%xmm6
  ja     L1411
L1160:
  subq   $0x1,0x68(%rsp)
  mov    0x68(%rsp),%rax
  test   %eax,%eax
  jns    L241
  mov    %r13d,%r15d
  mov    0x50(%rsp),%r13
  mov    %r12d,%r14d
L26:
  mov    0xb8(%rsp),%rcx
  mov    %r13,%r8
  mov    %r14d,%edx
  mov    %r15d,%esi
  mov    0x80(%rsp),%rdi
  call   <svd_sort@plt>
  mov    0x60(%rsp),%rdi
  call   <free@plt>
  xor    %eax,%eax
  jmp    L1566
L1553:
  sub    %ebp,%eax
  mov    %eax,%r10d
  mov    %ecx,%eax
  sub    %r8d,%eax
  cmp    $0x2,%eax
  jbe    L1467
  mov    %r10d,%r15d
  movapd %xmm1,%xmm4
  mov    0x68(%rsp),%rax
  xor    %esi,%esi
  shr    %r15d
  unpcklpd %xmm4,%xmm4
  pxor   %xmm2,%xmm2
L798:
  movsd  (%rax),%xmm0
  add    $0x1,%esi
  movhpd (%rax,%r14,1),%xmm0
  divpd  %xmm4,%xmm0
  movlpd %xmm0,(%rax)
  movhpd %xmm0,(%rax,%r14,1)
  mulpd  %xmm0,%xmm0
  add    0xe8(%rsp),%rax
  addsd  %xmm0,%xmm2
  unpckhpd %xmm0,%xmm0
  addsd  %xmm0,%xmm2
  cmp    %esi,%r15d
  jne    L798
  mov    %r10d,%esi
  and    $0xfffffffe,%esi
  lea    (%rsi,%r8,1),%eax
  cmp    %esi,%r10d
  je     L1679
  imul   0x8(%rsp),%eax
  add    %r8d,%eax
  cltq
  lea    (%r12,%rax,8),%rax
  movsd  (%rax),%xmm0
  divsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  mulsd  %xmm0,%xmm0
  addsd  %xmm0,%xmm2
L1679:
  mov    0x70(%rsp),%eax
  movsd  0x48(%rsp),%xmm5
  sub    $0x1,%eax
  cltq
  lea    (%r12,%rax,8),%r15
  movsd  (%r15),%xmm6
  movsd  %xmm6,0x90(%rsp)
  comisd %xmm6,%xmm5
  ja     L926
  ucomisd %xmm2,%xmm5
  ja     L1923
  movapd %xmm2,%xmm0
  sqrtsd %xmm0,%xmm0
L2015:
  xorpd  D48(%rip),%xmm0
L3:
  movsd  0x90(%rsp),%xmm3
  mov    0x78(%rsp),%esi
  subsd  %xmm0,%xmm3
  movsd  %xmm3,(%r15)
  cmp    %esi,0x18(%rsp)
  jg     L621
L757:
  mov    0x68(%rsp),%rax
  jmp    L1178
L1204:
  add    $0x1,%r11d
L1178:
  movsd  (%rax),%xmm2
  mov    %r8d,%edx
  mov    %r11d,%r8d
  mulsd  %xmm1,%xmm2
  movsd  %xmm2,(%rax)
  add    %r14,%rax
  cmp    %edx,%ecx
  jne    L1204
  mulsd  %xmm0,%xmm1
  mov    0x40(%rsp),%rax
  movsd  %xmm1,(%rax)
  jmp    L162
L96:
  mov    0x20(%rsp),%rax
L2020:
  movsd  (%rax),%xmm1
  mulsd  %xmm0,%xmm1
  addsd  (%rdx,%rax,1),%xmm1
  movsd  %xmm1,(%rdx,%rax,1)
  add    $0x8,%rax
  cmp    0xa8(%rsp),%rax
  jne    L2020
  jmp    L537
L1411:
  xorpd  D48(%rip),%xmm3
  mov    0x68(%rsp),%rcx
  movsd  %xmm3,(%rsi,%rcx,8)
  test   %r15d,%r15d
  jle    L1160
  cmp    $0x1,%r15d
  jne    L1348
  mov    0xb8(%rsp),%rax
  movsd  (%rax,%rcx,8),%xmm0
  xorpd  D48(%rip),%xmm0
  movsd  %xmm0,(%rax,%rcx,8)
  jmp    L1160
L471:
  pxor   %xmm0,%xmm0
  jmp    L1487
L792:
  xor    %eax,%eax
  jmp    L1281
L926:
  ucomisd %xmm2,%xmm5
  ja     L1507
  movapd %xmm2,%xmm0
  sqrtsd %xmm0,%xmm0
  jmp    L3
L1691:
  ucomisd %xmm1,%xmm6
  ja     L1672
L599:
  movapd %xmm1,%xmm4
  sqrtsd %xmm4,%xmm4
  jmp    L58
L963:
  mov    0x18(%rsp),%ebx
  mov    %eax,%esi
  lea    -0x2(%r14),%r9d
  mov    $0x1,%r8d
  mov    0xb8(%rsp),%rdi
  mov    %esi,%ecx
  movslq %r9d,%r12
  xor    %r10d,%r10d
  add    %ebx,%eax
  movsd  D105(%rip),%xmm6
  sub    %r14d,%ecx
  mov    %esi,0x8(%rsp)
  mov    %eax,0xd0(%rsp)
  cltq
  movslq %ecx,%rdx
  movsd  %xmm6,(%rdi,%rax,8)
  mov    %r14d,%eax
  not    %eax
  mov    %r9d,0x40(%rsp)
  add    %ecx,%r9d
  mov    %eax,(%rsp)
  cltq
  shl    $0x3,%rax
  mov    %ecx,0x68(%rsp)
  mov    0x88(%rsp),%rcx
  mov    %rax,0xb0(%rsp)
  lea    (%r12,%rdx,1),%rax
  lea    (%rdi,%rax,8),%rax
  shl    $0x4,%rcx
  mov    %r9d,0x90(%rsp)
  mov    %rdi,%r9
  mov    %rax,0x58(%rsp)
  mov    %r14d,%eax
  neg    %eax
  mov    %rcx,0xa0(%rsp)
  cltq
  mov    %r15d,0xe8(%rsp)
  lea    -0x1(%rax),%rsi
  movslq %ebx,%rax
  mov    0x60(%rsp),%rbx
  mov    %r13,0xf0(%rsp)
  mov    %rsi,0xc0(%rsp)
  shl    $0x3,%rsi
  lea    (%rdx,%rax,1),%r11
  mov    %rax,0x28(%rsp)
  shl    $0x3,%rax
  mov    %rsi,0xc8(%rsp)
  add    %rax,%rbx
  lea    0x8(%rax),%rbp
  mov    0x80(%rsp),%rsi
  lea    0x8(%rdi),%rax
  mov    %rbx,0x70(%rsp)
  mov    %rax,0xe0(%rsp)
  lea    0x8(%rsi),%rax
  lea    (%rsi,%r11,8),%rbx
  mov    %rax,0x98(%rsp)
  movsd  %xmm6,0x78(%rsp)
  jmp    L1816
L909:
  mov    0x58(%rsp),%rax
  mov    0xb0(%rsp),%rcx
  sub    $0x1,%r12
  add    $0x1,%r10d
  movsd  0x78(%rsp),%xmm6
  sub    %r14d,0x68(%rsp)
  add    $0x1,%r8d
  sub    %r14d,0x8(%rsp)
  add    0xc0(%rsp),%r11
  movsd  %xmm6,(%rax)
  add    %rcx,%rax
  add    0xc8(%rsp),%rbx
  mov    (%rsp),%ecx
  subq   $0x8,0x70(%rsp)
  add    %ecx,0x90(%rsp)
  mov    %rax,0x58(%rsp)
  test   %r12d,%r12d
  js     L277
L1816:
  lea    0x1(%r12),%eax
  mov    %r12d,%r13d
  mov    %eax,0x20(%rsp)
  cmp    %eax,%r14d
  jle    L909
  mov    0x70(%rsp),%rax
  movsd  (%rax),%xmm0
  ucomisd 0x48(%rsp),%xmm0
  jp     L417
  movslq 0x8(%rsp),%rsi
  mov    %r10d,%ecx
  jne    L417
L267:
  add    %r12,%rsi
  add    %r11,%rcx
  lea    (%r9,%r11,8),%rax
  lea    (%r9,%rsi,8),%rdx
  mov    0xe0(%rsp),%rsi
  lea    (%rsi,%rcx,8),%rcx
L300:
  movq   $0x0,(%rdx)
  add    $0x8,%rax
  add    %rbp,%rdx
  movq   $0x0,-0x8(%rax)
  cmp    %rcx,%rax
  jne    L300
  jmp    L909
L277:
  movslq %ecx,%rax
  mov    0x28(%rsp),%rsi
  mov    0x18(%rsp),%r9d
  mov    %r14d,%r10d
  shl    $0x3,%rax
  mov    0xf0(%rsp),%r13
  mov    0xe8(%rsp),%r15d
  mov    %rax,0x68(%rsp)
  movslq 0x30(%rsp),%rax
  mov    %rsi,%r11
  imul   %r14d,%r9d
  mov    %r13,0x50(%rsp)
  add    %rsi,%rax
  mov    0x80(%rsp),%rsi
  lea    (%rsi,%rax,8),%rbx
  mov    %r14d,%eax
  mov    %rsi,%r13
  neg    %eax
  mov    %rbx,0x8(%rsp)
  cltq
  lea    -0x8(,%rax,8),%rax
  mov    %rax,0xa0(%rsp)
  mov    0xd0(%rsp),%eax
  mov    %eax,0x20(%rsp)
  mov    0x88(%rsp),%rax
  lea    0x0(,%rax,8),%r12
  shl    $0x4,%rax
  mov    %rax,0x70(%rsp)
L1667:
  mov    0x50(%rsp),%rax
  mov    %r11d,%edx
  mov    %r11d,%esi
  movsd  (%rax,%r11,8),%xmm2
  ucomisd 0x48(%rsp),%xmm2
  jp     L1975
  je     L950
L1975:
  mov    %r11d,0x30(%rsp)
  cmp    %r11d,0x18(%rsp)
  jne    L920
L1214:
  cmp    0x30(%rsp),%r15d
  jle    L1121
  mov    %r15d,%eax
  mov    %r15d,%ecx
  sub    %r10d,%eax
  sub    %edx,%ecx
  cmp    $0x3,%eax
  jbe    L428
  test   %r14d,%r14d
  je     L428
  mov    %ecx,%r8d
  movapd %xmm2,%xmm1
  mov    0x8(%rsp),%rax
  xor    %edi,%edi
  shr    %r8d
  unpcklpd %xmm1,%xmm1
L1173:
  movsd  (%rax),%xmm0
  add    $0x1,%edi
  movhpd (%rax,%r12,1),%xmm0
  divpd  %xmm1,%xmm0
  movlpd %xmm0,(%rax)
  movhpd %xmm0,(%rax,%r12,1)
  add    0x70(%rsp),%rax
  cmp    %edi,%r8d
  jne    L1173
  mov    %ecx,%edi
  and    $0xfffffffe,%edi
  lea    (%rdi,%rsi,1),%eax
  cmp    %edi,%ecx
  je     L1121
  imul   %r14d,%eax
  add    %esi,%eax
  cltq
  lea    0x0(%r13,%rax,8),%rax
  movsd  (%rax),%xmm0
  divsd  %xmm2,%xmm0
  movsd  %xmm0,(%rax)
L1121:
  movsd  0x78(%rsp),%xmm0
  addsd  (%rbx),%xmm0
  sub    $0x1,%edx
  sub    %r14d,%r9d
  mov    0xa0(%rsp),%rsi
  mov    (%rsp),%ecx
  lea    -0x1(%r11),%rax
  sub    $0x1,%r10d
  add    %rsi,0x8(%rsp)
  movsd  %xmm0,(%rbx)
  add    0x68(%rsp),%rbx
  add    %ecx,0x20(%rsp)
  cmp    %eax,0x18(%rsp)
  jg     L1561
  mov    %rax,%r11
  jmp    L1667
L950:
  cmp    %r11d,%r15d
  jle    L1121
  movslq %r9d,%rax
  add    %r11,%rax
  lea    0x0(%r13,%rax,8),%rax
L1330:
  add    $0x1,%esi
  movq   $0x0,(%rax)
  add    %r12,%rax
  cmp    %esi,%r15d
  jne    L1330
  jmp    L1121
L920:
  cmp    %r10d,%r14d
  jle    L1214
  movslq 0x20(%rsp),%rax
  movslq %r9d,%rcx
  mov    $0x1,%edi
  lea    0x0(%r13,%rax,8),%rax
  mov    %rax,0x58(%rsp)
  movslq %r10d,%rax
  add    %rcx,%rax
  mov    $0xfffffffffffffffe,%rcx
  lea    0x0(%r13,%rax,8),%r8
  mov    0x40(%rsp),%eax
  sub    %edx,%eax
  sub    %rax,%rcx
  lea    (%r14,%r9,1),%eax
  cltq
  mov    %rcx,0x90(%rsp)
  mov    $0xffffffffffffffff,%rcx
  add    %r11,%rax
  lea    0x0(%r13,%rax,8),%rax
  mov    %rax,0x98(%rsp)
L1083:
  mov    0x98(%rsp),%rax
  mov    %r10d,%ebp
  pxor   %xmm1,%xmm1
  cmp    %r10d,%r15d
  jle    L569
  nopl   0x0(%rax)
L1337:
  movsd  (%rax),%xmm0
  mulsd  (%rax,%rdi,8),%xmm0
  add    $0x1,%ebp
  add    %r12,%rax
  addsd  %xmm0,%xmm1
  cmp    %ebp,%r15d
  jne    L1337
L569:
  mov    0x58(%rsp),%rax
  mov    %esi,%ebp
  divsd  (%rax),%xmm1
  divsd  %xmm2,%xmm1
  mov    %r8,%rax
  cmp    0x30(%rsp),%r15d
  jle    L540
  nopl   0x0(%rax)
L1170:
  movsd  (%rax,%rcx,8),%xmm0
  add    $0x1,%ebp
  mulsd  %xmm1,%xmm0
  addsd  (%rax),%xmm0
  movsd  %xmm0,(%rax)
  add    %r12,%rax
  cmp    %ebp,%r15d
  jne    L1170
L540:
  add    $0x8,%r8
  sub    $0x1,%rcx
  add    $0x1,%rdi
  cmp    %rcx,0x90(%rsp)
  jne    L1083
  jmp    L1214
L428:
  movslq %r9d,%rax
  add    %r11,%rax
  lea    0x0(%r13,%rax,8),%rax
L1109:
  movsd  (%rax),%xmm0
  add    $0x1,%esi
  divsd  %xmm2,%xmm0
  movsd  %xmm0,(%rax)
  add    %r12,%rax
  cmp    %esi,%r15d
  jne    L1109
  jmp    L1121
L417:
  mov    %r8d,%edx
  movslq 0x90(%rsp),%rax
  movslq 0x8(%rsp),%rsi
  lea    -0x1(%rdx),%rcx
  mov    0x80(%rsp),%r15
  lea    -0x1(%rdx,%r11,1),%rdx
  imul   %rbp,%rcx
  mulsd  0x8(%r15,%rax,8),%xmm0
  lea    (%rsi,%r12,1),%rax
  shl    $0x3,%rax
  mov    %rcx,%rdi
  lea    (%r15,%rdx,8),%rcx
  xor    %edx,%edx
  test   %r14d,%r14d
  cmovs  %rdi,%rdx
  add    %rax,%rdx
  add    %r9,%rdx
  cmp    %rdx,%rcx
  setb   %cl
  xor    %edx,%edx
  test   %r14d,%r14d
  cmovns %rdi,%rdx
  add    %rax,%rdx
  add    %r9,%rdx
  cmp    %rbx,%rdx
  setb   %dl
  or     %cl,%dl
  je     L1943
  cmp    $0x1,%r10d
  jbe    L1943
  mov    %r8d,%edx
  movapd %xmm0,%xmm2
  add    %r9,%rax
  shr    %edx
  unpcklpd %xmm2,%xmm2
  sub    $0x1,%edx
  shl    $0x4,%rdx
  lea    0x10(%rbx,%rdx,1),%rcx
  mov    %rbx,%rdx
L1721:
  movupd (%rdx),%xmm1
  add    $0x10,%rdx
  divpd  %xmm2,%xmm1
  movlpd %xmm1,(%rax)
  movhpd %xmm1,(%rax,%rbp,1)
  add    0xa0(%rsp),%rax
  cmp    %rcx,%rdx
  jne    L1721
  mov    0x20(%rsp),%eax
  mov    %r8d,%edx
  mov    %r10d,%ecx
  and    $0xfffffffe,%edx
  add    %edx,%eax
  cmp    %r8d,%edx
  je     L1434
  mov    %r14d,%edx
  mov    0x80(%rsp),%rdi
  imul   %eax,%edx
  add    0x68(%rsp),%eax
  cltq
  movsd  (%rdi,%rax,8),%xmm1
  add    %r13d,%edx
  divsd  %xmm0,%xmm1
  movslq %edx,%rdx
  movsd  %xmm1,(%r9,%rdx,8)
L1434:
  mov    0x98(%rsp),%rdi
  lea    0x1(%r12,%rsi,1),%rax
  lea    (%r9,%rax,8),%r13
  lea    (%rcx,%r11,1),%rax
  lea    (%rdi,%rax,8),%rax
  mov    $0xffffffffffffffff,%rdi
  mov    %rax,0xa8(%rsp)
  mov    0x20(%rsp),%eax
  mov    %eax,0x50(%rsp)
L541:
  mov    0xa8(%rsp),%r15
  mov    %r13,%rdx
  mov    %rbx,%rax
  pxor   %xmm1,%xmm1
L1792:
  movsd  (%rax),%xmm0
  mulsd  (%rdx),%xmm0
  add    $0x8,%rax
  add    %rbp,%rdx
  addsd  %xmm0,%xmm1
  cmp    %r15,%rax
  jne    L1792
  mov    0x20(%rsp),%edx
  mov    %r13,%rax
L347:
  movsd  (%rax,%rdi,8),%xmm0
  mov    %edx,%r15d
  add    $0x1,%edx
  mulsd  %xmm1,%xmm0
  addsd  (%rax),%xmm0
  movsd  %xmm0,(%rax)
  add    %rbp,%rax
  cmp    %edx,%r14d
  jne    L347
  mov    0x50(%rsp),%edx
  add    $0x8,%r13
  sub    $0x1,%rdi
  lea    0x1(%rdx),%eax
  cmp    %edx,%r15d
  je     L267
  mov    %eax,0x50(%rsp)
  jmp    L541
L1561:
  mov    0x50(%rsp),%r13
  cmp    $0xffffffff,%edx
  je     L1678
  mov    %r14d,%ecx
  movslq (%rsp),%rax
  movslq %edx,%r10
  mov    %r13,0x30(%rsp)
  imul   %edx,%ecx
  mov    0x80(%rsp),%rsi
  mov    %r10,%rbx
  mov    %r11d,%r13d
  shl    $0x3,%rax
  mov    %rax,0x58(%rsp)
  movslq %ecx,%rax
  mov    %ecx,%r8d
  add    %r10,%rax
  lea    (%rsi,%rax,8),%r9
  mov    %r14d,%eax
  neg    %eax
  mov    %r9,0x8(%rsp)
  cltq
  lea    -0x8(,%rax,8),%rax
  mov    %rax,0x50(%rsp)
  lea    (%rcx,%rdx,1),%eax
  mov    %r14d,%ecx
  mov    %r8d,%r14d
  mov    %eax,0x18(%rsp)
  mov    0x88(%rsp),%rax
  mov    %rsi,%r8
  lea    0x0(,%rax,8),%r12
  shl    $0x4,%rax
  mov    %rax,0x90(%rsp)
L841:
  mov    0x30(%rsp),%rax
  mov    %ebx,0x20(%rsp)
  mov    %ebx,%ebp
  movsd  (%rax,%rbx,8),%xmm2
  cmp    %r13d,%ecx
  jle    L1093
  mov    0x40(%rsp),%eax
  xor    %esi,%esi
  mov    %r8,0xa0(%rsp)
  mov    %ecx,0x98(%rsp)
  sub    %ebx,%eax
  mov    %r9,0x70(%rsp)
  lea    0x8(,%rax,8),%rdx
  mov    0x8(%rsp),%rax
  movsd  %xmm2,0x68(%rsp)
  lea    0x8(%rax),%rdi
  call   <memset@plt>
  movsd  0x68(%rsp),%xmm2
  ucomisd 0x48(%rsp),%xmm2
  mov    0x70(%rsp),%r9
  mov    0x98(%rsp),%ecx
  mov    0xa0(%rsp),%r8
  jp     L972
  je     L1793
L972:
  movslq 0x18(%rsp),%rax
  movslq %r14d,%rdx
  mov    $0xfffffffffffffffe,%rsi
  mov    %ebx,0x68(%rsp)
  lea    (%r8,%rax,8),%r10
  movslq %r13d,%rax
  add    %rdx,%rax
  mov    $0xffffffffffffffff,%rdx
  lea    (%r8,%rax,8),%rdi
  mov    0x40(%rsp),%eax
  sub    0x20(%rsp),%eax
  sub    %rax,%rsi
  lea    (%rcx,%r14,1),%eax
  cltq
  mov    %rsi,0x70(%rsp)
  mov    $0x1,%esi
  add    %rbx,%rax
  lea    (%r8,%rax,8),%rax
  mov    %rax,0x98(%rsp)
L226:
  mov    0x98(%rsp),%rax
  mov    %r13d,%r11d
  pxor   %xmm1,%xmm1
  cmp    %r13d,%r15d
  jle    L1397
  nopl   (%rax)
L377:
  movsd  (%rax,%rsi,8),%xmm0
  mulsd  (%rax),%xmm0
  add    $0x1,%r11d
  add    %r12,%rax
  addsd  %xmm0,%xmm1
  cmp    %r11d,%r15d
  jne    L377
L1397:
  divsd  (%r10),%xmm1
  divsd  %xmm2,%xmm1
  mov    %rdi,%rax
  mov    %ebp,%r11d
  cmp    0x68(%rsp),%r15d
  jle    L1472
  nop
L1332:
  movsd  (%rax,%rdx,8),%xmm0
  add    $0x1,%r11d
  mulsd  %xmm1,%xmm0
  addsd  (%rax),%xmm0
  movsd  %xmm0,(%rax)
  add    %r12,%rax
  cmp    %r11d,%r15d
  jne    L1332
L1472:
  add    $0x8,%rdi
  sub    $0x1,%rdx
  add    $0x1,%rsi
  cmp    %rdx,0x70(%rsp)
  jne    L226
L738:
  cmp    %ebx,%r15d
  jle    L1551
  mov    %r15d,%eax
  mov    %r15d,%edx
  sub    0x20(%rsp),%edx
  sub    %r13d,%eax
  cmp    $0x3,%eax
  jbe    L285
  test   %ecx,%ecx
  je     L285
  mov    %edx,%edi
  movapd %xmm2,%xmm1
  mov    0x8(%rsp),%rax
  xor    %esi,%esi
  shr    %edi
  unpcklpd %xmm1,%xmm1
L894:
  movsd  (%rax),%xmm0
  add    $0x1,%esi
  movhpd (%rax,%r12,1),%xmm0
  divpd  %xmm1,%xmm0
  movlpd %xmm0,(%rax)
  movhpd %xmm0,(%rax,%r12,1)
  add    0x90(%rsp),%rax
  cmp    %edi,%esi
  jne    L894
  mov    %edx,%esi
  and    $0xfffffffe,%esi
  lea    (%rsi,%rbp,1),%eax
  cmp    %esi,%edx
  je     L1551
  imul   %ecx,%eax
  add    %ebp,%eax
  cltq
  lea    (%r8,%rax,8),%rax
  movsd  (%rax),%xmm0
  divsd  %xmm2,%xmm0
  movsd  %xmm0,(%rax)
L1551:
  sub    $0x1,%rbx
  mov    0x50(%rsp),%rsi
  sub    $0x1,%r13d
  sub    %ecx,%r14d
  movsd  0x78(%rsp),%xmm0
  addsd  (%r9),%xmm0
  add    %rsi,0x8(%rsp)
  mov    (%rsp),%esi
  add    %esi,0x18(%rsp)
  movsd  %xmm0,(%r9)
  add    0x58(%rsp),%r9
  test   %ebx,%ebx
  jns    L841
  mov    0x30(%rsp),%r13
  mov    %ecx,%r14d
  jmp    L1678
L436:
  mov    0x120(%rsp),%edx
  xor    %eax,%eax
L1180:
  movsd  (%rbx,%rax,8),%xmm0
  mov    0x80(%rsp),%rsi
  movsd  %xmm0,(%rsi,%rax,8)
  add    $0x1,%rax
  cmp    %rdx,%rax
  jne    L1180
  lea    -0x1(%r14),%eax
  mov    %eax,0x18(%rsp)
  test   %r14d,%r14d
  jg     L952
L1343:
  pxor   %xmm6,%xmm6
  movsd  %xmm6,0x48(%rsp)
  movsd  %xmm6,0x10(%rsp)
  jmp    L1389
L621:
  cmp    %r11d,0x8(%rsp)
  jle    L757
  movsd  0x90(%rsp),%xmm4
  mov    0x58(%rsp),%rax
  mov    $0xfffffffffffffffe,%rsi
  mov    $0x1,%edx
  mov    $0xffffffffffffffff,%r15
  mulsd  %xmm0,%xmm4
  lea    0x1(%rbp,%rax,1),%rax
  lea    (%r12,%rax,8),%r9
  lea    -0x1(%rbx),%eax
  sub    %rax,%rsi
  mov    %rsi,%rdi
  subsd  %xmm2,%xmm4
L1245:
  mov    0x98(%rsp),%rax
  mov    %r8d,%esi
  pxor   %xmm2,%xmm2
L847:
  movsd  (%rax),%xmm3
  mulsd  (%rax,%rdx,8),%xmm3
  mov    %esi,%r10d
  add    %r14,%rax
  add    $0x1,%esi
  addsd  %xmm3,%xmm2
  cmp    %ecx,%r10d
  jne    L847
  divsd  %xmm4,%xmm2
  mov    %r9,%rax
  mov    %r8d,%esi
L951:
  movsd  (%rax,%r15,8),%xmm3
  mov    %esi,%r10d
  add    $0x1,%esi
  mulsd  %xmm2,%xmm3
  addsd  (%rax),%xmm3
  movsd  %xmm3,(%rax)
  add    %r14,%rax
  cmp    %r10d,%ecx
  jne    L951
  sub    $0x1,%r15
  add    $0x8,%r9
  add    $0x1,%rdx
  cmp    %rdi,%r15
  jne    L1245
  jmp    L757
L418:
  mov    0x60(%rsp),%rax
  lea    -0x1(%rbx),%edx
  lea    0x10(%rax),%r11
  mov    %rax,%rsi
  jmp    L63
L1567:
  mov    %r13d,%eax
  jmp    L1027
L1093:
  ucomisd 0x48(%rsp),%xmm2
  jp     L738
  jne    L738
L1793:
  cmp    %ebx,%r15d
  jle    L1551
  movslq %r14d,%rax
  add    %rbx,%rax
  lea    (%r8,%rax,8),%rax
L230:
  add    $0x1,%ebp
  movq   $0x0,(%rax)
  add    %r12,%rax
  cmp    %ebp,%r15d
  jne    L230
  jmp    L1551
L285:
  movslq %r14d,%rax
  add    %rbx,%rax
  lea    (%r8,%rax,8),%rax
L616:
  movsd  (%rax),%xmm0
  add    $0x1,%ebp
  divsd  %xmm2,%xmm0
  movsd  %xmm0,(%rax)
  add    %r12,%rax
  cmp    %ebp,%r15d
  jne    L616
  jmp    L1551
L1467:
  mov    0x68(%rsp),%rax
  mov    %r8d,%r10d
  pxor   %xmm2,%xmm2
L1005:
  movsd  (%rax),%xmm0
  mov    %r10d,%edx
  add    $0x1,%r10d
  divsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  mulsd  %xmm0,%xmm0
  add    %r14,%rax
  addsd  %xmm0,%xmm2
  cmp    %edx,%ecx
  jne    L1005
  jmp    L1679
L1107:
  mov    0x60(%rsp),%rdi
  lea    -0x1(%rbx),%eax
  mov    %rax,%rdx
  add    %rbp,%rax
  lea    0x10(%rdi),%r11
  lea    (%r11,%rax,8),%rsi
  mov    0x58(%rsp),%rax
  lea    (%r12,%rax,8),%rax
  sub    %rdi,%rax
  mov    %rax,%rcx
  mov    0x20(%rsp),%rax
L437:
  movsd  (%rcx,%rax,1),%xmm1
  add    $0x8,%rax
  divsd  %xmm0,%xmm1
  movsd  %xmm1,-0x8(%rax)
  cmp    %rsi,%rax
  jne    L437
  mov    0x60(%rsp),%rsi
  jmp    L63
L1348:
  mov    0xc0(%rsp),%rax
  xor    %edx,%edx
  add    0xb8(%rsp),%rax
L382:
  movsd  (%rax),%xmm0
  xorpd  D48(%rip),%xmm0
  add    $0x1,%edx
  movsd  %xmm0,(%rax)
  add    %r14,%rax
  cmp    %edx,%r12d
  jne    L382
  jmp    L1160
L1672:
  movapd %xmm1,%xmm0
  mov    %rsi,0xa0(%rsp)
  movsd  %xmm3,0x90(%rsp)
  movsd  %xmm2,0x78(%rsp)
  movsd  %xmm1,0x68(%rsp)
  call   <sqrt@plt>
  movsd  0x78(%rsp),%xmm2
  movsd  0x68(%rsp),%xmm1
  movapd %xmm0,%xmm4
  mov    0xa0(%rsp),%rsi
  movsd  0x90(%rsp),%xmm3
  movapd %xmm2,%xmm0
  subsd  %xmm4,%xmm2
  mulsd  %xmm4,%xmm0
  movsd  %xmm2,(%rsi)
  subsd  %xmm1,%xmm0
  jmp    L171
  xchg   %ax,%ax
L1251:
  mov    %r13d,%eax
  jmp    L791
L1923:
  movapd %xmm2,%xmm0
  mov    %r8d,0xf0(%rsp)
  mov    %r11d,0xe0(%rsp)
  mov    %ecx,0xb0(%rsp)
  movsd  %xmm1,0xa8(%rsp)
  movsd  %xmm2,0xa0(%rsp)
  call   <sqrt@plt>
  mov    0xf0(%rsp),%r8d
  mov    0xe0(%rsp),%r11d
  movsd  0xa8(%rsp),%xmm1
  mov    0xb0(%rsp),%ecx
  movsd  0xa0(%rsp),%xmm2
  jmp    L2015
  nopl   0x0(%rax,%rax,1)
L978:
  mov    0x50(%rsp),%rax
  movapd 0x30(%rsp),%xmm6
  movsd  (%rax),%xmm0
  mov    0x40(%rsp),%rax
  movsd  (%rax),%xmm1
  andpd  %xmm6,%xmm0
  andpd  %xmm6,%xmm1
  addsd  %xmm1,%xmm0
  comisd 0x10(%rsp),%xmm0
  jbe    L1812
  mov    0x28(%rsp),%r15d
  mov    0x8(%rsp),%r14d
  movsd  %xmm0,0x10(%rsp)
  mov    0xd0(%rsp),%r13
  jmp    L1389
L315:
  movsd  0x48(%rsp),%xmm6
  lea    0x1(%rbp),%r15
  comisd %xmm2,%xmm6
  movapd %xmm6,%xmm1
  jbe    L1534
  jmp    L599
L1791:
  lea    D34(%rip),%rdi
  call   <printf@plt>
  lea    D73(%rip),%rdi
  call   <printf@plt>
  mov    $0xffffffff,%eax
  jmp    L1566
L1586:
  movapd %xmm6,%xmm3
  jmp    L758
L1507:
  movapd %xmm2,%xmm0
  mov    %r8d,0xf0(%rsp)
  mov    %r11d,0xe0(%rsp)
  mov    %ecx,0xb0(%rsp)
  movsd  %xmm1,0xa8(%rsp)
  movsd  %xmm2,0xa0(%rsp)
  call   <sqrt@plt>
  mov    0xb0(%rsp),%ecx
  movsd  0xa0(%rsp),%xmm2
  mov    0xe0(%rsp),%r11d
  mov    0xf0(%rsp),%r8d
  movsd  0xa8(%rsp),%xmm1
  jmp    L3
  nopl   (%rax)
L380:
  mov    %r13d,%eax
  pxor   %xmm1,%xmm1
  lea    0x1(%rbp),%r15
  jmp    L834
L2067:
  movapd %xmm1,%xmm0
  mov    %rsi,0xa0(%rsp)
  movsd  %xmm3,0x90(%rsp)
  movsd  %xmm2,0x78(%rsp)
  movsd  %xmm1,0x68(%rsp)
  call   <sqrt@plt>
  mov    0xa0(%rsp),%rsi
  movsd  0x90(%rsp),%xmm3
  movsd  0x78(%rsp),%xmm2
  movsd  0x68(%rsp),%xmm1
  movapd %xmm0,%xmm4
  jmp    L1287
  nopl   0x0(%rax)
L1943:
  mov    0x98(%rsp),%rdi
  mov    %r10d,%ecx
  add    %r9,%rax
  lea    (%rcx,%r11,1),%rdx
  lea    (%rdi,%rdx,8),%rdi
  mov    %rbx,%rdx
L22:
  movsd  (%rdx),%xmm1
  add    $0x8,%rdx
  divsd  %xmm0,%xmm1
  movsd  %xmm1,(%rax)
  add    %rbp,%rax
  cmp    %rdi,%rdx
  jne    L22
  jmp    L1434
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D116
type: qword
name: extract_symbolic_data
arguments: data_label: D74
type: qword[2]
name: extract_symbolic_data
arguments: data_label: D48
type: f32[4]
name: extract_symbolic_data
arguments: data_label: D105
type: f64
name: extract_symbolic_data
arguments: data_label: D146
type: f64
name: extract_symbolic_data
arguments: data_label: D41
type: string
name: extract_symbolic_data
arguments: data_label: D34
type: string
name: extract_symbolic_data
arguments: data_label: D73
type: string

tool: D116: 9223372036854775807

tool: {"D74": [0x7fffffffffffffff,0x7fffffffffffffff]}

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

tool: D105: 1

tool: D146: 0.5

tool: D41: Convergence Not Achieved 


tool: D34: Rows (M) should be greater than Columns (B) 


tool: D73: Retry By Transposing the Input Matrix

assistant: ```c
int svd(double *A, int M, int N, double *U, double *V, double *q) {
  int i, j, k, l, t, t2, ierr, cancel, iter, l1;
  double eps, g, x, s, temp, f, h, c, y, z, scale;
  double *e;
  if (M < N) {
    printf("Rows (M) should be greater than Columns (B) \n");
    printf("Retry By Transposing the Input Matrix");
    return -1;
  }
  e = (double *)malloc(sizeof(double) * N);
  ierr = 0;
  eps = macheps();
  g = scale = x = 0.0;
  for (i = 0; i < M * N; ++i) {
    U[i] = A[i];
  }
  for (i = 0; i < N; ++i) {
    l = i + 1;
    e[i] = scale * g;
    g = 0.0;
    s = 0.0;
    scale = 0.0;
    if (i < M) {
      for (k = i; k < M; ++k) {
        scale += fabs(U[k * N + i]);
      }
      if (scale != 0.0) {
        for (k = i; k < M; ++k) {
          t = k * N;
          U[t + i] /= scale;
          temp = U[t + i];
          s += temp * temp;
        }
        f = U[i * N + i];
        g = (f < 0) ? sqrt(s) : -sqrt(s);
        h = f * g - s;
        U[i * N + i] = f - g;
        if (i < N - 1) {
          for (j = l; j < N; ++j) {
            s = 0.0;
            for (k = i; k < M; ++k) {
              t = k * N;
              s += U[t + i] * U[t + j];
            }
            f = s / h;
            for (k = i; k < M; ++k) {
              t = k * N;
              U[t + j] += f * U[t + i];
            }
          }
        }
        for (k = i; k < M; ++k) {
          t = k * N;
          U[t + i] *= scale;
        }
      }
    }
    q[i] = scale * g;
    g = 0.0;
    s = 0.0;
    scale = 0.0;
    if (i < M && i != N - 1) {
      t = i * N;
      for (k = l; k < M; ++k) {
        scale += fabs(U[t + k]);
      }
      if (scale != 0.0) {
        for (k = l; k < N; ++k) {
          U[t + k] /= scale;
          temp = U[t + k];
          s = s + temp * temp;
        }
        f = U[t + l];
        g = (f < 0) ? sqrt(s) : -sqrt(s);
        h = f * g - s;
        U[t + l] = f - g;
        for (k = l; k < N; ++k) {
          e[k] = U[t + k] / h;
        }
        for (j = l; j < M; j++) {
          s = 0.0;
          t2 = j * N;
          for (k = l; k < N; k++) {
            s += U[t2 + k] * U[t + k];
          }
          for (k = l; k < N; k++) {
            U[t2 + k] += s * e[k];
          }
        }
        for (k = l; k < N; k++)
          U[t + k] *= scale;
      }
    }
    temp = fabs(q[i]) + fabs(e[i]);
    if (x < temp) {
      x = temp;
    }
  }
  for (i = N - 1; i >= 0; --i) {
    t = i * N;
    if (i < N - 1) {
      if (g != 0.0) {
        h = U[t + i + 1] * g;
        for (j = l; j < N; ++j) {
          V[j * N + i] = U[t + j] / h;
        }
        for (j = l; j < N; ++j) {
          s = 0.0;
          for (k = l; k < N; ++k) {
            s += U[t + k] * V[k * N + j];
          }
          for (k = l; k < N; ++k) {
            V[k * N + j] += (s * V[k * N + i]);
          }
        }
      }
      for (j = l; j < N; ++j) {
        V[t + j] = V[j * N + i] = 0.0;
      }
    }
    V[t + i] = 1.0;
    g = e[i];
    l = i;
  }
  for (i = N - 1; i >= 0; --i) {
    t = i * N;
    l = i + 1;
    g = q[i];
    if (i < N - 1) {
      for (j = l; j < N; ++j) {
        U[t + j] = 0.0;
      }
    }
    if (g != 0.0) {
      if (i != N - 1) {
        for (j = l; j < N; ++j) {
          s = 0.0;
          for (k = l; k < M; ++k) {
            s += (U[k * N + i] * U[k * N + j]);
          }
          f = (s / U[t + i]) / g;
          for (k = i; k < M; ++k) {
            U[k * N + j] += (f * U[k * N + i]);
          }
        }
      }
      for (j = i; j < M; ++j) {
        U[j * N + i] = U[j * N + i] / g;
      }
    } else {
      for (j = i; j < M; ++j) {
        U[j * N + i] = 0.0;
      }
    }
    U[t + i] += 1.0;
  }
  eps = eps * x;
  for (k = N - 1; k >= 0; --k) {
    iter = 0;
    while (1) {
      iter++;
      if (iter > 50) {
        printf("Convergence Not Achieved \n");
        return 15;
      }
      cancel = 1;
      for (l = k; l >= 0; --l) {
        if (fabs(e[l]) <= eps) {
          cancel = 0;
          break;
        }
        if (fabs(q[l - 1]) <= eps) {
          break;
        }
      }
      if (cancel) {
        c = 0.0;
        s = 1.0;
        l1 = l - 1;
        for (i = l; i <= k; ++i) {
          f = s * e[i];
          e[i] *= c;
          if (fabs(f) <= eps) {
            break;
          }
          g = q[i];
          h = q[i] = hypot(f, g);
          c = g / h;
          s = -f / h;
          for (j = 0; j < M; ++j) {
            t = j * N;
            y = U[t + l1];
            z = U[t + i];
            U[t + l1] = y * c + z * s;
            U[t + i] = z * c - y * s;
          }
        }
      }
      z = q[k];
      if (l != k) {
        x = q[l];
        y = q[k - 1];
        g = e[k - 1];
        h = e[k];
        f = 0.5 * (((g + z) / h) * ((g - z) / y) + y / h - h / y);
        g = hypot(f, 1.0);
        if (f < 0.0) {
          temp = f - g;
        } else {
          temp = f + g;
        }
        f = x - (z / x) * z + (h / x) * (y / temp - h);
        c = s = 1.0;
        for (i = l + 1; i <= k; ++i) {
          g = e[i];
          y = q[i];
          h = s * g;
          g = c * g;
          e[i - 1] = z = hypot(f, h);
          c = f / z;
          s = h / z;
          f = x * c + g * s;
          g = g * c - x * s;
          h = y * s;
          y *= c;
          for (j = 0; j < N; ++j) {
            t = j * N;
            x = V[t + i - 1];
            z = V[t + i];
            V[t + i - 1] = x * c + z * s;
            V[t + i] = z * c - x * s;
          }
          q[i - 1] = z = hypot(f, h);
          if (z != 0.0) {
            c = f / z;
            s = h / z;
          }
          f = c * g + s * y;
          x = c * y - s * g;
          for (j = 0; j < M; ++j) {
            t = j * N;
            y = U[t + i - 1];
            z = U[t + i];
            U[t + i - 1] = y * c + z * s;
            U[t + i] = z * c - y * s;
          }
        }
        e[l] = 0.0;
        e[k] = f;
        q[k] = x;
      } else {
        if (z < 0.0) {
          q[k] = -z;
          for (j = 0; j < N; j++) {
            t = j * N;
            V[t + k] = -V[t + k];
          }
        }
        break;
      }
    }
  }
  svd_sort(U, M, N, V, q);
  free(e);
  return ierr;
}
```