// File: /workspace/github_c_makefile_star2_O1/dalnefre[P]kernel_abe/kernel.c
// Function: type_pred_oper
static
BEH_DECL(type_pred_oper)
{
	CONS* type = MINE;
	CONS* msg = WHAT;
	CONS* cust;
	CONS* req;

	DBUG_ENTER("type_pred_oper");
	ENSURE(funcp(type));
	ENSURE(is_pr(msg));
	cust = hd(msg);
	ENSURE(actorp(cust));
	req = tl(msg);

	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* env = tl(tl(req)); */

		SEND(opnds, pr(cust, pr(ATOM("foldl"),
			pr(a_true, pr(MK_FUNC(boolean_and),
			pr(ATOM("type_eq"), type))))));
	} else {
		oper_type(CFG);  /* DELEGATE BEHAVIOR */
	}
	DBUG_RETURN;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
movq 0x30(%rdi), %rdi
callq 0x19ba6
movq %rax, %rdi
callq 0x11d11
movq %rax, %r14
movq 0x30(%rbx), %rdi
callq 0x19c45
movq %rax, %r12
leaq 0xdf5e(%rip), %rax      # 0x1cb56
leaq 0x10(%rsp), %rdi
movq %rax, (%rdi)
leaq 0x14729(%rip), %r13     # 0x23330
movq (%r13), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x397, 0xc(%rdi)       # imm = 0x397
leaq 0xd727(%rip), %rcx      # 0x1c34a
movq %rcx, 0x10(%rdi)
leaq 0x14522(%rip), %rcx     # 0x23150
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x1b912
movl %r14d, %eax
notl %eax
testb $0x3, %al
jne 0xed6c
cmpq 0x14371(%rip), %r12     # 0x22fc0
je 0xedd0
testq %r12, %r12
je 0xedd0
movl %r12d, %eax
andl $0x3, %eax
jne 0xedd0
movq %r12, %rdi
callq 0x19ba6
movq %rax, %r15
andl $0x3, %eax
cmpl $0x1, %eax
jne 0xee31
movq %r12, %rdi
callq 0x19c45
movq %rax, %r12
leaq 0x14c9d(%rip), %rbp     # 0x23930
cmpl $0x0, (%rbp)
je 0xecdd
movq (%r13), %rax
movq 0x50(%rax), %rax
leaq 0xd88e(%rip), %rdi      # 0x1c536
movq %rdi, 0x10(%rax)
callq 0x1b084
testl %eax, %eax
je 0xecdd
movq (%r13), %rax
movq 0x50(%rax), %rax
movl $0x39e, 0xc(%rax)       # imm = 0x39E
movq %r15, %rdi
callq 0x13b9c
leaq 0xe881(%rip), %rdi      # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b983
cmpl $0x0, (%rbp)
je 0xed27
movq (%r13), %rax
movq 0x50(%rax), %rax
leaq 0xd849(%rip), %rdi      # 0x1c53b
movq %rdi, 0x10(%rax)
callq 0x1b084
testl %eax, %eax
je 0xed27
movq (%r13), %rax
movq 0x50(%rax), %rax
movl $0x39f, 0xc(%rax)       # imm = 0x39F
movq %r12, %rdi
callq 0x13b9c
leaq 0xe837(%rip), %rdi      # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b983
cmpq 0x14292(%rip), %r12     # 0x22fc0
je 0xed5a
testq %r12, %r12
je 0xed5a
movl %r12d, %eax
andl $0x3, %eax
jne 0xed5a
movq %r12, %rdi
callq 0x19c45
testq %rax, %rax
je 0xed5a
movq %r12, %rdi
callq 0x19c45
testb $0x3, %al
je 0xeeac
movq %rbx, %rdi
callq 0xf724
movl $0x3ab, %eax            # imm = 0x3AB
jmp 0xee90
leaq -0x917e(%rip), %rsi     # 0x5bf5
leaq 0x14526(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0xd7a7(%rip), %rdi      # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0xd281(%rip), %rdi      # 0x1c01c
callq 0x1707c
movl $0xe63, %esi            # imm = 0xE63
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 $0x398, %eax            # imm = 0x398
jmp 0xee90
leaq -0x91e2(%rip), %rsi     # 0x5bf5
leaq 0x144c2(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0xd743(%rip), %rdi      # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0xd21d(%rip), %rdi      # 0x1c01c
callq 0x1707c
movl $0xe67, %esi            # imm = 0xE67
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 $0x399, %eax            # imm = 0x399
jmp 0xee90
leaq -0x9243(%rip), %rsi     # 0x5bf5
leaq 0x14461(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0xd6e2(%rip), %rdi      # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0xd1bc(%rip), %rdi      # 0x1c01c
callq 0x1707c
movl $0xe6f, %esi            # imm = 0xE6F
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 $0x39b, %eax            # imm = 0x39B
leaq 0x10(%rsp), %rdi
movl %eax, 0xc(%rdi)
callq 0x1ba97
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r12, %rdi
callq 0x19c45
cmpq 0x14105(%rip), %rax     # 0x22fc0
je 0xed5a
movq %r12, %rdi
callq 0x19c45
andl $0x3, %eax
cmpl $0x1, %eax
je 0xed5a
movq %r12, %rdi
callq 0x19ba6
movq %rax, %r13
leaq 0xd717(%rip), %rdi      # 0x1c5fe
callq 0x1707c
cmpq %rax, %r13
jne 0xed5a
movq %r12, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19ba6
movq %rax, 0x8(%rsp)
leaq 0xd6b9(%rip), %rdi      # 0x1c5ca
callq 0x1707c
movq %rax, %r13
movq 0x14468(%rip), %rbp     # 0x23388
leaq 0x2d8d(%rip), %rax      # 0x11cb4
leaq 0x3(,%rax,4), %r12
leaq 0xd65b(%rip), %rdi      # 0x1c591
callq 0x1707c
movq %rax, %rdi
movq %r14, %rsi
callq 0x19b84
movq %r12, %rdi
movq %rax, %rsi
callq 0x19b84
movq %rbp, %rdi
movq %rax, %rsi
callq 0x19b84
movq %r13, %rdi
movq %rax, %rsi
callq 0x19b84
movq %r15, %rdi
movq %rax, %rsi
callq 0x19b84
movq %rbx, %rdi
movq 0x8(%rsp), %rsi
movq %rax, %rdx
callq 0x12917
jmp 0xed62