// File: /workspace/github_c_makefile_star2_O1/dalnefre[P]kernel_abe/schemer.c
// Function: apply_less_beh
BEH_DECL(apply_less_beh)
{
	CONS* args = WHAT;
	CONS* to = pr_head(MINE);
	CONS* env = pr_tail(MINE);
	CONS* value;

	DBUG_ENTER("apply_less_beh");
	DBUG_PRINT("", ("args = %s", cons_to_str(args)));
	if (is_pair(args) && is_number(lst_first(args)) 
	&&  is_pair(lst_rest(args)) && is_number(lst_second(args))) {
		int n = MK_INT(lst_first(args));
		int m = MK_INT(lst_second(args));

		if (n < m) {
			args = lst_rest(args);
			if (is_empty(lst_rest(args))) {
				value = TRUE_SYMBOL;
			} else {
				SEND(SELF, args);
				DBUG_RETURN;
			}
		} else {
			value = FALSE_SYMBOL;
		}
	} else {
		DBUG_PRINT("", ("error"));
		FAIL(env, mk_list(ATOM("<"), args));
		DBUG_RETURN;
	}
	DBUG_PRINT("", ("value = %s", cons_to_str(value)));
	SEND(to, value);
	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, %r12
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, %r13
leaq 0xdffc(%rip), %rax      # 0x184c8
leaq 0x10(%rsp), %rdi
movq %rax, (%rdi)
leaq 0x14e45(%rip), %rbp     # 0x1f320
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x841, 0xc(%rdi)       # imm = 0x841
leaq 0x104e9(%rip), %r15     # 0x1a9e0
movq %r15, 0x10(%rdi)
leaq 0x14c3e(%rip), %rcx     # 0x1f140
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x16ef2
leaq 0x153da(%rip), %r14     # 0x1f8f0
cmpl $0x0, (%r14)
je 0xa55c
movq (%rbp), %rax
movq 0x50(%rax), %rax
movq %r15, 0x10(%rax)
movq %r15, %rdi
callq 0x16664
testl %eax, %eax
je 0xa55c
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl $0x842, 0xc(%rax)       # imm = 0x842
movq %r12, %rdi
callq 0xf17c
leaq 0xdbcc(%rip), %rdi      # 0x1811e
movq %rax, %rsi
xorl %eax, %eax
callq 0x16f63
cmpq 0x14a5d(%rip), %r12     # 0x1efc0
je 0xa59d
testq %r12, %r12
je 0xa59d
movl %r12d, %eax
andl $0x3, %eax
jne 0xa59d
movq %r12, %rdi
callq 0x15186
notl %eax
testb $0x3, %al
jne 0xa59d
movq %r12, %rdi
callq 0x15225
testq %rax, %rax
je 0xa59d
movq %r12, %rdi
callq 0x15225
testb $0x3, %al
je 0xa677
cmpl $0x0, (%r14)
je 0xa5d8
movq (%rbp), %rax
movq 0x50(%rax), %rax
movq %r15, 0x10(%rax)
movq %r15, %rdi
callq 0x16664
testl %eax, %eax
je 0xa5d8
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl $0x854, 0xc(%rax)       # imm = 0x854
leaq 0xdc5c(%rip), %rdi      # 0x1822d
xorl %eax, %eax
callq 0x16f63
leaq 0xdef8(%rip), %rdi      # 0x184d7
callq 0x1265c
movq %rax, %rdi
movq %r12, %rsi
callq 0x15164
leaq -0x7b1e(%rip), %rsi     # 0x2ad8
movq %rbx, %rdi
movq %rax, %rdx
callq 0xde1a
movq %rax, %r14
leaq 0xda7f(%rip), %rdi      # 0x1808a
callq 0x1265c
movq %rax, %r15
callq 0xd26a
leaq 0x14c71(%rip), %rsi     # 0x1f290
movq %rax, %rdi
callq 0x15164
movq %r15, %rdi
movq %rax, %rsi
callq 0x15164
movq %rax, %rdi
movq %r13, %rsi
callq 0x15164
movq %r14, %rdi
movq %rax, %rsi
callq 0x15164
movq %rbx, %rdi
movq %r13, %rsi
movq %rax, %rdx
callq 0xdef7
movl $0x856, %eax            # imm = 0x856
leaq 0x10(%rsp), %rdi
movl %eax, 0xc(%rdi)
callq 0x17077
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r12, %rdi
callq 0x15225
cmpq 0x1493a(%rip), %rax     # 0x1efc0
je 0xa59d
movq %r12, %rdi
callq 0x15225
movq %rax, %rdi
callq 0x15186
notl %eax
testb $0x3, %al
jne 0xa59d
movq %r12, %rdi
callq 0x15186
movq %rax, %r13
shrq $0x2, %r13
movq %r12, %rdi
callq 0x15225
movq %rax, %rdi
callq 0x15186
shrq $0x2, %rax
cmpl %eax, %r13d
jge 0xa716
movq %r12, %rdi
callq 0x15225
movq %rax, %r12
movq %rax, %rdi
callq 0x15225
cmpq 0x148d8(%rip), %rax     # 0x1efc0
je 0xa71a
movq 0x30(%rbx), %rdi
callq 0x15186
movq %rbx, %rdi
movq %rax, %rsi
movq %r12, %rdx
callq 0xdef7
leaq 0x10(%rsp), %rdi
movl $0x84e, 0xc(%rdi)       # imm = 0x84E
callq 0x17077
xorl %eax, %eax
jmp 0xa729
xorl %edi, %edi
jmp 0xa71f
movl $0x1, %edi
callq 0x3d66
movq %rax, %r12
movb $0x1, %al
testb %al, %al
je 0xa668
cmpl $0x0, (%r14)
je 0xa777
movq (%rbp), %rax
movq 0x50(%rax), %rax
movq %r15, 0x10(%rax)
movq %r15, %rdi
callq 0x16664
testl %eax, %eax
je 0xa777
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl $0x858, 0xc(%rax)       # imm = 0x858
movq %r12, %rdi
callq 0xf17c
leaq 0xd937(%rip), %rdi      # 0x180a4
movq %rax, %rsi
xorl %eax, %eax
callq 0x16f63
movq %rbx, %rdi
movq 0x8(%rsp), %rsi
movq %r12, %rdx
callq 0xdef7
movl $0x85a, %eax            # imm = 0x85A
jmp 0xa65b