// File: /workspace/github_c_makefile_star2_O1/dalnefre[P]kernel_abe/kernel.c
// Function: vau_type
static
BEH_DECL(vau_type)
{
	CONS* state = MINE;
	CONS* ptree;
	CONS* body;
	CONS* s_env;
	CONS* msg = WHAT;
	CONS* cust;
	CONS* req;

	DBUG_ENTER("vau_type");
	ENSURE(is_pr(state));
	ptree = hd(state);
	ENSURE(is_pr(tl(state)));
	body = hd(tl(state));
	s_env = tl(tl(state));
	ENSURE(is_pr(msg));
	cust = hd(msg);
	ENSURE(actorp(cust));
	req = tl(msg);

	DBUG_PRINT("ptree", ("%s", cons_to_str(ptree)));
	DBUG_PRINT("body", ("%s", cons_to_str(body)));
	DBUG_PRINT("s_env", ("%s", cons_to_str(s_env)));
	DBUG_PRINT("cust", ("%s", cons_to_str(cust)));
	DBUG_PRINT("req", ("%s", cons_to_str(req)));
	if (is_pr(req) && is_pr(tl(req))
	&& (hd(req) == ATOM("comb"))) {
		CONS* opnds = hd(tl(req));
		CONS* d_env = tl(tl(req));
		CONS* local = ACTOR(env_type, pr(s_env, NIL));
		CONS* formal = ACTOR(pair_type, pr(opnds, d_env));
		CONS* k_eval = ACTOR(eval_sequence_beh, pr(cust, pr(body, local)));

		DBUG_PRINT("opnds", ("%s", cons_to_str(opnds)));
		DBUG_PRINT("d_env", ("%s", cons_to_str(d_env)));
		SEND(ptree, pr(k_eval, pr(ATOM("match"), pr(formal, local))));
	} else {
		oper_type(CFG);  /* DELEGATE BEHAVIOR */
	}
	DBUG_RETURN;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
movq 0x30(%rdi), %rdi
callq 0x19ba6
movq %rax, %rdi
callq 0x11d11
movq %rax, %r12
movq 0x30(%rbx), %rdi
callq 0x19c45
movq %rax, %rbp
leaq 0xb762(%rip), %rax      # 0x1cb12
leaq 0x20(%rsp), %rdi
movq %rax, (%rdi)
leaq 0x11f71(%rip), %r15     # 0x23330
movq (%r15), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x759, 0xc(%rdi)       # imm = 0x759
leaq 0xaf70(%rip), %rcx      # 0x1c34a
movq %rcx, 0x10(%rdi)
leaq 0x11d6b(%rip), %rcx     # 0x23150
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x1b912
cmpq 0x11bc7(%rip), %r12     # 0x22fc0
je 0x1149d
testq %r12, %r12
je 0x1149d
movl %r12d, %eax
andl $0x3, %eax
jne 0x1149d
movq %r12, %rdi
callq 0x19ba6
movq %rax, %r14
movq %r12, %rdi
callq 0x19c45
testq %rax, %rax
je 0x1143c
movq %r12, %rdi
callq 0x19c45
testb $0x3, %al
je 0x11518
leaq -0xb84e(%rip), %rsi     # 0x5bf5
leaq 0x11e56(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0xb0d7(%rip), %rdi      # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0xabb1(%rip), %rdi      # 0x1c01c
callq 0x1707c
movl $0x1d73, %esi           # imm = 0x1D73
movq %rax, %rdi
callq 0x19b84
movq %r15, %rdi
movq %rax, %rsi
callq 0x19b84
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x12917
movl $0x75c, %eax            # imm = 0x75C
jmp 0x114fc
leaq -0xb8af(%rip), %rsi     # 0x5bf5
leaq 0x11df5(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0xb076(%rip), %rdi      # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0xab50(%rip), %rdi      # 0x1c01c
callq 0x1707c
movl $0x1d6b, %esi           # imm = 0x1D6B
movq %rax, %rdi
callq 0x19b84
movq %r15, %rdi
movq %rax, %rsi
callq 0x19b84
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x12917
movl $0x75a, %eax            # imm = 0x75A
leaq 0x20(%rsp), %rdi
movl %eax, 0xc(%rdi)
callq 0x1ba97
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r12, %rdi
callq 0x19c45
cmpq 0x11a99(%rip), %rax     # 0x22fc0
je 0x1143c
movq %r12, %rdi
callq 0x19c45
andl $0x3, %eax
cmpl $0x1, %eax
je 0x1143c
movq %r12, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19ba6
movq %rax, 0x10(%rsp)
movq %r12, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19c45
cmpq 0x11a53(%rip), %rbp     # 0x22fc0
je 0x11778
testq %rbp, %rbp
je 0x11778
movq %rax, %r13
movl %ebp, %eax
andl $0x3, %eax
jne 0x11778
movq %rbp, %rdi
callq 0x19ba6
movq %rax, %r12
andl $0x3, %eax
cmpl $0x1, %eax
jne 0x117dc
movq %rbp, %rdi
callq 0x19c45
movq %rax, %rbp
leaq 0x1237d(%rip), %rax     # 0x23930
cmpl $0x0, (%rax)
je 0x115fa
movq (%r15), %rax
movq 0x50(%rax), %rax
leaq 0xb4ea(%rip), %rdi      # 0x1cab0
movq %rdi, 0x10(%rax)
callq 0x1b084
testl %eax, %eax
je 0x115fa
movq (%r15), %rax
movq 0x50(%rax), %rax
movl $0x764, 0xc(%rax)       # imm = 0x764
movq %r14, %rdi
callq 0x13b9c
leaq 0xbf64(%rip), %rdi      # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b983
leaq 0x1232f(%rip), %rax     # 0x23930
cmpl $0x0, (%rax)
je 0x1164a
movq (%r15), %rax
movq 0x50(%rax), %rax
leaq 0xb4a2(%rip), %rdi      # 0x1cab6
movq %rdi, 0x10(%rax)
callq 0x1b084
testl %eax, %eax
je 0x1164a
movq (%r15), %rax
movq 0x50(%rax), %rax
movl $0x765, 0xc(%rax)       # imm = 0x765
movq 0x10(%rsp), %rdi
callq 0x13b9c
leaq 0xbf14(%rip), %rdi      # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b983
leaq 0x122df(%rip), %rax     # 0x23930
cmpl $0x0, (%rax)
je 0x11698
movq (%r15), %rax
movq 0x50(%rax), %rax
leaq 0xb4b7(%rip), %rdi      # 0x1cb1b
movq %rdi, 0x10(%rax)
callq 0x1b084
testl %eax, %eax
je 0x11698
movq (%r15), %rax
movq 0x50(%rax), %rax
movl $0x766, 0xc(%rax)       # imm = 0x766
movq %r13, %rdi
callq 0x13b9c
leaq 0xbec6(%rip), %rdi      # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b983
leaq 0x12291(%rip), %rax     # 0x23930
cmpl $0x0, (%rax)
je 0x116e6
movq (%r15), %rax
movq 0x50(%rax), %rax
leaq 0xae84(%rip), %rdi      # 0x1c536
movq %rdi, 0x10(%rax)
callq 0x1b084
testl %eax, %eax
je 0x116e6
movq (%r15), %rax
movq 0x50(%rax), %rax
movl $0x767, 0xc(%rax)       # imm = 0x767
movq %r12, %rdi
callq 0x13b9c
leaq 0xbe78(%rip), %rdi      # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b983
leaq 0x12243(%rip), %rax     # 0x23930
cmpl $0x0, (%rax)
je 0x11734
movq (%r15), %rax
movq 0x50(%rax), %rax
leaq 0xae3b(%rip), %rdi      # 0x1c53b
movq %rdi, 0x10(%rax)
callq 0x1b084
testl %eax, %eax
je 0x11734
movq (%r15), %rax
movq 0x50(%rax), %rax
movl $0x768, 0xc(%rax)       # imm = 0x768
movq %rbp, %rdi
callq 0x13b9c
leaq 0xbe2a(%rip), %rdi      # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b983
cmpq 0x11885(%rip), %rbp     # 0x22fc0
je 0x11766
testq %rbp, %rbp
je 0x11766
movl %ebp, %eax
andl $0x3, %eax
jne 0x11766
movq %rbp, %rdi
callq 0x19c45
testq %rax, %rax
je 0x11766
movq %rbp, %rdi
callq 0x19c45
testb $0x3, %al
je 0x11840
movq %rbx, %rdi
callq 0xf724
movl $0x777, %eax            # imm = 0x777
jmp 0x114fc
leaq -0xbb8a(%rip), %rsi     # 0x5bf5
leaq 0x11b1a(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0xad9b(%rip), %rdi      # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0xa875(%rip), %rdi      # 0x1c01c
callq 0x1707c
movl $0x1d7f, %esi           # imm = 0x1D7F
movq %rax, %rdi
callq 0x19b84
movq %r15, %rdi
movq %rax, %rsi
callq 0x19b84
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x12917
movl $0x75f, %eax            # imm = 0x75F
jmp 0x114fc
leaq -0xbbee(%rip), %rsi     # 0x5bf5
leaq 0x11ab6(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0xad37(%rip), %rdi      # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0xa811(%rip), %rdi      # 0x1c01c
callq 0x1707c
movl $0x1d87, %esi           # imm = 0x1D87
movq %rax, %rdi
callq 0x19b84
movq %r15, %rdi
movq %rax, %rsi
callq 0x19b84
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x12917
movl $0x761, %eax            # imm = 0x761
jmp 0x114fc
movq %rbp, %rdi
callq 0x19c45
cmpq 0x11771(%rip), %rax     # 0x22fc0
je 0x11766
movq %rbp, %rdi
callq 0x19c45
andl $0x3, %eax
cmpl $0x1, %eax
je 0x11766
movq %rbp, %rdi
callq 0x19ba6
movq %rax, 0x8(%rsp)
leaq 0xad81(%rip), %rdi      # 0x1c5fe
callq 0x1707c
cmpq %rax, 0x8(%rsp)
jne 0x11766
movq %rbp, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19ba6
movq %rax, 0x8(%rsp)
movq %rbp, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19c45
movq %rax, %rbp
leaq 0x119e4(%rip), %rsi     # 0x232a0
movq %r13, %rdi
callq 0x19b84
leaq -0x2944(%rip), %rsi     # 0xef87
movq %rbx, %rdi
movq %rax, %rdx
callq 0x1283a
movq %rax, %r13
movq 0x8(%rsp), %rdi
movq %rbp, %rsi
callq 0x19b84
leaq -0xdd9b(%rip), %rsi     # 0x3b52
movq %rbx, %rdi
movq %rax, %rdx
callq 0x1283a
movq %rax, 0x18(%rsp)
movq 0x10(%rsp), %rdi
movq %r13, %rsi
callq 0x19b84
movq %r12, %rdi
movq %rax, %rsi
callq 0x19b84
leaq -0xee9(%rip), %rsi      # 0x10a33
movq %rbx, %rdi
movq %rax, %rdx
callq 0x1283a
movq %rax, 0x10(%rsp)
leaq 0x11ffd(%rip), %rax     # 0x23930
cmpl $0x0, (%rax)
je 0x1197c
movq (%r15), %rax
movq 0x50(%rax), %rax
leaq 0xb175(%rip), %rdi      # 0x1cabb
movq %rdi, 0x10(%rax)
callq 0x1b084
testl %eax, %eax
je 0x1197c
movq (%r15), %rax
movq 0x50(%rax), %rax
movl $0x771, 0xc(%rax)       # imm = 0x771
movq 0x8(%rsp), %rdi
callq 0x13b9c
leaq 0xbbe2(%rip), %rdi      # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b983
leaq 0x11fad(%rip), %rax     # 0x23930
cmpl $0x0, (%rax)
je 0x119ca
movq (%r15), %rax
movq 0x50(%rax), %rax
leaq 0xb18b(%rip), %rdi      # 0x1cb21
movq %rdi, 0x10(%rax)
callq 0x1b084
testl %eax, %eax
je 0x119ca
movq (%r15), %rax
movq 0x50(%rax), %rax
movl $0x772, 0xc(%rax)       # imm = 0x772
movq %rbp, %rdi
callq 0x13b9c
leaq 0xbb94(%rip), %rdi      # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b983
leaq 0xabe3(%rip), %rdi      # 0x1c5b4
callq 0x1707c
movq %rax, %r12
movq 0x18(%rsp), %rdi
movq %r13, %rsi
callq 0x19b84
movq %r12, %rdi
movq %rax, %rsi
callq 0x19b84
movq 0x10(%rsp), %rdi
movq %rax, %rsi
callq 0x19b84
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x12917
jmp 0x1176e