// File: /workspace/github_c_makefile_star2_O2/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 0x191fb
movq %rax, %rdi
callq 0x1175b
movq %rax, %r12
movq 0x30(%rbx), %rdi
callq 0x19306
movq %rax, %rbp
leaq 0xbd28(%rip), %rax      # 0x1cb12
leaq 0x20(%rsp), %rdi
movq %rax, (%rdi)
leaq 0x13537(%rip), %r15     # 0x24330
movq (%r15), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x759, 0xc(%rdi)       # imm = 0x759
leaq 0xb536(%rip), %rcx      # 0x1c34a
movq %rcx, 0x10(%rdi)
leaq 0x13331(%rip), %rcx     # 0x24150
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x1b079
cmpq 0x1318d(%rip), %r12     # 0x23fc0
je 0x10ed7
testq %r12, %r12
je 0x10ed7
movl %r12d, %eax
andl $0x3, %eax
jne 0x10ed7
movq %r12, %rdi
callq 0x191fb
movq %rax, %r14
movq %r12, %rdi
callq 0x19306
testq %rax, %rax
je 0x10e76
movq %r12, %rdi
callq 0x19306
testb $0x3, %al
je 0x10f52
leaq -0xb8b1(%rip), %rsi     # 0x55cc
leaq 0x1341c(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0xb69d(%rip), %rdi      # 0x1c533
callq 0x1691f
movq %rax, %r15
leaq 0xb177(%rip), %rdi      # 0x1c01c
callq 0x1691f
movl $0x1d73, %esi           # imm = 0x1D73
movq %rax, %rdi
callq 0x19164
movq %r15, %rdi
movq %rax, %rsi
callq 0x19164
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x12494
movl $0x75c, %eax            # imm = 0x75C
jmp 0x10f36
leaq -0xb912(%rip), %rsi     # 0x55cc
leaq 0x133bb(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0xb63c(%rip), %rdi      # 0x1c533
callq 0x1691f
movq %rax, %r15
leaq 0xb116(%rip), %rdi      # 0x1c01c
callq 0x1691f
movl $0x1d6b, %esi           # imm = 0x1D6B
movq %rax, %rdi
callq 0x19164
movq %r15, %rdi
movq %rax, %rsi
callq 0x19164
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x12494
movl $0x75a, %eax            # imm = 0x75A
leaq 0x20(%rsp), %rdi
movl %eax, 0xc(%rdi)
callq 0x1b1f2
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r12, %rdi
callq 0x19306
cmpq 0x1305f(%rip), %rax     # 0x23fc0
je 0x10e76
movq %r12, %rdi
callq 0x19306
andl $0x3, %eax
cmpl $0x1, %eax
je 0x10e76
movq %r12, %rdi
callq 0x19306
movq %rax, %rdi
callq 0x191fb
movq %rax, 0x8(%rsp)
movq %r12, %rdi
callq 0x19306
movq %rax, %rdi
callq 0x19306
cmpq 0x13019(%rip), %rbp     # 0x23fc0
je 0x111c2
testq %rbp, %rbp
je 0x111c2
movq %rax, %r13
movl %ebp, %eax
andl $0x3, %eax
jne 0x111c2
movq %rbp, %rdi
callq 0x191fb
movq %rax, %r12
andl $0x3, %eax
cmpl $0x1, %eax
jne 0x11226
movq %rbp, %rdi
callq 0x19306
movq %rax, %rbp
leaq 0x13943(%rip), %rax     # 0x24930
cmpl $0x0, (%rax)
je 0x1117e
movq (%r15), %rax
movq 0x50(%rax), %rax
leaq 0xbaac(%rip), %rdi      # 0x1cab0
movq %rdi, 0x10(%rax)
callq 0x1a7f4
testl %eax, %eax
je 0x11038
movq (%r15), %rax
movq 0x50(%rax), %rax
movl $0x764, 0xc(%rax)       # imm = 0x764
movq %r14, %rdi
callq 0x13708
leaq 0xc506(%rip), %rdi      # 0x1d534
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b0f0
leaq 0x138f1(%rip), %rax     # 0x24930
cmpl $0x0, (%rax)
je 0x1117e
movq (%r15), %rax
movq 0x50(%rax), %rax
leaq 0xba60(%rip), %rdi      # 0x1cab6
movq %rdi, 0x10(%rax)
callq 0x1a7f4
testl %eax, %eax
je 0x1108c
movq (%r15), %rax
movq 0x50(%rax), %rax
movl $0x765, 0xc(%rax)       # imm = 0x765
movq 0x8(%rsp), %rdi
callq 0x13708
leaq 0xc4b2(%rip), %rdi      # 0x1d534
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b0f0
leaq 0x1389d(%rip), %rax     # 0x24930
cmpl $0x0, (%rax)
je 0x1117e
movq (%r15), %rax
movq 0x50(%rax), %rax
leaq 0xba71(%rip), %rdi      # 0x1cb1b
movq %rdi, 0x10(%rax)
callq 0x1a7f4
testl %eax, %eax
je 0x110de
movq (%r15), %rax
movq 0x50(%rax), %rax
movl $0x766, 0xc(%rax)       # imm = 0x766
movq %r13, %rdi
callq 0x13708
leaq 0xc460(%rip), %rdi      # 0x1d534
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b0f0
leaq 0x1384b(%rip), %rax     # 0x24930
cmpl $0x0, (%rax)
je 0x1117e
movq (%r15), %rax
movq 0x50(%rax), %rax
leaq 0xb43a(%rip), %rdi      # 0x1c536
movq %rdi, 0x10(%rax)
callq 0x1a7f4
testl %eax, %eax
je 0x11130
movq (%r15), %rax
movq 0x50(%rax), %rax
movl $0x767, 0xc(%rax)       # imm = 0x767
movq %r12, %rdi
callq 0x13708
leaq 0xc40e(%rip), %rdi      # 0x1d534
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b0f0
leaq 0x137f9(%rip), %rax     # 0x24930
cmpl $0x0, (%rax)
je 0x1117e
movq (%r15), %rax
movq 0x50(%rax), %rax
leaq 0xb3f1(%rip), %rdi      # 0x1c53b
movq %rdi, 0x10(%rax)
callq 0x1a7f4
testl %eax, %eax
je 0x1117e
movq (%r15), %rax
movq 0x50(%rax), %rax
movl $0x768, 0xc(%rax)       # imm = 0x768
movq %rbp, %rdi
callq 0x13708
leaq 0xc3c0(%rip), %rdi      # 0x1d534
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b0f0
cmpq 0x12e3b(%rip), %rbp     # 0x23fc0
je 0x111b0
testq %rbp, %rbp
je 0x111b0
movl %ebp, %eax
andl $0x3, %eax
jne 0x111b0
movq %rbp, %rdi
callq 0x19306
testq %rax, %rax
je 0x111b0
movq %rbp, %rdi
callq 0x19306
testb $0x3, %al
je 0x1128a
movq %rbx, %rdi
callq 0xf142
movl $0x777, %eax            # imm = 0x777
jmp 0x10f36
leaq -0xbbfd(%rip), %rsi     # 0x55cc
leaq 0x130d0(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0xb351(%rip), %rdi      # 0x1c533
callq 0x1691f
movq %rax, %r15
leaq 0xae2b(%rip), %rdi      # 0x1c01c
callq 0x1691f
movl $0x1d7f, %esi           # imm = 0x1D7F
movq %rax, %rdi
callq 0x19164
movq %r15, %rdi
movq %rax, %rsi
callq 0x19164
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x12494
movl $0x75f, %eax            # imm = 0x75F
jmp 0x10f36
leaq -0xbc61(%rip), %rsi     # 0x55cc
leaq 0x1306c(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0xb2ed(%rip), %rdi      # 0x1c533
callq 0x1691f
movq %rax, %r15
leaq 0xadc7(%rip), %rdi      # 0x1c01c
callq 0x1691f
movl $0x1d87, %esi           # imm = 0x1D87
movq %rax, %rdi
callq 0x19164
movq %r15, %rdi
movq %rax, %rsi
callq 0x19164
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x12494
movl $0x761, %eax            # imm = 0x761
jmp 0x10f36
movq %rbp, %rdi
callq 0x19306
cmpq 0x12d27(%rip), %rax     # 0x23fc0
je 0x111b0
movq %rbp, %rdi
callq 0x19306
andl $0x3, %eax
cmpl $0x1, %eax
je 0x111b0
movq %rbp, %rdi
callq 0x191fb
movq %rax, (%rsp)
leaq 0xb338(%rip), %rdi      # 0x1c5fe
callq 0x1691f
cmpq %rax, (%rsp)
jne 0x111b0
movq %rbp, %rdi
callq 0x19306
movq %rax, %rdi
callq 0x191fb
movq %rax, (%rsp)
movq %rbp, %rdi
callq 0x19306
movq %rax, %rdi
callq 0x19306
movq %rax, %rbp
leaq 0x12f9d(%rip), %rsi     # 0x242a0
movq %r13, %rdi
callq 0x19164
leaq -0x2973(%rip), %rsi     # 0xe99f
movq %rbx, %rdi
movq %rax, %rdx
callq 0x123b7
movq %rax, %r13
movq (%rsp), %rdi
movq %rbp, 0x10(%rsp)
movq %rbp, %rsi
callq 0x19164
leaq -0xdccd(%rip), %rsi     # 0x366b
movq %rbx, %rdi
movq %rax, %rdx
callq 0x123b7
movq %rax, 0x18(%rsp)
movq 0x8(%rsp), %rdi
movq %r13, %rsi
callq 0x19164
movq %r12, %rdi
movq %rax, %rsi
callq 0x19164
leaq -0xefa(%rip), %rsi      # 0x1046d
movq %rbx, %rdi
movq %rax, %rdx
callq 0x123b7
movq %rax, %rbp
leaq 0x135b4(%rip), %rax     # 0x24930
cmpl $0x0, (%rax)
je 0x11418
movq (%r15), %rax
movq 0x50(%rax), %rax
leaq 0xb728(%rip), %rdi      # 0x1cabb
movq %rdi, 0x10(%rax)
callq 0x1a7f4
testl %eax, %eax
je 0x113c8
movq (%r15), %rax
movq 0x50(%rax), %rax
movl $0x771, 0xc(%rax)       # imm = 0x771
movq (%rsp), %rdi
callq 0x13708
leaq 0xc176(%rip), %rdi      # 0x1d534
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b0f0
leaq 0x13561(%rip), %rax     # 0x24930
cmpl $0x0, (%rax)
je 0x11418
movq (%r15), %rax
movq 0x50(%rax), %rax
leaq 0xb73f(%rip), %rdi      # 0x1cb21
movq %rdi, 0x10(%rax)
callq 0x1a7f4
testl %eax, %eax
je 0x11418
movq (%r15), %rax
movq 0x50(%rax), %rax
movl $0x772, 0xc(%rax)       # imm = 0x772
movq 0x10(%rsp), %rdi
callq 0x13708
leaq 0xc126(%rip), %rdi      # 0x1d534
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b0f0
leaq 0xb195(%rip), %rdi      # 0x1c5b4
callq 0x1691f
movq %rax, %r12
movq 0x18(%rsp), %rdi
movq %r13, %rsi
callq 0x19164
movq %r12, %rdi
movq %rax, %rsi
callq 0x19164
movq %rbp, %rdi
movq %rax, %rsi
callq 0x19164
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x12494
jmp 0x111b8