// File: /workspace/github_c_makefile_star2_O2/dalnefre[P]kernel_abe/schemer.c
// Function: fn_eval_beh
BEH_DECL(fn_eval_beh)
{
	CONS* beh = MINE;
	CONS* p;
	CONS* state;
	CONS* msg;
	CONS* a;

	DBUG_ENTER("fn_eval_beh");
	DBUG_PRINT("", ("beh = %s", cons_to_str(beh)));
	assert(funcp(beh));
	if (is_pair(WHAT) && is_pair(p = pr_tail(WHAT))) {
		CONS* to = pr_head(WHAT);
		CONS* expr = pr_head(p);
		CONS* env = pr_tail(p);

		DBUG_PRINT("", ("expr = %s", cons_to_str(expr)));
		state = mk_pair(to, env);
		a = ACTOR(MK_BEH(beh), state);
		msg = mk_pair(expr, env);
		msg = mk_pair(a, msg);
		SEND(eval_par__actor, msg);
	} else {
		DBUG_PRINT("", ("Ignored! %s", cons_to_str(WHAT)));
		abort();
	}
	DBUG_RETURN;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq 0x30(%rdi), %rdi
callq 0x147fb
movq %rax, %rdi
callq 0xcd5b
movq %rax, %r14
leaq 0xf33e(%rip), %rax      # 0x1739b
movq %rsp, %rdi
movq %rax, (%rdi)
leaq 0x162b6(%rip), %r12     # 0x1e320
movq (%r12), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x674, 0xc(%rdi)       # imm = 0x674
leaq 0x11936(%rip), %r15     # 0x199bc
movq %r15, 0x10(%rdi)
leaq 0x160af(%rip), %rcx     # 0x1e140
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x16679
leaq 0x1684b(%rip), %rax     # 0x1e8f0
cmpl $0x0, (%rax)
je 0x80ea
movq (%r12), %rax
movq 0x50(%rax), %rax
movq %r15, 0x10(%rax)
movq %r15, %rdi
callq 0x15df4
testl %eax, %eax
je 0x80ea
movq (%r12), %rax
movq 0x50(%rax), %rax
movl $0x675, 0xc(%rax)       # imm = 0x675
movq %r14, %rdi
callq 0xed08
leaq 0xf2c7(%rip), %rdi      # 0x173a7
movq %rax, %rsi
xorl %eax, %eax
callq 0x166f0
movl %r14d, %eax
notl %eax
testb $0x3, %al
jne 0x82d2
movq 0x30(%rbx), %rdi
callq 0x14906
testq %rax, %rax
je 0x826c
movq 0x30(%rbx), %rdi
callq 0x14906
testb $0x3, %al
jne 0x826c
movq 0x30(%rbx), %rdi
callq 0x14906
cmpq 0x15e96(%rip), %rax     # 0x1dfc0
je 0x826c
movq 0x30(%rbx), %rdi
callq 0x14906
movq %rax, %rdi
callq 0x14906
testq %rax, %rax
je 0x826c
movq 0x30(%rbx), %rdi
callq 0x14906
movq %rax, %rdi
callq 0x14906
testb $0x3, %al
jne 0x826c
movq 0x30(%rbx), %rdi
callq 0x14906
movq %rax, %rdi
callq 0x14906
cmpq 0x15e45(%rip), %rax     # 0x1dfc0
je 0x826c
movq %rax, %r13
movq 0x30(%rbx), %rdi
callq 0x14906
movq %rax, %rdi
callq 0x147fb
movq %rax, %rbp
movq %r13, %rdi
callq 0x147fb
movq %rax, %r12
movq %r13, %rdi
callq 0x14906
movq %rax, %r13
leaq 0x1673b(%rip), %rax     # 0x1e8f0
cmpl $0x0, (%rax)
je 0x8206
leaq 0x1615f(%rip), %rax     # 0x1e320
movq (%rax), %rax
movq 0x50(%rax), %rax
movq %r15, 0x10(%rax)
movq %r15, %rdi
callq 0x15df4
testl %eax, %eax
je 0x8206
leaq 0x16141(%rip), %rax     # 0x1e320
movq (%rax), %rax
movq 0x50(%rax), %rax
movl $0x67c, 0xc(%rax)       # imm = 0x67C
movq %r12, %rdi
callq 0xed08
leaq 0xeef0(%rip), %rdi      # 0x170ec
movq %rax, %rsi
xorl %eax, %eax
callq 0x166f0
movq %rbp, %rdi
movq %r13, %rsi
callq 0x14764
sarq $0x2, %r14
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0xd9b7
movq %rax, %r14
movq %r12, %rdi
movq %r13, %rsi
callq 0x14764
movq %r14, %rdi
movq %rax, %rsi
callq 0x14764
movq 0x1612d(%rip), %rsi     # 0x1e370
movq %rbx, %rdi
movq %rax, %rdx
callq 0xda94
movq %rsp, %rdi
movl $0x686, 0xc(%rdi)       # imm = 0x686
callq 0x167f2
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1667d(%rip), %rax     # 0x1e8f0
cmpl $0x0, (%rax)
je 0x82cd
leaq 0x160a1(%rip), %rax     # 0x1e320
movq (%rax), %rax
movq 0x50(%rax), %rax
movq %r15, 0x10(%rax)
movq %r15, %rdi
callq 0x15df4
testl %eax, %eax
je 0x82cd
leaq 0x16083(%rip), %rax     # 0x1e320
movq (%rax), %rax
movq 0x50(%rax), %rax
movl $0x683, 0xc(%rax)       # imm = 0x683
movq 0x30(%rbx), %rdi
callq 0x14906
movq %rax, %rdi
callq 0xed08
leaq 0xed9d(%rip), %rdi      # 0x17060
movq %rax, %rsi
xorl %eax, %eax
callq 0x166f0
callq 0x2050
leaq 0xf0d7(%rip), %rdi      # 0x173b0
leaq 0xf0db(%rip), %rsi      # 0x173bb
leaq 0xf0de(%rip), %rcx      # 0x173c5
movl $0x676, %edx            # imm = 0x676
callq 0x2100