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

/* The code for adding ordinary loops using a grey code.
   As this procedure is entered, nv,ne,degree etc are set for some graph,
   and nbtot/nbop are the values returned by canon() for that graph.
   numdoubles is the number of undirected edges with a parallel mate.
   There are no loops when this is called. */
{
    register int i,j;
    int xnbtot,xnbop,nloopmakers,nloops;
    EDGE *loopmaker[2*MAXN],*loop[2*MAXN],**nb0,**nb1,*e1;
    int isloop[2*MAXN],partner[2*MAXN],numpseudo,pj;
    long x,xlim,w;

/*  Meaning of isloop[i]:
 *  0 = not a loop, possibly available for switching
 *  1 = a pseudo-loop: not a loop but unavailable for switching
 *  2 = a real loop, available for unswitching
 *  numpseudo = number of pseudo-loops at the moment.
 */

    got_one(nbtot,nbop,2 + (numdoubles==0));

    // fprintf(stderr,"Check this part of the code -- changed by me:\n");
    if ((numdoubles<2) || 
	((minimumdeg>=3) && (numdoubles<4))) return;

    // was: if (numdoubles < 4) return;

#ifdef PRE_FILTER_ORDLOOP
    if (!(PRE_FILTER_ORDLOOP)) return;
#endif

    find_loopmakers(doubles,numdoubles,loopmaker,&nloopmakers);
    if (nloopmakers == 0) return;

    for (i = 0; i < nloopmakers; ++i) isloop[i] = 0;
    numpseudo = 0;


    if (nbtot == 1)    /* Case of trivial group */
    {
	for (i = 0; i < nloopmakers; ++i) loopmaker[i]->index = i;
	for (i = 0; i < nloopmakers; ++i)
	{
	    if (degree[loopmaker[i]->start] == 2)
		partner[i] = loopmaker[i]->next->min->index;
	    else if (degree[loopmaker[i]->end] == 2)
                partner[i] = loopmaker[i]->invers->next->min->index;
	    else
		partner[i] = -1;
	}

        xlim = 1 << nloopmakers;
        for (x = 1; x < xlim; ++x)
        {
            for (j = 0, w = x; (w & 1) == 0; ++j, w >>= 1) {}
            // if (isloop[j]) switch_edge_back(loopmaker[j]);
            // else           switch_edge(loopmaker[j]);
            // isloop[j] = !isloop[j];
	    if (isloop[j] == 0)
		if (degree[loopmaker[j]->start] == 1
                              || degree[loopmaker[j]->end] == 1)
		{
		    isloop[j] = 1;
		    ++numpseudo;
		}
		else
		{
		    switch_edge(loopmaker[j]); 
		    isloop[j] = 2;
		}
	    else if (isloop[j] == 1)
	    {
		--numpseudo;
		isloop[j] = 0;
	    }
	    else  /* isloop[j] = 2 */
	    {
		switch_edge_back(loopmaker[j]); 
		isloop[j] = 0;
		pj = partner[j];
		if (pj >= 0 && isloop[pj] == 1)
		{
		    e1 = loopmaker[pj];
		    if (degree[e1->start] > 1 && degree[e1->end] > 1)
		    {
			switch_edge(e1);
			isloop[pj] = 2;
			--numpseudo;
		    }
		}
	    }

	    if (numpseudo > 0) continue;
            for (j = 0; j < nv; ++j) if (degree[j] < minimumdeg) break;
            if (j < nv) continue;
    
            for (i = nloops = 0; i < nloopmakers; ++i)
                if (isloop[i]) loop[nloops++] = loopmaker[i];

	    if (tswitch)
		scanspecialloops(loop,nloops,1,1);	
	    else
	    {
                for (j = 0; j < nloops; ++j)
                {
                   if (loop[j]->next->next->next->invers == loop[j]
                         || loop[j]->prev->prev->prev->invers == loop[j])
                       break;
                }
                if (j == nloops) scanspecialloops(loop,nloops,1,1);
	    }
        }
        if (isloop[nloopmakers-1] == 2)
            switch_edge_back(loopmaker[nloopmakers-1]);
    }
    else   /* Case of non-trivial group */
    {
        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];

        sortedges(loopmaker,nloopmakers);
	for (i = 0; i < nloopmakers; ++i) loopmaker[i]->index = i;
	for (i = 0; i < nloopmakers; ++i)
	{
	    if (degree[loopmaker[i]->start] == 2)
		partner[i] = loopmaker[i]->next->min->index;
	    else if (degree[loopmaker[i]->end] == 2)
                partner[i] = loopmaker[i]->invers->next->min->index;
	    else
		partner[i] = -1;
	}

        xlim = 1 << nloopmakers;
        for (x = 1; x < xlim; ++x)
        {
            for (j = 0, w = x; (w & 1) == 0; ++j, w >>= 1) {}
            // if (isloop[j]) switch_edge_back(loopmaker[j]);
            // else           switch_edge(loopmaker[j]);
            // isloop[j] = !isloop[j];
            if (isloop[j] == 0)
                if (degree[loopmaker[j]->start] == 1                                                     
		       || degree[loopmaker[j]->end] == 1)
                {   
                    isloop[j] = 1;
                    ++numpseudo;
                }
                else
                {   
                    switch_edge(loopmaker[j]);
                    isloop[j] = 2;
                }  
            else if (isloop[j] == 1)
            {   
                --numpseudo;
                isloop[j] = 0;
            }
            else  /* isloop[j] = 2 */
            {   
                switch_edge_back(loopmaker[j]);
                isloop[j] = 0;
		pj = partner[j];
		if (pj >= 0 && isloop[pj] == 1)
		{
		    e1 = loopmaker[pj];
		    if (degree[e1->start] > 1 && degree[e1->end] > 1)
		    {
			switch_edge(e1);
			isloop[pj] = 2;
			--numpseudo;
		    }
		}
            }

	    if (numpseudo > 0) continue;

            for (i = nloops = 0; i < nloopmakers; ++i)
                if (isloop[i] == 2) loop[nloops++] = loopmaker[i];
            if (isminset(loop,nloops,nbtot,nbop,
			 saved_numbering,numbering,&xnbtot,&xnbop))
            {
                for (j = 0; j < nv; ++j) if (degree[j] < minimumdeg) break;
                if (j < nv) continue;

		if (tswitch)
		    scanspecialloops(loop,nloops,xnbtot,xnbop);
		else
		{
                    for (j = 0; j < nloops; ++j)
                    {
                        if (loop[j]->next->next->next->invers == loop[j]
                              || loop[j]->prev->prev->prev->invers == loop[j])
                            break;
                    }
                    if (j == nloops) scanspecialloops(loop,nloops,xnbtot,xnbop);
		}
            }
        }
        if (isloop[nloopmakers-1] == 2) switch_edge_back(loopmaker[nloopmakers-1]);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2388, %rsp           # imm = 0x2388
movl %edx, %r15d
movl %esi, %ebp
movl %edi, %r14d
xorl %edx, %edx
cmpl $0x1, %r15d
adcl $0x2, %edx
callq 0x658a
cmpl $0x2, %r15d
jl 0x1a2a6
movl 0xa721(%rip), %eax      # 0x241a8
cmpl $0x3, %eax
setge %cl
cmpl $0x4, %r15d
setb %dl
testb %cl, %dl
jne 0x1a2a6
movl 0xa5da(%rip), %edx      # 0x2407c
leal 0x2(%rdx), %ecx
movl %ecx, 0xa5d1(%rip)      # 0x2407c
cmpl $0x752f, %edx           # imm = 0x752F
jl 0x19add
movl $0x2, 0xa5bf(%rip)      # 0x2407c
pushq $0x30
popq %rdx
pushq $0x2
popq %rcx
leaq 0x228b46(%rip), %rsi    # 0x242610
cmpq $0x46630, %rdx          # imm = 0x46630
je 0x19add
andl $0x0, (%rdx,%rsi)
addq $0x40, %rdx
jmp 0x19aca
movl %r15d, %edx
shlq $0x3, %rdx
xorl %edi, %edi
leaq 0x495373(%rip), %rsi    # 0x4aee60
cmpq %rdi, %rdx
je 0x19b08
movq (%rdi,%rsi), %r8
movl %ecx, 0x30(%r8)
movq 0x20(%r8), %r8
movl %ecx, 0x30(%r8)
addq $0x8, %rdi
jmp 0x19aed
xorl %ebx, %ebx
cmpl $0x4, %r15d
jl 0x19bc1
leal 0x1(%rcx), %edi
xorl %r8d, %r8d
xorl %ebx, %ebx
cmpq %r8, %rdx
je 0x19bc1
movq (%r8,%rsi), %r11
movq 0x18(%r11), %r10
movq 0x20(%r11), %r9
cmpl %ecx, 0x30(%r10)
jne 0x19b76
movq 0x10(%r9), %r10
cmpl %ecx, 0x30(%r10)
jg 0x19b76
movq %rbx, %r15
movl (%r11), %r11d
movq 0x10(%r10), %rbx
cmpl 0x4(%rbx), %r11d
jne 0x19b73
movl %edi, 0x30(%r10)
movq 0x20(%r10), %r11
movl %edi, 0x30(%r11)
movq 0x28(%r10), %r10
movq %r15, %rbx
movslq %ebx, %rbx
movq %r10, 0x240(%rsp,%rbx,8)
incl %ebx
jmp 0x19b76
movq %r15, %rbx
movq 0x18(%r9), %r10
cmpl %ecx, 0x30(%r10)
jne 0x19bb8
movq 0x20(%r9), %r10
movq 0x10(%r10), %r10
cmpl %ecx, 0x30(%r10)
jg 0x19bb8
movl (%r9), %r9d
movq 0x10(%r10), %r11
cmpl 0x4(%r11), %r9d
jne 0x19bb8
movl %edi, 0x30(%r10)
movq 0x20(%r10), %r9
movl %edi, 0x30(%r9)
movq 0x28(%r10), %r9
movslq %ebx, %rbx
movq %r9, 0x240(%rsp,%rbx,8)
incl %ebx
addq $0x8, %r8
jmp 0x19b1c
cmpl $0x1, %eax
jne 0x19c1f
movl 0x228a34(%rip), %eax    # 0x242600
xorl %ecx, %ecx
testl %eax, %eax
cmovlel %ecx, %eax
shlq $0x2, %rax
leaq 0xbe02(%rip), %rdx      # 0x259e0
leaq 0xbffb(%rip), %rsi      # 0x25be0
cmpq %rcx, %rax
je 0x19c1f
cmpl $0x2, (%rcx,%rsi)
jne 0x19c15
movq (%rdx), %rdi
movq 0x28(%rdi), %r8
movslq %ebx, %rbx
movq %r8, 0x240(%rsp,%rbx,8)
movq 0x18(%rdi), %rdi
movq 0x28(%rdi), %rdi
movq %rdi, 0x248(%rsp,%rbx,8)
addl $0x2, %ebx
addq $0x8, %rdx
addq $0x4, %rcx
jmp 0x19be5
testl %ebx, %ebx
je 0x1a2a6
xorl %eax, %eax
testl %ebx, %ebx
movl $0x0, %r15d
cmovgl %ebx, %r15d
cmpq %rax, %r15
je 0x19c44
andl $0x0, 0x40(%rsp,%rax,4)
incq %rax
jmp 0x19c35
cmpl $0x1, %r14d
movq %r15, 0x8(%rsp)
movq %rbx, (%rsp)
jne 0x19c6a
xorl %eax, %eax
cmpq %rax, %r15
je 0x19cbd
movq 0x240(%rsp,%rax,8), %rcx
movl %eax, 0x34(%rcx)
incq %rax
jmp 0x19c55
pushq $-0x1
popq %r12
movl 0x228990(%rip), %eax    # 0x242604
xorl %ecx, %ecx
testl %eax, %eax
cmovlel %ecx, %eax
testl %r14d, %r14d
movl $0x0, %ebx
cmovgl %r14d, %ebx
leaq 0x2785d2(%rip), %rdx    # 0x292260
leaq 0xc04b(%rip), %rsi      # 0x25ce0
movl $0xba0, %edi            # imm = 0xBA0
cmpl %ebx, %ecx
je 0x19d06
xorl %r8d, %r8d
cmpq %r8, %rax
je 0x19cb3
movq (%rsi,%r8,8), %r9
movq %r9, (%rdx,%r8,8)
incq %r8
jmp 0x19ca1
incl %ecx
addq %rdi, %rsi
addq %rdi, %rdx
jmp 0x19c9a
xorl %eax, %eax
leaq 0xbf1a(%rip), %rbx      # 0x25be0
pushq $-0x1
popq %rcx
cmpq %rax, %r15
je 0x19d32
movq 0x240(%rsp,%rax,8), %rdx
movslq (%rdx), %rsi
cmpl $0x2, (%rbx,%rsi,4)
je 0x19cef
movslq 0x4(%rdx), %rsi
cmpl $0x2, (%rbx,%rsi,4)
movl %ecx, %esi
jne 0x19cfa
movq 0x20(%rdx), %rdx
movq 0x18(%rdx), %rdx
movq 0x28(%rdx), %rdx
movl 0x34(%rdx), %esi
movl %esi, 0xa40(%rsp,%rax,4)
incq %rax
jmp 0x19cc9
leaq 0x240(%rsp), %rdi
movq (%rsp), %rsi
callq 0x1a690
xorl %eax, %eax
cmpq %rax, %r15
je 0x19ed6
movq 0x240(%rsp,%rax,8), %rcx
movl %eax, 0x34(%rcx)
incq %rax
jmp 0x19d19
pushq $0x1
popq %rax
movq (%rsp), %rcx
shll %cl, %eax
movslq %eax, %r12
pushq $0x1
popq %r13
xorl %r14d, %r14d
xorl %ebp, %ebp
cmpq %r12, %r13
jge 0x1a27a
xorl %r15d, %r15d
movq %r13, %rax
testb $0x1, %al
jne 0x19d63
shrq %rax
addq $0x4, %r15
jmp 0x19d56
movl 0x40(%rsp,%r15), %eax
cmpl $0x1, %eax
je 0x19d99
testl %eax, %eax
jne 0x19da3
movq 0x240(%rsp,%r15,2), %rdi
movslq (%rdi), %rax
cmpl $0x1, (%rbx,%rax,4)
je 0x19d8c
movslq 0x4(%rdi), %rax
cmpl $0x1, (%rbx,%rax,4)
jne 0x19df8
movl $0x1, 0x40(%rsp,%r15)
incl %ebp
jmp 0x19e06
decl %ebp
andl $0x0, 0x40(%rsp,%r15)
jmp 0x19e06
movq 0x240(%rsp,%r15,2), %rdi
callq 0x15fb3
andl $0x0, 0x40(%rsp,%r15)
movslq 0xa40(%rsp,%r15), %r15
testq %r15, %r15
js 0x19e06
cmpl $0x1, 0x40(%rsp,%r15,4)
jne 0x19e06
movq 0x240(%rsp,%r15,8), %rdi
movslq (%rdi), %rax
cmpl $0x2, (%rbx,%rax,4)
jl 0x19e06
movslq 0x4(%rdi), %rax
cmpl $0x2, (%rbx,%rax,4)
jl 0x19e06
callq 0x15561
movl $0x2, 0x40(%rsp,%r15,4)
decl %ebp
jmp 0x19e06
callq 0x15561
movl $0x2, 0x40(%rsp,%r15)
testl %ebp, %ebp
movq 0x8(%rsp), %rdi
jg 0x19ece
movl 0x2287e7(%rip), %eax    # 0x242600
movl 0xa389(%rip), %ecx      # 0x241a8
testl %eax, %eax
cmovlel %r14d, %eax
shlq $0x2, %rax
xorl %edx, %edx
cmpq %rdx, %rax
je 0x19e41
leaq 0x4(%rdx), %rsi
cmpl %ecx, (%rdx,%rbx)
movq %rsi, %rdx
jge 0x19e2b
jmp 0x19ece
xorl %eax, %eax
xorl %esi, %esi
cmpq %rax, %rdi
je 0x19e6b
cmpl $0x0, 0x40(%rsp,%rax,4)
je 0x19e66
movq 0x240(%rsp,%rax,8), %rcx
movslq %esi, %rdx
incl %esi
movq %rcx, 0x640(%rsp,%rdx,8)
incq %rax
jmp 0x19e45
cmpb $0x0, 0xa232(%rip)      # 0x240a4
jne 0x19ebc
testl %esi, %esi
movl $0x0, %eax
cmovgl %esi, %eax
xorl %ecx, %ecx
cmpq %rcx, %rax
je 0x19eb8
movq 0x640(%rsp,%rcx,8), %rdx
movq 0x18(%rdx), %rdi
movq 0x18(%rdi), %rdi
movq 0x18(%rdi), %rdi
cmpq %rdx, 0x20(%rdi)
je 0x19eb6
movq 0x10(%rdx), %rdi
movq 0x10(%rdi), %rdi
movq 0x10(%rdi), %rdi
cmpq %rdx, 0x20(%rdi)
je 0x19eb6
incq %rcx
jmp 0x19e80
movl %ecx, %eax
cmpl %esi, %eax
jne 0x19ece
leaq 0x640(%rsp), %rdi
pushq $0x1
popq %rcx
movl %ecx, %edx
callq 0x1a2b8
incq %r13
jmp 0x19d47
xorl %eax, %eax
leaq 0xbd01(%rip), %rsi      # 0x25be0
cmpq %rax, %r15
je 0x19f1d
movq 0x240(%rsp,%rax,8), %rcx
movslq (%rcx), %rdx
cmpl $0x2, (%rsi,%rdx,4)
je 0x19f06
movslq 0x4(%rcx), %rdx
cmpl $0x2, (%rsi,%rdx,4)
movl %r12d, %edx
jne 0x19f11
movq 0x20(%rcx), %rcx
movq 0x18(%rcx), %rcx
movq 0x28(%rcx), %rcx
movl 0x34(%rcx), %edx
movl %edx, 0xa40(%rsp,%rax,4)
incq %rax
jmp 0x19edf
pushq $0x1
popq %rax
movq (%rsp), %rcx
shll %cl, %eax
cltq
movq %rax, 0x18(%rsp)
xorl %eax, %eax
testl %ebp, %ebp
setg %al
movl %eax, 0x10(%rsp)
movslq %r14d, %rax
movq %rax, 0x38(%rsp)
movslq %ebp, %rax
movq %rax, 0x28(%rsp)
movl %ebx, %eax
movq %rax, 0x30(%rsp)
xorl %ebp, %ebp
pushq $0x1
popq %r14
cmpq 0x18(%rsp), %r14
jge 0x1a27a
xorl %ebx, %ebx
movq %r14, %rax
testb $0x1, %al
jne 0x19f72
shrq %rax
addq $0x4, %rbx
jmp 0x19f65
movl 0x40(%rsp,%rbx), %eax
cmpl $0x1, %eax
movq %r14, 0x20(%rsp)
je 0x19fb9
testl %eax, %eax
jne 0x19fc2
movq 0x240(%rsp,%rbx,2), %rdi
movslq (%rdi), %rax
leaq 0xbc4a(%rip), %rcx      # 0x25be0
cmpl $0x1, (%rcx,%rax,4)
je 0x19fad
movslq 0x4(%rdi), %rax
leaq 0xbc39(%rip), %rcx      # 0x25be0
cmpl $0x1, (%rcx,%rax,4)
jne 0x1a01b
movl $0x1, 0x40(%rsp,%rbx)
incl %ebp
jmp 0x1a028
decl %ebp
andl $0x0, 0x40(%rsp,%rbx)
jmp 0x1a028
movq 0x240(%rsp,%rbx,2), %rdi
callq 0x15fb3
andl $0x0, 0x40(%rsp,%rbx)
movslq 0xa40(%rsp,%rbx), %rbx
testq %rbx, %rbx
js 0x1a028
cmpl $0x1, 0x40(%rsp,%rbx,4)
jne 0x1a028
movq 0x240(%rsp,%rbx,8), %rdi
movslq (%rdi), %rax
leaq 0xbbe6(%rip), %rcx      # 0x25be0
cmpl $0x2, (%rcx,%rax,4)
jl 0x1a028
movslq 0x4(%rdi), %rax
cmpl $0x2, (%rcx,%rax,4)
jl 0x1a028
callq 0x15561
movl $0x2, 0x40(%rsp,%rbx,4)
decl %ebp
jmp 0x1a028
callq 0x15561
movl $0x2, 0x40(%rsp,%rbx)
movl %ebp, 0x14(%rsp)
testl %ebp, %ebp
jle 0x1a041
movq 0x20(%rsp), %r14
incq %r14
movl 0x14(%rsp), %ebp
jmp 0x19f55
xorl %eax, %eax
xorl %ebp, %ebp
cmpq %rax, %r15
je 0x1a06b
cmpl $0x2, 0x40(%rsp,%rax,4)
jne 0x1a066
movq 0x240(%rsp,%rax,8), %rcx
movslq %ebp, %rdx
incl %ebp
movq %rcx, 0x640(%rsp,%rdx,8)
incq %rax
jmp 0x1a045
movl $0x1, 0x17e0(%rsp)
movl 0x228588(%rip), %ebx    # 0x242604
testl %ebx, %ebx
movl $0x0, %eax
cmovlel %eax, %ebx
leaq 0x2781d3(%rip), %rax    # 0x292260
xorl %ecx, %ecx
cmpq %rcx, %rbx
je 0x1a0a3
movq (%rax), %rdx
movl %ecx, 0x34(%rdx)
incq %rcx
addq $0x8, %rax
jmp 0x1a08f
testl %ebp, %ebp
movl $0x0, %r14d
cmovgl %ebp, %r14d
movl 0x10(%rsp), %r12d
pushq $0x1
popq %r13
pushq $0x1
popq %r15
cmpq 0x38(%rsp), %r15
jge 0x1a173
imulq $0xba0, %r15, %rax      # imm = 0xBA0
leaq 0x27818b(%rip), %rcx    # 0x292260
addq %rcx, %rax
xorl %ecx, %ecx
cmpq %rcx, %r14
je 0x1a100
movq 0x640(%rsp,%rcx,8), %rdx
movslq 0x34(%rdx), %rdx
movq (%rax,%rdx,8), %rdx
movq 0x28(%rdx), %rdx
movq %rdx, 0xc40(%rsp,%rcx,8)
incq %rcx
jmp 0x1a0da
leaq 0xc40(%rsp), %rdi
movl %ebp, %esi
callq 0x1a690
xorl %eax, %eax
cmpq %rax, %r14
je 0x1a12d
movq 0xc40(%rsp,%rax,8), %rcx
cmpq 0x640(%rsp,%rax,8), %rcx
jne 0x1a130
incq %rax
jmp 0x1a111
movl %r14d, %eax
cmpl %ebp, %eax
jne 0x1a149
xorl %eax, %eax
cmpq 0x28(%rsp), %r15
setl %al
addl %eax, %r12d
incl %r13d
pushq $0x1
popq %rax
jmp 0x1a163
movl %eax, %ecx
movq 0xc40(%rsp,%rcx,8), %rdx
xorl %eax, %eax
cmpq 0x640(%rsp,%rcx,8), %rdx
jb 0x1a24a
movl %eax, 0x17e0(%rsp,%r15,4)
incq %r15
jmp 0x1a0bc
cmpl $0x2, %r13d
movq 0x8(%rsp), %r15
jl 0x1a1d0
xorl %eax, %eax
leaq 0x2780d9(%rip), %rcx    # 0x292260
xorl %edx, %edx
cmpq 0x30(%rsp), %rax
je 0x1a1d0
cmpl $0x0, 0x17e0(%rsp,%rax,4)
je 0x1a1c4
movslq %edx, %rsi
imulq $0xba0, %rsi, %rsi      # imm = 0xBA0
leaq 0xbb35(%rip), %rdi      # 0x25ce0
addq %rdi, %rsi
xorl %edi, %edi
cmpq %rdi, %rbx
je 0x1a1c2
movq (%rcx,%rdi,8), %r8
movq %r8, (%rsi,%rdi,8)
incq %rdi
jmp 0x1a1b0
incl %edx
incq %rax
addq $0xba0, %rcx            # imm = 0xBA0
jmp 0x1a189
movl 0x22842a(%rip), %eax    # 0x242600
movl 0x9fcc(%rip), %ecx      # 0x241a8
testl %eax, %eax
movl $0x0, %edx
cmovlel %edx, %eax
shlq $0x2, %rax
xorl %edx, %edx
leaq 0xb9ed(%rip), %rdi      # 0x25be0
cmpq %rdx, %rax
je 0x1a209
leaq 0x4(%rdx), %rsi
cmpl %ecx, (%rdx,%rdi)
movq %rsi, %rdx
jge 0x1a1f3
jmp 0x1a030
cmpb $0x0, 0x9e94(%rip)      # 0x240a4
jne 0x1a260
xorl %eax, %eax
cmpq %rax, %r14
je 0x1a257
movq 0x640(%rsp,%rax,8), %rcx
movq 0x18(%rcx), %rdx
movq 0x18(%rdx), %rdx
movq 0x18(%rdx), %rdx
cmpq %rcx, 0x20(%rdx)
je 0x1a254
movq 0x10(%rcx), %rdx
movq 0x10(%rdx), %rdx
movq 0x10(%rdx), %rdx
cmpq %rcx, 0x20(%rdx)
je 0x1a254
incq %rax
jmp 0x1a214
movq 0x8(%rsp), %r15
jmp 0x1a030
movl %eax, %r14d
cmpl %ebp, %r14d
jne 0x1a030
leaq 0x640(%rsp), %rdi
movl %ebp, %esi
movl %r13d, %edx
movl %r12d, %ecx
callq 0x1a2b8
jmp 0x1a030
movslq (%rsp), %rax
cmpl $0x2, 0x3c(%rsp,%rax,4)
jne 0x1a2a6
decq %rax
movq 0x240(%rsp,%rax,8), %rdi
addq $0x2388, %rsp           # imm = 0x2388
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x15fb3
addq $0x2388, %rsp           # imm = 0x2388
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq