// File: /workspace/github_c_makefile_star2_O3/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 0xaa5c(%rip), %rax      # 0x1cc6c
leaq 0x10(%rsp), %rdi
movq %rax, (%rdi)
leaq 0x11111(%rip), %r14     # 0x23330
movq (%r14), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0xd4, 0xc(%rdi)
leaq 0xa110(%rip), %rcx      # 0x1c34a
movq %rcx, 0x10(%rdi)
leaq 0x10f63(%rip), %rcx     # 0x231a8
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x1ba26
movl $0x70, %edi
movl $0x1, %esi
callq 0x2160
testq %rax, %rax
je 0x12395
movq %rax, %rbx
testb $0x3, %bl
jne 0x123b4
leaq 0x11023(%rip), %r15     # 0x232a0
movq %r15, (%rbx)
movq %r15, 0x8(%rbx)
movq %rbx, %rax
sarq $0x2, %rax
movq %rax, 0x10(%rbx)
movq %rax, 0x18(%rbx)
movq %r15, 0x20(%rbx)
movq %r15, 0x30(%rbx)
movl %ebp, 0x40(%rbx)
movq %rsp, %rdi
xorl %esi, %esi
callq 0x20f0
testl %eax, %eax
je 0x122da
movq %r15, 0x60(%rbx)
movl $0x0, 0x68(%rbx)
leaq 0x10(%rsp), %rdi
movl $0xed, 0xc(%rdi)
callq 0x1bbab
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 0x11647(%rip), %r12     # 0x23930
cmpl $0x0, (%r12)
movq %r13, %rsi
je 0x12332
movq (%r14), %rax
movq 0x50(%rax), %rax
leaq 0xa9b2(%rip), %rdi      # 0x1ccb3
movq %rdi, 0x10(%rax)
callq 0x1b188
movq 0x48(%rbx), %rsi
testl %eax, %eax
je 0x12332
movq (%r14), %rax
movq 0x50(%rax), %rax
movl $0xe6, 0xc(%rax)
leaq 0xa992(%rip), %rdi      # 0x1ccb9
xorl %eax, %eax
callq 0x1ba97
movq 0x48(%rbx), %rsi
subq %rsi, %r13
movq %r13, 0x50(%rbx)
movq 0x8(%rsp), %rax
movq %rax, 0x58(%rbx)
cmpl $0x0, (%r12)
je 0x122ac
movq (%r14), %rax
movq 0x50(%rax), %rax
leaq 0xa958(%rip), %rdi      # 0x1ccb3
movq %rdi, 0x10(%rax)
callq 0x1b188
testl %eax, %eax
je 0x122ac
movq (%r14), %rax
movq 0x50(%rax), %rax
movl $0xe9, 0xc(%rax)
movq 0x50(%rbx), %rsi
movq 0x58(%rbx), %rdx
leaq 0xa939(%rip), %rdi      # 0x1ccc2
xorl %eax, %eax
callq 0x1ba97
jmp 0x122ac
leaq 0xa8e2(%rip), %rdi      # 0x1cc7e
leaq 0xa835(%rip), %rsi      # 0x1cbd8
leaq 0xa8e0(%rip), %rcx      # 0x1cc8a
movl $0xd6, %edx
callq 0x2100
leaq 0xa8ee(%rip), %rdi      # 0x1cca9
leaq 0xa816(%rip), %rsi      # 0x1cbd8
leaq 0xa8c1(%rip), %rcx      # 0x1cc8a
movl $0xd9, %edx
callq 0x2100