// File: /workspace/github_cpp_makefile_star2_O3/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 0x18(%rsp), %rax
movq %r13, (%rax)
movq %r13, %rdi
movq %rdx, %rsi
movq %rax, %rdx
callq 0xcdaa
movq %r14, 0x10(%rsp)
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movq %r15, %rcx
callq 0xf29c
leaq 0x80(%rsp), %rdi
callq 0xc6f4
leaq 0x98(%rbx), %rdi
movq (%rbx), %rsi
leaq 0x78(%rsp), %rax
movq $0x0, -0x10(%rax)
movq %rax, -0x30(%rax)
movq $0x1, -0x28(%rax)
xorps %xmm0, %xmm0
movups %xmm0, -0x20(%rax)
movl $0x3f800000, -0x10(%rax) # imm = 0x3F800000
movups %xmm0, -0x8(%rax)
leaq 0x48(%rsp), %rdx
movq $-0x1, %rcx
callq 0xf29c
leaq 0x48(%rsp), %rdi
callq 0xc6f4
leaq 0x128(%rbx), %rax
movq %rax, 0x8(%rsp)
leaq 0x130(%rbx), %r13
xorl %eax, %eax
movq %rax, 0x138(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x128(%rbx)
movq %r13, 0x140(%rbx)
movq %r13, 0x148(%rbx)
movq %rax, 0x150(%rbx)
movq %r13, 0x158(%rbx)
movl $0x1e0, %ebp            # imm = 0x1E0
leaq 0x18(%rsp), %r12
movq 0x40(%rbx), %rax
cmpq 0x20(%rbx), %rax
jne 0xf0fb
movq 0xb0(%rbx), %rcx
cmpq %rcx, 0xd0(%rbx)
je 0xf222
cmpq 0x48(%rbx), %rax
jne 0xf10c
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 0x3b12
movq 0x8(%rsp), %rdi
callq 0xe048
movq 0x28(%rsp), %rax
testq %rax, %rax
je 0xf17a
movl 0x20(%rsp), %ecx
movl %ecx, 0x130(%rbx)
movq %rax, 0x138(%rbx)
movups 0x30(%rsp), %xmm0
movups %xmm0, 0x140(%rbx)
movq %r13, 0x8(%rax)
movq 0x40(%rsp), %rax
movq %rax, 0x150(%rbx)
xorl %eax, %eax
movq %rax, 0x28(%rsp)
leaq 0x20(%rsp), %rcx
movq %rcx, 0x30(%rsp)
movq %rcx, 0x38(%rsp)
movq %rax, 0x40(%rsp)
movq %r12, %rdi
callq 0xc756
movq 0x140(%rbx), %rax
movq %rax, 0x158(%rbx)
cmpq %r13, %rax
je 0xf213
movl 0x20(%rax), %esi
movq 0x28(%rax), %rdx
movq %r12, %rdi
callq 0x52d3
movq 0x40(%rsp), %r14
movq %r12, %rdi
callq 0xc756
movq 0x158(%rbx), %rdi
cmpq $0x1, %r14
je 0xf20e
movq 0x40(%rbx), %rax
cmpq 0x48(%rbx), %rax
jne 0xf1d3
movq 0x58(%rbx), %rax
movq -0x8(%rax), %rax
addq %rbp, %rax
movl 0x20(%rdi), %edx
movq 0x28(%rdi), %rsi
movl -0x28(%rax), %r15d
movq -0x20(%rax), %r14
decl %edx
callq 0x2c19
movl %eax, %edi
movq %rdx, %rsi
callq 0x2a77
movq 0x158(%rbx), %rdi
cmpl %r15d, %eax
jne 0xf20e
cmpq %r14, %rdx
jne 0xf20e
callq 0x2290
jmp 0xf189
cmpq %r13, %rdi
jne 0xf222
movq 0x10(%rsp), %rdi
callq 0xc2a2
jmp 0xf0dd
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
leaq 0x48(%rsp), %rdi
callq 0xc6f4
jmp 0xf27e
movq %rax, %r14
leaq 0x80(%rsp), %rdi
callq 0xc6f4
jmp 0xf293
jmp 0xf259
jmp 0xf259
movq %rax, %r14
movq 0x8(%rsp), %rdi
callq 0xc756
leaq 0xf0(%rbx), %rdi
callq 0xc6f4
leaq 0xa0(%rbx), %rdi
callq 0xc946
leaq 0x60(%rbx), %rdi
callq 0xc6f4
addq $0x10, %rbx
movq %rbx, %rdi
callq 0xc946
movq %r14, %rdi
callq 0x23b0
nop