// File: /workspace/github_c_makefile_star2_O2/dalnefre[P]kernel_abe/kernel.c
// Function: wrap_args_beh
static
BEH_DECL(wrap_args_beh)
{
	CONS* state = MINE;
	CONS* cust;
	CONS* msg = WHAT;
	CONS* comb;
	CONS* appl;

	DBUG_ENTER("wrap_args_beh");
	ENSURE(is_pr(state));
	cust = hd(state);
	ENSURE(actorp(cust));
	ENSURE(is_pr(msg));
	comb = hd(msg);
	ENSURE(nilp(tl(msg)));

	appl = ACTOR(appl_type, comb);
	SEND(cust, appl);
	DBUG_RETURN;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq 0x30(%rdi), %rdi
callq 0x191fb
movq %rax, %rdi
callq 0x1175b
movq %rax, %r15
movq 0x30(%rbx), %rdi
callq 0x19306
movq %rax, %r14
leaq 0xf61b(%rip), %rax      # 0x1cae1
movq %rsp, %rdi
movq %rax, (%rdi)
leaq 0x16e5d(%rip), %rax     # 0x24330
movq (%rax), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x7fb, 0xc(%rdi)       # imm = 0x7FB
leaq 0xee5c(%rip), %rcx      # 0x1c34a
movq %rcx, 0x10(%rdi)
leaq 0x16c57(%rip), %rcx     # 0x24150
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x1b079
cmpq 0x16ab3(%rip), %r15     # 0x23fc0
je 0xd5e5
testq %r15, %r15
je 0xd5e5
movl %r15d, %eax
andl $0x3, %eax
jne 0xd5e5
movq %r15, %rdi
callq 0x191fb
movq %rax, %r15
andl $0x3, %eax
cmpl $0x1, %eax
jne 0xd649
cmpq 0x16a7a(%rip), %r14     # 0x23fc0
je 0xd6ad
testq %r14, %r14
je 0xd6ad
movl %r14d, %eax
andl $0x3, %eax
jne 0xd6ad
movq %r14, %rdi
callq 0x191fb
movq %rax, %r12
movq %r14, %rdi
callq 0x19306
cmpq 0x16a45(%rip), %rax     # 0x23fc0
je 0xd70e
leaq -0x7fbc(%rip), %rsi     # 0x55cc
leaq 0x16d11(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0xef92(%rip), %rdi      # 0x1c533
callq 0x1691f
movq %rax, %r15
leaq 0xea6c(%rip), %rdi      # 0x1c01c
callq 0x1691f
movl $0x2007, %esi           # imm = 0x2007
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 $0x801, %eax            # imm = 0x801
jmp 0xd733
leaq -0x8020(%rip), %rsi     # 0x55cc
leaq 0x16cad(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0xef2e(%rip), %rdi      # 0x1c533
callq 0x1691f
movq %rax, %r15
leaq 0xea08(%rip), %rdi      # 0x1c01c
callq 0x1691f
movl $0x1ff3, %esi           # imm = 0x1FF3
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 $0x7fc, %eax            # imm = 0x7FC
jmp 0xd733
leaq -0x8084(%rip), %rsi     # 0x55cc
leaq 0x16c49(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0xeeca(%rip), %rdi      # 0x1c533
callq 0x1691f
movq %rax, %r15
leaq 0xe9a4(%rip), %rdi      # 0x1c01c
callq 0x1691f
movl $0x1ffb, %esi           # imm = 0x1FFB
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 $0x7fe, %eax            # imm = 0x7FE
jmp 0xd733
leaq -0x80e8(%rip), %rsi     # 0x55cc
leaq 0x16be5(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0xee66(%rip), %rdi      # 0x1c533
callq 0x1691f
movq %rax, %r15
leaq 0xe940(%rip), %rdi      # 0x1c01c
callq 0x1691f
movl $0x1fff, %esi           # imm = 0x1FFF
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 $0x7ff, %eax            # imm = 0x7FF
jmp 0xd733
leaq -0x35a3(%rip), %rsi     # 0xa172
movq %rbx, %rdi
movq %r12, %rdx
callq 0x123b7
movq %rbx, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x12494
movl $0x805, %eax            # imm = 0x805
movq %rsp, %rdi
movl %eax, 0xc(%rdi)
callq 0x1b1f2
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq