// File: /workspace/github_c_makefile_star2_O3/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 0xbdf9
movq %rax, %r12
movq 0x30(%rbx), %rdi
callq 0xbd5a
movq %rax, %rdi
callq 0x3e4d
movq %rax, %r14
leaq 0xb5d1(%rip), %rdi      # 0xe0cb
callq 0x91e7
movq %r14, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0xc22e
movq %rax, 0x18(%rsp)
leaq 0xb4f0(%rip), %rdi      # 0xe008
callq 0x91e7
movq %r14, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0xc22e
movq %rax, 0x10(%rsp)
leaq 0xb4d7(%rip), %rdi      # 0xe00d
callq 0x91e7
movq %r14, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0xc22e
movq %rax, 0x8(%rsp)
leaq 0xb4bf(%rip), %rdi      # 0xe013
callq 0x91e7
movq %r14, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0xc22e
movq %rax, (%rsp)
leaq 0xb4a8(%rip), %rdi      # 0xe019
callq 0x91e7
leaq 0x107eb(%rip), %rdx     # 0x13368
movq %r14, %rdi
movq %rax, %rsi
callq 0xc22e
movq %rax, %r15
leaq 0xb48b(%rip), %rdi      # 0xe01d
callq 0x91e7
movq %r14, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0xc22e
movq %rax, %r14
leaq 0xb4ce(%rip), %rax      # 0xe07c
leaq 0x20(%rsp), %rdi
movq %rax, (%rdi)
leaq 0x1083b(%rip), %rbp     # 0x133f8
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0xae, 0xc(%rdi)
leaq 0xd22b(%rip), %r13      # 0xfe04
movq %r13, 0x10(%rdi)
leaq 0x1064c(%rip), %rcx     # 0x13230
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0xdb0e
leaq 0x10fa8(%rip), %rax     # 0x13ba0
cmpl $0x0, (%rax)
je 0x2c3d
movq (%rbp), %rax
movq 0x50(%rax), %rax
movq %r13, 0x10(%rax)
movq %r13, %rdi
callq 0xd270
testl %eax, %eax
je 0x2c3d
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl $0xaf, 0xc(%rax)
movq %r12, %rdi
callq 0x5d28
leaq 0xb4fc(%rip), %rdi      # 0xe12f
movq %rax, %rsi
xorl %eax, %eax
callq 0xdb7f
movq %r15, %rdi
movq %r12, %rsi
callq 0xc32e
movq %rax, %r12
leaq 0xb3cb(%rip), %rdi      # 0xe01d
callq 0x91e7
leaq 0x1070a(%rip), %r15     # 0x13368
movq %r15, %rdi
movq %rax, %rsi
movq %r14, %rdx
callq 0xc2a0
movq %rax, %r14
leaq 0xb3a3(%rip), %rdi      # 0xe019
callq 0x91e7
movq %r14, %rdi
movq %rax, %rsi
movq %r12, %rdx
callq 0xc2a0
movq %rax, %r14
leaq 0xb380(%rip), %rdi      # 0xe013
callq 0x91e7
movq %r14, %rdi
movq %rax, %rsi
movq (%rsp), %rdx
callq 0xc2a0
movq %rax, %r14
leaq 0xb35c(%rip), %rdi      # 0xe00d
callq 0x91e7
movq %r14, %rdi
movq %rax, %rsi
movq 0x8(%rsp), %rdx
callq 0xc2a0
movq %rax, %r14
leaq 0xb338(%rip), %rdi      # 0xe008
callq 0x91e7
movq %r14, %rdi
movq %rax, %rsi
movq 0x10(%rsp), %rdx
callq 0xc2a0
movq %rax, %r14
leaq 0xb3dc(%rip), %rdi      # 0xe0cb
callq 0x91e7
movq %r15, %rdi
movq %rax, %rsi
movq 0x18(%rsp), %rdx
callq 0xc2a0
movq %rax, %r15
leaq -0x4d7(%rip), %rsi      # 0x2837
movq %rbx, %rdi
movq %r14, %rdx
callq 0x49a6
movq %rbx, %rdi
movq %rax, %rsi
movq %r15, %rdx
callq 0x4a83
leaq 0x20(%rsp), %rdi
movl $0xbb, 0xc(%rdi)
callq 0xdc93
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq