// File: /workspace/github_c_makefile_star2_O3/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 0x19c72
movq %rax, %rdi
callq 0x11d65
movq %rax, %r12
movq 0x30(%rbx), %rdi
callq 0x19d11
movq %rax, %rbp
leaq 0xb722(%rip), %rax      # 0x1cb12
leaq 0x20(%rsp), %rdi
movq %rax, (%rdi)
leaq 0x11f31(%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 0xaf30(%rip), %rcx      # 0x1c34a
movq %rcx, 0x10(%rdi)
leaq 0x11d2b(%rip), %rcx     # 0x23150
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x1ba26
cmpq 0x11b87(%rip), %r12     # 0x22fc0
je 0x114dd
testq %r12, %r12
je 0x114dd
movl %r12d, %eax
andl $0x3, %eax
jne 0x114dd
movq %r12, %rdi
callq 0x19c72
movq %rax, %r14
movq %r12, %rdi
callq 0x19d11
testq %rax, %rax
je 0x1147c
movq %r12, %rdi
callq 0x19d11
testb $0x3, %al
je 0x11558
leaq -0xb8db(%rip), %rsi     # 0x5ba8
leaq 0x11e16(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x128be
movq %rax, %r14
leaq 0xb097(%rip), %rdi      # 0x1c533
callq 0x170ff
movq %rax, %r15
leaq 0xab71(%rip), %rdi      # 0x1c01c
callq 0x170ff
movl $0x1d73, %esi           # imm = 0x1D73
movq %rax, %rdi
callq 0x19c50
movq %r15, %rdi
movq %rax, %rsi
callq 0x19c50
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x1299b
movl $0x75c, %eax            # imm = 0x75C
jmp 0x1153c
leaq -0xb93c(%rip), %rsi     # 0x5ba8
leaq 0x11db5(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x128be
movq %rax, %r14
leaq 0xb036(%rip), %rdi      # 0x1c533
callq 0x170ff
movq %rax, %r15
leaq 0xab10(%rip), %rdi      # 0x1c01c
callq 0x170ff
movl $0x1d6b, %esi           # imm = 0x1D6B
movq %rax, %rdi
callq 0x19c50
movq %r15, %rdi
movq %rax, %rsi
callq 0x19c50
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x1299b
movl $0x75a, %eax            # imm = 0x75A
leaq 0x20(%rsp), %rdi
movl %eax, 0xc(%rdi)
callq 0x1bbab
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r12, %rdi
callq 0x19d11
cmpq 0x11a59(%rip), %rax     # 0x22fc0
je 0x1147c
movq %r12, %rdi
callq 0x19d11
andl $0x3, %eax
cmpl $0x1, %eax
je 0x1147c
movq %r12, %rdi
callq 0x19d11
movq %rax, %rdi
callq 0x19c72
movq %rax, 0x8(%rsp)
movq %r12, %rdi
callq 0x19d11
movq %rax, %rdi
callq 0x19d11
cmpq 0x11a13(%rip), %rbp     # 0x22fc0
je 0x117c8
testq %rbp, %rbp
je 0x117c8
movq %rax, %r13
movl %ebp, %eax
andl $0x3, %eax
jne 0x117c8
movq %rbp, %rdi
callq 0x19c72
movq %rax, %r12
andl $0x3, %eax
cmpl $0x1, %eax
jne 0x1182c
movq %rbp, %rdi
callq 0x19d11
movq %rax, %rbp
leaq 0x1233d(%rip), %rax     # 0x23930
cmpl $0x0, (%rax)
je 0x11784
movq (%r15), %rax
movq 0x50(%rax), %rax
leaq 0xb4a6(%rip), %rdi      # 0x1cab0
movq %rdi, 0x10(%rax)
callq 0x1b188
testl %eax, %eax
je 0x1163e
movq (%r15), %rax
movq 0x50(%rax), %rax
movl $0x764, 0xc(%rax)       # imm = 0x764
movq %r14, %rdi
callq 0x13c40
leaq 0xbf20(%rip), %rdi      # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1ba97
leaq 0x122eb(%rip), %rax     # 0x23930
cmpl $0x0, (%rax)
je 0x11784
movq (%r15), %rax
movq 0x50(%rax), %rax
leaq 0xb45a(%rip), %rdi      # 0x1cab6
movq %rdi, 0x10(%rax)
callq 0x1b188
testl %eax, %eax
je 0x11692
movq (%r15), %rax
movq 0x50(%rax), %rax
movl $0x765, 0xc(%rax)       # imm = 0x765
movq 0x8(%rsp), %rdi
callq 0x13c40
leaq 0xbecc(%rip), %rdi      # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1ba97
leaq 0x12297(%rip), %rax     # 0x23930
cmpl $0x0, (%rax)
je 0x11784
movq (%r15), %rax
movq 0x50(%rax), %rax
leaq 0xb46b(%rip), %rdi      # 0x1cb1b
movq %rdi, 0x10(%rax)
callq 0x1b188
testl %eax, %eax
je 0x116e4
movq (%r15), %rax
movq 0x50(%rax), %rax
movl $0x766, 0xc(%rax)       # imm = 0x766
movq %r13, %rdi
callq 0x13c40
leaq 0xbe7a(%rip), %rdi      # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1ba97
leaq 0x12245(%rip), %rax     # 0x23930
cmpl $0x0, (%rax)
je 0x11784
movq (%r15), %rax
movq 0x50(%rax), %rax
leaq 0xae34(%rip), %rdi      # 0x1c536
movq %rdi, 0x10(%rax)
callq 0x1b188
testl %eax, %eax
je 0x11736
movq (%r15), %rax
movq 0x50(%rax), %rax
movl $0x767, 0xc(%rax)       # imm = 0x767
movq %r12, %rdi
callq 0x13c40
leaq 0xbe28(%rip), %rdi      # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1ba97
leaq 0x121f3(%rip), %rax     # 0x23930
cmpl $0x0, (%rax)
je 0x11784
movq (%r15), %rax
movq 0x50(%rax), %rax
leaq 0xadeb(%rip), %rdi      # 0x1c53b
movq %rdi, 0x10(%rax)
callq 0x1b188
testl %eax, %eax
je 0x11784
movq (%r15), %rax
movq 0x50(%rax), %rax
movl $0x768, 0xc(%rax)       # imm = 0x768
movq %rbp, %rdi
callq 0x13c40
leaq 0xbdda(%rip), %rdi      # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1ba97
cmpq 0x11835(%rip), %rbp     # 0x22fc0
je 0x117b6
testq %rbp, %rbp
je 0x117b6
movl %ebp, %eax
andl $0x3, %eax
jne 0x117b6
movq %rbp, %rdi
callq 0x19d11
testq %rax, %rax
je 0x117b6
movq %rbp, %rdi
callq 0x19d11
testb $0x3, %al
je 0x11890
movq %rbx, %rdi
callq 0xf748
movl $0x777, %eax            # imm = 0x777
jmp 0x1153c
leaq -0xbc27(%rip), %rsi     # 0x5ba8
leaq 0x11aca(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x128be
movq %rax, %r14
leaq 0xad4b(%rip), %rdi      # 0x1c533
callq 0x170ff
movq %rax, %r15
leaq 0xa825(%rip), %rdi      # 0x1c01c
callq 0x170ff
movl $0x1d7f, %esi           # imm = 0x1D7F
movq %rax, %rdi
callq 0x19c50
movq %r15, %rdi
movq %rax, %rsi
callq 0x19c50
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x1299b
movl $0x75f, %eax            # imm = 0x75F
jmp 0x1153c
leaq -0xbc8b(%rip), %rsi     # 0x5ba8
leaq 0x11a66(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x128be
movq %rax, %r14
leaq 0xace7(%rip), %rdi      # 0x1c533
callq 0x170ff
movq %rax, %r15
leaq 0xa7c1(%rip), %rdi      # 0x1c01c
callq 0x170ff
movl $0x1d87, %esi           # imm = 0x1D87
movq %rax, %rdi
callq 0x19c50
movq %r15, %rdi
movq %rax, %rsi
callq 0x19c50
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x1299b
movl $0x761, %eax            # imm = 0x761
jmp 0x1153c
movq %rbp, %rdi
callq 0x19d11
cmpq 0x11721(%rip), %rax     # 0x22fc0
je 0x117b6
movq %rbp, %rdi
callq 0x19d11
andl $0x3, %eax
cmpl $0x1, %eax
je 0x117b6
movq %rbp, %rdi
callq 0x19c72
movq %rax, (%rsp)
leaq 0xad32(%rip), %rdi      # 0x1c5fe
callq 0x170ff
cmpq %rax, (%rsp)
jne 0x117b6
movq %rbp, %rdi
callq 0x19d11
movq %rax, %rdi
callq 0x19c72
movq %rax, (%rsp)
movq %rbp, %rdi
callq 0x19d11
movq %rax, %rdi
callq 0x19d11
movq %rax, %rbp
leaq 0x11997(%rip), %rsi     # 0x232a0
movq %r13, %rdi
callq 0x19c50
leaq -0x2973(%rip), %rsi     # 0xefa5
movq %rbx, %rdi
movq %rax, %rdx
callq 0x128be
movq %rax, %r13
movq (%rsp), %rdi
movq %rbp, 0x10(%rsp)
movq %rbp, %rsi
callq 0x19c50
leaq -0xddca(%rip), %rsi     # 0x3b74
movq %rbx, %rdi
movq %rax, %rdx
callq 0x128be
movq %rax, 0x18(%rsp)
movq 0x8(%rsp), %rdi
movq %r13, %rsi
callq 0x19c50
movq %r12, %rdi
movq %rax, %rsi
callq 0x19c50
leaq -0xefa(%rip), %rsi      # 0x10a73
movq %rbx, %rdi
movq %rax, %rdx
callq 0x128be
movq %rax, %rbp
leaq 0x11fae(%rip), %rax     # 0x23930
cmpl $0x0, (%rax)
je 0x11a1e
movq (%r15), %rax
movq 0x50(%rax), %rax
leaq 0xb122(%rip), %rdi      # 0x1cabb
movq %rdi, 0x10(%rax)
callq 0x1b188
testl %eax, %eax
je 0x119ce
movq (%r15), %rax
movq 0x50(%rax), %rax
movl $0x771, 0xc(%rax)       # imm = 0x771
movq (%rsp), %rdi
callq 0x13c40
leaq 0xbb90(%rip), %rdi      # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1ba97
leaq 0x11f5b(%rip), %rax     # 0x23930
cmpl $0x0, (%rax)
je 0x11a1e
movq (%r15), %rax
movq 0x50(%rax), %rax
leaq 0xb139(%rip), %rdi      # 0x1cb21
movq %rdi, 0x10(%rax)
callq 0x1b188
testl %eax, %eax
je 0x11a1e
movq (%r15), %rax
movq 0x50(%rax), %rax
movl $0x772, 0xc(%rax)       # imm = 0x772
movq 0x10(%rsp), %rdi
callq 0x13c40
leaq 0xbb40(%rip), %rdi      # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1ba97
leaq 0xab8f(%rip), %rdi      # 0x1c5b4
callq 0x170ff
movq %rax, %r12
movq 0x18(%rsp), %rdi
movq %r13, %rsi
callq 0x19c50
movq %r12, %rdi
movq %rax, %rsi
callq 0x19c50
movq %rbp, %rdi
movq %rax, %rsi
callq 0x19c50
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x1299b
jmp 0x117be