// File: /workspace/github_c_makefile_star2_O3/dalnefre[P]kernel_abe/kernel.c
// Function: write_args_beh
static
BEH_DECL(write_args_beh)
{
	CONS* state = MINE;
	CONS* cust;
	CONS* msg = WHAT;
	CONS* sexpr;

	DBUG_ENTER("write_args_beh");
	ENSURE(is_pr(state));
	cust = hd(state);
	ENSURE(actorp(cust));
	ENSURE(is_pr(msg));
	sexpr = hd(msg);
	ENSURE(nilp(tl(msg)));

	SEND(sexpr, pr(cust, ATOM("write")));
	DBUG_RETURN;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq 0x30(%rdi), %rdi
callq 0x19c72
movq %rax, %rdi
callq 0x11d65
movq %rax, %r15
movq 0x30(%rbx), %rdi
callq 0x19d11
movq %rax, %r14
leaq 0x10604(%rip), %rax     # 0x1ca33
movq %rsp, %rdi
movq %rax, (%rdi)
leaq 0x16ef4(%rip), %rax     # 0x23330
movq (%rax), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x945, 0xc(%rdi)       # imm = 0x945
leaq 0xfef3(%rip), %rcx      # 0x1c34a
movq %rcx, 0x10(%rdi)
leaq 0x16cee(%rip), %rcx     # 0x23150
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x1ba26
cmpq 0x16b4a(%rip), %r15     # 0x22fc0
je 0xc54e
testq %r15, %r15
je 0xc54e
movl %r15d, %eax
andl $0x3, %eax
jne 0xc54e
movq %r15, %rdi
callq 0x19c72
movq %rax, %r15
andl $0x3, %eax
cmpl $0x1, %eax
jne 0xc5b2
cmpq 0x16b11(%rip), %r14     # 0x22fc0
je 0xc616
testq %r14, %r14
je 0xc616
movl %r14d, %eax
andl $0x3, %eax
jne 0xc616
movq %r14, %rdi
callq 0x19c72
movq %rax, %r12
movq %r14, %rdi
callq 0x19d11
cmpq 0x16adc(%rip), %rax     # 0x22fc0
je 0xc677
leaq -0x6949(%rip), %rsi     # 0x5ba8
leaq 0x16da8(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x128be
movq %rax, %r14
leaq 0x10029(%rip), %rdi     # 0x1c533
callq 0x170ff
movq %rax, %r15
leaq 0xfb03(%rip), %rdi      # 0x1c01c
callq 0x170ff
movl $0x252f, %esi           # imm = 0x252F
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 $0x94b, %eax            # imm = 0x94B
jmp 0xc6a1
leaq -0x69ad(%rip), %rsi     # 0x5ba8
leaq 0x16d44(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x128be
movq %rax, %r14
leaq 0xffc5(%rip), %rdi      # 0x1c533
callq 0x170ff
movq %rax, %r15
leaq 0xfa9f(%rip), %rdi      # 0x1c01c
callq 0x170ff
movl $0x251b, %esi           # imm = 0x251B
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 $0x946, %eax            # imm = 0x946
jmp 0xc6a1
leaq -0x6a11(%rip), %rsi     # 0x5ba8
leaq 0x16ce0(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x128be
movq %rax, %r14
leaq 0xff61(%rip), %rdi      # 0x1c533
callq 0x170ff
movq %rax, %r15
leaq 0xfa3b(%rip), %rdi      # 0x1c01c
callq 0x170ff
movl $0x2523, %esi           # imm = 0x2523
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 $0x948, %eax            # imm = 0x948
jmp 0xc6a1
leaq -0x6a75(%rip), %rsi     # 0x5ba8
leaq 0x16c7c(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x128be
movq %rax, %r14
leaq 0xfefd(%rip), %rdi      # 0x1c533
callq 0x170ff
movq %rax, %r15
leaq 0xf9d7(%rip), %rdi      # 0x1c01c
callq 0x170ff
movl $0x2527, %esi           # imm = 0x2527
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 $0x949, %eax            # imm = 0x949
jmp 0xc6a1
leaq 0xff52(%rip), %rdi      # 0x1c5d0
callq 0x170ff
movq %r15, %rdi
movq %rax, %rsi
callq 0x19c50
movq %rbx, %rdi
movq %r12, %rsi
movq %rax, %rdx
callq 0x1299b
movl $0x94e, %eax            # imm = 0x94E
movq %rsp, %rdi
movl %eax, 0xc(%rdi)
callq 0x1bbab
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq