// File: /workspace/github_c_makefile_star2_O1/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 %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
cmpl $0x0, 0x2080d(%rip)     # 0x261b8
jg 0x59b7
movl $0x3, 0x20801(%rip)     # 0x261b8
cmpl $0x0, 0x206f2(%rip)     # 0x260b0
jg 0x59cc
movl 0x207f2(%rip), %eax     # 0x261b8
movl %eax, 0x206e4(%rip)     # 0x260b0
movl 0x2089e(%rip), %eax     # 0x26270
addl $-0x41, %eax
cmpl $-0x3f, %eax
jbe 0x5e50
movl 0x206cc(%rip), %eax     # 0x260b0
leal -0x4(%rax), %ecx
cmpl $-0x4, %ecx
jbe 0x5e55
movl 0x207c2(%rip), %ecx     # 0x261b8
leal -0x4(%rcx), %edx
cmpl $-0x4, %edx
jbe 0x5e5a
cmpl $0x0, 0x20853(%rip)     # 0x2625c
jns 0x5e64
cmpl $0x0, 0x2084e(%rip)     # 0x26264
jns 0x5e69
cmpl $0x3, %ecx
jne 0x5a33
cmpl $0x3, %eax
jne 0x5a33
testb $0x1, 0x2068b(%rip)     # 0x260b8
jne 0x5e5f
cmpb $0x1, 0x20812(%rip)     # 0x2624c
jne 0x5a59
movabsq $0x73687061726720, %rax # imm = 0x73687061726720
movq %rax, 0x207a8(%rip)     # 0x261f5
movabsq $0x7267206369627563, %rax # imm = 0x7267206369627563
jmp 0x5a74
movabsq $0x736e6f6974616c, %rax # imm = 0x736E6F6974616C
movq %rax, 0x2078d(%rip)     # 0x261f7
movabsq $0x6c75676e61697274, %rax # imm = 0x6C75676E61697274
movq %rax, 0x20775(%rip)     # 0x261f0
callq 0x5e7f
movl 0x2062a(%rip), %eax     # 0x260b0
cmpl $0x3, %eax
setl %cl
orb 0x207b2(%rip), %cl      # 0x26244
movzbl %cl, %edx
andl $0x1, %edx
movl 0x207d2(%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, 0x21f23(%rip)     # 0x279e0
leal -0x1(%rcx), %edx
movzbl 0x20791(%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, 0x20780(%rip)     # 0x2626c
cmovnel %edi, %edx
movl %edx, 0x21eef(%rip)     # 0x279e4
movl 0x2076d(%rip), %esi     # 0x26268
movl %esi, 0x28511f(%rip)    # 0x28ac20
testl %edx, %edx
sete %dl
testl %esi, %esi
setg %sil
testb %sil, %dl
je 0x5b20
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl %eax, 0x2074e(%rip)     # 0x26274
cmpl $0x4, %ecx
jl 0x5b59
callq 0x10b37
leaq 0x220b9(%rip), %rdi     # 0x27bf0
leaq 0x4(%rsp), %rbx
movq %rsp, %r14
movq %rbx, %rsi
movq %r14, %rdx
callq 0x6408
movl (%rbx), %edi
movl (%r14), %esi
callq 0x10ebc
jmp 0x5bea
cmpl $0x3, %ecx
jne 0x5bea
cmpl $0x2, %eax
jg 0x5b9e
cmpl $0x2, 0x2064a(%rip)     # 0x261b8
jg 0x5b9e
callq 0x12207
leaq 0x22074(%rip), %rdi     # 0x27bf0
leaq 0x4(%rsp), %rbx
movq %rsp, %r14
movq %rbx, %rsi
movq %r14, %rdx
callq 0x6408
movl (%rbx), %edi
movl (%r14), %esi
movl $0x2, %edx
callq 0x76f0
cmpl $0x1, 0x2050b(%rip)     # 0x260b0
jne 0x5bea
cmpl $0x1, 0x2060a(%rip)     # 0x261b8
jne 0x5bea
callq 0x12207
movq 0x21e34(%rip), %rdi     # 0x279f0
callq 0x16a28
leaq 0x22028(%rip), %rdi     # 0x27bf0
leaq 0x4(%rsp), %rbx
movq %rsp, %r14
movq %rbx, %rsi
movq %r14, %rdx
callq 0x6408
movl (%rbx), %edi
movl (%r14), %esi
movl $0x1, %edx
callq 0x76f0
cmpb $0x1, 0x205f3(%rip)     # 0x261e4
jne 0x5b11
cmpl $0x2, 0x204b2(%rip)     # 0x260b0
jg 0x5b11
testb $0x1, 0x204ad(%rip)     # 0x260b8
jne 0x5b11
movq 0x205d0(%rip), %rcx     # 0x261e8
leaq 0x1a794(%rip), %rdi     # 0x203b3
movl $0x11, %esi
movl $0x1, %edx
callq 0x10f0
movslq 0x2047b(%rip), %rbx     # 0x260b0
cmpq $0x3, %rbx
jg 0x5d12
movq %rbx, %rax
shlq $0x4, %rax
leaq 0x20483(%rip), %rcx     # 0x260d0
leaq (%rax,%rcx), %rbp
addq $0x8, %rbp
leaq 0x1a536(%rip), %r14     # 0x20192
leaq 0x1a762(%rip), %r15     # 0x203c5
leaq 0x1a767(%rip), %r12     # 0x203d1
leaq 0x1a525(%rip), %r13     # 0x20196
movslq 0x20438(%rip), %rax     # 0x260b0
cmpq %rax, %rbx
jle 0x5c8e
movq 0x20564(%rip), %rsi     # 0x261e8
movl $0x20, %edi
callq 0x1040
movq -0x8(%rbp), %rdx
movq (%rbp), %rcx
movq 0x2054b(%rip), %rdi     # 0x261e8
testq %rdx, %rdx
je 0x5cae
movq %r13, %rsi
xorl %eax, %eax
callq 0x1070
jmp 0x5cbb
movq %r14, %rsi
movq %rcx, %rdx
xorl %eax, %eax
callq 0x1070
movq 0x20526(%rip), %rcx     # 0x261e8
cmpq $0x3, %rbx
jne 0x5cdc
movl $0xb, %esi
movl $0x1, %edx
movq %r15, %rdi
callq 0x10f0
jmp 0x5ceb
movq %rcx, %rdi
movq %r12, %rsi
movl %ebx, %edx
xorl %eax, %eax
callq 0x1070
cmpq $0x3, %rbx
je 0x5d02
movq 0x204f0(%rip), %rsi     # 0x261e8
movl $0x3b, %edi
callq 0x1040
incq %rbx
addq $0x10, %rbp
cmpl $0x4, %ebx
jne 0x5c71
movq 0x204cf(%rip), %rsi     # 0x261e8
movl $0xa, %edi
callq 0x1040
cmpb $0x1, 0x204b6(%rip)     # 0x261e0
jne 0x5b11
movq 0x204b1(%rip), %rcx     # 0x261e8
leaq 0x1a69c(%rip), %rdi     # 0x203da
movl $0x17, %esi
movl $0x1, %edx
callq 0x10f0
movslq 0x2035c(%rip), %rbx     # 0x260b0
cmpq $0x3, %rbx
jg 0x5e31
movq %rbx, %rax
shlq $0x4, %rax
leaq 0x203c4(%rip), %rcx     # 0x26130
leaq (%rax,%rcx), %rbp
addq $0x8, %rbp
leaq 0x1a417(%rip), %r14     # 0x20192
leaq 0x1a643(%rip), %r15     # 0x203c5
leaq 0x1a648(%rip), %r12     # 0x203d1
leaq 0x1a406(%rip), %r13     # 0x20196
movslq 0x20319(%rip), %rax     # 0x260b0
cmpq %rax, %rbx
jle 0x5dad
movq 0x20445(%rip), %rsi     # 0x261e8
movl $0x20, %edi
callq 0x1040
movq -0x8(%rbp), %rdx
movq (%rbp), %rcx
movq 0x2042c(%rip), %rdi     # 0x261e8
testq %rdx, %rdx
je 0x5dcd
movq %r13, %rsi
xorl %eax, %eax
callq 0x1070
jmp 0x5dda
movq %r14, %rsi
movq %rcx, %rdx
xorl %eax, %eax
callq 0x1070
movq 0x20407(%rip), %rcx     # 0x261e8
cmpq $0x3, %rbx
jne 0x5dfb
movl $0xb, %esi
movl $0x1, %edx
movq %r15, %rdi
callq 0x10f0
jmp 0x5e0a
movq %rcx, %rdi
movq %r12, %rsi
movl %ebx, %edx
xorl %eax, %eax
callq 0x1070
cmpq $0x3, %rbx
je 0x5e21
movq 0x203d1(%rip), %rsi     # 0x261e8
movl $0x3b, %edi
callq 0x1040
incq %rbx
addq $0x10, %rbp
cmpl $0x4, %ebx
jne 0x5d90
movq 0x203b0(%rip), %rsi     # 0x261e8
movl $0xa, %edi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1040
callq 0x2378
callq 0x2331
callq 0x22ea
callq 0x2248
callq 0x22b4
callq 0x227e