// File: /workspace/github_cpp_makefile_star2_O1/icemiliang[P]vot/src/vot/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[3*i],y+0.5*pts[3*i+1],z+0.5*pts[3*i+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[3*k],y+0.5*pts[3*k+1],z+0.5*pts[3*k+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 $0x28, %rsp
movsd %xmm2, 0x10(%rsp)
movsd %xmm1, 0x8(%rsp)
movsd %xmm0, (%rsp)
movq %rdi, %rbx
movl 0x18(%rdi), %eax
cmpl $0x2, %eax
jl 0x1d56e
movq %rsi, %r14
movl $0x1, %r13d
leaq 0x32a68(%rip), %r15     # 0x4fe3e
movq 0x28(%rbx), %rax
cmpl $0x0, (%rax,%r13,4)
jle 0x1d55e
leaq (,%r13,8), %rax
leaq (%rax,%rax,2), %rax
movq %rax, 0x18(%rsp)
xorl %r12d, %r12d
movq %r13, 0x20(%rsp)
movq 0x20(%rbx), %rax
movq (%rax,%r13,8), %rax
movl (%rax,%r12,4), %ebp
testl %ebp, %ebp
js 0x1d54a
movq 0x30(%rbx), %rax
movq 0x18(%rsp), %rcx
movsd (%rax,%rcx), %xmm0
movsd 0x32150(%rip), %xmm3    # 0x4f578
mulsd %xmm3, %xmm0
addsd (%rsp), %xmm0
movsd 0x8(%rax,%rcx), %xmm1
mulsd %xmm3, %xmm1
addsd 0x8(%rsp), %xmm1
movsd 0x10(%rax,%rcx), %xmm2
mulsd %xmm3, %xmm2
addsd 0x10(%rsp), %xmm2
movq %r14, %rdi
movq %r15, %rsi
movb $0x3, %al
callq 0x7540
movl %r12d, %eax
movl %r13d, %ecx
movl %ebp, %r13d
movslq %ebp, %rbp
movq 0x20(%rbx), %rdx
movq 0x28(%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 0x30(%rbx), %rax
leal (%rbp,%rbp,2), %ecx
movslq %ecx, %rcx
movsd (%rax,%rcx,8), %xmm0
movsd 0x320ca(%rip), %xmm3    # 0x4f578
mulsd %xmm3, %xmm0
addsd (%rsp), %xmm0
movsd 0x8(%rax,%rcx,8), %xmm1
mulsd %xmm3, %xmm1
addsd 0x8(%rsp), %xmm1
movsd 0x10(%rax,%rcx,8), %xmm2
mulsd %xmm3, %xmm2
addsd 0x10(%rsp), %xmm2
movq %r14, %rdi
movq %r15, %rsi
movb $0x3, %al
callq 0x7540
movq 0x28(%rbx), %rax
movl (%rax,%rbp,4), %edx
xorl %eax, %eax
testl %edx, %edx
setg %cl
jle 0x1d52a
movq 0x20(%rbx), %rcx
movq (%rcx,%rbp,8), %rsi
movl (%rsi), %ebp
movb $0x1, %cl
testl %ebp, %ebp
jns 0x1d52d
cmpl $0x1, %edx
setne %cl
cmpl $0x1, %edx
je 0x1d526
movl $0x1, %eax
movl (%rsi,%rax,4), %ebp
testl %ebp, %ebp
jns 0x1d52d
incq %rax
cmpq %rdx, %rax
setb %cl
jne 0x1d514
movl %edx, %eax
jmp 0x1d52d
movl %r13d, %ebp
testb $0x1, %cl
jne 0x1d461
leaq 0x36c96(%rip), %rdi     # 0x541d3
movq %r14, %rsi
callq 0x73c0
movq 0x20(%rsp), %r13
incq %r12
movq 0x28(%rbx), %rax
movslq (%rax,%r13,4), %rax
cmpq %rax, %r12
jl 0x1d3fe
incq %r13
movslq 0x18(%rbx), %rax
cmpq %rax, %r13
jl 0x1d3d6
testl %eax, %eax
jle 0x1d5b0
movq 0x20(%rbx), %rax
movq 0x28(%rbx), %rcx
xorl %edx, %edx
cmpl $0x0, (%rcx,%rdx,4)
jle 0x1d5a4
movq (%rax,%rdx,8), %rsi
xorl %edi, %edi
movl (%rsi,%rdi,4), %r8d
testl %r8d, %r8d
jns 0x1d5bf
notl %r8d
movl %r8d, (%rsi,%rdi,4)
incq %rdi
movslq (%rcx,%rdx,4), %r8
cmpq %r8, %rdi
jl 0x1d588
incq %rdx
movslq 0x18(%rbx), %rsi
cmpq %rsi, %rdx
jl 0x1d57c
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x7b88