// File: /workspace/github_c_makefile_star2_O2/dalnefre[P]kernel_abe/kernel.c
// Function: any_type
static
BEH_DECL(any_type)
{
	CONS* msg = WHAT;
	CONS* cust;
	CONS* req;

	DBUG_ENTER("any_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)
	&& (hd(req) == ATOM("type_eq"))) {
		SEND(cust, ((tl(req) == MK_REF(any_type)) ? a_true : a_false));
	} else if (is_pr(req)
	&& (hd(req) == ATOM("match"))) {
		SEND(cust, a_inert);
	} else if (req == ATOM("write")) {
		SINK* sink = current_sink;
		SEND(cust, (sink->put_cstr)(sink, "#ignore"));
	} else {
		object_type(CFG);  /* DELEGATE BEHAVIOR */
	}
	DBUG_RETURN;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rdi, %rbx
movq 0x30(%rdi), %rdi
callq 0x19306
movq %rax, %r15
leaq 0x12df2(%rip), %rax     # 0x1c958
leaq 0x8(%rsp), %rdi
movq %rax, (%rdi)
leaq 0x1a7bb(%rip), %r12     # 0x24330
movq (%r12), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x5e3, 0xc(%rdi)       # imm = 0x5E3
leaq 0x127b9(%rip), %rcx     # 0x1c34a
movq %rcx, 0x10(%rdi)
leaq 0x1a5b4(%rip), %rcx     # 0x24150
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x1b079
cmpq 0x1a410(%rip), %r15     # 0x23fc0
je 0x9d06
testq %r15, %r15
je 0x9d06
movl %r15d, %eax
andl $0x3, %eax
jne 0x9d06
movq %r15, %rdi
callq 0x191fb
movq %rax, %r14
andl $0x3, %eax
cmpl $0x1, %eax
jne 0x9d6a
movq %r15, %rdi
callq 0x19306
movq %rax, %r15
leaq 0x1ad3c(%rip), %r13     # 0x24930
cmpl $0x0, (%r13)
je 0x9c8e
movq (%r12), %rax
movq 0x50(%rax), %rax
leaq 0x12928(%rip), %rdi     # 0x1c536
movq %rdi, 0x10(%rax)
callq 0x1a7f4
testl %eax, %eax
je 0x9c43
movq (%r12), %rax
movq 0x50(%rax), %rax
movl $0x5e9, 0xc(%rax)       # imm = 0x5E9
movq %r14, %rdi
callq 0x13708
leaq 0x138fb(%rip), %rdi     # 0x1d534
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b0f0
cmpl $0x0, (%r13)
je 0x9c8e
movq (%r12), %rax
movq 0x50(%rax), %rax
leaq 0x128e2(%rip), %rdi     # 0x1c53b
movq %rdi, 0x10(%rax)
callq 0x1a7f4
testl %eax, %eax
je 0x9c8e
movq (%r12), %rax
movq 0x50(%rax), %rax
movl $0x5ea, 0xc(%rax)       # imm = 0x5EA
movq %r15, %rdi
callq 0x13708
leaq 0x138b0(%rip), %rdi     # 0x1d534
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b0f0
cmpq 0x1a32b(%rip), %r15     # 0x23fc0
je 0x9ce4
testq %r15, %r15
je 0x9ce4
movl %r15d, %eax
andl $0x3, %eax
jne 0x9ce4
movq %r15, %rdi
callq 0x191fb
movq %rax, %r12
leaq 0x128db(%rip), %rdi     # 0x1c591
callq 0x1691f
cmpq %rax, %r12
je 0x9de7
movq %r15, %rdi
callq 0x191fb
movq %rax, %r12
leaq 0x128de(%rip), %rdi     # 0x1c5b4
callq 0x1691f
cmpq %rax, %r12
je 0x9e18
leaq 0x128e5(%rip), %rdi     # 0x1c5d0
callq 0x1691f
cmpq %rax, %r15
je 0x9dcb
movq %rbx, %rdi
callq 0x8053
jmp 0x9e2a
leaq -0x4741(%rip), %rsi     # 0x55cc
leaq 0x1a58c(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0x1280d(%rip), %rdi     # 0x1c533
callq 0x1691f
movq %rax, %r15
leaq 0x122e7(%rip), %rdi     # 0x1c01c
callq 0x1691f
movl $0x1793, %esi           # imm = 0x1793
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 $0x5e4, %eax            # imm = 0x5E4
jmp 0x9e2f
leaq -0x47a5(%rip), %rsi     # 0x55cc
leaq 0x1a528(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0x127a9(%rip), %rdi     # 0x1c533
callq 0x1691f
movq %rax, %r15
leaq 0x12283(%rip), %rdi     # 0x1c01c
callq 0x1691f
movl $0x179b, %esi           # imm = 0x179B
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 $0x5e6, %eax            # imm = 0x5E6
jmp 0x9e2f
movq 0x1a5e6(%rip), %rdi     # 0x243b8
leaq 0x12394(%rip), %rsi     # 0x1c16d
callq *0x10(%rdi)
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
jmp 0x9e25
movq %r15, %rdi
callq 0x19306
leaq -0x2b3(%rip), %rcx      # 0x9b43
leaq 0x3(,%rcx,4), %rcx
cmpq %rcx, %rax
leaq 0x1a580(%rip), %rax     # 0x24388
leaq 0x1a571(%rip), %rcx     # 0x24380
cmoveq %rax, %rcx
movq (%rcx), %rdx
jmp 0x9e1f
movq 0x1a589(%rip), %rdx     # 0x243a8
movq %rbx, %rdi
movq %r14, %rsi
callq 0x12494
movl $0x5f7, %eax            # imm = 0x5F7
leaq 0x8(%rsp), %rdi
movl %eax, 0xc(%rdi)
callq 0x1b1f2
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq