// File: /workspace/github_c_makefile_star2_O0/mishun[P]plantri/plantri.c
// Function: mark_edge_orbits
static void
mark_edge_orbits(EDGE *edge[], int count, int minimal[], int nbtot)

/* edge[0..count-1] is a list of edges.  Put minimal[i] = 1 if
   edge[i] is the first appearance of its orbit, and  minimal[i] = 0
   if not.  Orbits on undirected edges are considered. */
{
    int i;
    EDGE **nb0,**nb,**nblim;
 
    if (nbtot == 1) 
        for (i = 0; i < count; ++i) minimal[i] = 1;
    else
    {
        nb0 = (EDGE**)numbering[0];
        nblim = (EDGE**)numbering[nbtot];
        for (i = 0; i < ne; ++i) nb0[i]->index = i;
 
        RESETMARKS;
    
        for (i = 0; i < count; ++i)
        {
            nb = nb0 + edge[i]->index;
            if (!ISMARKEDLO((*nb)->min))
            {
                minimal[i] = 1;
                for ( ; nb < nblim; nb += MAXE) MARKLO((*nb)->min);
            }
            else
                minimal[i] = 0;
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
cmpl $0x1, -0x1c(%rbp)
jne 0x108c6
movl $0x0, -0x20(%rbp)
movl -0x20(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0x108c1
movq -0x18(%rbp), %rax
movslq -0x20(%rbp), %rcx
movl $0x1, (%rax,%rcx,4)
movl -0x20(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x20(%rbp)
jmp 0x1089f
jmp 0x10a17
leaq 0x2d433(%rip), %rax     # 0x3dd00
movq %rax, -0x28(%rbp)
movslq -0x1c(%rbp), %rcx
leaq 0x2d424(%rip), %rax     # 0x3dd00
imulq $0xba0, %rcx, %rcx      # imm = 0xBA0
addq %rcx, %rax
movq %rax, -0x38(%rbp)
movl $0x0, -0x20(%rbp)
movl -0x20(%rbp), %eax
cmpl 0x249d2a(%rip), %eax    # 0x25a624
jge 0x10919
movl -0x20(%rbp), %ecx
movq -0x28(%rbp), %rax
movslq -0x20(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movl %ecx, 0x34(%rax)
movl -0x20(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x20(%rbp)
jmp 0x108f1
movl 0x2b765(%rip), %eax     # 0x3c084
addl $0x2, %eax
movl %eax, 0x2b75c(%rip)     # 0x3c084
cmpl $0x7530, %eax           # imm = 0x7530
jle 0x1096f
movl $0x2, 0x2b74b(%rip)     # 0x3c084
movl $0x0, -0x3c(%rbp)
cmpl $0x1198, -0x3c(%rbp)    # imm = 0x1198
jge 0x1096d
movslq -0x3c(%rbp), %rcx
leaq 0x249cdc(%rip), %rax    # 0x25a630
shlq $0x6, %rcx
addq %rcx, %rax
movl $0x0, 0x30(%rax)
movl -0x3c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x3c(%rbp)
jmp 0x10940
jmp 0x1096f
movl $0x0, -0x20(%rbp)
movl -0x20(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0x10a15
movq -0x28(%rbp), %rax
movq -0x8(%rbp), %rcx
movslq -0x20(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
movslq 0x34(%rcx), %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
movq (%rax), %rax
movq 0x28(%rax), %rax
movl 0x30(%rax), %eax
cmpl 0x2b6cf(%rip), %eax     # 0x3c084
je 0x109f6
movq -0x18(%rbp), %rax
movslq -0x20(%rbp), %rcx
movl $0x1, (%rax,%rcx,4)
movq -0x30(%rbp), %rax
cmpq -0x38(%rbp), %rax
jae 0x109f4
movl 0x2b6ae(%rip), %ecx     # 0x3c084
movq -0x30(%rbp), %rax
movq (%rax), %rax
movq 0x28(%rax), %rax
movl %ecx, 0x30(%rax)
movq -0x30(%rbp), %rax
addq $0xba0, %rax            # imm = 0xBA0
movq %rax, -0x30(%rbp)
jmp 0x109c6
jmp 0x10a05
movq -0x18(%rbp), %rax
movslq -0x20(%rbp), %rcx
movl $0x0, (%rax,%rcx,4)
jmp 0x10a07
movl -0x20(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x20(%rbp)
jmp 0x10976
jmp 0x10a17
popq %rbp
retq
nopl (%rax)