// File: /workspace/github_c_makefile_star2_O1/dalnefre[P]kernel_abe/kernel.c
// Function: set_cdr_args_beh
static
BEH_DECL(set_cdr_args_beh)
{
	CONS* state = MINE;
	CONS* cust;
	CONS* msg = WHAT;
	CONS* p;
	CONS* d;

	DBUG_ENTER("set_cdr_args_beh");
	ENSURE(is_pr(state));
	cust = hd(state);
	ENSURE(actorp(cust));
	ENSURE(is_pr(msg));
	p = hd(msg);
	ENSURE(is_pr(tl(msg)));
	d = hd(tl(msg));
	ENSURE(nilp(tl(tl(msg))));

	DBUG_PRINT("p", ("%s", cons_to_str(p)));
	DBUG_PRINT("d", ("%s", cons_to_str(d)));
	SEND(p, pr(cust, pr(ATOM("set_cdr"), d)));
	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 0x10c17(%rip), %rax     # 0x1ca11
movq %rsp, %rdi
movq %rax, (%rdi)
leaq 0x17529(%rip), %rbp     # 0x23330
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x993, 0xc(%rdi)       # imm = 0x993
leaq 0x10527(%rip), %rcx     # 0x1c34a
movq %rcx, 0x10(%rdi)
leaq 0x17322(%rip), %rcx     # 0x23150
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x1b912
cmpq 0x1717e(%rip), %r14     # 0x22fc0
je 0xbf22
testq %r14, %r14
je 0xbf22
movl %r14d, %eax
andl $0x3, %eax
jne 0xbf22
movq %r14, %rdi
callq 0x19ba6
movq %rax, %r14
andl $0x3, %eax
cmpl $0x1, %eax
jne 0xbf86
cmpq 0x17145(%rip), %r12     # 0x22fc0
je 0xbfe7
testq %r12, %r12
je 0xbfe7
movl %r12d, %eax
andl $0x3, %eax
jne 0xbfe7
movq %r12, %rdi
callq 0x19ba6
movq %rax, %r15
movq %r12, %rdi
callq 0x19c45
testq %rax, %rax
je 0xbebe
movq %r12, %rdi
callq 0x19c45
testb $0x3, %al
je 0xc060
leaq -0x62d0(%rip), %rsi     # 0x5bf5
leaq 0x173d4(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0x10655(%rip), %rdi     # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0x1012f(%rip), %rdi     # 0x1c01c
callq 0x1707c
movl $0x2667, %esi           # imm = 0x2667
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 $0x999, %eax            # imm = 0x999
jmp 0xc046
leaq -0x6334(%rip), %rsi     # 0x5bf5
leaq 0x17370(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0x105f1(%rip), %rdi     # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0x100cb(%rip), %rdi     # 0x1c01c
callq 0x1707c
movl $0x2653, %esi           # imm = 0x2653
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 $0x994, %eax            # imm = 0x994
jmp 0xc046
leaq -0x6398(%rip), %rsi     # 0x5bf5
leaq 0x1730c(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0x1058d(%rip), %rdi     # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0x10067(%rip), %rdi     # 0x1c01c
callq 0x1707c
movl $0x265b, %esi           # imm = 0x265B
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 $0x996, %eax            # imm = 0x996
jmp 0xc046
leaq -0x63f9(%rip), %rsi     # 0x5bf5
leaq 0x172ab(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0x1052c(%rip), %rdi     # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0x10006(%rip), %rdi     # 0x1c01c
callq 0x1707c
movl $0x265f, %esi           # imm = 0x265F
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 $0x997, %eax            # imm = 0x997
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 0x16f51(%rip), %rax     # 0x22fc0
je 0xbebe
movq %r12, %rdi
callq 0x19c45
andl $0x3, %eax
cmpl $0x1, %eax
je 0xbebe
movq %r12, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19ba6
movq %rax, %r13
movq %r12, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19c45
cmpq 0x16f0d(%rip), %rax     # 0x22fc0
je 0xc119
leaq -0x64c7(%rip), %rsi     # 0x5bf5
leaq 0x171dd(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0x1045e(%rip), %rdi     # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0xff38(%rip), %rdi      # 0x1c01c
callq 0x1707c
movl $0x266f, %esi           # imm = 0x266F
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 $0x99b, %eax            # imm = 0x99B
jmp 0xc046
leaq 0x17810(%rip), %r12     # 0x23930
cmpl $0x0, (%r12)
je 0xc16b
movq (%rbp), %rax
movq 0x50(%rax), %rax
leaq 0x11a84(%rip), %rdi     # 0x1dbba
movq %rdi, 0x10(%rax)
callq 0x1b084
testl %eax, %eax
je 0xc16b
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl $0x99d, 0xc(%rax)       # imm = 0x99D
movq %r15, %rdi
callq 0x13b9c
leaq 0x113f3(%rip), %rdi     # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b983
cmpl $0x0, (%r12)
je 0xc1b6
movq (%rbp), %rax
movq 0x50(%rax), %rax
leaq 0x11570(%rip), %rdi     # 0x1d6f1
movq %rdi, 0x10(%rax)
callq 0x1b084
testl %eax, %eax
je 0xc1b6
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl $0x99e, 0xc(%rax)       # imm = 0x99E
movq %r13, %rdi
callq 0x13b9c
leaq 0x113a8(%rip), %rdi     # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b983
leaq 0x10394(%rip), %rdi     # 0x1c551
callq 0x1707c
movq %rax, %rdi
movq %r13, %rsi
callq 0x19b84
movq %r14, %rdi
movq %rax, %rsi
callq 0x19b84
movq %rbx, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x12917
movl $0x9a0, %eax            # imm = 0x9A0
jmp 0xc046