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

```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     L854
  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    L1472
  mov    %eax,%esi
  lea    -0x1(%rax),%eax
  cmp    $0x2,%eax
  jbe    L568
  lea    0x8(%rbx),%rax
  cmp    %rax,0x80(%rsp)
  je     L568
  shr    %esi
  xor    %eax,%eax
  mov    %esi,%edx
  shl    $0x4,%rdx
L291:
  movupd (%rbx,%rax,1),%xmm6
  mov    0x80(%rsp),%rsi
  movups %xmm6,(%rsi,%rax,1)
  add    $0x10,%rax
  cmp    %rdx,%rax
  jne    L291
  mov    0x120(%rsp),%ecx
  mov    %ecx,%eax
  and    $0xfffffffe,%eax
  and    $0x1,%ecx
  je     L1472
  movsd  (%rbx,%rax,8),%xmm0
  movsd  %xmm0,(%rsi,%rax,8)
L1472:
  lea    -0x1(%r14),%eax
  mov    %eax,0x18(%rsp)
  test   %r14d,%r14d
  jle    L1503
L1497:
  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   D58(%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    L1705
L575:
  mov    0x40(%rsp),%rax
  movsd  0x48(%rsp),%xmm1
  movq   $0x0,(%rax)
  movapd %xmm1,%xmm3
L1945:
  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    L153
  movsd  %xmm0,0x10(%rsp)
L153:
  pxor   %xmm4,%xmm4
L1778:
  mov    0x8(%rsp),%eax
  cmp    %r13d,%eax
  jle    L152
  mov    (%rsp),%esi
  lea    0x1(%rbp),%r15
  lea    -0x1(%rbx),%edx
  add    %esi,%eax
  mov    %eax,0x68(%rsp)
L727:
  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)
L1705:
  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    L575
  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
L1297:
  movsd  (%rsi),%xmm0
  andpd  0x30(%rsp),%xmm0
  mov    %eax,%ecx
  add    $0x1,%eax
  add    %r14,%rsi
  addsd  %xmm0,%xmm1
  cmp    %eax,%edx
  jne    L1297
  movsd  0x48(%rsp),%xmm6
  ucomisd %xmm6,%xmm1
  jp     L1868
  jne    L1868
  mulsd  %xmm6,%xmm1
  mov    0x40(%rsp),%rax
  mov    0x78(%rsp),%ecx
  movsd  %xmm1,(%rax)
  cmp    %ecx,0x28(%rsp)
  jle    L1295
L1095:
  mov    0x78(%rsp),%ecx
  pxor   %xmm3,%xmm3
  cmp    %ecx,0x18(%rsp)
  je     L1945
  mov    0x28(%rsp),%eax
  cmp    %r13d,%eax
  jle    L1945
  mov    %eax,%r8d
  sub    %ebp,%eax
  mov    %ebp,%r10d
  sub    %r13d,%r8d
  cmp    $0x2,%eax
  je     L108
  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    L249
L448:
  add    $0x10,%rax
L249:
  movupd (%rcx),%xmm0
  andpd  D141(%rip),%xmm0
  mov    %rax,%rcx
  addsd  %xmm0,%xmm3
  unpckhpd %xmm0,%xmm0
  addsd  %xmm0,%xmm3
  cmp    %rsi,%rax
  jne    L448
  mov    %r8d,%ecx
  and    $0xfffffffe,%ecx
  lea    (%rcx,%r13,1),%eax
  cmp    %ecx,%r8d
  je     L1954
L131:
  add    (%rsp),%eax
  cltq
  movsd  (%r12,%rax,8),%xmm0
  andpd  0x30(%rsp),%xmm0
  addsd  %xmm0,%xmm3
L1954:
  ucomisd 0x48(%rsp),%xmm3
  jp     L244
  je     L1945
L244:
  movslq 0x70(%rsp),%rax
  lea    (%r12,%rax,8),%rsi
  mov    0x8(%rsp),%eax
  movsd  (%rsi),%xmm2
  cmp    %r13d,%eax
  jle    L1963
  sub    %r10d,%eax
  cmp    $0x2,%eax
  je     L1709
  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
L1691:
  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    L1691
  mov    %ebx,%ecx
  and    $0xfffffffe,%ecx
  lea    (%rcx,%r13,1),%eax
  cmp    %ebx,%ecx
  je     L737
L1004:
  add    (%rsp),%eax
  cltq
  lea    (%r12,%rax,8),%rax
  movsd  (%rax),%xmm0
  divsd  %xmm3,%xmm0
  movsd  %xmm0,(%rax)
  mulsd  %xmm0,%xmm0
  addsd  %xmm0,%xmm1
L737:
  movsd  (%rsi),%xmm2
  movsd  0x48(%rsp),%xmm6
  comisd %xmm2,%xmm6
  ja     L1203
  ucomisd %xmm1,%xmm6
  ja     L1394
L497:
  movapd %xmm1,%xmm4
  sqrtsd %xmm4,%xmm4
L1460:
  xorpd  D87(%rip),%xmm4
L68:
  movapd %xmm2,%xmm0
  subsd  %xmm4,%xmm2
  mulsd  %xmm4,%xmm0
  movsd  %xmm2,(%rsi)
  subsd  %xmm1,%xmm0
  cmp    %r13d,0x8(%rsp)
  jle    L156
L9:
  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     L1995
  cmp    $0x1,%ebx
  je     L1995
  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
L569:
  movupd -0x8(%rcx,%rax,1),%xmm1
  add    $0x10,%rcx
  divpd  %xmm2,%xmm1
  movups %xmm1,-0x10(%rcx)
  cmp    %r8,%rcx
  jne    L569
  mov    %ebx,%ecx
  and    $0xfffffffe,%ecx
  lea    (%rcx,%r13,1),%eax
  cmp    %ebx,%ecx
  je     L156
  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)
L449:
  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
L821:
  cmp    %r13d,0x8(%rsp)
  jle    L361
  cmpl   $0x2,0xa0(%rsp)
  je     L1324
  xor    %eax,%eax
  pxor   %xmm0,%xmm0
L1373:
  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    L1373
  cmp    %ebx,0x90(%rsp)
  je     L1581
L807:
  lea    (%rsi,%rdi,1),%eax
  cltq
  movsd  (%r12,%rax,8),%xmm1
  mulsd  0x0(%rbp),%xmm1
  addsd  %xmm1,%xmm0
L1581:
  cmp    %r8,0x108(%rsp)
  je     L987
  cmpl   $0x2,0xa0(%rsp)
  je     L987
  movapd %xmm0,%xmm2
  lea    (%r15,%r8,1),%r11
  mov    %r8,%rax
  unpcklpd %xmm2,%xmm2
L380:
  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    L380
  cmp    %ebx,0x90(%rsp)
  je     L361
  mov    0x58(%rsp),%r11
  lea    (%rsi,%r9,1),%eax
  cltq
  mulsd  (%r11),%xmm0
  lea    (%r12,%rax,8),%rax
  addsd  (%rax),%xmm0
  movsd  %xmm0,(%rax)
L361:
  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    L821
  mov    0xf0(%rsp),%rbp
  mov    0xe0(%rsp),%r15
  mov    0x110(%rsp),%edx
  cmp    %r13d,0x8(%rsp)
  jle    L480
  cmpl   $0x2,0xa0(%rsp)
  je     L1296
  mov    0xb0(%rsp),%rax
  movapd %xmm3,%xmm1
  unpcklpd %xmm1,%xmm1
  add    %rcx,%rax
L1096:
  movupd (%rcx),%xmm0
  add    $0x10,%rcx
  mulpd  %xmm1,%xmm0
  movups %xmm0,-0x10(%rcx)
  cmp    %rax,%rcx
  jne    L1096
  mov    %r9d,%eax
  cmp    %ebx,0x90(%rsp)
  je     L225
L695:
  add    (%rsp),%eax
  cltq
  lea    (%r12,%rax,8),%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm3,%xmm0
  movsd  %xmm0,(%rax)
L225:
  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    L727
L152:
  mov    0x28(%rsp),%r15d
  mov    0xd0(%rsp),%r13
  mov    %eax,%r14d
L1660:
  mov    0x18(%rsp),%esi
  test   %esi,%esi
  js     L265
  mov    0x18(%rsp),%eax
  imul   %r14d,%eax
  mov    %eax,0x30(%rsp)
  cmp    $0x1,%r14d
  jne    L552
  movsd  D59(%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     L381
  jne    L381
  mov    0x120(%rsp),%ecx
  test   %ecx,%ecx
  jle    L126
  mov    %rax,%rdi
  mov    %edx,%eax
  xor    %esi,%esi
  lea    0x8(,%rax,8),%rdx
  call   <memset@plt>
  jmp    L126
L381:
  mov    0x120(%rsp),%esi
  test   %esi,%esi
  jle    L126
  cmp    $0x1,%esi
  je     L915
  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
L1468:
  movupd (%rax),%xmm0
  add    $0x10,%rax
  divpd  %xmm2,%xmm0
  movups %xmm0,-0x10(%rax)
  cmp    %rdx,%rax
  jne    L1468
  mov    0x120(%rsp),%ecx
  mov    %ecx,%eax
  and    $0xfffffffe,%eax
  and    $0x1,%ecx
  je     L126
L1743:
  mov    0x80(%rsp),%rsi
  cltq
  lea    (%rsi,%rax,8),%rax
  movsd  (%rax),%xmm0
  divsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
L126:
  mov    0x80(%rsp),%rax
  movsd  0x78(%rsp),%xmm0
  addsd  (%rax),%xmm0
  movsd  %xmm0,(%rax)
  movslq 0x18(%rsp),%rax
  mov    %rax,0x28(%rsp)
L560:
  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   D58(%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
L2014:
  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)
L1871:
  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    L1881
  nopl   0x0(%rax,%rax,1)
L1883:
  movslq %edi,%r13
L1881:
  lea    (%rdx,%rbx,1),%rax
  movsd  (%rax),%xmm0
  andpd  %xmm6,%xmm0
  comisd %xmm0,%xmm1
  jae    L335
  movsd  -0x8(%rcx,%rbx,1),%xmm0
  lea    -0x1(%r13),%edi
  andpd  %xmm6,%xmm0
  comisd %xmm0,%xmm1
  jae    L464
  sub    $0x8,%rbx
  cmp    $0xffffffff,%edi
  jne    L1883
  mov    0x110(%rsp),%rax
  mov    $0xffffffffffffffff,%r13
  mov    $0xfffffffe,%edi
  mov    $0xfffffffffffffff8,%rbx
  mov    %rax,0xb0(%rsp)
  cmp    0x68(%rsp),%r13d
  jg     L129
L1222:
  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)
L801:
  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    L1058
  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  D87(%rip),%xmm2
  divsd  %xmm0,%xmm2
  jle    L140
  cmpl   $0x1,0x28(%rsp)
  jne    L104
  lea    0x10(%rbp),%rax
  cmp    %rax,0x58(%rsp)
  setge  %dl
  cmp    %rbp,0xa8(%rsp)
  setle  %al
  or     %dl,%al
  je     L1406
  cmpl   $0x1,0x120(%rsp)
  je     L1406
  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)
L1498:
  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    L1498
  cmp    %r11d,%esi
  je     L140
  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)
L140:
  add    $0x1,%ebx
  add    $0x1,%r14
  add    $0x8,%rbp
  cmp    0x88(%rsp),%ebx
  jle    L801
L1058:
  movslq 0x138(%rsp),%r13
  mov    0xd8(%rsp),%r14
  mov    %r11d,%r12d
  mov    0x128(%rsp),%rbx
  mov    0x28(%rsp),%r15d
L1874:
  mov    0x50(%rsp),%rsi
  mov    0x68(%rsp),%rax
  movsd  (%rsi,%rax,8),%xmm3
  cmp    %eax,%r13d
  je     L870
L603:
  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  D81(%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     L838
  addsd  %xmm0,%xmm2
L1:
  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     L1930
  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)
L1798:
  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    L791
  movapd %xmm6,%xmm8
  movapd %xmm5,%xmm7
  mov    %rbp,%rax
  xor    %edx,%edx
  unpcklpd %xmm8,%xmm8
  unpcklpd %xmm7,%xmm7
  nopl   0x0(%rax,%rax,1)
L203:
  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    L203
L791:
  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     L972
  movsd  0x28(%rsp),%xmm5
  movsd  0x40(%rsp),%xmm6
  je     L1553
L972:
  movapd %xmm9,%xmm6
  movapd %xmm1,%xmm5
  divsd  %xmm0,%xmm6
  divsd  %xmm0,%xmm5
L1553:
  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    L514
  movapd %xmm6,%xmm4
  movapd %xmm5,%xmm1
  mov    %rbx,%rax
  xor    %edx,%edx
  unpcklpd %xmm4,%xmm4
  unpcklpd %xmm1,%xmm1
  nopl   0x0(%rax,%rax,1)
L1191:
  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    L1191
L514:
  add    $0x8,%r12
  add    $0x8,%rbx
  add    $0x8,%rbp
  cmp    %r12,0x58(%rsp)
  jne    L1798
  mov    %r15d,%r12d
  mov    %r13d,%r15d
L1930:
  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    L1871
  lea    D21(%rip),%rdi
  call   <printf@plt>
  mov    $0xf,%eax
L84:
  add    $0x148,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L104:
  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     L1277
  mov    0x28(%rsp),%eax
  test   %eax,%eax
  setne  %dl
  cmpl   $0xc,0x100(%rsp)
  seta   %al
  test   %al,%dl
  je     L1277
  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)
L205:
  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    L205
  cmp    %r11d,%esi
  je     L140
  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    L140
L838:
  subsd  %xmm0,%xmm2
  jmp    L1
L335:
  mov    %rax,0xb0(%rsp)
  jmp    L1874
L464:
  mov    %rax,0xb0(%rsp)
  cmp    0x68(%rsp),%r13d
  jle    L1222
L129:
  mov    0x50(%rsp),%rax
  mov    0x68(%rsp),%rcx
  movsd  (%rax,%rcx,8),%xmm3
  jmp    L603
L1406:
  mov    0x108(%rsp),%rdx
  mov    %r13,%rax
  nopl   (%rax)
L1234:
  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    L1234
  jmp    L140
L1277:
  mov    0xd8(%rsp),%rdi
  mov    %r13,%rax
  xor    %edx,%edx
  nop
L617:
  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    L617
  jmp    L140
L870:
  movsd  0x48(%rsp),%xmm6
  mov    %r12d,%r13d
  mov    %r15d,%r12d
  comisd %xmm3,%xmm6
  ja     L1532
L1526:
  subq   $0x1,0x68(%rsp)
  mov    0x68(%rsp),%rax
  test   %eax,%eax
  jns    L2014
  mov    %r13d,%r15d
  mov    0x50(%rsp),%r13
  mov    %r12d,%r14d
L265:
  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    L84
L1868:
  sub    %ebp,%eax
  mov    %eax,%r10d
  mov    %ecx,%eax
  sub    %r8d,%eax
  cmp    $0x2,%eax
  jbe    L1991
  mov    %r10d,%r15d
  movapd %xmm1,%xmm4
  mov    0x68(%rsp),%rax
  xor    %esi,%esi
  shr    %r15d
  unpcklpd %xmm4,%xmm4
  pxor   %xmm2,%xmm2
L720:
  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    L720
  mov    %r10d,%esi
  and    $0xfffffffe,%esi
  lea    (%rsi,%r8,1),%eax
  cmp    %esi,%r10d
  je     L998
  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
L998:
  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     L2062
  ucomisd %xmm2,%xmm5
  ja     L193
  movapd %xmm2,%xmm0
  sqrtsd %xmm0,%xmm0
L1414:
  xorpd  D87(%rip),%xmm0
L1005:
  movsd  0x90(%rsp),%xmm3
  mov    0x78(%rsp),%esi
  subsd  %xmm0,%xmm3
  movsd  %xmm3,(%r15)
  cmp    %esi,0x18(%rsp)
  jg     L744
L1938:
  mov    0x68(%rsp),%rax
  jmp    L1611
L1065:
  add    $0x1,%r11d
L1611:
  movsd  (%rax),%xmm2
  mov    %r8d,%edx
  mov    %r11d,%r8d
  mulsd  %xmm1,%xmm2
  movsd  %xmm2,(%rax)
  add    %r14,%rax
  cmp    %edx,%ecx
  jne    L1065
  mulsd  %xmm0,%xmm1
  mov    0x40(%rsp),%rax
  movsd  %xmm1,(%rax)
  jmp    L1095
L987:
  mov    0x20(%rsp),%rax
L1719:
  movsd  (%rax),%xmm1
  mulsd  %xmm0,%xmm1
  addsd  (%rdx,%rax,1),%xmm1
  movsd  %xmm1,(%rdx,%rax,1)
  add    $0x8,%rax
  cmp    0xa8(%rsp),%rax
  jne    L1719
  jmp    L361
L1532:
  xorpd  D87(%rip),%xmm3
  mov    0x68(%rsp),%rcx
  movsd  %xmm3,(%rsi,%rcx,8)
  test   %r15d,%r15d
  jle    L1526
  cmp    $0x1,%r15d
  jne    L1479
  mov    0xb8(%rsp),%rax
  movsd  (%rax,%rcx,8),%xmm0
  xorpd  D87(%rip),%xmm0
  movsd  %xmm0,(%rax,%rcx,8)
  jmp    L1526
L1324:
  pxor   %xmm0,%xmm0
  jmp    L807
L915:
  xor    %eax,%eax
  jmp    L1743
L2062:
  ucomisd %xmm2,%xmm5
  ja     L253
  movapd %xmm2,%xmm0
  sqrtsd %xmm0,%xmm0
  jmp    L1005
L1203:
  ucomisd %xmm1,%xmm6
  ja     L1064
L777:
  movapd %xmm1,%xmm4
  sqrtsd %xmm4,%xmm4
  jmp    L68
L552:
  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  D59(%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    L294
L1976:
  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     L1165
L294:
  lea    0x1(%r12),%eax
  mov    %r12d,%r13d
  mov    %eax,0x20(%rsp)
  cmp    %eax,%r14d
  jle    L1976
  mov    0x70(%rsp),%rax
  movsd  (%rax),%xmm0
  ucomisd 0x48(%rsp),%xmm0
  jp     L1043
  movslq 0x8(%rsp),%rsi
  mov    %r10d,%ecx
  jne    L1043
L1729:
  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
L1900:
  movq   $0x0,(%rdx)
  add    $0x8,%rax
  add    %rbp,%rdx
  movq   $0x0,-0x8(%rax)
  cmp    %rcx,%rax
  jne    L1900
  jmp    L1976
L1165:
  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)
L1253:
  mov    0x50(%rsp),%rax
  mov    %r11d,%edx
  mov    %r11d,%esi
  movsd  (%rax,%r11,8),%xmm2
  ucomisd 0x48(%rsp),%xmm2
  jp     L1579
  je     L533
L1579:
  mov    %r11d,0x30(%rsp)
  cmp    %r11d,0x18(%rsp)
  jne    L1009
L1647:
  cmp    0x30(%rsp),%r15d
  jle    L956
  mov    %r15d,%eax
  mov    %r15d,%ecx
  sub    %r10d,%eax
  sub    %edx,%ecx
  cmp    $0x3,%eax
  jbe    L900
  test   %r14d,%r14d
  je     L900
  mov    %ecx,%r8d
  movapd %xmm2,%xmm1
  mov    0x8(%rsp),%rax
  xor    %edi,%edi
  shr    %r8d
  unpcklpd %xmm1,%xmm1
L478:
  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    L478
  mov    %ecx,%edi
  and    $0xfffffffe,%edi
  lea    (%rdi,%rsi,1),%eax
  cmp    %edi,%ecx
  je     L956
  imul   %r14d,%eax
  add    %esi,%eax
  cltq
  lea    0x0(%r13,%rax,8),%rax
  movsd  (%rax),%xmm0
  divsd  %xmm2,%xmm0
  movsd  %xmm0,(%rax)
L956:
  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     L401
  mov    %rax,%r11
  jmp    L1253
L533:
  cmp    %r11d,%r15d
  jle    L956
  movslq %r9d,%rax
  add    %r11,%rax
  lea    0x0(%r13,%rax,8),%rax
L1391:
  add    $0x1,%esi
  movq   $0x0,(%rax)
  add    %r12,%rax
  cmp    %esi,%r15d
  jne    L1391
  jmp    L956
L1009:
  cmp    %r10d,%r14d
  jle    L1647
  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)
L1664:
  mov    0x98(%rsp),%rax
  mov    %r10d,%ebp
  pxor   %xmm1,%xmm1
  cmp    %r10d,%r15d
  jle    L824
  nopl   0x0(%rax)
L705:
  movsd  (%rax),%xmm0
  mulsd  (%rax,%rdi,8),%xmm0
  add    $0x1,%ebp
  add    %r12,%rax
  addsd  %xmm0,%xmm1
  cmp    %ebp,%r15d
  jne    L705
L824:
  mov    0x58(%rsp),%rax
  mov    %esi,%ebp
  divsd  (%rax),%xmm1
  divsd  %xmm2,%xmm1
  mov    %r8,%rax
  cmp    0x30(%rsp),%r15d
  jle    L745
  nopl   0x0(%rax)
L863:
  movsd  (%rax,%rcx,8),%xmm0
  add    $0x1,%ebp
  mulsd  %xmm1,%xmm0
  addsd  (%rax),%xmm0
  movsd  %xmm0,(%rax)
  add    %r12,%rax
  cmp    %ebp,%r15d
  jne    L863
L745:
  add    $0x8,%r8
  sub    $0x1,%rcx
  add    $0x1,%rdi
  cmp    %rcx,0x90(%rsp)
  jne    L1664
  jmp    L1647
L900:
  movslq %r9d,%rax
  add    %r11,%rax
  lea    0x0(%r13,%rax,8),%rax
L332:
  movsd  (%rax),%xmm0
  add    $0x1,%esi
  divsd  %xmm2,%xmm0
  movsd  %xmm0,(%rax)
  add    %r12,%rax
  cmp    %esi,%r15d
  jne    L332
  jmp    L956
L1043:
  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     L1599
  cmp    $0x1,%r10d
  jbe    L1599
  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
L528:
  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    L528
  mov    0x20(%rsp),%eax
  mov    %r8d,%edx
  mov    %r10d,%ecx
  and    $0xfffffffe,%edx
  add    %edx,%eax
  cmp    %r8d,%edx
  je     L1032
  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)
L1032:
  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)
L1619:
  mov    0xa8(%rsp),%r15
  mov    %r13,%rdx
  mov    %rbx,%rax
  pxor   %xmm1,%xmm1
L1496:
  movsd  (%rax),%xmm0
  mulsd  (%rdx),%xmm0
  add    $0x8,%rax
  add    %rbp,%rdx
  addsd  %xmm0,%xmm1
  cmp    %r15,%rax
  jne    L1496
  mov    0x20(%rsp),%edx
  mov    %r13,%rax
L518:
  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    L518
  mov    0x50(%rsp),%edx
  add    $0x8,%r13
  sub    $0x1,%rdi
  lea    0x1(%rdx),%eax
  cmp    %edx,%r15d
  je     L1729
  mov    %eax,0x50(%rsp)
  jmp    L1619
L401:
  mov    0x50(%rsp),%r13
  cmp    $0xffffffff,%edx
  je     L560
  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)
L40:
  mov    0x30(%rsp),%rax
  mov    %ebx,0x20(%rsp)
  mov    %ebx,%ebp
  movsd  (%rax,%rbx,8),%xmm2
  cmp    %r13d,%ecx
  jle    L1229
  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     L1595
  je     L303
L1595:
  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)
L230:
  mov    0x98(%rsp),%rax
  mov    %r13d,%r11d
  pxor   %xmm1,%xmm1
  cmp    %r13d,%r15d
  jle    L197
  nopl   (%rax)
L299:
  movsd  (%rax,%rsi,8),%xmm0
  mulsd  (%rax),%xmm0
  add    $0x1,%r11d
  add    %r12,%rax
  addsd  %xmm0,%xmm1
  cmp    %r11d,%r15d
  jne    L299
L197:
  divsd  (%r10),%xmm1
  divsd  %xmm2,%xmm1
  mov    %rdi,%rax
  mov    %ebp,%r11d
  cmp    0x68(%rsp),%r15d
  jle    L435
  nop
L2043:
  movsd  (%rax,%rdx,8),%xmm0
  add    $0x1,%r11d
  mulsd  %xmm1,%xmm0
  addsd  (%rax),%xmm0
  movsd  %xmm0,(%rax)
  add    %r12,%rax
  cmp    %r11d,%r15d
  jne    L2043
L435:
  add    $0x8,%rdi
  sub    $0x1,%rdx
  add    $0x1,%rsi
  cmp    %rdx,0x70(%rsp)
  jne    L230
L236:
  cmp    %ebx,%r15d
  jle    L670
  mov    %r15d,%eax
  mov    %r15d,%edx
  sub    0x20(%rsp),%edx
  sub    %r13d,%eax
  cmp    $0x3,%eax
  jbe    L846
  test   %ecx,%ecx
  je     L846
  mov    %edx,%edi
  movapd %xmm2,%xmm1
  mov    0x8(%rsp),%rax
  xor    %esi,%esi
  shr    %edi
  unpcklpd %xmm1,%xmm1
L1589:
  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    L1589
  mov    %edx,%esi
  and    $0xfffffffe,%esi
  lea    (%rsi,%rbp,1),%eax
  cmp    %esi,%edx
  je     L670
  imul   %ecx,%eax
  add    %ebp,%eax
  cltq
  lea    (%r8,%rax,8),%rax
  movsd  (%rax),%xmm0
  divsd  %xmm2,%xmm0
  movsd  %xmm0,(%rax)
L670:
  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    L40
  mov    0x30(%rsp),%r13
  mov    %ecx,%r14d
  jmp    L560
L568:
  mov    0x120(%rsp),%edx
  xor    %eax,%eax
L1679:
  movsd  (%rbx,%rax,8),%xmm0
  mov    0x80(%rsp),%rsi
  movsd  %xmm0,(%rsi,%rax,8)
  add    $0x1,%rax
  cmp    %rdx,%rax
  jne    L1679
  lea    -0x1(%r14),%eax
  mov    %eax,0x18(%rsp)
  test   %r14d,%r14d
  jg     L1497
L1503:
  pxor   %xmm6,%xmm6
  movsd  %xmm6,0x48(%rsp)
  movsd  %xmm6,0x10(%rsp)
  jmp    L1660
L744:
  cmp    %r11d,0x8(%rsp)
  jle    L1938
  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
L867:
  mov    0x98(%rsp),%rax
  mov    %r8d,%esi
  pxor   %xmm2,%xmm2
L1508:
  movsd  (%rax),%xmm3
  mulsd  (%rax,%rdx,8),%xmm3
  mov    %esi,%r10d
  add    %r14,%rax
  add    $0x1,%esi
  addsd  %xmm3,%xmm2
  cmp    %ecx,%r10d
  jne    L1508
  divsd  %xmm4,%xmm2
  mov    %r9,%rax
  mov    %r8d,%esi
L189:
  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    L189
  sub    $0x1,%r15
  add    $0x8,%r9
  add    $0x1,%rdx
  cmp    %rdi,%r15
  jne    L867
  jmp    L1938
L156:
  mov    0x60(%rsp),%rax
  lea    -0x1(%rbx),%edx
  lea    0x10(%rax),%r11
  mov    %rax,%rsi
  jmp    L449
L108:
  mov    %r13d,%eax
  jmp    L131
L1229:
  ucomisd 0x48(%rsp),%xmm2
  jp     L236
  jne    L236
L303:
  cmp    %ebx,%r15d
  jle    L670
  movslq %r14d,%rax
  add    %rbx,%rax
  lea    (%r8,%rax,8),%rax
L453:
  add    $0x1,%ebp
  movq   $0x0,(%rax)
  add    %r12,%rax
  cmp    %ebp,%r15d
  jne    L453
  jmp    L670
L846:
  movslq %r14d,%rax
  add    %rbx,%rax
  lea    (%r8,%rax,8),%rax
L1435:
  movsd  (%rax),%xmm0
  add    $0x1,%ebp
  divsd  %xmm2,%xmm0
  movsd  %xmm0,(%rax)
  add    %r12,%rax
  cmp    %ebp,%r15d
  jne    L1435
  jmp    L670
L1991:
  mov    0x68(%rsp),%rax
  mov    %r8d,%r10d
  pxor   %xmm2,%xmm2
L1853:
  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    L1853
  jmp    L998
L1995:
  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
L301:
  movsd  (%rcx,%rax,1),%xmm1
  add    $0x8,%rax
  divsd  %xmm0,%xmm1
  movsd  %xmm1,-0x8(%rax)
  cmp    %rsi,%rax
  jne    L301
  mov    0x60(%rsp),%rsi
  jmp    L449
L1479:
  mov    0xc0(%rsp),%rax
  xor    %edx,%edx
  add    0xb8(%rsp),%rax
L1602:
  movsd  (%rax),%xmm0
  xorpd  D87(%rip),%xmm0
  add    $0x1,%edx
  movsd  %xmm0,(%rax)
  add    %r14,%rax
  cmp    %edx,%r12d
  jne    L1602
  jmp    L1526
L1064:
  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    L9
  xchg   %ax,%ax
L1296:
  mov    %r13d,%eax
  jmp    L695
L193:
  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    L1414
  nopl   0x0(%rax,%rax,1)
L480:
  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    L1778
  mov    0x28(%rsp),%r15d
  mov    0x8(%rsp),%r14d
  movsd  %xmm0,0x10(%rsp)
  mov    0xd0(%rsp),%r13
  jmp    L1660
L1963:
  movsd  0x48(%rsp),%xmm6
  lea    0x1(%rbp),%r15
  comisd %xmm2,%xmm6
  movapd %xmm6,%xmm1
  jbe    L497
  jmp    L777
L854:
  lea    D125(%rip),%rdi
  call   <printf@plt>
  lea    D129(%rip),%rdi
  call   <printf@plt>
  mov    $0xffffffff,%eax
  jmp    L84
L1295:
  movapd %xmm6,%xmm3
  jmp    L1945
L253:
  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    L1005
  nopl   (%rax)
L1709:
  mov    %r13d,%eax
  pxor   %xmm1,%xmm1
  lea    0x1(%rbp),%r15
  jmp    L1004
L1394:
  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    L1460
  nopl   0x0(%rax)
L1599:
  mov    0x98(%rsp),%rdi
  mov    %r10d,%ecx
  add    %r9,%rax
  lea    (%rcx,%r11,1),%rdx
  lea    (%rdi,%rdx,8),%rdi
  mov    %rbx,%rdx
L1456:
  movsd  (%rdx),%xmm1
  add    $0x8,%rdx
  divsd  %xmm0,%xmm1
  movsd  %xmm1,(%rax)
  add    %rbp,%rax
  cmp    %rdi,%rdx
  jne    L1456
  jmp    L1032
```

tool_calls: name: disassemble_data
arguments: data_label: D58
type_infered: qword
name: disassemble_data
arguments: data_label: D141
type_infered: qword[2]
name: disassemble_data
arguments: data_label: D87
type_infered: f32[4]
name: disassemble_data
arguments: data_label: D59
type_infered: f64
name: disassemble_data
arguments: data_label: D81
type_infered: f64
name: disassemble_data
arguments: data_label: D21
type_infered: string
name: disassemble_data
arguments: data_label: D125
type_infered: string
name: disassemble_data
arguments: data_label: D129
type_infered: string

tool: D58: 9223372036854775807

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

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

tool: D59: 1

tool: D81: 0.5

tool: D21: Convergence Not Achieved 


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


tool: D129: 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;
}
```