// File: /workspace/github_c_makefile_star2_O2/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 0x14906
movq %rax, %r15
movq 0x30(%rbx), %rdi
callq 0x147fb
movq %rax, %rdi
callq 0xcd5b
movq %rax, %rdi
callq 0x147fb
movq %rax, 0x8(%rsp)
movq 0x30(%rbx), %rdi
callq 0x147fb
movq %rax, %rdi
callq 0xcd5b
movq %rax, %rdi
callq 0x14906
movq %rax, %r12
leaq 0xd4f6(%rip), %rax      # 0x174c8
leaq 0x10(%rsp), %rdi
movq %rax, (%rdi)
leaq 0x1433f(%rip), %rbp     # 0x1e320
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x841, 0xc(%rdi)       # imm = 0x841
leaq 0xf9bf(%rip), %r13      # 0x199bc
movq %r13, 0x10(%rdi)
leaq 0x14138(%rip), %rcx     # 0x1e140
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x16679
leaq 0x148d4(%rip), %r14     # 0x1e8f0
cmpl $0x0, (%r14)
je 0xa062
movq (%rbp), %rax
movq 0x50(%rax), %rax
movq %r13, 0x10(%rax)
movq %r13, %rdi
callq 0x15df4
testl %eax, %eax
je 0xa062
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl $0x842, 0xc(%rax)       # imm = 0x842
movq %r15, %rdi
callq 0xed08
leaq 0xd0c6(%rip), %rdi      # 0x1711e
movq %rax, %rsi
xorl %eax, %eax
callq 0x166f0
cmpq 0x13f57(%rip), %r15     # 0x1dfc0
je 0xa0a3
testq %r15, %r15
je 0xa0a3
movl %r15d, %eax
andl $0x3, %eax
jne 0xa0a3
movq %r15, %rdi
callq 0x147fb
notl %eax
testb $0x3, %al
jne 0xa0a3
movq %r15, %rdi
callq 0x14906
testq %rax, %rax
je 0xa0a3
movq %r15, %rdi
callq 0x14906
testb $0x3, %al
je 0xa17d
cmpl $0x0, (%r14)
je 0xa0de
movq (%rbp), %rax
movq 0x50(%rax), %rax
movq %r13, 0x10(%rax)
movq %r13, %rdi
callq 0x15df4
testl %eax, %eax
je 0xa0de
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl $0x854, 0xc(%rax)       # imm = 0x854
leaq 0xd156(%rip), %rdi      # 0x1722d
xorl %eax, %eax
callq 0x166f0
leaq 0xd3f2(%rip), %rdi      # 0x174d7
callq 0x11f1f
movq %rax, %rdi
movq %r15, %rsi
callq 0x14764
leaq -0x7a24(%rip), %rsi     # 0x26d8
movq %rbx, %rdi
movq %rax, %rdx
callq 0xd9b7
movq %rax, %r14
leaq 0xcf79(%rip), %rdi      # 0x1708a
callq 0x11f1f
movq %rax, %r15
callq 0xccde
leaq 0x1416b(%rip), %rsi     # 0x1e290
movq %rax, %rdi
callq 0x14764
movq %r15, %rdi
movq %rax, %rsi
callq 0x14764
movq %rax, %rdi
movq %r12, %rsi
callq 0x14764
movq %r14, %rdi
movq %rax, %rsi
callq 0x14764
movq %rbx, %rdi
movq %r12, %rsi
movq %rax, %rdx
callq 0xda94
movl $0x856, %eax            # imm = 0x856
leaq 0x10(%rsp), %rdi
movl %eax, 0xc(%rdi)
callq 0x167f2
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r15, %rdi
callq 0x14906
cmpq 0x13e34(%rip), %rax     # 0x1dfc0
je 0xa0a3
movq %r15, %rdi
callq 0x14906
movq %rax, %rdi
callq 0x147fb
notl %eax
testb $0x3, %al
jne 0xa0a3
movq %r15, %rdi
callq 0x147fb
movq %rax, %r12
shrq $0x2, %r12
movq %r15, %rdi
callq 0x14906
movq %rax, %rdi
callq 0x147fb
shrq $0x2, %rax
cmpl %eax, %r12d
jge 0xa211
movq %r15, %rdi
callq 0x14906
movq %rax, %r15
movq %rax, %rdi
callq 0x14906
cmpq 0x13dd2(%rip), %rax     # 0x1dfc0
je 0xa215
movq 0x30(%rbx), %rdi
callq 0x147fb
movq %rbx, %rdi
movq %rax, %rsi
movq %r15, %rdx
callq 0xda94
movl $0x84e, %eax            # imm = 0x84E
jmp 0xa161
xorl %edi, %edi
jmp 0xa218
pushq $0x1
popq %rdi
callq 0x38f6
movq %rax, %r15
cmpl $0x0, (%r14)
je 0xa266
movq (%rbp), %rax
movq 0x50(%rax), %rax
movq %r13, 0x10(%rax)
movq %r13, %rdi
callq 0x15df4
testl %eax, %eax
je 0xa266
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl $0x858, 0xc(%rax)       # imm = 0x858
movq %r15, %rdi
callq 0xed08
leaq 0xce48(%rip), %rdi      # 0x170a4
movq %rax, %rsi
xorl %eax, %eax
callq 0x166f0
movq %rbx, %rdi
movq 0x8(%rsp), %rsi
movq %r15, %rdx
callq 0xda94
movl $0x85a, %eax            # imm = 0x85A
jmp 0xa161