// File: /workspace/github_c_makefile_star2_O0/dalnefre[P]kernel_abe/reduce.c
// Function: reduce_actor
BEH_DECL(reduce_actor)
{
	CONS* msg = WHAT;
	CONS* expr = map_get(msg, expr_symbol);
	CONS* cont = map_get(msg, cont_symbol);
	CONS* env = map_get(msg, env_symbol);
	CONS* state;
	CONS* actor;

	DBUG_ENTER("reduce_actor");
	env = map_put(env, ATOM("become"), a_become);			/* bind "become" in actor's environment */
	env = map_put(env, self_symbol, undefined_symbol);		/* reserve space for "self" binding */
	DBUG_PRINT("", ("env=%s", cons_to_str(env)));
	state = NIL;
	state = map_put(state, env_symbol, env);
	state = map_put(state, cont_symbol, cont);
	actor = ACTOR(eval_actor, state);
	DBUG_PRINT("", ("expr=%s", cons_to_str(expr)));
	msg = NIL;
	msg = map_put(msg, env_symbol, env);
	msg = map_put(msg, cont_symbol, actor);
	msg = map_put(msg, expr_symbol, expr);
	SEND(a_reduce_args, msg);
	DBUG_RETURN;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x16990
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rdi
movq 0x186a0(%rip), %rsi     # 0x20148
xorl %eax, %eax
movl %eax, %edx
callq 0x171b0
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rdi
movq 0x18680(%rip), %rsi     # 0x20140
xorl %eax, %eax
movl %eax, %edx
callq 0x171b0
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rdi
movq 0x18680(%rip), %rsi     # 0x20158
xorl %eax, %eax
movl %eax, %edx
callq 0x171b0
movq %rax, -0x28(%rbp)
leaq 0x12995(%rip), %rax     # 0x1a481
movq %rax, -0x60(%rbp)
leaq 0x18891(%rip), %rax     # 0x20388
movq (%rax), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %eax
movl %eax, -0x58(%rbp)
movl $0x470, -0x54(%rbp)     # imm = 0x470
leaq 0x1519e(%rip), %rax     # 0x1ccb0
movq %rax, -0x50(%rbp)
leaq 0x18613(%rip), %rax     # 0x20130
movq %rax, -0x48(%rbp)
leaq 0x18860(%rip), %rax     # 0x20388
movq (%rax), %rax
movq 0x50(%rax), %rax
movq %rax, -0x40(%rbp)
leaq -0x60(%rbp), %rdi
callq 0x19910
movq -0x28(%rbp), %rax
movq %rax, -0x68(%rbp)
leaq 0x12948(%rip), %rdi     # 0x1a493
callq 0x12b60
movq -0x68(%rbp), %rdi
movq %rax, %rsi
movq 0x1864a(%rip), %rdx     # 0x201a8
callq 0x172a0
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rdi
movq 0x1862e(%rip), %rsi     # 0x201a0
movq 0x185ef(%rip), %rdx     # 0x20168
callq 0x172a0
movq %rax, -0x28(%rbp)
leaq 0x18da7(%rip), %rax     # 0x20930
cmpl $0x0, (%rax)
je 0x7be7
leaq 0x187f3(%rip), %rax     # 0x20388
movq (%rax), %rax
movq 0x50(%rax), %rax
leaq 0x1510d(%rip), %rcx     # 0x1ccb0
movq %rcx, 0x10(%rax)
leaq 0x15102(%rip), %rdi     # 0x1ccb0
callq 0x18d20
cmpl $0x0, %eax
je 0x7be7
leaq 0x187c9(%rip), %rax     # 0x20388
movq (%rax), %rax
movq 0x50(%rax), %rax
movl $0x473, 0xc(%rax)       # imm = 0x473
movq -0x28(%rbp), %rdi
callq 0xe6d0
movq %rax, %rsi
leaq 0x124ff(%rip), %rdi     # 0x1a0df
movb $0x0, %al
callq 0x199c0
jmp 0x7be9
leaq 0x18708(%rip), %rax     # 0x202f8
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rdi
movq 0x18559(%rip), %rsi     # 0x20158
movq -0x28(%rbp), %rdx
callq 0x172a0
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rdi
movq 0x18529(%rip), %rsi     # 0x20140
movq -0x20(%rbp), %rdx
callq 0x172a0
movq %rax, -0x30(%rbp)
movq -0x8(%rbp), %rdi
movq -0x30(%rbp), %rdx
leaq -0x573(%rip), %rsi      # 0x76c0
callq 0xcb70
movq %rax, -0x38(%rbp)
leaq 0x18ced(%rip), %rax     # 0x20930
cmpl $0x0, (%rax)
je 0x7ca1
leaq 0x18739(%rip), %rax     # 0x20388
movq (%rax), %rax
movq 0x50(%rax), %rax
leaq 0x15053(%rip), %rcx     # 0x1ccb0
movq %rcx, 0x10(%rax)
leaq 0x15048(%rip), %rdi     # 0x1ccb0
callq 0x18d20
cmpl $0x0, %eax
je 0x7ca1
leaq 0x1870f(%rip), %rax     # 0x20388
movq (%rax), %rax
movq 0x50(%rax), %rax
movl $0x478, 0xc(%rax)       # imm = 0x478
movq -0x18(%rbp), %rdi
callq 0xe6d0
movq %rax, %rsi
leaq 0x128f9(%rip), %rdi     # 0x1a593
movb $0x0, %al
callq 0x199c0
jmp 0x7ca3
leaq 0x1864e(%rip), %rax     # 0x202f8
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rdi
movq 0x1849f(%rip), %rsi     # 0x20158
movq -0x28(%rbp), %rdx
callq 0x172a0
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rdi
movq 0x1846f(%rip), %rsi     # 0x20140
movq -0x38(%rbp), %rdx
callq 0x172a0
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rdi
movq 0x1845f(%rip), %rsi     # 0x20148
movq -0x18(%rbp), %rdx
callq 0x172a0
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq 0x1848f(%rip), %rsi     # 0x20190
movq -0x10(%rbp), %rdx
callq 0xcc90
movl $0x47e, -0x54(%rbp)     # imm = 0x47E
leaq -0x60(%rbp), %rdi
callq 0x19ae0
addq $0x70, %rsp
popq %rbp
retq