// File: icemiliang[P]vot/src/vot/cell.cc
// Function: voro::voronoicell_base::draw_pov(double, double, double, _IO_FILE*)
void voronoicell_base::draw_pov(double x,double y,double z,FILE* fp) {
    int i,j,k;double *ptsp=pts,*pt2;
    char posbuf1[128],posbuf2[128];
    for(i=0;i<p;i++,ptsp+=3) {
        sprintf(posbuf1,"%g,%g,%g",x+*ptsp*0.5,y+ptsp[1]*0.5,z+ptsp[2]*0.5);
        fprintf(fp,"sphere{<%s>,r}\n",posbuf1);
        for(j=0;j<nu[i];j++) {
            k=ed[i][j];
            if(k<i) {
                pt2=pts+3*k;
                sprintf(posbuf2,"%g,%g,%g",x+*pt2*0.5,y+0.5*pt2[1],z+0.5*pt2[2]);
                if(strcmp(posbuf1,posbuf2)!=0) fprintf(fp,"cylinder{<%s>,<%s>,r}\n",posbuf1,posbuf2);
            }
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x160, %rsp            # imm = 0x160
movq %rdi, -0x8(%rbp)
movsd %xmm0, -0x10(%rbp)
movsd %xmm1, -0x18(%rbp)
movsd %xmm2, -0x20(%rbp)
movq %rsi, -0x28(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x158(%rbp)
movq 0x30(%rax), %rax
movq %rax, -0x40(%rbp)
movl $0x0, -0x2c(%rbp)
movq -0x158(%rbp), %rcx
movl -0x2c(%rbp), %eax
cmpl 0x18(%rcx), %eax
jge 0x45112
leaq -0xd0(%rbp), %rdi
movsd -0x10(%rbp), %xmm1
movq -0x40(%rbp), %rax
movsd (%rax), %xmm0
movsd 0x4f175(%rip), %xmm2    # 0x940e0
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd -0x18(%rbp), %xmm2
movq -0x40(%rbp), %rax
movsd 0x8(%rax), %xmm1
movsd 0x4f157(%rip), %xmm3    # 0x940e0
mulsd %xmm3, %xmm1
addsd %xmm2, %xmm1
movsd -0x20(%rbp), %xmm3
movq -0x40(%rbp), %rax
movsd 0x10(%rax), %xmm2
movsd 0x4f139(%rip), %xmm4    # 0x940e0
mulsd %xmm4, %xmm2
addsd %xmm3, %xmm2
leaq 0x4f459(%rip), %rsi     # 0x9440f
movb $0x3, %al
callq 0xa0d0
movq -0x28(%rbp), %rdi
leaq -0xd0(%rbp), %rdx
leaq 0x4f449(%rip), %rsi     # 0x94418
movb $0x0, %al
callq 0xa760
movl $0x0, -0x30(%rbp)
movq -0x158(%rbp), %rcx
movl -0x30(%rbp), %eax
movq 0x28(%rcx), %rcx
movslq -0x2c(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jge 0x450f6
movq -0x158(%rbp), %rax
movq 0x20(%rax), %rax
movslq -0x2c(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x30(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0x34(%rbp)
movl -0x34(%rbp), %eax
cmpl -0x2c(%rbp), %eax
jge 0x450e6
movq -0x158(%rbp), %rax
movq 0x30(%rax), %rax
imull $0x3, -0x34(%rbp), %ecx
movslq %ecx, %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movq %rax, -0x48(%rbp)
leaq -0x150(%rbp), %rdi
movsd -0x10(%rbp), %xmm1
movq -0x48(%rbp), %rax
movsd (%rax), %xmm0
movsd 0x4f086(%rip), %xmm2    # 0x940e0
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd -0x18(%rbp), %xmm2
movq -0x48(%rbp), %rax
movsd 0x8(%rax), %xmm1
movsd 0x4f068(%rip), %xmm3    # 0x940e0
mulsd %xmm3, %xmm1
addsd %xmm2, %xmm1
movsd -0x20(%rbp), %xmm3
movq -0x48(%rbp), %rax
movsd 0x10(%rax), %xmm2
movsd 0x4f04a(%rip), %xmm4    # 0x940e0
mulsd %xmm4, %xmm2
addsd %xmm3, %xmm2
leaq 0x4f36a(%rip), %rsi     # 0x9440f
movb $0x3, %al
callq 0xa0d0
leaq -0xd0(%rbp), %rdi
leaq -0x150(%rbp), %rsi
callq 0xa720
cmpl $0x0, %eax
je 0x450e4
movq -0x28(%rbp), %rdi
leaq -0xd0(%rbp), %rdx
leaq -0x150(%rbp), %rcx
leaq 0x4f34b(%rip), %rsi     # 0x94428
movb $0x0, %al
callq 0xa760
jmp 0x450e6
jmp 0x450e8
movl -0x30(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x30(%rbp)
jmp 0x44fdd
jmp 0x450f8
movl -0x2c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c(%rbp)
movq -0x40(%rbp), %rax
addq $0x18, %rax
movq %rax, -0x40(%rbp)
jmp 0x44f3c
addq $0x160, %rsp            # imm = 0x160
popq %rbp
retq
nopl (%rax,%rax)