// File: /workspace/github_c_makefile_star2_O1/dalnefre[P]kernel_abe/reduce.c
// Function: function
BEH_DECL(function)
{
	CONS* msg = WHAT;
	CONS* expr = map_get(msg, expr_symbol);
	CONS* cont = map_get(msg, cont_symbol);
	CONS* dyn = map_get(msg, env_symbol);
	CONS* state = MINE;
	CONS* vars = map_get(state, ATOM("vars"));
	CONS* body = map_get(state, ATOM("body"));
	CONS* lex = map_get(state, env_symbol);
	CONS* apply;

	DBUG_ENTER("function");
	state = NIL;
	state = map_put(state, env_symbol, lex);
	state = map_put(state, cont_symbol, cont);
	state = map_put(state, ATOM("body"), body);
	state = map_put(state, ATOM("vars"), vars);
	apply = ACTOR(eval_function, state);
	msg = NIL;
	msg = map_put(msg, env_symbol, dyn);
	msg = map_put(msg, cont_symbol, apply);
	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 $0x48, %rsp
movq %rdi, %rbx
movq 0x30(%rdi), %rdi
callq 0x11655
movq %rax, %r14
movq 0x154d7(%rip), %rsi     # 0x1b148
movq %rax, %rdi
xorl %edx, %edx
callq 0x11a8a
movq %rax, 0x18(%rsp)
movq 0x154b9(%rip), %rsi     # 0x1b140
movq %r14, %rdi
xorl %edx, %edx
callq 0x11a8a
movq %rax, 0x8(%rsp)
movq 0x154bb(%rip), %rsi     # 0x1b158
movq %r14, %rdi
xorl %edx, %edx
callq 0x11a8a
movq %rax, 0x10(%rsp)
movq 0x30(%rbx), %rdi
callq 0x115b6
movq %rax, %rdi
callq 0x9721
movq %rax, %r12
leaq 0xe700(%rip), %rdi      # 0x143c7
callq 0xea8c
movq %r12, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x11a8a
movq %rax, %r14
leaq 0xe6e9(%rip), %rdi      # 0x143cc
callq 0xea8c
movq %r12, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x11a8a
movq %rax, %rbp
movq 0x15459(%rip), %rsi     # 0x1b158
movq %r12, %rdi
xorl %edx, %edx
callq 0x11a8a
movq %rax, %r15
leaq 0xe6f3(%rip), %rax      # 0x14406
leaq 0x20(%rsp), %r12
movq %rax, (%r12)
leaq 0x15665(%rip), %rax     # 0x1b388
movq (%rax), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%r12)
movl $0x3c5, 0xc(%r12)       # imm = 0x3C5
leaq 0x10dc2(%rip), %rcx     # 0x16b04
movq %rcx, 0x10(%r12)
leaq 0x153e2(%rip), %rcx     # 0x1b130
movq %rcx, 0x18(%r12)
movq %rax, 0x20(%r12)
movq %r12, %rdi
callq 0x13322
movq 0x153f1(%rip), %rsi     # 0x1b158
leaq 0x1558a(%rip), %r13     # 0x1b2f8
movq %r13, %rdi
movq %r15, %rdx
callq 0x11afc
movq 0x153c0(%rip), %rsi     # 0x1b140
movq %rax, %rdi
movq 0x8(%rsp), %rdx
callq 0x11afc
movq %rax, %r15
leaq 0xe635(%rip), %rdi      # 0x143cc
callq 0xea8c
movq %r15, %rdi
movq %rax, %rsi
movq %rbp, %rdx
callq 0x11afc
movq %rax, %r15
leaq 0xe613(%rip), %rdi      # 0x143c7
callq 0xea8c
movq %r15, %rdi
movq %rax, %rsi
movq %r14, %rdx
callq 0x11afc
leaq -0x403(%rip), %rsi      # 0x59cb
movq %rbx, %rdi
movq %rax, %rdx
callq 0xa24a
movq %rax, %r14
movq 0x15375(%rip), %rsi     # 0x1b158
movq %r13, %rdi
movq 0x10(%rsp), %rdx
callq 0x11afc
movq 0x15349(%rip), %rsi     # 0x1b140
movq %rax, %rdi
movq %r14, %rdx
callq 0x11afc
movq 0x1533f(%rip), %rsi     # 0x1b148
movq %rax, %rdi
movq 0x18(%rsp), %rdx
callq 0x11afc
movq 0x15373(%rip), %rsi     # 0x1b190
movq %rbx, %rdi
movq %rax, %rdx
callq 0xa327
movl $0x3d1, 0xc(%r12)       # imm = 0x3D1
movq %r12, %rdi
callq 0x134a7
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq