// File: /workspace/github_c_makefile_star2_O1/dalnefre[P]kernel_abe/kernel.c
// Function: pair_type
static
BEH_DECL(pair_type)
{
	CONS* msg = WHAT;
	CONS* cust;
	CONS* req;

	DBUG_ENTER("pair_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("set_car"))) {
		THROW(pr(ATOM("Immutable"), SELF));
	} else if (is_pr(req)
	&& (hd(req) == ATOM("set_cdr"))) {
		THROW(pr(ATOM("Immutable"), SELF));
	} else if (req == ATOM("copy_immutable")) {
		SEND(cust, SELF);
	} else {
		cons_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 0x189b3(%rip), %rax     # 0x1c529
movq %rsp, %rdi
movq %rax, (%rdi)
leaq 0x1f7ad(%rip), %r12     # 0x23330
movq (%r12), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x573, 0xc(%rdi)       # imm = 0x573
leaq 0x187ab(%rip), %rcx     # 0x1c34a
movq %rcx, 0x10(%rdi)
leaq 0x1f5a6(%rip), %rcx     # 0x23150
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x1b912
cmpq 0x1f402(%rip), %r15     # 0x22fc0
je 0x3d1f
testq %r15, %r15
je 0x3d1f
movl %r15d, %eax
andl $0x3, %eax
jne 0x3d1f
movq %r15, %rdi
callq 0x19ba6
movq %rax, %r14
andl $0x3, %eax
cmpl $0x1, %eax
jne 0x3d83
movq %r15, %rdi
callq 0x19c45
movq %rax, %r15
leaq 0x1fd2e(%rip), %r13     # 0x23930
cmpl $0x0, (%r13)
je 0x3c4d
movq (%r12), %rax
movq 0x50(%rax), %rax
leaq 0x1891e(%rip), %rdi     # 0x1c536
movq %rdi, 0x10(%rax)
callq 0x1b084
testl %eax, %eax
je 0x3c4d
movq (%r12), %rax
movq 0x50(%rax), %rax
movl $0x579, 0xc(%rax)       # imm = 0x579
movq %r14, %rdi
callq 0x13b9c
leaq 0x19911(%rip), %rdi     # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b983
cmpl $0x0, (%r13)
je 0x3c98
movq (%r12), %rax
movq 0x50(%rax), %rax
leaq 0x188d8(%rip), %rdi     # 0x1c53b
movq %rdi, 0x10(%rax)
callq 0x1b084
testl %eax, %eax
je 0x3c98
movq (%r12), %rax
movq 0x50(%rax), %rax
movl $0x57a, 0xc(%rax)       # imm = 0x57A
movq %r15, %rdi
callq 0x13b9c
leaq 0x198c6(%rip), %rdi     # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b983
testq %r15, %r15
sete %al
testb $0x3, %r15b
setne %bpl
cmpq 0x1f313(%rip), %r15     # 0x22fc0
sete %cl
orb %al, %bpl
orb %cl, %bpl
jne 0x3cfd
movq %r15, %rdi
callq 0x19ba6
movq %rax, %r12
leaq 0x18875(%rip), %rdi     # 0x1c53f
callq 0x1707c
cmpq %rax, %r12
je 0x3def
testb %bpl, %bpl
jne 0x3cfd
movq %r15, %rdi
callq 0x19ba6
movq %rax, %r12
leaq 0x18862(%rip), %rdi     # 0x1c551
callq 0x1707c
cmpq %rax, %r12
je 0x3def
leaq 0x18855(%rip), %rdi     # 0x1c559
callq 0x1707c
cmpq %rax, %r15
je 0x3de4
movq %rbx, %rdi
callq 0x5cd8
jmp 0x3e39
leaq 0x1ecf(%rip), %rsi      # 0x5bf5
leaq 0x1f573(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0x187f4(%rip), %rdi     # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0x182ce(%rip), %rdi     # 0x1c01c
callq 0x1707c
movl $0x15d3, %esi           # imm = 0x15D3
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 $0x574, %eax            # imm = 0x574
jmp 0x3e3e
leaq 0x1e6b(%rip), %rsi      # 0x5bf5
leaq 0x1f50f(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0x18790(%rip), %rdi     # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0x1826a(%rip), %rdi     # 0x1c01c
callq 0x1707c
movl $0x15db, %esi           # imm = 0x15DB
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 $0x576, %eax            # imm = 0x576
jmp 0x3e3e
movq 0x30(%rbx), %rdi
callq 0x19ba6
jmp 0x3e2b
leaq 0x1dff(%rip), %rsi      # 0x5bf5
leaq 0x1f4a3(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0x18738(%rip), %rdi     # 0x1c547
callq 0x1707c
movq %rax, %r15
movq 0x30(%rbx), %rdi
callq 0x19ba6
movq %r15, %rdi
movq %rax, %rsi
callq 0x19b84
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x12917
movl $0x586, %eax            # imm = 0x586
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