// File: /workspace/github_c_makefile_star2_O0/dalnefre[P]kernel_abe/schemer.c
// Function: eval_cond_beh
BEH_DECL(eval_cond_beh)
{
	CONS* p;
	CONS* state;
	CONS* msg;
	CONS* a;

	DBUG_ENTER("eval_cond_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);

		DBUG_PRINT("", ("expr = %s", cons_to_str(expr)));
		if (is_pair(expr) && is_pair(pr_head(expr))) {
			CONS* phrase = lst_first(expr);
			CONS* pred = lst_first(phrase);

			DBUG_PRINT("", ("phrase = %s", cons_to_str(phrase)));
			DBUG_PRINT("", ("pred = %s", cons_to_str(pred)));
			msg = mk_pair(lst_rest(phrase), env);
			msg = mk_pair(to, msg);
			state = mk_pair(lst_rest(expr), env);
			state = mk_pair(to, state);
			state = mk_pair(SELF, state);
			a = ACTOR(apply_cond_beh, mk_pair(state, msg));
			if (pred == ATOM("else")) {
				SEND(a, TRUE_SYMBOL);
			} else {
				msg = mk_pair(pred, env);
				msg = mk_pair(a, msg);
				SEND(eval__actor, msg);
			}
		} else {
			DBUG_PRINT("", ("error"));
			msg = mk_list(ATOM("cond"), expr);
			FAIL(env, msg);
		}
	} else {
		DBUG_PRINT("", ("Ignored! %s", cons_to_str(WHAT)));
		abort();
	}
	DBUG_RETURN;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %rdi, -0x8(%rbp)
leaq 0x15fd7(%rip), %rax     # 0x2036d
movq %rax, -0x50(%rbp)
leaq 0x1bf6f(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %eax
movl %eax, -0x48(%rbp)
movl $0x605, -0x44(%rbp)     # imm = 0x605
leaq 0x187d0(%rip), %rax     # 0x22b8c
movq %rax, -0x40(%rbp)
leaq 0x1bd69(%rip), %rax     # 0x26130
movq %rax, -0x38(%rbp)
leaq 0x1bf3e(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
movq %rax, -0x30(%rbp)
leaq -0x50(%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, -0x79(%rbp)
je 0xa41c
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x1c340
andq $0x3, %rax
cmpq $0x0, %rax
sete %al
movb %al, -0x79(%rbp)
movb -0x79(%rbp), %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0xa981
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x1c340
leaq 0x1be3c(%rip), %rcx     # 0x26280
cmpq %rcx, %rax
sete %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
jne 0xa981
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x1c340
movq %rax, %rdi
callq 0x1c340
movq %rax, %rcx
movq %rcx, -0x10(%rbp)
xorl %eax, %eax
cmpq $0x0, %rcx
movb %al, -0x7a(%rbp)
je 0xa4a9
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x1c340
movq %rax, %rdi
callq 0x1c340
movq %rax, -0x10(%rbp)
andq $0x3, %rax
cmpq $0x0, %rax
sete %al
movb %al, -0x7a(%rbp)
movb -0x7a(%rbp), %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0xa981
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x1c340
movq %rax, %rdi
callq 0x1c340
movq %rax, -0x10(%rbp)
leaq 0x1bda3(%rip), %rcx     # 0x26280
cmpq %rcx, %rax
sete %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
jne 0xa981
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x1c340
movq %rax, %rdi
callq 0x1c1b0
movq %rax, -0x58(%rbp)
movq -0x10(%rbp), %rdi
callq 0x1c1b0
movq %rax, -0x60(%rbp)
movq -0x10(%rbp), %rdi
callq 0x1c340
movq %rax, -0x68(%rbp)
leaq 0x1c3b2(%rip), %rax     # 0x268e0
cmpl $0x0, (%rax)
je 0xa58c
leaq 0x1bdd6(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
leaq 0x18644(%rip), %rcx     # 0x22b8c
movq %rcx, 0x10(%rax)
leaq 0x18639(%rip), %rdi     # 0x22b8c
callq 0x1e6d0
cmpl $0x0, %eax
je 0xa58c
leaq 0x1bdac(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
movl $0x60b, 0xc(%rax)       # imm = 0x60B
movq -0x60(%rbp), %rdi
callq 0x14080
movq %rax, %rsi
leaq 0x15b67(%rip), %rdi     # 0x200ec
movb $0x0, %al
callq 0x1f370
jmp 0xa58e
xorl %eax, %eax
cmpq $0x0, -0x60(%rbp)
movb %al, -0x7b(%rbp)
je 0xa5ac
movq -0x60(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
sete %al
movb %al, -0x7b(%rbp)
movb -0x7b(%rbp), %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0xa86e
leaq 0x1bcb9(%rip), %rax     # 0x26280
cmpq %rax, -0x60(%rbp)
sete %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
jne 0xa86e
movq -0x60(%rbp), %rdi
callq 0x1c1b0
movq %rax, %rcx
xorl %eax, %eax
cmpq $0x0, %rcx
movb %al, -0x7c(%rbp)
je 0xa60d
movq -0x60(%rbp), %rdi
callq 0x1c1b0
andq $0x3, %rax
cmpq $0x0, %rax
sete %al
movb %al, -0x7c(%rbp)
movb -0x7c(%rbp), %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0xa86e
movq -0x60(%rbp), %rdi
callq 0x1c1b0
leaq 0x1bc4f(%rip), %rcx     # 0x26280
cmpq %rcx, %rax
sete %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
jne 0xa86e
movq -0x60(%rbp), %rdi
callq 0x1c1b0
movq %rax, -0x70(%rbp)
movq -0x70(%rbp), %rdi
callq 0x1c1b0
movq %rax, -0x78(%rbp)
leaq 0x1c277(%rip), %rax     # 0x268e0
cmpl $0x0, (%rax)
je 0xa6c7
leaq 0x1bc9b(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
leaq 0x18509(%rip), %rcx     # 0x22b8c
movq %rcx, 0x10(%rax)
leaq 0x184fe(%rip), %rdi     # 0x22b8c
callq 0x1e6d0
cmpl $0x0, %eax
je 0xa6c7
leaq 0x1bc71(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
movl $0x610, 0xc(%rax)       # imm = 0x610
movq -0x70(%rbp), %rdi
callq 0x14080
movq %rax, %rsi
leaq 0x15cbb(%rip), %rdi     # 0x2037b
movb $0x0, %al
callq 0x1f370
jmp 0xa6c9
jmp 0xa6cb
leaq 0x1c20e(%rip), %rax     # 0x268e0
cmpl $0x0, (%rax)
je 0xa730
leaq 0x1bc32(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
leaq 0x184a0(%rip), %rcx     # 0x22b8c
movq %rcx, 0x10(%rax)
leaq 0x18495(%rip), %rdi     # 0x22b8c
callq 0x1e6d0
cmpl $0x0, %eax
je 0xa730
leaq 0x1bc08(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
movl $0x611, 0xc(%rax)       # imm = 0x611
movq -0x78(%rbp), %rdi
callq 0x14080
movq %rax, %rsi
leaq 0x15c5e(%rip), %rdi     # 0x20387
movb $0x0, %al
callq 0x1f370
jmp 0xa732
movq -0x70(%rbp), %rdi
callq 0x1c340
movq %rax, %rdi
movq -0x68(%rbp), %rsi
callq 0x1c0c0
movq %rax, -0x20(%rbp)
movq -0x58(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq 0x1c0c0
movq %rax, -0x20(%rbp)
movq -0x60(%rbp), %rdi
callq 0x1c340
movq %rax, %rdi
movq -0x68(%rbp), %rsi
callq 0x1c0c0
movq %rax, -0x18(%rbp)
movq -0x58(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0x1c0c0
movq %rax, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x1c1b0
movq %rax, %rdi
movq -0x18(%rbp), %rsi
callq 0x1c0c0
movq %rax, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq 0x1c0c0
movq -0x90(%rbp), %rdi
movq %rax, %rdx
leaq -0x63c(%rip), %rsi      # 0xa190
callq 0x12520
movq %rax, -0x28(%rbp)
movq -0x78(%rbp), %rax
movq %rax, -0x88(%rbp)
leaq 0x15baa(%rip), %rdi     # 0x20391
callq 0x18510
movq %rax, %rcx
movq -0x88(%rbp), %rax
cmpq %rcx, %rax
jne 0xa833
movq -0x8(%rbp), %rax
movq %rax, -0xa0(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x98(%rbp)
movl $0x1, %edi
callq 0x4350
movq -0xa0(%rbp), %rdi
movq -0x98(%rbp), %rsi
movq %rax, %rdx
callq 0x12640
jmp 0xa869
movq -0x78(%rbp), %rdi
movq -0x68(%rbp), %rsi
callq 0x1c0c0
movq %rax, -0x20(%rbp)
movq -0x28(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq 0x1c0c0
movq %rax, -0x20(%rbp)
movq -0x8(%rbp), %rdi
movq 0x1bb08(%rip), %rsi     # 0x26368
movq -0x20(%rbp), %rdx
callq 0x12640
jmp 0xa97f
jmp 0xa870
leaq 0x1c069(%rip), %rax     # 0x268e0
cmpl $0x0, (%rax)
je 0xa8c9
leaq 0x1ba8d(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
leaq 0x182fb(%rip), %rcx     # 0x22b8c
movq %rcx, 0x10(%rax)
leaq 0x182f0(%rip), %rdi     # 0x22b8c
callq 0x1e6d0
cmpl $0x0, %eax
je 0xa8c9
leaq 0x1ba63(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
movl $0x620, 0xc(%rax)       # imm = 0x620
leaq 0x1596b(%rip), %rdi     # 0x2022d
movb $0x0, %al
callq 0x1f370
jmp 0xa8cb
leaq 0x15ac4(%rip), %rdi     # 0x20396
callq 0x18510
movq %rax, %rdi
movq -0x60(%rbp), %rsi
callq 0x1c0c0
movq %rax, -0x20(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq -0x68(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0x8(%rbp), %rdi
movq -0x20(%rbp), %rdx
leaq -0x817c(%rip), %rsi     # 0x2790
callq 0x12520
movq %rax, -0xb8(%rbp)
leaq 0x1576b(%rip), %rdi     # 0x2008a
callq 0x18510
movq %rax, -0xc0(%rbp)
callq 0x11360
movq %rax, %rdi
leaq 0x1b946(%rip), %rsi     # 0x26280
callq 0x1c0c0
movq -0xc0(%rbp), %rdi
movq %rax, %rsi
callq 0x1c0c0
movq %rax, %rdi
movq -0x68(%rbp), %rsi
callq 0x1c0c0
movq -0xb8(%rbp), %rdi
movq %rax, %rsi
callq 0x1c0c0
movq -0xb0(%rbp), %rdi
movq -0xa8(%rbp), %rsi
movq %rax, %rdx
callq 0x12640
jmp 0xa9fb
jmp 0xa983
leaq 0x1bf56(%rip), %rax     # 0x268e0
cmpl $0x0, (%rax)
je 0xa9f4
leaq 0x1b97a(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
leaq 0x181e8(%rip), %rcx     # 0x22b8c
movq %rcx, 0x10(%rax)
leaq 0x181dd(%rip), %rdi     # 0x22b8c
callq 0x1e6d0
cmpl $0x0, %eax
je 0xa9f4
leaq 0x1b950(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
movl $0x625, 0xc(%rax)       # imm = 0x625
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x1c340
movq %rax, %rdi
callq 0x14080
movq %rax, %rsi
leaq 0x15673(%rip), %rdi     # 0x20060
movb $0x0, %al
callq 0x1f370
jmp 0xa9f6
callq 0x2050
movl $0x628, -0x44(%rbp)     # imm = 0x628
leaq -0x50(%rbp), %rdi
callq 0x1f490
addq $0xc0, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)