// File: /workspace/github_c_makefile_star2_O2/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 0x191fb
movq %rax, %rdi
callq 0x1175b
movq %rax, %r14
movq 0x30(%rbx), %rdi
callq 0x19306
movq %rax, %r12
leaq 0x1162c(%rip), %rax     # 0x1ca00
movq %rsp, %rdi
movq %rax, (%rdi)
leaq 0x18f4f(%rip), %rbp     # 0x24330
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x975, 0xc(%rdi)       # imm = 0x975
leaq 0x10f4d(%rip), %rcx     # 0x1c34a
movq %rcx, 0x10(%rdi)
leaq 0x18d48(%rip), %rcx     # 0x24150
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x1b079
cmpq 0x18ba4(%rip), %r14     # 0x23fc0
je 0xb4fc
testq %r14, %r14
je 0xb4fc
movl %r14d, %eax
andl $0x3, %eax
jne 0xb4fc
movq %r14, %rdi
callq 0x191fb
movq %rax, %r14
andl $0x3, %eax
cmpl $0x1, %eax
jne 0xb560
cmpq 0x18b6b(%rip), %r12     # 0x23fc0
je 0xb5c1
testq %r12, %r12
je 0xb5c1
movl %r12d, %eax
andl $0x3, %eax
jne 0xb5c1
movq %r12, %rdi
callq 0x191fb
movq %rax, %r15
movq %r12, %rdi
callq 0x19306
testq %rax, %rax
je 0xb498
movq %r12, %rdi
callq 0x19306
testb $0x3, %al
je 0xb63a
leaq -0x5ed3(%rip), %rsi     # 0x55cc
leaq 0x18dfa(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0x1107b(%rip), %rdi     # 0x1c533
callq 0x1691f
movq %rax, %r15
leaq 0x10b55(%rip), %rdi     # 0x1c01c
callq 0x1691f
movl $0x25ef, %esi           # imm = 0x25EF
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 $0x97b, %eax            # imm = 0x97B
jmp 0xb620
leaq -0x5f37(%rip), %rsi     # 0x55cc
leaq 0x18d96(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0x11017(%rip), %rdi     # 0x1c533
callq 0x1691f
movq %rax, %r15
leaq 0x10af1(%rip), %rdi     # 0x1c01c
callq 0x1691f
movl $0x25db, %esi           # imm = 0x25DB
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 $0x976, %eax            # imm = 0x976
jmp 0xb620
leaq -0x5f9b(%rip), %rsi     # 0x55cc
leaq 0x18d32(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0x10fb3(%rip), %rdi     # 0x1c533
callq 0x1691f
movq %rax, %r15
leaq 0x10a8d(%rip), %rdi     # 0x1c01c
callq 0x1691f
movl $0x25e3, %esi           # imm = 0x25E3
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 $0x978, %eax            # imm = 0x978
jmp 0xb620
leaq -0x5ffc(%rip), %rsi     # 0x55cc
leaq 0x18cd1(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0x10f52(%rip), %rdi     # 0x1c533
callq 0x1691f
movq %rax, %r15
leaq 0x10a2c(%rip), %rdi     # 0x1c01c
callq 0x1691f
movl $0x25e7, %esi           # imm = 0x25E7
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 $0x979, %eax            # imm = 0x979
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 0x18977(%rip), %rax     # 0x23fc0
je 0xb498
movq %r12, %rdi
callq 0x19306
andl $0x3, %eax
cmpl $0x1, %eax
je 0xb498
movq %r12, %rdi
callq 0x19306
movq %rax, %rdi
callq 0x191fb
movq %rax, %r13
movq %r12, %rdi
callq 0x19306
movq %rax, %rdi
callq 0x19306
cmpq 0x18933(%rip), %rax     # 0x23fc0
je 0xb6f3
leaq -0x60ca(%rip), %rsi     # 0x55cc
leaq 0x18c03(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0x10e84(%rip), %rdi     # 0x1c533
callq 0x1691f
movq %rax, %r15
leaq 0x1095e(%rip), %rdi     # 0x1c01c
callq 0x1691f
movl $0x25f7, %esi           # imm = 0x25F7
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 $0x97d, %eax            # imm = 0x97D
jmp 0xb620
leaq 0x19236(%rip), %r12     # 0x24930
cmpl $0x0, (%r12)
je 0xb794
movq (%rbp), %rax
movq 0x50(%rax), %rax
leaq 0x12486(%rip), %rdi     # 0x1db9a
movq %rdi, 0x10(%rax)
callq 0x1a7f4
testl %eax, %eax
je 0xb749
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl $0x97f, 0xc(%rax)       # imm = 0x97F
movq %r15, %rdi
callq 0x13708
leaq 0x11df5(%rip), %rdi     # 0x1d534
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b0f0
cmpl $0x0, (%r12)
je 0xb794
movq (%rbp), %rax
movq 0x50(%rax), %rax
leaq 0x1117a(%rip), %rdi     # 0x1c8d9
movq %rdi, 0x10(%rax)
callq 0x1a7f4
testl %eax, %eax
je 0xb794
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl $0x980, 0xc(%rax)       # imm = 0x980
movq %r13, %rdi
callq 0x13708
leaq 0x11daa(%rip), %rdi     # 0x1d534
movq %rax, %rsi
xorl %eax, %eax
callq 0x1b0f0
leaq 0x10da4(%rip), %rdi     # 0x1c53f
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 $0x982, %eax            # imm = 0x982
jmp 0xb620