// File: /workspace/github_cpp_makefile_star2_O2/yuanboli233[P]interdyck_graph_reduce/./SummaryEdge.h
// Function: SummaryGraph::readNodes[abi:cxx11]()
unordered_map<string, unsigned> readNodes(){
        unordered_map<string, unsigned> result;
        unsigned nid = 0;

        string line;
        ifstream in(filename.c_str(), ifstream::in);

        while(getline(in, line)){
            if(!isEdge(line)){
                continue;
            } 
            string from, to;
            pair<string, string> nodesstr = getNodePair(line);
            from = nodesstr.first;
            to = nodesstr.second;

            if(result.find(from) == result.end()){
                result[from] = nid;
                unsigned orignodeid;
                stringstream nodestr(from);
                nodestr >> orignodeid;
                node2orignodeid[nid] = orignodeid;
                // cout << "node " << nid << " has original id " << orignodeid << " == " << from << endl;
                nid ++;
            }

            if(result.find(to) == result.end()){
                result[to] = nid;
                unsigned orignodeid;
                stringstream nodestr(to);
                nodestr >> orignodeid;
                node2orignodeid[nid] = orignodeid;
                // cout << "node " << nid << " has original id " << orignodeid << " == " << to << endl;
                nid ++;
            }
        }
        return result;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x468, %rsp            # imm = 0x468
movq %rsi, %r14
leaq 0x30(%rdi), %rax
movq %rax, (%rdi)
movq $0x1, 0x8(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rdi)
andl $0x0, 0x8(%rsp)
leaq 0x68(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movl $0x3f800000, 0x20(%rdi) # imm = 0x3F800000
movq %rdi, 0x10(%rsp)
movups %xmm0, 0x28(%rdi)
movb $0x0, (%rax)
movq 0x88(%rsi), %rsi
leaq 0x260(%rsp), %rdi
pushq $0x8
popq %rdx
callq 0x22d0
leaq 0x58(%rsp), %r13
leaq 0x78(%rsp), %r15
leaq 0x98(%rsp), %r12
leaq 0x260(%rsp), %rdi
movq %r13, %rsi
callq 0x2040
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x3d17
movq %r14, %rdi
movq %r13, %rsi
callq 0x4396
testb %al, %al
je 0x3b63
leaq 0x48(%rsp), %rax
movq %rax, 0x38(%rsp)
andq $0x0, 0x40(%rsp)
xorl %ecx, %ecx
movb %cl, 0x48(%rsp)
leaq 0x28(%rsp), %rax
movq %rax, 0x18(%rsp)
andq $0x0, 0x20(%rsp)
movb %cl, 0x28(%rsp)
movq %r15, %rdi
movq %r13, %rsi
callq 0x2230
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x43b2
movq %r15, %rbp
movq %r15, %rdi
callq 0x2308
leaq 0x38(%rsp), %rdi
movq %r12, %rbx
movq %r12, %rsi
movq 0x10(%rsp), %r12
callq 0x20f0
leaq 0x18(%rsp), %rdi
leaq 0xb8(%rsp), %rsi
callq 0x20f0
movq %r12, %rdi
leaq 0x38(%rsp), %rsi
callq 0x4612
testq %rax, %rax
jne 0x3c7b
movl 0x8(%rsp), %r15d
movq %r12, %rdi
leaq 0x38(%rsp), %rsi
callq 0x4734
movl %r15d, (%rax)
leaq 0xd8(%rsp), %r15
movq %r15, %rdi
leaq 0x38(%rsp), %rsi
pushq $0x18
popq %rdx
callq 0x2270
movq %r15, %rdi
leaq 0xc(%rsp), %rsi
callq 0x22a0
movl 0xc(%rsp), %r15d
movq %r14, %rdi
leaq 0x8(%rsp), %rsi
callq 0x544e
movl %r15d, (%rax)
incl 0x8(%rsp)
leaq 0xd8(%rsp), %rdi
callq 0x2140
movq %r12, %rdi
leaq 0x18(%rsp), %rsi
callq 0x4612
testq %rax, %rax
movq %rbp, %r15
jne 0x3cf3
movl 0x8(%rsp), %r15d
movq %r12, %rdi
leaq 0x18(%rsp), %rsi
callq 0x4734
movl %r15d, (%rax)
leaq 0xd8(%rsp), %r15
movq %r15, %rdi
leaq 0x18(%rsp), %rsi
pushq $0x18
popq %rdx
callq 0x2270
movq %r15, %rdi
leaq 0xc(%rsp), %rsi
callq 0x22a0
movl 0xc(%rsp), %r15d
movq %r14, %rdi
leaq 0x8(%rsp), %rsi
callq 0x544e
movl %r15d, (%rax)
incl 0x8(%rsp)
leaq 0xd8(%rsp), %rdi
callq 0x2140
movq %rbp, %r15
movq %rbx, %r12
movq %rbx, %rdi
callq 0x4530
leaq 0x18(%rsp), %rdi
callq 0x2308
leaq 0x38(%rsp), %rdi
callq 0x2308
jmp 0x3b63
leaq 0x260(%rsp), %rdi
callq 0x2060
leaq 0x58(%rsp), %rdi
callq 0x2308
movq 0x10(%rsp), %rax
addq $0x468, %rsp            # imm = 0x468
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq 0x10(%rsp), %r12
jmp 0x3dbf
jmp 0x3d8e
jmp 0x3d8e
jmp 0x3d55
movq %rax, %r14
leaq 0xd8(%rsp), %rdi
callq 0x2140
jmp 0x3d91
movq %rax, %r14
jmp 0x3d7d
jmp 0x3d8e
jmp 0x3d8e
movq %rax, %r14
leaq 0x78(%rsp), %rdi
callq 0x2308
movq 0x10(%rsp), %r12
jmp 0x3d9e
movq %rax, %r14
movq 0x10(%rsp), %r12
jmp 0x3db2
movq %rax, %r14
leaq 0x98(%rsp), %rdi
callq 0x4530
leaq 0x18(%rsp), %rdi
callq 0x2308
leaq 0x38(%rsp), %rdi
callq 0x2308
leaq 0x260(%rsp), %rdi
callq 0x2060
leaq 0x58(%rsp), %rdi
callq 0x2308
movq %r12, %rdi
callq 0x4e5a
movq %r14, %rdi
callq 0x22b0
nop