// File: /workspace/github_c_makefile_star2_O2/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 0x191fb
movq %rax, %rdi
callq 0x1175b
movq %rax, %r12
movq 0x30(%rbx), %rdi
callq 0x19306
movq %rax, %r14
leaq 0x15a15(%rip), %rax     # 0x1c750
leaq 0x10(%rsp), %rdi
movq %rax, (%rdi)
leaq 0x1d5e6(%rip), %rax     # 0x24330
movq (%rax), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0x477, 0xc(%rdi)       # imm = 0x477
leaq 0x155e5(%rip), %rcx     # 0x1c34a
movq %rcx, 0x10(%rdi)
leaq 0x1d3e0(%rip), %rcx     # 0x24150
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0x1b079
cmpq 0x1d23c(%rip), %r12     # 0x23fc0
je 0x6e37
testq %r12, %r12
je 0x6e37
movl %r12d, %eax
andl $0x3, %eax
jne 0x6e37
movq %r12, %rdi
callq 0x191fb
movq %rax, %r15
andl $0x3, %eax
cmpl $0x1, %eax
jne 0x6e98
movq %r12, %rdi
callq 0x19306
testq %rax, %rax
je 0x6dd3
movq %r12, %rdi
callq 0x19306
testb $0x3, %al
je 0x6f13
leaq -0x180e(%rip), %rsi     # 0x55cc
leaq 0x1d4bf(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0x15740(%rip), %rdi     # 0x1c533
callq 0x1691f
movq %rax, %r15
leaq 0x1521a(%rip), %rdi     # 0x1c01c
callq 0x1691f
movl $0x11ef, %esi           # imm = 0x11EF
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 $0x47b, %eax            # imm = 0x47B
jmp 0x6ef7
leaq -0x1872(%rip), %rsi     # 0x55cc
leaq 0x1d45b(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0x156dc(%rip), %rdi     # 0x1c533
callq 0x1691f
movq %rax, %r15
leaq 0x151b6(%rip), %rdi     # 0x1c01c
callq 0x1691f
movl $0x11e3, %esi           # imm = 0x11E3
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 $0x478, %eax            # imm = 0x478
jmp 0x6ef7
leaq -0x18d3(%rip), %rsi     # 0x55cc
leaq 0x1d3fa(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0x1567b(%rip), %rdi     # 0x1c533
callq 0x1691f
movq %rax, %r15
leaq 0x15155(%rip), %rdi     # 0x1c01c
callq 0x1691f
movl $0x11eb, %esi           # imm = 0x11EB
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 $0x47a, %eax            # imm = 0x47A
leaq 0x10(%rsp), %rdi
movl %eax, 0xc(%rdi)
callq 0x1b1f2
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r12, %rdi
callq 0x19306
cmpq 0x1d09e(%rip), %rax     # 0x23fc0
je 0x6dd3
movq %r12, %rdi
callq 0x19306
andl $0x3, %eax
cmpl $0x1, %eax
je 0x6dd3
movq %r12, %rdi
callq 0x19306
movq %rax, %rdi
callq 0x191fb
movq %rax, %r13
movq %r12, %rdi
callq 0x19306
movq %rax, %rdi
callq 0x19306
testq %rax, %rax
je 0x6f78
movq %r12, %rdi
callq 0x19306
movq %rax, %rdi
callq 0x19306
testb $0x3, %al
je 0x6fdc
leaq -0x19b3(%rip), %rsi     # 0x55cc
leaq 0x1d31a(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0x1559b(%rip), %rdi     # 0x1c533
callq 0x1691f
movq %rax, %r15
leaq 0x15075(%rip), %rdi     # 0x1c01c
callq 0x1691f
movl $0x11f7, %esi           # imm = 0x11F7
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 $0x47d, %eax            # imm = 0x47D
jmp 0x6ef7
movq %r12, %rdi
callq 0x19306
movq %rax, %rdi
callq 0x19306
cmpq 0x1cfcd(%rip), %rax     # 0x23fc0
je 0x6f78
movq %r12, %rdi
callq 0x19306
movq %rax, %rdi
callq 0x19306
andl $0x3, %eax
cmpl $0x1, %eax
je 0x6f78
movq %r12, %rdi
callq 0x19306
movq %rax, %rdi
callq 0x19306
movq %rax, %rdi
callq 0x191fb
movq %rax, %rbp
movq %r12, %rdi
callq 0x19306
movq %rax, %rdi
callq 0x19306
movq %rax, %rdi
callq 0x19306
testq %rax, %rax
je 0x7065
movq %r12, %rdi
callq 0x19306
movq %rax, %rdi
callq 0x19306
movq %rax, %rdi
callq 0x19306
testb $0x3, %al
je 0x70c9
leaq -0x1aa0(%rip), %rsi     # 0x55cc
leaq 0x1d22d(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0x154ae(%rip), %rdi     # 0x1c533
callq 0x1691f
movq %rax, %r15
leaq 0x14f88(%rip), %rdi     # 0x1c01c
callq 0x1691f
movl $0x11ff, %esi           # imm = 0x11FF
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 $0x47f, %eax            # imm = 0x47F
jmp 0x6ef7
movq %r12, %rdi
callq 0x19306
movq %rax, %rdi
callq 0x19306
movq %rax, %rdi
callq 0x19306
cmpq 0x1ced8(%rip), %rax     # 0x23fc0
je 0x7065
movq %r12, %rdi
callq 0x19306
movq %rax, %rdi
callq 0x19306
movq %rax, %rdi
callq 0x19306
andl $0x3, %eax
cmpl $0x1, %eax
je 0x7065
movq %r12, %rdi
callq 0x19306
movq %rax, %rdi
callq 0x19306
movq %rax, %rdi
callq 0x19306
movq %rax, %rdi
callq 0x191fb
movq %rax, 0x8(%rsp)
notl %eax
testb $0x3, %al
jne 0x71d0
movq %r12, %rdi
callq 0x19306
movq %rax, %rdi
callq 0x19306
movq %rax, %rdi
callq 0x19306
movq %rax, %rdi
callq 0x19306
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 0x15447(%rip), %rdi     # 0x1c5ca
callq 0x1691f
movq %rax, %rbp
movq %r12, %rdi
movq (%rsp), %rsi
callq 0x19164
movq %r14, %rdi
movq %rax, %rsi
callq 0x19164
movq %rbp, %rdi
movq %rax, %rsi
callq 0x19164
movq %r15, %rdi
movq %rax, %rsi
callq 0x19164
movq %rbx, %rdi
movq %r13, %rsi
movq %rax, %rdx
callq 0x12494
movl $0x486, %eax            # imm = 0x486
jmp 0x6ef7
leaq -0x1c0b(%rip), %rsi     # 0x55cc
leaq 0x1d0c2(%rip), %rdx     # 0x242a0
movq %rbx, %rdi
callq 0x123b7
movq %rax, %r14
leaq 0x15343(%rip), %rdi     # 0x1c533
callq 0x1691f
movq %rax, %r15
leaq 0x14e1d(%rip), %rdi     # 0x1c01c
callq 0x1691f
movl $0x1207, %esi           # imm = 0x1207
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 $0x481, %eax            # imm = 0x481
jmp 0x6ef7