// File: /workspace/github_cpp_makefile_star2_O1/splatlab[P]debgr/debruijn_graph.cc
// Function: dna::debruijn_graph::edge_iterator<std::stack>::edge_iterator(dna::debruijn_graph const&, std::unordered_set<dna::canonical_kmer, std::hash<dna::canonical_kmer>, std::equal_to<dna::canonical_kmer>, std::allocator<dna::canonical_kmer>>, unsigned long)
debruijn_graph::edge_iterator<Q>::edge_iterator(const debruijn_graph &g,
																									const unordered_set<node> strts,
																									uint64_t dpth)
		: dbg(g),
		anode(g, strts, dpth),
		nodeend(dbg, unordered_set<node>(), infinite_depth),
		anode_edges(),
		aedge(anode_edges.end())
	{
		while (anode != nodeend) {
			anode_edges = dbg.edges(*anode);
			aedge = anode_edges.begin();
			while (aedge != anode_edges.end() &&
						 !is_loop(*aedge) &&
						 is_right_node(*aedge, *anode)) {
				++aedge;
			}
			if (aedge != anode_edges.end())
				return;
			++anode;
		}
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rcx, %r15
movq %rsi, %r12
movq %rdi, %rbx
movq %rsi, (%rdi)
leaq 0x8(%rdi), %r14
xorl %eax, %eax
leaq 0x80(%rsp), %r13
movq %rax, (%r13)
movq 0x8(%rdx), %rcx
movq %rcx, 0x8(%r13)
movq %rax, 0x10(%r13)
movq 0x18(%rdx), %rcx
movq %rcx, 0x18(%r13)
movups 0x20(%rdx), %xmm0
movups %xmm0, 0x20(%r13)
movq %rax, 0x30(%r13)
leaq 0x8(%rsp), %rax
movq %r13, (%rax)
movq %r13, %rdi
movq %rdx, %rsi
movq %rax, %rdx
callq 0xcdce
movq %r14, 0x38(%rsp)
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movq %r15, %rcx
callq 0xf386
leaq 0x80(%rsp), %rdi
callq 0xc72c
leaq 0x98(%rbx), %rdi
movq (%rbx), %rsi
xorps %xmm0, %xmm0
leaq 0x70(%rsp), %rax
movaps %xmm0, -0x30(%rax)
movaps %xmm0, -0x10(%rax)
movaps %xmm0, -0x20(%rax)
movq $0x0, (%rax)
movq %rax, -0x30(%rax)
movq $0x1, -0x28(%rax)
movl $0x3f800000, -0x10(%rax) # imm = 0x3F800000
movups %xmm0, -0x8(%rax)
leaq 0x40(%rsp), %rdx
movq $-0x1, %rcx
callq 0xf386
leaq 0x40(%rsp), %rdi
callq 0xc72c
leaq 0x128(%rbx), %rax
movq %rax, (%rsp)
leaq 0x130(%rbx), %r13
xorps %xmm0, %xmm0
movups %xmm0, 0x138(%rbx)
movups %xmm0, 0x148(%rbx)
movups %xmm0, 0x128(%rbx)
movq %r13, 0x140(%rbx)
movq %r13, 0x148(%rbx)
movq $0x0, 0x150(%rbx)
movq %r13, 0x158(%rbx)
movl $0x1e0, %ebp            # imm = 0x1E0
leaq 0x8(%rsp), %r12
movq 0x40(%rbx), %rax
cmpq 0x20(%rbx), %rax
jne 0xf1d8
movq 0xb0(%rbx), %rcx
cmpq %rcx, 0xd0(%rbx)
je 0xf30e
cmpq 0x48(%rbx), %rax
jne 0xf1e9
movq 0x58(%rbx), %rax
movq -0x8(%rax), %rax
addq %rbp, %rax
movq (%rbx), %rsi
movl -0x28(%rax), %edx
movq -0x20(%rax), %rcx
movq %r12, %rdi
callq 0x3b68
movq (%rsp), %rdi
callq 0xe0aa
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0xf262
movl 0x10(%rsp), %ecx
movl %ecx, 0x130(%rbx)
movq %rax, 0x138(%rbx)
movq 0x20(%rsp), %rcx
movq %rcx, 0x140(%rbx)
movq 0x28(%rsp), %rcx
movq %rcx, 0x148(%rbx)
movq %r13, 0x8(%rax)
movq 0x30(%rsp), %rax
movq %rax, 0x150(%rbx)
xorl %ecx, %ecx
movq %rcx, 0x18(%rsp)
leaq 0x10(%rsp), %rax
movq %rax, 0x20(%rsp)
movq %rax, 0x28(%rsp)
movq %rcx, 0x30(%rsp)
movq %r12, %rdi
callq 0xc78e
movq 0x140(%rbx), %rax
movq %rax, 0x158(%rbx)
cmpq %r13, %rax
je 0xf2f6
movl 0x20(%rax), %esi
movq 0x28(%rax), %rdx
movq %r12, %rdi
callq 0x5341
movq 0x30(%rsp), %r14
movq %r12, %rdi
callq 0xc78e
cmpq $0x1, %r14
je 0xf2f6
movq 0x40(%rbx), %rax
cmpq 0x48(%rbx), %rax
jne 0xf2b4
movq 0x58(%rbx), %rax
movq -0x8(%rax), %rax
addq %rbp, %rax
movq 0x158(%rbx), %rcx
movl 0x20(%rcx), %edx
movq 0x28(%rcx), %rsi
movl -0x28(%rax), %r15d
movq -0x20(%rax), %r14
decl %edx
callq 0x2c1d
movl %eax, %edi
movq %rdx, %rsi
callq 0x2a7b
cmpl %r15d, %eax
jne 0xf2f6
cmpq %r14, %rdx
jne 0xf2f6
movq 0x158(%rbx), %rdi
callq 0x22a0
jmp 0xf271
cmpq %r13, 0x158(%rbx)
jne 0xf30e
movq 0x38(%rsp), %rdi
callq 0xc2ca
jmp 0xf1ba
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
leaq 0x40(%rsp), %rdi
callq 0xc72c
jmp 0xf369
movq %rax, %r14
leaq 0x80(%rsp), %rdi
callq 0xc72c
jmp 0xf37e
jmp 0xf345
jmp 0xf345
movq %rax, %r14
movq (%rsp), %rdi
callq 0xc78e
leaq 0xf0(%rbx), %rdi
callq 0xc72c
leaq 0xa0(%rbx), %rdi
callq 0xc972
leaq 0x60(%rbx), %rdi
callq 0xc72c
addq $0x10, %rbx
movq %rbx, %rdi
callq 0xc972
movq %r14, %rdi
callq 0x23c0