// File: /workspace/github_c_makefile_star2_O0/dalnefre[P]kernel_abe/schemer.c
// Function: eval_set_beh
BEH_DECL(eval_set_beh)
{
	CONS* p;
	CONS* state;
	CONS* msg;
	CONS* a;

	DBUG_ENTER("eval_set_beh");
	if (is_pair(WHAT) && is_pair(p = pr_tail(WHAT))) {
		CONS* to = pr_head(WHAT);
		CONS* expr = pr_head(p);
		CONS* env = pr_tail(p);
		CONS* form = is_pair(expr) ? lst_first(expr) : NIL;

		DBUG_PRINT("", ("form = %s", cons_to_str(form)));
		if (is_symbol(form) && is_pair(expr) && is_pair(pr_tail(expr))) {
			state = mk_pair(form, env);
			state = mk_pair(to, state);
			a = ACTOR(apply_set_beh, state);
			DBUG_PRINT("", ("expr = %s", cons_to_str(lst_second(expr))));
			msg = mk_pair(lst_second(expr), env);
			msg = mk_pair(a, msg);
			SEND(eval__actor, msg);
		} else {
			DBUG_PRINT("", ("error"));
			msg = mk_list(ATOM("set!"), expr);
			FAIL(env, msg);
		}
	} else {
		DBUG_PRINT("", ("Ignored! %s", cons_to_str(WHAT)));
		abort();
	}
	DBUG_RETURN;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %rdi, -0x8(%rbp)
leaq 0x18fdf(%rip), %rax     # 0x20295
movq %rax, -0x50(%rbp)
leaq 0x1f04f(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %eax
movl %eax, -0x48(%rbp)
movl $0x3cd, -0x44(%rbp)     # imm = 0x3CD
leaq 0x1b8b0(%rip), %rax     # 0x22b8c
movq %rax, -0x40(%rbp)
leaq 0x1ee49(%rip), %rax     # 0x26130
movq %rax, -0x38(%rbp)
leaq 0x1f01e(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
movq %rax, -0x30(%rbp)
leaq -0x50(%rbp), %rdi
callq 0x1f2c0
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x1c340
movq %rax, %rcx
xorl %eax, %eax
cmpq $0x0, %rcx
movb %al, -0x71(%rbp)
je 0x733c
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x1c340
andq $0x3, %rax
cmpq $0x0, %rax
sete %al
movb %al, -0x71(%rbp)
movb -0x71(%rbp), %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0x7865
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x1c340
leaq 0x1ef1c(%rip), %rcx     # 0x26280
cmpq %rcx, %rax
sete %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
jne 0x7865
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x1c340
movq %rax, %rdi
callq 0x1c340
movq %rax, %rcx
movq %rcx, -0x10(%rbp)
xorl %eax, %eax
cmpq $0x0, %rcx
movb %al, -0x72(%rbp)
je 0x73c9
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x1c340
movq %rax, %rdi
callq 0x1c340
movq %rax, -0x10(%rbp)
andq $0x3, %rax
cmpq $0x0, %rax
sete %al
movb %al, -0x72(%rbp)
movb -0x72(%rbp), %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0x7865
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x1c340
movq %rax, %rdi
callq 0x1c340
movq %rax, -0x10(%rbp)
leaq 0x1ee83(%rip), %rcx     # 0x26280
cmpq %rcx, %rax
sete %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
jne 0x7865
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x1c340
movq %rax, %rdi
callq 0x1c1b0
movq %rax, -0x58(%rbp)
movq -0x10(%rbp), %rdi
callq 0x1c1b0
movq %rax, -0x60(%rbp)
movq -0x10(%rbp), %rdi
callq 0x1c340
movq %rax, -0x68(%rbp)
xorl %eax, %eax
cmpq $0x0, -0x60(%rbp)
movb %al, -0x73(%rbp)
je 0x7465
movq -0x60(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
sete %al
movb %al, -0x73(%rbp)
movb -0x73(%rbp), %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0x749f
leaq 0x1ee04(%rip), %rax     # 0x26280
cmpq %rax, -0x60(%rbp)
sete %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
jne 0x749f
movq -0x60(%rbp), %rdi
callq 0x1c1b0
movq %rax, -0x80(%rbp)
jmp 0x74ac
leaq 0x1edda(%rip), %rax     # 0x26280
movq %rax, -0x80(%rbp)
jmp 0x74ac
movq -0x80(%rbp), %rax
movq %rax, -0x70(%rbp)
leaq 0x1f425(%rip), %rax     # 0x268e0
cmpl $0x0, (%rax)
je 0x7519
leaq 0x1ee49(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
leaq 0x1b6b7(%rip), %rcx     # 0x22b8c
movq %rcx, 0x10(%rax)
leaq 0x1b6ac(%rip), %rdi     # 0x22b8c
callq 0x1e6d0
cmpl $0x0, %eax
je 0x7519
leaq 0x1ee1f(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
movl $0x3d4, 0xc(%rax)       # imm = 0x3D4
movq -0x70(%rbp), %rdi
callq 0x14080
movq %rax, %rsi
leaq 0x18cd2(%rip), %rdi     # 0x201e4
movb $0x0, %al
callq 0x1f370
jmp 0x751b
movq -0x70(%rbp), %rax
andq $0x3, %rax
cmpq $0x2, %rax
sete %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0x7752
movq -0x70(%rbp), %rax
movq %rax, -0x88(%rbp)
movl $0x1, %edi
callq 0x4350
movq %rax, %rcx
movq -0x88(%rbp), %rax
cmpq %rcx, %rax
je 0x7752
movq -0x70(%rbp), %rax
movq %rax, -0x90(%rbp)
xorl %eax, %eax
movl %eax, %edi
callq 0x4350
movq %rax, %rcx
movq -0x90(%rbp), %rax
cmpq %rcx, %rax
je 0x7752
xorl %eax, %eax
cmpq $0x0, -0x60(%rbp)
movb %al, -0x91(%rbp)
je 0x75ae
movq -0x60(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
sete %al
movb %al, -0x91(%rbp)
movb -0x91(%rbp), %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0x7752
leaq 0x1ecb4(%rip), %rax     # 0x26280
cmpq %rax, -0x60(%rbp)
sete %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
jne 0x7752
movq -0x60(%rbp), %rdi
callq 0x1c340
movq %rax, %rcx
xorl %eax, %eax
cmpq $0x0, %rcx
movb %al, -0x92(%rbp)
je 0x7618
movq -0x60(%rbp), %rdi
callq 0x1c340
andq $0x3, %rax
cmpq $0x0, %rax
sete %al
movb %al, -0x92(%rbp)
movb -0x92(%rbp), %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0x7752
movq -0x60(%rbp), %rdi
callq 0x1c340
leaq 0x1ec41(%rip), %rcx     # 0x26280
cmpq %rcx, %rax
sete %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
jne 0x7752
movq -0x70(%rbp), %rdi
movq -0x68(%rbp), %rsi
callq 0x1c0c0
movq %rax, -0x18(%rbp)
movq -0x58(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0x1c0c0
movq %rax, -0x18(%rbp)
movq -0x8(%rbp), %rdi
movq -0x18(%rbp), %rdx
leaq -0x617(%rip), %rsi      # 0x7070
callq 0x12520
movq %rax, -0x28(%rbp)
leaq 0x1f249(%rip), %rax     # 0x268e0
cmpl $0x0, (%rax)
je 0x7705
leaq 0x1ec6d(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
leaq 0x1b4db(%rip), %rcx     # 0x22b8c
movq %rcx, 0x10(%rax)
leaq 0x1b4d0(%rip), %rdi     # 0x22b8c
callq 0x1e6d0
cmpl $0x0, %eax
je 0x7705
leaq 0x1ec43(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
movl $0x3d9, 0xc(%rax)       # imm = 0x3D9
movq -0x60(%rbp), %rdi
callq 0x1c340
movq %rax, %rdi
callq 0x1c1b0
movq %rax, %rdi
callq 0x14080
movq %rax, %rsi
leaq 0x189ee(%rip), %rdi     # 0x200ec
movb $0x0, %al
callq 0x1f370
jmp 0x7707
movq -0x60(%rbp), %rdi
callq 0x1c340
movq %rax, %rdi
callq 0x1c1b0
movq %rax, %rdi
movq -0x68(%rbp), %rsi
callq 0x1c0c0
movq %rax, -0x20(%rbp)
movq -0x28(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq 0x1c0c0
movq %rax, -0x20(%rbp)
movq -0x8(%rbp), %rdi
movq 0x1ec24(%rip), %rsi     # 0x26368
movq -0x20(%rbp), %rdx
callq 0x12640
jmp 0x7863
jmp 0x7754
leaq 0x1f185(%rip), %rax     # 0x268e0
cmpl $0x0, (%rax)
je 0x77ad
leaq 0x1eba9(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
leaq 0x1b417(%rip), %rcx     # 0x22b8c
movq %rcx, 0x10(%rax)
leaq 0x1b40c(%rip), %rdi     # 0x22b8c
callq 0x1e6d0
cmpl $0x0, %eax
je 0x77ad
leaq 0x1eb7f(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
movl $0x3de, 0xc(%rax)       # imm = 0x3DE
leaq 0x18a87(%rip), %rdi     # 0x2022d
movb $0x0, %al
callq 0x1f370
jmp 0x77af
leaq 0x18900(%rip), %rdi     # 0x200b6
callq 0x18510
movq %rax, %rdi
movq -0x60(%rbp), %rsi
callq 0x1c0c0
movq %rax, -0x20(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0x68(%rbp), %rax
movq %rax, -0xa0(%rbp)
movq -0x8(%rbp), %rdi
movq -0x20(%rbp), %rdx
leaq -0x5060(%rip), %rsi     # 0x2790
callq 0x12520
movq %rax, -0xb0(%rbp)
leaq 0x18887(%rip), %rdi     # 0x2008a
callq 0x18510
movq %rax, -0xb8(%rbp)
callq 0x11360
movq %rax, %rdi
leaq 0x1ea62(%rip), %rsi     # 0x26280
callq 0x1c0c0
movq -0xb8(%rbp), %rdi
movq %rax, %rsi
callq 0x1c0c0
movq %rax, %rdi
movq -0x68(%rbp), %rsi
callq 0x1c0c0
movq -0xb0(%rbp), %rdi
movq %rax, %rsi
callq 0x1c0c0
movq -0xa8(%rbp), %rdi
movq -0xa0(%rbp), %rsi
movq %rax, %rdx
callq 0x12640
jmp 0x78df
jmp 0x7867
leaq 0x1f072(%rip), %rax     # 0x268e0
cmpl $0x0, (%rax)
je 0x78d8
leaq 0x1ea96(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
leaq 0x1b304(%rip), %rcx     # 0x22b8c
movq %rcx, 0x10(%rax)
leaq 0x1b2f9(%rip), %rdi     # 0x22b8c
callq 0x1e6d0
cmpl $0x0, %eax
je 0x78d8
leaq 0x1ea6c(%rip), %rax     # 0x26310
movq (%rax), %rax
movq 0x50(%rax), %rax
movl $0x3e3, 0xc(%rax)       # imm = 0x3E3
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x1c340
movq %rax, %rdi
callq 0x14080
movq %rax, %rsi
leaq 0x1878f(%rip), %rdi     # 0x20060
movb $0x0, %al
callq 0x1f370
jmp 0x78da
callq 0x2050
movl $0x3e6, -0x44(%rbp)     # imm = 0x3E6
leaq -0x50(%rbp), %rdi
callq 0x1f490
addq $0xc0, %rsp
popq %rbp
retq
nopl (%rax,%rax)