// File: /workspace/github_cpp_makefile_star2_O2/Luthaf[P]zeopp/psd.cc
// Function: printFileCoords_Radii(std::ostream&, std::vector<std::pair<Point, double>, std::allocator<std::pair<Point, double>>>&, std::vector<std::pair<Point, double>, std::allocator<std::pair<Point, double>>>&, std::vector<double, std::allocator<double>>&, std::vector<double, std::allocator<double>>&, bool, double, double)
void printFileCoords_Radii(ostream& outfile, vector<pair <Point, double> > &pt_node_rad, vector<pair <Point, double> > &pt_ghost_rad, vector <double> &distanceBetweenNodeSpheres, vector <double> &distanceBetweenGhostSpheres, bool overlaps, double startRad, double endRad){
 outfile <<(pt_node_rad.size() + pt_ghost_rad.size())<<"\n\n";
  for (int i=0; i<pt_node_rad.size(); i++){
		if (overlaps){
			if (pt_node_rad.at(i).second>=startRad && pt_node_rad.at(i).second <= endRad) outfile <<"3\t";
			if (pt_node_rad.at(i).second<startRad) outfile <<"2\t";
		  if (pt_node_rad.at(i).second>endRad) outfile <<"1\t"; 
		}
		else outfile <<"1\t";
		outfile << pt_node_rad.at(i).first[0]<< "\t"<< pt_node_rad.at(i).first[1]<< "\t" << pt_node_rad.at(i).first[2]<<"\t"<<pt_node_rad.at(i).second;
		if (overlaps) outfile <<"\t"<< distanceBetweenNodeSpheres.at(i);
		outfile<<"\n";
  }
 for (int i=0; i<pt_ghost_rad.size(); i++){
	if (overlaps){
		if (pt_ghost_rad.at(i).second>=startRad && pt_ghost_rad.at(i).second <= endRad) outfile <<"3\t";
		if (pt_ghost_rad.at(i).second<startRad) outfile <<"2\t";
		if (pt_ghost_rad.at(i).second>endRad) outfile <<"1\t";
	}
	else outfile <<"0\t";
	outfile<< pt_ghost_rad.at(i).first[0]<< "\t"<< pt_ghost_rad.at(i).first[1]<< "\t" << pt_ghost_rad.at(i).first[2]<<"\t"<<pt_ghost_rad.at(i).second;
	if (overlaps) outfile <<"\t"<< distanceBetweenGhostSpheres.at(i);
	outfile<<"\n";
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movsd %xmm1, (%rsp)
movsd %xmm0, 0x8(%rsp)
movl %r9d, %ebx
movq %r8, 0x20(%rsp)
movq %rcx, 0x18(%rsp)
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %r12
movq 0x8(%rsi), %rax
subq (%rsi), %rax
sarq $0x5, %rax
movq 0x8(%rdx), %rsi
subq (%rdx), %rsi
sarq $0x5, %rsi
addq %rax, %rsi
callq 0x42e0
leaq 0x9aa3f(%rip), %rsi     # 0x103f9b
movq %rax, %rdi
callq 0x4480
xorl %r13d, %r13d
movl %ebx, 0x14(%rsp)
movq 0x8(%r14), %rax
subq (%r14), %rax
sarq $0x5, %rax
cmpq %r13, %rax
jbe 0x69706
testb %bl, %bl
je 0x695ff
movq %r14, %rdi
movq %r13, %rsi
callq 0x6a990
movsd 0x18(%rax), %xmm0
ucomisd 0x8(%rsp), %xmm0
jb 0x695c1
movq %r14, %rdi
movq %r13, %rsi
callq 0x6a990
movsd (%rsp), %xmm0
ucomisd 0x18(%rax), %xmm0
jb 0x695c1
movq %r12, %rdi
leaq 0x9b5dc(%rip), %rsi     # 0x104b98
callq 0x4480
movq %r14, %rdi
movq %r13, %rsi
callq 0x6a990
movsd 0x8(%rsp), %xmm0
ucomisd 0x18(%rax), %xmm0
jbe 0x695e8
movq %r12, %rdi
leaq 0x9b5b8(%rip), %rsi     # 0x104b9b
callq 0x4480
movq %r14, %rdi
movq %r13, %rsi
callq 0x6a990
movsd 0x18(%rax), %xmm0
ucomisd (%rsp), %xmm0
jbe 0x6960e
movq %r12, %rdi
leaq 0x9b595(%rip), %rsi     # 0x104b9e
callq 0x4480
movq %r14, %rdi
movq %r13, %rsi
callq 0x6a990
movq %rax, %rdi
xorl %esi, %esi
callq 0x63c78
movsd (%rax), %xmm0
movq %r12, %rdi
callq 0x46c0
movq %rax, %rdi
leaq 0x93db9(%rip), %rbx     # 0xfd3f2
movq %rbx, %rsi
callq 0x4480
movq %rax, %rbp
movq %r14, %rdi
movq %r13, %rsi
callq 0x6a990
movq %rax, %rdi
pushq $0x1
popq %rsi
callq 0x63c78
movsd (%rax), %xmm0
movq %rbp, %rdi
callq 0x46c0
movq %rax, %rdi
movq %rbx, %rsi
callq 0x4480
movq %rax, %rbp
movq %r14, %rdi
movq %r13, %rsi
callq 0x6a990
movq %rax, %rdi
pushq $0x2
popq %rsi
callq 0x63c78
movsd (%rax), %xmm0
movq %rbp, %rdi
callq 0x46c0
movq %rax, %rdi
movq %rbx, %rsi
callq 0x4480
movq %rax, %rbp
movq %r14, %rdi
movq %r13, %rsi
callq 0x6a990
movsd 0x18(%rax), %xmm0
movq %rbp, %rdi
callq 0x46c0
movl 0x14(%rsp), %ebx
testb %bl, %bl
je 0x696ef
movq %r12, %rdi
leaq 0x93d24(%rip), %rsi     # 0xfd3f2
callq 0x4480
movq %rax, %rbp
movq 0x18(%rsp), %rdi
movq %r13, %rsi
callq 0xaa50
movsd (%rax), %xmm0
movq %rbp, %rdi
callq 0x46c0
movq %r12, %rdi
leaq 0x98e85(%rip), %rsi     # 0x10257e
callq 0x4480
incq %r13
jmp 0x6956b
xorl %r14d, %r14d
leaq 0x93ce2(%rip), %rbp     # 0xfd3f2
movq 0x8(%r15), %rax
subq (%r15), %rax
sarq $0x5, %rax
cmpq %r14, %rax
jbe 0x698a7
leaq 0x9b476(%rip), %rsi     # 0x104ba1
testb %bl, %bl
je 0x697b6
movq %r15, %rdi
movq %r14, %rsi
callq 0x6a990
movsd 0x18(%rax), %xmm0
ucomisd 0x8(%rsp), %xmm0
jb 0x69771
movq %r15, %rdi
movq %r14, %rsi
callq 0x6a990
movsd (%rsp), %xmm0
ucomisd 0x18(%rax), %xmm0
jb 0x69771
movq %r12, %rdi
leaq 0x9b42c(%rip), %rsi     # 0x104b98
callq 0x4480
movq %r15, %rdi
movq %r14, %rsi
callq 0x6a990
movsd 0x8(%rsp), %xmm0
ucomisd 0x18(%rax), %xmm0
jbe 0x69798
movq %r12, %rdi
leaq 0x9b408(%rip), %rsi     # 0x104b9b
callq 0x4480
movq %r15, %rdi
movq %r14, %rsi
callq 0x6a990
movsd 0x18(%rax), %xmm0
ucomisd (%rsp), %xmm0
leaq 0x9b3ea(%rip), %rsi     # 0x104b9e
jbe 0x697be
movq %r12, %rdi
callq 0x4480
movq %r15, %rdi
movq %r14, %rsi
callq 0x6a990
movq %rax, %rdi
xorl %esi, %esi
callq 0x63c78
movsd (%rax), %xmm0
movq %r12, %rdi
callq 0x46c0
movq %rax, %rdi
movq %rbp, %rsi
callq 0x4480
movq %rax, %r13
movq %r15, %rdi
movq %r14, %rsi
callq 0x6a990
movq %rax, %rdi
pushq $0x1
popq %rsi
callq 0x63c78
movsd (%rax), %xmm0
movq %r13, %rdi
callq 0x46c0
movq %rax, %rdi
movq %rbp, %rsi
callq 0x4480
movq %rax, %r13
movq %r15, %rdi
movq %r14, %rsi
callq 0x6a990
movq %rax, %rdi
pushq $0x2
popq %rsi
callq 0x63c78
movsd (%rax), %xmm0
movq %r13, %rdi
callq 0x46c0
movq %rax, %rdi
movq %rbp, %rsi
callq 0x4480
movq %rax, %r13
movq %r15, %rdi
movq %r14, %rsi
callq 0x6a990
movsd 0x18(%rax), %xmm0
movq %r13, %rdi
callq 0x46c0
testb %bl, %bl
je 0x69890
movq %r12, %rdi
movq %rbp, %rsi
callq 0x4480
movq %rax, %r13
movq 0x20(%rsp), %rdi
movq %r14, %rsi
callq 0xaa50
movsd (%rax), %xmm0
movq %r13, %rdi
callq 0x46c0
movq %r12, %rdi
leaq 0x98ce4(%rip), %rsi     # 0x10257e
callq 0x4480
incq %r14
jmp 0x69710
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq