// File: /workspace/github_c_makefile_star2_O2/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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
movq 0x30(%rdi), %rdi
callq 0x10e46
movq %rax, %r15
movq 0x13e08(%rip), %rsi     # 0x1a158
movq %rax, %rdi
xorl %edx, %edx
callq 0x112c7
movq %rax, 0x8(%rsp)
movq 0x13dea(%rip), %rsi     # 0x1a150
movq %r15, %rdi
xorl %edx, %edx
callq 0x112c7
movq %rax, %r13
movq 0x13dee(%rip), %rsi     # 0x1a168
movq %r15, %rdi
xorl %edx, %edx
callq 0x112c7
movq %rax, %r15
leaq 0xd0f3(%rip), %rax      # 0x13481
leaq 0x10(%rsp), %rdi
movq %rax, (%rdi)
leaq 0x13ffb(%rip), %rbp     # 0x1a398
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x470, 0xc(%rdi)       # imm = 0x470
leaq 0xf72b(%rip), %r12      # 0x15ae4
movq %r12, 0x10(%rdi)
leaq 0x13d7c(%rip), %rcx     # 0x1a140
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x12bb9
leaq 0xd0bb(%rip), %rdi      # 0x13493
callq 0xe45f
movq 0x13dd4(%rip), %rdx     # 0x1a1b8
movq %r15, %rdi
movq %rax, %rsi
callq 0x11339
movq 0x13dba(%rip), %rsi     # 0x1a1b0
movq 0x13d7b(%rip), %rdx     # 0x1a178
movq %rax, %rdi
callq 0x11339
movq %rax, %r15
leaq 0x14531(%rip), %r14     # 0x1a940
cmpl $0x0, (%r14)
je 0x6455
movq (%rbp), %rax
movq 0x50(%rax), %rax
movq %r12, 0x10(%rax)
movq %r12, %rdi
callq 0x12334
testl %eax, %eax
je 0x6455
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl $0x473, 0xc(%rax)       # imm = 0x473
movq %r15, %rdi
callq 0xb248
leaq 0xcc94(%rip), %rdi      # 0x130df
movq %rax, %rsi
xorl %eax, %eax
callq 0x12c30
movq 0x13d0c(%rip), %rsi     # 0x1a168
leaq 0x13ea5(%rip), %rdi     # 0x1a308
movq %r15, %rdx
callq 0x11339
movq 0x13cde(%rip), %rsi     # 0x1a150
movq %rax, %rdi
movq %r13, %rdx
callq 0x11339
leaq -0x431(%rip), %rsi      # 0x6053
movq %rbx, %rdi
movq %rax, %rdx
callq 0x9ef7
movq %rax, %r13
cmpl $0x0, (%r14)
movq 0x8(%rsp), %r14
je 0x64dd
movq (%rbp), %rax
movq 0x50(%rax), %rax
movq %r12, 0x10(%rax)
movq %r12, %rdi
callq 0x12334
testl %eax, %eax
je 0x64dd
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl $0x478, 0xc(%rax)       # imm = 0x478
movq %r14, %rdi
callq 0xb248
leaq 0xd0c2(%rip), %rdi      # 0x13595
movq %rax, %rsi
xorl %eax, %eax
callq 0x12c30
movq 0x13c84(%rip), %rsi     # 0x1a168
leaq 0x13e1d(%rip), %rdi     # 0x1a308
movq %r15, %rdx
callq 0x11339
movq 0x13c56(%rip), %rsi     # 0x1a150
movq %rax, %rdi
movq %r13, %rdx
callq 0x11339
movq 0x13c4c(%rip), %rsi     # 0x1a158
movq %rax, %rdi
movq %r14, %rdx
callq 0x11339
movq 0x13c82(%rip), %rsi     # 0x1a1a0
movq %rbx, %rdi
movq %rax, %rdx
callq 0x9fd4
leaq 0x10(%rsp), %rdi
movl $0x47e, 0xc(%rdi)       # imm = 0x47E
callq 0x12d32
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq