// File: /workspace/github_c_makefile_star2_O1/dalnefre[P]kernel_abe/kernel.c
// Function: pair_foldl_beh
static
BEH_DECL(pair_foldl_beh)
{
	CONS* state = MINE;
	CONS* cust;
	CONS* right;
	CONS* zero;
	CONS* oplus;
	CONS* req_;
	CONS* one = WHAT;
	CONS* value;

	DBUG_ENTER("pair_foldl_beh");
	ENSURE(is_pr(state));
	cust = hd(state);
	ENSURE(actorp(cust));
	ENSURE(is_pr(tl(state)));
	right = hd(tl(state));
	ENSURE(is_pr(tl(tl(state))));
	zero = hd(tl(tl(state)));
	ENSURE(is_pr(tl(tl(tl(state)))));
	oplus = hd(tl(tl(tl(state))));
	ENSURE(funcp(oplus));
	req_ = tl(tl(tl(tl(state))));

	value = ((LAMBDA_x_y)MK_BEH(oplus))(zero, one);
	SEND(right, pr(cust, pr(ATOM("foldl"), pr(value, pr(oplus, req_)))));
	DBUG_RETURN;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
movq 0x30(%rdi), %rdi
callq 0x19ba6
movq %rax, %rdi
callq 0x11d11
movq %rax, %r12
movq 0x30(%rbx), %rdi
callq 0x19c45
movq %rax, %r14
leaq 0x153d9(%rip), %rax     # 0x1c750
leaq 0x10(%rsp), %rdi
movq %rax, (%rdi)
leaq 0x1bfaa(%rip), %rax     # 0x23330
movq (%rax), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x477, 0xc(%rdi)       # imm = 0x477
leaq 0x14fa9(%rip), %rcx     # 0x1c34a
movq %rcx, 0x10(%rdi)
leaq 0x1bda4(%rip), %rcx     # 0x23150
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x1b912
cmpq 0x1bc00(%rip), %r12     # 0x22fc0
je 0x7473
testq %r12, %r12
je 0x7473
movl %r12d, %eax
andl $0x3, %eax
jne 0x7473
movq %r12, %rdi
callq 0x19ba6
movq %rax, %r15
andl $0x3, %eax
cmpl $0x1, %eax
jne 0x74d4
movq %r12, %rdi
callq 0x19c45
testq %rax, %rax
je 0x740f
movq %r12, %rdi
callq 0x19c45
testb $0x3, %al
je 0x754f
leaq -0x1821(%rip), %rsi     # 0x5bf5
leaq 0x1be83(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0x15104(%rip), %rdi     # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0x14bde(%rip), %rdi     # 0x1c01c
callq 0x1707c
movl $0x11ef, %esi           # imm = 0x11EF
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 $0x47b, %eax            # imm = 0x47B
jmp 0x7533
leaq -0x1885(%rip), %rsi     # 0x5bf5
leaq 0x1be1f(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0x150a0(%rip), %rdi     # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0x14b7a(%rip), %rdi     # 0x1c01c
callq 0x1707c
movl $0x11e3, %esi           # imm = 0x11E3
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 $0x478, %eax            # imm = 0x478
jmp 0x7533
leaq -0x18e6(%rip), %rsi     # 0x5bf5
leaq 0x1bdbe(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0x1503f(%rip), %rdi     # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0x14b19(%rip), %rdi     # 0x1c01c
callq 0x1707c
movl $0x11eb, %esi           # imm = 0x11EB
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 $0x47a, %eax            # imm = 0x47A
leaq 0x10(%rsp), %rdi
movl %eax, 0xc(%rdi)
callq 0x1ba97
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r12, %rdi
callq 0x19c45
cmpq 0x1ba62(%rip), %rax     # 0x22fc0
je 0x740f
movq %r12, %rdi
callq 0x19c45
andl $0x3, %eax
cmpl $0x1, %eax
je 0x740f
movq %r12, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19ba6
movq %rax, %r13
movq %r12, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19c45
testq %rax, %rax
je 0x75b4
movq %r12, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19c45
testb $0x3, %al
je 0x7618
leaq -0x19c6(%rip), %rsi     # 0x5bf5
leaq 0x1bcde(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0x14f5f(%rip), %rdi     # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0x14a39(%rip), %rdi     # 0x1c01c
callq 0x1707c
movl $0x11f7, %esi           # imm = 0x11F7
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 $0x47d, %eax            # imm = 0x47D
jmp 0x7533
movq %r12, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19c45
cmpq 0x1b991(%rip), %rax     # 0x22fc0
je 0x75b4
movq %r12, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19c45
andl $0x3, %eax
cmpl $0x1, %eax
je 0x75b4
movq %r12, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19ba6
movq %rax, %rbp
movq %r12, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19c45
testq %rax, %rax
je 0x76a1
movq %r12, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19c45
testb $0x3, %al
je 0x7705
leaq -0x1ab3(%rip), %rsi     # 0x5bf5
leaq 0x1bbf1(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0x14e72(%rip), %rdi     # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0x1494c(%rip), %rdi     # 0x1c01c
callq 0x1707c
movl $0x11ff, %esi           # imm = 0x11FF
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 $0x47f, %eax            # imm = 0x47F
jmp 0x7533
movq %r12, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19c45
cmpq 0x1b89c(%rip), %rax     # 0x22fc0
je 0x76a1
movq %r12, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19c45
andl $0x3, %eax
cmpl $0x1, %eax
je 0x76a1
movq %r12, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19ba6
movq %rax, 0x8(%rsp)
notl %eax
testb $0x3, %al
jne 0x780c
movq %r12, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19c45
movq %rax, %rdi
callq 0x19c45
movq %rax, (%rsp)
movq 0x8(%rsp), %r12
movq %r12, %rax
sarq $0x2, %rax
movq %rbp, %rdi
movq %r14, %rsi
callq *%rax
movq %rax, %r14
leaq 0x14e0b(%rip), %rdi     # 0x1c5ca
callq 0x1707c
movq %rax, %rbp
movq %r12, %rdi
movq (%rsp), %rsi
callq 0x19b84
movq %r14, %rdi
movq %rax, %rsi
callq 0x19b84
movq %rbp, %rdi
movq %rax, %rsi
callq 0x19b84
movq %r15, %rdi
movq %rax, %rsi
callq 0x19b84
movq %rbx, %rdi
movq %r13, %rsi
movq %rax, %rdx
callq 0x12917
movl $0x486, %eax            # imm = 0x486
jmp 0x7533
leaq -0x1c1e(%rip), %rsi     # 0x5bf5
leaq 0x1ba86(%rip), %rdx     # 0x232a0
movq %rbx, %rdi
callq 0x1283a
movq %rax, %r14
leaq 0x14d07(%rip), %rdi     # 0x1c533
callq 0x1707c
movq %rax, %r15
leaq 0x147e1(%rip), %rdi     # 0x1c01c
callq 0x1707c
movl $0x1207, %esi           # imm = 0x1207
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 $0x481, %eax            # imm = 0x481
jmp 0x7533