// File: /workspace/github_c_makefile_star2_O0/dalnefre[P]kernel_abe/schemer.c
// Function: frame_beh
BEH_DECL(frame_beh)
{
	CONS* parent = MINE;
	CONS* p;
	CONS* state;
	CONS* msg;
	CONS* a;

	DBUG_ENTER("frame_beh");
	if (is_pair(WHAT) && is_pair(p = pr_tail(WHAT))) {
		CONS* to = pr_head(WHAT);
		CONS* expr = pr_head(p);
		CONS* env = pr_tail(p);
		CONS* verb;
		CONS* n;

		DBUG_PRINT("", ("expr = %s", cons_to_str(expr)));
		p = expr;
		verb = lst_first(p);
		p = lst_rest(p);
		n = lst_first(p);
		p = lst_rest(p);
		if (verb == ATOM("define")) {
			CONS* v = lst_first(p);

			DBUG_PRINT("", ("n = %s", cons_to_str(n)));
			DBUG_PRINT("", ("v = %s", cons_to_str(v)));
			a = ACTOR(THIS, parent);
			state = mk_pair(n, v);
			state = mk_pair(a, state);
			BECOME(binding_beh, state);
			SEND(to, ATOM("ok"));
		} else if (is_actor(parent)) {
			SEND(parent, WHAT);
		} else {
			DBUG_PRINT("", ("unknown"));
			msg = mk_list(n, mk_empty());
			msg = mk_list(ATOM("unknown-symbol"), msg);
			FAIL(env, msg);
		}
	} else {
		DBUG_PRINT("", ("Ignored! %s", cons_to_str(WHAT)));
		abort();
	}
	DBUG_RETURN;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xe0, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x1c1b0
movq %rax, %rdi
callq 0x11430
movq %rax, -0x10(%rbp)
leaq 0x1cdb3(%rip), %rax     # 0x200e2
movq %rax, -0x58(%rbp)
leaq 0x22fd6(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %eax
movl %eax, -0x50(%rbp)
movl $0x13c, -0x4c(%rbp)     # imm = 0x13C
leaq 0x1f837(%rip), %rax     # 0x22b8c
movq %rax, -0x48(%rbp)
leaq 0x22dd0(%rip), %rax     # 0x26130
movq %rax, -0x40(%rbp)
leaq 0x22fa5(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
movq %rax, -0x38(%rbp)
leaq -0x58(%rbp), %rdi
callq 0x1f2c0
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x1c340
movq %rax, %rcx
xorl %eax, %eax
cmpq $0x0, %rcx
movb %al, -0x89(%rbp)
je 0x33bb
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x1c340
andq $0x3, %rax
cmpq $0x0, %rax
sete %al
movb %al, -0x89(%rbp)
movb -0x89(%rbp), %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0x38be
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x1c340
leaq 0x22e9a(%rip), %rcx     # 0x26280
cmpq %rcx, %rax
sete %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
jne 0x38be
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x1c340
movq %rax, %rdi
callq 0x1c340
movq %rax, %rcx
movq %rcx, -0x18(%rbp)
xorl %eax, %eax
cmpq $0x0, %rcx
movb %al, -0x8a(%rbp)
je 0x3451
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x1c340
movq %rax, %rdi
callq 0x1c340
movq %rax, -0x18(%rbp)
andq $0x3, %rax
cmpq $0x0, %rax
sete %al
movb %al, -0x8a(%rbp)
movb -0x8a(%rbp), %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0x38be
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x1c340
movq %rax, %rdi
callq 0x1c340
movq %rax, -0x18(%rbp)
leaq 0x22df8(%rip), %rcx     # 0x26280
cmpq %rcx, %rax
sete %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
jne 0x38be
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x1c340
movq %rax, %rdi
callq 0x1c1b0
movq %rax, -0x60(%rbp)
movq -0x18(%rbp), %rdi
callq 0x1c1b0
movq %rax, -0x68(%rbp)
movq -0x18(%rbp), %rdi
callq 0x1c340
movq %rax, -0x70(%rbp)
leaq 0x23407(%rip), %rax     # 0x268e0
cmpl $0x0, (%rax)
je 0x3537
leaq 0x22e2b(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
leaq 0x1f699(%rip), %rcx     # 0x22b8c
movq %rcx, 0x10(%rax)
leaq 0x1f68e(%rip), %rdi     # 0x22b8c
callq 0x1e6d0
cmpl $0x0, %eax
je 0x3537
leaq 0x22e01(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
movl $0x144, 0xc(%rax)       # imm = 0x144
movq -0x68(%rbp), %rdi
callq 0x14080
movq %rax, %rsi
leaq 0x1cbbc(%rip), %rdi     # 0x200ec
movb $0x0, %al
callq 0x1f370
jmp 0x3539
movq -0x68(%rbp), %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
callq 0x1c1b0
movq %rax, -0x78(%rbp)
movq -0x18(%rbp), %rdi
callq 0x1c340
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
callq 0x1c1b0
movq %rax, -0x80(%rbp)
movq -0x18(%rbp), %rdi
callq 0x1c340
movq %rax, -0x18(%rbp)
movq -0x78(%rbp), %rax
movq %rax, -0x98(%rbp)
leaq 0x1cb28(%rip), %rdi     # 0x200af
callq 0x18510
movq %rax, %rcx
movq -0x98(%rbp), %rax
cmpq %rcx, %rax
jne 0x373b
movq -0x18(%rbp), %rdi
callq 0x1c1b0
movq %rax, -0x88(%rbp)
leaq 0x2332a(%rip), %rax     # 0x268e0
cmpl $0x0, (%rax)
je 0x3614
leaq 0x22d4e(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
leaq 0x1f5bc(%rip), %rcx     # 0x22b8c
movq %rcx, 0x10(%rax)
leaq 0x1f5b1(%rip), %rdi     # 0x22b8c
callq 0x1e6d0
cmpl $0x0, %eax
je 0x3614
leaq 0x22d24(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
movl $0x14d, 0xc(%rax)       # imm = 0x14D
movq -0x80(%rbp), %rdi
callq 0x14080
movq %rax, %rsi
leaq 0x1caae(%rip), %rdi     # 0x200bb
movb $0x0, %al
callq 0x1f370
jmp 0x3616
jmp 0x3618
leaq 0x232c1(%rip), %rax     # 0x268e0
cmpl $0x0, (%rax)
je 0x3680
leaq 0x22ce5(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
leaq 0x1f553(%rip), %rcx     # 0x22b8c
movq %rcx, 0x10(%rax)
leaq 0x1f548(%rip), %rdi     # 0x22b8c
callq 0x1e6d0
cmpl $0x0, %eax
je 0x3680
leaq 0x22cbb(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
movl $0x14e, 0xc(%rax)       # imm = 0x14E
movq -0x88(%rbp), %rdi
callq 0x14080
movq %rax, %rsi
leaq 0x1ca49(%rip), %rdi     # 0x200c2
movb $0x0, %al
callq 0x1f370
jmp 0x3682
movq -0x8(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x1c1b0
movq %rax, %rdi
callq 0x113c0
movq -0xb0(%rbp), %rdi
movq %rax, %rsi
movq -0x10(%rbp), %rdx
callq 0x12520
movq %rax, -0x30(%rbp)
movq -0x80(%rbp), %rdi
movq -0x88(%rbp), %rsi
callq 0x1c0c0
movq %rax, -0x20(%rbp)
movq -0x30(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq 0x1c0c0
movq %rax, -0x20(%rbp)
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x1c1b0
movq %rax, %rdi
movq -0x20(%rbp), %rdx
leaq -0xa99(%rip), %rsi      # 0x2c60
callq 0x11910
movq -0x8(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0x60(%rbp), %rax
movq %rax, -0xa0(%rbp)
leaq 0x1c9b8(%rip), %rdi     # 0x200d3
callq 0x18510
movq -0xa8(%rbp), %rdi
movq -0xa0(%rbp), %rsi
movq %rax, %rdx
callq 0x12640
jmp 0x38bc
movq -0x10(%rbp), %rax
andq $0x3, %rax
cmpq $0x1, %rax
sete %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0x3795
movq -0x8(%rbp), %rax
movq %rax, -0xc0(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0xb8(%rbp)
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x1c340
movq -0xc0(%rbp), %rdi
movq -0xb8(%rbp), %rsi
movq %rax, %rdx
callq 0x12640
jmp 0x38ba
jmp 0x3797
leaq 0x23142(%rip), %rax     # 0x268e0
cmpl $0x0, (%rax)
je 0x37f0
leaq 0x22b66(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
leaq 0x1f3d4(%rip), %rcx     # 0x22b8c
movq %rcx, 0x10(%rax)
leaq 0x1f3c9(%rip), %rdi     # 0x22b8c
callq 0x1e6d0
cmpl $0x0, %eax
je 0x37f0
leaq 0x22b3c(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
movl $0x157, 0xc(%rax)       # imm = 0x157
leaq 0x1c90d(%rip), %rdi     # 0x200f6
movb $0x0, %al
callq 0x1f370
jmp 0x37f2
movq -0x80(%rbp), %rdi
leaq 0x22a83(%rip), %rsi     # 0x26280
callq 0x1c0c0
movq %rax, -0x28(%rbp)
leaq 0x1c8f1(%rip), %rdi     # 0x200fe
callq 0x18510
movq %rax, %rdi
movq -0x28(%rbp), %rsi
callq 0x1c0c0
movq %rax, -0x28(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0xd0(%rbp)
movq -0x70(%rbp), %rax
movq %rax, -0xc8(%rbp)
movq -0x8(%rbp), %rdi
movq -0x28(%rbp), %rdx
leaq -0x10b7(%rip), %rsi     # 0x2790
callq 0x12520
movq %rax, -0xd8(%rbp)
leaq 0x1c830(%rip), %rdi     # 0x2008a
callq 0x18510
movq %rax, -0xe0(%rbp)
callq 0x11360
movq %rax, %rdi
leaq 0x22a0b(%rip), %rsi     # 0x26280
callq 0x1c0c0
movq -0xe0(%rbp), %rdi
movq %rax, %rsi
callq 0x1c0c0
movq %rax, %rdi
movq -0x70(%rbp), %rsi
callq 0x1c0c0
movq -0xd8(%rbp), %rdi
movq %rax, %rsi
callq 0x1c0c0
movq -0xd0(%rbp), %rdi
movq -0xc8(%rbp), %rsi
movq %rax, %rdx
callq 0x12640
jmp 0x38bc
jmp 0x3938
jmp 0x38c0
leaq 0x23019(%rip), %rax     # 0x268e0
cmpl $0x0, (%rax)
je 0x3931
leaq 0x22a3d(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
leaq 0x1f2ab(%rip), %rcx     # 0x22b8c
movq %rcx, 0x10(%rax)
leaq 0x1f2a0(%rip), %rdi     # 0x22b8c
callq 0x1e6d0
cmpl $0x0, %eax
je 0x3931
leaq 0x22a13(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
movl $0x15d, 0xc(%rax)       # imm = 0x15D
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x1c340
movq %rax, %rdi
callq 0x14080
movq %rax, %rsi
leaq 0x1c736(%rip), %rdi     # 0x20060
movb $0x0, %al
callq 0x1f370
jmp 0x3933
callq 0x2050
movl $0x160, -0x4c(%rbp)     # imm = 0x160
leaq -0x58(%rbp), %rdi
callq 0x1f490
addq $0xe0, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)