// File: /workspace/github_c_makefile_star2_O2/markpeerdeman[P]mbemm/src/emath/solve.c
// Function: solve_4
void solve_4(matrix Ma, int m, int n,const vector F,intvector nietnul)
{ 
  int    a,i,j,k,l;
  double c,tmp;
  double fabsc, fabsM;
  vector derij; 
  int	 tel1, tel2, tel3, tel4;
  matrix hulpma;
  vector hulpve;
 
  evaluate_level(GREEN,38);
  check_dimensions(Ma, F);
  
  derij=(vector)newvector(m+n);
  
  
  /* First we sweep the upper part of the matrix */
  /* into an upper triangular matrix */

  for (k=0; k<m; k++)
    { 

fprintf(stderr, "processing row: %ld\n", (long)m);

      /* divide row by diagonal coefficient: */
      
      c = M(Ma,k,k); l=k;
      
      /* find largest coefficient for elimination: */
      
      for (i=k; i<m; i++)
	{ 
	  fabsc=fabs(c);
	  fabsM=fabs(M(Ma,i,k));
	  
	  /* if (fabs(M(A,m,k))>=fabs(c)) */
	  
	  if (fabsM>=fabsc)
	    { 
	      c = M(Ma,i,k);
	      l = i;
	    }
	}
      
      /* if (fabs(c)<=TOL) 
	 evaluate_level(RED,33); */
      /* change rows if nescessary: */
      
      if (k!=l)
	{ 
	  tmp = V(F,l);
	  V(F,l) = V(F,k);
	  V(F,k) = tmp;	
	  
	  for (j=k; j<m+n; j++)
	    {
	      if (j<m) 
		{
		  tmp = M(Ma,l,j);
		  M(Ma,l,j)=M(Ma,k,j);
		  M(Ma,k,j)=tmp;	    
		}
	      else 
		if (V(nietnul,j)!=0)
		  {
		    tmp = M(Ma,l,m+V(nietnul,j)-1);
		    M(Ma,l,m+V(nietnul,j)-1)=M(Ma,k,m+V(nietnul,j)-1); 	    
		    M(Ma,k,m+V(nietnul,j)-1) = tmp;
		}
	    }
	}
      
      /* divide current row by diagonal coefficient: */
      
      M(Ma,k,k)=1.0;
      V(F,k) = V(F,k) / c;
      
      for (j=k+1; j<m+n; j++)
	{  
	  if (j<m)
	    M(Ma,k,j) = M(Ma,k,j) / c;
	  else
	    if (V(nietnul,j)!=0) M(Ma,k,m+V(nietnul,i)-1)=M(Ma,k,m+V(nietnul,j)-1)/c;
	}
      
      /* divide remaining rows by diagonal coefficient and eliminate: */
      
      for (i=k+1; i<m; i++)
	{ 
	  c = M(Ma,i,k);
	  M(Ma,i,k)=0.0;
	  V(F,i)=V(F,i)-c*V(F,k);
	  for (j=k+1; j<m+n; j++)
	    { 
	      if (j<m)
		{
		  M(Ma,i,j)=M(Ma,i,j)-c*M(Ma,k,j);
		}
	      else
		if (V(nietnul,j)!=0)
		  {
		    M(Ma,i,m+V(nietnul,j)-1) = M(Ma,i,m+V(nietnul,j)-1) -
		      c*M(Ma,i,m+V(nietnul,j)-1);
		  }
	    }
	}
      /* tijdvalkje(k+2,A); */
    }
  
  
  /* We now sweep the lower part of the matrix */
  /* into a lower triangular matrix */
  
  for (k=m+n-1; k>=m; k--)
    { 
      /* divide row by diagonal coefficient: */
      
      c = M(Ma,k,k); l=k;
      
      /* find largest coefficient for elimination: */
      
      for (i=k; i>=m; i--)
	{ 
	  fabsc=fabs(c);
	  fabsM=fabs(M(Ma,i,k));
	  
	  /* if (fabs(M(A,m,k))>=fabs(c)) */
	  
	  if (fabsM>=fabsc)
	    { 
	      c = M(Ma,i,k);
	      l = m;
	    }
	}
            
      /* if (fabs(c)<=TOL) 
	 evaluate_level(RED,33); */
      /* change rows if nescessary: */
      
      if (k!=l)
	{ 
	  tmp = V(F,l);
	  V(F,l) = V(F,k);
	  V(F,k) = tmp;
	  
	  for (j=k; j>=0; j--)
	    {
	      if (j>=m) 
		{
		  tmp = M(Ma,l,j);
		  M(Ma,l,j)=M(Ma,k,j);  
		  M(Ma,k,j)=tmp;      
		}
	      else 
		if (V(nietnul,j)!=0)
		  {
		    a=m-p+V(nietnul,j)-1;
		    tmp = M(Ma,l,a);
		    M(Ma,l,a)=M(Ma,k,a);	 
		    M(Ma,k,a) = tmp;
		  }
	    }
	}
            
      /* divide current row by diagonal coefficient: */
      
      M(Ma,k,k)=1.0;
      V(F,k) = V(F,k) / c; 
      
      for (j=k-1; j>=0; j--)
	{  
	  if (j>=m)
	    M(Ma,k,j) = M(Ma,k,j) / c;
	  else
	    if (V(nietnul,j)!=0) 
	      M(Ma,k,m-p+V(nietnul,j)-1)=M(Ma,k,m-p+V(nietnul,j)-1)/c;
	}
      
      /* divide remaining rows by diagonal coefficient and eliminate: */
      
      for (i=k-1; i>=m; i--)
	{ 
	  c = M(Ma,i,k);
	  M(Ma,i,k)=0.0;
	  V(F,i)=V(F,i)-c*V(F,k);

	  for (j=k-1; j>=0; j--)
	    { 
	      if (j>=m)
		{
		  M(Ma,i,j)=M(Ma,i,j)-c*M(Ma,k,j);
		}
	      else
		if (V(nietnul,j)!=0)
		  {
		    M(Ma,i,m-p+V(nietnul,j)-1) = M(Ma,i,m-p+V(nietnul,i)-1) -
		      c*M(Ma,i,m-p+V(nietnul,i)-1);
		  }
	    }
	}
      /*	tijdvalkje(k+2,A);  */
    }


  /* We are now left with an upper triangular matrix and a lower triangular matrix */
  /* We now try to find an approximation for the variables corresponding to the */
  /* non-zero colums */

  hulpma=(matrix)newmatrix(p+q,p+q);
  hulpve=(vector)newvector(p+q);

  /* We now fill the additional small matrix with the right elements */  

  tel1=0;
  for (i=0; i<m+n; i++)
    if (V(nietnul,i)!=0)
      {
	V(hulpve,tel1)=V(F,i);
	
	tel2=0;
	for (j=0; j<m+n;j++)
	  if (V(nietnul,j)!=0)
	    {
	      M(hulpma,tel1,tel2)=hetelement(m,i,j,nietnul,Ma);
	      tel2++;
	    }
	tel1++;
      }

  printmatrix(hulpma,"hulpmatrix");
  printvector(hulpve,"hulpvector");
 
  printf("No 4\n");

  /* We now solve the small additonal matrix */
  
  for (k=0; k<p+q; k++)    
    {
      c=M(hulpma,k,k);
      M(hulpma,k,k)=1.0;
      V(hulpve,k) = V(hulpve,k) / c; 
      
      for (j=k-1; j>=0; j--)
	M(hulpma,k,j)=M(Ma,k,j)/c;
	
      
      /* divide remaining rows by diagonal coefficient and eliminate: */
      
      for (i=k+1; i<p+q; i++)
	{ 
	  c = M(hulpma,i,k);
	  M(hulpma,i,k)=0.0;
	  V(hulpve,i)=V(hulpve,i)-c*V(hulpve,k);

	  for (j=k+1; j<p+q; j++)
	    M(hulpma,i,j)=M(hulpma,i,j)-c*M(hulpma,k,j);
	}
    }	

  /* apply backsubstitution to compute the unknowns in hulpve */
  
  for (i=p+q-2;i>=0;i--)
    {
      for (j=p+q-1;j>i;j--)
	{
	  V(hulpve,i) = V(hulpve,i) - M(hulpma,i,j)*V(hulpve,i);
	}
    }

  /* We put the approximation into the vector F */  

  for (i=0; i<m+n; i++)
    {
      tel1=0;
      if (V(nietnul,i)!=0)
	{
	  for (j=0; j<m+n; j++)
	    if (V(nietnul,j)!=0)
	      {
		V(F,i)=V(F,i)-hetelement(m,i,j,nietnul,Ma)*V(hulpve,tel1);
		tel1++;
	      }
	}
    }

  /* Now we can solve the upper triangular matrix */
	  
  for (i=m-2;i>=0;i--)
    {
       for (j=m-1;j>i;j--)
	 {
	   V(F,i) = V(F,i) - M(Ma,i,j)*V(F,i);
	 }
    }

  /* And then we solve the lower triangular matrix */
	  
  for (i=m+1;i<m+n;i++)
    {
      for (j=m;j<i;j++)
	{
	  V(F,i) = V(F,i) - M(Ma,i,j)*V(F,i);
	}
    }
  
  /*  tijdvalkje(-1,A); */
  
  
  evaluate_level(GREEN,34);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %r8, %r13
movq %rcx, %rbx
movl %edx, %r15d
movl %esi, %r12d
movq %rdi, %r14
pushq $0x26
popq %rsi
xorl %edi, %edi
callq 0xb0f8
movq %r14, 0x18(%rsp)
movq %r14, %rdi
movq %rbx, 0x20(%rsp)
movq %rbx, %rsi
callq 0x13ab
addl %r12d, %r15d
movl %r15d, %edi
callq 0xb358
movq %r15, %r11
movslq %r12d, %rax
testl %eax, %eax
movl $0x0, %ecx
cmovgl %r12d, %ecx
movq %rax, 0x8(%rsp)
movl %eax, %r15d
pushq $0x1
popq %rbx
movapd 0xbbca(%rip), %xmm4     # 0xd020
movapd 0xbbb2(%rip), %xmm5     # 0xd010
movl %r12d, %eax
movq %rax, 0x28(%rsp)
xorl %r14d, %r14d
movq %r11, 0x10(%rsp)
movq %rcx, (%rsp)
cmpl %r11d, %r14d
movl %r11d, %ebp
cmovgl %r14d, %ebp
cmpq %rcx, %r14
je 0x16d7
movq 0x12b6c(%rip), %rax     # 0x13ff8
movq (%rax), %rdi
leaq 0xbc10(%rip), %rsi      # 0xd0a6
movq 0x8(%rsp), %rdx
xorl %eax, %eax
callq 0x10f0
movapd 0xbb66(%rip), %xmm5     # 0xd010
movq 0x18(%rsp), %rax
movq 0x8(%rax), %rax
movq (%rax,%r14,8), %rcx
movsd (%rcx,%r14,8), %xmm0
movq %r14, %rdx
movl %r14d, %esi
cmpq %rdx, %r15
je 0x14ff
movapd %xmm0, %xmm1
andpd %xmm5, %xmm1
movq (%rax,%rdx,8), %rdi
movsd (%rdi,%r14,8), %xmm2
movapd %xmm2, %xmm3
andpd %xmm5, %xmm3
ucomisd %xmm1, %xmm3
cmpnlesd %xmm3, %xmm1
andpd %xmm1, %xmm0
andnpd %xmm2, %xmm1
orpd %xmm1, %xmm0
cmovael %edx, %esi
incq %rdx
jmp 0x14c3
movl %esi, %edi
movq 0x20(%rsp), %rdx
movq 0x8(%rdx), %rdx
cmpq %rdi, %r14
movapd 0xbb0b(%rip), %xmm4     # 0xd020
movq 0x10(%rsp), %r11
jne 0x1657
movq 0x28(%rsp), %rbp
leal (%r14,%rbp), %esi
movabsq $0x3ff0000000000000, %rdi # imm = 0x3FF0000000000000
movq %rdi, (%rcx,%r14,8)
movsd (%rdx,%r14,8), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, (%rdx,%r14,8)
movl %esi, %esi
movq %r14, %r8
leaq 0x1(%r8), %rdi
cmpl %edi, %r11d
jle 0x15a3
cmpl %r12d, %edi
jge 0x156e
movsd 0x8(%rcx,%r8,8), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, 0x8(%rcx,%r8,8)
jmp 0x159e
movq 0x8(%r13), %r9
movl 0x4(%r9,%r8,4), %r8d
testl %r8d, %r8d
je 0x159e
addl %r12d, %r8d
movslq %r8d, %r8
movsd -0x8(%rcx,%r8,8), %xmm1
divsd %xmm0, %xmm1
movslq (%r9,%rsi,4), %r8
movslq %r12d, %r9
addq %r8, %r9
movsd %xmm1, -0x8(%rcx,%r9,8)
movq %rdi, %r8
jmp 0x154c
movq %rbx, %rsi
cmpl %r12d, %esi
jge 0x1641
movq (%rax,%rsi,8), %rdi
movsd (%rdi,%r14,8), %xmm1
andq $0x0, (%rdi,%r14,8)
movsd (%rdx,%rsi,8), %xmm2
movapd %xmm1, %xmm0
mulsd (%rdx,%r14,8), %xmm1
xorpd %xmm4, %xmm0
subsd %xmm1, %xmm2
movsd %xmm2, (%rdx,%rsi,8)
movq %r14, %r9
leaq 0x1(%r9), %r8
cmpl %r8d, %r11d
jle 0x1639
cmpl %r15d, %r8d
jge 0x1606
movsd 0x8(%rcx,%r9,8), %xmm1
mulsd %xmm0, %xmm1
addsd 0x8(%rdi,%r9,8), %xmm1
movsd %xmm1, 0x8(%rdi,%r9,8)
jmp 0x1634
movq 0x8(%r13), %r10
movl 0x4(%r10,%r9,4), %r9d
testl %r9d, %r9d
je 0x1634
addl %r12d, %r9d
movslq %r9d, %r9
movsd -0x8(%rdi,%r9,8), %xmm1
movapd %xmm0, %xmm2
mulsd %xmm1, %xmm2
addsd %xmm1, %xmm2
movsd %xmm2, -0x8(%rdi,%r9,8)
movq %r8, %r9
jmp 0x15dd
incq %rsi
jmp 0x15a6
incq %r14
decl %ebp
movq %rbp, 0x28(%rsp)
incq %rbx
movq (%rsp), %rcx
jmp 0x1472
movslq %esi, %rsi
movsd (%rdx,%rsi,8), %xmm1
movsd (%rdx,%r14,8), %xmm2
movsd %xmm2, (%rdx,%rsi,8)
movsd %xmm1, (%rdx,%r14,8)
movq %r14, %rdi
cmpq %rdi, %rbp
je 0x1520
cmpq 0x8(%rsp), %rdi
jge 0x169f
movq (%rax,%rsi,8), %r8
movsd (%r8,%rdi,8), %xmm1
movsd (%rcx,%rdi,8), %xmm2
movsd %xmm2, (%r8,%rdi,8)
movsd %xmm1, (%rcx,%rdi,8)
jmp 0x16d2
movq 0x8(%r13), %r8
movl (%r8,%rdi,4), %r8d
testl %r8d, %r8d
je 0x16d2
movq (%rax,%rsi,8), %r9
addl %r12d, %r8d
movslq %r8d, %r8
movsd -0x8(%r9,%r8,8), %xmm1
movsd -0x8(%rcx,%r8,8), %xmm2
movsd %xmm2, -0x8(%r9,%r8,8)
movsd %xmm1, -0x8(%rcx,%r8,8)
incq %rdi
jmp 0x1673
leal -0x1(%r12), %eax
movl %eax, 0x34(%rsp)
leal -0x2(%r11), %eax
movslq %r11d, %rcx
movq %rcx, 0x50(%rsp)
cmpq 0x8(%rsp), %rcx
jle 0x18ff
leaq -0x1(%rcx), %rdx
movslq %eax, %rsi
movslq %edx, %r9
movq 0x18(%rsp), %rdi
movq 0x8(%rdi), %rdi
movq (%rdi,%rdx,8), %r8
movsd (%r8,%rdx,8), %xmm0
movl %edx, %r10d
cmpq 0x8(%rsp), %r9
jl 0x1756
movapd %xmm0, %xmm1
andpd %xmm5, %xmm1
movq (%rdi,%r9,8), %r11
movsd (%r11,%rdx,8), %xmm2
movapd %xmm2, %xmm3
andpd %xmm5, %xmm3
ucomisd %xmm1, %xmm3
cmpnlesd %xmm3, %xmm1
andpd %xmm1, %xmm0
andnpd %xmm2, %xmm1
orpd %xmm1, %xmm0
cmovael %r12d, %r10d
decq %r9
jmp 0x1717
movq 0x20(%rsp), %r9
movq 0x8(%r9), %r9
cmpl %edx, %r10d
jne 0x188c
movabsq $0x3ff0000000000000, %r10 # imm = 0x3FF0000000000000
movq %r10, (%r8,%rdx,8)
movsd (%r9,%rdx,8), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, (%r9,%rdx,8)
leaq -0x8(%r8), %r10
leaq 0x1314f(%rip), %r11     # 0x148e0
movl (%r11), %r11d
addl $-0x2, %ecx
movl %ecx, %ebx
testl %ebx, %ebx
js 0x1877
movl %ebx, %r14d
cmpl %r12d, %ebx
jge 0x17c4
movq 0x8(%r13), %r15
movl (%r15,%r14,4), %ebp
testl %ebp, %ebp
je 0x17d6
addl %r12d, %ebp
subl %r11d, %ebp
movslq %ebp, %r14
leaq (%r10,%r14,8), %r14
jmp 0x17c8
leaq (%r8,%r14,8), %r14
movsd (%r14), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, (%r14)
decl %ebx
jmp 0x1799
movq (%rdi,%rsi,8), %r10
movsd (%r10,%rdx,8), %xmm1
andq $0x0, (%r10,%rdx,8)
movsd (%r9,%rsi,8), %xmm2
movapd %xmm1, %xmm0
xorpd %xmm4, %xmm0
mulsd (%r9,%rdx,8), %xmm1
subsd %xmm1, %xmm2
movsd %xmm2, (%r9,%rsi,8)
leaq 0x130d2(%rip), %r11     # 0x148e0
movslq (%r11), %rbx
movslq %r12d, %r11
subq %rbx, %r11
movl %ecx, %ebx
testl %ebx, %ebx
js 0x1874
movl %ebx, %r14d
cmpl %r12d, %ebx
jge 0x185a
movq 0x8(%r13), %r15
movl (%r15,%r14,4), %ebp
testl %ebp, %ebp
je 0x1870
movslq (%r15,%rsi,4), %r14
addq %r11, %r14
movsd -0x8(%r10,%r14,8), %xmm1
movapd %xmm0, %xmm2
mulsd %xmm1, %xmm2
addsd %xmm1, %xmm2
addl %r11d, %ebp
movslq %ebp, %r14
movsd %xmm2, -0x8(%r10,%r14,8)
jmp 0x1870
movsd (%r8,%r14,8), %xmm1
mulsd %xmm0, %xmm1
addsd (%r10,%r14,8), %xmm1
movsd %xmm1, (%r10,%r14,8)
decl %ebx
jmp 0x1819
decq %rsi
cmpq 0x8(%rsp), %rsi
jge 0x17da
decl %eax
movq %rdx, %rcx
jmp 0x16ec
movslq %r10d, %r10
movsd (%r9,%r10,8), %xmm1
movsd (%r9,%rdx,8), %xmm2
movsd %xmm2, (%r9,%r10,8)
movsd %xmm1, (%r9,%rdx,8)
leaq 0x13032(%rip), %r11     # 0x148e0
movl (%r11), %r11d
movl %edx, %ebx
testl %ebx, %ebx
js 0x1768
movl %ebx, %r14d
cmpl %r12d, %ebx
jge 0x18d9
movq 0x8(%r13), %r15
movl (%r15,%r14,4), %ebp
testl %ebp, %ebp
je 0x18fb
addl 0x34(%rsp), %ebp
subl %r11d, %ebp
movslq %ebp, %r14
leaq (,%r14,8), %r15
addq (%rdi,%r10,8), %r15
movsd (%r15), %xmm1
movsd (%r8,%r14,8), %xmm2
movsd %xmm2, (%r15)
movsd %xmm1, (%r8,%r14,8)
decl %ebx
jmp 0x18b3
leaq 0x12fde(%rip), %r14     # 0x148e4
movl (%r14), %edi
leaq 0x12fd0(%rip), %rbx     # 0x148e0
addl (%rbx), %edi
movl %edi, %esi
callq 0xb24c
movq %rax, (%rsp)
movl (%r14), %edi
addl (%rbx), %edi
callq 0xb358
movq %rax, 0x38(%rsp)
xorl %ebp, %ebp
movq 0x10(%rsp), %rax
testl %eax, %eax
movl $0x0, %ecx
cmovgl %eax, %ecx
movq %rcx, 0x40(%rsp)
movl %eax, %eax
movq %rax, 0x28(%rsp)
xorl %ecx, %ecx
cmpq 0x40(%rsp), %rbp
je 0x19d9
movq 0x8(%r13), %rax
cmpl $0x0, (%rax,%rbp,4)
je 0x19d1
movq 0x20(%rsp), %rax
movq 0x8(%rax), %rax
movsd (%rax,%rbp,8), %xmm0
movq 0x38(%rsp), %rax
movq 0x8(%rax), %rax
movl %ecx, 0x10(%rsp)
movslq %ecx, %r15
movsd %xmm0, (%rax,%r15,8)
xorl %r14d, %r14d
xorl %ebx, %ebx
cmpq %r14, 0x28(%rsp)
je 0x19cb
movq 0x8(%r13), %rax
cmpl $0x0, (%rax,%r14,4)
je 0x19c6
movl %r12d, %edi
movl %ebp, %esi
movl %r14d, %edx
movq %r13, %rcx
movq 0x18(%rsp), %r8
callq 0xbf78
movq (%rsp), %rax
movq 0x8(%rax), %rax
movq (%rax,%r15,8), %rax
movslq %ebx, %rbx
movsd %xmm0, (%rax,%rbx,8)
incl %ebx
incq %r14
jmp 0x1989
movl 0x10(%rsp), %ecx
incl %ecx
incq %rbp
jmp 0x194b
leaq 0xb6db(%rip), %rsi      # 0xd0bb
movq (%rsp), %r14
movq %r14, %rdi
callq 0xb9fb
leaq 0xb6d3(%rip), %rsi      # 0xd0c6
movq 0x38(%rsp), %rbx
movq %rbx, %rdi
callq 0xbad7
leaq 0xb6ca(%rip), %rdi      # 0xd0d1
callq 0x1060
leaq 0x12ecd(%rip), %rax     # 0x148e0
movl (%rax), %ecx
leaq 0x12ec8(%rip), %rax     # 0x148e4
movl (%rax), %eax
movq %rcx, 0x10(%rsp)
movq %rax, 0x48(%rsp)
addl %ecx, %eax
xorl %esi, %esi
testl %eax, %eax
movl $0x0, %edi
cmovgl %eax, %edi
pushq $0x1
popq %r8
movq %r8, %rcx
xorl %r10d, %r10d
movapd 0xb5d8(%rip), %xmm3     # 0xd020
cmpq %rdi, %r10
je 0x1b30
movq 0x8(%r14), %r11
movq (%r11,%r10,8), %r14
movsd (%r14,%r10,8), %xmm0
movabsq $0x3ff0000000000000, %rdx # imm = 0x3FF0000000000000
movq %rdx, (%r14,%r10,8)
movq 0x8(%rbx), %rbp
movsd (%rbp,%r10,8), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, (%rbp,%r10,8)
movq %r10, %r9
testq %r9, %r9
jle 0x1aaf
movq 0x18(%rsp), %rdx
movq 0x8(%rdx), %rbx
movq (%rbx,%r10,8), %rbx
movsd -0x8(%rbx,%r9,8), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, -0x8(%r14,%r9,8)
decq %r9
jmp 0x1a86
addq %rsi, %r14
movq %rcx, %r9
cmpl %r9d, %eax
jle 0x1b18
movq (%r11,%r9,8), %rbx
movsd (%rbx,%r10,8), %xmm1
andq $0x0, (%rbx,%r10,8)
movsd (%rbp,%r9,8), %xmm2
movapd %xmm1, %xmm0
xorpd %xmm3, %xmm0
mulsd (%rbp,%r10,8), %xmm1
subsd %xmm1, %xmm2
movsd %xmm2, (%rbp,%r9,8)
addq %rsi, %rbx
movq %r8, %r15
leal (%r10,%r15), %edx
cmpl %edx, %eax
jle 0x1b13
movsd (%r14,%r15,8), %xmm1
mulsd %xmm0, %xmm1
addsd (%rbx,%r15,8), %xmm1
movsd %xmm1, (%rbx,%r15,8)
incq %r15
jmp 0x1af0
incq %r9
jmp 0x1ab5
incq %r10
incq %rcx
addq $0x8, %rsi
movq 0x38(%rsp), %rbx
movq (%rsp), %r14
jmp 0x1a48
addl $-0x2, %eax
movq 0x10(%rsp), %rcx
movq 0x48(%rsp), %rdx
addl %edx, %ecx
decl %ecx
testl %eax, %eax
js 0x1b7c
movl %eax, %edx
movl %ecx, %esi
cmpl %eax, %esi
jle 0x1b78
movq 0x8(%rbx), %rdi
movsd (%rdi,%rdx,8), %xmm0
movq 0x8(%r14), %r8
movq (%r8,%rdx,8), %r8
movl %esi, %r9d
movsd (%r8,%r9,8), %xmm1
mulsd %xmm0, %xmm1
subsd %xmm1, %xmm0
movsd %xmm0, (%rdi,%rdx,8)
decl %esi
jmp 0x1b49
decl %eax
jmp 0x1b41
xorl %ebx, %ebx
movq 0x20(%rsp), %r15
cmpq 0x40(%rsp), %rbx
je 0x1bfd
movq 0x8(%r13), %rax
cmpl $0x0, (%rax,%rbx,4)
je 0x1bf8
xorl %ebp, %ebp
xorl %r14d, %r14d
cmpq %rbp, 0x28(%rsp)
je 0x1bf8
movq 0x8(%r13), %rax
cmpl $0x0, (%rax,%rbp,4)
je 0x1bf3
movq 0x8(%r15), %rax
movsd (%rax,%rbx,8), %xmm0
movsd %xmm0, (%rsp)
movl %r12d, %edi
movl %ebx, %esi
movl %ebp, %edx
movq %r13, %rcx
movq 0x18(%rsp), %r8
callq 0xbf78
movq 0x38(%rsp), %rax
movq 0x8(%rax), %rax
movslq %r14d, %r14
mulsd (%rax,%r14,8), %xmm0
movsd (%rsp), %xmm1
subsd %xmm0, %xmm1
movq 0x8(%r15), %rax
movsd %xmm1, (%rax,%rbx,8)
incl %r14d
incq %rbp
jmp 0x1b99
incq %rbx
jmp 0x1b83
addl $-0x2, %r12d
movq 0x20(%rsp), %r8
movq 0x18(%rsp), %r9
testl %r12d, %r12d
js 0x1c4a
movl %r12d, %eax
movl 0x34(%rsp), %ecx
cmpl %r12d, %ecx
jle 0x1c45
movq 0x8(%r8), %rdx
movsd (%rdx,%rax,8), %xmm0
movq 0x8(%r9), %rsi
movq (%rsi,%rax,8), %rsi
movl %ecx, %edi
movsd (%rsi,%rdi,8), %xmm1
mulsd %xmm0, %xmm1
subsd %xmm1, %xmm0
movsd %xmm0, (%rdx,%rax,8)
decl %ecx
jmp 0x1c17
decl %r12d
jmp 0x1c0b
movq 0x8(%rsp), %rax
movq 0x50(%rsp), %r10
leaq 0x1(%rax), %rcx
cmpq %r10, %rcx
jge 0x1c94
movq 0x8(%rsp), %rdx
cmpq %rax, %rdx
jg 0x1c8f
movq 0x8(%r8), %rsi
movsd (%rsi,%rcx,8), %xmm0
movq 0x8(%r9), %rdi
movq (%rdi,%rcx,8), %rdi
movsd (%rdi,%rdx,8), %xmm1
mulsd %xmm0, %xmm1
subsd %xmm1, %xmm0
movsd %xmm0, (%rsi,%rcx,8)
incq %rdx
jmp 0x1c62
movq %rcx, %rax
jmp 0x1c54
pushq $0x22
popq %rsi
xorl %edi, %edi
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xb0f8