// File: /workspace/github_c_makefile_star2_O1/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 0x19ba6
movq %rax, %rdi
callq 0x11d11
movq %rax, %r14
movq 0x30(%rbx), %rdi
callq 0x19c45
movq %rax, %rbp
leaq 0xea59(%rip), %rax      # 0x1cb27
leaq 0x10(%rsp), %rdi
movq %rax, (%rdi)
leaq 0x15253(%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 0xe251(%rip), %rcx      # 0x1c34a
movq %rcx, 0x10(%rdi)
leaq 0x1504c(%rip), %rcx     # 0x23150
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x1b912
cmpq 0x14ea8(%rip), %r14     # 0x22fc0
je 0xe202
testq %r14, %r14
je 0xe202
movl %r14d, %eax
andl $0x3, %eax
jne 0xe202
movq %r14, %rdi
callq 0x19ba6
movq %rax, %r15
andl $0x3, %eax
cmpl $0x1, %eax
jne 0xe266
movq %r14, %rdi
callq 0x19c45
cmpq 0x14e67(%rip), %rbp     # 0x22fc0
je 0xe2c7
testq %rbp, %rbp
je 0xe2c7
movq %rax, %r14
movl %ebp, %eax
andl $0x3, %eax
jne 0xe2c7
movq %rbp, %rdi
callq 0x19ba6
movq %rax, %r12
movq %rbp, %rdi
callq 0x19c45
testq %rax, %rax
je 0xe19e
movq %rbp, %rdi
callq 0x19c45
testb $0x3, %al
je 0xe342
leaq -0x85b0(%rip), %rsi     # 0x5bf5
leaq 0x150f4(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0xe375(%rip), %rdi      # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0xde4f(%rip), %rdi      # 0x1c01c
callq 0x1707c
movl $0x1beb, %esi           # imm = 0x1BEB
movq %rax, %rdi
callq 0x19b84
movq %r15, %rdi
movq %rax, %rsi
callq 0x19b84
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x12917
movl $0x6fa, %eax            # imm = 0x6FA
jmp 0xe326
leaq -0x8614(%rip), %rsi     # 0x5bf5
leaq 0x15090(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0xe311(%rip), %rdi      # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0xddeb(%rip), %rdi      # 0x1c01c
callq 0x1707c
movl $0x1bd3, %esi           # imm = 0x1BD3
movq %rax, %rdi
callq 0x19b84
movq %r15, %rdi
movq %rax, %rsi
callq 0x19b84
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x12917
movl $0x6f4, %eax            # imm = 0x6F4
jmp 0xe326
leaq -0x8678(%rip), %rsi     # 0x5bf5
leaq 0x1502c(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0xe2ad(%rip), %rdi      # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0xdd87(%rip), %rdi      # 0x1c01c
callq 0x1707c
movl $0x1bdb, %esi           # imm = 0x1BDB
movq %rax, %rdi
callq 0x19b84
movq %r15, %rdi
movq %rax, %rsi
callq 0x19b84
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x12917
movl $0x6f6, %eax            # imm = 0x6F6
jmp 0xe326
leaq -0x86d9(%rip), %rsi     # 0x5bf5
leaq 0x14fcb(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0xe24c(%rip), %rdi      # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0xdd26(%rip), %rdi      # 0x1c01c
callq 0x1707c
movl $0x1be3, %esi           # imm = 0x1BE3
movq %rax, %rdi
callq 0x19b84
movq %r15, %rdi
movq %rax, %rsi
callq 0x19b84
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x12917
movl $0x6f8, %eax            # imm = 0x6F8
leaq 0x10(%rsp), %rdi
movl %eax, 0xc(%rdi)
callq 0x1ba97
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rbp, %rdi
callq 0x19c45
cmpq 0x14c6f(%rip), %rax     # 0x22fc0
je 0xe19e
movq %rbp, %rdi
callq 0x19c45
andl $0x3, %eax
cmpl $0x1, %eax
je 0xe19e
movq %rbp, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19ba6
movq %rax, 0x8(%rsp)
movq %rbp, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19c45
cmpq 0x14c29(%rip), %rax     # 0x22fc0
je 0xe3fd
leaq -0x87ab(%rip), %rsi     # 0x5bf5
leaq 0x14ef9(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0xe17a(%rip), %rdi      # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0xdc54(%rip), %rdi      # 0x1c01c
callq 0x1707c
movl $0x1bf3, %esi           # imm = 0x1BF3
movq %rax, %rdi
callq 0x19b84
movq %r15, %rdi
movq %rax, %rsi
callq 0x19b84
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x12917
movl $0x6fc, %eax            # imm = 0x6FC
jmp 0xe326
leaq 0x1552c(%rip), %rbp     # 0x23930
cmpl $0x0, (%rbp)
je 0xe44e
movq (%r13), %rax
movq 0x50(%rax), %rax
leaq 0xe11d(%rip), %rdi      # 0x1c536
movq %rdi, 0x10(%rax)
callq 0x1b084
testl %eax, %eax
je 0xe44e
movq (%r13), %rax
movq 0x50(%rax), %rax
movl $0x6fe, 0xc(%rax)       # imm = 0x6FE
movq %r15, %rdi
callq 0x13b9c
leaq 0xf110(%rip), %rdi      # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b983
cmpl $0x0, (%rbp)
je 0xe498
movq (%r13), %rax
movq 0x50(%rax), %rax
leaq 0xe6c0(%rip), %rdi      # 0x1cb23
movq %rdi, 0x10(%rax)
callq 0x1b084
testl %eax, %eax
je 0xe498
movq (%r13), %rax
movq 0x50(%rax), %rax
movl $0x6ff, 0xc(%rax)       # imm = 0x6FF
movq %r14, %rdi
callq 0x13b9c
leaq 0xf0c6(%rip), %rdi      # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b983
cmpl $0x0, (%rbp)
je 0xe4e2
movq (%r13), %rax
movq 0x50(%rax), %rax
leaq 0xe603(%rip), %rdi      # 0x1cab0
movq %rdi, 0x10(%rax)
callq 0x1b084
testl %eax, %eax
je 0xe4e2
movq (%r13), %rax
movq 0x50(%rax), %rax
movl $0x700, 0xc(%rax)       # imm = 0x700
movq %r12, %rdi
callq 0x13b9c
leaq 0xf07c(%rip), %rdi      # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b983
cmpl $0x0, (%rbp)
movq 0x8(%rsp), %rbp
je 0xe531
movq (%r13), %rax
movq 0x50(%rax), %rax
leaq 0xdc38(%rip), %rdi      # 0x1c134
movq %rdi, 0x10(%rax)
callq 0x1b084
testl %eax, %eax
je 0xe531
movq (%r13), %rax
movq 0x50(%rax), %rax
movl $0x701, 0xc(%rax)       # imm = 0x701
movq %rbp, %rdi
callq 0x13b9c
leaq 0xf02d(%rip), %rdi      # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b983
movq %r12, %rdi
movq %r14, %rsi
callq 0x19b84
movq %r15, %rdi
movq %rax, %rsi
callq 0x19b84
leaq 0x34c3(%rip), %rsi      # 0x11a11
movq %rbx, %rdi
movq %rax, %rdx
callq 0x1283a
movq %rax, %r15
leaq 0xe036(%rip), %rdi      # 0x1c599
callq 0x1707c
movq %rax, %rdi
movq %r14, %rsi
callq 0x19b84
movq %r15, %rdi
movq %rax, %rsi
callq 0x19b84
movq %rbx, %rdi
movq %rbp, %rsi
movq %rax, %rdx
callq 0x12917
movl $0x704, %eax            # imm = 0x704
jmp 0xe326