// File: /workspace/github_cpp_makefile_star2_O2/Luthaf[P]zeopp/voro++/src/cmd_line.cc
// Function: void cmd_line_output<voro::c_loop_order, voro::container_poly>(voro::c_loop_order&, voro::container_poly&, char const*, _IO_FILE*, _IO_FILE*, _IO_FILE*, _IO_FILE*, bool, double&, int&, int&)
void cmd_line_output(c_loop &vl,c_class &con,const char* format,FILE* outfile,FILE* gnu_file,FILE* povp_file,FILE* povv_file,bool verbose,double &vol,int &vcc,int &tp) {
	int pid,ps=con.ps;double x,y,z,r;
	if(con.contains_neighbor(format)) {
		voronoicell_neighbor c(con);
		if(vl.start()) do if(con.compute_cell(c,vl)) {
			vl.pos(pid,x,y,z,r);
			if(outfile!=NULL) c.output_custom(format,pid,x,y,z,r,outfile);
			if(gnu_file!=NULL) c.draw_gnuplot(x,y,z,gnu_file);
			if(povp_file!=NULL) {
				fprintf(povp_file,"// id %d\n",pid);
				if(ps==4) fprintf(povp_file,"sphere{<%g,%g,%g>,%g}\n",x,y,z,r);
				else fprintf(povp_file,"sphere{<%g,%g,%g>,s}\n",x,y,z);
			}
			if(povv_file!=NULL) {
				fprintf(povv_file,"// cell %d\n",pid);
				c.draw_pov(x,y,z,povv_file);
			}
			if(verbose) {vol+=c.volume();vcc++;}
		} while(vl.inc());
	} else {
		voronoicell c(con);
		if(vl.start()) do if(con.compute_cell(c,vl)) {
			vl.pos(pid,x,y,z,r);
			if(outfile!=NULL) c.output_custom(format,pid,x,y,z,r,outfile);
			if(gnu_file!=NULL) c.draw_gnuplot(x,y,z,gnu_file);
			if(povp_file!=NULL) {
				fprintf(povp_file,"// id %d\n",pid);
				if(ps==4) fprintf(povp_file,"sphere{<%g,%g,%g>,%g}\n",x,y,z,r);
				else fprintf(povp_file,"sphere{<%g,%g,%g>,s}\n",x,y,z);
			}
			if(povv_file!=NULL) {
				fprintf(povv_file,"// cell %d\n",pid);
				c.draw_pov(x,y,z,povv_file);
			}
			if(verbose) {vol+=c.volume();vcc++;}
		} while(vl.inc());
	}
	if(verbose) tp=con.total_particles();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x148, %rsp            # imm = 0x148
movq %r9, %r14
movq %r8, %r15
movq %rcx, %r12
movq %rsi, %rbx
movq %rdi, %rbp
movl 0xd0(%rsi), %eax
movl %eax, 0x2c(%rsp)
movq %rsi, %rdi
movq %rdx, 0x38(%rsp)
movq %rdx, %rsi
callq 0x2879c
testb %al, %al
movq %r15, 0x30(%rsp)
leaq 0x40(%rsp), %rdi
movq %rbx, %rsi
je 0x406f
callq 0x4f90
movq %rbp, %rdi
callq 0x4fd6
testb %al, %al
je 0x4060
leaq 0x40(%rsp), %r13
movq %rbx, %rdi
movq %r13, %rsi
movq %rbp, %rdx
callq 0x5026
testb %al, %al
je 0x4050
movq %rbp, %rdi
leaq 0x4(%rsp), %rsi
leaq 0x18(%rsp), %rdx
leaq 0x10(%rsp), %rcx
leaq 0x8(%rsp), %r8
leaq 0x20(%rsp), %r9
callq 0x504c
testq %r12, %r12
je 0x3f5b
movl 0x4(%rsp), %edx
movsd 0x18(%rsp), %xmm0
movsd 0x10(%rsp), %xmm1
movsd 0x8(%rsp), %xmm2
movsd 0x20(%rsp), %xmm3
movq %r13, %rdi
movq 0x38(%rsp), %rsi
movq %r12, %rcx
callq 0x8edc
testq %r15, %r15
je 0x3f7d
movsd 0x18(%rsp), %xmm0
movsd 0x10(%rsp), %xmm1
movsd 0x8(%rsp), %xmm2
movq %r13, %rdi
movq %r15, %rsi
callq 0x7efe
testq %r14, %r14
je 0x3fda
movl 0x4(%rsp), %edx
movq %r14, %rdi
leaq 0x2c5de(%rip), %rsi     # 0x3056e
xorl %eax, %eax
callq 0x21a0
movsd 0x18(%rsp), %xmm0
movsd 0x10(%rsp), %xmm1
movsd 0x8(%rsp), %xmm2
cmpl $0x4, 0x2c(%rsp)
jne 0x3fc9
movsd 0x20(%rsp), %xmm3
movq %r14, %rdi
leaq 0x2c5b8(%rip), %rsi     # 0x30578
movb $0x4, %al
callq 0x21a0
jmp 0x3fda
movq %r14, %rdi
leaq 0x2c5bc(%rip), %rsi     # 0x3058f
movb $0x3, %al
callq 0x21a0
cmpq $0x0, 0x180(%rsp)
je 0x4024
movl 0x4(%rsp), %edx
movq 0x180(%rsp), %r15
movq %r15, %rdi
leaq 0x2c5aa(%rip), %rsi     # 0x305a5
xorl %eax, %eax
callq 0x21a0
movsd 0x18(%rsp), %xmm0
movsd 0x10(%rsp), %xmm1
movsd 0x8(%rsp), %xmm2
movq %r13, %rdi
movq %r15, %rsi
movq 0x30(%rsp), %r15
callq 0x7d92
cmpb $0x0, 0x188(%rsp)
je 0x4050
movq %r13, %rdi
callq 0x69f6
movq 0x190(%rsp), %rax
addsd (%rax), %xmm0
movsd %xmm0, (%rax)
movq 0x198(%rsp), %rax
incl (%rax)
movq %rbp, %rdi
callq 0x50b4
testb %al, %al
jne 0x3ef3
leaq 0x40(%rsp), %rdi
callq 0x965e
jmp 0x4200
callq 0x50fa
movq %rbp, %rdi
callq 0x4fd6
testb %al, %al
je 0x41f6
leaq 0x40(%rsp), %r13
movq %rbx, %rdi
movq %r13, %rsi
movq %rbp, %rdx
callq 0x5118
testb %al, %al
je 0x41e6
movq %rbp, %rdi
leaq 0x4(%rsp), %rsi
leaq 0x18(%rsp), %rdx
leaq 0x10(%rsp), %rcx
leaq 0x8(%rsp), %r8
leaq 0x20(%rsp), %r9
callq 0x504c
testq %r12, %r12
je 0x40f1
movl 0x4(%rsp), %edx
movsd 0x18(%rsp), %xmm0
movsd 0x10(%rsp), %xmm1
movsd 0x8(%rsp), %xmm2
movsd 0x20(%rsp), %xmm3
movq %r13, %rdi
movq 0x38(%rsp), %rsi
movq %r12, %rcx
callq 0x8edc
testq %r15, %r15
je 0x4113
movsd 0x18(%rsp), %xmm0
movsd 0x10(%rsp), %xmm1
movsd 0x8(%rsp), %xmm2
movq %r13, %rdi
movq %r15, %rsi
callq 0x7efe
testq %r14, %r14
je 0x4170
movl 0x4(%rsp), %edx
movq %r14, %rdi
leaq 0x2c448(%rip), %rsi     # 0x3056e
xorl %eax, %eax
callq 0x21a0
movsd 0x18(%rsp), %xmm0
movsd 0x10(%rsp), %xmm1
movsd 0x8(%rsp), %xmm2
cmpl $0x4, 0x2c(%rsp)
jne 0x415f
movsd 0x20(%rsp), %xmm3
movq %r14, %rdi
leaq 0x2c422(%rip), %rsi     # 0x30578
movb $0x4, %al
callq 0x21a0
jmp 0x4170
movq %r14, %rdi
leaq 0x2c426(%rip), %rsi     # 0x3058f
movb $0x3, %al
callq 0x21a0
cmpq $0x0, 0x180(%rsp)
je 0x41ba
movl 0x4(%rsp), %edx
movq 0x180(%rsp), %r15
movq %r15, %rdi
leaq 0x2c414(%rip), %rsi     # 0x305a5
xorl %eax, %eax
callq 0x21a0
movsd 0x18(%rsp), %xmm0
movsd 0x10(%rsp), %xmm1
movsd 0x8(%rsp), %xmm2
movq %r13, %rdi
movq %r15, %rsi
movq 0x30(%rsp), %r15
callq 0x7d92
cmpb $0x0, 0x188(%rsp)
je 0x41e6
movq %r13, %rdi
callq 0x69f6
movq 0x190(%rsp), %rax
addsd (%rax), %xmm0
movsd %xmm0, (%rax)
movq 0x198(%rsp), %rax
incl (%rax)
movq %rbp, %rdi
callq 0x50b4
testb %al, %al
jne 0x4089
leaq 0x40(%rsp), %rdi
callq 0x5744
cmpb $0x0, 0x188(%rsp)
je 0x421d
movq 0x1a0(%rsp), %r14
movq %rbx, %rdi
callq 0x513e
movl %eax, (%r14)
addq $0x148, %rsp            # imm = 0x148
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x4233
jmp 0x4242
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0x5744
jmp 0x424f
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0x965e
movq %rbx, %rdi
callq 0x2220
nop