// File: /workspace/github_c_makefile_star2_O0/dalnefre[P]kernel_abe/kernel.c
// Function: if_test_beh
static
BEH_DECL(if_test_beh)
{
	CONS* state = MINE;
	CONS* cust;
	CONS* bool = WHAT;

	DBUG_ENTER("if_test_beh");
	ENSURE(is_pr(state));
	cust = hd(state);
	ENSURE(actorp(cust));
	ENSURE(actorp(bool));

	SEND(bool, pr(cust, pr(ATOM("if"), tl(state))));
	DBUG_RETURN;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x25380
movq %rax, %rdi
callq 0x1a600
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x25510
movq %rax, -0x20(%rbp)
leaq 0x12510(%rip), %rax     # 0x29a90
movq %rax, -0x48(%rbp)
leaq 0x17d95(%rip), %rax     # 0x2f320
movq (%rax), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %eax
movl %eax, -0x40(%rbp)
movl $0x8e5, -0x3c(%rbp)     # imm = 0x8E5
leaq 0x11dc9(%rip), %rax     # 0x2936f
movq %rax, -0x38(%rbp)
leaq 0x17b8f(%rip), %rax     # 0x2f140
movq %rax, -0x30(%rbp)
leaq 0x17d64(%rip), %rax     # 0x2f320
movq (%rax), %rax
movq 0x50(%rax), %rax
movq %rax, -0x28(%rbp)
leaq -0x48(%rbp), %rdi
callq 0x28490
xorl %eax, %eax
cmpq $0x0, -0x10(%rbp)
movb %al, -0x49(%rbp)
je 0x175ee
movq -0x10(%rbp), %rax
andq $0x3, %rax
cmpq $0x0, %rax
sete %al
movb %al, -0x49(%rbp)
movb -0x49(%rbp), %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0x17635
leaq 0x17c8b(%rip), %rax     # 0x2f290
cmpq %rax, -0x10(%rbp)
sete %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
jne 0x17635
movq -0x10(%rbp), %rax
andq $0x3, %rax
cmpq $0x1, %rax
sete %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
je 0x176b2
movq -0x8(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x8(%rbp), %rdi
leaq -0x11af8(%rip), %rsi    # 0x5b50
leaq 0x17c41(%rip), %rdx     # 0x2f290
callq 0x1b6f0
movq %rax, -0x58(%rbp)
leaq 0x11ef9(%rip), %rdi     # 0x29558
callq 0x216e0
movq %rax, -0x68(%rbp)
leaq 0x119ad(%rip), %rdi     # 0x2901c
callq 0x216e0
movq %rax, %rdi
movl $0x239b, %esi           # imm = 0x239B
callq 0x25290
movq -0x68(%rbp), %rdi
movq %rax, %rsi
callq 0x25290
movq -0x60(%rbp), %rdi
movq -0x58(%rbp), %rsi
movq %rax, %rdx
callq 0x1b810
movl $0x8e6, -0x3c(%rbp)     # imm = 0x8E6
leaq -0x48(%rbp), %rdi
callq 0x28660
jmp 0x17888
movq -0x10(%rbp), %rdi
callq 0x25380
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
andq $0x3, %rax
cmpq $0x1, %rax
sete %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
jne 0x17758
movq -0x8(%rbp), %rax
movq %rax, -0x78(%rbp)
movq -0x8(%rbp), %rdi
leaq -0x11b9e(%rip), %rsi    # 0x5b50
leaq 0x17b9b(%rip), %rdx     # 0x2f290
callq 0x1b6f0
movq %rax, -0x70(%rbp)
leaq 0x11e53(%rip), %rdi     # 0x29558
callq 0x216e0
movq %rax, -0x80(%rbp)
leaq 0x11907(%rip), %rdi     # 0x2901c
callq 0x216e0
movq %rax, %rdi
movl $0x23a3, %esi           # imm = 0x23A3
callq 0x25290
movq -0x80(%rbp), %rdi
movq %rax, %rsi
callq 0x25290
movq -0x78(%rbp), %rdi
movq -0x70(%rbp), %rsi
movq %rax, %rdx
callq 0x1b810
movl $0x8e8, -0x3c(%rbp)     # imm = 0x8E8
leaq -0x48(%rbp), %rdi
callq 0x28660
jmp 0x17888
movq -0x20(%rbp), %rax
andq $0x3, %rax
cmpq $0x1, %rax
sete %al
andb $0x1, %al
movzbl %al, %eax
cltq
cmpq $0x0, %rax
jne 0x17807
movq -0x8(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x8(%rbp), %rdi
leaq -0x11c3e(%rip), %rsi    # 0x5b50
leaq 0x17afb(%rip), %rdx     # 0x2f290
callq 0x1b6f0
movq %rax, -0x88(%rbp)
leaq 0x11db0(%rip), %rdi     # 0x29558
callq 0x216e0
movq %rax, -0x98(%rbp)
leaq 0x11861(%rip), %rdi     # 0x2901c
callq 0x216e0
movq %rax, %rdi
movl $0x23a7, %esi           # imm = 0x23A7
callq 0x25290
movq -0x98(%rbp), %rdi
movq %rax, %rsi
callq 0x25290
movq -0x90(%rbp), %rdi
movq -0x88(%rbp), %rsi
movq %rax, %rdx
callq 0x1b810
movl $0x8e9, -0x3c(%rbp)     # imm = 0x8E9
leaq -0x48(%rbp), %rdi
callq 0x28660
jmp 0x17888
movq -0x8(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0xa0(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0xb0(%rbp)
leaq 0x120c2(%rip), %rdi     # 0x298f1
callq 0x216e0
movq %rax, -0xb8(%rbp)
movq -0x10(%rbp), %rdi
callq 0x25510
movq -0xb8(%rbp), %rdi
movq %rax, %rsi
callq 0x25290
movq -0xb0(%rbp), %rdi
movq %rax, %rsi
callq 0x25290
movq -0xa8(%rbp), %rdi
movq -0xa0(%rbp), %rsi
movq %rax, %rdx
callq 0x1b810
movl $0x8ec, -0x3c(%rbp)     # imm = 0x8EC
leaq -0x48(%rbp), %rdi
callq 0x28660
addq $0xc0, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)