// File: /workspace/github_c_makefile_star2_O1/dalnefre[P]kernel_abe/kernel.c
// Function: pair_write_tail_beh
static
BEH_DECL(pair_write_tail_beh)
{
	CONS* state = MINE;
	CONS* cust;
	CONS* right;
	CONS* ok = WHAT;

	DBUG_ENTER("pair_write_tail_beh");
	ENSURE(is_pr(state));
	cust = hd(state);
	ENSURE(actorp(cust));
	right = tl(state);
	ENSURE(actorp(right));

	if (ok == a_true) {
		SEND(right, pr(cust, pr(ATOM("write_tail"), NUMBER(' '))));
	} else {
		SEND(cust, ok);  /* failure */
	}
	DBUG_RETURN;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq 0x30(%rdi), %rdi
callq 0x19ba6
movq %rax, %rdi
callq 0x11d11
movq %rax, %r15
movq 0x30(%rbx), %rdi
callq 0x19c45
movq %rax, %r14
leaq 0x14eba(%rip), %rax     # 0x1c75f
movq %rsp, %rdi
movq %rax, (%rdi)
leaq 0x1ba7e(%rip), %rax     # 0x23330
movq (%rax), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x498, 0xc(%rdi)       # imm = 0x498
leaq 0x14a7d(%rip), %rcx     # 0x1c34a
movq %rcx, 0x10(%rdi)
leaq 0x1b878(%rip), %rcx     # 0x23150
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x1b912
cmpq 0x1b6d4(%rip), %r15     # 0x22fc0
je 0x7944
testq %r15, %r15
je 0x7944
movl %r15d, %eax
andl $0x3, %eax
jne 0x7944
movq %r15, %rdi
callq 0x19ba6
movq %rax, %r12
andl $0x3, %eax
cmpl $0x1, %eax
jne 0x79a8
movq %r15, %rdi
callq 0x19c45
movq %rax, %r15
andl $0x3, %eax
cmpl $0x1, %eax
jne 0x7a0c
cmpq 0x1ba58(%rip), %r14     # 0x23388
je 0x7a6d
movq %rbx, %rdi
movq %r12, %rsi
movq %r14, %rdx
jmp 0x7a9a
leaq -0x1d56(%rip), %rsi     # 0x5bf5
leaq 0x1b94e(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0x14bcf(%rip), %rdi     # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0x146a9(%rip), %rdi     # 0x1c01c
callq 0x1707c
movl $0x1267, %esi           # imm = 0x1267
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 $0x499, %eax            # imm = 0x499
jmp 0x7aa4
leaq -0x1dba(%rip), %rsi     # 0x5bf5
leaq 0x1b8ea(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0x14b6b(%rip), %rdi     # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0x14645(%rip), %rdi     # 0x1c01c
callq 0x1707c
movl $0x126f, %esi           # imm = 0x126F
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 $0x49b, %eax            # imm = 0x49B
jmp 0x7aa4
leaq -0x1e1e(%rip), %rsi     # 0x5bf5
leaq 0x1b886(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0x14b07(%rip), %rdi     # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0x145e1(%rip), %rdi     # 0x1c01c
callq 0x1707c
movl $0x1277, %esi           # imm = 0x1277
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 $0x49d, %eax            # imm = 0x49D
jmp 0x7aa4
leaq 0x14b62(%rip), %rdi     # 0x1c5d6
callq 0x1707c
movl $0x83, %esi
movq %rax, %rdi
callq 0x19b84
movq %r12, %rdi
movq %rax, %rsi
callq 0x19b84
movq %rbx, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x12917
movl $0x4a4, %eax            # imm = 0x4A4
movq %rsp, %rdi
movl %eax, 0xc(%rdi)
callq 0x1ba97
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq