// File: /workspace/github_c_makefile_star2_O3/dalnefre[P]kernel_abe/schemer.c
// Function: eval_spawn_beh
BEH_DECL(eval_spawn_beh)
{
	CONS* p;
	CONS* msg;
	CONS* a;

	DBUG_ENTER("eval_spawn_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)));
		SEND(to, ATOM("ok"));
		a = ACTOR(sink_beh, NIL);
		msg = mk_pair(expr, env);
		msg = mk_pair(a, msg);
		SEND(eval_seq__actor, msg);
	} 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 $0x28, %rsp
movq %rdi, %rbx
leaq 0x13247(%rip), %rax     # 0x18239
movq %rsp, %rdi
movq %rax, (%rdi)
leaq 0x1a321(%rip), %rbp     # 0x1f320
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x2fb, 0xc(%rdi)       # imm = 0x2FB
leaq 0x159c5(%rip), %r14     # 0x1a9e0
movq %r14, 0x10(%rdi)
leaq 0x1a11a(%rip), %rcx     # 0x1f140
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x16ea2
movq 0x30(%rbx), %rdi
callq 0x1518d
testq %rax, %rax
je 0x51af
movq 0x30(%rbx), %rdi
callq 0x1518d
testb $0x3, %al
jne 0x51af
movq 0x30(%rbx), %rdi
callq 0x1518d
cmpq 0x19f5a(%rip), %rax     # 0x1efc0
je 0x51af
movq 0x30(%rbx), %rdi
callq 0x1518d
movq %rax, %rdi
callq 0x1518d
testq %rax, %rax
je 0x51af
movq 0x30(%rbx), %rdi
callq 0x1518d
movq %rax, %rdi
callq 0x1518d
testb $0x3, %al
jne 0x51af
movq 0x30(%rbx), %rdi
callq 0x1518d
movq %rax, %rdi
callq 0x1518d
cmpq 0x19f09(%rip), %rax     # 0x1efc0
je 0x51af
movq %rax, %r12
movq 0x30(%rbx), %rdi
callq 0x1518d
movq %rax, %rdi
callq 0x150ee
movq %rax, %r13
movq %r12, %rdi
callq 0x150ee
movq %rax, %r15
movq %r12, %rdi
callq 0x1518d
movq %rax, %r12
leaq 0x1a7ff(%rip), %rax     # 0x1f8f0
cmpl $0x0, (%rax)
je 0x5136
movq (%rbp), %rax
movq 0x50(%rax), %rax
movq %r14, 0x10(%rax)
movq %r14, %rdi
callq 0x16604
testl %eax, %eax
je 0x5136
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl $0x301, 0xc(%rax)       # imm = 0x301
movq %r15, %rdi
callq 0xf0bc
leaq 0x12fc0(%rip), %rdi     # 0x180ec
movq %rax, %rsi
xorl %eax, %eax
callq 0x16f13
leaq 0x12f96(%rip), %rdi     # 0x180d3
callq 0x1257b
movq %rbx, %rdi
movq %r13, %rsi
movq %rax, %rdx
callq 0xde17
leaq 0x80bd(%rip), %rsi      # 0xd214
leaq 0x1a132(%rip), %rdx     # 0x1f290
movq %rbx, %rdi
callq 0xdd3a
movq %rax, %r14
movq %r15, %rdi
movq %r12, %rsi
callq 0x150cc
movq %r14, %rdi
movq %rax, %rsi
callq 0x150cc
movq 0x1a1e2(%rip), %rsi     # 0x1f368
movq %rbx, %rdi
movq %rax, %rdx
callq 0xde17
movq %rsp, %rdi
movl $0x30b, 0xc(%rdi)       # imm = 0x30B
callq 0x17027
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1a73a(%rip), %rax     # 0x1f8f0
cmpl $0x0, (%rax)
je 0x5204
movq (%rbp), %rax
movq 0x50(%rax), %rax
movq %r14, 0x10(%rax)
movq %r14, %rdi
callq 0x16604
testl %eax, %eax
je 0x5204
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl $0x308, 0xc(%rax)       # imm = 0x308
movq 0x30(%rbx), %rdi
callq 0x1518d
movq %rax, %rdi
callq 0xf0bc
leaq 0x12e66(%rip), %rdi     # 0x18060
movq %rax, %rsi
xorl %eax, %eax
callq 0x16f13
callq 0x2050