// File: /workspace/github_c_makefile_star2_O2/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 0x10e46
movq %rax, %r14
movq 0x148e9(%rip), %rsi     # 0x1a158
movq %rax, %rdi
xorl %edx, %edx
callq 0x112c7
movq %rax, 0x18(%rsp)
movq 0x148cb(%rip), %rsi     # 0x1a150
movq %r14, %rdi
xorl %edx, %edx
callq 0x112c7
movq %rax, 0x8(%rsp)
movq 0x148cd(%rip), %rsi     # 0x1a168
movq %r14, %rdi
xorl %edx, %edx
callq 0x112c7
movq %rax, 0x10(%rsp)
movq 0x30(%rbx), %rdi
callq 0x10d3b
movq %rax, %rdi
callq 0x929b
movq %rax, %r12
leaq 0xdb02(%rip), %rdi      # 0x133c7
callq 0xe45f
movq %r12, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x112c7
movq %rax, %r14
leaq 0xdaeb(%rip), %rdi      # 0x133cc
callq 0xe45f
movq %r12, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x112c7
movq %rax, %rbp
movq 0x1486b(%rip), %rsi     # 0x1a168
movq %r12, %rdi
xorl %edx, %edx
callq 0x112c7
movq %rax, %r15
leaq 0xdaf5(%rip), %rax      # 0x13406
leaq 0x20(%rsp), %r12
movq %rax, (%r12)
leaq 0x14a77(%rip), %rax     # 0x1a398
movq (%rax), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%r12)
movl $0x3c5, 0xc(%r12)       # imm = 0x3C5
leaq 0x101a4(%rip), %rcx     # 0x15ae4
movq %rcx, 0x10(%r12)
leaq 0x147f4(%rip), %rcx     # 0x1a140
movq %rcx, 0x18(%r12)
movq %rax, 0x20(%r12)
movq %r12, %rdi
callq 0x12bb9
movq 0x14803(%rip), %rsi     # 0x1a168
leaq 0x1499c(%rip), %r13     # 0x1a308
movq %r13, %rdi
movq %r15, %rdx
callq 0x11339
movq 0x147d2(%rip), %rsi     # 0x1a150
movq %rax, %rdi
movq 0x8(%rsp), %rdx
callq 0x11339
movq %rax, %r15
leaq 0xda37(%rip), %rdi      # 0x133cc
callq 0xe45f
movq %r15, %rdi
movq %rax, %rsi
movq %rbp, %rdx
callq 0x11339
movq %rax, %r15
leaq 0xda15(%rip), %rdi      # 0x133c7
callq 0xe45f
movq %r15, %rdi
movq %rax, %rsi
movq %r14, %rdx
callq 0x11339
leaq -0x407(%rip), %rsi      # 0x55c5
movq %rbx, %rdi
movq %rax, %rdx
callq 0x9ef7
movq %rax, %r14
movq 0x14787(%rip), %rsi     # 0x1a168
movq %r13, %rdi
movq 0x10(%rsp), %rdx
callq 0x11339
movq 0x1475b(%rip), %rsi     # 0x1a150
movq %rax, %rdi
movq %r14, %rdx
callq 0x11339
movq 0x14751(%rip), %rsi     # 0x1a158
movq %rax, %rdi
movq 0x18(%rsp), %rdx
callq 0x11339
movq 0x14785(%rip), %rsi     # 0x1a1a0
movq %rbx, %rdi
movq %rax, %rdx
callq 0x9fd4
movl $0x3d1, 0xc(%r12)       # imm = 0x3D1
movq %r12, %rdi
callq 0x12d32
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq