// File: /workspace/github_c_makefile_star2_O2/dalnefre[P]kernel_abe/life.c
// Function: seq_generator
BEH_DECL(seq_generator)
{
	CONS* msg = WHAT;
	CONS* state = MINE;
	CONS* next = map_get(state, ATOM("next"));
	CONS* step = map_get(state, ATOM("step"));
	CONS* limit = map_get(state, ATOM("limit"));
	CONS* label = map_get(state, ATOM("label"));
	CONS* ctx = map_get_def(state, ATOM("ctx"), NIL);
	CONS* send_to = map_get(state, ATOM("send-to"));
	
	DBUG_ENTER("seq_generator");
	DBUG_PRINT("", ("msg=%s", cons_to_str(msg)));
	ctx = map_put_all(ctx, msg);
	state = NIL;
	state = map_put(state, ATOM("send-to"), send_to);
	state = map_put(state, ATOM("ctx"), ctx);
	state = map_put(state, ATOM("label"), label);
	state = map_put(state, ATOM("limit"), limit);
	state = map_put(state, ATOM("step"), step);
/*	actor = ACTOR(int_generator, state); */
	msg = NIL;
	msg = map_put(msg, ATOM("next"), next);
	SEND(ACTOR(int_generator, state), msg);
	DBUG_RETURN;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
movq 0x30(%rdi), %rdi
callq 0xb3d2
movq %rax, %r12
movq 0x30(%rbx), %rdi
callq 0xb2c7
movq %rax, %rdi
callq 0x3827
movq %rax, %r14
leaq 0xb9d3(%rip), %rdi      # 0xe0cb
callq 0x89eb
movq %r14, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0xb853
movq %rax, 0x18(%rsp)
leaq 0xb8f2(%rip), %rdi      # 0xe008
callq 0x89eb
movq %r14, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0xb853
movq %rax, 0x10(%rsp)
leaq 0xb8d9(%rip), %rdi      # 0xe00d
callq 0x89eb
movq %r14, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0xb853
movq %rax, 0x8(%rsp)
leaq 0xb8c1(%rip), %rdi      # 0xe013
callq 0x89eb
movq %r14, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0xb853
movq %rax, (%rsp)
leaq 0xb8aa(%rip), %rdi      # 0xe019
callq 0x89eb
leaq 0x11bed(%rip), %rdx     # 0x14368
movq %r14, %rdi
movq %rax, %rsi
callq 0xb853
movq %rax, %r15
leaq 0xb88d(%rip), %rdi      # 0xe01d
callq 0x89eb
movq %r14, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0xb853
movq %rax, %r14
leaq 0xb8d0(%rip), %rax      # 0xe07c
leaq 0x20(%rsp), %rdi
movq %rax, (%rdi)
leaq 0x11c3d(%rip), %rbp     # 0x143f8
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0xae, 0xc(%rdi)
leaq 0xd609(%rip), %r13      # 0xfde0
movq %r13, 0x10(%rdi)
leaq 0x11a4e(%rip), %rcx     # 0x14230
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0xd145
leaq 0x123aa(%rip), %rax     # 0x14ba0
cmpl $0x0, (%rax)
je 0x283b
movq (%rbp), %rax
movq 0x50(%rax), %rax
movq %r13, 0x10(%rax)
movq %r13, %rdi
callq 0xc8c0
testl %eax, %eax
je 0x283b
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl $0xaf, 0xc(%rax)
movq %r12, %rdi
callq 0x57d4
leaq 0xb8fe(%rip), %rdi      # 0xe12f
movq %rax, %rsi
xorl %eax, %eax
callq 0xd1bc
movq %r15, %rdi
movq %r12, %rsi
callq 0xb953
movq %rax, %r12
leaq 0xb7cd(%rip), %rdi      # 0xe01d
callq 0x89eb
leaq 0x11b0c(%rip), %r15     # 0x14368
movq %r15, %rdi
movq %rax, %rsi
movq %r14, %rdx
callq 0xb8c5
movq %rax, %r14
leaq 0xb7a5(%rip), %rdi      # 0xe019
callq 0x89eb
movq %r14, %rdi
movq %rax, %rsi
movq %r12, %rdx
callq 0xb8c5
movq %rax, %r14
leaq 0xb782(%rip), %rdi      # 0xe013
callq 0x89eb
movq %r14, %rdi
movq %rax, %rsi
movq (%rsp), %rdx
callq 0xb8c5
movq %rax, %r14
leaq 0xb75e(%rip), %rdi      # 0xe00d
callq 0x89eb
movq %r14, %rdi
movq %rax, %rsi
movq 0x8(%rsp), %rdx
callq 0xb8c5
movq %rax, %r14
leaq 0xb73a(%rip), %rdi      # 0xe008
callq 0x89eb
movq %r14, %rdi
movq %rax, %rsi
movq 0x10(%rsp), %rdx
callq 0xb8c5
movq %rax, %r14
leaq 0xb7de(%rip), %rdi      # 0xe0cb
callq 0x89eb
movq %r15, %rdi
movq %rax, %rsi
movq 0x18(%rsp), %rdx
callq 0xb8c5
movq %rax, %r15
leaq -0x4d7(%rip), %rsi      # 0x2435
movq %rbx, %rdi
movq %r14, %rdx
callq 0x4483
movq %rbx, %rdi
movq %rax, %rsi
movq %r15, %rdx
callq 0x4560
leaq 0x20(%rsp), %rdi
movl $0xbb, 0xc(%rdi)
callq 0xd2be
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq