// File: icemiliang[P]vot/src/vot/cell.cc
// Function: voro::voronoicell_base::copy(voro::voronoicell_base*)
void voronoicell_base::copy(voronoicell_base* vb) {
    int i,j;
    p=vb->p;up=0;
    for(i=0;i<current_vertex_order;i++) {
        mec[i]=vb->mec[i];
        for(j=0;j<mec[i]*(2*i+1);j++) mep[i][j]=vb->mep[i][j];
        for(j=0;j<mec[i]*(2*i+1);j+=2*i+1) ed[mep[i][j+2*i]]=mep[i]+j;
    }
    for(i=0;i<p;i++) nu[i]=vb->nu[i];
    for(i=0;i<3*p;i++) pts[i]=vb->pts[i];
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rcx
movl 0x18(%rcx), %ecx
movl %ecx, 0x18(%rax)
movl $0x0, 0x1c(%rax)
movl $0x0, -0x14(%rbp)
movq -0x20(%rbp), %rcx
movl -0x14(%rbp), %eax
cmpl 0xc(%rcx), %eax
jge 0x42693
movq -0x20(%rbp), %rax
movq -0x10(%rbp), %rcx
movq 0x40(%rcx), %rcx
movslq -0x14(%rbp), %rdx
movl (%rcx,%rdx,4), %edx
movq 0x40(%rax), %rax
movslq -0x14(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl $0x0, -0x18(%rbp)
movq -0x20(%rbp), %rcx
movl -0x18(%rbp), %eax
movq 0x40(%rcx), %rcx
movslq -0x14(%rbp), %rdx
movl (%rcx,%rdx,4), %ecx
movl -0x14(%rbp), %edx
shll %edx
addl $0x1, %edx
imull %edx, %ecx
cmpl %ecx, %eax
jge 0x4260b
movq -0x20(%rbp), %rax
movq -0x10(%rbp), %rcx
movq 0x48(%rcx), %rcx
movslq -0x14(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
movslq -0x18(%rbp), %rdx
movl (%rcx,%rdx,4), %edx
movq 0x48(%rax), %rax
movslq -0x14(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x18(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0x18(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x18(%rbp)
jmp 0x425b1
movl $0x0, -0x18(%rbp)
movq -0x20(%rbp), %rcx
movl -0x18(%rbp), %eax
movq 0x40(%rcx), %rcx
movslq -0x14(%rbp), %rdx
movl (%rcx,%rdx,4), %ecx
movl -0x14(%rbp), %edx
shll %edx
addl $0x1, %edx
imull %edx, %ecx
cmpl %ecx, %eax
jge 0x42683
movq -0x20(%rbp), %rcx
movq 0x48(%rcx), %rax
movslq -0x14(%rbp), %rdx
movq (%rax,%rdx,8), %rdx
movslq -0x18(%rbp), %rax
shlq $0x2, %rax
addq %rax, %rdx
movq 0x20(%rcx), %rax
movq 0x48(%rcx), %rcx
movslq -0x14(%rbp), %rsi
movq (%rcx,%rsi,8), %rcx
movl -0x18(%rbp), %esi
movl -0x14(%rbp), %edi
shll %edi
addl %edi, %esi
movslq %esi, %rsi
movslq (%rcx,%rsi,4), %rcx
movq %rdx, (%rax,%rcx,8)
movl -0x14(%rbp), %eax
shll %eax
addl $0x1, %eax
addl -0x18(%rbp), %eax
movl %eax, -0x18(%rbp)
jmp 0x42612
jmp 0x42685
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x4257c
movl $0x0, -0x14(%rbp)
movq -0x20(%rbp), %rcx
movl -0x14(%rbp), %eax
cmpl 0x18(%rcx), %eax
jge 0x426cf
movq -0x20(%rbp), %rax
movq -0x10(%rbp), %rcx
movq 0x28(%rcx), %rcx
movslq -0x14(%rbp), %rdx
movl (%rcx,%rdx,4), %edx
movq 0x28(%rax), %rax
movslq -0x14(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x4269a
movl $0x0, -0x14(%rbp)
movq -0x20(%rbp), %rcx
movl -0x14(%rbp), %eax
imull $0x3, 0x18(%rcx), %ecx
cmpl %ecx, %eax
jge 0x42712
movq -0x20(%rbp), %rax
movq -0x10(%rbp), %rcx
movq 0x30(%rcx), %rcx
movslq -0x14(%rbp), %rdx
movsd (%rcx,%rdx,8), %xmm0
movq 0x30(%rax), %rax
movslq -0x14(%rbp), %rcx
movsd %xmm0, (%rax,%rcx,8)
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x426d6
popq %rbp
retq
nopw %cs:(%rax,%rax)