// File: /workspace/github_c_makefile_star2_O3/mishun[P]plantri/plantri.c
// Function: simple_dispatch
static void
simple_dispatch(void)

/* All the cases not handled in the other dispatch routines. */
{
    int startingsize,nbtot,nbop,i,hint;

    if (minimumdeg <= 0) minimumdeg = 3;
    if (minconnec <= 0)  minconnec = minimumdeg;
    startingsize = 4;

    CHECKRANGE(maxnv,"n",3,MAXN);
    CHECKRANGE(minconnec,"-c",1,3);
    CHECKRANGE(minimumdeg,"-m",1,3);

    INCOMPAT(edgebound[0]>=0,"without -p","-e");
    INCOMPAT(maxfacesize>=0,"without -p","-f");
    INCOMPAT(minconnec == 3 && xswitch && minimumdeg == 3,"-c3","-x");
    
    if (minconnec < 3 && maxnv > 8*sizeof(long))
    {
        fprintf(stderr,">E %s: connectivity < 3 is restricted to n < %d\n",
                   cmdname,(int)(8*sizeof(long)));
        exit(1);
    }

    if (dswitch) strcpy(outtypename,"cubic graphs");
    else         strcpy(outtypename,"triangulations");

    open_output_file();

    needgroup = Gswitch || minconnec < 3;

    hint = MIN(maxnv <= 13 ? maxnv-2 : maxnv-3, 14);
    initialize_splitting(startingsize,hint,maxnv-1);
    if (splitlevel == 0 && res > 0) return;

    xconnec = minconnec;

    if (maxnv >= startingsize)
    {
        initialize_triang();
        canon(degree,numbering,&nbtot,&nbop);
    
#ifdef FAST_FILTER_SIMPLE
	if (FAST_FILTER_SIMPLE)
#endif 
        scansimple(nbtot,nbop);
    }
    else if (maxnv == 3)
    {
	if (minconnec <= 2 && minimumdeg <= 2)
	{
	    make_cycle(3);
	    canon(degree,numbering,&nbtot,&nbop);
#ifdef FAST_FILTER_SIMPLE
	if (FAST_FILTER_SIMPLE)
#endif 
	    got_one(nbtot,nbop,2);
	}
	if (minconnec == 1 && minimumdeg == 1)
        {   
            make_gyro();
            canon(degree,numbering,&nbtot,&nbop);
#ifdef FAST_FILTER_SIMPLE
	if (FAST_FILTER_SIMPLE)
#endif 
            got_one(nbtot,nbop,1);
        }
    }

#ifdef STATS
    fprintf(msgfile,"Counts by min degree: ");
    for (i = minimumdeg; i <= 5; ++i)
    {
        PRINTBIG(msgfile,nummindeg[i]);
        if (i != 5) fprintf(msgfile," ");
        else fprintf(msgfile,"\n");
    }
#endif

    if (vswitch && minconnec < 3 && !xswitch)
    {
        fprintf(msgfile,"By connectivity: ");
        for (i = minconnec; i <= 3; ++i)
        {
            if (i > minconnec) fprintf(msgfile," ");
            PRINTBIG(msgfile,nout[i]);
            if (i == 3) fprintf(msgfile," (3-5)-conn");
	    else        fprintf(msgfile," %d-conn",i);
            if (i < 3) fprintf(msgfile,";");
        }
        fprintf(msgfile,"\n");

	if (oswitch)
	{
            fprintf(msgfile,"By connectivity (O-P): ");
            for (i = minconnec; i <= 3; ++i)
            {
                if (i > minconnec) fprintf(msgfile," ");
                PRINTBIG(msgfile,nout_op[i]);
                if (i == 3) fprintf(msgfile," (3-5)-conn");
	        else        fprintf(msgfile," %d-conn",i);
                if (i < 3) fprintf(msgfile,";");
            }
            fprintf(msgfile,"\n");
	}
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movl 0x20951(%rip), %eax     # 0x261b8
testl %eax, %eax
jg 0x587a
movl $0x3, 0x20943(%rip)     # 0x261b8
movl $0x3, %eax
movl 0x20830(%rip), %ecx     # 0x260b0
testl %ecx, %ecx
jg 0x588c
movl %eax, 0x20826(%rip)     # 0x260b0
movl %eax, %ecx
movl 0x209de(%rip), %edx     # 0x26270
addl $-0x41, %edx
cmpl $-0x3f, %edx
jbe 0x5d08
leal -0x4(%rcx), %edx
cmpl $-0x4, %edx
jbe 0x5d0d
leal -0x4(%rax), %edx
cmpl $-0x4, %edx
jbe 0x5d12
cmpl $0x0, 0x2099f(%rip)     # 0x2625c
jns 0x5d1c
cmpl $0x0, 0x2099a(%rip)     # 0x26264
jns 0x5d21
cmpl $0x3, %eax
jne 0x58e7
cmpl $0x3, %ecx
jne 0x58e7
testb $0x1, 0x207d7(%rip)     # 0x260b8
jne 0x5d17
cmpb $0x1, 0x2095e(%rip)     # 0x2624c
jne 0x590d
movabsq $0x73687061726720, %rax # imm = 0x73687061726720
movq %rax, 0x208f4(%rip)     # 0x261f5
movabsq $0x7267206369627563, %rax # imm = 0x7267206369627563
jmp 0x5928
movabsq $0x736e6f6974616c, %rax # imm = 0x736E6F6974616C
movq %rax, 0x208d9(%rip)     # 0x261f7
movabsq $0x6c75676e61697274, %rax # imm = 0x6C75676E61697274
movq %rax, 0x208c1(%rip)     # 0x261f0
callq 0x5d37
movl 0x20776(%rip), %eax     # 0x260b0
cmpl $0x3, %eax
setl %cl
orb 0x208fe(%rip), %cl      # 0x26244
movzbl %cl, %edx
andl $0x1, %edx
movl 0x2091e(%rip), %ecx     # 0x26270
xorl %esi, %esi
cmpl $0xe, %ecx
setl %sil
addl %ecx, %esi
addl $-0x3, %esi
cmpl $0xe, %esi
movl $0xe, %edi
cmovll %esi, %edi
movl %edx, 0x2206f(%rip)     # 0x279e0
leal -0x1(%rcx), %edx
movzbl 0x208dd(%rip), %esi     # 0x26258
addl %edi, %esi
cmpl %edx, %esi
cmovgel %edx, %esi
leal -0x1(%rsi), %edx
xorl %edi, %edi
cmpl $0x5, %ecx
setge %dil
shll $0x2, %edi
cmpl $0x3, %edx
cmovael %esi, %edi
xorl %edx, %edx
cmpl $0x1, 0x208cc(%rip)     # 0x2626c
cmovnel %edi, %edx
movl %edx, 0x2203b(%rip)     # 0x279e4
movl 0x208b9(%rip), %esi     # 0x26268
movl %esi, 0x28526b(%rip)    # 0x28ac20
testl %edx, %edx
sete %dl
testl %esi, %esi
setg %sil
testb %sil, %dl
je 0x59d3
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movl %eax, 0x2089b(%rip)     # 0x26274
cmpl $0x4, %ecx
jl 0x5a0e
callq 0x10c40
leaq 0x22206(%rip), %rdi     # 0x27bf0
leaq 0xc(%rsp), %rbx
leaq 0x8(%rsp), %r14
movq %rbx, %rsi
movq %r14, %rdx
callq 0x62d6
movl (%rbx), %edi
movl (%r14), %esi
callq 0x10f97
jmp 0x5ab5
cmpl $0x3, %ecx
jne 0x5ab5
cmpl $0x3, %eax
setl %dl
movl 0x20795(%rip), %ecx     # 0x261b8
cmpl $0x3, %ecx
setl %sil
andb %dl, %sil
cmpb $0x1, %sil
jne 0x5a6f
callq 0x1230a
leaq 0x221b1(%rip), %rdi     # 0x27bf0
leaq 0xc(%rsp), %rbx
leaq 0x8(%rsp), %r14
movq %rbx, %rsi
movq %r14, %rdx
callq 0x62d6
movl (%rbx), %edi
movl (%r14), %esi
movl $0x2, %edx
callq 0x761c
movl 0x20647(%rip), %eax     # 0x260b0
movl 0x20749(%rip), %ecx     # 0x261b8
cmpl $0x1, %eax
jne 0x5ab5
cmpl $0x1, %ecx
jne 0x5ab5
callq 0x1230a
movq 0x21f6b(%rip), %rdi     # 0x279f0
callq 0x16b44
leaq 0x2215f(%rip), %rdi     # 0x27bf0
leaq 0xc(%rsp), %rbx
leaq 0x8(%rsp), %r14
movq %rbx, %rsi
movq %r14, %rdx
callq 0x62d6
movl (%rbx), %edi
movl (%r14), %esi
movl $0x1, %edx
callq 0x761c
cmpb $0x1, 0x20728(%rip)     # 0x261e4
jne 0x59c5
cmpl $0x2, 0x205e7(%rip)     # 0x260b0
jg 0x59c5
testb $0x1, 0x205e2(%rip)     # 0x260b8
jne 0x59c5
movq 0x20705(%rip), %rcx     # 0x261e8
leaq 0x1a918(%rip), %rdi     # 0x20402
movl $0x11, %esi
movl $0x1, %edx
callq 0x10e0
movslq 0x205b0(%rip), %rbx     # 0x260b0
cmpq $0x3, %rbx
jg 0x5bd4
movq %rbx, %rax
shlq $0x4, %rax
leaq 0x205b8(%rip), %rcx     # 0x260d0
leaq (%rax,%rcx), %r13
addq $0x8, %r13
leaq 0x1a6c1(%rip), %r14     # 0x201e8
leaq 0x1a8f2(%rip), %r15     # 0x20420
leaq 0x1a6b7(%rip), %r12     # 0x201ec
movslq 0x20574(%rip), %rax     # 0x260b0
cmpq %rax, %rbx
jle 0x5b52
movq 0x206a0(%rip), %rsi     # 0x261e8
movl $0x20, %edi
callq 0x1040
movq -0x8(%r13), %rdx
movq (%r13), %rcx
movq 0x20687(%rip), %rdi     # 0x261e8
testq %rdx, %rdx
je 0x5b72
movq %r12, %rsi
xorl %eax, %eax
callq 0x1060
jmp 0x5b7f
movq %r14, %rsi
movq %rcx, %rdx
xorl %eax, %eax
callq 0x1060
movq 0x20662(%rip), %rcx     # 0x261e8
cmpq $0x3, %rbx
je 0x5bbe
movq %rcx, %rdi
movq %r15, %rsi
movl %ebx, %edx
xorl %eax, %eax
callq 0x1060
movq 0x20646(%rip), %rsi     # 0x261e8
movl $0x3b, %edi
callq 0x1040
incq %rbx
addq $0x10, %r13
cmpl $0x4, %ebx
jne 0x5b35
jmp 0x5bd4
leaq 0x1a84f(%rip), %rdi     # 0x20414
movl $0xb, %esi
movl $0x1, %edx
callq 0x10e0
movq 0x2060d(%rip), %rsi     # 0x261e8
movl $0xa, %edi
callq 0x1040
cmpb $0x1, 0x205f4(%rip)     # 0x261e0
jne 0x59c5
movq 0x205ef(%rip), %rcx     # 0x261e8
leaq 0x1a829(%rip), %rdi     # 0x20429
movl $0x17, %esi
movl $0x1, %edx
callq 0x10e0
movslq 0x2049a(%rip), %rbx     # 0x260b0
cmpq $0x3, %rbx
jg 0x5cea
movq %rbx, %rax
shlq $0x4, %rax
leaq 0x20502(%rip), %rcx     # 0x26130
leaq (%rax,%rcx), %r13
addq $0x8, %r13
leaq 0x1a5ab(%rip), %r14     # 0x201e8
leaq 0x1a7dc(%rip), %r15     # 0x20420
leaq 0x1a5a1(%rip), %r12     # 0x201ec
movslq 0x2045e(%rip), %rax     # 0x260b0
cmpq %rax, %rbx
jle 0x5c68
movq 0x2058a(%rip), %rsi     # 0x261e8
movl $0x20, %edi
callq 0x1040
movq -0x8(%r13), %rdx
movq (%r13), %rcx
movq 0x20571(%rip), %rdi     # 0x261e8
testq %rdx, %rdx
je 0x5c88
movq %r12, %rsi
xorl %eax, %eax
callq 0x1060
jmp 0x5c95
movq %r14, %rsi
movq %rcx, %rdx
xorl %eax, %eax
callq 0x1060
movq 0x2054c(%rip), %rcx     # 0x261e8
cmpq $0x3, %rbx
je 0x5cd4
movq %rcx, %rdi
movq %r15, %rsi
movl %ebx, %edx
xorl %eax, %eax
callq 0x1060
movq 0x20530(%rip), %rsi     # 0x261e8
movl $0x3b, %edi
callq 0x1040
incq %rbx
addq $0x10, %r13
cmpl $0x4, %ebx
jne 0x5c4b
jmp 0x5cea
leaq 0x1a739(%rip), %rdi     # 0x20414
movl $0xb, %esi
movl $0x1, %edx
callq 0x10e0
movq 0x204f7(%rip), %rsi     # 0x261e8
movl $0xa, %edi
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x1040
callq 0x22fc
callq 0x22b5
callq 0x226e
callq 0x21cc
callq 0x2238
callq 0x2202