// File: /workspace/github_cpp_makefile_star2_O3/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
movq %rdi, %rbx
movl 0x18(%rdi), %eax
cmpl $0x2, %eax
jl 0x1d5d4
movq %rsi, %r13
movapd %xmm2, %xmm3
movapd %xmm1, %xmm2
movapd %xmm0, %xmm1
movq 0x28(%rbx), %rcx
movl $0x1, %ebp
movsd 0x322df(%rip), %xmm4    # 0x4f6e8
leaq 0x328ac(%rip), %r15     # 0x4fcbc
movsd %xmm3, 0x10(%rsp)
movsd %xmm2, 0x8(%rsp)
movsd %xmm0, (%rsp)
cmpl $0x0, (%rcx,%rbp,4)
jle 0x1d5c5
leaq (,%rbp,8), %rax
leaq (%rax,%rax,2), %rax
movq %rax, 0x18(%rsp)
xorl %r12d, %r12d
movq %rbp, 0x20(%rsp)
movq 0x20(%rbx), %rax
movq (%rax,%rbp,8), %rax
movl (%rax,%r12,4), %r14d
testl %r14d, %r14d
js 0x1d5b2
movq 0x30(%rbx), %rax
movq 0x18(%rsp), %rcx
movsd (%rax,%rcx), %xmm0
mulsd %xmm4, %xmm0
addsd %xmm1, %xmm0
movsd 0x8(%rax,%rcx), %xmm1
mulsd %xmm4, %xmm1
addsd %xmm2, %xmm1
movsd 0x10(%rax,%rcx), %xmm2
mulsd %xmm4, %xmm2
addsd %xmm3, %xmm2
movq %r13, %rdi
movq %r15, %rsi
movb $0x3, %al
callq 0x7550
movsd 0x32248(%rip), %xmm4    # 0x4f6e8
movsd 0x10(%rsp), %xmm3
movsd (%rsp), %xmm1
movsd 0x8(%rsp), %xmm2
movq 0x20(%rbx), %rcx
movq 0x28(%rbx), %rax
movq %r12, %rdx
movq %r13, %rdi
movl %ebp, %r13d
movl %r13d, %esi
movl %r14d, %r13d
movl %r14d, %r14d
movq (%rcx,%r14,8), %r9
movslq %esi, %r8
notl %esi
movq (%rcx,%r8,8), %rcx
movslq (%rax,%r8,4), %rax
movslq %edx, %rdx
addq %rdx, %rax
movslq (%rcx,%rax,4), %rax
movl %esi, (%r9,%rax,4)
movl %r13d, %eax
notl %eax
movl %edx, %edx
movl %eax, (%rcx,%rdx,4)
movq 0x30(%rbx), %rax
leal (%r13,%r13,2), %ecx
movsd (%rax,%rcx,8), %xmm0
mulsd %xmm4, %xmm0
addsd %xmm1, %xmm0
movsd 0x8(%rax,%rcx,8), %xmm1
mulsd %xmm4, %xmm1
addsd %xmm2, %xmm1
movsd 0x10(%rax,%rcx,8), %xmm2
mulsd %xmm4, %xmm2
addsd %xmm3, %xmm2
movq %rdi, %rbp
movq %r15, %rsi
movb $0x3, %al
callq 0x7550
movq 0x28(%rbx), %rax
movslq (%rax,%r14,4), %rsi
testq %rsi, %rsi
jle 0x1d57e
movq 0x20(%rbx), %rcx
movq (%rcx,%r14,8), %rdi
xorl %edx, %edx
movl (%rdi,%rdx,4), %r14d
testl %r14d, %r14d
jns 0x1d55d
incq %rdx
cmpq %rdx, %rsi
jne 0x1d54a
jmp 0x1d57e
movq %rbp, %rdi
movsd 0x10(%rsp), %xmm3
movsd 0x8(%rsp), %xmm2
movsd (%rsp), %xmm1
movsd 0x3216f(%rip), %xmm4    # 0x4f6e8
jmp 0x1d4c2
leaq 0x36ade(%rip), %rdi     # 0x54063
movq %rbp, %r13
movq %rbp, %rsi
callq 0x73d0
movq 0x28(%rbx), %rcx
movsd 0x10(%rsp), %xmm3
movsd 0x8(%rsp), %xmm2
movsd (%rsp), %xmm1
movsd 0x3213b(%rip), %xmm4    # 0x4f6e8
movq 0x20(%rsp), %rbp
incq %r12
movslq (%rcx,%rbp,4), %rax
cmpq %rax, %r12
jl 0x1d444
movl 0x18(%rbx), %eax
incq %rbp
movslq %eax, %rdx
cmpq %rdx, %rbp
jl 0x1d421
testl %eax, %eax
jle 0x1d618
movq 0x20(%rbx), %rcx
movq 0x28(%rbx), %rdx
xorl %esi, %esi
cmpl $0x0, (%rdx,%rsi,4)
jle 0x1d60d
movq (%rcx,%rsi,8), %rax
xorl %edi, %edi
movl (%rax,%rdi,4), %r8d
testl %r8d, %r8d
jns 0x1d627
notl %r8d
movl %r8d, (%rax,%rdi,4)
incq %rdi
movslq (%rdx,%rsi,4), %r8
cmpq %r8, %rdi
jl 0x1d5ee
movl 0x18(%rbx), %eax
incq %rsi
movslq %eax, %rdi
cmpq %rdi, %rsi
jl 0x1d5e2
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x7b96