// File: /workspace/github_c_makefile_star2_O3/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 0x150ee
movq %rax, %rdi
callq 0xd1e1
movq %rax, %rdi
callq 0x150ee
movq %rax, %r14
movq 0x30(%rbx), %rdi
callq 0x150ee
movq %rax, %rdi
callq 0xd1e1
movq %rax, %rdi
callq 0x1518d
movq %rax, 0x8(%rsp)
leaq 0x1446f(%rip), %rax     # 0x181ca
leaq 0x10(%rsp), %rdi
movq %rax, (%rdi)
leaq 0x1b5b6(%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 0x16c5b(%rip), %r12     # 0x1a9e0
movq %r12, 0x10(%rdi)
leaq 0x1b3b0(%rip), %rcx     # 0x1f140
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x16ea2
leaq 0x1bb4c(%rip), %rax     # 0x1f8f0
cmpl $0x0, (%rax)
je 0x3de7
movq (%r15), %rax
movq 0x50(%rax), %rax
movq %r12, 0x10(%rax)
movq %r12, %rdi
callq 0x16604
testl %eax, %eax
je 0x3de7
movq (%r15), %rax
movq 0x50(%rax), %rax
movl $0x1df, 0xc(%rax)       # imm = 0x1DF
movq %r14, %rdi
callq 0xf0bc
leaq 0x143dc(%rip), %rdi     # 0x181b9
movq %rax, %rsi
xorl %eax, %eax
callq 0x16f13
movq 0x30(%rbx), %rdi
callq 0x1518d
testq %rax, %rax
je 0x3f7d
movq 0x30(%rbx), %rdi
callq 0x1518d
testb $0x3, %al
jne 0x3f7d
movq 0x30(%rbx), %rdi
callq 0x1518d
cmpq 0x1b1a6(%rip), %rax     # 0x1efc0
je 0x3f7d
movq 0x30(%rbx), %rdi
callq 0x1518d
movq %rax, %rdi
callq 0x1518d
testq %rax, %rax
je 0x3f7d
movq 0x30(%rbx), %rdi
callq 0x1518d
movq %rax, %rdi
callq 0x1518d
testb $0x3, %al
jne 0x3f7d
movq 0x30(%rbx), %rdi
callq 0x1518d
movq %rax, %rdi
callq 0x1518d
cmpq 0x1b155(%rip), %rax     # 0x1efc0
je 0x3f7d
movq %rax, %rbp
movq 0x30(%rbx), %rdi
callq 0x1518d
movq %rax, %rdi
callq 0x150ee
movq %rax, %r15
movq %rbp, %rdi
callq 0x150ee
movq %rax, %r13
movq %rbp, %rdi
callq 0x1518d
movq %rax, %rbp
leaq 0x1ba4b(%rip), %rax     # 0x1f8f0
cmpl $0x0, (%rax)
je 0x3ef6
leaq 0x1b46f(%rip), %rax     # 0x1f320
movq (%rax), %rax
movq 0x50(%rax), %rax
movq %r12, 0x10(%rax)
movq %r12, %rdi
callq 0x16604
testl %eax, %eax
je 0x3ef6
leaq 0x1b451(%rip), %rax     # 0x1f320
movq (%rax), %rax
movq 0x50(%rax), %rax
movl $0x1e5, 0xc(%rax)       # imm = 0x1E5
movq %r13, %rdi
callq 0xf0bc
leaq 0x14200(%rip), %rdi     # 0x180ec
movq %rax, %rsi
xorl %eax, %eax
callq 0x16f13
leaq -0xc71(%rip), %rsi      # 0x328c
movq %rbx, %rdi
movq 0x8(%rsp), %rdx
callq 0xdd3a
movq %r14, %rdi
movq %rax, %rsi
callq 0x150cc
movq %r15, %rdi
movq %rax, %rsi
callq 0x150cc
leaq -0x836(%rip), %rsi      # 0x36f1
movq %rbx, %rdi
movq %rax, %rdx
callq 0xdd3a
movq %rax, %r14
movq %r13, %rdi
movq %rbp, %rsi
callq 0x150cc
movq %r14, %rdi
movq %rax, %rsi
callq 0x150cc
movq 0x1b41e(%rip), %rsi     # 0x1f370
movq %rbx, %rdi
movq %rax, %rdx
callq 0xde17
leaq 0x10(%rsp), %rdi
movl $0x1f1, 0xc(%rdi)       # imm = 0x1F1
callq 0x17027
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1b96c(%rip), %rax     # 0x1f8f0
cmpl $0x0, (%rax)
je 0x3fde
leaq 0x1b390(%rip), %rax     # 0x1f320
movq (%rax), %rax
movq 0x50(%rax), %rax
movq %r12, 0x10(%rax)
movq %r12, %rdi
callq 0x16604
testl %eax, %eax
je 0x3fde
leaq 0x1b372(%rip), %rax     # 0x1f320
movq (%rax), %rax
movq 0x50(%rax), %rax
movl $0x1ee, 0xc(%rax)       # imm = 0x1EE
movq 0x30(%rbx), %rdi
callq 0x1518d
movq %rax, %rdi
callq 0xf0bc
leaq 0x1408c(%rip), %rdi     # 0x18060
movq %rax, %rsi
xorl %eax, %eax
callq 0x16f13
callq 0x2050