// File: /workspace/github_c_makefile_star2_O1/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 0x19c45
movq %rax, %r15
leaq 0x140e5(%rip), %rax     # 0x1c788
leaq 0x8(%rsp), %rdi
movq %rax, (%rdi)
leaq 0x1ac7e(%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 0x13c7d(%rip), %rcx     # 0x1c34a
movq %rcx, 0x10(%rdi)
leaq 0x1aa78(%rip), %rcx     # 0x23150
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x1b912
cmpq 0x1a8d4(%rip), %r15     # 0x22fc0
je 0x87ff
testq %r15, %r15
je 0x87ff
movl %r15d, %eax
andl $0x3, %eax
jne 0x87ff
movq %r15, %rdi
callq 0x19ba6
movq %rax, %r14
andl $0x3, %eax
cmpl $0x1, %eax
jne 0x8860
movq %r15, %rdi
callq 0x19c45
movq %rax, %r15
testq %rax, %rax
sete %al
testb $0x3, %r15b
setne %bpl
cmpq 0x1a882(%rip), %r15     # 0x22fc0
sete %cl
orb %al, %bpl
orb %cl, %bpl
jne 0x8769
movq %r15, %rdi
callq 0x19ba6
movq %rax, %r12
leaq 0x13e3e(%rip), %rdi     # 0x1c599
callq 0x1707c
cmpq %rax, %r12
je 0x88c1
leaq 0x13de9(%rip), %rdi     # 0x1c559
callq 0x1707c
cmpq %rax, %r15
je 0x88c1
testb %bpl, %bpl
jne 0x87b3
movq %r15, %rdi
callq 0x19ba6
movq %rax, %r12
leaq 0x13e41(%rip), %rdi     # 0x1c5d6
callq 0x1707c
cmpq %rax, %r12
jne 0x87b3
movq %r15, %rdi
callq 0x19c45
cmpq $0x83, %rax
je 0x88f7
leaq -0x2bc5(%rip), %rsi     # 0x5bf5
leaq 0x1aadf(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0x13e0e(%rip), %rdi     # 0x1c5e1
callq 0x1707c
movq %rax, %r12
movq 0x30(%rbx), %rdi
callq 0x19ba6
movq %rax, %rdi
movq %r15, %rsi
callq 0x19b84
movq %r12, %rdi
movq %rax, %rsi
callq 0x19b84
jmp 0x88ca
leaq -0x2c11(%rip), %rsi     # 0x5bf5
leaq 0x1aa93(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0x13d14(%rip), %rdi     # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0x137ee(%rip), %rdi     # 0x1c01c
callq 0x1707c
movl $0x897, %esi            # imm = 0x897
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 $0x225, %eax            # imm = 0x225
jmp 0x88dd
leaq -0x2c72(%rip), %rsi     # 0x5bf5
leaq 0x1aa32(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0x13cb3(%rip), %rdi     # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0x1378d(%rip), %rdi     # 0x1c01c
callq 0x1707c
movl $0x89f, %esi            # imm = 0x89F
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 $0x227, %eax            # imm = 0x227
jmp 0x88dd
movq 0x30(%rbx), %rdi
callq 0x19ba6
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x12917
movl $0x23d, %eax            # imm = 0x23D
leaq 0x8(%rsp), %rdi
movl %eax, 0xc(%rdi)
callq 0x1ba97
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq 0x1aaba(%rip), %r15     # 0x233b8
movq 0x30(%rbx), %rdi
callq 0x19ba6
movq %r14, %rdi
movq %rax, %rsi
callq 0x19b84
leaq 0x1e(%rip), %rsi        # 0x8937
movq %rbx, %rdi
movq %rax, %rdx
callq 0x1283a
movq %rax, %r14
leaq 0x13e66(%rip), %rsi     # 0x1c794
movq %r15, %rdi
callq *0x10(%r15)
jmp 0x88ca