// File: /workspace/github_cpp_makefile_star2_O1/iPapatsoris[P]Maximum-Independent-Set/src/Graph.cpp
// Function: Graph::getSeparatingPairs2(std::unordered_set<unsigned int, std::hash<unsigned int>, std::equal_to<unsigned int>, std::allocator<unsigned int>>&, std::vector<unsigned int, std::allocator<unsigned int>>&, std::vector<unsigned int, std::allocator<unsigned int>>&, bool&, unsigned int const&, std::unordered_map<unsigned int, std::vector<unsigned int, std::allocator<unsigned int>>, std::hash<unsigned int>, std::equal_to<unsigned int>, std::allocator<std::pair<unsigned int const, std::vector<unsigned int, std::allocator<unsigned int>>>>>&, std::unordered_map<unsigned int, std::vector<unsigned int, std::allocator<unsigned int>>, std::hash<unsigned int>, std::equal_to<unsigned int>, std::allocator<std::pair<unsigned int const, std::vector<unsigned int, std::allocator<unsigned int>>>>>&, std::unordered_map<unsigned int, std::vector<unsigned int, std::allocator<unsigned int>>, std::hash<unsigned int>, std::equal_to<unsigned int>, std::allocator<std::pair<unsigned int const, std::vector<unsigned int, std::allocator<unsigned int>>>>>&, std::unordered_map<unsigned int, Graph::Value1, std::hash<unsigned int>, std::equal_to<unsigned int>, std::allocator<std::pair<unsigned int const, Graph::Value1>>>&, std::unordered_map<unsigned int, unsigned int, std::hash<unsigned int>, std::equal_to<unsigned int>, std::allocator<std::pair<unsigned int const, unsigned int>>>&, std::unordered_map<unsigned int, unsigned int, std::hash<unsigned int>, std::equal_to<unsigned int>, std::allocator<std::pair<unsigned int const, unsigned int>>>&, std::unordered_map<unsigned int, std::unordered_set<unsigned int, std::hash<unsigned int>, std::equal_to<unsigned int>, std::allocator<unsigned int>>, std::hash<unsigned int>, std::equal_to<unsigned int>, std::allocator<std::pair<unsigned int const, std::unordered_set<unsigned int, std::hash<unsigned int>, std::equal_to<unsigned int>, std::allocator<unsigned int>>>>>&, std::unordered_map<unsigned int, unsigned int, std::hash<unsigned int>, std::equal_to<unsigned int>, std::allocator<std::pair<unsigned int const, unsigned int>>>&) const
bool Graph::getSeparatingPairs2(unordered_set<uint32_t> &vertexCut, vector<uint32_t> &component1, vector<uint32_t> &component2, bool &actualComponent1,
                               const uint32_t &numberOfNodes, unordered_map<uint32_t, vector<uint32_t> > &palmTree1, unordered_map<uint32_t, vector<uint32_t> > &palmTree2,
                               unordered_map<uint32_t, vector<uint32_t> > &bothPalmTrees, unordered_map<uint32_t, Value1> &oldExploredSet, unordered_map<uint32_t, uint32_t> &fathers,
                               unordered_map<uint32_t, uint32_t> &sons, unordered_map<uint32_t, unordered_set<uint32_t> > &descendants, unordered_map<uint32_t, uint32_t> &visitToId) const {

    struct Edge {
        uint32_t node;
        uint32_t neighbor;

        Edge(const uint32_t &node, const uint32_t &neighbor) : node(node), neighbor(neighbor) {}
    };

    struct Value2 {
        Value2(const uint32_t &visit) : visit(visit), low1(visit), low2(visit), high(visit) {}
        uint32_t visit;
        uint32_t low1;
        uint32_t low2;
        uint32_t high;
    };

    struct Instance {
        Instance(const uint32_t &node) : node(node), curNeighborIndex(0) {}
        uint32_t node;
        uint32_t curNeighborIndex;
    };

    vector<vector<Edge> > buckets(2 * numberOfNodes + 1, vector<Edge>());
    assert(buckets.size() == 2 * numberOfNodes + 1);
    for (auto &arc: bothPalmTrees) {
        uint32_t v = arc.first;
        for (auto w: arc.second) {
            auto res = palmTree2.find(v);
            bool edgeExists = false;
            if (res != palmTree2.end()) {
                for (auto n: res->second) {
                    if (n == w) {
                        edgeExists = true;
                        buckets[2 * oldExploredSet.find(w)->second.visit + 1].push_back(Edge(v, w));
                    }
                }
            }
            if (!edgeExists) {
                auto itW = oldExploredSet.find(w);
                if (itW->second.low2 < oldExploredSet.find(v)->second.visit) {
                    buckets[2 * itW->second.low1].push_back(Edge(v, w));
                } else {
                    buckets[2 * itW->second.low1 + 1].push_back(Edge(v, w));
                }
            }
        }
    }
    unordered_map<uint32_t, vector<uint32_t> > sortedPalmTree;
    for (auto &bucket: buckets) {
        for (auto &edge: bucket) {
            auto it = sortedPalmTree.find(edge.node);
            if (it != sortedPalmTree.end()) {
                it->second.push_back(edge.neighbor);
            } else {
                vector<uint32_t> tmp;
                tmp.push_back(edge.neighbor);
                sortedPalmTree.insert({edge.node, tmp});
            }
        }
    }

    uint32_t visit = numberOfNodes;
    unordered_map<uint32_t, Value2> exploredSet;
    stack<Instance> frontier;
    uint32_t root = visitToId.find(1)->second;
    if (exploredSet.find(root) == exploredSet.end()) {
        frontier.push(Instance(root));
        while (!frontier.empty()) {
            uint32_t node = frontier.top().node;
            exploredSet.insert({node, Value2(visit - oldExploredSet.find(node)->second.nd)});
            bool newCall;
            do {
                node = frontier.top().node;
                uint32_t &curNeighborIndex = frontier.top().curNeighborIndex;
                newCall = false;
                while (curNeighborIndex < sortedPalmTree.find(node)->second.size()) {
                    uint32_t neighbor = sortedPalmTree.find(node)->second.at(curNeighborIndex);
                    auto it = exploredSet.find(neighbor);
                    if (it == exploredSet.end()) {
                        newCall = true;
                        frontier.push(Instance(neighbor));
                        break;
                    } else {
                        auto itV = exploredSet.find(node);
                        if (neighbor != root) {
                            auto itW = exploredSet.find(fathers.find(neighbor)->second);
                            if (itV->second.visit > itW->second.high) {
                                itW->second.high = itV->second.visit;
                            }
                        }
                        auto itW = exploredSet.find(neighbor);
                        if (itW->second.visit < itV->second.low1) {
                            itV->second.low2 = itV->second.low1;
                            itV->second.low1 = itW->second.visit;
                        } else if (itW->second.visit > itV->second.low1 && itW->second.visit < itV->second.low2) {
                            itV->second.low2 = itW->second.visit;
                        }
                    }
                    curNeighborIndex++;
                }
                if (!newCall) {
                    uint32_t neighbor = frontier.top().node;
                    frontier.pop();
                    if (!frontier.size()) {
                        break;
                    }
                    node = frontier.top().node;
                    auto itVSons = sons.find(exploredSet.find(node)->second.visit);
                    auto itW = exploredSet.find(neighbor);
                    if (itVSons->second == 0) {
                        itVSons->second = itW->second.visit;
                    }
                    visit--;
                    auto itV = exploredSet.find(node);
                    if (itW->second.low1 < itV->second.low1) {
                        itV->second.low2 = itV->second.low1;
                        if (itW->second.low2 < itV->second.low2) {
                            itV->second.low2 = itW->second.low2;
                        }
                        itV->second.low1 = itW->second.low1;
                    } else if (itW->second.low1 == itV->second.low1) {
                        if (itW->second.low2 < itV->second.low2) {
                            itV->second.low2 = itW->second.low2;
                        }
                    } else if (itW->second.low1 < itV->second.low2) {
                        itV->second.low2 = itW->second.low1;
                    }
                    frontier.top().curNeighborIndex++;
                }
            } while (!newCall);
        }
    }

    for (auto &edge: sortedPalmTree) {
        uint32_t b = edge.first;
        uint32_t visitB = exploredSet.find(b)->second.visit;
        for (auto r: edge.second) {
            auto itR = exploredSet.find(r);
            uint32_t low1R = itR->second.low1;
            uint32_t low2R = itR->second.low2;
            if (low2R >= visitB) {
                for (auto &a: exploredSet) {
                    if (a.second.visit < visitB && low1R == a.second.visit) {
                        auto descendantsR = descendants.find(r);
                        for (auto &node: exploredSet) {
                            if (node.first != a.first && node.first != b && node.first != r && (descendantsR == descendants.end() || descendantsR->second.find(node.first) == descendantsR->second.end())) {
                                //cout << "Separating pair " << a.first << "-" << b << endl;
                                unordered_set<uint32_t> cut;
                                cut.insert(a.first);
                                cut.insert(b);
                                if (checkSeparation(cut, component1, component2, actualComponent1)) {
                                    vertexCut = cut;
                                    //cout << "Separating pair " << a.first << "-" << b << endl;
                                    return true;
                                }
                                break;
                            }
                        }
                    }
                }
            }
        }
    }
    return false;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x198, %rsp            # imm = 0x198
movq %r9, %r13
movq %r8, 0x158(%rsp)
movq %rcx, 0x150(%rsp)
movq %rdx, 0x148(%rsp)
movq %rsi, 0xf0(%rsp)
movq %rdi, 0x140(%rsp)
movq 0x1e0(%rsp), %r14
movl (%r9), %r12d
addl %r12d, %r12d
pxor %xmm0, %xmm0
movdqa %xmm0, 0xd0(%rsp)
movq $0x0, 0xe0(%rsp)
leaq 0x8(,%r12,8), %rax
leaq (%rax,%rax,2), %r15
movq %r15, %rdi
callq 0x21e0
movq %rax, %rbx
movq %rax, 0xd0(%rsp)
movq %rax, 0xd8(%rsp)
addq %rax, %r15
movq %r15, 0xe0(%rsp)
leaq (%r12,%r12,2), %rax
leaq 0x18(,%rax,8), %r15
xorl %r12d, %r12d
pxor %xmm0, %xmm0
movdqu %xmm0, (%rbx,%r12)
movq $0x0, 0x10(%rbx,%r12)
xorl %edi, %edi
callq 0xbd70
movq %rax, (%rbx,%r12)
movq %rax, 0x8(%rbx,%r12)
movq %rax, 0x10(%rbx,%r12)
addq $0x18, %r12
cmpq %r12, %r15
jne 0x95a0
leaq (%rbx,%r12), %rax
movq %rax, 0xd8(%rsp)
movq %r13, 0xc0(%rsp)
movl (%r13), %eax
addl %eax, %eax
leaq (%rax,%rax,2), %rax
leaq 0x18(,%rax,8), %rax
movq %r12, 0x50(%rsp)
cmpq %r12, %rax
jne 0xa6d8
movq 0x10(%r14), %rax
testq %rax, %rax
je 0x9815
movq 0x10(%rax), %r12
movq %rax, 0x58(%rsp)
movq 0x18(%rax), %rax
movq %rax, 0x8(%rsp)
cmpq %rax, %r12
je 0x9808
movq 0x58(%rsp), %rax
movl 0x8(%rax), %r13d
movl (%r12), %ebp
movq 0x1d8(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdi
movq %r13, %rax
xorl %edx, %edx
divq %rdi
movq %rdx, %rcx
movq (%rsi,%rdx,8), %rdx
movl $0x0, %eax
testq %rdx, %rdx
je 0x969b
movq (%rdx), %r8
movq %rdx, %rax
cmpl 0x8(%r8), %r13d
je 0x969b
movq %r8, %r9
movq (%r8), %r8
testq %r8, %r8
je 0x9699
movl 0x8(%r8), %esi
movq %rsi, %rax
xorl %edx, %edx
divq %rdi
movl $0x0, %eax
cmpq %rcx, %rdx
jne 0x969b
movq %r9, %rax
cmpl %esi, %r13d
jne 0x966e
jmp 0x969b
xorl %eax, %eax
testq %rax, %rax
je 0x96a5
movq (%rax), %rax
jmp 0x96a7
xorl %eax, %eax
testq %rax, %rax
je 0x9723
movq 0x10(%rax), %r14
movq 0x18(%rax), %r15
cmpq %r15, %r14
je 0x9723
xorl %eax, %eax
cmpl %ebp, (%r14)
jne 0x9712
movq %rbp, %rax
xorl %edx, %edx
movq 0x1e8(%rsp), %rcx
divq 0x8(%rcx)
movq (%rcx), %rax
movq (%rax,%rdx,8), %rax
movq (%rax), %rcx
cmpl 0x8(%rcx), %ebp
je 0x96e8
movq %rcx, %rax
movq (%rcx), %rcx
jmp 0x96db
movq (%rax), %rax
movl 0xc(%rax), %eax
leal 0x1(,%rax,2), %eax
leaq (%rax,%rax,2), %rax
leaq (%rbx,%rax,8), %rdi
movl %r13d, 0x60(%rsp)
movl %ebp, 0x64(%rsp)
leaq 0x60(%rsp), %rsi
callq 0xa8fa
movb $0x1, %al
addq $0x4, %r14
cmpq %r15, %r14
jne 0x96bb
testb $0x1, %al
jne 0x97f9
movq 0x1e8(%rsp), %rax
movq (%rax), %rdi
movq 0x8(%rax), %r8
movq %rbp, %rax
xorl %edx, %edx
divq %r8
movq %rdx, %rcx
movq (%rdi,%rdx,8), %rdx
movl $0x0, %eax
testq %rdx, %rdx
je 0x9783
movq (%rdx), %r9
movq %rdx, %rax
cmpl 0x8(%r9), %ebp
je 0x9783
movq %r9, %r10
movq (%r9), %r9
testq %r9, %r9
je 0x9781
movl 0x8(%r9), %esi
movq %rsi, %rax
xorl %edx, %edx
divq %r8
movl $0x0, %eax
cmpq %rcx, %rdx
jne 0x9783
movq %r10, %rax
cmpl %esi, %ebp
jne 0x9757
jmp 0x9783
xorl %eax, %eax
testq %rax, %rax
je 0x978d
movq (%rax), %rcx
jmp 0x978f
xorl %ecx, %ecx
movl 0x14(%rcx), %esi
movq %r13, %rax
xorl %edx, %edx
divq %r8
movq (%rdi,%rdx,8), %rax
movq (%rax), %rdx
cmpl 0x8(%rdx), %r13d
je 0x97af
movq %rdx, %rax
movq (%rdx), %rdx
jmp 0x97a1
movq (%rax), %rdx
movl 0x10(%rcx), %eax
addl %eax, %eax
cmpl 0xc(%rdx), %esi
jae 0x97db
movl %eax, %eax
leaq (%rax,%rax,2), %rax
leaq (%rbx,%rax,8), %rdi
movl %r13d, 0x60(%rsp)
movl %ebp, 0x64(%rsp)
leaq 0x60(%rsp), %rsi
callq 0xa8fa
jmp 0x97f9
orl $0x1, %eax
leaq (%rax,%rax,2), %rax
leaq (%rbx,%rax,8), %rdi
movl %r13d, 0x60(%rsp)
movl %ebp, 0x64(%rsp)
leaq 0x60(%rsp), %rsi
callq 0xa8fa
addq $0x4, %r12
cmpq 0x8(%rsp), %r12
jne 0x9636
movq 0x58(%rsp), %rax
movq (%rax), %rax
jmp 0x9609
movq 0x50(%rsp), %rax
addq %rbx, %rax
addq $-0x18, %rax
movq %rax, 0x8(%rsp)
leaq 0x190(%rsp), %rax
movq %rax, -0x30(%rax)
movq $0x1, -0x28(%rax)
pxor %xmm0, %xmm0
movdqu %xmm0, -0x20(%rax)
movl $0x3f800000, -0x10(%rax) # imm = 0x3F800000
movdqu %xmm0, -0x8(%rax)
leaq 0x10(%rsp), %r12
leaq 0x160(%rsp), %r13
leaq 0x60(%rsp), %rbp
movq (%rbx), %r14
movq 0x8(%rbx), %r15
cmpq %r15, %r14
je 0x998e
movl (%r14), %ecx
movq 0x160(%rsp), %rdi
movq 0x168(%rsp), %r8
movq %rcx, %rax
xorl %edx, %edx
divq %r8
movq %rdx, %rsi
movq (%rdi,%rdx,8), %rdx
movl $0x0, %eax
testq %rdx, %rdx
je 0x98d5
movq (%rdx), %r9
movq %rdx, %rax
cmpl 0x8(%r9), %ecx
je 0x98d5
movq %r9, %r10
movq (%r9), %r9
testq %r9, %r9
je 0x98d3
movl 0x8(%r9), %edi
movq %rdi, %rax
xorl %edx, %edx
divq %r8
movl $0x0, %eax
cmpq %rsi, %rdx
jne 0x98d5
movq %r10, %rax
cmpl %edi, %ecx
jne 0x98a9
jmp 0x98d5
xorl %eax, %eax
testq %rax, %rax
je 0x98df
movq (%rax), %rdi
jmp 0x98e1
xorl %edi, %edi
testq %rdi, %rdi
je 0x9905
leaq 0x4(%r14), %rdx
movq 0x18(%rdi), %rsi
cmpq 0x20(%rdi), %rsi
je 0x9935
movl (%rdx), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x18(%rdi)
jmp 0x9985
pxor %xmm0, %xmm0
movdqa %xmm0, 0x10(%rsp)
movq $0x0, 0x20(%rsp)
leaq 0x4(%r14), %rdx
movq 0x18(%rsp), %rsi
testq %rsi, %rsi
je 0x9940
movl (%rdx), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x18(%rsp)
jmp 0x9948
addq $0x10, %rdi
callq 0xdeac
jmp 0x9985
movq %r12, %rdi
callq 0xdeac
movl (%r14), %eax
movl %eax, 0x60(%rsp)
leaq 0x68(%rsp), %rdi
movq %r12, %rsi
callq 0xbfb4
movq %r13, %rdi
movq %rbp, %rsi
callq 0xefa4
movq 0x68(%rsp), %rdi
testq %rdi, %rdi
je 0x9976
callq 0x21a0
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x9985
callq 0x21a0
addq $0x8, %r14
jmp 0x9868
leaq 0x18(%rbx), %rax
cmpq %rbx, 0x8(%rsp)
movq %rax, %rbx
jne 0x9861
movq 0xc0(%rsp), %rax
movl (%rax), %eax
movl %eax, 0x50(%rsp)
leaq 0x40(%rsp), %rax
movq %rax, -0x30(%rax)
movq $0x1, -0x28(%rax)
leaq 0x20(%rsp), %rax
pxor %xmm0, %xmm0
movdqu %xmm0, (%rax)
movl $0x3f800000, 0x10(%rax) # imm = 0x3F800000
movdqu %xmm0, 0x18(%rax)
movdqa %xmm0, 0x60(%rsp)
movdqa %xmm0, 0xa0(%rsp)
movdqa %xmm0, 0x90(%rsp)
movdqa %xmm0, 0x80(%rsp)
movdqa %xmm0, 0x70(%rsp)
movq $0x8, 0x68(%rsp)
movl $0x40, %edi
callq 0x21e0
movq %rax, 0x60(%rsp)
movq 0x68(%rsp), %rcx
leaq -0x4(,%rcx,4), %rbx
andq $-0x8, %rbx
addq %rax, %rbx
movq %rbx, %r14
movq 0x208(%rsp), %r15
movl $0x200, %edi            # imm = 0x200
callq 0x21e0
movq %rax, (%r14)
leaq 0x8(%r14), %rax
cmpq %rbx, %r14
movq %rax, %r14
jb 0x9a36
movq %rbx, 0x88(%rsp)
movq (%rbx), %rax
movq %rax, 0x78(%rsp)
leaq 0x200(%rax), %rcx
movq %rcx, 0x80(%rsp)
movq %rbx, 0xa8(%rsp)
movq %rax, 0x98(%rsp)
movq %rcx, 0xa0(%rsp)
movq %rax, 0x70(%rsp)
movq %rax, 0x90(%rsp)
movq (%r15), %rax
xorl %ecx, %ecx
cmpq $0x1, 0x8(%r15)
setne %cl
movq (%rax,%rcx,8), %rcx
movq (%rcx), %rax
cmpl $0x1, 0x8(%rax)
je 0x9ab5
movq %rax, %rcx
movq (%rax), %rax
jmp 0x9aa7
movq (%rcx), %rax
movl 0xc(%rax), %eax
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdi
xorl %r9d, %r9d
movq %rax, 0x8(%rsp)
xorl %edx, %edx
divq %rdi
movq (%rsi,%rdx,8), %rax
testq %rax, %rax
je 0x9b1f
movq (%rax), %r8
movq %rax, %r9
movq 0x8(%rsp), %rax
cmpl 0x8(%r8), %eax
je 0x9b1f
movq %rdx, %rcx
movq %r8, %r10
movq (%r8), %r8
testq %r8, %r8
je 0x9b1c
movl 0x8(%r8), %esi
movq %rsi, %rax
xorl %edx, %edx
divq %rdi
movl $0x0, %r9d
cmpq %rcx, %rdx
jne 0x9b1f
movq %r10, %r9
cmpl %esi, 0x8(%rsp)
jne 0x9aef
jmp 0x9b1f
xorl %r9d, %r9d
testq %r9, %r9
je 0x9e9d
cmpq $0x0, (%r9)
je 0x9e9d
movq 0x170(%rsp), %rsi
movq $0x0, 0xb8(%rsp)
testq %rsi, %rsi
je 0xa605
leaq 0xf8(%rsp), %rdi
movl 0x8(%rsi), %ecx
movl %ecx, 0xb4(%rsp)
movq %rcx, %rax
xorl %edx, %edx
divq 0x18(%rsp)
movq 0x10(%rsp), %rax
movq (%rax,%rdx,8), %rax
movq (%rax), %rdx
cmpl 0x8(%rdx), %ecx
je 0x9b84
movq %rdx, %rax
movq (%rdx), %rdx
jmp 0x9b77
movq 0x10(%rsi), %r8
movq %rsi, 0x130(%rsp)
movq 0x18(%rsi), %rsi
cmpq %rsi, %r8
je 0x9e68
movq (%rax), %rax
movl 0xc(%rax), %r9d
movl %r9d, 0x50(%rsp)
movq %rsi, 0x138(%rsp)
movl (%r8), %r13d
movq %r13, %rax
xorl %edx, %edx
divq 0x18(%rsp)
movq 0x10(%rsp), %rax
movq (%rax,%rdx,8), %rax
movq (%rax), %rcx
cmpl 0x8(%rcx), %r13d
je 0x9bd8
movq %rcx, %rax
movq (%rcx), %rcx
jmp 0x9bca
movq (%rax), %rax
cmpl %r9d, 0x14(%rax)
jb 0x9e53
movq %r8, 0xc0(%rsp)
movq 0x20(%rsp), %rbp
testq %rbp, %rbp
je 0x9e37
movl 0x10(%rax), %eax
movl %eax, 0x58(%rsp)
movl 0xc(%rbp), %eax
cmpl %r9d, %eax
jae 0x9e22
cmpl %eax, 0x58(%rsp)
jne 0x9e22
movq 0x200(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %r10
movq %r13, %rax
xorl %edx, %edx
divq %r10
movq %rdx, %rcx
movq (%rsi,%rdx,8), %rdx
movl $0x0, %eax
testq %rdx, %rdx
je 0x9c79
movq (%rdx), %r8
movq %rdx, %rax
cmpl 0x8(%r8), %r13d
je 0x9c79
movq %r8, %r9
movq (%r8), %r8
testq %r8, %r8
je 0x9c77
movl 0x8(%r8), %esi
movq %rsi, %rax
xorl %edx, %edx
divq %r10
movl $0x0, %eax
cmpq %rcx, %rdx
jne 0x9c79
movq %r9, %rax
cmpl %esi, %r13d
jne 0x9c4c
jmp 0x9c79
xorl %eax, %eax
testq %rax, %rax
je 0x9c83
movq (%rax), %r15
jmp 0x9c86
xorl %r15d, %r15d
movq 0x20(%rsp), %rbx
testq %rbx, %rbx
je 0x9e08
leaq 0x8(%rbp), %r12
leaq 0x10(%r15), %rax
movq %rax, 0x8(%rsp)
movl 0x8(%rbx), %ecx
xorl %r14d, %r14d
cmpl (%r12), %ecx
je 0x9df7
cmpl %r13d, %ecx
je 0x9df7
cmpl 0xb4(%rsp), %ecx
je 0x9df7
testq %r15, %r15
je 0x9d00
leaq 0x8(%rbx), %r8
movq %rcx, %rax
xorl %edx, %edx
divq 0x18(%r15)
movq 0x8(%rsp), %rdi
movq %rdx, %rsi
movq %r8, %rdx
callq 0xdaee
testq %rax, %rax
leaq 0xf8(%rsp), %rdi
je 0x9d00
cmpq $0x0, (%rax)
jne 0x9df7
leaq 0x128(%rsp), %rax
movq %rax, 0xf8(%rsp)
movq $0x1, 0x100(%rsp)
pxor %xmm0, %xmm0
movdqu %xmm0, -0x20(%rax)
movl $0x3f800000, 0x118(%rsp) # imm = 0x3F800000
movdqu %xmm0, -0x8(%rax)
movq %rdi, 0xc8(%rsp)
movq %r12, %rsi
leaq 0xc8(%rsp), %rdx
callq 0xdc3e
leaq 0xf8(%rsp), %rdi
movq %rdi, 0xc8(%rsp)
leaq 0xb4(%rsp), %rsi
leaq 0xc8(%rsp), %rdx
callq 0xdc3e
leaq 0xf8(%rsp), %rsi
movq 0x140(%rsp), %rdi
movq 0x148(%rsp), %rdx
movq 0x150(%rsp), %rcx
movq 0x158(%rsp), %r8
callq 0x7f32
leaq 0xf8(%rsp), %rsi
cmpq 0xf0(%rsp), %rsi
sete %cl
movl %eax, %edx
xorb $0x1, %dl
testb %al, %al
movl $0x18, %r14d
movl $0x1, %eax
cmovnel %eax, %r14d
orb %cl, %dl
jne 0x9de7
movl $0x1, %r14d
movq 0xf0(%rsp), %rdi
callq 0xd4f0
leaq 0xf8(%rsp), %rsi
movq %rsi, %rdi
callq 0xcff8
leaq 0xf8(%rsp), %rdi
testl %r14d, %r14d
jne 0x9e0e
movq (%rbx), %rbx
testq %rbx, %rbx
jne 0x9ca1
movl $0x18, %r14d
cmpl $0x18, %r14d
movl $0x0, %eax
cmovel %eax, %r14d
movl 0x50(%rsp), %r9d
jne 0x9e25
xorl %r14d, %r14d
testl %r14d, %r14d
jne 0x9e3d
movq (%rbp), %rbp
testq %rbp, %rbp
jne 0x9c02
movl $0x16, %r14d
cmpl $0x16, %r14d
movq 0xc0(%rsp), %r8
movq 0x138(%rsp), %rsi
jne 0x9e56
xorl %r14d, %r14d
testl %r14d, %r14d
jne 0x9e6e
addq $0x4, %r8
cmpq %rsi, %r8
jne 0x9bb1
movl $0x14, %r14d
cmpl $0x14, %r14d
jne 0xa5f6
movq 0x130(%rsp), %rsi
movq (%rsi), %rsi
testq %rsi, %rsi
jne 0x9b57
movq $0x0, 0xb8(%rsp)
jmp 0xa605
leaq 0xf8(%rsp), %rsi
movq 0x8(%rsp), %rax
movl %eax, (%rsi)
movl $0x0, 0x4(%rsi)
leaq 0x60(%rsp), %rdi
callq 0xa9e6
movq 0x90(%rsp), %rax
cmpq 0x70(%rsp), %rax
je 0x9b32
cmpq 0x98(%rsp), %rax
jne 0x9eee
movq 0xa8(%rsp), %rax
movq -0x8(%rax), %rax
movl $0x200, %ecx            # imm = 0x200
addq %rcx, %rax
movl -0x8(%rax), %r12d
movq %r12, %rax
xorl %edx, %edx
movq 0x1e8(%rsp), %rcx
divq 0x8(%rcx)
movq (%rcx), %rax
movq (%rax,%rdx,8), %rax
movq (%rax), %rcx
cmpl 0x8(%rcx), %r12d
je 0x9f1b
movq %rcx, %rax
movq (%rcx), %rcx
jmp 0x9f0d
movq (%rax), %rax
movl 0x18(%rax), %ebx
movl $0x20, %edi
callq 0x21e0
movq %rax, %r14
movl 0x50(%rsp), %eax
subl %ebx, %eax
movq $0x0, (%r14)
movq %r14, %rcx
addq $0x8, %rcx
movl %r12d, 0x8(%r14)
movd %eax, %xmm0
pshufd $0x0, %xmm0, %xmm0      # xmm0 = xmm0[0,0,0,0]
movdqu %xmm0, 0xc(%r14)
movq 0x18(%rsp), %r13
movq %r12, %rax
xorl %edx, %edx
divq %r13
movq %rdx, %rbp
leaq 0x10(%rsp), %rdi
movq %rdx, %rsi
movq %rcx, %rdx
callq 0xbd90
testq %rax, %rax
jne 0xa0c2
movq 0x28(%rsp), %rdx
movq 0x38(%rsp), %rbx
movl $0x1, %ecx
leaq 0x30(%rsp), %rdi
movq %r13, %rsi
callq 0x2250
testb $0x1, %al
je 0xa06f
movq %rdx, %r15
cmpq $0x1, %rdx
je 0xa5e3
leaq 0xf8(%rsp), %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0xcea0
movq %rax, %r13
leaq (,%r15,8), %rdx
movq %rax, %rdi
xorl %esi, %esi
callq 0x20e0
movq 0x20(%rsp), %rcx
movq $0x0, 0x20(%rsp)
testq %rcx, %rcx
je 0xa046
xorl %edi, %edi
movq (%rcx), %rsi
movl 0x8(%rcx), %eax
xorl %edx, %edx
divq %r15
movq (%r13,%rdx,8), %rax
testq %rax, %rax
je 0xa010
movq (%rax), %rax
movq %rax, (%rcx)
movq (%r13,%rdx,8), %rax
movq %rdi, %rdx
jmp 0xa038
movq 0x20(%rsp), %rax
movq %rax, (%rcx)
movq %rcx, 0x20(%rsp)
leaq 0x20(%rsp), %rax
movq %rax, (%r13,%rdx,8)
cmpq $0x0, (%rcx)
je 0xa03b
leaq (,%rdi,8), %rax
addq %r13, %rax
movq %rcx, (%rax)
movq %rsi, %rcx
movq %rdx, %rdi
testq %rsi, %rsi
jne 0x9feb
movq 0x10(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rdi, %rax
je 0xa05a
callq 0x21a0
movq %r15, 0x18(%rsp)
movq %r13, 0x10(%rsp)
movq %r12, %rax
xorl %edx, %edx
divq %r15
movq %rdx, %rbp
movq 0x10(%rsp), %rcx
movq (%rcx,%rbp,8), %rax
testq %rax, %rax
je 0xa08c
movq (%rax), %rax
movq %rax, (%r14)
movq (%rcx,%rbp,8), %rax
movq %r14, (%rax)
jmp 0xa0ba
movq 0x20(%rsp), %rax
movq %rax, (%r14)
movq %r14, 0x20(%rsp)
testq %rax, %rax
je 0xa0ac
movl 0x8(%rax), %eax
xorl %edx, %edx
divq 0x18(%rsp)
movq %r14, (%rcx,%rdx,8)
movq 0x10(%rsp), %rax
leaq 0x20(%rsp), %rcx
movq %rcx, (%rax,%rbp,8)
incq 0x28(%rsp)
xorl %r14d, %r14d
testq %r14, %r14
je 0xa0cf
movq %r14, %rdi
callq 0x21a0
movq 0x90(%rsp), %r15
movq 0x98(%rsp), %rax
movq %r15, %rcx
cmpq %rax, %r15
jne 0xa0fb
movq 0xa8(%rsp), %rcx
movq -0x8(%rcx), %rcx
movl $0x200, %edx            # imm = 0x200
addq %rdx, %rcx
movl -0x8(%rcx), %r13d
cmpq %rax, %r15
jne 0xa118
movq 0xa8(%rsp), %rax
movq -0x8(%rax), %r15
movl $0x200, %eax            # imm = 0x200
addq %rax, %r15
xorl %r11d, %r11d
movq %r15, 0x58(%rsp)
movl -0x4(%r15), %esi
movq %r13, %rax
xorl %edx, %edx
divq 0x168(%rsp)
movq 0x160(%rsp), %rax
movq (%rax,%rdx,8), %rax
movq (%rax), %rcx
movq %rax, %rdx
cmpl 0x8(%rcx), %r13d
je 0xa151
movq %rcx, %rdx
movq (%rcx), %rcx
jmp 0xa143
movq (%rdx), %rcx
movq 0x18(%rcx), %rdx
subq 0x10(%rcx), %rdx
sarq $0x2, %rdx
cmpq %rsi, %rdx
jbe 0xa33f
movq (%rax), %rcx
cmpl 0x8(%rcx), %r13d
je 0xa17a
movq %rcx, %rax
movq (%rcx), %rcx
jmp 0xa16c
movq (%rax), %rcx
movq 0x10(%rcx), %rax
movq 0x18(%rcx), %rdx
subq %rax, %rdx
sarq $0x2, %rdx
cmpq %rsi, %rdx
jbe 0xa6ca
movl (%rax,%rsi,4), %r12d
movq 0x10(%rsp), %r8
movq 0x18(%rsp), %rdi
movq %r12, %rax
xorl %edx, %edx
divq %rdi
movq (%r8,%rdx,8), %r14
movl $0x0, %eax
testq %r14, %r14
je 0xa1f5
movq %rdx, %rcx
movq (%r14), %r9
movq %r14, %rax
cmpl 0x8(%r9), %r12d
je 0xa1f5
movq %r9, %r10
movq (%r9), %r9
testq %r9, %r9
je 0xa1f3
movl 0x8(%r9), %esi
movq %rsi, %rax
xorl %edx, %edx
divq %rdi
movl $0x0, %eax
cmpq %rcx, %rdx
jne 0xa1f5
movq %r10, %rax
cmpl %esi, %r12d
jne 0xa1c8
jmp 0xa1f5
xorl %eax, %eax
testq %rax, %rax
je 0xa204
cmpq $0x0, (%rax)
sete %bpl
jmp 0xa207
movb $0x1, %bpl
testb %bpl, %bpl
je 0xa239
movl %r12d, 0xf8(%rsp)
movl $0x0, 0xfc(%rsp)
leaq 0x60(%rsp), %rdi
leaq 0xf8(%rsp), %rsi
callq 0xa9e6
movb $0x1, %r11b
jmp 0xa336
movq %r13, %rax
xorl %edx, %edx
divq %rdi
movq %rdx, %rcx
movq (%r8,%rdx,8), %rdx
movl $0x0, %eax
testq %rdx, %rdx
je 0xa28b
movq (%rdx), %r8
movq %rdx, %rax
cmpl 0x8(%r8), %r13d
je 0xa28b
movq %r8, %r9
movq (%r8), %r8
testq %r8, %r8
je 0xa289
movl 0x8(%r8), %esi
movq %rsi, %rax
xorl %edx, %edx
divq %rdi
movl $0x0, %eax
cmpq %rcx, %rdx
jne 0xa28b
movq %r9, %rax
cmpl %esi, %r13d
jne 0xa25e
jmp 0xa28b
xorl %eax, %eax
testq %rax, %rax
je 0xa295
movq (%rax), %rbx
jmp 0xa297
xorl %ebx, %ebx
cmpl 0x8(%rsp), %r12d
je 0xa2fc
movl %r11d, %r15d
movq %r12, %rax
xorl %edx, %edx
movq 0x1f0(%rsp), %rcx
divq 0x8(%rcx)
movq (%rcx), %rax
movq (%rax,%rdx,8), %rax
movq (%rax), %rcx
cmpl 0x8(%rcx), %r12d
je 0xa2ca
movq %rcx, %rax
movq (%rcx), %rcx
jmp 0xa2bc
movq (%rax), %rcx
movl 0xc(%rcx), %eax
addq $0xc, %rcx
xorl %edx, %edx
divq %rdi
leaq 0x10(%rsp), %rdi
movq %rdx, %rsi
movq %rcx, %rdx
callq 0xbd90
movl 0xc(%rbx), %ecx
cmpl 0x18(%rax), %ecx
movl %r15d, %r11d
movq 0x58(%rsp), %r15
jbe 0xa2fc
movl %ecx, 0x18(%rax)
movq (%r14), %rax
cmpl 0x8(%rax), %r12d
je 0xa30d
movq %rax, %r14
movq (%rax), %rax
jmp 0xa2ff
movq (%r14), %rax
movl 0xc(%rax), %eax
movl 0x10(%rbx), %ecx
cmpl %ecx, %eax
jae 0xa325
movl %ecx, 0x14(%rbx)
addq $0x10, %rbx
movl %eax, (%rbx)
jmp 0xa332
jbe 0xa332
cmpl 0x14(%rbx), %eax
jae 0xa332
addq $0x14, %rbx
jmp 0xa321
incl -0x4(%r15)
testb %bpl, %bpl
je 0xa120
testb $0x1, %r11b
je 0xa34d
xorl %r15d, %r15d
jmp 0xa5cb
movq 0x90(%rsp), %rax
movq 0x98(%rsp), %rdi
movq %rax, %rcx
cmpq %rdi, %rax
jne 0xa379
movq 0xa8(%rsp), %rcx
movq -0x8(%rcx), %rcx
movl $0x200, %edx            # imm = 0x200
addq %rdx, %rcx
movl -0x8(%rcx), %r13d
cmpq %rdi, %rax
je 0xa388
addq $-0x8, %rax
jmp 0xa3c8
movl %r11d, %ebx
callq 0x21a0
movl %ebx, %r11d
movq 0xa8(%rsp), %rax
leaq -0x8(%rax), %rcx
movq %rcx, 0xa8(%rsp)
movq -0x8(%rax), %rax
movq %rax, 0x98(%rsp)
leaq 0x200(%rax), %rcx
movq %rcx, 0xa0(%rsp)
addq $0x1f8, %rax            # imm = 0x1F8
movq %rax, 0x90(%rsp)
movq 0xa8(%rsp), %rcx
movq %rcx, %rsi
subq 0x88(%rsp), %rsi
shrq $0x3, %rsi
cmpq $0x1, %rcx
adcq $-0x1, %rsi
shlq $0x6, %rsi
movq 0x80(%rsp), %rdi
movq 0x98(%rsp), %rdx
movq %rax, %r8
subq %rdx, %r8
sarq $0x3, %r8
subq 0x70(%rsp), %rdi
addq %rsi, %r8
sarq $0x3, %rdi
addq %r8, %rdi
sete %r15b
je 0xa5cb
cmpq %rdx, %rax
jne 0xa437
movq -0x8(%rcx), %rax
movl $0x200, %ecx            # imm = 0x200
addq %rcx, %rax
movl %r11d, %ebx
movl -0x8(%rax), %r12d
movq %r12, %rax
xorl %edx, %edx
divq 0x18(%rsp)
movq 0x10(%rsp), %rax
movq (%rax,%rdx,8), %rax
movq (%rax), %rcx
cmpl 0x8(%rcx), %r12d
je 0xa462
movq %rcx, %rax
movq (%rcx), %rcx
jmp 0xa454
movq (%rax), %rcx
movl 0xc(%rcx), %r8d
addq $0xc, %rcx
movq %r8, %rax
xorl %edx, %edx
movq 0x1f8(%rsp), %rdi
divq 0x8(%rdi)
movq %rdx, %rsi
movq %rcx, %rdx
movq %r8, %rcx
callq 0xda58
testq %rax, %rax
je 0xa496
movq (%rax), %r9
jmp 0xa499
xorl %r9d, %r9d
movq 0x10(%rsp), %r8
movq 0x18(%rsp), %r10
movq %r13, %rax
xorl %edx, %edx
divq %r10
movq %rdx, %rcx
movq (%r8,%rdx,8), %rdx
movl $0x0, %eax
testq %rdx, %rdx
je 0xa4f4
movq (%rdx), %rdi
movq %rdx, %rax
cmpl 0x8(%rdi), %r13d
je 0xa4f4
movq %rdi, %r11
movq (%rdi), %rdi
testq %rdi, %rdi
je 0xa4f2
movl 0x8(%rdi), %esi
movq %rsi, %rax
xorl %edx, %edx
divq %r10
movl $0x0, %eax
cmpq %rcx, %rdx
jne 0xa4f4
movq %r11, %rax
cmpl %esi, %r13d
jne 0xa4c8
jmp 0xa4f4
xorl %eax, %eax
testq %rax, %rax
je 0xa4fe
movq (%rax), %rdi
jmp 0xa500
xorl %edi, %edi
movl %ebx, %r11d
cmpl $0x0, 0xc(%r9)
jne 0xa511
movl 0xc(%rdi), %eax
movl %eax, 0xc(%r9)
movq %r12, %rax
xorl %edx, %edx
divq %r10
movq %rdx, %rcx
movq (%r8,%rdx,8), %rdx
movl $0x0, %eax
testq %rdx, %rdx
je 0xa568
movq (%rdx), %r8
movq %rdx, %rax
cmpl 0x8(%r8), %r12d
je 0xa568
movq 0x18(%rsp), %r9
movq %r8, %r10
movq (%r8), %r8
testq %r8, %r8
je 0xa566
movl 0x8(%r8), %esi
movq %rsi, %rax
xorl %edx, %edx
divq %r9
movl $0x0, %eax
cmpq %rcx, %rdx
jne 0xa568
movq %r10, %rax
cmpl %esi, %r12d
jne 0xa53b
jmp 0xa568
xorl %eax, %eax
testq %rax, %rax
je 0xa572
movq (%rax), %rax
jmp 0xa574
xorl %eax, %eax
movl 0x10(%rdi), %ecx
movl 0x10(%rax), %edx
cmpl %edx, %ecx
jae 0xa591
movl %edx, 0x14(%rax)
movl 0x14(%rdi), %esi
cmpl %edx, %esi
cmovbl %esi, %edx
movl %edx, 0x14(%rax)
movl %ecx, 0x10(%rax)
jmp 0xa59e
jne 0xa596
movl 0x14(%rdi), %ecx
cmpl 0x14(%rax), %ecx
jae 0xa59e
movl %ecx, 0x14(%rax)
movq 0x90(%rsp), %rax
cmpq 0x98(%rsp), %rax
jne 0xa5c4
movq 0xa8(%rsp), %rax
movq -0x8(%rax), %rax
movl $0x200, %ecx            # imm = 0x200
addq %rcx, %rax
decl 0x50(%rsp)
incl -0x4(%rax)
testb %r15b, %r15b
jne 0x9ebd
testb $0x1, %r11b
je 0xa0cf
jmp 0x9ebd
movq $0x0, 0x40(%rsp)
leaq 0x40(%rsp), %r13
jmp 0x9fd6
cmpl $0x12, %r14d
setne %al
movq %rax, 0xb8(%rsp)
movq 0x60(%rsp), %rbx
testq %rbx, %rbx
je 0xa646
movq 0x88(%rsp), %r14
movq 0xa8(%rsp), %r15
leaq 0x8(%r15), %rax
cmpq %rax, %r14
jae 0xa63e
addq $-0x8, %r14
movq 0x8(%r14), %rdi
addq $0x8, %r14
callq 0x21a0
cmpq %r15, %r14
jb 0xa62c
movq %rbx, %rdi
callq 0x21a0
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0xa660
movq (%rdi), %rbx
callq 0x21a0
movq %rbx, %rdi
testq %rbx, %rbx
jne 0xa650
movq 0x10(%rsp), %rdi
movq 0x18(%rsp), %rdx
shlq $0x3, %rdx
xorl %esi, %esi
callq 0x20e0
pxor %xmm0, %xmm0
leaq 0x20(%rsp), %rax
movdqu %xmm0, (%rax)
movq 0x10(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rdi, %rax
je 0xa696
callq 0x21a0
leaq 0x160(%rsp), %rdi
callq 0xd8de
leaq 0xd0(%rsp), %rdi
callq 0xabc2
movq 0xb8(%rsp), %rax
addq $0x198, %rsp            # imm = 0x198
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1010d(%rip), %rdi     # 0x1a7de
xorl %eax, %eax
callq 0x22a0
leaq 0xfc88(%rip), %rdi      # 0x1a367
leaq 0xf95c(%rip), %rsi      # 0x1a042
leaq 0xfca2(%rip), %rcx      # 0x1a38f
movl $0x5a6, %edx            # imm = 0x5A6
callq 0x2110
jmp 0xa843
movq %rax, %rbx
jmp 0xa888
movq %rax, %rdi
callq 0x2090
movq %rbx, 0x38(%rsp)
callq 0x2290
movq %rax, %rbx
callq 0x2300
jmp 0xa728
jmp 0xa7e3
movq %rax, %rbx
movq %r14, %rdi
callq 0x21a0
jmp 0xa846
jmp 0xa843
movq %rax, %rdi
callq 0x2090
cmpq %rbx, %r14
jbe 0xa758
movq (%rbx), %rdi
callq 0x21a0
addq $0x8, %rbx
cmpq %r14, %rbx
jb 0xa747
callq 0x2290
movq %rax, %rbx
callq 0x2300
movq %rbx, %rdi
callq 0x2090
movq 0x60(%rsp), %rdi
callq 0x21a0
pxor %xmm0, %xmm0
movdqa %xmm0, 0x60(%rsp)
callq 0x2290
movq %rax, %rbx
callq 0x2300
jmp 0xa888
jmp 0xa7e3
jmp 0xa7e3
movq %rax, %rdi
callq 0x2090
testq %r12, %r12
je 0xa7bb
movq (%rbx), %rdi
testq %rdi, %rdi
je 0xa7b1
callq 0x21a0
addq $0x18, %rbx
addq $-0x18, %r12
jne 0xa7a4
callq 0x2290
movq %rax, %rbx
callq 0x2300
movq 0xd0(%rsp), %rdi
testq %rdi, %rdi
je 0xa8f2
callq 0x21a0
jmp 0xa8f2
movq %rax, %rdi
callq 0xcc4b
jmp 0xa80f
jmp 0xa843
movq %rax, %rbx
jmp 0xa8d8
jmp 0xa839
jmp 0xa839
movq %rax, %rbx
movq 0x68(%rsp), %rdi
testq %rdi, %rdi
je 0xa812
callq 0x21a0
jmp 0xa812
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
jne 0xa8d3
jmp 0xa8d8
jmp 0xa843
movq %rax, %rbx
leaq 0xf8(%rsp), %rdi
callq 0xcff8
jmp 0xa846
movq %rax, %rbx
jmp 0xa8e5
jmp 0xa843
movq %rax, %rbx
movq 0x60(%rsp), %r14
testq %r14, %r14
je 0xa888
movq 0x88(%rsp), %r15
movq 0xa8(%rsp), %r12
leaq 0x8(%r12), %rax
cmpq %rax, %r15
jae 0xa880
addq $-0x8, %r15
movq 0x8(%r15), %rdi
addq $0x8, %r15
callq 0x21a0
cmpq %r12, %r15
jb 0xa86e
movq %r14, %rdi
callq 0x21a0
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0xa8a2
movq (%rdi), %r14
callq 0x21a0
movq %r14, %rdi
testq %r14, %r14
jne 0xa892
movq 0x10(%rsp), %rdi
movq 0x18(%rsp), %rdx
shlq $0x3, %rdx
xorl %esi, %esi
callq 0x20e0
pxor %xmm0, %xmm0
leaq 0x20(%rsp), %rax
movdqu %xmm0, (%rax)
movq 0x10(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rdi, %rax
je 0xa8d8
callq 0x21a0
leaq 0x160(%rsp), %rdi
callq 0xd8de
leaq 0xd0(%rsp), %rdi
callq 0xabc2
movq %rbx, %rdi
callq 0x2320