// File: /workspace/github_c_makefile_star2_O1/dalnefre[P]kernel_abe/kernel.c
// Function: cons_args_beh
static
BEH_DECL(cons_args_beh)
{
	CONS* state = MINE;
	CONS* cust;
	CONS* msg = WHAT;
	CONS* a;
	CONS* d;

	DBUG_ENTER("cons_args_beh");
	ENSURE(is_pr(state));
	cust = hd(state);
	ENSURE(actorp(cust));
	ENSURE(is_pr(msg));
	a = hd(msg);
	ENSURE(is_pr(tl(msg)));
	d = hd(tl(msg));
	ENSURE(nilp(tl(tl(msg))));

	DBUG_PRINT("a", ("%s", cons_to_str(a)));
	DBUG_PRINT("d", ("%s", cons_to_str(d)));
	SEND(cust, ACTOR(cons_type, pr(a, d)));  /* cons produces mutable pairs */
	DBUG_RETURN;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %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, %r12
leaq 0x1033e(%rip), %rax     # 0x1ca42
movq %rsp, %rdi
movq %rax, (%rdi)
leaq 0x16c1f(%rip), %rbp     # 0x23330
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x928, 0xc(%rdi)       # imm = 0x928
leaq 0xfc1d(%rip), %rcx      # 0x1c34a
movq %rcx, 0x10(%rdi)
leaq 0x16a18(%rip), %rcx     # 0x23150
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x1b912
cmpq 0x16874(%rip), %r14     # 0x22fc0
je 0xc82c
testq %r14, %r14
je 0xc82c
movl %r14d, %eax
andl $0x3, %eax
jne 0xc82c
movq %r14, %rdi
callq 0x19ba6
movq %rax, %r14
andl $0x3, %eax
cmpl $0x1, %eax
jne 0xc890
cmpq 0x1683b(%rip), %r12     # 0x22fc0
je 0xc8f1
testq %r12, %r12
je 0xc8f1
movl %r12d, %eax
andl $0x3, %eax
jne 0xc8f1
movq %r12, %rdi
callq 0x19ba6
movq %rax, %r15
movq %r12, %rdi
callq 0x19c45
testq %rax, %rax
je 0xc7c8
movq %r12, %rdi
callq 0x19c45
testb $0x3, %al
je 0xc96a
leaq -0x6bda(%rip), %rsi     # 0x5bf5
leaq 0x16aca(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0xfd4b(%rip), %rdi      # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0xf825(%rip), %rdi      # 0x1c01c
callq 0x1707c
movl $0x24bb, %esi           # imm = 0x24BB
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 $0x92e, %eax            # imm = 0x92E
jmp 0xc950
leaq -0x6c3e(%rip), %rsi     # 0x5bf5
leaq 0x16a66(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0xfce7(%rip), %rdi      # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0xf7c1(%rip), %rdi      # 0x1c01c
callq 0x1707c
movl $0x24a7, %esi           # imm = 0x24A7
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 $0x929, %eax            # imm = 0x929
jmp 0xc950
leaq -0x6ca2(%rip), %rsi     # 0x5bf5
leaq 0x16a02(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0xfc83(%rip), %rdi      # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0xf75d(%rip), %rdi      # 0x1c01c
callq 0x1707c
movl $0x24af, %esi           # imm = 0x24AF
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 $0x92b, %eax            # imm = 0x92B
jmp 0xc950
leaq -0x6d03(%rip), %rsi     # 0x5bf5
leaq 0x169a1(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0xfc22(%rip), %rdi      # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0xf6fc(%rip), %rdi      # 0x1c01c
callq 0x1707c
movl $0x24b3, %esi           # imm = 0x24B3
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 $0x92c, %eax            # imm = 0x92C
movq %rsp, %rdi
movl %eax, 0xc(%rdi)
callq 0x1ba97
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r12, %rdi
callq 0x19c45
cmpq 0x16647(%rip), %rax     # 0x22fc0
je 0xc7c8
movq %r12, %rdi
callq 0x19c45
andl $0x3, %eax
cmpl $0x1, %eax
je 0xc7c8
movq %r12, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19ba6
movq %rax, %r13
movq %r12, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19c45
cmpq 0x16603(%rip), %rax     # 0x22fc0
je 0xca23
leaq -0x6dd1(%rip), %rsi     # 0x5bf5
leaq 0x168d3(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0xfb54(%rip), %rdi      # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0xf62e(%rip), %rdi      # 0x1c01c
callq 0x1707c
movl $0x24c3, %esi           # imm = 0x24C3
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 $0x930, %eax            # imm = 0x930
jmp 0xc950
leaq 0x16f06(%rip), %r12     # 0x23930
cmpl $0x0, (%r12)
je 0xca75
movq (%rbp), %rax
movq 0x50(%rax), %rax
leaq 0xfe99(%rip), %rdi      # 0x1c8d9
movq %rdi, 0x10(%rax)
callq 0x1b084
testl %eax, %eax
je 0xca75
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl $0x932, 0xc(%rax)       # imm = 0x932
movq %r15, %rdi
callq 0x13b9c
leaq 0x10ae9(%rip), %rdi     # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b983
cmpl $0x0, (%r12)
je 0xcac0
movq (%rbp), %rax
movq 0x50(%rax), %rax
leaq 0x10c66(%rip), %rdi     # 0x1d6f1
movq %rdi, 0x10(%rax)
callq 0x1b084
testl %eax, %eax
je 0xcac0
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl $0x933, 0xc(%rax)       # imm = 0x933
movq %r13, %rdi
callq 0x13b9c
leaq 0x10a9e(%rip), %rdi     # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b983
movq %r15, %rdi
movq %r13, %rsi
callq 0x19b84
leaq -0x6dfa(%rip), %rsi     # 0x5cd8
movq %rbx, %rdi
movq %rax, %rdx
callq 0x1283a
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x12917
movl $0x935, %eax            # imm = 0x935
jmp 0xc950