// File: /workspace/github_c_makefile_star2_O2/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 %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rdi, %rbx
movq 0x30(%rdi), %rdi
callq 0x19306
movq %rax, %r15
leaq 0x14713(%rip), %rax     # 0x1c788
leaq 0x8(%rsp), %rdi
movq %rax, (%rdi)
leaq 0x1c2ac(%rip), %rax     # 0x24330
movq (%rax), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x224, 0xc(%rdi)       # imm = 0x224
leaq 0x142ab(%rip), %rcx     # 0x1c34a
movq %rcx, 0x10(%rdi)
leaq 0x1c0a6(%rip), %rcx     # 0x24150
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x1b079
cmpq 0x1bf02(%rip), %r15     # 0x23fc0
je 0x81d1
testq %r15, %r15
je 0x81d1
movl %r15d, %eax
andl $0x3, %eax
jne 0x81d1
movq %r15, %rdi
callq 0x191fb
movq %rax, %r14
andl $0x3, %eax
cmpl $0x1, %eax
jne 0x8232
movq %r15, %rdi
callq 0x19306
movq %rax, %r15
testq %rax, %rax
sete %al
testb $0x3, %r15b
setne %bpl
cmpq 0x1beb0(%rip), %r15     # 0x23fc0
sete %cl
orb %al, %bpl
orb %cl, %bpl
jne 0x813b
movq %r15, %rdi
callq 0x191fb
movq %rax, %r12
leaq 0x1446c(%rip), %rdi     # 0x1c599
callq 0x1691f
cmpq %rax, %r12
je 0x8293
leaq 0x14417(%rip), %rdi     # 0x1c559
callq 0x1691f
cmpq %rax, %r15
je 0x8293
testb %bpl, %bpl
jne 0x8185
movq %r15, %rdi
callq 0x191fb
movq %rax, %r12
leaq 0x1446f(%rip), %rdi     # 0x1c5d6
callq 0x1691f
cmpq %rax, %r12
jne 0x8185
movq %r15, %rdi
callq 0x19306
cmpq $0x83, %rax
je 0x82c9
leaq -0x2bc0(%rip), %rsi     # 0x55cc
leaq 0x1c10d(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0x1443c(%rip), %rdi     # 0x1c5e1
callq 0x1691f
movq %rax, %r12
movq 0x30(%rbx), %rdi
callq 0x191fb
movq %rax, %rdi
movq %r15, %rsi
callq 0x19164
movq %r12, %rdi
movq %rax, %rsi
callq 0x19164
jmp 0x829c
leaq -0x2c0c(%rip), %rsi     # 0x55cc
leaq 0x1c0c1(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0x14342(%rip), %rdi     # 0x1c533
callq 0x1691f
movq %rax, %r15
leaq 0x13e1c(%rip), %rdi     # 0x1c01c
callq 0x1691f
movl $0x897, %esi            # imm = 0x897
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 $0x225, %eax            # imm = 0x225
jmp 0x82af
leaq -0x2c6d(%rip), %rsi     # 0x55cc
leaq 0x1c060(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0x142e1(%rip), %rdi     # 0x1c533
callq 0x1691f
movq %rax, %r15
leaq 0x13dbb(%rip), %rdi     # 0x1c01c
callq 0x1691f
movl $0x89f, %esi            # imm = 0x89F
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 $0x227, %eax            # imm = 0x227
jmp 0x82af
movq 0x30(%rbx), %rdi
callq 0x191fb
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x12494
movl $0x23d, %eax            # imm = 0x23D
leaq 0x8(%rsp), %rdi
movl %eax, 0xc(%rdi)
callq 0x1b1f2
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq 0x1c0e8(%rip), %r15     # 0x243b8
movq 0x30(%rbx), %rdi
callq 0x191fb
movq %r14, %rdi
movq %rax, %rsi
callq 0x19164
leaq 0x1e(%rip), %rsi        # 0x8309
movq %rbx, %rdi
movq %rax, %rdx
callq 0x123b7
movq %rax, %r14
leaq 0x14494(%rip), %rsi     # 0x1c794
movq %r15, %rdi
callq *0x10(%r15)
jmp 0x829c