// File: /workspace/github_c_makefile_star2_O1/dalnefre[P]kernel_abe/schemer.c
// Function: apply_is_boolean_beh
BEH_DECL(apply_is_boolean_beh)
{
	CONS* args = WHAT;
	CONS* to = pr_head(MINE);
	CONS* env = pr_tail(MINE);
	CONS* value;

	DBUG_ENTER("apply_is_boolean_beh");
	DBUG_PRINT("", ("args = %s", cons_to_str(args)));
	if (have_n_args(1, args)) {
		if (is_boolean(lst_first(args))) {
			value = TRUE_SYMBOL;
		} else {
			value = FALSE_SYMBOL;
		}
		DBUG_PRINT("", ("value = %s", cons_to_str(value)));
		SEND(to, value);
	} else {
		DBUG_PRINT("", ("error"));
		FAIL(env, mk_list(ATOM("boolean?"), args));
	}
	DBUG_RETURN;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
movq 0x30(%rdi), %rdi
callq 0x15225
movq %rax, %r15
movq 0x30(%rbx), %rdi
callq 0x15186
movq %rax, %rdi
callq 0xd2f1
movq %rax, %rdi
callq 0x15186
movq %rax, 0x8(%rsp)
movq 0x30(%rbx), %rdi
callq 0x15186
movq %rax, %rdi
callq 0xd2f1
movq %rax, %rdi
callq 0x15225
movq %rax, %r12
leaq 0xedca(%rip), %rax      # 0x1845b
leaq 0x10(%rsp), %rdi
movq %rax, (%rdi)
leaq 0x15c80(%rip), %rbp     # 0x1f320
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x767, 0xc(%rdi)       # imm = 0x767
leaq 0x11324(%rip), %r13     # 0x1a9e0
movq %r13, 0x10(%rdi)
leaq 0x15a79(%rip), %rcx     # 0x1f140
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x16ef2
leaq 0x16215(%rip), %r14     # 0x1f8f0
cmpl $0x0, (%r14)
je 0x9721
movq (%rbp), %rax
movq 0x50(%rax), %rax
movq %r13, 0x10(%rax)
movq %r13, %rdi
callq 0x16664
testl %eax, %eax
je 0x9721
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl $0x768, 0xc(%rax)       # imm = 0x768
movq %r15, %rdi
callq 0xf17c
leaq 0xea07(%rip), %rdi      # 0x1811e
movq %rax, %rsi
xorl %eax, %eax
callq 0x16f63
movl $0x1, %edi
movq %r15, %rsi
callq 0x5074
testq %rax, %rax
je 0x97cf
movq %r15, %rdi
callq 0x15186
movq %rax, %r12
movl $0x1, %edi
callq 0x3d66
cmpq %rax, %r12
je 0x976c
movq %r15, %rdi
callq 0x15186
movq %rax, %r15
xorl %edi, %edi
callq 0x3d66
cmpq %rax, %r15
je 0x976c
xorl %edi, %edi
jmp 0x9771
movl $0x1, %edi
callq 0x3d66
movq %rax, %r15
cmpl $0x0, (%r14)
je 0x97bf
movq (%rbp), %rax
movq 0x50(%rax), %rax
movq %r13, 0x10(%rax)
movq %r13, %rdi
callq 0x16664
testl %eax, %eax
je 0x97bf
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl $0x76f, 0xc(%rax)       # imm = 0x76F
movq %r15, %rdi
callq 0xf17c
leaq 0xe8ef(%rip), %rdi      # 0x180a4
movq %rax, %rsi
xorl %eax, %eax
callq 0x16f63
movq %rbx, %rdi
movq 0x8(%rsp), %rsi
movq %r15, %rdx
jmp 0x9883
cmpl $0x0, (%r14)
je 0x980a
movq (%rbp), %rax
movq 0x50(%rax), %rax
movq %r13, 0x10(%rax)
movq %r13, %rdi
callq 0x16664
testl %eax, %eax
je 0x980a
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl $0x772, 0xc(%rax)       # imm = 0x772
leaq 0xea2a(%rip), %rdi      # 0x1822d
xorl %eax, %eax
callq 0x16f63
leaq 0xec5f(%rip), %rdi      # 0x18470
callq 0x1265c
movq %rax, %rdi
movq %r15, %rsi
callq 0x15164
leaq -0x6d50(%rip), %rsi     # 0x2ad8
movq %rbx, %rdi
movq %rax, %rdx
callq 0xde1a
movq %rax, %r14
leaq 0xe84d(%rip), %rdi      # 0x1808a
callq 0x1265c
movq %rax, %r15
callq 0xd26a
leaq 0x15a3f(%rip), %rsi     # 0x1f290
movq %rax, %rdi
callq 0x15164
movq %r15, %rdi
movq %rax, %rsi
callq 0x15164
movq %rax, %rdi
movq %r12, %rsi
callq 0x15164
movq %r14, %rdi
movq %rax, %rsi
callq 0x15164
movq %rbx, %rdi
movq %r12, %rsi
movq %rax, %rdx
callq 0xdef7
leaq 0x10(%rsp), %rdi
movl $0x775, 0xc(%rdi)       # imm = 0x775
callq 0x17077
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq