// File: /workspace/github_c_makefile_star2_O2/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 0x147fb
movq %rax, %rdi
callq 0xcd5b
movq %rax, %rdi
callq 0x147fb
movq %rax, %r14
movq 0x30(%rbx), %rdi
callq 0x147fb
movq %rax, %rdi
callq 0xcd5b
movq %rax, %rdi
callq 0x14906
movq %rax, 0x8(%rsp)
leaq 0x13234(%rip), %rax     # 0x171f3
leaq 0x10(%rsp), %rdi
movq %rax, (%rdi)
leaq 0x1a352(%rip), %r15     # 0x1e320
movq (%r15), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x23d, 0xc(%rdi)       # imm = 0x23D
leaq 0x159d3(%rip), %r12     # 0x199bc
movq %r12, 0x10(%rdi)
leaq 0x1a14c(%rip), %rcx     # 0x1e140
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x16679
leaq 0x1a8e8(%rip), %rax     # 0x1e8f0
cmpl $0x0, (%rax)
je 0x404b
movq (%r15), %rax
movq 0x50(%rax), %rax
movq %r12, 0x10(%rax)
movq %r12, %rdi
callq 0x15df4
testl %eax, %eax
je 0x404b
movq (%r15), %rax
movq 0x50(%rax), %rax
movl $0x23e, 0xc(%rax)       # imm = 0x23E
movq %r14, %rdi
callq 0xed08
leaq 0x131a3(%rip), %rdi     # 0x171e4
movq %rax, %rsi
xorl %eax, %eax
callq 0x166f0
movq 0x30(%rbx), %rdi
callq 0x14906
testq %rax, %rax
je 0x41e7
movq 0x30(%rbx), %rdi
callq 0x14906
testb $0x3, %al
jne 0x41e7
movq 0x30(%rbx), %rdi
callq 0x14906
cmpq 0x19f42(%rip), %rax     # 0x1dfc0
je 0x41e7
movq 0x30(%rbx), %rdi
callq 0x14906
movq %rax, %rdi
callq 0x14906
testq %rax, %rax
je 0x41e7
movq 0x30(%rbx), %rdi
callq 0x14906
movq %rax, %rdi
callq 0x14906
testb $0x3, %al
jne 0x41e7
movq 0x30(%rbx), %rdi
callq 0x14906
movq %rax, %rdi
callq 0x14906
cmpq 0x19ef1(%rip), %rax     # 0x1dfc0
je 0x41e7
movq %rax, %r15
movq 0x30(%rbx), %rdi
callq 0x14906
movq %rax, %rdi
callq 0x147fb
movq %rax, %rbp
movq %r15, %rdi
callq 0x147fb
movq %rax, %r13
movq %r15, %rdi
callq 0x14906
movq %rax, %r15
leaq 0x1a7e7(%rip), %rax     # 0x1e8f0
cmpl $0x0, (%rax)
je 0x415a
leaq 0x1a20b(%rip), %rax     # 0x1e320
movq (%rax), %rax
movq 0x50(%rax), %rax
movq %r12, 0x10(%rax)
movq %r12, %rdi
callq 0x15df4
testl %eax, %eax
je 0x415a
leaq 0x1a1ed(%rip), %rax     # 0x1e320
movq (%rax), %rax
movq 0x50(%rax), %rax
movl $0x244, 0xc(%rax)       # imm = 0x244
movq %r13, %rdi
callq 0xed08
leaq 0x12f9c(%rip), %rdi     # 0x170ec
movq %rax, %rsi
xorl %eax, %eax
callq 0x166f0
leaq -0x1275(%rip), %rsi     # 0x2eec
movq %rbx, %rdi
movq 0x8(%rsp), %rdx
callq 0xd9b7
movq %rax, %r12
movq %rbp, %rdi
movq %r15, %rsi
callq 0x14764
leaq -0x345(%rip), %rsi      # 0x3e3e
movq %rbx, %rdi
movq %rax, %rdx
callq 0xd9b7
movq %rax, %r15
movq %r14, %rdi
movq %r12, %rsi
callq 0x14764
movq %r15, %rdi
movq %rax, %rsi
callq 0x14764
leaq -0xe5d(%rip), %rsi      # 0x3351
movq %rbx, %rdi
movq %rax, %rdx
callq 0xd9b7
movq %rbx, %rdi
movq %rax, %rsi
movq %r13, %rdx
callq 0xda94
leaq 0x10(%rsp), %rdi
movl $0x250, 0xc(%rdi)       # imm = 0x250
callq 0x167f2
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1a702(%rip), %rax     # 0x1e8f0
cmpl $0x0, (%rax)
je 0x4248
leaq 0x1a126(%rip), %rax     # 0x1e320
movq (%rax), %rax
movq 0x50(%rax), %rax
movq %r12, 0x10(%rax)
movq %r12, %rdi
callq 0x15df4
testl %eax, %eax
je 0x4248
leaq 0x1a108(%rip), %rax     # 0x1e320
movq (%rax), %rax
movq 0x50(%rax), %rax
movl $0x24d, 0xc(%rax)       # imm = 0x24D
movq 0x30(%rbx), %rdi
callq 0x14906
movq %rax, %rdi
callq 0xed08
leaq 0x12e22(%rip), %rdi     # 0x17060
movq %rax, %rsi
xorl %eax, %eax
callq 0x166f0
callq 0x2050