// File: /workspace/github_cpp_makefile_star2_O3/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 $0x38, %rsp
movsd %xmm1, 0x8(%rsp)
movsd %xmm0, 0x10(%rsp)
movl %r9d, 0x4(%rsp)
movq %r8, 0x28(%rsp)
movq %rcx, 0x30(%rsp)
movq %rsi, %rbp
movq %rdi, %r15
movq 0x8(%rsi), %rax
subq (%rsi), %rax
sarq $0x5, %rax
movq 0x8(%rdx), %rsi
movq %rdx, 0x20(%rsp)
subq (%rdx), %rsi
sarq $0x5, %rsi
addq %rax, %rsi
callq 0x42b0
leaq 0xca5ab(%rip), %rsi     # 0x15504b
movl $0x2, %edx
movq %rax, %rdi
callq 0x44e0
movq (%rbp), %rax
movq 0x8(%rbp), %rdx
cmpq %rax, %rdx
movq %r15, 0x18(%rsp)
je 0x8acea
xorl %ebx, %ebx
leaq 0xc3926(%rip), %r12     # 0x14e3f2
xorl %r14d, %r14d
cmpb $0x0, 0x4(%rsp)
je 0x8ab68
movsd 0x18(%rax,%rbx), %xmm0
ucomisd 0x10(%rsp), %xmm0
jb 0x8ab10
movsd 0x8(%rsp), %xmm1
ucomisd %xmm0, %xmm1
jb 0x8ab10
movl $0x2, %edx
movq %r15, %rdi
leaq 0xcb155(%rip), %rsi     # 0x155c58
callq 0x44e0
movq (%rbp), %rax
movq 0x8(%rbp), %rdx
subq %rax, %rdx
sarq $0x5, %rdx
cmpq %r14, %rdx
jbe 0x8af3e
movsd 0x10(%rsp), %xmm0
ucomisd 0x18(%rax,%rbx), %xmm0
jbe 0x8ab51
movl $0x2, %edx
movq %r15, %rdi
leaq 0xcb11e(%rip), %rsi     # 0x155c5b
callq 0x44e0
movq (%rbp), %rax
movq 0x8(%rbp), %rdx
subq %rax, %rdx
sarq $0x5, %rdx
cmpq %r14, %rdx
jbe 0x8af3e
movsd 0x18(%rax,%rbx), %xmm0
ucomisd 0x8(%rsp), %xmm0
jbe 0x8ab7c
movl $0x2, %edx
movq %r15, %rdi
leaq 0xcb0e7(%rip), %rsi     # 0x155c5e
callq 0x44e0
movq (%rbp), %rdi
movq 0x8(%rbp), %rdx
subq %rdi, %rdx
sarq $0x5, %rdx
cmpq %r14, %rdx
jbe 0x8af3e
addq %rbx, %rdi
xorl %esi, %esi
callq 0x83f9a
movsd (%rax), %xmm0
movq %r15, %rdi
callq 0x46b0
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %r15
movq %r12, %rsi
callq 0x44e0
movq (%rbp), %rdi
movq 0x8(%rbp), %rdx
subq %rdi, %rdx
sarq $0x5, %rdx
cmpq %r14, %rdx
jbe 0x8af3e
addq %rbx, %rdi
movl $0x1, %esi
callq 0x83f9a
movsd (%rax), %xmm0
movq %r13, %rdi
callq 0x46b0
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x44e0
movq (%rbp), %rdi
movq 0x8(%rbp), %rdx
subq %rdi, %rdx
sarq $0x5, %rdx
cmpq %r14, %rdx
jbe 0x8af3e
addq %rbx, %rdi
movl $0x2, %esi
callq 0x83f9a
movsd (%rax), %xmm0
movq %r13, %rdi
callq 0x46b0
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x44e0
movq (%rbp), %rax
movq 0x8(%rbp), %rdx
subq %rax, %rdx
sarq $0x5, %rdx
cmpq %r14, %rdx
jbe 0x8af3e
movsd 0x18(%rax,%rbx), %xmm0
movq %r13, %rdi
callq 0x46b0
cmpb $0x0, 0x4(%rsp)
movq 0x18(%rsp), %r15
je 0x8acb4
movl $0x1, %edx
movq %r15, %rdi
movq %r12, %rsi
callq 0x44e0
movq 0x30(%rsp), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
cmpq %r14, %rdx
jbe 0x8af3e
movsd (%rax,%r14,8), %xmm0
movq %r15, %rdi
callq 0x46b0
movl $0x1, %edx
movq %r15, %rdi
leaq 0xc895b(%rip), %rsi     # 0x15361e
callq 0x44e0
incq %r14
movq (%rbp), %rax
movq 0x8(%rbp), %rdx
movq %rdx, %rcx
subq %rax, %rcx
sarq $0x5, %rcx
addq $0x20, %rbx
cmpq %r14, %rcx
ja 0x8aacf
movq 0x20(%rsp), %rbx
movq (%rbx), %rax
movq 0x8(%rbx), %rdx
cmpq %rax, %rdx
je 0x8af2f
xorl %r14d, %r14d
leaq 0xc36e9(%rip), %rbp     # 0x14e3f2
xorl %r13d, %r13d
leaq 0xcaf4e(%rip), %rsi     # 0x155c61
cmpb $0x0, 0x4(%rsp)
je 0x8adb4
movsd 0x18(%rax,%r14), %xmm0
ucomisd 0x10(%rsp), %xmm0
jb 0x8ad54
movsd 0x8(%rsp), %xmm1
ucomisd %xmm0, %xmm1
jb 0x8ad54
movl $0x2, %edx
movq %r15, %rdi
leaq 0xcaf10(%rip), %rsi     # 0x155c58
callq 0x44e0
movq (%rbx), %rax
movq 0x8(%rbx), %rdx
subq %rax, %rdx
sarq $0x5, %rdx
cmpq %r13, %rdx
jbe 0x8af4a
movsd 0x10(%rsp), %xmm0
ucomisd 0x18(%rax,%r14), %xmm0
jbe 0x8ad95
movl $0x2, %edx
movq %r15, %rdi
leaq 0xcaed9(%rip), %rsi     # 0x155c5b
callq 0x44e0
movq (%rbx), %rax
movq 0x8(%rbx), %rdx
subq %rax, %rdx
sarq $0x5, %rdx
cmpq %r13, %rdx
jbe 0x8af4a
movsd 0x18(%rax,%r14), %xmm0
ucomisd 0x8(%rsp), %xmm0
leaq 0xcaeac(%rip), %rsi     # 0x155c5e
jbe 0x8adc1
movl $0x2, %edx
movq %r15, %rdi
callq 0x44e0
movq (%rbx), %rdi
movq 0x8(%rbx), %rdx
subq %rdi, %rdx
sarq $0x5, %rdx
cmpq %r13, %rdx
jbe 0x8af4a
movq %rbp, %r15
addq %r14, %rdi
xorl %esi, %esi
callq 0x83f9a
movsd (%rax), %xmm0
movq 0x18(%rsp), %rdi
callq 0x46b0
movq %rax, %rbp
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %r12
movq %r15, %rsi
callq 0x44e0
movq (%rbx), %rdi
movq 0x8(%rbx), %rdx
subq %rdi, %rdx
sarq $0x5, %rdx
cmpq %r13, %rdx
jbe 0x8af4a
addq %r14, %rdi
movl $0x1, %esi
callq 0x83f9a
movsd (%rax), %xmm0
movq %rbp, %rdi
callq 0x46b0
movq %rax, %rbp
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x44e0
movq (%rbx), %rdi
movq 0x8(%rbx), %rdx
subq %rdi, %rdx
sarq $0x5, %rdx
cmpq %r13, %rdx
jbe 0x8af4a
addq %r14, %rdi
movl $0x2, %esi
callq 0x83f9a
movsd (%rax), %xmm0
movq %rbp, %rdi
callq 0x46b0
movq %rax, %rbp
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x44e0
movq (%rbx), %rax
movq 0x8(%rbx), %rdx
subq %rax, %rdx
sarq $0x5, %rdx
cmpq %r13, %rdx
jbe 0x8af4a
movsd 0x18(%rax,%r14), %xmm0
movq %rbp, %rdi
callq 0x46b0
cmpb $0x0, 0x4(%rsp)
movq %r15, %rbp
movq 0x18(%rsp), %r15
je 0x8aefa
movl $0x1, %edx
movq %r15, %rdi
movq %rbp, %rsi
callq 0x44e0
movq 0x28(%rsp), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
cmpq %r13, %rdx
jbe 0x8af4a
movsd (%rax,%r13,8), %xmm0
movq %r15, %rdi
callq 0x46b0
movl $0x1, %edx
movq %r15, %rdi
leaq 0xc8715(%rip), %rsi     # 0x15361e
callq 0x44e0
incq %r13
movq (%rbx), %rax
movq 0x8(%rbx), %rdx
movq %rdx, %rcx
subq %rax, %rcx
sarq $0x5, %rcx
addq $0x20, %r14
cmpq %r13, %rcx
ja 0x8ad0c
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xc27b0(%rip), %rdi     # 0x14d6f5
movq %r14, %rsi
jmp 0x8af54
leaq 0xc27a4(%rip), %rdi     # 0x14d6f5
movq %r13, %rsi
xorl %eax, %eax
callq 0x4630