// File: /workspace/github_c_makefile_star2_O1/dalnefre[P]kernel_abe/kernel.c
// Function: set_car_args_beh
static
BEH_DECL(set_car_args_beh)
{
	CONS* state = MINE;
	CONS* cust;
	CONS* msg = WHAT;
	CONS* p;
	CONS* a;

	DBUG_ENTER("set_car_args_beh");
	ENSURE(is_pr(state));
	cust = hd(state);
	ENSURE(actorp(cust));
	ENSURE(is_pr(msg));
	p = hd(msg);
	ENSURE(is_pr(tl(msg)));
	a = hd(tl(msg));
	ENSURE(nilp(tl(tl(msg))));

	DBUG_PRINT("p", ("%s", cons_to_str(p)));
	DBUG_PRINT("a", ("%s", cons_to_str(a)));
	SEND(p, pr(cust, pr(ATOM("set_car"), a)));
	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 0x11034(%rip), %rax     # 0x1ca00
movq %rsp, %rdi
movq %rax, (%rdi)
leaq 0x17957(%rip), %rbp     # 0x23330
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x975, 0xc(%rdi)       # imm = 0x975
leaq 0x10955(%rip), %rcx     # 0x1c34a
movq %rcx, 0x10(%rdi)
leaq 0x17750(%rip), %rcx     # 0x23150
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x1b912
cmpq 0x175ac(%rip), %r14     # 0x22fc0
je 0xbaf4
testq %r14, %r14
je 0xbaf4
movl %r14d, %eax
andl $0x3, %eax
jne 0xbaf4
movq %r14, %rdi
callq 0x19ba6
movq %rax, %r14
andl $0x3, %eax
cmpl $0x1, %eax
jne 0xbb58
cmpq 0x17573(%rip), %r12     # 0x22fc0
je 0xbbb9
testq %r12, %r12
je 0xbbb9
movl %r12d, %eax
andl $0x3, %eax
jne 0xbbb9
movq %r12, %rdi
callq 0x19ba6
movq %rax, %r15
movq %r12, %rdi
callq 0x19c45
testq %rax, %rax
je 0xba90
movq %r12, %rdi
callq 0x19c45
testb $0x3, %al
je 0xbc32
leaq -0x5ea2(%rip), %rsi     # 0x5bf5
leaq 0x17802(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0x10a83(%rip), %rdi     # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0x1055d(%rip), %rdi     # 0x1c01c
callq 0x1707c
movl $0x25ef, %esi           # imm = 0x25EF
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 $0x97b, %eax            # imm = 0x97B
jmp 0xbc18
leaq -0x5f06(%rip), %rsi     # 0x5bf5
leaq 0x1779e(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0x10a1f(%rip), %rdi     # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0x104f9(%rip), %rdi     # 0x1c01c
callq 0x1707c
movl $0x25db, %esi           # imm = 0x25DB
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 $0x976, %eax            # imm = 0x976
jmp 0xbc18
leaq -0x5f6a(%rip), %rsi     # 0x5bf5
leaq 0x1773a(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0x109bb(%rip), %rdi     # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0x10495(%rip), %rdi     # 0x1c01c
callq 0x1707c
movl $0x25e3, %esi           # imm = 0x25E3
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 $0x978, %eax            # imm = 0x978
jmp 0xbc18
leaq -0x5fcb(%rip), %rsi     # 0x5bf5
leaq 0x176d9(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0x1095a(%rip), %rdi     # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0x10434(%rip), %rdi     # 0x1c01c
callq 0x1707c
movl $0x25e7, %esi           # imm = 0x25E7
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 $0x979, %eax            # imm = 0x979
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 0x1737f(%rip), %rax     # 0x22fc0
je 0xba90
movq %r12, %rdi
callq 0x19c45
andl $0x3, %eax
cmpl $0x1, %eax
je 0xba90
movq %r12, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19ba6
movq %rax, %r13
movq %r12, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19c45
cmpq 0x1733b(%rip), %rax     # 0x22fc0
je 0xbceb
leaq -0x6099(%rip), %rsi     # 0x5bf5
leaq 0x1760b(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0x1088c(%rip), %rdi     # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0x10366(%rip), %rdi     # 0x1c01c
callq 0x1707c
movl $0x25f7, %esi           # imm = 0x25F7
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 $0x97d, %eax            # imm = 0x97D
jmp 0xbc18
leaq 0x17c3e(%rip), %r12     # 0x23930
cmpl $0x0, (%r12)
je 0xbd3d
movq (%rbp), %rax
movq 0x50(%rax), %rax
leaq 0x11eb2(%rip), %rdi     # 0x1dbba
movq %rdi, 0x10(%rax)
callq 0x1b084
testl %eax, %eax
je 0xbd3d
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl $0x97f, 0xc(%rax)       # imm = 0x97F
movq %r15, %rdi
callq 0x13b9c
leaq 0x11821(%rip), %rdi     # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b983
cmpl $0x0, (%r12)
je 0xbd88
movq (%rbp), %rax
movq 0x50(%rax), %rax
leaq 0x10b86(%rip), %rdi     # 0x1c8d9
movq %rdi, 0x10(%rax)
callq 0x1b084
testl %eax, %eax
je 0xbd88
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl $0x980, 0xc(%rax)       # imm = 0x980
movq %r13, %rdi
callq 0x13b9c
leaq 0x117d6(%rip), %rdi     # 0x1d554
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b983
leaq 0x107b0(%rip), %rdi     # 0x1c53f
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 $0x982, %eax            # imm = 0x982
jmp 0xbc18