// File: /workspace/github_c_makefile_star2_O0/mishun[P]plantri/plantri.c
// Function: startpolyscan
static void
startpolyscan(int nbtot, int nbop)

/* This routine begins the scan for general connected planar graphs formed
   by removing edges from triangulations.  The current graph is such a
   triangulation, and the group is known (parameters nbtot,nbop).
*/

{
    EDGE *feasible[MAXE/2];
    EDGE *e,*ex;
    EDGE **nb0,**nb1;
    int i,j,nfeas;

   /* In the -m5 case, the group must be saved and restored. */

    if (minimumdeg == 5 && nbtot > 1)
    {
        nb0 = (EDGE**)numbering[0];
        nb1 = (EDGE**)saved_numbering[0];
        for (i = 0; i < nbtot; ++i, nb0 += MAXE, nb1 += MAXE)
            for (j = 0; j < ne; ++j) nb1[j] = nb0[j];
    }

    if (minpolyconnec < 3)
    {
        for (i = 0; i < nv; ++i)
        {
            for (j = 0; j < nv; ++j) am2[i][j] = 0;
            am2[i][i] = 1;
        }
    }

    nfeas = 0;
    for (i = 0; i < nv; ++i)
    {
        e = ex = firstedge[i];
        do
        {
            if (e == e->min && degree[e->start] > minpolydeg
                            && degree[e->end] > minpolydeg)
                feasible[nfeas++] = e;
	    e->left_facesize = 3;
	    am2[e->start][e->end] = 1;
            e = e->next;
        } while (e != ex);
    }

    prune_poly_edgelist(feasible,nfeas,feasible,&nfeas);

    if (minpolyconnec == 3) scanpoly_c3(nbtot,nbop,feasible,nfeas,3,0,0);
    else                    scanpoly(nbtot,nbop,feasible,nfeas,3,0,0,3);

    if (minimumdeg == 5 && nbtot > 1)
    {
        nb0 = (EDGE**)saved_numbering[0];
        nb1 = (EDGE**)numbering[0];
        for (i = 0; i < nbtot; ++i, nb0 += MAXE, nb1 += MAXE)
            for (j = 0; j < ne; ++j) nb1[j] = nb0[j];
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x620, %rsp            # imm = 0x620
movl %edi, -0x4(%rbp)
movl %esi, -0x8(%rbp)
cmpl $0x5, 0x1fe50(%rip)     # 0x3c1b8
jne 0x1c43a
cmpl $0x1, -0x4(%rbp)
jle 0x1c43a
leaq 0x21981(%rip), %rax     # 0x3dd00
movq %rax, -0x5f8(%rbp)
leaq 0x28def3(%rip), %rax    # 0x2aa280
movq %rax, -0x600(%rbp)
movl $0x0, -0x604(%rbp)
movl -0x604(%rbp), %eax
cmpl -0x4(%rbp), %eax
jge 0x1c438
movl $0x0, -0x608(%rbp)
movl -0x608(%rbp), %eax
cmpl 0x23e261(%rip), %eax    # 0x25a624
jge 0x1c3fa
movq -0x5f8(%rbp), %rax
movslq -0x608(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
movq -0x600(%rbp), %rax
movslq -0x608(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movl -0x608(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x608(%rbp)
jmp 0x1c3b7
jmp 0x1c3fc
movl -0x604(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x604(%rbp)
movq -0x5f8(%rbp), %rax
addq $0xba0, %rax            # imm = 0xBA0
movq %rax, -0x5f8(%rbp)
movq -0x600(%rbp), %rax
addq $0xba0, %rax            # imm = 0xBA0
movq %rax, -0x600(%rbp)
jmp 0x1c39e
jmp 0x1c43a
cmpl $0x3, 0x1fd63(%rip)     # 0x3c1a4
jge 0x1c4de
movl $0x0, -0x604(%rbp)
movl -0x604(%rbp), %eax
cmpl 0x23e1c3(%rip), %eax    # 0x25a620
jge 0x1c4dc
movl $0x0, -0x608(%rbp)
movl -0x608(%rbp), %eax
cmpl 0x23e1ab(%rip), %eax    # 0x25a620
jge 0x1c4a8
movslq -0x604(%rbp), %rcx
leaq 0x2848cb(%rip), %rax    # 0x2a0d50
shlq $0x6, %rcx
addq %rcx, %rax
movslq -0x608(%rbp), %rcx
movb $0x0, (%rax,%rcx)
movl -0x608(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x608(%rbp)
jmp 0x1c469
movslq -0x604(%rbp), %rcx
leaq 0x28489a(%rip), %rax    # 0x2a0d50
shlq $0x6, %rcx
addq %rcx, %rax
movslq -0x604(%rbp), %rcx
movb $0x1, (%rax,%rcx)
movl -0x604(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x604(%rbp)
jmp 0x1c451
jmp 0x1c4de
movl $0x0, -0x60c(%rbp)
movl $0x0, -0x604(%rbp)
movl -0x604(%rbp), %eax
cmpl 0x23e122(%rip), %eax    # 0x25a620
jge 0x1c604
movslq -0x604(%rbp), %rcx
leaq 0x214ee(%rip), %rax     # 0x3da00
movq (%rax,%rcx,8), %rax
movq %rax, -0x5f0(%rbp)
movq %rax, -0x5e8(%rbp)
movq -0x5e8(%rbp), %rax
movq -0x5e8(%rbp), %rcx
cmpq 0x28(%rcx), %rax
jne 0x1c593
movq -0x5e8(%rbp), %rax
movslq (%rax), %rcx
leaq 0x216b7(%rip), %rax     # 0x3dc00
movl (%rax,%rcx,4), %eax
cmpl 0x1fc4e(%rip), %eax     # 0x3c1a0
jle 0x1c593
movq -0x5e8(%rbp), %rax
movslq 0x4(%rax), %rcx
leaq 0x2169a(%rip), %rax     # 0x3dc00
movl (%rax,%rcx,4), %eax
cmpl 0x1fc31(%rip), %eax     # 0x3c1a0
jle 0x1c593
movq -0x5e8(%rbp), %rcx
movl -0x60c(%rbp), %eax
movl %eax, %edx
addl $0x1, %edx
movl %edx, -0x60c(%rbp)
cltq
movq %rcx, -0x5e0(%rbp,%rax,8)
movq -0x5e8(%rbp), %rax
movl $0x3, 0x38(%rax)
movq -0x5e8(%rbp), %rax
movslq (%rax), %rcx
leaq 0x28479e(%rip), %rax    # 0x2a0d50
shlq $0x6, %rcx
addq %rcx, %rax
movq -0x5e8(%rbp), %rcx
movslq 0x4(%rcx), %rcx
movb $0x1, (%rax,%rcx)
movq -0x5e8(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0x5e8(%rbp)
movq -0x5e8(%rbp), %rax
cmpq -0x5f0(%rbp), %rax
jne 0x1c524
jmp 0x1c5f0
movl -0x604(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x604(%rbp)
jmp 0x1c4f2
leaq -0x5e0(%rbp), %rdi
movl -0x60c(%rbp), %esi
leaq -0x5e0(%rbp), %rdx
leaq -0x60c(%rbp), %rcx
callq 0x20220
cmpl $0x3, 0x1fb79(%rip)     # 0x3c1a4
jne 0x1c657
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
leaq -0x5e0(%rbp), %rdx
movl -0x60c(%rbp), %ecx
movl $0x3, %r8d
xorl %r9d, %r9d
movl $0x0, (%rsp)
callq 0x202f0
jmp 0x1c687
movl -0x4(%rbp), %edi
movl -0x8(%rbp), %esi
leaq -0x5e0(%rbp), %rdx
movl -0x60c(%rbp), %ecx
movl $0x3, %r8d
xorl %r9d, %r9d
movl $0x0, (%rsp)
movl $0x3, 0x8(%rsp)
callq 0x206f0
cmpl $0x5, 0x1fb2a(%rip)     # 0x3c1b8
jne 0x1c760
cmpl $0x1, -0x4(%rbp)
jle 0x1c760
leaq 0x28dbdb(%rip), %rax    # 0x2aa280
movq %rax, -0x5f8(%rbp)
leaq 0x2164d(%rip), %rax     # 0x3dd00
movq %rax, -0x600(%rbp)
movl $0x0, -0x604(%rbp)
movl -0x604(%rbp), %eax
cmpl -0x4(%rbp), %eax
jge 0x1c75e
movl $0x0, -0x608(%rbp)
movl -0x608(%rbp), %eax
cmpl 0x23df3b(%rip), %eax    # 0x25a624
jge 0x1c720
movq -0x5f8(%rbp), %rax
movslq -0x608(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
movq -0x600(%rbp), %rax
movslq -0x608(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movl -0x608(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x608(%rbp)
jmp 0x1c6dd
jmp 0x1c722
movl -0x604(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x604(%rbp)
movq -0x5f8(%rbp), %rax
addq $0xba0, %rax            # imm = 0xBA0
movq %rax, -0x5f8(%rbp)
movq -0x600(%rbp), %rax
addq $0xba0, %rax            # imm = 0xBA0
movq %rax, -0x600(%rbp)
jmp 0x1c6c4
jmp 0x1c760
addq $0x620, %rsp            # imm = 0x620
popq %rbp
retq
nopl (%rax)