// File: /workspace/github_cpp_makefile_star2_O3/toxaart[P]hierarchical_block_sparse_lib/source/HierarchicalBlockSparseMatrix.h
// Function: hbsm::HierarchicalBlockSparseMatrix<double>::symm_square(hbsm::HierarchicalBlockSparseMatrix<double> const&, hbsm::HierarchicalBlockSparseMatrix<double>&)
void HierarchicalBlockSparseMatrix<Treal>::symm_square(HierarchicalBlockSparseMatrix<Treal> const & A, HierarchicalBlockSparseMatrix<Treal> & C){

			if(!C.empty()) throw std::runtime_error("Error in HierarchicalBlockSparseMatrix::symm_square(): non-empty matrix to write result!");

			if(A.nCols_orig != A.nRows_orig) throw std::runtime_error("Error in HierarchicalBlockSparseMatrix::symm_square(): matrix has bad sizes!");

			C.set_params(A.get_params());

			C.resize(A.nRows_orig,A.nCols_orig);


			if(A.lowest_level()){

				int blocksize = A.nRows;
				int M = A.nRows;
				if(A.on_bottom_boundary()) M = A.get_n_rows() % A.blocksize; // fill only necessary elements

				for (int row = 0; row < M; row++){
				  for (int col = row; col < M; col++){
					 // Here we rely on that resize has set the elements of C to zero.

					 for (int ind = 0; ind < row; ind++){
						C.submatrix[row + col * blocksize] += A.submatrix[ind + row * blocksize] * A.submatrix[ind + col * blocksize];
					 }

					 for (int ind = row; ind <= col; ind++){
						C.submatrix[row + col * blocksize] += A.submatrix[row + ind * blocksize] * A.submatrix[ind + col * blocksize];
					 }

					 for (int ind = col + 1; ind < M; ind++) {
						C.submatrix[row + col * blocksize] += A.submatrix[row + ind * blocksize] * A.submatrix[col + ind * blocksize];
					 }
				  }
				}

				return;
			}


			// same as regular multiplication, except that if A0*A0 and A3*A3 are done recursively,
			// multiplication invilving A0 XOR A3 is computed using symm_multiply
			// rest - standard routine

			// C0 = A0xA0 + A2xA2^T
			// C1 = A2^TxA0 + A3xA2^T  - NO NEED IN THIS
			// C2 = A0xA2 + A2xA3
			// C3 = A2^TxA2 + A3xA3

			if(A.children[2] != NULL){

				// C0 = A0xA0 + A2xA2^T
				std::shared_ptr<HierarchicalBlockSparseMatrix<Treal> >  A0xA0;
				if(A.children[0] != NULL){
					A0xA0 = std::make_shared<HierarchicalBlockSparseMatrix<Treal> >();
					symm_square(*A.children[0],  *A0xA0);
				}

				std::shared_ptr<HierarchicalBlockSparseMatrix<Treal> > A2xA2T;
				A2xA2T = std::make_shared<HierarchicalBlockSparseMatrix<Treal> >();
				multiply(*A.children[2], false, *A.children[2], true, *A2xA2T);

				std::shared_ptr<HierarchicalBlockSparseMatrix<Treal> > A2xA2T_U;
				A2xA2T_U = std::make_shared<HierarchicalBlockSparseMatrix<Treal> >();
				A2xA2T->get_upper_triangle(*A2xA2T_U);

				if(A0xA0 != NULL && A2xA2T_U == NULL){C.children[0] = A0xA0; C.children[0]->parent = &C;}
				if(A0xA0 == NULL && A2xA2T_U != NULL){C.children[0] = A2xA2T_U; C.children[0]->parent = &C;}
				if(A0xA0 != NULL && A2xA2T_U != NULL){
					add_to_first(*A0xA0, *A2xA2T_U);
					C.children[0] = A0xA0;
					C.children[0]->parent = &C;
				}

				// C2 = A0xA2 + A2xA3
				std::shared_ptr<HierarchicalBlockSparseMatrix<Treal> >  A0xA2;
				if(A.children[0] != NULL){
					A0xA2 = std::make_shared<HierarchicalBlockSparseMatrix<Treal> >();
					symm_multiply(*A.children[0], true, *A.children[2], false, *A0xA2);
				}

				std::shared_ptr<HierarchicalBlockSparseMatrix<Treal> >  A2xA3;
				if(A.children[3] != NULL){
					A2xA3 = std::make_shared<HierarchicalBlockSparseMatrix<Treal> >();
					symm_multiply(*A.children[2], false, *A.children[3], true, *A2xA3);
				}

				if(A0xA2 != NULL && A2xA3 == NULL){C.children[2] = A0xA2; C.children[2]->parent = &C;}
				if(A0xA2 == NULL && A2xA3 != NULL){C.children[2] = A2xA3; C.children[2]->parent = &C;}
				if(A0xA2 != NULL && A2xA3 != NULL){
					add_to_first(*A0xA2, *A2xA3);
					C.children[2] = A0xA2;
					C.children[2]->parent = &C;
				}

				// C3 = A2TxA2 + A3xA3
				std::shared_ptr<HierarchicalBlockSparseMatrix<Treal> > A2TxA2;
				A2TxA2 = std::make_shared<HierarchicalBlockSparseMatrix<Treal> >();
				multiply(*A.children[2], true, *A.children[2], false, *A2TxA2);

				std::shared_ptr<HierarchicalBlockSparseMatrix<Treal> > A2TxA2_U;
				A2TxA2_U = std::make_shared<HierarchicalBlockSparseMatrix<Treal> >();
				A2TxA2->get_upper_triangle(*A2TxA2_U);

				std::shared_ptr<HierarchicalBlockSparseMatrix<Treal> > A3xA3;
				if(A.children[3] != NULL){
					A3xA3 = std::make_shared<HierarchicalBlockSparseMatrix<Treal> >();
					symm_square(*A.children[3], *A3xA3);
				}

				if(A2TxA2_U != NULL && A3xA3 == NULL){C.children[3] = A2TxA2_U; C.children[3]->parent = &C;}
				if(A2TxA2_U == NULL && A3xA3 != NULL){C.children[3] = A3xA3; C.children[3]->parent = &C;}
				if(A2TxA2_U != NULL && A3xA3 != NULL){
					add_to_first(*A2TxA2_U, *A3xA3);
					C.children[3] = A2TxA2_U;
					C.children[3]->parent = &C;
				}

			}
			else{ // so much less to compute

				// all summands which included A2 disappear now

				// C1 = A0 * A0
				if(A.children[0] != NULL){
					C.children[0] = std::make_shared<HierarchicalBlockSparseMatrix<Treal> >();
					C.children[0]->parent = &C;
					symm_square(*A.children[0],  *C.children[0]);
				}

				// C1 = NULL

				// C2 = NULL

				// C3 = A3*A3
				if(A.children[3] != NULL){
					C.children[3] = std::make_shared<HierarchicalBlockSparseMatrix<Treal> >();
					C.children[3]->parent = &C;
					symm_square(*A.children[3],  *C.children[3]);
				}

			}


			return;

		}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %rsi, %r14
