// File: iPapatsoris[P]Maximum-Independent-Set/src/Graph.hpp
// Function: bool Graph::gatherNeighborsWithRemoved<std::set<unsigned int, std::less<unsigned int>, std::allocator<unsigned int>>, std::vector<unsigned int, std::allocator<unsigned int>>>(unsigned int const&, std::set<unsigned int, std::less<unsigned int>, std::allocator<unsigned int>>&, std::vector<unsigned int, std::allocator<unsigned int>>&) const
bool gatherNeighborsWithRemoved(const uint32_t &node, Container &neighbors, ContainerRemoved &removedNeighbors) const {
        uint32_t pos = (!mapping ? node : idToPos->at(node));
        uint32_t nextNodeOffset = (pos == nodeIndex.size()-1 ? edgeBuffer->size() : nodeIndex[pos+1].offset);
        for (uint32_t offset = nodeIndex[pos].offset ; offset < nextNodeOffset ; offset++) {
            uint32_t nPos = (!mapping ? (*edgeBuffer)[offset] : idToPos->at((*edgeBuffer)[offset]));
            if (!nodeIndex[nPos].removed) {
                neighbors.insert(neighbors.end(), (*edgeBuffer)[offset]);
            } else {
                removedNeighbors.insert(removedNeighbors.end(), (*edgeBuffer)[offset]);
            }
        }
    }

// Assembly:
subq $0x98, %rsp
movq %rdi, 0x90(%rsp)
movq %rsi, 0x88(%rsp)
movq %rdx, 0x80(%rsp)
movq %rcx, 0x78(%rsp)
movq 0x90(%rsp), %rax
movq %rax, 0x38(%rsp)
testb $0x1, 0x3c(%rax)
jne 0x1aae7
movq 0x88(%rsp), %rax
movl (%rax), %eax
movl %eax, 0x34(%rsp)
jmp 0x1ab03
movq 0x38(%rsp), %rax
movq 0x40(%rax), %rdi
movq 0x88(%rsp), %rsi
callq 0x188b0
movl (%rax), %eax
movl %eax, 0x34(%rsp)
movq 0x38(%rsp), %rdi
movl 0x34(%rsp), %eax
movl %eax, 0x74(%rsp)
movl 0x74(%rsp), %eax
movq %rax, 0x28(%rsp)
callq 0x18830
movq %rax, %rcx
movq 0x28(%rsp), %rax
subq $0x1, %rcx
cmpq %rcx, %rax
jne 0x1ab44
movq 0x38(%rsp), %rax
movq 0x18(%rax), %rdi
callq 0x188e0
movq %rax, 0x20(%rsp)
jmp 0x1ab60
movq 0x38(%rsp), %rdi
movl 0x74(%rsp), %eax
addl $0x1, %eax
movl %eax, %eax
movl %eax, %esi
callq 0x18850
movl (%rax), %eax
movq %rax, 0x20(%rsp)
movq 0x38(%rsp), %rdi
movq 0x20(%rsp), %rax
movl %eax, 0x70(%rsp)
movl 0x74(%rsp), %eax
movl %eax, %esi
callq 0x18850
movl (%rax), %eax
movl %eax, 0x6c(%rsp)
movl 0x6c(%rsp), %eax
cmpl 0x70(%rsp), %eax
jae 0x1acb4
movq 0x38(%rsp), %rax
testb $0x1, 0x3c(%rax)
jne 0x1abb4
movq 0x38(%rsp), %rax
movq 0x18(%rax), %rdi
movl 0x6c(%rsp), %eax
movl %eax, %esi
callq 0x18900
movl (%rax), %eax
movl %eax, 0x1c(%rsp)
jmp 0x1abe4
movq 0x38(%rsp), %rax
movq 0x40(%rax), %rcx
movq %rcx, 0x10(%rsp)
movq 0x18(%rax), %rdi
movl 0x6c(%rsp), %eax
movl %eax, %esi
callq 0x18900
movq 0x10(%rsp), %rdi
movq %rax, %rsi
callq 0x188b0
movl (%rax), %eax
movl %eax, 0x1c(%rsp)
movq 0x38(%rsp), %rdi
movl 0x1c(%rsp), %eax
movl %eax, 0x68(%rsp)
movl 0x68(%rsp), %eax
movl %eax, %esi
callq 0x18850
testb $0x1, 0x8(%rax)
jne 0x1ac51
movq 0x80(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x80(%rsp), %rdi
callq 0x19820
movq %rax, %rcx
movq 0x38(%rsp), %rax
movq %rcx, 0x60(%rsp)
movq 0x18(%rax), %rdi
movl 0x6c(%rsp), %eax
movl %eax, %esi
callq 0x18900
movq 0x8(%rsp), %rdi
movq %rax, %rdx
movq 0x60(%rsp), %rsi
callq 0x1e0d0
movq %rax, 0x58(%rsp)
jmp 0x1aca2
movq 0x78(%rsp), %rax
movq %rax, (%rsp)
movq 0x78(%rsp), %rdi
callq 0x1a0e0
movq %rax, 0x48(%rsp)
leaq 0x50(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0x1aa60
movq 0x38(%rsp), %rax
movq 0x18(%rax), %rdi
movl 0x6c(%rsp), %eax
movl %eax, %esi
callq 0x18900
movq (%rsp), %rdi
movq %rax, %rdx
movq 0x50(%rsp), %rsi
callq 0x25ea0
movq %rax, 0x40(%rsp)
jmp 0x1aca4
movl 0x6c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x6c(%rsp)
jmp 0x1ab7f
ud2
nopw %cs:(%rax,%rax)