// File: /workspace/github_c_makefile_star2_O2/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 0x191fb
movq %rax, %rdi
callq 0x1175b
movq %rax, %r14
movq 0x30(%rbx), %rdi
callq 0x19306
movq %rax, %rbp
leaq 0xf058(%rip), %rax      # 0x1cb27
leaq 0x10(%rsp), %rdi
movq %rax, (%rdi)
leaq 0x16852(%rip), %r13     # 0x24330
movq (%r13), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x6f3, 0xc(%rdi)       # imm = 0x6F3
leaq 0xe850(%rip), %rcx      # 0x1c34a
movq %rcx, 0x10(%rdi)
leaq 0x1664b(%rip), %rcx     # 0x24150
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x1b079
cmpq 0x164a7(%rip), %r14     # 0x23fc0
je 0xdc03
testq %r14, %r14
je 0xdc03
movl %r14d, %eax
andl $0x3, %eax
jne 0xdc03
movq %r14, %rdi
callq 0x191fb
movq %rax, %r15
andl $0x3, %eax
cmpl $0x1, %eax
jne 0xdc67
movq %r14, %rdi
callq 0x19306
cmpq 0x16466(%rip), %rbp     # 0x23fc0
je 0xdcc8
testq %rbp, %rbp
je 0xdcc8
movq %rax, %r14
movl %ebp, %eax
andl $0x3, %eax
jne 0xdcc8
movq %rbp, %rdi
callq 0x191fb
movq %rax, %r12
movq %rbp, %rdi
callq 0x19306
testq %rax, %rax
je 0xdb9f
movq %rbp, %rdi
callq 0x19306
testb $0x3, %al
je 0xdd43
leaq -0x85da(%rip), %rsi     # 0x55cc
leaq 0x166f3(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0xe974(%rip), %rdi      # 0x1c533
callq 0x1691f
movq %rax, %r15
leaq 0xe44e(%rip), %rdi      # 0x1c01c
callq 0x1691f
movl $0x1beb, %esi           # imm = 0x1BEB
movq %rax, %rdi
callq 0x19164
movq %r15, %rdi
movq %rax, %rsi
callq 0x19164
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x12494
movl $0x6fa, %eax            # imm = 0x6FA
jmp 0xdd27
leaq -0x863e(%rip), %rsi     # 0x55cc
leaq 0x1668f(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0xe910(%rip), %rdi      # 0x1c533
callq 0x1691f
movq %rax, %r15
leaq 0xe3ea(%rip), %rdi      # 0x1c01c
callq 0x1691f
movl $0x1bd3, %esi           # imm = 0x1BD3
movq %rax, %rdi
callq 0x19164
movq %r15, %rdi
movq %rax, %rsi
callq 0x19164
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x12494
movl $0x6f4, %eax            # imm = 0x6F4
jmp 0xdd27
leaq -0x86a2(%rip), %rsi     # 0x55cc
leaq 0x1662b(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0xe8ac(%rip), %rdi      # 0x1c533
callq 0x1691f
movq %rax, %r15
leaq 0xe386(%rip), %rdi      # 0x1c01c
callq 0x1691f
movl $0x1bdb, %esi           # imm = 0x1BDB
movq %rax, %rdi
callq 0x19164
movq %r15, %rdi
movq %rax, %rsi
callq 0x19164
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x12494
movl $0x6f6, %eax            # imm = 0x6F6
jmp 0xdd27
leaq -0x8703(%rip), %rsi     # 0x55cc
leaq 0x165ca(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0xe84b(%rip), %rdi      # 0x1c533
callq 0x1691f
movq %rax, %r15
leaq 0xe325(%rip), %rdi      # 0x1c01c
callq 0x1691f
movl $0x1be3, %esi           # imm = 0x1BE3
movq %rax, %rdi
callq 0x19164
movq %r15, %rdi
movq %rax, %rsi
callq 0x19164
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x12494
movl $0x6f8, %eax            # imm = 0x6F8
leaq 0x10(%rsp), %rdi
movl %eax, 0xc(%rdi)
callq 0x1b1f2
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rbp, %rdi
callq 0x19306
cmpq 0x1626e(%rip), %rax     # 0x23fc0
je 0xdb9f
movq %rbp, %rdi
callq 0x19306
andl $0x3, %eax
cmpl $0x1, %eax
je 0xdb9f
movq %rbp, %rdi
callq 0x19306
movq %rax, %rdi
callq 0x191fb
movq %rax, 0x8(%rsp)
movq %rbp, %rdi
callq 0x19306
movq %rax, %rdi
callq 0x19306
cmpq 0x16228(%rip), %rax     # 0x23fc0
je 0xddfe
leaq -0x87d5(%rip), %rsi     # 0x55cc
leaq 0x164f8(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0xe779(%rip), %rdi      # 0x1c533
callq 0x1691f
movq %rax, %r15
leaq 0xe253(%rip), %rdi      # 0x1c01c
callq 0x1691f
movl $0x1bf3, %esi           # imm = 0x1BF3
movq %rax, %rdi
callq 0x19164
movq %r15, %rdi
movq %rax, %rsi
callq 0x19164
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x12494
movl $0x6fc, %eax            # imm = 0x6FC
jmp 0xdd27
leaq 0x16b2b(%rip), %rbp     # 0x24930
cmpl $0x0, (%rbp)
je 0xdf3b
movq (%r13), %rax
movq 0x50(%rax), %rax
leaq 0xe718(%rip), %rdi      # 0x1c536
movq %rdi, 0x10(%rax)
callq 0x1a7f4
testl %eax, %eax
je 0xde53
movq (%r13), %rax
movq 0x50(%rax), %rax
movl $0x6fe, 0xc(%rax)       # imm = 0x6FE
movq %r15, %rdi
callq 0x13708
leaq 0xf6eb(%rip), %rdi      # 0x1d534
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b0f0
cmpl $0x0, (%rbp)
je 0xdf3b
movq (%r13), %rax
movq 0x50(%rax), %rax
leaq 0xecb7(%rip), %rdi      # 0x1cb23
movq %rdi, 0x10(%rax)
callq 0x1a7f4
testl %eax, %eax
je 0xdea1
movq (%r13), %rax
movq 0x50(%rax), %rax
movl $0x6ff, 0xc(%rax)       # imm = 0x6FF
movq %r14, %rdi
callq 0x13708
leaq 0xf69d(%rip), %rdi      # 0x1d534
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b0f0
cmpl $0x0, (%rbp)
je 0xdf3b
movq (%r13), %rax
movq 0x50(%rax), %rax
leaq 0xebf6(%rip), %rdi      # 0x1cab0
movq %rdi, 0x10(%rax)
callq 0x1a7f4
testl %eax, %eax
je 0xdeef
movq (%r13), %rax
movq 0x50(%rax), %rax
movl $0x700, 0xc(%rax)       # imm = 0x700
movq %r12, %rdi
callq 0x13708
leaq 0xf64f(%rip), %rdi      # 0x1d534
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b0f0
cmpl $0x0, (%rbp)
je 0xdf3b
movq (%r13), %rax
movq 0x50(%rax), %rax
leaq 0xe230(%rip), %rdi      # 0x1c134
movq %rdi, 0x10(%rax)
callq 0x1a7f4
testl %eax, %eax
je 0xdf3b
movq (%r13), %rax
movq 0x50(%rax), %rax
movl $0x701, 0xc(%rax)       # imm = 0x701
movq 0x8(%rsp), %rdi
callq 0x13708
leaq 0xf603(%rip), %rdi      # 0x1d534
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b0f0
movq %r12, %rdi
movq %r14, %rsi
callq 0x19164
movq %r15, %rdi
movq %rax, %rsi
callq 0x19164
leaq 0x3505(%rip), %rsi      # 0x1145d
movq %rbx, %rdi
movq %rax, %rdx
callq 0x123b7
movq %rax, %r15
leaq 0xe62c(%rip), %rdi      # 0x1c599
callq 0x1691f
movq %rax, %rdi
movq %r14, %rsi
callq 0x19164
movq %r15, %rdi
movq %rax, %rsi
callq 0x19164
movq %rbx, %rdi
movq 0x8(%rsp), %rsi
movq %rax, %rdx
callq 0x12494
movl $0x704, %eax            # imm = 0x704
jmp 0xdd27