// File: /workspace/github_c_makefile_star2_O3/dalnefre[P]kernel_abe/kernel.c
// Function: define_args_beh
static
BEH_DECL(define_args_beh)
{
	CONS* state = MINE;
	CONS* cust;
	CONS* env;
	CONS* msg = WHAT;
	CONS* ptree;
	CONS* expr;
	CONS* k_value;

	DBUG_ENTER("define_args_beh");
	ENSURE(is_pr(state));
	cust = hd(state);
	ENSURE(actorp(cust));
	env = tl(state);
	ENSURE(is_pr(msg));
	ptree = hd(msg);
	ENSURE(is_pr(tl(msg)));
	expr = hd(tl(msg));
	ENSURE(nilp(tl(tl(msg))));

	DBUG_PRINT("cust", ("%s", cons_to_str(cust)));
	DBUG_PRINT("env", ("%s", cons_to_str(env)));
	DBUG_PRINT("ptree", ("%s", cons_to_str(ptree)));
	DBUG_PRINT("expr", ("%s", cons_to_str(expr)));
	k_value = ACTOR(define_match_beh, pr(cust, pr(ptree, env)));
	SEND(expr, pr(k_value, pr(ATOM("eval"), env)));
	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 0x19c72
movq %rax, %rdi
callq 0x11d65
movq %rax, %r14
movq 0x30(%rbx), %rdi
callq 0x19d11
movq %rax, %rbp
leaq 0xea52(%rip), %rax      # 0x1cb27
leaq 0x10(%rsp), %rdi
movq %rax, (%rdi)
leaq 0x1524c(%rip), %r13     # 0x23330
movq (%r13), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x6f3, 0xc(%rdi)       # imm = 0x6F3
leaq 0xe24a(%rip), %rcx      # 0x1c34a
movq %rcx, 0x10(%rdi)
leaq 0x15045(%rip), %rcx     # 0x23150
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x1ba26
cmpq 0x14ea1(%rip), %r14     # 0x22fc0
je 0xe209
testq %r14, %r14
je 0xe209
movl %r14d, %eax
andl $0x3, %eax
jne 0xe209
movq %r14, %rdi
callq 0x19c72
movq %rax, %r15
andl $0x3, %eax
cmpl $0x1, %eax
jne 0xe26d
movq %r14, %rdi
callq 0x19d11
cmpq 0x14e60(%rip), %rbp     # 0x22fc0
je 0xe2ce
testq %rbp, %rbp
je 0xe2ce
movq %rax, %r14
movl %ebp, %eax
andl $0x3, %eax
jne 0xe2ce
movq %rbp, %rdi
callq 0x19c72
movq %rax, %r12
movq %rbp, %rdi
callq 0x19d11
testq %rax, %rax
je 0xe1a5
movq %rbp, %rdi
callq 0x19d11
testb $0x3, %al
je 0xe349
leaq -0x8604(%rip), %rsi     # 0x5ba8
leaq 0x150ed(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x128be
movq %rax, %r14
leaq 0xe36e(%rip), %rdi      # 0x1c533
callq 0x170ff
movq %rax, %r15
leaq 0xde48(%rip), %rdi      # 0x1c01c
callq 0x170ff
movl $0x1beb, %esi           # imm = 0x1BEB
movq %rax, %rdi
callq 0x19c50
movq %r15, %rdi
movq %rax, %rsi
callq 0x19c50
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x1299b
movl $0x6fa, %eax            # imm = 0x6FA
jmp 0xe32d
leaq -0x8668(%rip), %rsi     # 0x5ba8
leaq 0x15089(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x128be
movq %rax, %r14
leaq 0xe30a(%rip), %rdi      # 0x1c533
callq 0x170ff
movq %rax, %r15
leaq 0xdde4(%rip), %rdi      # 0x1c01c
callq 0x170ff
movl $0x1bd3, %esi           # imm = 0x1BD3
movq %rax, %rdi
callq 0x19c50
movq %r15, %rdi
movq %rax, %rsi
callq 0x19c50
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x1299b
movl $0x6f4, %eax            # imm = 0x6F4
jmp 0xe32d
leaq -0x86cc(%rip), %rsi     # 0x5ba8
leaq 0x15025(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x128be
movq %rax, %r14
leaq 0xe2a6(%rip), %rdi      # 0x1c533
callq 0x170ff
movq %rax, %r15
leaq 0xdd80(%rip), %rdi      # 0x1c01c
callq 0x170ff
movl $0x1bdb, %esi           # imm = 0x1BDB
movq %rax, %rdi
callq 0x19c50
movq %r15, %rdi
movq %rax, %rsi
callq 0x19c50
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x1299b
movl $0x6f6, %eax            # imm = 0x6F6
jmp 0xe32d
leaq -0x872d(%rip), %rsi     # 0x5ba8
leaq 0x14fc4(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x128be
movq %rax, %r14
leaq 0xe245(%rip), %rdi      # 0x1c533
callq 0x170ff
movq %rax, %r15
leaq 0xdd1f(%rip), %rdi      # 0x1c01c
callq 0x170ff
movl $0x1be3, %esi           # imm = 0x1BE3
movq %rax, %rdi
callq 0x19c50
movq %r15, %rdi
movq %rax, %rsi
callq 0x19c50
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x1299b
movl $0x6f8, %eax            # imm = 0x6F8
leaq 0x10(%rsp), %rdi
movl %eax, 0xc(%rdi)
callq 0x1bbab
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rbp, %rdi
callq 0x19d11
cmpq 0x14c68(%rip), %rax     # 0x22fc0
je 0xe1a5
movq %rbp, %rdi
callq 0x19d11
andl $0x3, %eax
cmpl $0x1, %eax
je 0xe1a5
movq %rbp, %rdi
callq 0x19d11
movq %rax, %rdi
callq 0x19c72
movq %rax, 0x8(%rsp)
movq %rbp, %rdi
callq 0x19d11
movq %rax, %rdi
callq 0x19d11
cmpq 0x14c22(%rip), %rax     # 0x22fc0
je 0xe404
leaq -0x87ff(%rip), %rsi     # 0x5ba8
leaq 0x14ef2(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x128be
movq %rax, %r14
leaq 0xe173(%rip), %rdi      # 0x1c533
callq 0x170ff
movq %rax, %r15
leaq 0xdc4d(%rip), %rdi      # 0x1c01c
callq 0x170ff
movl $0x1bf3, %esi           # imm = 0x1BF3
movq %rax, %rdi
callq 0x19c50
movq %r15, %rdi
movq %rax, %rsi
callq 0x19c50
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x1299b
movl $0x6fc, %eax            # imm = 0x6FC
jmp 0xe32d
leaq 0x15525(%rip), %rbp     # 0x23930
cmpl $0x0, (%rbp)
je 0xe541
movq (%r13), %rax
movq 0x50(%rax), %rax
leaq 0xe112(%rip), %rdi      # 0x1c536
movq %rdi, 0x10(%rax)
callq 0x1b188
testl %eax, %eax
je 0xe459
movq (%r13), %rax
movq 0x50(%rax), %rax
movl $0x6fe, 0xc(%rax)       # imm = 0x6FE
movq %r15, %rdi
callq 0x13c40
leaq 0xf105(%rip), %rdi      # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1ba97
cmpl $0x0, (%rbp)
je 0xe541
movq (%r13), %rax
movq 0x50(%rax), %rax
leaq 0xe6b1(%rip), %rdi      # 0x1cb23
movq %rdi, 0x10(%rax)
callq 0x1b188
testl %eax, %eax
je 0xe4a7
movq (%r13), %rax
movq 0x50(%rax), %rax
movl $0x6ff, 0xc(%rax)       # imm = 0x6FF
movq %r14, %rdi
callq 0x13c40
leaq 0xf0b7(%rip), %rdi      # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1ba97
cmpl $0x0, (%rbp)
je 0xe541
movq (%r13), %rax
movq 0x50(%rax), %rax
leaq 0xe5f0(%rip), %rdi      # 0x1cab0
movq %rdi, 0x10(%rax)
callq 0x1b188
testl %eax, %eax
je 0xe4f5
movq (%r13), %rax
movq 0x50(%rax), %rax
movl $0x700, 0xc(%rax)       # imm = 0x700
movq %r12, %rdi
callq 0x13c40
leaq 0xf069(%rip), %rdi      # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1ba97
cmpl $0x0, (%rbp)
je 0xe541
movq (%r13), %rax
movq 0x50(%rax), %rax
leaq 0xdc2a(%rip), %rdi      # 0x1c134
movq %rdi, 0x10(%rax)
callq 0x1b188
testl %eax, %eax
je 0xe541
movq (%r13), %rax
movq 0x50(%rax), %rax
movl $0x701, 0xc(%rax)       # imm = 0x701
movq 0x8(%rsp), %rdi
callq 0x13c40
leaq 0xf01d(%rip), %rdi      # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1ba97
movq %r12, %rdi
movq %r14, %rsi
callq 0x19c50
movq %r15, %rdi
movq %rax, %rsi
callq 0x19c50
leaq 0x3505(%rip), %rsi      # 0x11a63
movq %rbx, %rdi
movq %rax, %rdx
callq 0x128be
movq %rax, %r15
leaq 0xe026(%rip), %rdi      # 0x1c599
callq 0x170ff
movq %rax, %rdi
movq %r14, %rsi
callq 0x19c50
movq %r15, %rdi
movq %rax, %rsi
callq 0x19c50
movq %rbx, %rdi
movq 0x8(%rsp), %rsi
movq %rax, %rdx
callq 0x1299b
movl $0x704, %eax            # imm = 0x704
jmp 0xe32d