// File: /workspace/github_c_makefile_star2_O0/dalnefre[P]kernel_abe/schemer.c
// Function: apply_beh
BEH_DECL(apply_beh)
{
	CONS* p;

	DBUG_ENTER("apply_beh");
	if (is_pair(MINE) && is_pair(p = pr_tail(MINE))) {
/*		CONS* to = pr_head(MINE); */
/*		CONS* expr = pr_head(p); */
		CONS* env = pr_tail(p);

		if (actorp(WHAT)) {
			SEND(WHAT, MINE);
		} else {
			p = mk_list(WHAT, mk_empty());
			p = mk_list(ATOM("invalid-application"), p);
			FAIL(env, p);
		}
	} else {
		DBUG_PRINT("", ("Ignored! %s", cons_to_str(WHAT)));
		abort();
	}
	DBUG_RETURN;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x8(%rbp)
leaq 0x1d766(%rip), %rax     # 0x2006c
movq %rax, -0x38(%rbp)
leaq 0x239ff(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %eax
movl %eax, -0x30(%rbp)
movl $0xb4, -0x2c(%rbp)
leaq 0x20260(%rip), %rax     # 0x22b8c
movq %rax, -0x28(%rbp)
leaq 0x237f9(%rip), %rax     # 0x26130
movq %rax, -0x20(%rbp)
leaq 0x239ce(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
movq %rax, -0x18(%rbp)
leaq -0x38(%rbp), %rdi
callq 0x1f2c0
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x1c1b0
movq %rax, %rdi
callq 0x11430
movq %rax, %rcx
xorl %eax, %eax
cmpq $0x0, %rcx
movb %al, -0x41(%rbp)
je 0x299c
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x1c1b0
movq %rax, %rdi
callq 0x11430
andq $0x3, %rax
cmpq $0x0, %rax
sete %al
movb %al, -0x41(%rbp)
movb -0x41(%rbp), %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0x2bc7
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x1c1b0
movq %rax, %rdi
callq 0x11430
leaq 0x238b4(%rip), %rcx     # 0x26280
cmpq %rcx, %rax
sete %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
jne 0x2bc7
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x1c1b0
movq %rax, %rdi
callq 0x11430
movq %rax, %rdi
callq 0x1c340
movq %rax, %rcx
movq %rcx, -0x10(%rbp)
xorl %eax, %eax
cmpq $0x0, %rcx
movb %al, -0x42(%rbp)
je 0x2a41
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x1c1b0
movq %rax, %rdi
callq 0x11430
movq %rax, %rdi
callq 0x1c340
movq %rax, -0x10(%rbp)
andq $0x3, %rax
cmpq $0x0, %rax
sete %al
movb %al, -0x42(%rbp)
movb -0x42(%rbp), %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0x2bc7
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x1c1b0
movq %rax, %rdi
callq 0x11430
movq %rax, %rdi
callq 0x1c340
movq %rax, -0x10(%rbp)
leaq 0x23803(%rip), %rcx     # 0x26280
cmpq %rcx, %rax
sete %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
jne 0x2bc7
movq -0x10(%rbp), %rdi
callq 0x1c340
movq %rax, -0x40(%rbp)
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x1c340
andq $0x3, %rax
cmpq $0x1, %rax
sete %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0x2b09
movq -0x8(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x1c340
movq %rax, -0x50(%rbp)
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x1c1b0
movq %rax, %rdi
callq 0x11430
movq -0x58(%rbp), %rdi
movq -0x50(%rbp), %rsi
movq %rax, %rdx
callq 0x12640
jmp 0x2bc5
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x1c340
movq %rax, %rdi
leaq 0x23760(%rip), %rsi     # 0x26280
callq 0x1c0c0
movq %rax, -0x10(%rbp)
leaq 0x1d546(%rip), %rdi     # 0x20076
callq 0x18510
movq %rax, %rdi
movq -0x10(%rbp), %rsi
callq 0x1c0c0
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rdx
leaq -0x3d4(%rip), %rsi      # 0x2790
callq 0x12520
movq %rax, -0x70(%rbp)
leaq 0x1d516(%rip), %rdi     # 0x2008a
callq 0x18510
movq %rax, -0x78(%rbp)
callq 0x11360
movq %rax, %rdi
leaq 0x236f4(%rip), %rsi     # 0x26280
callq 0x1c0c0
movq -0x78(%rbp), %rdi
movq %rax, %rsi
callq 0x1c0c0
movq %rax, %rdi
movq -0x40(%rbp), %rsi
callq 0x1c0c0
movq -0x70(%rbp), %rdi
movq %rax, %rsi
callq 0x1c0c0
movq -0x68(%rbp), %rdi
movq -0x60(%rbp), %rsi
movq %rax, %rdx
callq 0x12640
jmp 0x2c41
jmp 0x2bc9
leaq 0x23d10(%rip), %rax     # 0x268e0
cmpl $0x0, (%rax)
je 0x2c3a
leaq 0x23734(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
leaq 0x1ffa2(%rip), %rcx     # 0x22b8c
movq %rcx, 0x10(%rax)
leaq 0x1ff97(%rip), %rdi     # 0x22b8c
callq 0x1e6d0
cmpl $0x0, %eax
je 0x2c3a
leaq 0x2370a(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
movl $0xc2, 0xc(%rax)
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x1c340
movq %rax, %rdi
callq 0x14080
movq %rax, %rsi
leaq 0x1d42d(%rip), %rdi     # 0x20060
movb $0x0, %al
callq 0x1f370
jmp 0x2c3c
callq 0x2050
movl $0xc5, -0x2c(%rbp)
leaq -0x38(%rbp), %rdi
callq 0x1f490
addq $0x80, %rsp
popq %rbp
retq
nopw (%rax,%rax)