// File: /workspace/github_c_makefile_star2_O0/dalnefre[P]kernel_abe/schemer.c
// Function: apply_plus_beh
BEH_DECL(apply_plus_beh)
{
	CONS* args = WHAT;
	CONS* to = pr_head(MINE);
	CONS* env = pr_tail(MINE);
	int n = 0;
	CONS* value;

	DBUG_ENTER("apply_plus_beh");
	DBUG_PRINT("", ("args = %s", cons_to_str(args)));
	while (!is_empty(args)) {
		if (is_pair(args) && is_number(lst_first(args))) {
			int m = MK_INT(lst_first(args));

			n += m;
		} else {
			DBUG_PRINT("", ("error"));
			FAIL(env, mk_list(ATOM("+"), mk_list(NUMBER(n), args)));
			DBUG_RETURN;
		}
		args = lst_rest(args);
	}
	value = NUMBER(n);
	DBUG_PRINT("", ("value = %s", cons_to_str(value)));
	SEND(to, value);
	DBUG_RETURN;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x1c340
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x1c1b0
movq %rax, %rdi
callq 0x11430
movq %rax, %rdi
callq 0x1c1b0
movq %rax, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x1c1b0
movq %rax, %rdi
callq 0x11430
movq %rax, %rdi
callq 0x1c340
movq %rax, -0x20(%rbp)
movl $0x0, -0x24(%rbp)
leaq 0x13c65(%rip), %rax     # 0x20495
movq %rax, -0x58(%rbp)
leaq 0x19ad5(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %eax
movl %eax, -0x50(%rbp)
movl $0x7b2, -0x4c(%rbp)     # imm = 0x7B2
leaq 0x16336(%rip), %rax     # 0x22b8c
movq %rax, -0x48(%rbp)
leaq 0x198cf(%rip), %rax     # 0x26130
movq %rax, -0x40(%rbp)
leaq 0x19aa4(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
movq %rax, -0x38(%rbp)
leaq -0x58(%rbp), %rdi
callq 0x1f2c0
leaq 0x1a059(%rip), %rax     # 0x268e0
cmpl $0x0, (%rax)
je 0xc8e5
leaq 0x19a7d(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
leaq 0x162eb(%rip), %rcx     # 0x22b8c
movq %rcx, 0x10(%rax)
leaq 0x162e0(%rip), %rdi     # 0x22b8c
callq 0x1e6d0
cmpl $0x0, %eax
je 0xc8e5
leaq 0x19a53(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
movl $0x7b3, 0xc(%rax)       # imm = 0x7B3
movq -0x10(%rbp), %rdi
callq 0x14080
movq %rax, %rsi
leaq 0x13840(%rip), %rdi     # 0x2011e
movb $0x0, %al
callq 0x1f370
jmp 0xc8e7
jmp 0xc8e9
leaq 0x19990(%rip), %rax     # 0x26280
cmpq %rax, -0x10(%rbp)
sete %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
setne %al
xorb $-0x1, %al
testb $0x1, %al
jne 0xc910
jmp 0xcae0
xorl %eax, %eax
cmpq $0x0, -0x10(%rbp)
movb %al, -0x5d(%rbp)
je 0xc92e
movq -0x10(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
sete %al
movb %al, -0x5d(%rbp)
movb -0x5d(%rbp), %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0xc998
leaq 0x1993b(%rip), %rax     # 0x26280
cmpq %rax, -0x10(%rbp)
sete %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
jne 0xc998
movq -0x10(%rbp), %rdi
callq 0x1c1b0
andq $0x3, %rax
cmpq $0x3, %rax
sete %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0xc998
movq -0x10(%rbp), %rdi
callq 0x1c1b0
sarq $0x2, %rax
movl %eax, -0x5c(%rbp)
movl -0x5c(%rbp), %eax
addl -0x24(%rbp), %eax
movl %eax, -0x24(%rbp)
jmp 0xcace
jmp 0xc99a
leaq 0x19f3f(%rip), %rax     # 0x268e0
cmpl $0x0, (%rax)
je 0xc9f3
leaq 0x19963(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
leaq 0x161d1(%rip), %rcx     # 0x22b8c
movq %rcx, 0x10(%rax)
leaq 0x161c6(%rip), %rdi     # 0x22b8c
callq 0x1e6d0
cmpl $0x0, %eax
je 0xc9f3
leaq 0x19939(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
movl $0x7ba, 0xc(%rax)       # imm = 0x7BA
leaq 0x13841(%rip), %rdi     # 0x2022d
movb $0x0, %al
callq 0x1f370
jmp 0xc9f5
movq -0x8(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x88(%rbp)
leaq 0x13a8d(%rip), %rdi     # 0x204a4
callq 0x18510
movq %rax, -0x90(%rbp)
movslq -0x24(%rbp), %rdi
shlq $0x2, %rdi
orq $0x3, %rdi
movq -0x10(%rbp), %rsi
callq 0x1c0c0
movq -0x90(%rbp), %rdi
movq %rax, %rsi
callq 0x1c0c0
movq -0x88(%rbp), %rdi
movq %rax, %rdx
leaq -0xa2c8(%rip), %rsi     # 0x2790
callq 0x12520
movq %rax, -0x78(%rbp)
leaq 0x13622(%rip), %rdi     # 0x2008a
callq 0x18510
movq %rax, -0x80(%rbp)
callq 0x11360
movq %rax, %rdi
leaq 0x19800(%rip), %rsi     # 0x26280
callq 0x1c0c0
movq -0x80(%rbp), %rdi
movq %rax, %rsi
callq 0x1c0c0
movq %rax, %rdi
movq -0x20(%rbp), %rsi
callq 0x1c0c0
movq -0x78(%rbp), %rdi
movq %rax, %rsi
callq 0x1c0c0
movq -0x70(%rbp), %rdi
movq -0x68(%rbp), %rsi
movq %rax, %rdx
callq 0x12640
movl $0x7bc, -0x4c(%rbp)     # imm = 0x7BC
leaq -0x58(%rbp), %rdi
callq 0x1f490
jmp 0xcb78
movq -0x10(%rbp), %rdi
callq 0x1c340
movq %rax, -0x10(%rbp)
jmp 0xc8e9
movslq -0x24(%rbp), %rax
shlq $0x2, %rax
orq $0x3, %rax
movq %rax, -0x30(%rbp)
leaq 0x19de9(%rip), %rax     # 0x268e0
cmpl $0x0, (%rax)
je 0xcb55
leaq 0x1980d(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
leaq 0x1607b(%rip), %rcx     # 0x22b8c
movq %rcx, 0x10(%rax)
leaq 0x16070(%rip), %rdi     # 0x22b8c
callq 0x1e6d0
cmpl $0x0, %eax
je 0xcb55
leaq 0x197e3(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
movl $0x7c1, 0xc(%rax)       # imm = 0x7C1
movq -0x30(%rbp), %rdi
callq 0x14080
movq %rax, %rsi
leaq 0x13556(%rip), %rdi     # 0x200a4
movb $0x0, %al
callq 0x1f370
jmp 0xcb57
movq -0x8(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x30(%rbp), %rdx
callq 0x12640
movl $0x7c3, -0x4c(%rbp)     # imm = 0x7C3
leaq -0x58(%rbp), %rdi
callq 0x1f490
addq $0x90, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)