// File: /workspace/github_c_makefile_star2_O0/mishun[P]plantri/plantri.c
// Function: add_new_nf4_cycles
static void
add_new_nf4_cycles(EDGE *e, EDGE **on4, int *non4)

/* The edge e has just been switched.  Previously it was not on any
   nf-4-cycles and on4[0..non4-1] was a list of all edges on nf-4-cycles.
   Add any new nf-4-cycles to on4[].  All edges are in min form. */

{
    int i,j,k,l,v1;
    EDGE *e1,*e2,*e3,*ee;
    EDGE *e0[MAXN];

    RESETMARKS;
    for (i = *non4; --i >= 0; ) MARKLO(on4[i]);
    
    RESETMARKS_V;
    v1 = e->start;
    for (e1 = e->next->next, k = degree[v1]-3; --k >= 0; e1 = e1->next)
    {
	MARK_V(e1->end);
	e0[e1->end] = e1;
    }

    j = *non4;
    for (e1 = e->invers->next->next, k = degree[e->end]-3;
						   --k >= 0; e1 = e1->next)
	for (e2 = e1->invers->next->next, l = degree[e1->end]-3;
                                                   --l >= 0; e2 = e2->next)
	    if (ISMARKED_V(e2->end))
	    {
		e3 = e0[e2->end];

		ee = e->min;
		if (!ISMARKEDLO(ee))
		{
		    on4[j++] = ee;
		    MARKLO(ee);
		}
		ee = e1->min;
		if (!ISMARKEDLO(ee))
		{
		    on4[j++] = ee;
		    MARKLO(ee);
		}
		ee = e2->min;
		if (!ISMARKEDLO(ee))
		{
		    on4[j++] = ee;
		    MARKLO(ee);
		}
		ee = e3->min;
		if (!ISMARKEDLO(ee))
		{
		    on4[j++] = ee;
		    MARKLO(ee);
		}
	    }
    *non4 = j;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1e0, %rsp            # imm = 0x1E0
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movl 0x18217(%rip), %eax     # 0x3c084
addl $0x2, %eax
movl %eax, 0x1820e(%rip)     # 0x3c084
cmpl $0x7530, %eax           # imm = 0x7530
jle 0x23ecc
movl $0x2, 0x181fd(%rip)     # 0x3c084
movl $0x0, -0x254(%rbp)
cmpl $0x1198, -0x254(%rbp)   # imm = 0x1198
jge 0x23eca
movslq -0x254(%rbp), %rcx
leaq 0x236785(%rip), %rax    # 0x25a630
shlq $0x6, %rcx
addq %rcx, %rax
movl $0x0, 0x30(%rax)
movl -0x254(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x254(%rbp)
jmp 0x23e91
jmp 0x23ecc
movq -0x18(%rbp), %rax
movl (%rax), %eax
movl %eax, -0x1c(%rbp)
movl -0x1c(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x1c(%rbp)
cmpl $0x0, %eax
jl 0x23efa
movl 0x1819b(%rip), %ecx     # 0x3c084
movq -0x10(%rbp), %rax
movslq -0x1c(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movl %ecx, 0x30(%rax)
jmp 0x23ed5
movl 0x18190(%rip), %eax     # 0x3c090
addl $0x1, %eax
movl %eax, 0x18187(%rip)     # 0x3c090
cmpl $0x7530, %eax           # imm = 0x7530
jle 0x23f55
movl $0x1, 0x18176(%rip)     # 0x3c090
movl $0x0, -0x258(%rbp)
cmpl $0x40, -0x258(%rbp)
jge 0x23f53
movslq -0x258(%rbp), %rcx
leaq 0x27cd05(%rip), %rax    # 0x2a0c40
movl $0x0, (%rax,%rcx,4)
movl -0x258(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x258(%rbp)
jmp 0x23f24
jmp 0x23f55
movq -0x8(%rbp), %rax
movl (%rax), %eax
movl %eax, -0x2c(%rbp)
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rax
movq 0x18(%rax), %rax
movq %rax, -0x38(%rbp)
movslq -0x2c(%rbp), %rcx
leaq 0x19c87(%rip), %rax     # 0x3dc00
movl (%rax,%rcx,4), %eax
subl $0x3, %eax
movl %eax, -0x24(%rbp)
movl -0x24(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x24(%rbp)
cmpl $0x0, %eax
jl 0x23fca
movl 0x180fa(%rip), %edx     # 0x3c090
movq -0x38(%rbp), %rax
movslq 0x4(%rax), %rcx
leaq 0x27cc9b(%rip), %rax    # 0x2a0c40
movl %edx, (%rax,%rcx,4)
movq -0x38(%rbp), %rcx
movq -0x38(%rbp), %rax
movslq 0x4(%rax), %rax
movq %rcx, -0x250(%rbp,%rax,8)
movq -0x38(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0x38(%rbp)
jmp 0x23f82
movq -0x18(%rbp), %rax
movl (%rax), %eax
movl %eax, -0x20(%rbp)
movq -0x8(%rbp), %rax
movq 0x20(%rax), %rax
movq 0x18(%rax), %rax
movq 0x18(%rax), %rax
movq %rax, -0x38(%rbp)
movq -0x8(%rbp), %rax
movslq 0x4(%rax), %rcx
leaq 0x19c0a(%rip), %rax     # 0x3dc00
movl (%rax,%rcx,4), %eax
subl $0x3, %eax
movl %eax, -0x24(%rbp)
movl -0x24(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x24(%rbp)
cmpl $0x0, %eax
jl 0x241b1
movq -0x38(%rbp), %rax
movq 0x20(%rax), %rax
movq 0x18(%rax), %rax
movq 0x18(%rax), %rax
movq %rax, -0x40(%rbp)
movq -0x38(%rbp), %rax
movslq 0x4(%rax), %rcx
leaq 0x19bcc(%rip), %rax     # 0x3dc00
movl (%rax,%rcx,4), %eax
subl $0x3, %eax
movl %eax, -0x28(%rbp)
movl -0x28(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x28(%rbp)
cmpl $0x0, %eax
jl 0x2419e
movq -0x40(%rbp), %rax
movslq 0x4(%rax), %rcx
leaq 0x27cbe2(%rip), %rax    # 0x2a0c40
movl (%rax,%rcx,4), %eax
cmpl 0x18029(%rip), %eax     # 0x3c090
jne 0x2418b
movq -0x40(%rbp), %rax
movslq 0x4(%rax), %rax
movq -0x250(%rbp,%rax,8), %rax
movq %rax, -0x48(%rbp)
movq -0x8(%rbp), %rax
movq 0x28(%rax), %rax
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rax
movl 0x30(%rax), %eax
cmpl 0x17fea(%rip), %eax     # 0x3c084
je 0x240c3
movq -0x50(%rbp), %rdx
movq -0x10(%rbp), %rax
movl -0x20(%rbp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x20(%rbp)
movslq %ecx, %rcx
movq %rdx, (%rax,%rcx,8)
movl 0x17fc8(%rip), %ecx     # 0x3c084
movq -0x50(%rbp), %rax
movl %ecx, 0x30(%rax)
movq -0x38(%rbp), %rax
movq 0x28(%rax), %rax
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rax
movl 0x30(%rax), %eax
cmpl 0x17fa8(%rip), %eax     # 0x3c084
je 0x24105
movq -0x50(%rbp), %rdx
movq -0x10(%rbp), %rax
movl -0x20(%rbp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x20(%rbp)
movslq %ecx, %rcx
movq %rdx, (%rax,%rcx,8)
movl 0x17f86(%rip), %ecx     # 0x3c084
movq -0x50(%rbp), %rax
movl %ecx, 0x30(%rax)
movq -0x40(%rbp), %rax
movq 0x28(%rax), %rax
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rax
movl 0x30(%rax), %eax
cmpl 0x17f66(%rip), %eax     # 0x3c084
je 0x24147
movq -0x50(%rbp), %rdx
movq -0x10(%rbp), %rax
movl -0x20(%rbp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x20(%rbp)
movslq %ecx, %rcx
movq %rdx, (%rax,%rcx,8)
movl 0x17f44(%rip), %ecx     # 0x3c084
movq -0x50(%rbp), %rax
movl %ecx, 0x30(%rax)
movq -0x48(%rbp), %rax
movq 0x28(%rax), %rax
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rax
movl 0x30(%rax), %eax
cmpl 0x17f24(%rip), %eax     # 0x3c084
je 0x24189
movq -0x50(%rbp), %rdx
movq -0x10(%rbp), %rax
movl -0x20(%rbp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x20(%rbp)
movslq %ecx, %rcx
movq %rdx, (%rax,%rcx,8)
movl 0x17f02(%rip), %ecx     # 0x3c084
movq -0x50(%rbp), %rax
movl %ecx, 0x30(%rax)
jmp 0x2418b
jmp 0x2418d
movq -0x40(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0x40(%rbp)
jmp 0x2403d
jmp 0x241a0
movq -0x38(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0x38(%rbp)
jmp 0x23fff
movl -0x20(%rbp), %ecx
movq -0x18(%rbp), %rax
movl %ecx, (%rax)
addq $0x1e0, %rsp            # imm = 0x1E0
popq %rbp
retq
nopw %cs:(%rax,%rax)