// File: /workspace/github_c_makefile_star2_O1/mishun[P]plantri/plantri.c
// Function: find_extensions_min4
static void
find_extensions_min4(int nbtot, int nbop, EDGE *ext4[], int *next4,
   EDGE *ext5[], int *next5, EDGE *extS[], int *nextS, EDGE *known)

/* Determine the inequivalent places to make extensions, for the
   ordinary triangulations of minimum degree 4.  The results are
   put in the arrays ext4[0..*next4-1], etc..
   nbtot and nbop are the usual group parameters.

   If known!=NULL, it is the reference edge of a known four-reduction.
*/
{
    register int i,k;
    register EDGE *e,*e1,*elast;
    EDGE **nb,**nb0,**nblim,**nboplim;
    int manycentres;

    find_extensions_min4_four(nbtot,ext4,next4,known);

    manycentres = has_3_four_centres();

    if (nbtot == 1)
    {
      /* five-extensions, trivial group */

	if (manycentres)
	    *next5 = 0;
	else if (known)
	{
	    k = 0;
	    for (i = 0, e = known; i < 4; ++i, e = e->next)
	    if (degree[e->end] >= 6)
	    {
		ext5[k++] = e->invers->prev->invers;
		ext5[k++] = e->invers->next->next->invers;
	    }
	    *next5 = k;
	}
	else
	{
	    k = 0;
	    for (i = 0; i < nv; ++i)
	    if (degree[i] >= 6)
	    {
	        e = elast = firstedge[i];
                do
                {
                    ext5[k++] = e->invers;
                    e = e->next;
                } while (e != elast);
            }
            *next5 = k;
	}

      /* S-extensions, trivial group */

        k = 0;
	if (nv <= maxnv-3)
	{
            for (i = 0; i < nv; ++i)
            {
                e = elast = firstedge[i];
                do
                {
                    e1 = e->invers->prev;
                    if (e1 > e)
                    {
                        e1 = e1->invers->prev;
                        if (e1 > e) extS[k++] = e;
                    }
                    e = e->next;
                } while (e != elast);
            }
	}
	*nextS = k;
    }
    else    
    {
      /* five-extensions, non-trivial group */
    
	if (manycentres)
	    *next5 = 0;
	else
	{
            nboplim = (EDGE**)numbering[nbop==0?nbtot:nbop];
            nblim = (EDGE**)numbering[nbtot];

            RESETMARKS;
	    k = 0;
            nb0 = (EDGE**)numbering[0];
            for (i = 0; i < ne; ++i, ++nb0)
            {
                e = *nb0;
                if (!ISMARKEDLO(e) && degree[e->start] >= 6)
                {
                    ext5[k++] = e->next->invers;
    
                    nb = nb0 + MAXE;
                    for (; nb < nboplim; nb += MAXE) MARKLO(*nb);
                    for (; nb < nblim; nb += MAXE) MARKLO((*nb)->prev);
                }
            }
	    *next5 = k;
	}

      /* S-extensions, non-trivial group */

        k = 0;
	if (nv <= maxnv-3)
        {
	    nb0 = (EDGE**)numbering[0];
            nboplim = (EDGE**)numbering[nbop==0?nbtot:nbop];
            nblim = (EDGE**)numbering[nbtot];
	    RESETMARKS;

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

            for (i = 0; i < ne; ++i)
            {
                e = nb0[i];
                if (ISMARKEDLO(e)) continue;
                extS[k++] = e;
            
                for (nb = nb0 + i; nb < nboplim; nb += MAXE) MARKLO(*nb);

                for (; nb < nblim; nb += MAXE) MARKLO((*nb)->invers);

                e1 = e->invers->prev;
                for (nb = nb0 + e1->index; nb < nboplim; nb += MAXE)
                    MARKLO(*nb);
    
                for (; nb < nblim; nb += MAXE) MARKLO((*nb)->invers);
        
                e1 = e1->invers->prev;
                for (nb = nb0 + e1->index; nb < nboplim; nb += MAXE)
                    MARKLO(*nb);
    
                for (; nb < nblim; nb += MAXE) MARKLO((*nb)->invers);
            }
	}
	*nextS = k;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %r9, 0x48(%rsp)
movq %r8, 0x40(%rsp)
movq %rdx, %r13
movl %esi, 0x14(%rsp)
movl %edi, %ebx
movq 0xa0(%rsp), %r14
movl 0xd42e(%rip), %eax      # 0x26094
leal 0x2(%rax), %edx
movl %edx, 0xd425(%rip)      # 0x26094
cmpl $0x752f, %eax           # imm = 0x752F
jl 0x18c9f
movl $0x2, 0xd414(%rip)      # 0x26094
movl $0x30, %eax
leaq 0x22b994(%rip), %rdx    # 0x244620
movl $0x0, (%rax,%rdx)
addq $0x40, %rax
cmpq $0x46630, %rax          # imm = 0x46630
jne 0x18c8c
testq %r14, %r14
je 0x18d58
movq %rcx, 0x38(%rsp)
movl %ebx, 0x10(%rsp)
movslq 0x4(%r14), %rax
leaq 0xef34(%rip), %rsi      # 0x27bf0
movl (%rsi,%rax,4), %ecx
movq 0x18(%r14), %rax
movq 0x18(%rax), %rdx
movslq 0x4(%rdx), %rax
movl (%rsi,%rax,4), %eax
cmpl %eax, %ecx
movl %eax, %r12d
cmovll %ecx, %r12d
movl %eax, 0x8(%rsp)
movl %ecx, 0xc(%rsp)
cmovgl %ecx, %eax
movq %rax, 0x30(%rsp)
cmovgeq %r14, %rdx
movq %rdx, 0x28(%rsp)
movq 0x20(%rdx), %rax
movq 0x10(%rax), %r15
movq 0x18(%rax), %rax
movq %rax, 0x20(%rsp)
movq 0x18(%rax), %rbp
cmpq %r15, %rbp
movq %rbp, 0x50(%rsp)
je 0x18d62
xorl %r14d, %r14d
movq 0x20(%rbp), %rbx
movq %rbx, %rdi
callq 0x1a4f0
testl %eax, %eax
je 0x18d4d
movq 0x18(%rbx), %rax
movq 0x18(%rax), %rax
movslq 0x4(%rax), %rax
leaq 0xeebb(%rip), %rcx      # 0x27bf0
movl (%rcx,%rax,4), %eax
cmpl %r14d, %eax
cmovgl %eax, %r14d
movq 0x18(%rsp), %rax
cmovgq %rbp, %rax
movq %rax, 0x18(%rsp)
movq 0x18(%rbp), %rbp
cmpq %r15, %rbp
jne 0x18d12
jmp 0x18d65
xorl %ebp, %ebp
xorl %r15d, %r15d
jmp 0x19009
xorl %r14d, %r14d
testl %r14d, %r14d
je 0x18f36
movq 0x28(%rsp), %r9
movq 0x10(%r9), %rax
movq 0x18(%r9), %rcx
movslq 0x4(%rax), %rax
leaq 0xee6a(%rip), %rdx      # 0x27bf0
movl (%rdx,%rax,4), %eax
movslq 0x4(%rcx), %rcx
movl (%rdx,%rcx,4), %edx
cmpl %r14d, %eax
movl 0x10(%rsp), %ebx
movq 0x38(%rsp), %rcx
movq 0x30(%rsp), %r15
movl 0xc(%rsp), %r10d
movl 0x8(%rsp), %r11d
movq 0x20(%rsp), %r8
jge 0x18dc0
xorl %ebp, %ebp
movq 0x50(%rsp), %rsi
cmpq 0x18(%rsp), %rsi
jne 0x18dda
movq %r8, (%r13)
movl 0xd2ca(%rip), %edi      # 0x26094
movl %edi, 0x30(%r8)
movq 0x20(%r8), %rsi
movl %edi, 0x30(%rsi)
movl $0x1, %ebp
movq 0x20(%r8), %rsi
movq 0x18(%rsi), %rsi
movq 0x18(%rsi), %rsi
cmpl %r10d, %r11d
jne 0x18e0a
cmpl %r14d, %eax
jl 0x18e0a
movl %ebp, %edi
incl %ebp
movq %rsi, (%r13,%rdi,8)
movl 0xd295(%rip), %edi      # 0x26094
movl %edi, 0x30(%rsi)
movq 0x20(%rsi), %r8
movl %edi, 0x30(%r8)
movq 0x20(%rsi), %rsi
movq 0x18(%rsi), %rsi
movq 0x18(%rsi), %rsi
cmpl %r10d, %r11d
jne 0x18e3a
cmpl %r14d, %edx
jl 0x18e3a
movl %ebp, %edi
incl %ebp
movq %rsi, (%r13,%rdi,8)
movl 0xd265(%rip), %edi      # 0x26094
movl %edi, 0x30(%rsi)
movq 0x20(%rsi), %r8
movl %edi, 0x30(%r8)
movq 0x20(%rsi), %rsi
movq 0x18(%rsi), %rsi
movq 0x18(%rsi), %rsi
cmpl %r14d, %edx
jge 0x18e5a
movq 0x20(%rsi), %rdi
movq 0x18(%rsp), %r8
cmpq %r8, 0x10(%rdi)
jne 0x18e73
movl %ebp, %edi
incl %ebp
movq %rsi, (%r13,%rdi,8)
movl 0xd22b(%rip), %edi      # 0x26094
movl %edi, 0x30(%rsi)
movq 0x20(%rsi), %rsi
movl %edi, 0x30(%rsi)
cmpl $0x4, %r14d
jne 0x18e93
movl %ebp, %esi
incl %ebp
movq %r9, (%r13,%rsi,8)
movl 0xd20c(%rip), %esi      # 0x26094
movl %esi, 0x30(%r9)
movq 0x20(%r9), %rdi
movl %esi, 0x30(%rdi)
movl %r14d, %esi
xorl $0x4, %esi
movq 0x18(%r9), %r8
leal 0x1(%r15), %edi
movl %edx, %r9d
xorl %edi, %r9d
orl %esi, %r9d
sete %r9b
cmpl %edi, %edx
jg 0x18eb7
testb %r9b, %r9b
je 0x18ed2
movl %ebp, %edx
incl %ebp
movq %r8, (%r13,%rdx,8)
movl 0xd1ce(%rip), %edx      # 0x26094
movl %edx, 0x30(%r8)
movq 0x20(%r8), %r9
movl %edx, 0x30(%r9)
movq 0x18(%r8), %rdx
cmpl %r10d, %r11d
jne 0x18efe
cmpl $0x4, %r14d
jne 0x18efe
movl %ebp, %r8d
incl %ebp
movq %rdx, (%r13,%r8,8)
movl 0xd1a2(%rip), %r8d      # 0x26094
movl %r8d, 0x30(%rdx)
movq 0x20(%rdx), %r9
movl %r8d, 0x30(%r9)
movq 0xa0(%rsp), %r14
movl %eax, %r8d
xorl %edi, %r8d
orl %r8d, %esi
sete %sil
cmpl %edi, %eax
jg 0x18f20
testb %sil, %sil
je 0x19009
movq 0x18(%rdx), %rdx
movl %ebp, %eax
movq %rdx, (%r13,%rax,8)
movl 0xd163(%rip), %eax      # 0x26094
jmp 0x18ffd
movq 0x20(%rsp), %rcx
movq %rcx, (%r13)
movl 0xd14f(%rip), %eax      # 0x26094
movl %eax, 0x30(%rcx)
movq 0x20(%rcx), %rcx
movl %eax, 0x30(%rcx)
movq 0x18(%rcx), %rcx
movq 0x18(%rcx), %rcx
movq %rcx, 0x8(%r13)
movl %eax, 0x30(%rcx)
movq 0x20(%rcx), %rcx
movl %eax, 0x30(%rcx)
movq 0x18(%rcx), %rcx
movq 0x18(%rcx), %rcx
movq %rcx, 0x10(%r13)
movl %eax, 0x30(%rcx)
movq 0x20(%rcx), %rcx
movl %eax, 0x30(%rcx)
movq 0x18(%rcx), %rcx
movq 0x18(%rcx), %rcx
movq %rcx, 0x18(%r13)
movl %eax, 0x30(%rcx)
movq 0x20(%rcx), %rcx
movl %eax, 0x30(%rcx)
movq 0x28(%rsp), %rdx
movq %rdx, 0x20(%r13)
movl %eax, 0x30(%rdx)
movq 0x20(%rdx), %rcx
movl %eax, 0x30(%rcx)
movq 0x18(%rdx), %rcx
movq %rcx, 0x28(%r13)
movl %eax, 0x30(%rcx)
movq 0x20(%rcx), %rdx
movl %eax, 0x30(%rdx)
movq 0x18(%rcx), %rdx
movl $0x6, %ebp
movl 0x8(%rsp), %ecx
cmpl %ecx, 0xc(%rsp)
movl 0x10(%rsp), %ebx
movq 0x38(%rsp), %rcx
movq 0x30(%rsp), %r15
jne 0x18fea
movq %rdx, 0x30(%r13)
movl %eax, 0x30(%rdx)
movq 0x20(%rdx), %rsi
movl %eax, 0x30(%rsi)
movl $0x7, %ebp
movq 0x18(%rdx), %rdx
movl %ebp, %esi
movq %rdx, (%r13,%rsi,8)
movq 0xa0(%rsp), %r14
incl %ebp
movl %eax, 0x30(%rdx)
movq 0x20(%rdx), %rdx
movl %eax, 0x30(%rdx)
movslq 0x22b600(%rip), %rax    # 0x244610
testq %rax, %rax
jle 0x190a3
movl 0xd075(%rip), %edx      # 0x26094
xorl %esi, %esi
leaq 0xebc8(%rip), %rdi      # 0x27bf0
leaq 0xe9c1(%rip), %r8       # 0x279f0
cmpl %r15d, (%rdi,%rsi,4)
jle 0x19063
movq (%r8,%rsi,8), %r9
movq %r9, %r10
cmpl %edx, 0x30(%r10)
je 0x19058
movslq %ebp, %r11
incl %ebp
movq %r10, (%r13,%r11,8)
movl %edx, 0x30(%r10)
movq 0x20(%r10), %r11
movl %edx, 0x30(%r11)
movq 0x18(%r10), %r10
cmpq %r9, %r10
jne 0x1903c
jmp 0x1909b
jne 0x1909b
movq (%r8,%rsi,8), %r9
movq %r9, %r10
cmpl %edx, 0x30(%r10)
je 0x19092
movslq 0x4(%r10), %r11
cmpl %r12d, (%rdi,%r11,4)
jl 0x19092
movslq %ebp, %r11
incl %ebp
movq %r10, (%r13,%r11,8)
movl %edx, 0x30(%r10)
movq 0x20(%r10), %r11
movl %edx, 0x30(%r11)
movq 0x18(%r10), %r10
cmpq %r9, %r10
jne 0x1906c
incq %rsi
cmpq %rax, %rsi
jne 0x1902f
cmpl $0x2, %ebx
jl 0x19188
leaq 0xec3d(%rip), %rdx      # 0x27cf0
movslq 0x22b55a(%rip), %rsi    # 0x244614
testq %rsi, %rsi
jle 0x190d7
xorl %edi, %edi
movq %rdx, %r8
movq (%r8), %r9
movl %edi, 0x34(%r9)
incq %rdi
addq $0x8, %r8
cmpq %rdi, %rsi
jne 0x190c4
movl 0xcfb7(%rip), %esi      # 0x26094
leal 0x2(%rsi), %edi
movl %edi, 0xcfae(%rip)      # 0x26094
cmpl $0x752f, %esi           # imm = 0x752F
jl 0x19118
movl $0x2, 0xcf9c(%rip)      # 0x26094
movl $0x30, %esi
leaq 0x22b51c(%rip), %rdi    # 0x244620
movl $0x0, (%rsi,%rdi)
addq $0x40, %rsi
cmpq $0x46630, %rsi          # imm = 0x46630
jne 0x19104
testl %ebp, %ebp
jle 0x19186
movl %ebx, %esi
imulq $0xba0, %rsi, %rsi      # imm = 0xBA0
addq %rdx, %rsi
movl 0xcf66(%rip), %edi      # 0x26094
movl %ebp, %r8d
xorl %r9d, %r9d
xorl %ebp, %ebp
movq (%r13,%r9,8), %r10
cmpl %edi, 0x30(%r10)
jne 0x1914b
incq %r9
cmpq %r8, %r9
jne 0x19136
jmp 0x19188
movslq %ebp, %r11
incl %ebp
movq %r10, (%r13,%r11,8)
movq (%r13,%r9,8), %r10
movslq 0x34(%r10), %r10
leaq (%rdx,%r10,8), %r10
addq $0xba0, %r10            # imm = 0xBA0
cmpq %rsi, %r10
jae 0x19141
movq (%r10), %r11
movl %edi, 0x30(%r11)
movq 0x20(%r11), %r11
movl %edi, 0x30(%r11)
addq $0xba0, %r10            # imm = 0xBA0
jmp 0x19169
xorl %ebp, %ebp
movl %ebp, (%rcx)
testl %eax, %eax
jle 0x19208
leaq 0x1(%rax), %rdx
xorl %ecx, %ecx
leaq 0xea55(%rip), %rsi      # 0x27bf0
leaq 0xe84e(%rip), %rdi      # 0x279f0
movq 0x40(%rsp), %r13
cmpl $0x4, -0x8(%rsi,%rdx,4)
jne 0x191f6
movq -0x10(%rdi,%rdx,8), %r8
movq 0x10(%r8), %r9
movslq 0x4(%r9), %r9
cmpl $0x5, (%rsi,%r9,4)
jl 0x191d1
movq 0x18(%r8), %r9
movslq 0x4(%r9), %r9
cmpl $0x4, (%rsi,%r9,4)
jg 0x191ef
movslq 0x4(%r8), %r9
cmpl $0x5, (%rsi,%r9,4)
jl 0x191f6
movq 0x18(%r8), %r8
movq 0x18(%r8), %r8
movslq 0x4(%r8), %r8
cmpl $0x5, (%rsi,%r8,4)
jl 0x191f6
incl %ecx
cmpl $0x3, %ecx
je 0x19212
decq %rdx
cmpq $0x1, %rdx
jg 0x191a7
cmpl $0x3, %ecx
setl %r8b
jmp 0x19215
movb $0x1, %r8b
movq 0x40(%rsp), %r13
jmp 0x19215
xorl %r8d, %r8d
movq 0x98(%rsp), %rbp
movq 0x90(%rsp), %rdx
cmpl $0x1, %ebx
jne 0x19298
xorl %esi, %esi
movl $0x0, %edi
testb %r8b, %r8b
je 0x195bb
testq %r14, %r14
je 0x1956a
xorl %edi, %edi
movl $0x4, %r8d
leaq 0xe99e(%rip), %r9       # 0x27bf0
movslq 0x4(%r14), %r10
cmpl $0x6, (%r9,%r10,4)
jl 0x1928a
movq 0x20(%r14), %r10
movq 0x10(%r10), %r10
movq 0x20(%r10), %r10
movslq %edi, %r11
movq %r10, (%r13,%r11,8)
movq 0x20(%r14), %rdi
movq 0x18(%rdi), %rdi
movq 0x18(%rdi), %rdi
movq 0x20(%rdi), %r10
leal 0x2(%r11), %edi
movq %r10, 0x8(%r13,%r11,8)
movq 0x18(%r14), %r14
decl %r8d
jne 0x19252
jmp 0x195bb
movl %ebx, %ecx
xorl %esi, %esi
movl $0x0, %r10d
testb %r8b, %r8b
je 0x193aa
movl 0x14(%rsp), %r8d
testl %r8d, %r8d
cmovel %ecx, %r8d
movl 0xcdd7(%rip), %edi      # 0x26094
leal 0x2(%rdi), %r9d
movl %r9d, 0xcdcc(%rip)      # 0x26094
cmpl $0x752f, %edi           # imm = 0x752F
jl 0x192fb
movl $0x2, 0xcdba(%rip)      # 0x26094
movl $0x30, %edi
leaq 0x22b33a(%rip), %r9     # 0x244620
movl $0x0, (%rdi,%r9)
addq $0x40, %rdi
cmpq $0x46630, %rdi          # imm = 0x46630
jne 0x192e6
movl 0x22b313(%rip), %edi    # 0x244614
movl $0x0, %r10d
testl %edi, %edi
jle 0x193aa
movslq %r8d, %r8
movslq %ecx, %r10
imulq $0xba0, %r8, %r8        # imm = 0xBA0
leaq 0xe9cd(%rip), %r9       # 0x27cf0
imulq $0xba0, %r10, %r11      # imm = 0xBA0
addq %r9, %r8
addq %r9, %r11
xorl %ebx, %ebx
movl 0xcd5c(%rip), %ebp      # 0x26094
leaq 0xe8b1(%rip), %r14      # 0x27bf0
xorl %r10d, %r10d
movq (%r9), %r15
cmpl %ebp, 0x30(%r15)
je 0x193a0
movslq (%r15), %r12
cmpl $0x6, (%r14,%r12,4)
jl 0x193a0
movq 0x18(%r15), %r15
movq 0x20(%r15), %r15
movslq %r10d, %r12
movq %r15, (%r13,%r12,8)
leaq 0xba0(%r9), %r15
cmpq %r8, %r15
jae 0x19382
movq (%r15), %r12
movl %ebp, 0x30(%r12)
addq $0xba0, %r15            # imm = 0xBA0
jmp 0x1936c
incl %r10d
cmpq %r11, %r15
jae 0x193a0
movq (%r15), %r12
movq 0x10(%r12), %r12
movl %ebp, 0x30(%r12)
addq $0xba0, %r15            # imm = 0xBA0
jmp 0x19385
incl %ebx
addq $0x8, %r9
cmpl %edi, %ebx
jne 0x19342
movq 0x48(%rsp), %rdi
movl %r10d, (%rdi)
movl 0xceb8(%rip), %edi      # 0x26270
addl $-0x3, %edi
cmpl %edi, %eax
jle 0x193cc
movq 0x98(%rsp), %rbp
jmp 0x19620
movl 0x14(%rsp), %r11d
testl %r11d, %r11d
cmovel %ecx, %r11d
movl 0xccb6(%rip), %eax      # 0x26094
leal 0x2(%rax), %edi
movl %edi, 0xccad(%rip)      # 0x26094
cmpl $0x752f, %eax           # imm = 0x752F
movq 0x98(%rsp), %rbp
jl 0x1941f
movl $0x2, 0xcc94(%rip)      # 0x26094
movl $0x30, %eax
leaq 0x22b214(%rip), %rdi    # 0x244620
movl $0x0, (%rax,%rdi)
addq $0x40, %rax
cmpq $0x46630, %rax          # imm = 0x46630
jne 0x1940c
leaq 0xe8ca(%rip), %rax      # 0x27cf0
movslq 0x22b1e7(%rip), %rdi    # 0x244614
testq %rdi, %rdi
jle 0x1944b
xorl %r8d, %r8d
movq %rax, %r9
movq (%r9), %r10
movl %r8d, 0x34(%r10)
incq %r8
addq $0x8, %r9
cmpq %r8, %rdi
jne 0x19438
testl %edi, %edi
jle 0x19620
movslq %r11d, %rsi
movslq %ecx, %r9
imulq $0xba0, %rsi, %r8       # imm = 0xBA0
imulq $0xba0, %r9, %r9        # imm = 0xBA0
leaq (%rax,%r8), %r10
addq %rax, %r9
movl 0xcc1f(%rip), %r11d     # 0x26094
xorl %ebx, %ebx
xorl %esi, %esi
movq (%rax,%rbx,8), %r14
cmpl %r11d, 0x30(%r14)
jne 0x19490
incq %rbx
cmpq %rdi, %rbx
jne 0x19479
jmp 0x19620
leaq (,%rbx,8), %r12
leaq (%rax,%rbx,8), %r15
movslq %esi, %r13
movq %r14, (%rdx,%r13,8)
cmpq %r8, %r12
jge 0x194d2
movq (%r15), %r12
movl %r11d, 0x30(%r12)
addq $0xba0, %r15            # imm = 0xBA0
cmpq %r10, %r15
jb 0x194a8
jmp 0x194d2
movq (%r15), %r12
movq 0x20(%r12), %r12
movl %r11d, 0x30(%r12)
addq $0xba0, %r15            # imm = 0xBA0
cmpq %r9, %r15
jb 0x194be
movq 0x20(%r14), %r14
movq 0x10(%r14), %r14
movslq 0x34(%r14), %r12
leaq (%rax,%r12,8), %r15
shlq $0x3, %r12
cmpq %r8, %r12
jge 0x1951a
movq (%r15), %r12
movl %r11d, 0x30(%r12)
addq $0xba0, %r15            # imm = 0xBA0
cmpq %r10, %r15
jb 0x194f0
jmp 0x1951a
movq (%r15), %r12
movq 0x20(%r12), %r12
movl %r11d, 0x30(%r12)
addq $0xba0, %r15            # imm = 0xBA0
cmpq %r9, %r15
jb 0x19506
movq 0x20(%r14), %r14
movq 0x10(%r14), %r14
movslq 0x34(%r14), %r15
leaq (%rax,%r15,8), %r14
shlq $0x3, %r15
cmpq %r8, %r15
jge 0x1954b
movq (%r14), %r15
movl %r11d, 0x30(%r15)
addq $0xba0, %r14            # imm = 0xBA0
cmpq %r10, %r14
jb 0x19538
incl %esi
cmpq %r9, %r14
jae 0x19483
movq (%r14), %r15
movq 0x20(%r15), %r15
movl %r11d, 0x30(%r15)
addq $0xba0, %r14            # imm = 0xBA0
jmp 0x1954d
testl %eax, %eax
jle 0x195bb
xorl %r8d, %r8d
leaq 0xe678(%rip), %r9       # 0x27bf0
leaq 0xe471(%rip), %r10      # 0x279f0
xorl %edi, %edi
cmpl $0x6, (%r9,%r8,4)
jl 0x195b3
movq (%r10,%r8,8), %r11
movslq %edi, %rbx
leaq (,%rbx,8), %rbx
addq %r13, %rbx
movq %r11, %r14
movq 0x20(%r14), %r15
movq %r15, (%rbx)
movq 0x18(%r14), %r14
addq $0x8, %rbx
incl %edi
cmpq %r11, %r14
jne 0x1959d
incq %r8
cmpq %rax, %r8
jne 0x19581
movq 0x48(%rsp), %r8
movl %edi, (%r8)
movl 0xcca7(%rip), %edi      # 0x26270
addl $-0x3, %edi
cmpl %edi, %eax
setg %dil
testl %eax, %eax
setle %r8b
orb %dil, %r8b
jne 0x19620
xorl %edi, %edi
leaq 0xe40a(%rip), %r8       # 0x279f0
xorl %esi, %esi
movq (%r8,%rdi,8), %r9
movq %r9, %r10
movq 0x20(%r10), %r11
movq 0x10(%r11), %r11
cmpq %r10, %r11
jbe 0x1960f
movq 0x20(%r11), %r11
cmpq %r10, 0x10(%r11)
jbe 0x1960f
movslq %esi, %r11
incl %esi
movq %r10, (%rdx,%r11,8)
movq 0x18(%r10), %r10
cmpq %r9, %r10
jne 0x195ef
incq %rdi
cmpq %rax, %rdi
jne 0x195e8
movl %esi, (%rbp)
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq