// File: /workspace/github_c_makefile_star2_O2/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 0x191fb
movq %rax, %rdi
callq 0x1175b
movq %rax, %r14
movq 0x30(%rbx), %rdi
callq 0x19306
movq %rax, %r12
leaq 0xe54a(%rip), %rax      # 0x1cb56
leaq 0x10(%rsp), %rdi
movq %rax, (%rdi)
leaq 0x15d15(%rip), %r13     # 0x24330
movq (%r13), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x397, 0xc(%rdi)       # imm = 0x397
leaq 0xdd13(%rip), %rcx      # 0x1c34a
movq %rcx, 0x10(%rdi)
leaq 0x15b0e(%rip), %rcx     # 0x24150
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x1b079
movl %r14d, %eax
notl %eax
testb $0x3, %al
jne 0xe784
cmpq 0x1595d(%rip), %r12     # 0x23fc0
je 0xe7e8
testq %r12, %r12
je 0xe7e8
movl %r12d, %eax
andl $0x3, %eax
jne 0xe7e8
movq %r12, %rdi
callq 0x191fb
movq %rax, %r15
andl $0x3, %eax
cmpl $0x1, %eax
jne 0xe849
movq %r12, %rdi
callq 0x19306
movq %rax, %r12
leaq 0x16289(%rip), %rbp     # 0x24930
cmpl $0x0, (%rbp)
je 0xe73f
movq (%r13), %rax
movq 0x50(%rax), %rax
leaq 0xde76(%rip), %rdi      # 0x1c536
movq %rdi, 0x10(%rax)
callq 0x1a7f4
testl %eax, %eax
je 0xe6f5
movq (%r13), %rax
movq 0x50(%rax), %rax
movl $0x39e, 0xc(%rax)       # imm = 0x39E
movq %r15, %rdi
callq 0x13708
leaq 0xee49(%rip), %rdi      # 0x1d534
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b0f0
cmpl $0x0, (%rbp)
je 0xe73f
movq (%r13), %rax
movq 0x50(%rax), %rax
leaq 0xde31(%rip), %rdi      # 0x1c53b
movq %rdi, 0x10(%rax)
callq 0x1a7f4
testl %eax, %eax
je 0xe73f
movq (%r13), %rax
movq 0x50(%rax), %rax
movl $0x39f, 0xc(%rax)       # imm = 0x39F
movq %r12, %rdi
callq 0x13708
leaq 0xedff(%rip), %rdi      # 0x1d534
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b0f0
cmpq 0x1587a(%rip), %r12     # 0x23fc0
je 0xe772
testq %r12, %r12
je 0xe772
movl %r12d, %eax
andl $0x3, %eax
jne 0xe772
movq %r12, %rdi
callq 0x19306
testq %rax, %rax
je 0xe772
movq %r12, %rdi
callq 0x19306
testb $0x3, %al
je 0xe8c4
movq %rbx, %rdi
callq 0xf142
movl $0x3ab, %eax            # imm = 0x3AB
jmp 0xe8a8
leaq -0x91bf(%rip), %rsi     # 0x55cc
leaq 0x15b0e(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0xdd8f(%rip), %rdi      # 0x1c533
callq 0x1691f
movq %rax, %r15
leaq 0xd869(%rip), %rdi      # 0x1c01c
callq 0x1691f
movl $0xe63, %esi            # imm = 0xE63
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 $0x398, %eax            # imm = 0x398
jmp 0xe8a8
leaq -0x9223(%rip), %rsi     # 0x55cc
leaq 0x15aaa(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0xdd2b(%rip), %rdi      # 0x1c533
callq 0x1691f
movq %rax, %r15
leaq 0xd805(%rip), %rdi      # 0x1c01c
callq 0x1691f
movl $0xe67, %esi            # imm = 0xE67
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 $0x399, %eax            # imm = 0x399
jmp 0xe8a8
leaq -0x9284(%rip), %rsi     # 0x55cc
leaq 0x15a49(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0xdcca(%rip), %rdi      # 0x1c533
callq 0x1691f
movq %rax, %r15
leaq 0xd7a4(%rip), %rdi      # 0x1c01c
callq 0x1691f
movl $0xe6f, %esi            # imm = 0xE6F
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 $0x39b, %eax            # imm = 0x39B
leaq 0x10(%rsp), %rdi
movl %eax, 0xc(%rdi)
callq 0x1b1f2
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r12, %rdi
callq 0x19306
cmpq 0x156ed(%rip), %rax     # 0x23fc0
je 0xe772
movq %r12, %rdi
callq 0x19306
andl $0x3, %eax
cmpl $0x1, %eax
je 0xe772
movq %r12, %rdi
callq 0x191fb
movq %rax, %r13
leaq 0xdcff(%rip), %rdi      # 0x1c5fe
callq 0x1691f
cmpq %rax, %r13
jne 0xe772
movq %r12, %rdi
callq 0x19306
movq %rax, %rdi
callq 0x191fb
movq %rax, 0x8(%rsp)
leaq 0xdca1(%rip), %rdi      # 0x1c5ca
callq 0x1691f
movq %rax, %r13
movq 0x15a50(%rip), %rbp     # 0x24388
leaq 0x2dc1(%rip), %rax      # 0x11700
leaq 0x3(,%rax,4), %r12
leaq 0xdc43(%rip), %rdi      # 0x1c591
callq 0x1691f
movq %rax, %rdi
movq %r14, %rsi
callq 0x19164
movq %r12, %rdi
movq %rax, %rsi
callq 0x19164
movq %rbp, %rdi
movq %rax, %rsi
callq 0x19164
movq %r13, %rdi
movq %rax, %rsi
callq 0x19164
movq %r15, %rdi
movq %rax, %rsi
callq 0x19164
movq %rbx, %rdi
movq 0x8(%rsp), %rsi
movq %rax, %rdx
callq 0x12494
jmp 0xe77a