// File: /workspace/github_c_makefile_star2_O2/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 0x191fb
movq %rax, %rdi
callq 0x1175b
movq %rax, %r14
movq 0x30(%rbx), %rdi
callq 0x19306
movq %rax, %r12
leaq 0x1120b(%rip), %rax     # 0x1ca11
movq %rsp, %rdi
movq %rax, (%rdi)
leaq 0x18b1d(%rip), %rbp     # 0x24330
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x993, 0xc(%rdi)       # imm = 0x993
leaq 0x10b1b(%rip), %rcx     # 0x1c34a
movq %rcx, 0x10(%rdi)
leaq 0x18916(%rip), %rcx     # 0x24150
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x1b079
cmpq 0x18772(%rip), %r14     # 0x23fc0
je 0xb92e
testq %r14, %r14
je 0xb92e
movl %r14d, %eax
andl $0x3, %eax
jne 0xb92e
movq %r14, %rdi
callq 0x191fb
movq %rax, %r14
andl $0x3, %eax
cmpl $0x1, %eax
jne 0xb992
cmpq 0x18739(%rip), %r12     # 0x23fc0
je 0xb9f3
testq %r12, %r12
je 0xb9f3
movl %r12d, %eax
andl $0x3, %eax
jne 0xb9f3
movq %r12, %rdi
callq 0x191fb
movq %rax, %r15
movq %r12, %rdi
callq 0x19306
testq %rax, %rax
je 0xb8ca
movq %r12, %rdi
callq 0x19306
testb $0x3, %al
je 0xba6c
leaq -0x6305(%rip), %rsi     # 0x55cc
leaq 0x189c8(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0x10c49(%rip), %rdi     # 0x1c533
callq 0x1691f
movq %rax, %r15
leaq 0x10723(%rip), %rdi     # 0x1c01c
callq 0x1691f
movl $0x2667, %esi           # imm = 0x2667
movq %rax, %rdi
callq 0x19164
movq %r15, %rdi
movq %rax, %rsi
callq 0x19164
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x12494
movl $0x999, %eax            # imm = 0x999
jmp 0xba52
leaq -0x6369(%rip), %rsi     # 0x55cc
leaq 0x18964(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0x10be5(%rip), %rdi     # 0x1c533
callq 0x1691f
movq %rax, %r15
leaq 0x106bf(%rip), %rdi     # 0x1c01c
callq 0x1691f
movl $0x2653, %esi           # imm = 0x2653
movq %rax, %rdi
callq 0x19164
movq %r15, %rdi
movq %rax, %rsi
callq 0x19164
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x12494
movl $0x994, %eax            # imm = 0x994
jmp 0xba52
leaq -0x63cd(%rip), %rsi     # 0x55cc
leaq 0x18900(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0x10b81(%rip), %rdi     # 0x1c533
callq 0x1691f
movq %rax, %r15
leaq 0x1065b(%rip), %rdi     # 0x1c01c
callq 0x1691f
movl $0x265b, %esi           # imm = 0x265B
movq %rax, %rdi
callq 0x19164
movq %r15, %rdi
movq %rax, %rsi
callq 0x19164
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x12494
movl $0x996, %eax            # imm = 0x996
jmp 0xba52
leaq -0x642e(%rip), %rsi     # 0x55cc
leaq 0x1889f(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0x10b20(%rip), %rdi     # 0x1c533
callq 0x1691f
movq %rax, %r15
leaq 0x105fa(%rip), %rdi     # 0x1c01c
callq 0x1691f
movl $0x265f, %esi           # imm = 0x265F
movq %rax, %rdi
callq 0x19164
movq %r15, %rdi
movq %rax, %rsi
callq 0x19164
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x12494
movl $0x997, %eax            # imm = 0x997
movq %rsp, %rdi
movl %eax, 0xc(%rdi)
callq 0x1b1f2
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r12, %rdi
callq 0x19306
cmpq 0x18545(%rip), %rax     # 0x23fc0
je 0xb8ca
movq %r12, %rdi
callq 0x19306
andl $0x3, %eax
cmpl $0x1, %eax
je 0xb8ca
movq %r12, %rdi
callq 0x19306
movq %rax, %rdi
callq 0x191fb
movq %rax, %r13
movq %r12, %rdi
callq 0x19306
movq %rax, %rdi
callq 0x19306
cmpq 0x18501(%rip), %rax     # 0x23fc0
je 0xbb25
leaq -0x64fc(%rip), %rsi     # 0x55cc
leaq 0x187d1(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0x10a52(%rip), %rdi     # 0x1c533
callq 0x1691f
movq %rax, %r15
leaq 0x1052c(%rip), %rdi     # 0x1c01c
callq 0x1691f
movl $0x266f, %esi           # imm = 0x266F
movq %rax, %rdi
callq 0x19164
movq %r15, %rdi
movq %rax, %rsi
callq 0x19164
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x12494
movl $0x99b, %eax            # imm = 0x99B
jmp 0xba52
leaq 0x18e04(%rip), %r12     # 0x24930
cmpl $0x0, (%r12)
je 0xbbc6
movq (%rbp), %rax
movq 0x50(%rax), %rax
leaq 0x12054(%rip), %rdi     # 0x1db9a
movq %rdi, 0x10(%rax)
callq 0x1a7f4
testl %eax, %eax
je 0xbb7b
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl $0x99d, 0xc(%rax)       # imm = 0x99D
movq %r15, %rdi
callq 0x13708
leaq 0x119c3(%rip), %rdi     # 0x1d534
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b0f0
cmpl $0x0, (%r12)
je 0xbbc6
movq (%rbp), %rax
movq 0x50(%rax), %rax
leaq 0x11b40(%rip), %rdi     # 0x1d6d1
movq %rdi, 0x10(%rax)
callq 0x1a7f4
testl %eax, %eax
je 0xbbc6
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl $0x99e, 0xc(%rax)       # imm = 0x99E
movq %r13, %rdi
callq 0x13708
leaq 0x11978(%rip), %rdi     # 0x1d534
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b0f0
leaq 0x10984(%rip), %rdi     # 0x1c551
callq 0x1691f
movq %rax, %rdi
movq %r13, %rsi
callq 0x19164
movq %r14, %rdi
movq %rax, %rsi
callq 0x19164
movq %rbx, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x12494
movl $0x9a0, %eax            # imm = 0x9A0
jmp 0xba52