// File: /workspace/github_c_makefile_star2_O1/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 0xbdd9
movq %rax, %r12
movq 0x30(%rbx), %rdi
callq 0xbd3a
movq %rax, %rdi
callq 0x3ea5
movq %rax, %r14
leaq 0xb571(%rip), %rdi      # 0xe0cb
callq 0x9210
movq %r14, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0xc20e
movq %rax, 0x18(%rsp)
leaq 0xb490(%rip), %rdi      # 0xe008
callq 0x9210
movq %r14, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0xc20e
movq %rax, 0x10(%rsp)
leaq 0xb477(%rip), %rdi      # 0xe00d
callq 0x9210
movq %r14, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0xc20e
movq %rax, 0x8(%rsp)
leaq 0xb45f(%rip), %rdi      # 0xe013
callq 0x9210
movq %r14, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0xc20e
movq %rax, (%rsp)
leaq 0xb448(%rip), %rdi      # 0xe019
callq 0x9210
leaq 0x1078b(%rip), %rdx     # 0x13368
movq %r14, %rdi
movq %rax, %rsi
callq 0xc20e
movq %rax, %r15
leaq 0xb42b(%rip), %rdi      # 0xe01d
callq 0x9210
movq %r14, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0xc20e
movq %rax, %r14
leaq 0xb46e(%rip), %rax      # 0xe07c
leaq 0x20(%rsp), %rdi
movq %rax, (%rdi)
leaq 0x107db(%rip), %rbp     # 0x133f8
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl 0x8(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl $0xae, 0xc(%rdi)
leaq 0xd1cb(%rip), %r13      # 0xfe04
movq %r13, 0x10(%rdi)
leaq 0x105ec(%rip), %rcx     # 0x13230
movq %rcx, 0x18(%rdi)
movq %rax, 0x20(%rdi)
callq 0xdaa6
leaq 0x10f48(%rip), %rax     # 0x13ba0
cmpl $0x0, (%rax)
je 0x2c9d
movq (%rbp), %rax
movq 0x50(%rax), %rax
movq %r13, 0x10(%rax)
movq %r13, %rdi
callq 0xd218
testl %eax, %eax
je 0x2c9d
movq (%rbp), %rax
movq 0x50(%rax), %rax
movl $0xaf, 0xc(%rax)
movq %r12, %rdi
callq 0x5d30
leaq 0xb49c(%rip), %rdi      # 0xe12f
movq %rax, %rsi
xorl %eax, %eax
callq 0xdb17
movq %r15, %rdi
movq %r12, %rsi
callq 0xc30e
movq %rax, %r12
leaq 0xb36b(%rip), %rdi      # 0xe01d
callq 0x9210
leaq 0x106aa(%rip), %r15     # 0x13368
movq %r15, %rdi
movq %rax, %rsi
movq %r14, %rdx
callq 0xc280
movq %rax, %r14
leaq 0xb343(%rip), %rdi      # 0xe019
callq 0x9210
movq %r14, %rdi
movq %rax, %rsi
movq %r12, %rdx
callq 0xc280
movq %rax, %r14
leaq 0xb320(%rip), %rdi      # 0xe013
callq 0x9210
movq %r14, %rdi
movq %rax, %rsi
movq (%rsp), %rdx
callq 0xc280
movq %rax, %r14
leaq 0xb2fc(%rip), %rdi      # 0xe00d
callq 0x9210
movq %r14, %rdi
movq %rax, %rsi
movq 0x8(%rsp), %rdx
callq 0xc280
movq %rax, %r14
leaq 0xb2d8(%rip), %rdi      # 0xe008
callq 0x9210
movq %r14, %rdi
movq %rax, %rsi
movq 0x10(%rsp), %rdx
callq 0xc280
movq %rax, %r14
leaq 0xb37c(%rip), %rdi      # 0xe0cb
callq 0x9210
movq %r15, %rdi
movq %rax, %rsi
movq 0x18(%rsp), %rdx
callq 0xc280
movq %rax, %r15
leaq -0x4d7(%rip), %rsi      # 0x2897
movq %rbx, %rdi
movq %r14, %rdx
callq 0x49ce
movq %rbx, %rdi
movq %rax, %rsi
movq %r15, %rdx
callq 0x4aab
leaq 0x20(%rsp), %rdi
movl $0xbb, 0xc(%rdi)
callq 0xdc2b
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq