// File: /workspace/github_c_makefile_star2_O1/dalnefre[P]kernel_abe/kernel.c
// Function: null_type
static
BEH_DECL(null_type)
{
	CONS* msg = WHAT;
	CONS* cust;
	CONS* req;

	DBUG_ENTER("null_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(null_type)) ? a_true : a_false));
	} else if (is_pr(req)
	&& (hd(req) == ATOM("eval"))) {
		SEND(cust, SELF);
	} else if (req == ATOM("as_pair")) {
		SEND(cust, NIL);
	} else if (req == ATOM("as_tuple")) {
		SEND(cust, NIL);
	} else if (is_pr(req) && is_pr(tl(req))
	&& (hd(req) == ATOM("match"))
	&& (hd(tl(req)) == a_nil)) {
		SEND(cust, a_inert);
	} else if (req == ATOM("copy_immutable")) {
		SEND(cust, SELF);
	} else if (is_pr(req)
	&& (hd(req) == ATOM("map"))) {
		CONS* req_ = tl(req);

		SEND(SELF, pr(cust, req_));
	} else if (is_pr(req) && is_pr(tl(req))
	&& (hd(req) == ATOM("foldl"))) {
		CONS* zero = hd(tl(req));

		SEND(cust, zero);
	} else if (req == ATOM("write")) {
		SINK* sink = current_sink;
		SEND(cust, (sink->put_cstr)(sink, "()"));
	} else if (is_pr(req)
	&& (hd(req) == ATOM("write_tail"))
	&& (tl(req) == NUMBER(' '))) {
		SINK* sink = current_sink;
		SEND(cust, (sink->put)(sink, NUMBER(')')));
	} else {
		THROW(pr(ATOM("Not-Understood"), pr(SELF, req)));
	}
	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 0x12d3f(%rip), %rax     # 0x1c94e
movq %rsp, %rdi
movq %rax, (%rdi)
leaq 0x19714(%rip), %r12     # 0x23330
movq (%r12), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x3c7, 0xc(%rdi)       # imm = 0x3C7
leaq 0x12712(%rip), %rcx     # 0x1c34a
movq %rcx, 0x10(%rdi)
leaq 0x1950d(%rip), %rcx     # 0x23150
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x1b912
cmpq 0x19369(%rip), %r15     # 0x22fc0
je 0x9ed4
testq %r15, %r15
je 0x9ed4
movl %r15d, %eax
andl $0x3, %eax
jne 0x9ed4
movq %r15, %rdi
callq 0x19ba6
movq %rax, %r14
andl $0x3, %eax
cmpl $0x1, %eax
jne 0x9f38
movq %r15, %rdi
callq 0x19c45
movq %rax, %r15
leaq 0x19c95(%rip), %r13     # 0x23930
cmpl $0x0, (%r13)
je 0x9ce6
movq (%r12), %rax
movq 0x50(%rax), %rax
leaq 0x12885(%rip), %rdi     # 0x1c536
movq %rdi, 0x10(%rax)
callq 0x1b084
testl %eax, %eax
je 0x9ce6
movq (%r12), %rax
movq 0x50(%rax), %rax
movl $0x3cd, 0xc(%rax)       # imm = 0x3CD
movq %r14, %rdi
callq 0x13b9c
leaq 0x13878(%rip), %rdi     # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b983
cmpl $0x0, (%r13)
je 0x9d31
movq (%r12), %rax
movq 0x50(%rax), %rax
leaq 0x1283f(%rip), %rdi     # 0x1c53b
movq %rdi, 0x10(%rax)
callq 0x1b084
testl %eax, %eax
je 0x9d31
movq (%r12), %rax
movq 0x50(%rax), %rax
movl $0x3ce, 0xc(%rax)       # imm = 0x3CE
movq %r15, %rdi
callq 0x13b9c
leaq 0x1382d(%rip), %rdi     # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b983
testq %r15, %r15
sete %al
testb $0x3, %r15b
setne %bpl
cmpq 0x1927a(%rip), %r15     # 0x22fc0
sete %cl
orb %al, %bpl
orb %cl, %bpl
jne 0x9d96
movq %r15, %rdi
callq 0x19ba6
movq %rax, %r12
leaq 0x1282e(%rip), %rdi     # 0x1c591
callq 0x1707c
cmpq %rax, %r12
je 0x9fa2
testb %bpl, %bpl
jne 0x9d96
movq %r15, %rdi
callq 0x19ba6
movq %rax, %r12
leaq 0x12811(%rip), %rdi     # 0x1c599
callq 0x1707c
cmpq %rax, %r12
je 0x9fd9
leaq 0x12801(%rip), %rdi     # 0x1c59e
callq 0x1707c
cmpq %rax, %r15
je 0x9f99
leaq 0x127f4(%rip), %rdi     # 0x1c5a6
callq 0x1707c
cmpq %rax, %r15
je 0x9f99
testb %bpl, %bpl
jne 0x9de2
movq %r15, %rdi
callq 0x19c45
testq %rax, %rax
je 0x9de2
movq %r15, %rdi
callq 0x19c45
testb $0x3, %al
je 0xa022
leaq 0x12770(%rip), %rdi     # 0x1c559
callq 0x1707c
cmpq %rax, %r15
je 0x9fd9
testb %bpl, %bpl
jne 0x9e3e
movq %r15, %rdi
callq 0x19ba6
movq %rax, %r12
leaq 0x127b8(%rip), %rdi     # 0x1c5c6
callq 0x1707c
cmpq %rax, %r12
je 0xa094
testb %bpl, %bpl
jne 0x9e3e
movq %r15, %rdi
callq 0x19c45
testq %rax, %rax
je 0x9e3e
movq %r15, %rdi
callq 0x19c45
testb $0x3, %al
je 0xa0c1
leaq 0x1278b(%rip), %rdi     # 0x1c5d0
callq 0x1707c
cmpq %rax, %r15
je 0x9fe4
testb %bpl, %bpl
jne 0x9e88
movq %r15, %rdi
callq 0x19ba6
movq %rax, %r12
leaq 0x1276c(%rip), %rdi     # 0x1c5d6
callq 0x1707c
cmpq %rax, %r12
jne 0x9e88
movq %r15, %rdi
callq 0x19c45
cmpq $0x83, %rax
je 0xa11a
leaq -0x429a(%rip), %rsi     # 0x5bf5
leaq 0x1940a(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0x12739(%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 0x9ff5
leaq -0x42e6(%rip), %rsi     # 0x5bf5
leaq 0x193be(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0x1263f(%rip), %rdi     # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0x12119(%rip), %rdi     # 0x1c01c
callq 0x1707c
movl $0xf23, %esi            # imm = 0xF23
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 $0x3c8, %eax            # imm = 0x3C8
jmp 0xa008
leaq -0x434a(%rip), %rsi     # 0x5bf5
leaq 0x1935a(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0x125db(%rip), %rdi     # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0x120b5(%rip), %rdi     # 0x1c01c
callq 0x1707c
movl $0xf2b, %esi            # imm = 0xF2B
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 $0x3ca, %eax            # imm = 0x3CA
jmp 0xa008
leaq 0x19300(%rip), %rdx     # 0x232a0
jmp 0x9fd1
movq %r15, %rdi
callq 0x19c45
leaq -0x3c6(%rip), %rcx      # 0x9beb
leaq 0x3(,%rcx,4), %rcx
cmpq %rcx, %rax
leaq 0x193c5(%rip), %rax     # 0x23388
leaq 0x193b6(%rip), %rcx     # 0x23380
cmoveq %rax, %rcx
movq (%rcx), %rdx
movq %rbx, %rdi
movq %r14, %rsi
jmp 0x9ffe
movq 0x30(%rbx), %rdi
callq 0x19ba6
jmp 0x9ff5
movq 0x193cd(%rip), %rdi     # 0x233b8
leaq 0x1216b(%rip), %rsi     # 0x1c15d
callq *0x10(%rdi)
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x12917
movl $0x3f4, %eax            # imm = 0x3F4
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
movq %r15, %rdi
callq 0x19c45
cmpq 0x18f8f(%rip), %rax     # 0x22fc0
je 0x9de2
movq %r15, %rdi
callq 0x19c45
andl $0x3, %eax
cmpl $0x1, %eax
je 0x9de2
movq %r15, %rdi
callq 0x19ba6
movq %rax, %r12
leaq 0x12557(%rip), %rdi     # 0x1c5b4
callq 0x1707c
cmpq %rax, %r12
jne 0x9de2
movq %r15, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19ba6
cmpq 0x19316(%rip), %rax     # 0x23398
jne 0x9de2
movq 0x19319(%rip), %rdx     # 0x233a8
jmp 0x9fd1
movq %r15, %rdi
callq 0x19c45
movq %rax, %r15
movq 0x30(%rbx), %rdi
callq 0x19ba6
movq %rax, %r12
movq %r14, %rdi
movq %r15, %rsi
callq 0x19b84
movq %rbx, %rdi
movq %r12, %rsi
jmp 0x9ffb
movq %r15, %rdi
callq 0x19c45
cmpq 0x18ef0(%rip), %rax     # 0x22fc0
je 0x9e3e
movq %r15, %rdi
callq 0x19c45
andl $0x3, %eax
cmpl $0x1, %eax
je 0x9e3e
movq %r15, %rdi
callq 0x19ba6
movq %rax, %r12
leaq 0x124ce(%rip), %rdi     # 0x1c5ca
callq 0x1707c
cmpq %rax, %r12
jne 0x9e3e
movq %r15, %rdi
callq 0x19c45
movq %rax, %rdi
jmp 0x9fdd
movq 0x19297(%rip), %rdi     # 0x233b8
movl $0xa7, %esi
callq *0x8(%rdi)
jmp 0x9ff5