// File: /workspace/github_c_makefile_star2_O2/dalnefre[P]kernel_abe/gc.c
// Function: gc_age_cells
static void
gc_age_cells()
/* move "fresh" cells to the "aged" list for possible collection */
{
	DBUG_ENTER("gc_age_cells");
	DBUG_PRINT("gc", ("%u cells available in free list", GC_SIZE(GC_FREE_LIST)));
	DBUG_PRINT("gc", ("moving %u cells from fresh to aged", GC_SIZE(GC_FRESH_LIST)));
	gc_append_list(GC_AGED_LIST, GC_FRESH_LIST);
	DBUG_PRINT("gc", ("%u cells on aged list to be scanned", GC_SIZE(GC_AGED_LIST)));
	if (gc_phase__mark == GC_PHASE_0) {
		gc_phase__prev = GC_PHASE_0;
		gc_phase__mark = GC_PHASE_1;
	} else {
		gc_phase__prev = GC_PHASE_1;
		gc_phase__mark = GC_PHASE_0;
	}
	DBUG_PRINT("gc", ("gc_phase = 0x%x", gc_phase__mark));
	DBUG_RETURN;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
leaq 0x54aa(%rip), %rax      # 0x1df9b
movq %rsp, %rdi
movq %rax, (%rdi)
leaq 0xb832(%rip), %r14      # 0x24330
movq (%r14), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0xba, 0xc(%rdi)
leaq 0x3831(%rip), %rcx      # 0x1c34a
movq %rcx, 0x10(%rdi)
leaq 0xb75c(%rip), %rcx      # 0x24280
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x1b079
leaq 0xbdf8(%rip), %r15      # 0x24930
cmpl $0x0, (%r15)
je 0x18bc3
movq (%r14), %rax
movq 0x50(%rax), %rax
leaq 0x41a4(%rip), %rbx      # 0x1ccf4
movq %rbx, 0x10(%rax)
movq %rbx, %rdi
callq 0x1a7f4
testl %eax, %eax
je 0x18b83
movq (%r14), %rax
movq 0x50(%rax), %rax
movl $0xbb, 0xc(%rax)
movq 0xb6cb(%rip), %rsi      # 0x24240
leaq 0x542c(%rip), %rdi      # 0x1dfa8
xorl %eax, %eax
callq 0x1b0f0
cmpl $0x0, (%r15)
je 0x18bc3
movq (%r14), %rax
movq 0x50(%rax), %rax
movq %rbx, 0x10(%rax)
movq %rbx, %rdi
callq 0x1a7f4
testl %eax, %eax
je 0x18bc3
movq (%r14), %rax
movq 0x50(%rax), %rax
movl $0xbc, 0xc(%rax)
movq 0xb66b(%rip), %rsi      # 0x24220
leaq 0x540c(%rip), %rdi      # 0x1dfc8
xorl %eax, %eax
callq 0x1b0f0
movl $0x80000000, %r12d      # imm = 0x80000000
leaq 0xb610(%rip), %rdi      # 0x241e0
leaq 0xb649(%rip), %rsi      # 0x24220
callq 0x1706c
cmpl $0x0, (%r15)
je 0x18c91
movq (%r14), %rax
movq 0x50(%rax), %rax
leaq 0x4100(%rip), %rbx      # 0x1ccf4
movq %rbx, 0x10(%rax)
movq %rbx, %rdi
callq 0x1a7f4
testl %eax, %eax
je 0x18c27
movq (%r14), %rax
movq 0x50(%rax), %rax
movl $0xbe, 0xc(%rax)
movq 0xb5c7(%rip), %rsi      # 0x241e0
leaq 0x53cb(%rip), %rdi      # 0x1dfeb
xorl %eax, %eax
callq 0x1b0f0
leaq 0x40000000(%r12), %rax
cmpq %r12, 0xb662(%rip)      # 0x24298
movq %rax, %rcx
cmoveq %r12, %rcx
cmovneq %r12, %rax
cmpl $0x0, (%r15)
movq %rcx, 0xb644(%rip)      # 0x24290
movq %rax, 0xb645(%rip)      # 0x24298
je 0x18cb9
movq (%r14), %rax
movq 0x50(%rax), %rax
movq %rbx, 0x10(%rax)
movq %rbx, %rdi
callq 0x1a7f4
testl %eax, %eax
je 0x18cb9
movq (%r14), %rax
movq 0x50(%rax), %rax
movl $0xc6, 0xc(%rax)
movq 0xb617(%rip), %rsi      # 0x24298
leaq 0x5070(%rip), %rdi      # 0x1dcf8
xorl %eax, %eax
callq 0x1b0f0
jmp 0x18cb9
cmpq %r12, 0xb600(%rip)      # 0x24298
leaq 0x40000000(%r12), %rax
movq %rax, %rcx
cmoveq %r12, %rcx
cmovneq %r12, %rax
movq %rcx, 0xb5de(%rip)      # 0x24290
movq %rax, 0xb5df(%rip)      # 0x24298
movq %rsp, %rdi
movl $0xc7, 0xc(%rdi)
callq 0x1b1f2
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq