// File: /workspace/github_c_makefile_star2_O2/dalnefre[P]kernel_abe/kernel.c
// Function: if_args_beh
static
BEH_DECL(if_args_beh)
{
	CONS* state = MINE;
	CONS* cust;
	CONS* env;
	CONS* msg = WHAT;
	CONS* test;
	CONS* cnsq;
	CONS* altn;
	CONS* k_test;

	DBUG_ENTER("if_args_beh");
	ENSURE(is_pr(state));
	cust = hd(state);
	ENSURE(actorp(cust));
	env = tl(state);
	ENSURE(is_pr(msg));
	test = hd(msg);
	ENSURE(is_pr(tl(msg)));
	cnsq = hd(tl(msg));
	ENSURE(is_pr(tl(tl(msg))));
	altn = hd(tl(tl(msg)));
	ENSURE(nilp(tl(tl(tl(msg)))));

	DBUG_PRINT("cust", ("%s", cons_to_str(cust)));
	DBUG_PRINT("env", ("%s", cons_to_str(env)));
	DBUG_PRINT("test", ("%s", cons_to_str(test)));
	DBUG_PRINT("cnsq", ("%s", cons_to_str(cnsq)));
	DBUG_PRINT("altn", ("%s", cons_to_str(altn)));
	k_test = ACTOR(if_test_beh, pr(cust, pr(cnsq, pr(altn, env))));
	SEND(test, pr(k_test, 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 0x10514(%rip), %rax     # 0x1ca50
leaq 0x10(%rsp), %rdi
movq %rax, (%rdi)
leaq 0x17de5(%rip), %r13     # 0x24330
movq (%r13), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x902, 0xc(%rdi)       # imm = 0x902
leaq 0xfde3(%rip), %rcx      # 0x1c34a
movq %rcx, 0x10(%rdi)
leaq 0x17bde(%rip), %rcx     # 0x24150
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x1b079
cmpq 0x17a3a(%rip), %r14     # 0x23fc0
je 0xc670
testq %r14, %r14
je 0xc670
movl %r14d, %eax
andl $0x3, %eax
jne 0xc670
movq %r14, %rdi
callq 0x191fb
movq %rax, %r12
andl $0x3, %eax
cmpl $0x1, %eax
jne 0xc6d4
movq %r14, %rdi
callq 0x19306
cmpq 0x179f9(%rip), %rbp     # 0x23fc0
je 0xc735
testq %rbp, %rbp
je 0xc735
movq %rax, %r14
movl %ebp, %eax
andl $0x3, %eax
jne 0xc735
movq %rbp, %rdi
callq 0x191fb
movq %rax, %r15
movq %rbp, %rdi
callq 0x19306
testq %rax, %rax
je 0xc60c
movq %rbp, %rdi
callq 0x19306
testb $0x3, %al
je 0xc7b0
leaq -0x7047(%rip), %rsi     # 0x55cc
leaq 0x17c86(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0xff07(%rip), %rdi      # 0x1c533
callq 0x1691f
movq %rax, %r15
leaq 0xf9e1(%rip), %rdi      # 0x1c01c
callq 0x1691f
movl $0x2427, %esi           # imm = 0x2427
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 $0x909, %eax            # imm = 0x909
jmp 0xc794
leaq -0x70ab(%rip), %rsi     # 0x55cc
leaq 0x17c22(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0xfea3(%rip), %rdi      # 0x1c533
callq 0x1691f
movq %rax, %r15
leaq 0xf97d(%rip), %rdi      # 0x1c01c
callq 0x1691f
movl $0x240f, %esi           # imm = 0x240F
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 $0x903, %eax            # imm = 0x903
jmp 0xc794
leaq -0x710f(%rip), %rsi     # 0x55cc
leaq 0x17bbe(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0xfe3f(%rip), %rdi      # 0x1c533
callq 0x1691f
movq %rax, %r15
leaq 0xf919(%rip), %rdi      # 0x1c01c
callq 0x1691f
movl $0x2417, %esi           # imm = 0x2417
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 $0x905, %eax            # imm = 0x905
jmp 0xc794
leaq -0x7170(%rip), %rsi     # 0x55cc
leaq 0x17b5d(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0xfdde(%rip), %rdi      # 0x1c533
callq 0x1691f
movq %rax, %r15
leaq 0xf8b8(%rip), %rdi      # 0x1c01c
callq 0x1691f
movl $0x241f, %esi           # imm = 0x241F
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 $0x907, %eax            # imm = 0x907
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 0x17801(%rip), %rax     # 0x23fc0
je 0xc60c
movq %rbp, %rdi
callq 0x19306
andl $0x3, %eax
cmpl $0x1, %eax
je 0xc60c
movq %rbp, %rdi
callq 0x19306
movq %rax, %rdi
callq 0x191fb
movq %rax, 0x8(%rsp)
movq %rbp, %rdi
callq 0x19306
movq %rax, %rdi
callq 0x19306
testq %rax, %rax
je 0xc817
movq %rbp, %rdi
callq 0x19306
movq %rax, %rdi
callq 0x19306
testb $0x3, %al
je 0xc87b
leaq -0x7252(%rip), %rsi     # 0x55cc
leaq 0x17a7b(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0xfcfc(%rip), %rdi      # 0x1c533
callq 0x1691f
movq %rax, %r15
leaq 0xf7d6(%rip), %rdi      # 0x1c01c
callq 0x1691f
movl $0x242f, %esi           # imm = 0x242F
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 $0x90b, %eax            # imm = 0x90B
jmp 0xc794
movq %rbp, %rdi
callq 0x19306
movq %rax, %rdi
callq 0x19306
cmpq 0x1772e(%rip), %rax     # 0x23fc0
je 0xc817
movq %rbp, %rdi
callq 0x19306
movq %rax, %rdi
callq 0x19306
andl $0x3, %eax
cmpl $0x1, %eax
je 0xc817
movq %rbp, %rdi
callq 0x19306
movq %rax, %rdi
callq 0x19306
movq %rax, %rdi
callq 0x191fb
movq %rax, (%rsp)
movq %rbp, %rdi
callq 0x19306
movq %rax, %rdi
callq 0x19306
movq %rax, %rdi
callq 0x19306
cmpq 0x176d5(%rip), %rax     # 0x23fc0
je 0xc951
leaq -0x7328(%rip), %rsi     # 0x55cc
leaq 0x179a5(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0xfc26(%rip), %rdi      # 0x1c533
callq 0x1691f
movq %rax, %r15
leaq 0xf700(%rip), %rdi      # 0x1c01c
callq 0x1691f
movl $0x2437, %esi           # imm = 0x2437
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 $0x90d, %eax            # imm = 0x90D
jmp 0xc794
leaq 0x17fd8(%rip), %rbp     # 0x24930
cmpl $0x0, (%rbp)
je 0xcadd
movq (%r13), %rax
movq 0x50(%rax), %rax
leaq 0xfbc5(%rip), %rdi      # 0x1c536
movq %rdi, 0x10(%rax)
callq 0x1a7f4
testl %eax, %eax
je 0xc9a6
movq (%r13), %rax
movq 0x50(%rax), %rax
movl $0x90f, 0xc(%rax)       # imm = 0x90F
movq %r12, %rdi
callq 0x13708
leaq 0x10b98(%rip), %rdi     # 0x1d534
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b0f0
cmpl $0x0, (%rbp)
je 0xcadd
movq (%r13), %rax
movq 0x50(%rax), %rax
leaq 0x10164(%rip), %rdi     # 0x1cb23
movq %rdi, 0x10(%rax)
callq 0x1a7f4
testl %eax, %eax
je 0xc9f4
movq (%r13), %rax
movq 0x50(%rax), %rax
movl $0x910, 0xc(%rax)       # imm = 0x910
movq %r14, %rdi
callq 0x13708
leaq 0x10b4a(%rip), %rdi     # 0x1d534
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b0f0
cmpl $0x0, (%rbp)
je 0xcadd
movq (%r13), %rax
movq 0x50(%rax), %rax
leaq 0x1004f(%rip), %rdi     # 0x1ca5c
movq %rdi, 0x10(%rax)
callq 0x1a7f4
testl %eax, %eax
je 0xca42
movq (%r13), %rax
movq 0x50(%rax), %rax
movl $0x911, 0xc(%rax)       # imm = 0x911
movq %r15, %rdi
callq 0x13708
leaq 0x10afc(%rip), %rdi     # 0x1d534
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b0f0
cmpl $0x0, (%rbp)
je 0xcadd
movq (%r13), %rax
movq 0x50(%rax), %rax
leaq 0x10006(%rip), %rdi     # 0x1ca61
movq %rdi, 0x10(%rax)
callq 0x1a7f4
testl %eax, %eax
je 0xca92
movq (%r13), %rax
movq 0x50(%rax), %rax
movl $0x912, 0xc(%rax)       # imm = 0x912
movq 0x8(%rsp), %rdi
callq 0x13708
leaq 0x10aac(%rip), %rdi     # 0x1d534
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b0f0
cmpl $0x0, (%rbp)
je 0xcadd
movq (%r13), %rax
movq 0x50(%rax), %rax
leaq 0xffbf(%rip), %rdi      # 0x1ca66
movq %rdi, 0x10(%rax)
callq 0x1a7f4
testl %eax, %eax
je 0xcadd
movq (%r13), %rax
movq 0x50(%rax), %rax
movl $0x913, 0xc(%rax)       # imm = 0x913
movq (%rsp), %rdi
callq 0x13708
leaq 0x10a61(%rip), %rdi     # 0x1d534
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b0f0
movq (%rsp), %rdi
movq %r14, %rsi
callq 0x19164
movq 0x8(%rsp), %rdi
movq %rax, %rsi
callq 0x19164
movq %r12, %rdi
movq %rax, %rsi
callq 0x19164
leaq 0x2cd9(%rip), %rsi      # 0xf7e1
movq %rbx, %rdi
movq %rax, %rdx
callq 0x123b7
movq %rax, %r12
leaq 0xfa7c(%rip), %rdi      # 0x1c599
callq 0x1691f
movq %rax, %rdi
movq %r14, %rsi
callq 0x19164
movq %r12, %rdi
movq %rax, %rsi
callq 0x19164
movq %rbx, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x12494
movl $0x916, %eax            # imm = 0x916
jmp 0xc794