movq %rdi, %r13
movq %rsi, %rdi
callq 0x1b2de
testb %al, %al
je 0x1ff82
movl 0xc(%r13), %eax
cmpl 0x8(%r13), %eax
jne 0x1ffa0
movl 0x10(%r13), %eax
leaq 0x30(%rsp), %rsi
movl %eax, (%rsi)
movq %r14, %rdi
callq 0x9920
movl 0x8(%r13), %esi
movl 0xc(%r13), %edx
movq %r14, %rdi
xorl %ecx, %ecx
callq 0x9986
movq %r13, %rdi
callq 0x1b448
testb %al, %al
je 0x1f750
movl (%r13), %ebx
movq %r13, %rdi
callq 0x1b660
movl %ebx, %edx
testb %al, %al
je 0x1f5c9
cmpq $0x0, 0x68(%r13)
movq %r13, %rax
je 0x1f5c1
movq %r13, %rcx
movq %rcx, %rax
movq 0x68(%rcx), %rcx
testq %rcx, %rcx
jne 0x1f5b5
movl 0x8(%rax), %eax
cltd
idivl 0x10(%r13)
testl %edx, %edx
jle 0x1ff70
movslq %ebx, %rax
movl %edx, %ecx
leaq (,%rax,8), %rdx
leaq 0x8(,%rax,8), %rsi
movq %rsi, 0x70(%rsp)
movl $0x1, %edi
xorl %esi, %esi
xorl %r8d, %r8d
xorl %r10d, %r10d
movq %r14, 0x80(%rsp)
movq %r13, 0x78(%rsp)
movq 0x70(%r13), %r11
leaq (,%r10,8), %r15
addq 0x70(%r14), %r15
movq %r8, 0x88(%rsp)
leaq (%r11,%r8), %r14
movq %rsi, 0x90(%rsp)
addq %rsi, %r11
movq %r11, %r13
movl $0x1, %ebp
movq %r11, 0xa0(%rsp)
movq %r14, %r12
movq %r10, %r9
movq %rdi, 0x98(%rsp)
movq %r9, %r8
testq %r10, %r10
je 0x1f67f
movq %r8, %r9
imulq %rax, %r9
movsd (%r15,%r9,8), %xmm0
xorl %esi, %esi
movsd (%r14,%rsi,8), %xmm1
mulsd (%r12,%rsi,8), %xmm1
addsd %xmm1, %xmm0
movsd %xmm0, (%r15,%r9,8)
incq %rsi
cmpq %rsi, %r10
jne 0x1f661
cmpq %r8, %r10
ja 0x1f6ba
movq %r8, %r9
imulq %rax, %r9
movsd (%r15,%r9,8), %xmm0
movq 0xa0(%rsp), %rbx
xorl %esi, %esi
movsd (%rbx), %xmm1
mulsd (%r11,%rsi,8), %xmm1
addsd %xmm1, %xmm0
movsd %xmm0, (%r15,%r9,8)
incq %rsi
addq %rdx, %rbx
cmpq %rsi, %rbp
jne 0x1f69b
leaq 0x1(%r8), %r9
cmpq %rcx, %r9
jae 0x1f6f5
imulq %rax, %r8
movsd (%r15,%r8,8), %xmm0
movq %rdx, %rbx
movq %rdi, %rsi
movsd (%r11,%rbx), %xmm1
mulsd (%r13,%rbx), %xmm1
addsd %xmm1, %xmm0
movsd %xmm0, (%r15,%r8,8)
incq %rsi
addq %rdx, %rbx
cmpq %rcx, %rsi
jb 0x1f6d3
incq %rdi
addq %rdx, %r12
addq %rdx, %r11
incq %rbp
addq 0x70(%rsp), %r13
cmpq %rcx, %r9
jne 0x1f64a
incq %r10
movq 0x98(%rsp), %rdi
incq %rdi
movq 0x88(%rsp), %r8
addq %rdx, %r8
movq 0x90(%rsp), %rsi
addq 0x70(%rsp), %rsi
cmpq %rcx, %r10
movq 0x80(%rsp), %r14
movq 0x78(%rsp), %r13
jne 0x1f605
jmp 0x1ff70
cmpq $0x0, 0x48(%r13)
je 0x1fb01
xorpd %xmm0, %xmm0
movapd %xmm0, 0x30(%rsp)
cmpq $0x0, 0x28(%r13)
je 0x1f7f6
movl $0x98, %edi
callq 0x21c0
movabsq $0x100000001, %rcx      # imm = 0x100000001
movq %rcx, 0x8(%rax)
leaq 0xc589(%rip), %rcx      # 0x2bd18
movq %rcx, (%rax)
movq %rax, %rsi
addq $0x10, %rsi
xorpd %xmm0, %xmm0
movupd %xmm0, 0x10(%rax)
movl $0xffffffff, 0x20(%rax) # imm = 0xFFFFFFFF
movupd %xmm0, 0x28(%rax)
movupd %xmm0, 0x38(%rax)
movupd %xmm0, 0x48(%rax)
movupd %xmm0, 0x58(%rax)
movupd %xmm0, 0x68(%rax)
movupd %xmm0, 0x78(%rax)
movupd %xmm0, 0x88(%rax)
movq %rsi, 0x30(%rsp)
movq 0x38(%rsp), %rdi
movq %rax, 0x38(%rsp)
testq %rdi, %rdi
je 0x1f7ed
callq 0x1b482
movq 0x30(%rsp), %rsi
movq 0x28(%r13), %rdi
callq 0x1f52c
movl $0x98, %edi
callq 0x21c0
movq %rax, %r15
movabsq $0x100000001, %rax      # imm = 0x100000001
movq %rax, 0x8(%r15)
leaq 0xc500(%rip), %rbp      # 0x2bd18
movq %rbp, (%r15)
movq %r15, %r12
addq $0x10, %r12
xorpd %xmm0, %xmm0
movupd %xmm0, 0x10(%r15)
movl $0xffffffff, 0x20(%r15) # imm = 0xFFFFFFFF
movupd %xmm0, 0x28(%r15)
movupd %xmm0, 0x38(%r15)
movupd %xmm0, 0x48(%r15)
movupd %xmm0, 0x58(%r15)
movupd %xmm0, 0x68(%r15)
movupd %xmm0, 0x78(%r15)
movupd %xmm0, 0x88(%r15)
movq 0x48(%r13), %rdi
movq $0x0, (%rsp)
xorl %esi, %esi
movq %rdi, %rdx
movl $0x1, %ecx
movq %r12, %r8
xorl %r9d, %r9d
callq 0xa4b0
xorpd %xmm0, %xmm0
movapd %xmm0, 0x60(%rsp)
movl $0x98, %edi
callq 0x21c0
movabsq $0x100000001, %rcx      # imm = 0x100000001
movq %rcx, 0x8(%rax)
movq %rbp, (%rax)
movq %rax, %rsi
addq $0x10, %rsi
xorpd %xmm0, %xmm0
movupd %xmm0, 0x10(%rax)
movl $0xffffffff, 0x20(%rax) # imm = 0xFFFFFFFF
movupd %xmm0, 0x28(%rax)
movupd %xmm0, 0x38(%rax)
movupd %xmm0, 0x48(%rax)
movupd %xmm0, 0x58(%rax)
movupd %xmm0, 0x68(%rax)
movupd %xmm0, 0x78(%rax)
movupd %xmm0, 0x88(%rax)
movq %rsi, 0x60(%rsp)
movq 0x68(%rsp), %rdi
movq %rax, 0x68(%rsp)
testq %rdi, %rdi
je 0x1f902
callq 0x1b482
movq 0x60(%rsp), %rsi
movq %r12, %rdi
callq 0x2008a
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x1f945
movq 0x60(%rsp), %rsi
testq %rsi, %rsi
jne 0x1f97d
movq %rdi, 0x28(%r14)
leaq 0x30(%r14), %rdi
leaq 0x38(%rsp), %r12
movq %r12, %rsi
callq 0x1c8e8
movq 0x28(%r14), %rax
movq %r14, 0x68(%rax)
movq -0x8(%r12), %rdi
testq %rdi, %rdi
jne 0x1f973
movq 0x60(%rsp), %rax
testq %rax, %rax
je 0x1f9a2
leaq 0x68(%rsp), %rsi
movq %rax, 0x28(%r14)
leaq 0x30(%r14), %rdi
callq 0x1c8e8
movq 0x28(%r14), %rax
movq %r14, 0x68(%rax)
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x1f9a2
movq 0x60(%rsp), %rsi
testq %rsi, %rsi
je 0x1f9a2
xorl %edx, %edx
callq 0x1c932
leaq 0x38(%rsp), %rsi
movq -0x8(%rsi), %rax
movq %rax, 0x28(%r14)
leaq 0x30(%r14), %rdi
callq 0x1c8e8
movq 0x28(%r14), %rax
movq %r14, 0x68(%rax)
xorpd %xmm0, %xmm0
movapd %xmm0, 0x20(%rsp)
cmpq $0x0, 0x28(%r13)
je 0x1fa41
movl $0x98, %edi
callq 0x21c0
movabsq $0x100000001, %rcx      # imm = 0x100000001
movq %rcx, 0x8(%rax)
movq %rbp, (%rax)
movq %rax, %r8
addq $0x10, %r8
xorpd %xmm0, %xmm0
movupd %xmm0, 0x10(%rax)
movl $0xffffffff, 0x20(%rax) # imm = 0xFFFFFFFF
movupd %xmm0, 0x28(%rax)
movupd %xmm0, 0x38(%rax)
movupd %xmm0, 0x48(%rax)
movupd %xmm0, 0x58(%rax)
movupd %xmm0, 0x68(%rax)
movupd %xmm0, 0x78(%rax)
movupd %xmm0, 0x88(%rax)
movq %r8, 0x20(%rsp)
movq 0x28(%rsp), %rdi
movq %rax, 0x28(%rsp)
testq %rdi, %rdi
je 0x1fa2d
callq 0x1b482
movq 0x20(%rsp), %r8
movq 0x28(%r13), %rdi
movq 0x48(%r13), %rdx
movl $0x1, %esi
xorl %ecx, %ecx
callq 0x1dc58
xorpd %xmm0, %xmm0
movapd %xmm0, 0x50(%rsp)
cmpq $0x0, 0x58(%r13)
je 0x1fc22
movl $0x98, %edi
callq 0x21c0
movabsq $0x100000001, %rcx      # imm = 0x100000001
movq %rcx, 0x8(%rax)
movq %rbp, (%rax)
movq %rax, %r8
addq $0x10, %r8
xorpd %xmm0, %xmm0
movupd %xmm0, 0x10(%rax)
movl $0xffffffff, 0x20(%rax) # imm = 0xFFFFFFFF
movupd %xmm0, 0x28(%rax)
movupd %xmm0, 0x38(%rax)
movupd %xmm0, 0x48(%rax)
movupd %xmm0, 0x58(%rax)
movupd %xmm0, 0x68(%rax)
movupd %xmm0, 0x78(%rax)
movupd %xmm0, 0x88(%rax)
movq %r8, 0x50(%rsp)
movq 0x58(%rsp), %rdi
movq %rax, 0x58(%rsp)
testq %rdi, %rdi
je 0x1facc
callq 0x1b482
movq 0x50(%rsp), %r8
movq 0x48(%r13), %rdi
movq 0x58(%r13), %rdx
xorl %esi, %esi
movl $0x1, %ecx
callq 0x1dc58
movq 0x50(%rsp), %rsi
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x1fc5c
testq %rsi, %rsi
jne 0x1fc8f
jmp 0x1fc30
cmpq $0x0, 0x28(%r13)
je 0x1fb8f
movl $0x98, %edi
callq 0x21c0
movabsq $0x100000001, %rcx      # imm = 0x100000001
movq %rcx, 0x8(%rax)
leaq 0xc1ed(%rip), %rcx      # 0x2bd18
movq %rcx, (%rax)
leaq 0x10(%rax), %rsi
xorpd %xmm0, %xmm0
movupd %xmm0, 0x10(%rax)
movl $0xffffffff, 0x20(%rax) # imm = 0xFFFFFFFF
movupd %xmm0, 0x28(%rax)
movupd %xmm0, 0x38(%rax)
movupd %xmm0, 0x48(%rax)
movupd %xmm0, 0x58(%rax)
movupd %xmm0, 0x68(%rax)
movupd %xmm0, 0x78(%rax)
movupd %xmm0, 0x88(%rax)
movq %rsi, 0x28(%r14)
movq 0x30(%r14), %rdi
movq %rax, 0x30(%r14)
testq %rdi, %rdi
je 0x1fb82
callq 0x1b482
movq 0x28(%r14), %rsi
movq %r14, 0x68(%rsi)
movq 0x28(%r13), %rdi
callq 0x1f52c
cmpq $0x0, 0x58(%r13)
je 0x1ff70
movl $0x98, %edi
callq 0x21c0
movabsq $0x100000001, %rcx      # imm = 0x100000001
movq %rcx, 0x8(%rax)
leaq 0xc15f(%rip), %rcx      # 0x2bd18
movq %rcx, (%rax)
leaq 0x10(%rax), %rsi
xorpd %xmm0, %xmm0
movupd %xmm0, 0x10(%rax)
movl $0xffffffff, 0x20(%rax) # imm = 0xFFFFFFFF
movupd %xmm0, 0x28(%rax)
movupd %xmm0, 0x38(%rax)
movupd %xmm0, 0x48(%rax)
movupd %xmm0, 0x58(%rax)
movupd %xmm0, 0x68(%rax)
movupd %xmm0, 0x78(%rax)
movupd %xmm0, 0x88(%rax)
movq %rsi, 0x58(%r14)
movq 0x60(%r14), %rdi
movq %rax, 0x60(%r14)
testq %rdi, %rdi
je 0x1fc10
callq 0x1b482
movq 0x58(%r14), %rsi
movq %r14, 0x68(%rsi)
movq 0x58(%r13), %rdi
callq 0x1f52c
jmp 0x1ff70
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x1fcb4
movq %rdi, 0x48(%r14)
leaq 0x50(%r14), %rdi
leaq 0x28(%rsp), %r12
movq %r12, %rsi
callq 0x1c8e8
movq 0x48(%r14), %rax
movq %r14, 0x68(%rax)
movq -0x8(%r12), %rdi
movq 0x50(%rsp), %rsi
testq %rdi, %rdi
jne 0x1fc8a
testq %rsi, %rsi
je 0x1fcb4
movq %rsi, 0x48(%r14)
leaq 0x50(%r14), %rdi
leaq 0x58(%rsp), %rsi
callq 0x1c8e8
movq 0x48(%r14), %rax
movq %r14, 0x68(%rax)
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x1fcb4
movq 0x50(%rsp), %rsi
testq %rsi, %rsi
je 0x1fcb4
xorl %edx, %edx
callq 0x1c932
leaq 0x28(%rsp), %rsi
movq -0x8(%rsi), %rax
movq %rax, 0x48(%r14)
leaq 0x50(%r14), %rdi
callq 0x1c8e8
movq 0x48(%r14), %rax
movq %r14, 0x68(%rax)
movq %r13, %rbx
movl $0x98, %edi
callq 0x21c0
movq %rax, %r12
movabsq $0x100000001, %rax      # imm = 0x100000001
movq %rax, 0x8(%r12)
movq %rbp, (%r12)
movq %r12, %r13
addq $0x10, %r13
xorpd %xmm0, %xmm0
movupd %xmm0, 0x10(%r12)
movl $0xffffffff, 0x20(%r12) # imm = 0xFFFFFFFF
movupd %xmm0, 0x28(%r12)
movupd %xmm0, 0x38(%r12)
movupd %xmm0, 0x48(%r12)
movupd %xmm0, 0x58(%r12)
movupd %xmm0, 0x68(%r12)
movupd %xmm0, 0x78(%r12)
movupd %xmm0, 0x88(%r12)
movq 0x48(%rbx), %rdi
movq $0x0, (%rsp)
movl $0x1, %esi
movq %rdi, %rdx
xorl %ecx, %ecx
movq %r13, %r8
xorl %r9d, %r9d
callq 0xa4b0
xorpd %xmm0, %xmm0
movapd %xmm0, 0x10(%rsp)
movl $0x98, %edi
callq 0x21c0
movabsq $0x100000001, %rcx      # imm = 0x100000001
movq %rcx, 0x8(%rax)
movq %rbp, (%rax)
movq %rax, %rsi
addq $0x10, %rsi
xorpd %xmm0, %xmm0
movupd %xmm0, 0x10(%rax)
movl $0xffffffff, 0x20(%rax) # imm = 0xFFFFFFFF
movupd %xmm0, 0x28(%rax)
movupd %xmm0, 0x38(%rax)
movupd %xmm0, 0x48(%rax)
movupd %xmm0, 0x58(%rax)
movupd %xmm0, 0x68(%rax)
movupd %xmm0, 0x78(%rax)
movupd %xmm0, 0x88(%rax)
movq %rsi, 0x10(%rsp)
movq 0x18(%rsp), %rdi
movq %rax, 0x18(%rsp)
testq %rdi, %rdi
je 0x1fdc7
callq 0x1b482
movq 0x10(%rsp), %rsi
movq %r13, %rdi
callq 0x2008a
leaq 0x18(%rsp), %r13
xorpd %xmm0, %xmm0
movapd %xmm0, 0x40(%rsp)
cmpq $0x0, 0x58(%rbx)
je 0x1fe7e
movl $0x98, %edi
callq 0x21c0
movabsq $0x100000001, %rcx      # imm = 0x100000001
movq %rcx, 0x8(%rax)
movq %rbp, (%rax)
movq %rax, %rsi
addq $0x10, %rsi
xorpd %xmm0, %xmm0
movupd %xmm0, 0x10(%rax)
movl $0xffffffff, 0x20(%rax) # imm = 0xFFFFFFFF
movupd %xmm0, 0x28(%rax)
movupd %xmm0, 0x38(%rax)
movupd %xmm0, 0x48(%rax)
movupd %xmm0, 0x58(%rax)
movupd %xmm0, 0x68(%rax)
movupd %xmm0, 0x78(%rax)
movupd %xmm0, 0x88(%rax)
movq %rsi, 0x40(%rsp)
movq 0x48(%rsp), %rdi
movq %rax, 0x48(%rsp)
testq %rdi, %rdi
je 0x1fe5f
callq 0x1b482
movq 0x40(%rsp), %rsi
movq 0x58(%rbx), %rdi
callq 0x1f52c
movq 0x40(%rsp), %rsi
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x1feaf
testq %rsi, %rsi
jne 0x1fee2
jmp 0x1fe88
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x1ff06
movq %rdi, 0x58(%r14)
leaq 0x60(%r14), %rdi
movq %r13, %rsi
callq 0x1c8e8
movq 0x58(%r14), %rax
movq %r14, 0x68(%rax)
movq 0x10(%rsp), %rdi
movq 0x40(%rsp), %rsi
testq %rdi, %rdi
jne 0x1fedd
testq %rsi, %rsi
je 0x1ff06
movq %rsi, 0x58(%r14)
leaq 0x60(%r14), %rdi
leaq 0x48(%rsp), %rsi
callq 0x1c8e8
movq 0x58(%r14), %rax
movq %r14, 0x68(%rax)
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x1ff06
movq 0x40(%rsp), %rsi
testq %rsi, %rsi
je 0x1ff06
xorl %edx, %edx
callq 0x1c932
movq 0x10(%rsp), %rax
movq %rax, 0x58(%r14)
leaq 0x60(%r14), %rdi
movq %r13, %rsi
callq 0x1c8e8
movq 0x58(%r14), %rax
movq %r14, 0x68(%rax)
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x1ff15
callq 0x1b482
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x1ff24
callq 0x1b482
movq %r12, %rdi
callq 0x1b482
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x1ff3b
callq 0x1b482
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x1ff4a
callq 0x1b482
movq 0x68(%rsp), %rdi
testq %rdi, %rdi
je 0x1ff59
callq 0x1b482
movq %r15, %rdi
callq 0x1b482
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x1ff70
callq 0x1b482
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x10, %edi
callq 0x20c0
movq %rax, %r14
leaq 0x5959(%rip), %rsi      # 0x258ef
movq %rax, %rdi
callq 0x20a0
jmp 0x1ffbc
movl $0x10, %edi
callq 0x20c0
movq %rax, %r14
leaq 0x5994(%rip), %rsi      # 0x25948
movq %rax, %rdi
callq 0x20a0
movq 0xc02d(%rip), %rsi      # 0x2bff0
movq 0xbff6(%rip), %rdx      # 0x2bfc0
movq %r14, %rdi
callq 0x2290
jmp 0x1fffb
jmp 0x20026
jmp 0x1ffd8
movq %rax, %rbx
jmp 0x20038
jmp 0x1fff6
jmp 0x1fff6
jmp 0x1ffe3
movq %rax, %rbx
jmp 0x2000d
movq %rax, %rbx
jmp 0x2001c
jmp 0x20026
jmp 0x20049
movq %rax, %rbx
jmp 0x2005b
movq %rax, %rbx
jmp 0x20063
movq %rax, %rbx
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x2000d
callq 0x1b482
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x2001c
callq 0x1b482
movq %r12, %rdi
callq 0x1b482
jmp 0x20029
movq %rax, %rbx
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x20038
callq 0x1b482
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x2004c
callq 0x1b482
jmp 0x2004c
movq %rax, %rbx
movq 0x68(%rsp), %rdi
testq %rdi, %rdi
je 0x2005b
callq 0x1b482
movq %r15, %rdi
callq 0x1b482
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x20081
callq 0x1b482
jmp 0x20081
jmp 0x20076
movq %rax, %rbx
movq %r14, %rdi
callq 0x2140
movq %rbx, %rdi
callq 0x22b0
nop