// File: /workspace/github_c_makefile_star2_O3/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 0x19c72
movq %rax, %rdi
callq 0x11d65
movq %rax, %r14
movq 0x30(%rbx), %rdi
callq 0x19d11
movq %rax, %r12
leaq 0x10c2f(%rip), %rax     # 0x1ca11
movq %rsp, %rdi
movq %rax, (%rdi)
leaq 0x17541(%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 0x1053f(%rip), %rcx     # 0x1c34a
movq %rcx, 0x10(%rdi)
leaq 0x1733a(%rip), %rcx     # 0x23150
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x1ba26
cmpq 0x17196(%rip), %r14     # 0x22fc0
je 0xbf0a
testq %r14, %r14
je 0xbf0a
movl %r14d, %eax
andl $0x3, %eax
jne 0xbf0a
movq %r14, %rdi
callq 0x19c72
movq %rax, %r14
andl $0x3, %eax
cmpl $0x1, %eax
jne 0xbf6e
cmpq 0x1715d(%rip), %r12     # 0x22fc0
je 0xbfcf
testq %r12, %r12
je 0xbfcf
movl %r12d, %eax
andl $0x3, %eax
jne 0xbfcf
movq %r12, %rdi
callq 0x19c72
movq %rax, %r15
movq %r12, %rdi
callq 0x19d11
testq %rax, %rax
je 0xbea6
movq %r12, %rdi
callq 0x19d11
testb $0x3, %al
je 0xc048
leaq -0x6305(%rip), %rsi     # 0x5ba8
leaq 0x173ec(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x128be
movq %rax, %r14
leaq 0x1066d(%rip), %rdi     # 0x1c533
callq 0x170ff
movq %rax, %r15
leaq 0x10147(%rip), %rdi     # 0x1c01c
callq 0x170ff
movl $0x2667, %esi           # imm = 0x2667
movq %rax, %rdi
callq 0x19c50
movq %r15, %rdi
movq %rax, %rsi
callq 0x19c50
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x1299b
movl $0x999, %eax            # imm = 0x999
jmp 0xc02e
leaq -0x6369(%rip), %rsi     # 0x5ba8
leaq 0x17388(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x128be
movq %rax, %r14
leaq 0x10609(%rip), %rdi     # 0x1c533
callq 0x170ff
movq %rax, %r15
leaq 0x100e3(%rip), %rdi     # 0x1c01c
callq 0x170ff
movl $0x2653, %esi           # imm = 0x2653
movq %rax, %rdi
callq 0x19c50
movq %r15, %rdi
movq %rax, %rsi
callq 0x19c50
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x1299b
movl $0x994, %eax            # imm = 0x994
jmp 0xc02e
leaq -0x63cd(%rip), %rsi     # 0x5ba8
leaq 0x17324(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x128be
movq %rax, %r14
leaq 0x105a5(%rip), %rdi     # 0x1c533
callq 0x170ff
movq %rax, %r15
leaq 0x1007f(%rip), %rdi     # 0x1c01c
callq 0x170ff
movl $0x265b, %esi           # imm = 0x265B
movq %rax, %rdi
callq 0x19c50
movq %r15, %rdi
movq %rax, %rsi
callq 0x19c50
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x1299b
movl $0x996, %eax            # imm = 0x996
jmp 0xc02e
leaq -0x642e(%rip), %rsi     # 0x5ba8
leaq 0x172c3(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x128be
movq %rax, %r14
leaq 0x10544(%rip), %rdi     # 0x1c533
callq 0x170ff
movq %rax, %r15
leaq 0x1001e(%rip), %rdi     # 0x1c01c
callq 0x170ff
movl $0x265f, %esi           # imm = 0x265F
movq %rax, %rdi
callq 0x19c50
movq %r15, %rdi
movq %rax, %rsi
callq 0x19c50
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x1299b
movl $0x997, %eax            # imm = 0x997
movq %rsp, %rdi
movl %eax, 0xc(%rdi)
callq 0x1bbab
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r12, %rdi
callq 0x19d11
cmpq 0x16f69(%rip), %rax     # 0x22fc0
je 0xbea6
movq %r12, %rdi
callq 0x19d11
andl $0x3, %eax
cmpl $0x1, %eax
je 0xbea6
movq %r12, %rdi
callq 0x19d11
movq %rax, %rdi
callq 0x19c72
movq %rax, %r13
movq %r12, %rdi
callq 0x19d11
movq %rax, %rdi
callq 0x19d11
cmpq 0x16f25(%rip), %rax     # 0x22fc0
je 0xc101
leaq -0x64fc(%rip), %rsi     # 0x5ba8
leaq 0x171f5(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x128be
movq %rax, %r14
leaq 0x10476(%rip), %rdi     # 0x1c533
callq 0x170ff
movq %rax, %r15
leaq 0xff50(%rip), %rdi      # 0x1c01c
callq 0x170ff
movl $0x266f, %esi           # imm = 0x266F
movq %rax, %rdi
callq 0x19c50
movq %r15, %rdi
movq %rax, %rsi
callq 0x19c50
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x1299b
movl $0x99b, %eax            # imm = 0x99B
jmp 0xc02e
leaq 0x17828(%rip), %r12     # 0x23930
cmpl $0x0, (%r12)
je 0xc1a2
movq (%rbp), %rax
movq 0x50(%rax), %rax
leaq 0x11a98(%rip), %rdi     # 0x1dbba
movq %rdi, 0x10(%rax)
callq 0x1b188
testl %eax, %eax
je 0xc157
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl $0x99d, 0xc(%rax)       # imm = 0x99D
movq %r15, %rdi
callq 0x13c40
leaq 0x11407(%rip), %rdi     # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1ba97
cmpl $0x0, (%r12)
je 0xc1a2
movq (%rbp), %rax
movq 0x50(%rax), %rax
leaq 0x11584(%rip), %rdi     # 0x1d6f1
movq %rdi, 0x10(%rax)
callq 0x1b188
testl %eax, %eax
je 0xc1a2
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl $0x99e, 0xc(%rax)       # imm = 0x99E
movq %r13, %rdi
callq 0x13c40
leaq 0x113bc(%rip), %rdi     # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1ba97
leaq 0x103a8(%rip), %rdi     # 0x1c551
callq 0x170ff
movq %rax, %rdi
movq %r13, %rsi
callq 0x19c50
movq %r14, %rdi
movq %rax, %rsi
callq 0x19c50
movq %rbx, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x1299b
movl $0x9a0, %eax            # imm = 0x9A0
jmp 0xc02e