// File: /workspace/github_c_makefile_star2_O1/dalnefre[P]kernel_abe/schemer.c
// Function: lambda_beh
BEH_DECL(lambda_beh)
{
	CONS* lambda = pr_head(MINE);
	CONS* lex = pr_tail(MINE);
	CONS* p;
	CONS* state;
	CONS* msg;
	CONS* a;

	DBUG_ENTER("lambda_beh");
	DBUG_PRINT("", ("lambda = %s", cons_to_str(lambda)));
	if (is_pair(WHAT) && is_pair(p = pr_tail(WHAT))) {
		CONS* to = pr_head(WHAT);
		CONS* expr = pr_head(p);
		CONS* dyn = pr_tail(p);

		DBUG_PRINT("", ("expr = %s", cons_to_str(expr)));
		a = ACTOR(frame_beh, lex);
		state = mk_pair(lambda, a);
		state = mk_pair(to, state);
		a = ACTOR(apply_lambda_beh, state);
		msg = mk_pair(expr, dyn);
		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 $0x38, %rsp
movq %rdi, %rbx
movq 0x30(%rdi), %rdi
callq 0x15186
movq %rax, %rdi
callq 0xd2f1
movq %rax, %rdi
callq 0x15186
movq %rax, %r14
movq 0x30(%rbx), %rdi
callq 0x15186
movq %rax, %rdi
callq 0xd2f1
movq %rax, %rdi
callq 0x15225
movq %rax, 0x8(%rsp)
leaq 0x14396(%rip), %rax     # 0x181ca
leaq 0x10(%rsp), %rdi
movq %rax, (%rdi)
leaq 0x1b4dd(%rip), %r15     # 0x1f320
movq (%r15), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x1de, 0xc(%rdi)       # imm = 0x1DE
leaq 0x16b82(%rip), %r12     # 0x1a9e0
movq %r12, 0x10(%rdi)
leaq 0x1b2d7(%rip), %rcx     # 0x1f140
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x16ef2
leaq 0x1ba73(%rip), %rax     # 0x1f8f0
cmpl $0x0, (%rax)
je 0x3ec0
movq (%r15), %rax
movq 0x50(%rax), %rax
movq %r12, 0x10(%rax)
movq %r12, %rdi
callq 0x16664
testl %eax, %eax
je 0x3ec0
movq (%r15), %rax
movq 0x50(%rax), %rax
movl $0x1df, 0xc(%rax)       # imm = 0x1DF
movq %r14, %rdi
callq 0xf17c
leaq 0x14303(%rip), %rdi     # 0x181b9
movq %rax, %rsi
xorl %eax, %eax
callq 0x16f63
movq 0x30(%rbx), %rdi
callq 0x15225
testq %rax, %rax
je 0x4056
movq 0x30(%rbx), %rdi
callq 0x15225
testb $0x3, %al
jne 0x4056
movq 0x30(%rbx), %rdi
callq 0x15225
cmpq 0x1b0cd(%rip), %rax     # 0x1efc0
je 0x4056
movq 0x30(%rbx), %rdi
callq 0x15225
movq %rax, %rdi
callq 0x15225
testq %rax, %rax
je 0x4056
movq 0x30(%rbx), %rdi
callq 0x15225
movq %rax, %rdi
callq 0x15225
testb $0x3, %al
jne 0x4056
movq 0x30(%rbx), %rdi
callq 0x15225
movq %rax, %rdi
callq 0x15225
cmpq 0x1b07c(%rip), %rax     # 0x1efc0
je 0x4056
movq %rax, %rbp
movq 0x30(%rbx), %rdi
callq 0x15225
movq %rax, %rdi
callq 0x15186
movq %rax, %r15
movq %rbp, %rdi
callq 0x15186
movq %rax, %r13
movq %rbp, %rdi
callq 0x15225
movq %rax, %rbp
leaq 0x1b972(%rip), %rax     # 0x1f8f0
cmpl $0x0, (%rax)
je 0x3fcf
leaq 0x1b396(%rip), %rax     # 0x1f320
movq (%rax), %rax
movq 0x50(%rax), %rax
movq %r12, 0x10(%rax)
movq %r12, %rdi
callq 0x16664
testl %eax, %eax
je 0x3fcf
leaq 0x1b378(%rip), %rax     # 0x1f320
movq (%rax), %rax
movq 0x50(%rax), %rax
movl $0x1e5, 0xc(%rax)       # imm = 0x1E5
movq %r13, %rdi
callq 0xf17c
leaq 0x14127(%rip), %rdi     # 0x180ec
movq %rax, %rsi
xorl %eax, %eax
callq 0x16f63
leaq -0xcf2(%rip), %rsi      # 0x32e4
movq %rbx, %rdi
movq 0x8(%rsp), %rdx
callq 0xde1a
movq %r14, %rdi
movq %rax, %rsi
callq 0x15164
movq %r15, %rdi
movq %rax, %rsi
callq 0x15164
leaq -0x8c3(%rip), %rsi      # 0x373d
movq %rbx, %rdi
movq %rax, %rdx
callq 0xde1a
movq %rax, %r14
movq %r13, %rdi
movq %rbp, %rsi
callq 0x15164
movq %r14, %rdi
movq %rax, %rsi
callq 0x15164
movq 0x1b345(%rip), %rsi     # 0x1f370
movq %rbx, %rdi
movq %rax, %rdx
callq 0xdef7
leaq 0x10(%rsp), %rdi
movl $0x1f1, 0xc(%rdi)       # imm = 0x1F1
callq 0x17077
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1b893(%rip), %rax     # 0x1f8f0
cmpl $0x0, (%rax)
je 0x40b7
leaq 0x1b2b7(%rip), %rax     # 0x1f320
movq (%rax), %rax
movq 0x50(%rax), %rax
movq %r12, 0x10(%rax)
movq %r12, %rdi
callq 0x16664
testl %eax, %eax
je 0x40b7
leaq 0x1b299(%rip), %rax     # 0x1f320
movq (%rax), %rax
movq 0x50(%rax), %rax
movl $0x1ee, 0xc(%rax)       # imm = 0x1EE
movq 0x30(%rbx), %rdi
callq 0x15225
movq %rax, %rdi
callq 0xf17c
leaq 0x13fb3(%rip), %rdi     # 0x18060
movq %rax, %rsi
xorl %eax, %eax
callq 0x16f63
callq 0x2050