// File: /workspace/github_c_makefile_star2_O0/mishun[P]plantri/plantri.c
// Function: find_extensions_quad_all
static void
find_extensions_quad_all(int nbtot, int nbop, EDGE *extP0[], int *nextP0,
   EDGE *extP1[], int *nextP1)

/* Determine the inequivalent places to make extensions, for general
   quadrangulations.  The results are put in the arrays
   extP0[0..*nextP0-1] and extP1[0..*nextP1-1].
   nbtot and nbop are the usual group parameters.
*/

{
    EDGE *e,*elast;
    EDGE **nb,**nb0,**nblim,**nboplim;
    int i,j,k,l,x,y;
    int deg2;
#define VCOLP0(i,j) (degree[i]<degree[j] ? \
 (degree[j]<<10)+degree[i] : (degree[i]<<10)+degree[j])

    if (degree[nv-1] == 2)
    {
	x = firstedge[nv-1]->end;
	y = firstedge[nv-1]->next->end;
    }
    else
        x = -1;

    deg2 = 0;
    for (i = nv; --i >= 0 && deg2 < 3;)
	if (degree[i] == 2) ++deg2;
    
    if (nbtot == 1)
    {
     /* P0 extension for trivial group */

        RESETMARKS;
	k = 0;
	for (l = 0; l < nv; ++l)
	{
	    e = elast = firstedge[l];
	    do
	    {
		if (!ISMARKEDLO(e))
		{
		    i = e->end;
		    j = e->next->end;
		    if (x < 0 || i == nv-1 || j == nv-1)
		        extP0[k++] = e;
		    else
		    {
	    		++degree[i]; ++degree[j];
			if (VCOLP0(i,j) >= VCOLP0(x,y)) extP0[k++] = e;
	    		--degree[i]; --degree[j];
		    }
		    MARKLO(e->next->invers->next->invers);
		}
		e = e->next;
	    } while (e != elast);
	}

	*nextP0 = k;

     /* P1 extension for trivial group */

	if (deg2 > 2)
	    *nextP1 = 0;
	else
	{
            k = 0;
	    for (i = 0; i < nv; ++i)
	    if (degree[i] >= 4)
	    {
	        e = elast = firstedge[i];
	        do
	        {
		    if ((degree[e->prev->end]==2)
					+(degree[e->next->end]==2) == deg2)
			extP1[k++] = e;
		    e = e->next;
	        } while (e != elast);
	    }
    
	    *nextP1 = k;
	}
    }
    else
    {
	nboplim = (EDGE**)numbering[nbop==0?nbtot:nbop];
        nblim = (EDGE**)numbering[nbtot];
	nb0 = (EDGE**)numbering[0];

	for (i = 0; i < ne; ++i) nb0[i]->index = i;

     /* P0 extensions for non-trivial group */

	k = 0;
	RESETMARKS;

	for (l = 0; l < ne; ++l)
	    if (!ISMARKED(nb0[l]))
	    {
		e = nb0[l];
		i = e->end;
		j = e->next->end;
		if (x < 0 || i == nv-1 || j == nv-1)
		    extP0[k++] = e;
		else
		{
		    ++degree[i]; ++degree[j];
		    if (VCOLP0(i,j) >= VCOLP0(x,y)) extP0[k++] = e;
		    --degree[i]; --degree[j];
		}
		for (nb = nb0+l+MAXE; nb < nboplim; nb += MAXE)
		    MARKLO(*nb);
                for ( ; nb < nblim; nb += MAXE)
		    MARKLO((*nb)->invers->next->invers);	
		for (nb = nb0+(nb0[l]->next->invers->next->invers->index);
			                           nb < nboplim; nb += MAXE)
		    MARKLO(*nb);
		for ( ; nb < nblim; nb += MAXE)
                    MARKLO((*nb)->invers->next->invers);
	    }

	*nextP0 = k;
	
     /* P1 extensions for non-trivial group */

	if (deg2 > 2)
	    *nextP1 = 0;
	else
	{
	    k = 0;
	    RESETMARKS;

	    for (i = 0; i < nv; ++i)
	    if (degree[i] >= 4)
	    {
	        e = elast = firstedge[i];
	        do
	        {
		    if (!ISMARKEDLO(e))
		    {
			if ((degree[e->prev->end]==2)
					+(degree[e->next->end]==2) == deg2)
		            extP1[k++] = e;
		        for (nb = nb0+e->index+MAXE; nb < nblim; nb += MAXE)
			    MARKLO(*nb);
		    }
		    e = e->next;
	        } while (e != elast);
	    }

	    *nextP1 = k;
	}
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl %edi, -0x4(%rbp)
movl %esi, -0x8(%rbp)
movq %rdx, -0x10(%rbp)
movq %rcx, -0x18(%rbp)
movq %r8, -0x20(%rbp)
movq %r9, -0x28(%rbp)
movl 0x24bfbc(%rip), %eax    # 0x25a620
subl $0x1, %eax
movslq %eax, %rcx
leaq 0x2f58f(%rip), %rax     # 0x3dc00
cmpl $0x2, (%rax,%rcx,4)
jne 0xe6b7
movl 0x24bfa3(%rip), %eax    # 0x25a620
subl $0x1, %eax
movslq %eax, %rcx
leaq 0x2f376(%rip), %rax     # 0x3da00
movq (%rax,%rcx,8), %rax
movl 0x4(%rax), %eax
movl %eax, -0x6c(%rbp)
movl 0x24bf86(%rip), %eax    # 0x25a620
subl $0x1, %eax
movslq %eax, %rcx
leaq 0x2f359(%rip), %rax     # 0x3da00
movq (%rax,%rcx,8), %rax
movq 0x18(%rax), %rax
movl 0x4(%rax), %eax
movl %eax, -0x70(%rbp)
jmp 0xe6be
movl $0xffffffff, -0x6c(%rbp) # imm = 0xFFFFFFFF
movl $0x0, -0x74(%rbp)
movl 0x24bf55(%rip), %eax    # 0x25a620
movl %eax, -0x5c(%rbp)
movl -0x5c(%rbp), %ecx
addl $-0x1, %ecx
movl %ecx, -0x5c(%rbp)
xorl %eax, %eax
cmpl $0x0, %ecx
movb %al, -0x81(%rbp)
jl 0xe6f1
cmpl $0x3, -0x74(%rbp)
setl %al
movb %al, -0x81(%rbp)
movb -0x81(%rbp), %al
testb $0x1, %al
jne 0xe6fd
jmp 0xe719
movslq -0x5c(%rbp), %rcx
leaq 0x2f4f8(%rip), %rax     # 0x3dc00
cmpl $0x2, (%rax,%rcx,4)
jne 0xe717
movl -0x74(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x74(%rbp)
jmp 0xe6ce
cmpl $0x1, -0x4(%rbp)
jne 0xead7
movl 0x2d95b(%rip), %eax     # 0x3c084
addl $0x2, %eax
movl %eax, 0x2d952(%rip)     # 0x3c084
cmpl $0x7530, %eax           # imm = 0x7530
jle 0xe779
movl $0x2, 0x2d941(%rip)     # 0x3c084
movl $0x0, -0x78(%rbp)
cmpl $0x1198, -0x78(%rbp)    # imm = 0x1198
jge 0xe777
movslq -0x78(%rbp), %rcx
leaq 0x24bed2(%rip), %rax    # 0x25a630
shlq $0x6, %rcx
addq %rcx, %rax
movl $0x0, 0x30(%rax)
movl -0x78(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x78(%rbp)
jmp 0xe74a
jmp 0xe779
movl $0x0, -0x64(%rbp)
movl $0x0, -0x68(%rbp)
movl -0x68(%rbp), %eax
cmpl 0x24be90(%rip), %eax    # 0x25a620
jge 0xe9da
movslq -0x68(%rbp), %rcx
leaq 0x2f25f(%rip), %rax     # 0x3da00
movq (%rax,%rcx,8), %rax
movq %rax, -0x38(%rbp)
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
movl 0x30(%rax), %eax
cmpl 0x2d8ca(%rip), %eax     # 0x3c084
je 0xe9b0
movq -0x30(%rbp), %rax
movl 0x4(%rax), %eax
movl %eax, -0x5c(%rbp)
movq -0x30(%rbp), %rax
movq 0x18(%rax), %rax
movl 0x4(%rax), %eax
movl %eax, -0x60(%rbp)
cmpl $0x0, -0x6c(%rbp)
jl 0xe7fe
movl -0x5c(%rbp), %eax
movl 0x24be39(%rip), %ecx    # 0x25a620
subl $0x1, %ecx
cmpl %ecx, %eax
je 0xe7fe
movl -0x60(%rbp), %eax
movl 0x24be29(%rip), %ecx    # 0x25a620
subl $0x1, %ecx
cmpl %ecx, %eax
jne 0xe81d
movq -0x30(%rbp), %rdx
movq -0x10(%rbp), %rax
movl -0x64(%rbp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x64(%rbp)
movslq %ecx, %rcx
movq %rdx, (%rax,%rcx,8)
jmp 0xe993
movslq -0x5c(%rbp), %rcx
leaq 0x2f3d8(%rip), %rax     # 0x3dc00
movl (%rax,%rcx,4), %edx
addl $0x1, %edx
leaq 0x2f3cb(%rip), %rax     # 0x3dc00
movl %edx, (%rax,%rcx,4)
movslq -0x60(%rbp), %rcx
leaq 0x2f3bd(%rip), %rax     # 0x3dc00
movl (%rax,%rcx,4), %edx
addl $0x1, %edx
leaq 0x2f3b0(%rip), %rax     # 0x3dc00
movl %edx, (%rax,%rcx,4)
movslq -0x5c(%rbp), %rcx
leaq 0x2f3a2(%rip), %rax     # 0x3dc00
movl (%rax,%rcx,4), %eax
movslq -0x60(%rbp), %rdx
leaq 0x2f394(%rip), %rcx     # 0x3dc00
cmpl (%rcx,%rdx,4), %eax
jge 0xe898
movslq -0x60(%rbp), %rcx
leaq 0x2f384(%rip), %rax     # 0x3dc00
movl (%rax,%rcx,4), %eax
shll $0xa, %eax
movslq -0x5c(%rbp), %rdx
leaq 0x2f373(%rip), %rcx     # 0x3dc00
addl (%rcx,%rdx,4), %eax
movl %eax, -0x88(%rbp)
jmp 0xe8bd
movslq -0x5c(%rbp), %rcx
leaq 0x2f35d(%rip), %rax     # 0x3dc00
movl (%rax,%rcx,4), %eax
shll $0xa, %eax
movslq -0x60(%rbp), %rdx
leaq 0x2f34c(%rip), %rcx     # 0x3dc00
addl (%rcx,%rdx,4), %eax
movl %eax, -0x88(%rbp)
movl -0x88(%rbp), %eax
movl %eax, -0x8c(%rbp)
movslq -0x6c(%rbp), %rcx
leaq 0x2f32c(%rip), %rax     # 0x3dc00
movl (%rax,%rcx,4), %eax
movslq -0x70(%rbp), %rdx
leaq 0x2f31e(%rip), %rcx     # 0x3dc00
cmpl (%rcx,%rdx,4), %eax
jge 0xe90e
movslq -0x70(%rbp), %rcx
leaq 0x2f30e(%rip), %rax     # 0x3dc00
movl (%rax,%rcx,4), %eax
shll $0xa, %eax
movslq -0x6c(%rbp), %rdx
leaq 0x2f2fd(%rip), %rcx     # 0x3dc00
addl (%rcx,%rdx,4), %eax
movl %eax, -0x90(%rbp)
jmp 0xe933
movslq -0x6c(%rbp), %rcx
leaq 0x2f2e7(%rip), %rax     # 0x3dc00
movl (%rax,%rcx,4), %eax
shll $0xa, %eax
movslq -0x70(%rbp), %rdx
leaq 0x2f2d6(%rip), %rcx     # 0x3dc00
addl (%rcx,%rdx,4), %eax
movl %eax, -0x90(%rbp)
movl -0x8c(%rbp), %eax
movl -0x90(%rbp), %ecx
cmpl %ecx, %eax
jl 0xe95d
movq -0x30(%rbp), %rdx
movq -0x10(%rbp), %rax
movl -0x64(%rbp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x64(%rbp)
movslq %ecx, %rcx
movq %rdx, (%rax,%rcx,8)
movslq -0x5c(%rbp), %rcx
leaq 0x2f298(%rip), %rax     # 0x3dc00
movl (%rax,%rcx,4), %edx
addl $-0x1, %edx
leaq 0x2f28b(%rip), %rax     # 0x3dc00
movl %edx, (%rax,%rcx,4)
movslq -0x60(%rbp), %rcx
leaq 0x2f27d(%rip), %rax     # 0x3dc00
movl (%rax,%rcx,4), %edx
addl $-0x1, %edx
leaq 0x2f270(%rip), %rax     # 0x3dc00
movl %edx, (%rax,%rcx,4)
movl 0x2d6eb(%rip), %ecx     # 0x3c084
movq -0x30(%rbp), %rax
movq 0x18(%rax), %rax
movq 0x20(%rax), %rax
movq 0x18(%rax), %rax
movq 0x20(%rax), %rax
movl %ecx, 0x30(%rax)
movq -0x30(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
cmpq -0x38(%rbp), %rax
jne 0xe7ad
jmp 0xe9cc
movl -0x68(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x68(%rbp)
jmp 0xe787
movl -0x64(%rbp), %ecx
movq -0x18(%rbp), %rax
movl %ecx, (%rax)
cmpl $0x2, -0x74(%rbp)
jle 0xe9f8
movq -0x28(%rbp), %rax
movl $0x0, (%rax)
jmp 0xead2
movl $0x0, -0x64(%rbp)
movl $0x0, -0x5c(%rbp)
movl -0x5c(%rbp), %eax
cmpl 0x24bc11(%rip), %eax    # 0x25a620
jge 0xeac9
movslq -0x5c(%rbp), %rcx
leaq 0x2f1e0(%rip), %rax     # 0x3dc00
cmpl $0x4, (%rax,%rcx,4)
jl 0xeab9
movslq -0x5c(%rbp), %rcx
leaq 0x2efcb(%rip), %rax     # 0x3da00
movq (%rax,%rcx,8), %rax
movq %rax, -0x38(%rbp)
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
movq 0x10(%rax), %rax
movslq 0x4(%rax), %rcx
leaq 0x2f1ac(%rip), %rax     # 0x3dc00
cmpl $0x2, (%rax,%rcx,4)
sete %al
andb $0x1, %al
movzbl %al, %eax
movq -0x30(%rbp), %rcx
movq 0x18(%rcx), %rcx
movslq 0x4(%rcx), %rdx
leaq 0x2f18d(%rip), %rcx     # 0x3dc00
cmpl $0x2, (%rcx,%rdx,4)
sete %cl
andb $0x1, %cl
movzbl %cl, %ecx
addl %ecx, %eax
cmpl -0x74(%rbp), %eax
jne 0xeaa1
movq -0x30(%rbp), %rdx
movq -0x20(%rbp), %rax
movl -0x64(%rbp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x64(%rbp)
movslq %ecx, %rcx
movq %rdx, (%rax,%rcx,8)
movq -0x30(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
cmpq -0x38(%rbp), %rax
jne 0xea41
jmp 0xeab9
jmp 0xeabb
movl -0x5c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x5c(%rbp)
jmp 0xea06
movl -0x64(%rbp), %ecx
movq -0x28(%rbp), %rax
movl %ecx, (%rax)
jmp 0xf0a1
cmpl $0x0, -0x8(%rbp)
jne 0xeae8
movl -0x4(%rbp), %eax
movl %eax, -0x94(%rbp)
jmp 0xeaf1
movl -0x8(%rbp), %eax
movl %eax, -0x94(%rbp)
movl -0x94(%rbp), %eax
movslq %eax, %rcx
leaq 0x2f1ff(%rip), %rax     # 0x3dd00
imulq $0xba0, %rcx, %rcx      # imm = 0xBA0
addq %rcx, %rax
movq %rax, -0x58(%rbp)
movslq -0x4(%rbp), %rcx
leaq 0x2f1e6(%rip), %rax     # 0x3dd00
imulq $0xba0, %rcx, %rcx      # imm = 0xBA0
addq %rcx, %rax
movq %rax, -0x50(%rbp)
leaq 0x2f1d1(%rip), %rax     # 0x3dd00
movq %rax, -0x48(%rbp)
movl $0x0, -0x5c(%rbp)
movl -0x5c(%rbp), %eax
cmpl 0x24bae1(%rip), %eax    # 0x25a624
jge 0xeb62
movl -0x5c(%rbp), %ecx
movq -0x48(%rbp), %rax
movslq -0x5c(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movl %ecx, 0x34(%rax)
movl -0x5c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x5c(%rbp)
jmp 0xeb3a
movl $0x0, -0x64(%rbp)
movl 0x2d515(%rip), %eax     # 0x3c084
addl $0x2, %eax
movl %eax, 0x2d50c(%rip)     # 0x3c084
cmpl $0x7530, %eax           # imm = 0x7530
jle 0xebbf
movl $0x2, 0x2d4fb(%rip)     # 0x3c084
movl $0x0, -0x7c(%rbp)
cmpl $0x1198, -0x7c(%rbp)    # imm = 0x1198
jge 0xebbd
movslq -0x7c(%rbp), %rcx
leaq 0x24ba8c(%rip), %rax    # 0x25a630
shlq $0x6, %rcx
addq %rcx, %rax
movl $0x0, 0x30(%rax)
movl -0x7c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x7c(%rbp)
jmp 0xeb90
jmp 0xebbf
movl $0x0, -0x68(%rbp)
movl -0x68(%rbp), %eax
cmpl 0x24ba55(%rip), %eax    # 0x25a624
jge 0xeef1
movq -0x48(%rbp), %rax
movslq -0x68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movl 0x30(%rax), %eax
cmpl 0x2d49a(%rip), %eax     # 0x3c084
jge 0xeee1
movq -0x48(%rbp), %rax
movslq -0x68(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
movl 0x4(%rax), %eax
movl %eax, -0x5c(%rbp)
movq -0x30(%rbp), %rax
movq 0x18(%rax), %rax
movl 0x4(%rax), %eax
movl %eax, -0x60(%rbp)
cmpl $0x0, -0x6c(%rbp)
jl 0xec3e
movl -0x5c(%rbp), %eax
movl 0x24b9f9(%rip), %ecx    # 0x25a620
subl $0x1, %ecx
cmpl %ecx, %eax
je 0xec3e
movl -0x60(%rbp), %eax
movl 0x24b9e9(%rip), %ecx    # 0x25a620
subl $0x1, %ecx
cmpl %ecx, %eax
jne 0xec5d
movq -0x30(%rbp), %rdx
movq -0x10(%rbp), %rax
movl -0x64(%rbp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x64(%rbp)
movslq %ecx, %rcx
movq %rdx, (%rax,%rcx,8)
jmp 0xedd3
movslq -0x5c(%rbp), %rcx
leaq 0x2ef98(%rip), %rax     # 0x3dc00
movl (%rax,%rcx,4), %edx
addl $0x1, %edx
leaq 0x2ef8b(%rip), %rax     # 0x3dc00
movl %edx, (%rax,%rcx,4)
movslq -0x60(%rbp), %rcx
leaq 0x2ef7d(%rip), %rax     # 0x3dc00
movl (%rax,%rcx,4), %edx
addl $0x1, %edx
leaq 0x2ef70(%rip), %rax     # 0x3dc00
movl %edx, (%rax,%rcx,4)
movslq -0x5c(%rbp), %rcx
leaq 0x2ef62(%rip), %rax     # 0x3dc00
movl (%rax,%rcx,4), %eax
movslq -0x60(%rbp), %rdx
leaq 0x2ef54(%rip), %rcx     # 0x3dc00
cmpl (%rcx,%rdx,4), %eax
jge 0xecd8
movslq -0x60(%rbp), %rcx
leaq 0x2ef44(%rip), %rax     # 0x3dc00
movl (%rax,%rcx,4), %eax
shll $0xa, %eax
movslq -0x5c(%rbp), %rdx
leaq 0x2ef33(%rip), %rcx     # 0x3dc00
addl (%rcx,%rdx,4), %eax
movl %eax, -0x98(%rbp)
jmp 0xecfd
movslq -0x5c(%rbp), %rcx
leaq 0x2ef1d(%rip), %rax     # 0x3dc00
movl (%rax,%rcx,4), %eax
shll $0xa, %eax
movslq -0x60(%rbp), %rdx
leaq 0x2ef0c(%rip), %rcx     # 0x3dc00
addl (%rcx,%rdx,4), %eax
movl %eax, -0x98(%rbp)
movl -0x98(%rbp), %eax
movl %eax, -0x9c(%rbp)
movslq -0x6c(%rbp), %rcx
leaq 0x2eeec(%rip), %rax     # 0x3dc00
movl (%rax,%rcx,4), %eax
movslq -0x70(%rbp), %rdx
leaq 0x2eede(%rip), %rcx     # 0x3dc00
cmpl (%rcx,%rdx,4), %eax
jge 0xed4e
movslq -0x70(%rbp), %rcx
leaq 0x2eece(%rip), %rax     # 0x3dc00
movl (%rax,%rcx,4), %eax
shll $0xa, %eax
movslq -0x6c(%rbp), %rdx
leaq 0x2eebd(%rip), %rcx     # 0x3dc00
addl (%rcx,%rdx,4), %eax
movl %eax, -0xa0(%rbp)
jmp 0xed73
movslq -0x6c(%rbp), %rcx
leaq 0x2eea7(%rip), %rax     # 0x3dc00
movl (%rax,%rcx,4), %eax
shll $0xa, %eax
movslq -0x70(%rbp), %rdx
leaq 0x2ee96(%rip), %rcx     # 0x3dc00
addl (%rcx,%rdx,4), %eax
movl %eax, -0xa0(%rbp)
movl -0x9c(%rbp), %eax
movl -0xa0(%rbp), %ecx
cmpl %ecx, %eax
jl 0xed9d
movq -0x30(%rbp), %rdx
movq -0x10(%rbp), %rax
movl -0x64(%rbp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x64(%rbp)
movslq %ecx, %rcx
movq %rdx, (%rax,%rcx,8)
movslq -0x5c(%rbp), %rcx
leaq 0x2ee58(%rip), %rax     # 0x3dc00
movl (%rax,%rcx,4), %edx
addl $-0x1, %edx
leaq 0x2ee4b(%rip), %rax     # 0x3dc00
movl %edx, (%rax,%rcx,4)
movslq -0x60(%rbp), %rcx
leaq 0x2ee3d(%rip), %rax     # 0x3dc00
movl (%rax,%rcx,4), %edx
addl $-0x1, %edx
leaq 0x2ee30(%rip), %rax     # 0x3dc00
movl %edx, (%rax,%rcx,4)
movq -0x48(%rbp), %rax
movslq -0x68(%rbp), %rcx
shlq $0x3, %rcx
addq %rcx, %rax
addq $0xba0, %rax            # imm = 0xBA0
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rax
cmpq -0x58(%rbp), %rax
jae 0xee16
movl 0x2d288(%rip), %ecx     # 0x3c084
movq -0x40(%rbp), %rax
movq (%rax), %rax
movl %ecx, 0x30(%rax)
movq -0x40(%rbp), %rax
addq $0xba0, %rax            # imm = 0xBA0
movq %rax, -0x40(%rbp)
jmp 0xedec
jmp 0xee18
movq -0x40(%rbp), %rax
cmpq -0x50(%rbp), %rax
jae 0xee4e
movl 0x2d25c(%rip), %ecx     # 0x3c084
movq -0x40(%rbp), %rax
movq (%rax), %rax
movq 0x20(%rax), %rax
movq 0x18(%rax), %rax
movq 0x20(%rax), %rax
movl %ecx, 0x30(%rax)
movq -0x40(%rbp), %rax
addq $0xba0, %rax            # imm = 0xBA0
movq %rax, -0x40(%rbp)
jmp 0xee18
movq -0x48(%rbp), %rax
movq -0x48(%rbp), %rcx
movslq -0x68(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
movq 0x18(%rcx), %rcx
movq 0x20(%rcx), %rcx
movq 0x18(%rcx), %rcx
movq 0x20(%rcx), %rcx
movslq 0x34(%rcx), %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rax
cmpq -0x58(%rbp), %rax
jae 0xeea7
movl 0x2d1f7(%rip), %ecx     # 0x3c084
movq -0x40(%rbp), %rax
movq (%rax), %rax
movl %ecx, 0x30(%rax)
movq -0x40(%rbp), %rax
addq $0xba0, %rax            # imm = 0xBA0
movq %rax, -0x40(%rbp)
jmp 0xee7d
jmp 0xeea9
movq -0x40(%rbp), %rax
cmpq -0x50(%rbp), %rax
jae 0xeedf
movl 0x2d1cb(%rip), %ecx     # 0x3c084
movq -0x40(%rbp), %rax
movq (%rax), %rax
movq 0x20(%rax), %rax
movq 0x18(%rax), %rax
movq 0x20(%rax), %rax
movl %ecx, 0x30(%rax)
movq -0x40(%rbp), %rax
addq $0xba0, %rax            # imm = 0xBA0
movq %rax, -0x40(%rbp)
jmp 0xeea9
jmp 0xeee1
jmp 0xeee3
movl -0x68(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x68(%rbp)
jmp 0xebc6
movl -0x64(%rbp), %ecx
movq -0x18(%rbp), %rax
movl %ecx, (%rax)
cmpl $0x2, -0x74(%rbp)
jle 0xef0f
movq -0x28(%rbp), %rax
movl $0x0, (%rax)
jmp 0xf09f
movl $0x0, -0x64(%rbp)
movl 0x2d168(%rip), %eax     # 0x3c084
addl $0x2, %eax
movl %eax, 0x2d15f(%rip)     # 0x3c084
cmpl $0x7530, %eax           # imm = 0x7530
jle 0xef6c
movl $0x2, 0x2d14e(%rip)     # 0x3c084
movl $0x0, -0x80(%rbp)
cmpl $0x1198, -0x80(%rbp)    # imm = 0x1198
jge 0xef6a
movslq -0x80(%rbp), %rcx
leaq 0x24b6df(%rip), %rax    # 0x25a630
shlq $0x6, %rcx
addq %rcx, %rax
movl $0x0, 0x30(%rax)
movl -0x80(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x80(%rbp)
jmp 0xef3d
jmp 0xef6c
movl $0x0, -0x5c(%rbp)
movl -0x5c(%rbp), %eax
cmpl 0x24b6a4(%rip), %eax    # 0x25a620
jge 0xf096
movslq -0x5c(%rbp), %rcx
leaq 0x2ec73(%rip), %rax     # 0x3dc00
cmpl $0x4, (%rax,%rcx,4)
jl 0xf086
movslq -0x5c(%rbp), %rcx
leaq 0x2ea5e(%rip), %rax     # 0x3da00
movq (%rax,%rcx,8), %rax
movq %rax, -0x38(%rbp)
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
movl 0x30(%rax), %eax
cmpl 0x2d0c9(%rip), %eax     # 0x3c084
je 0xf06a
movq -0x30(%rbp), %rax
movq 0x10(%rax), %rax
movslq 0x4(%rax), %rcx
leaq 0x2ec2c(%rip), %rax     # 0x3dc00
cmpl $0x2, (%rax,%rcx,4)
sete %al
andb $0x1, %al
movzbl %al, %eax
movq -0x30(%rbp), %rcx
movq 0x18(%rcx), %rcx
movslq 0x4(%rcx), %rdx
leaq 0x2ec0d(%rip), %rcx     # 0x3dc00
cmpl $0x2, (%rcx,%rdx,4)
sete %cl
andb $0x1, %cl
movzbl %cl, %ecx
addl %ecx, %eax
cmpl -0x74(%rbp), %eax
jne 0xf021
movq -0x30(%rbp), %rdx
movq -0x20(%rbp), %rax
movl -0x64(%rbp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x64(%rbp)
movslq %ecx, %rcx
movq %rdx, (%rax,%rcx,8)
movq -0x48(%rbp), %rax
movq -0x30(%rbp), %rcx
movslq 0x34(%rcx), %rcx
shlq $0x3, %rcx
addq %rcx, %rax
addq $0xba0, %rax            # imm = 0xBA0
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rax
cmpq -0x50(%rbp), %rax
jae 0xf068
movl 0x2d036(%rip), %ecx     # 0x3c084
movq -0x40(%rbp), %rax
movq (%rax), %rax
movl %ecx, 0x30(%rax)
movq -0x40(%rbp), %rax
addq $0xba0, %rax            # imm = 0xBA0
movq %rax, -0x40(%rbp)
jmp 0xf03e
jmp 0xf06a
movq -0x30(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
cmpq -0x38(%rbp), %rax
jne 0xefae
jmp 0xf086
jmp 0xf088
movl -0x5c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x5c(%rbp)
jmp 0xef73
movl -0x64(%rbp), %ecx
movq -0x28(%rbp), %rax
movl %ecx, (%rax)
jmp 0xf0a1
addq $0x20, %rsp
popq %rbp
retq
nopw (%rax,%rax)