// File: /workspace/github_cpp_makefile_star2_O1/Luthaf[P]zeopp/voro++/src/cell.cc
// Function: voro::voronoicell_base::draw_gnuplot(double, double, double, _IO_FILE*)
void voronoicell_base::draw_gnuplot(double x,double y,double z,FILE *fp) {
	int i,j,k,l,m;
	for(i=1;i<p;i++) for(j=0;j<nu[i];j++) {
		k=ed[i][j];
		if(k>=0) {
			fprintf(fp,"%g %g %g\n",x+0.5*pts[i<<2],y+0.5*pts[(i<<2)+1],z+0.5*pts[(i<<2)+2]);
			l=i;m=j;
			do {
				ed[k][ed[l][nu[l]+m]]=-1-l;
				ed[l][m]=-1-k;
				l=k;
				fprintf(fp,"%g %g %g\n",x+0.5*pts[k<<2],y+0.5*pts[(k<<2)+1],z+0.5*pts[(k<<2)+2]);
			} while (search_edge(l,m,k));
			fputs("\n\n",fp);
		}
	}
	reset_edges();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movsd %xmm2, 0x10(%rsp)
movsd %xmm1, 0x8(%rsp)
movsd %xmm0, (%rsp)
movq %rdi, %rbx
movl 0x1c(%rdi), %eax
cmpl $0x2, %eax
jl 0xa02f
movq %rsi, %r14
movl $0x1, %r13d
leaq 0x2f345(%rip), %r15     # 0x391a3
movq 0x30(%rbx), %rax
cmpl $0x0, (%rax,%r13,4)
jle 0xa01f
leal (,%r13,4), %eax
cltq
movq %rax, 0x28(%rsp)
leal 0x1(,%r13,4), %eax
cltq
movq %rax, 0x20(%rsp)
leal 0x2(,%r13,4), %eax
cltq
movq %rax, 0x18(%rsp)
xorl %r12d, %r12d
movq %r13, 0x30(%rsp)
movq 0x28(%rbx), %rax
movq (%rax,%r13,8), %rax
movl (%rax,%r12,4), %ebp
testl %ebp, %ebp
js 0xa00b
movq 0x40(%rbx), %rax
movq 0x28(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm0
movsd 0x2d15c(%rip), %xmm3    # 0x37028
mulsd %xmm3, %xmm0
addsd (%rsp), %xmm0
movq 0x20(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm1
mulsd %xmm3, %xmm1
addsd 0x8(%rsp), %xmm1
movq 0x18(%rsp), %rcx
movsd (%rax,%rcx,8), %xmm2
mulsd %xmm3, %xmm2
addsd 0x10(%rsp), %xmm2
movq %r14, %rdi
movq %r15, %rsi
movb $0x3, %al
callq 0x21b0
movl %r12d, %eax
movl %r13d, %ecx
movl %ebp, %r13d
movslq %ebp, %rbp
movq 0x28(%rbx), %rdx
movq 0x30(%rbx), %rsi
movq (%rdx,%rbp,8), %rdi
movslq %ecx, %r8
notl %ecx
movq (%rdx,%r8,8), %rdx
movslq (%rsi,%r8,4), %rsi
cltq
addq %rax, %rsi
movslq (%rdx,%rsi,4), %rsi
movl %ecx, (%rdi,%rsi,4)
movl %ebp, %ecx
notl %ecx
movl %ecx, (%rdx,%rax,4)
movq 0x40(%rbx), %rax
leal (,%rbp,4), %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
movsd 0x2d0cb(%rip), %xmm3    # 0x37028
mulsd %xmm3, %xmm0
addsd (%rsp), %xmm0
leal 0x1(,%rbp,4), %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm1
mulsd %xmm3, %xmm1
addsd 0x8(%rsp), %xmm1
leal 0x2(,%rbp,4), %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm2
mulsd %xmm3, %xmm2
addsd 0x10(%rsp), %xmm2
movq %r14, %rdi
movq %r15, %rsi
movb $0x3, %al
callq 0x21b0
movq 0x30(%rbx), %rax
movl (%rax,%rbp,4), %edx
xorl %eax, %eax
testl %edx, %edx
setg %cl
jle 0x9feb
movq 0x28(%rbx), %rcx
movq (%rcx,%rbp,8), %rsi
movl (%rsi), %ebp
movb $0x1, %cl
testl %ebp, %ebp
jns 0x9fee
cmpl $0x1, %edx
setne %cl
cmpl $0x1, %edx
je 0x9fe7
movl $0x1, %eax
movl (%rsi,%rax,4), %ebp
testl %ebp, %ebp
jns 0x9fee
incq %rax
cmpq %rdx, %rax
setb %cl
jne 0x9fd5
movl %edx, %eax
jmp 0x9fee
movl %r13d, %ebp
testb $0x1, %cl
jne 0x9f0d
leaq 0x3364d(%rip), %rdi     # 0x3d64b
movq %r14, %rsi
callq 0x2140
movq 0x30(%rsp), %r13
incq %r12
movq 0x30(%rbx), %rax
movslq (%rax,%r13,4), %rax
cmpq %rax, %r12
jl 0x9ea2
incq %r13
movslq 0x1c(%rbx), %rax
cmpq %rax, %r13
jl 0x9e5e
testl %eax, %eax
jle 0xa08f
xorl %r15d, %r15d
leaq 0x2ee08(%rip), %r14     # 0x38e45
movq 0x30(%rbx), %rax
cmpl $0x0, (%rax,%r15,4)
jle 0xa083
xorl %r12d, %r12d
movq 0x28(%rbx), %rax
movq (%rax,%r15,8), %rax
cmpl $0x0, (%rax,%r12,4)
js 0xa067
movq %r14, %rdi
movl $0x3, %esi
callq 0x1318d
movq 0x28(%rbx), %rax
movq (%rax,%r15,8), %rax
notl (%rax,%r12,4)
incq %r12
movq 0x30(%rbx), %rax
movslq (%rax,%r15,4), %rax
cmpq %rax, %r12
jl 0xa04b
incq %r15
movslq 0x1c(%rbx), %rax
cmpq %rax, %r15
jl 0xa03d
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq