// File: /workspace/github_c_makefile_star2_O1/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 %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq 0x30(%rdi), %rdi
callq 0x19c45
movq %rax, %r15
leaq 0x12806(%rip), %rax     # 0x1c958
movq %rsp, %rdi
movq %rax, (%rdi)
leaq 0x191d1(%rip), %r12     # 0x23330
movq (%r12), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x5e3, 0xc(%rdi)       # imm = 0x5E3
leaq 0x121cf(%rip), %rcx     # 0x1c34a
movq %rcx, 0x10(%rdi)
leaq 0x18fca(%rip), %rcx     # 0x23150
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x1b912
cmpq 0x18e26(%rip), %r15     # 0x22fc0
je 0xa2fb
testq %r15, %r15
je 0xa2fb
movl %r15d, %eax
andl $0x3, %eax
jne 0xa2fb
movq %r15, %rdi
callq 0x19ba6
movq %rax, %r14
andl $0x3, %eax
cmpl $0x1, %eax
jne 0xa35f
movq %r15, %rdi
callq 0x19c45
movq %rax, %r15
leaq 0x19752(%rip), %r13     # 0x23930
cmpl $0x0, (%r13)
je 0xa229
movq (%r12), %rax
movq 0x50(%rax), %rax
leaq 0x12342(%rip), %rdi     # 0x1c536
movq %rdi, 0x10(%rax)
callq 0x1b084
testl %eax, %eax
je 0xa229
movq (%r12), %rax
movq 0x50(%rax), %rax
movl $0x5e9, 0xc(%rax)       # imm = 0x5E9
movq %r14, %rdi
callq 0x13b9c
leaq 0x13335(%rip), %rdi     # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b983
cmpl $0x0, (%r13)
je 0xa274
movq (%r12), %rax
movq 0x50(%rax), %rax
leaq 0x122fc(%rip), %rdi     # 0x1c53b
movq %rdi, 0x10(%rax)
callq 0x1b084
testl %eax, %eax
je 0xa274
movq (%r12), %rax
movq 0x50(%rax), %rax
movl $0x5ea, 0xc(%rax)       # imm = 0x5EA
movq %r15, %rdi
callq 0x13b9c
leaq 0x132ea(%rip), %rdi     # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b983
testq %r15, %r15
sete %al
testb $0x3, %r15b
setne %bpl
cmpq 0x18d37(%rip), %r15     # 0x22fc0
sete %cl
orb %al, %bpl
orb %cl, %bpl
jne 0xa2d9
movq %r15, %rdi
callq 0x19ba6
movq %rax, %r12
leaq 0x122eb(%rip), %rdi     # 0x1c591
callq 0x1707c
cmpq %rax, %r12
je 0xa3dc
testb %bpl, %bpl
jne 0xa2d9
movq %r15, %rdi
callq 0x19ba6
movq %rax, %r12
leaq 0x122e9(%rip), %rdi     # 0x1c5b4
callq 0x1707c
cmpq %rax, %r12
je 0xa40d
leaq 0x122f0(%rip), %rdi     # 0x1c5d0
callq 0x1707c
cmpq %rax, %r15
je 0xa3c0
movq %rbx, %rdi
callq 0x8681
jmp 0xa41f
leaq -0x470d(%rip), %rsi     # 0x5bf5
leaq 0x18f97(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0x12218(%rip), %rdi     # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0x11cf2(%rip), %rdi     # 0x1c01c
callq 0x1707c
movl $0x1793, %esi           # imm = 0x1793
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 $0x5e4, %eax            # imm = 0x5E4
jmp 0xa424
leaq -0x4771(%rip), %rsi     # 0x5bf5
leaq 0x18f33(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0x121b4(%rip), %rdi     # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0x11c8e(%rip), %rdi     # 0x1c01c
callq 0x1707c
movl $0x179b, %esi           # imm = 0x179B
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 $0x5e6, %eax            # imm = 0x5E6
jmp 0xa424
movq 0x18ff1(%rip), %rdi     # 0x233b8
leaq 0x11d9f(%rip), %rsi     # 0x1c16d
callq *0x10(%rdi)
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
jmp 0xa41a
movq %r15, %rdi
callq 0x19c45
leaq -0x2bd(%rip), %rcx      # 0xa12e
leaq 0x3(,%rcx,4), %rcx
cmpq %rcx, %rax
leaq 0x18f8b(%rip), %rax     # 0x23388
leaq 0x18f7c(%rip), %rcx     # 0x23380
cmoveq %rax, %rcx
movq (%rcx), %rdx
jmp 0xa414
movq 0x18f94(%rip), %rdx     # 0x233a8
movq %rbx, %rdi
movq %r14, %rsi
callq 0x12917
movl $0x5f7, %eax            # imm = 0x5F7
movq %rsp, %rdi
movl %eax, 0xc(%rdi)
callq 0x1ba97
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq