// File: /workspace/github_c_makefile_star2_O3/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 0x11685
movq %rax, %r15
movq 0x14a2f(%rip), %rsi     # 0x1b148
movq %rax, %rdi
xorl %edx, %edx
callq 0x11aba
movq %rax, 0x8(%rsp)
movq 0x14a11(%rip), %rsi     # 0x1b140
movq %r15, %rdi
xorl %edx, %edx
callq 0x11aba
movq %rax, %r13
movq 0x14a15(%rip), %rsi     # 0x1b158
movq %r15, %rdi
xorl %edx, %edx
callq 0x11aba
movq %rax, %r15
leaq 0xdd2a(%rip), %rax      # 0x14481
leaq 0x10(%rsp), %rdi
movq %rax, (%rdi)
leaq 0x14c22(%rip), %rbp     # 0x1b388
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x470, 0xc(%rdi)       # imm = 0x470
leaq 0x10382(%rip), %r12     # 0x16b04
movq %r12, 0x10(%rdi)
leaq 0x149a3(%rip), %rcx     # 0x1b130
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x1339a
leaq 0xdcf2(%rip), %rdi      # 0x14493
callq 0xea73
movq 0x149fb(%rip), %rdx     # 0x1b1a8
movq %r15, %rdi
movq %rax, %rsi
callq 0x11b2c
movq 0x149e1(%rip), %rsi     # 0x1b1a0
movq 0x149a2(%rip), %rdx     # 0x1b168
movq %rax, %rdi
callq 0x11b2c
movq %rax, %r15
leaq 0x15158(%rip), %r14     # 0x1b930
cmpl $0x0, (%r14)
je 0x681e
movq (%rbp), %rax
movq 0x50(%rax), %rax
movq %r12, 0x10(%rax)
movq %r12, %rdi
callq 0x12afc
testl %eax, %eax
je 0x681e
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl $0x473, 0xc(%rax)       # imm = 0x473
movq %r15, %rdi
callq 0xb5b4
leaq 0xd8cb(%rip), %rdi      # 0x140df
movq %rax, %rsi
xorl %eax, %eax
callq 0x1340b
movq 0x14933(%rip), %rsi     # 0x1b158
leaq 0x14acc(%rip), %rdi     # 0x1b2f8
movq %r15, %rdx
callq 0x11b2c
movq 0x14905(%rip), %rsi     # 0x1b140
movq %rax, %rdi
movq %r13, %rdx
callq 0x11b2c
leaq -0x431(%rip), %rsi      # 0x641c
movq %rbx, %rdi
movq %rax, %rdx
callq 0xa232
movq %rax, %r13
cmpl $0x0, (%r14)
movq 0x8(%rsp), %r14
je 0x68a6
movq (%rbp), %rax
movq 0x50(%rax), %rax
movq %r12, 0x10(%rax)
movq %r12, %rdi
callq 0x12afc
testl %eax, %eax
je 0x68a6
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl $0x478, 0xc(%rax)       # imm = 0x478
movq %r14, %rdi
callq 0xb5b4
leaq 0xdcf9(%rip), %rdi      # 0x14595
movq %rax, %rsi
xorl %eax, %eax
callq 0x1340b
movq 0x148ab(%rip), %rsi     # 0x1b158
leaq 0x14a44(%rip), %rdi     # 0x1b2f8
movq %r15, %rdx
callq 0x11b2c
movq 0x1487d(%rip), %rsi     # 0x1b140
movq %rax, %rdi
movq %r13, %rdx
callq 0x11b2c
movq 0x14873(%rip), %rsi     # 0x1b148
movq %rax, %rdi
movq %r14, %rdx
callq 0x11b2c
movq 0x148a9(%rip), %rsi     # 0x1b190
movq %rbx, %rdi
movq %rax, %rdx
callq 0xa30f
leaq 0x10(%rsp), %rdi
movl $0x47e, 0xc(%rdi)       # imm = 0x47E
callq 0x1351f
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq