// File: /workspace/github_c_makefile_star2_O1/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 0x19ba6
movq %rax, %rdi
callq 0x11d11
movq %rax, %r14
movq 0x30(%rbx), %rdi
callq 0x19c45
movq %rax, %rbp
leaq 0xff23(%rip), %rax      # 0x1ca50
leaq 0x10(%rsp), %rdi
movq %rax, (%rdi)
leaq 0x167f4(%rip), %r13     # 0x23330
movq (%r13), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x902, 0xc(%rdi)       # imm = 0x902
leaq 0xf7f2(%rip), %rcx      # 0x1c34a
movq %rcx, 0x10(%rdi)
leaq 0x165ed(%rip), %rcx     # 0x23150
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x1b912
cmpq 0x16449(%rip), %r14     # 0x22fc0
je 0xcc61
testq %r14, %r14
je 0xcc61
movl %r14d, %eax
andl $0x3, %eax
jne 0xcc61
movq %r14, %rdi
callq 0x19ba6
movq %rax, %r12
andl $0x3, %eax
cmpl $0x1, %eax
jne 0xccc5
movq %r14, %rdi
callq 0x19c45
cmpq 0x16408(%rip), %rbp     # 0x22fc0
je 0xcd26
testq %rbp, %rbp
je 0xcd26
movq %rax, %r14
movl %ebp, %eax
andl $0x3, %eax
jne 0xcd26
movq %rbp, %rdi
callq 0x19ba6
movq %rax, %r15
movq %rbp, %rdi
callq 0x19c45
testq %rax, %rax
je 0xcbfd
movq %rbp, %rdi
callq 0x19c45
testb $0x3, %al
je 0xcda1
leaq -0x700f(%rip), %rsi     # 0x5bf5
leaq 0x16695(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0xf916(%rip), %rdi      # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0xf3f0(%rip), %rdi      # 0x1c01c
callq 0x1707c
movl $0x2427, %esi           # imm = 0x2427
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 $0x909, %eax            # imm = 0x909
jmp 0xcd85
leaq -0x7073(%rip), %rsi     # 0x5bf5
leaq 0x16631(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0xf8b2(%rip), %rdi      # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0xf38c(%rip), %rdi      # 0x1c01c
callq 0x1707c
movl $0x240f, %esi           # imm = 0x240F
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 $0x903, %eax            # imm = 0x903
jmp 0xcd85
leaq -0x70d7(%rip), %rsi     # 0x5bf5
leaq 0x165cd(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0xf84e(%rip), %rdi      # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0xf328(%rip), %rdi      # 0x1c01c
callq 0x1707c
movl $0x2417, %esi           # imm = 0x2417
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 $0x905, %eax            # imm = 0x905
jmp 0xcd85
leaq -0x7138(%rip), %rsi     # 0x5bf5
leaq 0x1656c(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0xf7ed(%rip), %rdi      # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0xf2c7(%rip), %rdi      # 0x1c01c
callq 0x1707c
movl $0x241f, %esi           # imm = 0x241F
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 $0x907, %eax            # imm = 0x907
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 0x16210(%rip), %rax     # 0x22fc0
je 0xcbfd
movq %rbp, %rdi
callq 0x19c45
andl $0x3, %eax
cmpl $0x1, %eax
je 0xcbfd
movq %rbp, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19ba6
movq %rax, (%rsp)
movq %rbp, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19c45
testq %rax, %rax
je 0xce07
movq %rbp, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19c45
testb $0x3, %al
je 0xce6b
leaq -0x7219(%rip), %rsi     # 0x5bf5
leaq 0x1648b(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0xf70c(%rip), %rdi      # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0xf1e6(%rip), %rdi      # 0x1c01c
callq 0x1707c
movl $0x242f, %esi           # imm = 0x242F
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 $0x90b, %eax            # imm = 0x90B
jmp 0xcd85
movq %rbp, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19c45
cmpq 0x1613e(%rip), %rax     # 0x22fc0
je 0xce07
movq %rbp, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19c45
andl $0x3, %eax
cmpl $0x1, %eax
je 0xce07
movq %rbp, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19ba6
movq %rax, 0x8(%rsp)
movq %rbp, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19c45
cmpq 0x160e4(%rip), %rax     # 0x22fc0
je 0xcf42
leaq -0x72f0(%rip), %rsi     # 0x5bf5
leaq 0x163b4(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0xf635(%rip), %rdi      # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0xf10f(%rip), %rdi      # 0x1c01c
callq 0x1707c
movl $0x2437, %esi           # imm = 0x2437
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 $0x90d, %eax            # imm = 0x90D
jmp 0xcd85
leaq 0x169e7(%rip), %rbp     # 0x23930
cmpl $0x0, (%rbp)
je 0xcf93
movq (%r13), %rax
movq 0x50(%rax), %rax
leaq 0xf5d8(%rip), %rdi      # 0x1c536
movq %rdi, 0x10(%rax)
callq 0x1b084
testl %eax, %eax
je 0xcf93
movq (%r13), %rax
movq 0x50(%rax), %rax
movl $0x90f, 0xc(%rax)       # imm = 0x90F
movq %r12, %rdi
callq 0x13b9c
leaq 0x105cb(%rip), %rdi     # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b983
cmpl $0x0, (%rbp)
je 0xcfdd
movq (%r13), %rax
movq 0x50(%rax), %rax
leaq 0xfb7b(%rip), %rdi      # 0x1cb23
movq %rdi, 0x10(%rax)
callq 0x1b084
testl %eax, %eax
je 0xcfdd
movq (%r13), %rax
movq 0x50(%rax), %rax
movl $0x910, 0xc(%rax)       # imm = 0x910
movq %r14, %rdi
callq 0x13b9c
leaq 0x10581(%rip), %rdi     # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b983
cmpl $0x0, (%rbp)
je 0xd027
movq (%r13), %rax
movq 0x50(%rax), %rax
leaq 0xfa6a(%rip), %rdi      # 0x1ca5c
movq %rdi, 0x10(%rax)
callq 0x1b084
testl %eax, %eax
je 0xd027
movq (%r13), %rax
movq 0x50(%rax), %rax
movl $0x911, 0xc(%rax)       # imm = 0x911
movq %r15, %rdi
callq 0x13b9c
leaq 0x10537(%rip), %rdi     # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b983
cmpl $0x0, (%rbp)
je 0xd072
movq (%r13), %rax
movq 0x50(%rax), %rax
leaq 0xfa25(%rip), %rdi      # 0x1ca61
movq %rdi, 0x10(%rax)
callq 0x1b084
testl %eax, %eax
je 0xd072
movq (%r13), %rax
movq 0x50(%rax), %rax
movl $0x912, 0xc(%rax)       # imm = 0x912
movq (%rsp), %rdi
callq 0x13b9c
leaq 0x104ec(%rip), %rdi     # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b983
cmpl $0x0, (%rbp)
movq 0x8(%rsp), %rbp
je 0xd0c1
movq (%r13), %rax
movq 0x50(%rax), %rax
leaq 0xf9da(%rip), %rdi      # 0x1ca66
movq %rdi, 0x10(%rax)
callq 0x1b084
testl %eax, %eax
je 0xd0c1
movq (%r13), %rax
movq 0x50(%rax), %rax
movl $0x913, 0xc(%rax)       # imm = 0x913
movq %rbp, %rdi
callq 0x13b9c
leaq 0x1049d(%rip), %rdi     # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b983
movq %rbp, %rdi
movq %r14, %rsi
callq 0x19b84
movq (%rsp), %rdi
movq %rax, %rsi
callq 0x19b84
movq %r12, %rdi
movq %rax, %rsi
callq 0x19b84
leaq 0x2cd1(%rip), %rsi      # 0xfdbb
movq %rbx, %rdi
movq %rax, %rdx
callq 0x1283a
movq %rax, %r12
leaq 0xf49a(%rip), %rdi      # 0x1c599
callq 0x1707c
movq %rax, %rdi
movq %r14, %rsi
callq 0x19b84
movq %r12, %rdi
movq %rax, %rsi
callq 0x19b84
movq %rbx, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x12917
movl $0x916, %eax            # imm = 0x916
jmp 0xcd85