// File: /workspace/github_c_makefile_star2_O3/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 0x4a35(%rip), %rax      # 0x1dfbb
movq %rsp, %rdi
movq %rax, (%rdi)
leaq 0x9d9d(%rip), %r14      # 0x23330
movq (%r14), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0xba, 0xc(%rdi)
leaq 0x2d9c(%rip), %rcx      # 0x1c34a
movq %rcx, 0x10(%rdi)
leaq 0x9cc7(%rip), %rcx      # 0x23280
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x1ba26
leaq 0xa363(%rip), %r15      # 0x23930
cmpl $0x0, (%r15)
je 0x19658
movq (%r14), %rax
movq 0x50(%rax), %rax
leaq 0x370f(%rip), %rbx      # 0x1ccf4
movq %rbx, 0x10(%rax)
movq %rbx, %rdi
callq 0x1b188
testl %eax, %eax
je 0x19618
movq (%r14), %rax
movq 0x50(%rax), %rax
movl $0xbb, 0xc(%rax)
movq 0x9c36(%rip), %rsi      # 0x23240
leaq 0x49b7(%rip), %rdi      # 0x1dfc8
xorl %eax, %eax
callq 0x1ba97
cmpl $0x0, (%r15)
je 0x19658
movq (%r14), %rax
movq 0x50(%rax), %rax
movq %rbx, 0x10(%rax)
movq %rbx, %rdi
callq 0x1b188
testl %eax, %eax
je 0x19658
movq (%r14), %rax
movq 0x50(%rax), %rax
movl $0xbc, 0xc(%rax)
movq 0x9bd6(%rip), %rsi      # 0x23220
leaq 0x4997(%rip), %rdi      # 0x1dfe8
xorl %eax, %eax
callq 0x1ba97
movl $0x80000000, %r12d      # imm = 0x80000000
leaq 0x9b7b(%rip), %rdi      # 0x231e0
leaq 0x9bb4(%rip), %rsi      # 0x23220
callq 0x1799b
cmpl $0x0, (%r15)
je 0x19726
movq (%r14), %rax
movq 0x50(%rax), %rax
leaq 0x366b(%rip), %rbx      # 0x1ccf4
movq %rbx, 0x10(%rax)
movq %rbx, %rdi
callq 0x1b188
testl %eax, %eax
je 0x196bc
movq (%r14), %rax
movq 0x50(%rax), %rax
movl $0xbe, 0xc(%rax)
movq 0x9b32(%rip), %rsi      # 0x231e0
leaq 0x4956(%rip), %rdi      # 0x1e00b
xorl %eax, %eax
callq 0x1ba97
leaq 0x40000000(%r12), %rax
cmpq %r12, 0x9bcd(%rip)      # 0x23298
movq %rax, %rcx
cmoveq %r12, %rcx
cmovneq %r12, %rax
cmpl $0x0, (%r15)
movq %rcx, 0x9baf(%rip)      # 0x23290
movq %rax, 0x9bb0(%rip)      # 0x23298
je 0x1974e
movq (%r14), %rax
movq 0x50(%rax), %rax
movq %rbx, 0x10(%rax)
movq %rbx, %rdi
callq 0x1b188
testl %eax, %eax
je 0x1974e
movq (%r14), %rax
movq 0x50(%rax), %rax
movl $0xc6, 0xc(%rax)
movq 0x9b82(%rip), %rsi      # 0x23298
leaq 0x45fb(%rip), %rdi      # 0x1dd18
xorl %eax, %eax
callq 0x1ba97
jmp 0x1974e
cmpq %r12, 0x9b6b(%rip)      # 0x23298
leaq 0x40000000(%r12), %rax
movq %rax, %rcx
cmoveq %r12, %rcx
cmovneq %r12, %rax
movq %rcx, 0x9b49(%rip)      # 0x23290
movq %rax, 0x9b4a(%rip)      # 0x23298
movq %rsp, %rdi
movl $0xc7, 0xc(%rdi)
callq 0x1bbab
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq