// File: /workspace/github_c_makefile_star2_O3/dalnefre[P]kernel_abe/kernel.c
// Function: object_type
static
BEH_DECL(object_type)
{
	CONS* msg = WHAT;
	CONS* cust;
	CONS* req;

	DBUG_ENTER("object_type");
	ENSURE(is_pr(msg));
	cust = hd(msg);
	ENSURE(actorp(cust));
	req = tl(msg);

	if (is_pr(req)
	&& (hd(req) == ATOM("eval"))) {
		SEND(cust, SELF);
/*
	} else if (is_pr(req)
	&& (hd(req) == ATOM("eq"))) {
		SEND(cust, ((tl(req) == SELF) ? a_true : a_false));
*/
	} else if (req == ATOM("copy_immutable")) {
		SEND(cust, SELF);
	} else if (is_pr(req)
	&& (hd(req) == ATOM("write_tail"))
	&& (tl(req) == NUMBER(' '))) {
		SINK* sink = current_sink;
		CONS* k_tail = ACTOR(dotted_tail_beh, pr(cust, SELF));
		SEND(k_tail, (sink->put_cstr)(sink, " . "));
	} else {
		THROW(pr(ATOM("Not-Understood"), pr(SELF, req)));
	}
	DBUG_RETURN;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq 0x30(%rdi), %rdi
callq 0x19d11
movq %rax, %r15
leaq 0x1410c(%rip), %rax     # 0x1c788
movq %rsp, %rdi
movq %rax, (%rdi)
leaq 0x1aca7(%rip), %rax     # 0x23330
movq (%rax), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x224, 0xc(%rdi)       # imm = 0x224
leaq 0x13ca6(%rip), %rcx     # 0x1c34a
movq %rcx, 0x10(%rdi)
leaq 0x1aaa1(%rip), %rcx     # 0x23150
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x1ba26
cmpq 0x1a8fd(%rip), %r15     # 0x22fc0
je 0x87ce
testq %r15, %r15
je 0x87ce
movl %r15d, %eax
andl $0x3, %eax
jne 0x87ce
movq %r15, %rdi
callq 0x19c72
movq %rax, %r14
andl $0x3, %eax
cmpl $0x1, %eax
jne 0x8832
movq %r15, %rdi
callq 0x19d11
movq %rax, %r15
cmpq 0x1a8b9(%rip), %rax     # 0x22fc0
je 0x8893
testq %r15, %r15
je 0x8893
movl %r15d, %eax
andl $0x3, %eax
jne 0x8893
movq %r15, %rdi
callq 0x19c72
movq %rax, %r12
leaq 0x13e65(%rip), %rdi     # 0x1c599
callq 0x170ff
cmpq %rax, %r12
je 0x88ed
leaq 0x13e10(%rip), %rdi     # 0x1c559
callq 0x170ff
cmpq %rax, %r15
je 0x88ed
movq %r15, %rdi
callq 0x19c72
movq %rax, %r12
leaq 0x13e6d(%rip), %rdi     # 0x1c5d6
callq 0x170ff
cmpq %rax, %r12
jne 0x88a4
movq %r15, %rdi
callq 0x19d11
cmpq $0x83, %rax
jne 0x88a4
movq 0x1ac26(%rip), %r15     # 0x233b8
movq 0x30(%rbx), %rdi
callq 0x19c72
movq %r14, %rdi
movq %rax, %rsi
callq 0x19c50
leaq 0x173(%rip), %rsi       # 0x8920
movq %rbx, %rdi
movq %rax, %rdx
callq 0x128be
movq %rax, %r14
leaq 0x13fd2(%rip), %rsi     # 0x1c794
movq %r15, %rdi
callq *0x10(%r15)
jmp 0x88f6
leaq -0x2c2d(%rip), %rsi     # 0x5ba8
leaq 0x1aac4(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x128be
movq %rax, %r14
leaq 0x13d45(%rip), %rdi     # 0x1c533
callq 0x170ff
movq %rax, %r15
leaq 0x1381f(%rip), %rdi     # 0x1c01c
callq 0x170ff
movl $0x897, %esi            # imm = 0x897
movq %rax, %rdi
callq 0x19c50
movq %r15, %rdi
movq %rax, %rsi
callq 0x19c50
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x1299b
movl $0x225, %eax            # imm = 0x225
jmp 0x8909
leaq -0x2c91(%rip), %rsi     # 0x5ba8
leaq 0x1aa60(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x128be
movq %rax, %r14
leaq 0x13ce1(%rip), %rdi     # 0x1c533
callq 0x170ff
movq %rax, %r15
leaq 0x137bb(%rip), %rdi     # 0x1c01c
callq 0x170ff
movl $0x89f, %esi            # imm = 0x89F
movq %rax, %rdi
callq 0x19c50
movq %r15, %rdi
movq %rax, %rsi
callq 0x19c50
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x1299b
movl $0x227, %eax            # imm = 0x227
jmp 0x8909
leaq 0x13cbf(%rip), %rdi     # 0x1c559
callq 0x170ff
cmpq %rax, %r15
je 0x88ed
leaq -0x2d03(%rip), %rsi     # 0x5ba8
leaq 0x1a9ee(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x128be
movq %rax, %r14
leaq 0x13d1d(%rip), %rdi     # 0x1c5e1
callq 0x170ff
movq %rax, %r12
movq 0x30(%rbx), %rdi
callq 0x19c72
movq %rax, %rdi
movq %r15, %rsi
callq 0x19c50
movq %r12, %rdi
movq %rax, %rsi
callq 0x19c50
jmp 0x88f6
movq 0x30(%rbx), %rdi
callq 0x19c72
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x1299b
movl $0x23d, %eax            # imm = 0x23D
movq %rsp, %rdi
movl %eax, 0xc(%rdi)
callq 0x1bbab
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq