// File: /workspace/github_c_makefile_star2_O1/dalnefre[P]kernel_abe/actor.c
// Function: new_configuration
CONFIG*
new_configuration(int q_limit)
/*
 * Create a new (empty) actor configuration.
 */
{
	CONFIG* cfg = NULL;
	CELL* cell;
	CONS* cq;
	struct timeval tv;

	DBUG_ENTER("new_configuration");
	cfg = NEW(CONFIG);
	assert(cfg != NULL);
	cell = as_cell(cfg);
	cq = CONFIG_QUEUE(cfg);
	assert(consp(cq));
	GC_SET_FIRST(cell, NIL);
	GC_SET_REST(cell, NIL);
	GC_SET_PREV(cell, cell);
	GC_SET_NEXT(cell, cell);
	cfg->gc_root = NIL;
	cfg->q_count = 0;
	cfg->q_entry = NIL;
	cfg->msg_cnt_hi = 0;
	cfg->msg_cnt_lo = 0;
	cfg->q_limit = q_limit;
	if (gettimeofday(&tv, NULL) == 0) {
		cfg->t_epoch = tv.tv_sec;
		DBUG_PRINT("timer", ("epoch=%d", cfg->t_epoch));
		cfg->t_now_s = (tv.tv_sec - cfg->t_epoch);
		cfg->t_now_us = tv.tv_usec;
		DBUG_PRINT("timer", ("t = %lus %luus", cfg->t_now_s, cfg->t_now_us));
	}
	cfg->t_queue = NIL;
	cfg->t_count = 0;
	DBUG_RETURN cfg;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movl %edi, %ebp
leaq 0xaaf6(%rip), %rax      # 0x1cc6c
leaq 0x10(%rsp), %rdi
movq %rax, (%rdi)
leaq 0x111ab(%rip), %r14     # 0x23330
movq (%r14), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0xd4, 0xc(%rdi)
leaq 0xa1aa(%rip), %rcx      # 0x1c34a
movq %rcx, 0x10(%rdi)
leaq 0x10ffd(%rip), %rcx     # 0x231a8
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x1b912
movl $0x70, %edi
movl $0x1, %esi
callq 0x2160
testq %rax, %rax
je 0x12311
movq %rax, %rbx
testb $0x3, %bl
jne 0x12330
leaq 0x110bd(%rip), %r15     # 0x232a0
movq %r15, (%rbx)
movq %r15, 0x8(%rbx)
movq %rbx, %rax
sarq $0x2, %rax
movq 0x10(%rbx), %rcx
andl $0xc0000000, %ecx       # imm = 0xC0000000
orq %rax, %rcx
movq %rcx, 0x10(%rbx)
movq %rax, 0x18(%rbx)
movq %r15, 0x20(%rbx)
movl $0x0, 0x28(%rbx)
movq %r15, 0x30(%rbx)
movq $0x0, 0x38(%rbx)
movl %ebp, 0x40(%rbx)
movq %rsp, %rdi
xorl %esi, %esi
callq 0x20f0
testl %eax, %eax
je 0x1225c
movq %r15, 0x60(%rbx)
movl $0x0, 0x68(%rbx)
leaq 0x10(%rsp), %rdi
movl $0xed, 0xc(%rdi)
callq 0x1ba97
movq %rbx, %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq (%rsp), %r13
movq %r13, 0x48(%rbx)
leaq 0x116c5(%rip), %r12     # 0x23930
cmpl $0x0, (%r12)
je 0x122ad
movq (%r14), %rax
movq 0x50(%rax), %rax
leaq 0xaa33(%rip), %rdi      # 0x1ccb3
movq %rdi, 0x10(%rax)
callq 0x1b084
testl %eax, %eax
je 0x122ad
movq (%r14), %rax
movq 0x50(%rax), %rax
movl $0xe6, 0xc(%rax)
movq 0x48(%rbx), %rsi
leaq 0xaa13(%rip), %rdi      # 0x1ccb9
xorl %eax, %eax
callq 0x1b983
subq 0x48(%rbx), %r13
movq %r13, 0x50(%rbx)
movq 0x8(%rsp), %rax
movq %rax, 0x58(%rbx)
cmpl $0x0, (%r12)
je 0x1222e
movq (%r14), %rax
movq 0x50(%rax), %rax
leaq 0xa9dc(%rip), %rdi      # 0x1ccb3
movq %rdi, 0x10(%rax)
callq 0x1b084
testl %eax, %eax
je 0x1222e
movq (%r14), %rax
movq 0x50(%rax), %rax
movl $0xe9, 0xc(%rax)
movq 0x50(%rbx), %rsi
movq 0x58(%rbx), %rdx
leaq 0xa9bd(%rip), %rdi      # 0x1ccc2
xorl %eax, %eax
callq 0x1b983
jmp 0x1222e
leaq 0xa966(%rip), %rdi      # 0x1cc7e
leaq 0xa8b9(%rip), %rsi      # 0x1cbd8
leaq 0xa964(%rip), %rcx      # 0x1cc8a
movl $0xd6, %edx
callq 0x2100
leaq 0xa972(%rip), %rdi      # 0x1cca9
leaq 0xa89a(%rip), %rsi      # 0x1cbd8
leaq 0xa945(%rip), %rcx      # 0x1cc8a
movl $0xd9, %edx
callq 0x2100