// File: /workspace/github_c_makefile_star2_O1/dalnefre[P]kernel_abe/schemer.c
// Function: form_beh
BEH_DECL(form_beh)
{
	CONS* form = pr_head(MINE);
	CONS* lex = pr_tail(MINE);
	CONS* p;
	CONS* state;
	CONS* a;
	CONS* env;

	DBUG_ENTER("form_beh");
	DBUG_PRINT("", ("form = %s", cons_to_str(form)));
	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)));
		env = ACTOR(frame_beh, lex);
		state =  mk_pair(to, dyn);
		a = ACTOR(apply_form_beh, state);
		state = mk_pair(form, env);
		state = mk_pair(a, state);
		a = ACTOR(apply_lambda_beh, state);
		SEND(a, expr);
	} 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 0x13db7(%rip), %rax     # 0x181f3
leaq 0x10(%rsp), %rdi
movq %rax, (%rdi)
leaq 0x1aed5(%rip), %r15     # 0x1f320
movq (%r15), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x23d, 0xc(%rdi)       # imm = 0x23D
leaq 0x1657a(%rip), %r12     # 0x1a9e0
movq %r12, 0x10(%rdi)
leaq 0x1accf(%rip), %rcx     # 0x1f140
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x16ef2
leaq 0x1b46b(%rip), %rax     # 0x1f8f0
cmpl $0x0, (%rax)
je 0x44c8
movq (%r15), %rax
movq 0x50(%rax), %rax
movq %r12, 0x10(%rax)
movq %r12, %rdi
callq 0x16664
testl %eax, %eax
je 0x44c8
movq (%r15), %rax
movq 0x50(%rax), %rax
movl $0x23e, 0xc(%rax)       # imm = 0x23E
movq %r14, %rdi
callq 0xf17c
leaq 0x13d26(%rip), %rdi     # 0x181e4
movq %rax, %rsi
xorl %eax, %eax
callq 0x16f63
movq 0x30(%rbx), %rdi
callq 0x15225
testq %rax, %rax
je 0x4664
movq 0x30(%rbx), %rdi
callq 0x15225
testb $0x3, %al
jne 0x4664
movq 0x30(%rbx), %rdi
callq 0x15225
cmpq 0x1aac5(%rip), %rax     # 0x1efc0
je 0x4664
movq 0x30(%rbx), %rdi
callq 0x15225
movq %rax, %rdi
callq 0x15225
testq %rax, %rax
je 0x4664
movq 0x30(%rbx), %rdi
callq 0x15225
movq %rax, %rdi
callq 0x15225
testb $0x3, %al
jne 0x4664
movq 0x30(%rbx), %rdi
callq 0x15225
movq %rax, %rdi
callq 0x15225
cmpq 0x1aa74(%rip), %rax     # 0x1efc0
je 0x4664
movq %rax, %r15
movq 0x30(%rbx), %rdi
callq 0x15225
movq %rax, %rdi
callq 0x15186
movq %rax, %rbp
movq %r15, %rdi
callq 0x15186
movq %rax, %r13
movq %r15, %rdi
callq 0x15225
movq %rax, %r15
leaq 0x1b36a(%rip), %rax     # 0x1f8f0
cmpl $0x0, (%rax)
je 0x45d7
leaq 0x1ad8e(%rip), %rax     # 0x1f320
movq (%rax), %rax
movq 0x50(%rax), %rax
movq %r12, 0x10(%rax)
movq %r12, %rdi
callq 0x16664
testl %eax, %eax
je 0x45d7
leaq 0x1ad70(%rip), %rax     # 0x1f320
movq (%rax), %rax
movq 0x50(%rax), %rax
movl $0x244, 0xc(%rax)       # imm = 0x244
movq %r13, %rdi
callq 0xf17c
leaq 0x13b1f(%rip), %rdi     # 0x180ec
movq %rax, %rsi
xorl %eax, %eax
callq 0x16f63
leaq -0x12fa(%rip), %rsi     # 0x32e4
movq %rbx, %rdi
movq 0x8(%rsp), %rdx
callq 0xde1a
movq %rax, %r12
movq %rbp, %rdi
movq %r15, %rsi
callq 0x15164
leaq -0x345(%rip), %rsi      # 0x42bb
movq %rbx, %rdi
movq %rax, %rdx
callq 0xde1a
movq %rax, %r15
movq %r14, %rdi
movq %r12, %rsi
callq 0x15164
movq %r15, %rdi
movq %rax, %rsi
callq 0x15164
leaq -0xeee(%rip), %rsi      # 0x373d
movq %rbx, %rdi
movq %rax, %rdx
callq 0xde1a
movq %rbx, %rdi
movq %rax, %rsi
movq %r13, %rdx
callq 0xdef7
leaq 0x10(%rsp), %rdi
movl $0x250, 0xc(%rdi)       # imm = 0x250
callq 0x17077
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1b285(%rip), %rax     # 0x1f8f0
cmpl $0x0, (%rax)
je 0x46c5
leaq 0x1aca9(%rip), %rax     # 0x1f320
movq (%rax), %rax
movq 0x50(%rax), %rax
movq %r12, 0x10(%rax)
movq %r12, %rdi
callq 0x16664
testl %eax, %eax
je 0x46c5
leaq 0x1ac8b(%rip), %rax     # 0x1f320
movq (%rax), %rax
movq 0x50(%rax), %rax
movl $0x24d, 0xc(%rax)       # imm = 0x24D
movq 0x30(%rbx), %rdi
callq 0x15225
movq %rax, %rdi
callq 0xf17c
leaq 0x139a5(%rip), %rdi     # 0x18060
movq %rax, %rsi
xorl %eax, %eax
callq 0x16f63
callq 0x2050