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

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

        while(getline(in, line)){
            if(! isEdge(line)){
                continue;
            }

            string edgeLabel = getEdgeLabel(line);
            edgeLabel = edgeLabel.substr(1);
            //cout << "edge label is " << edgeLabel << endl;
            if(result.find(edgeLabel) == result.end()){
                result[edgeLabel] = eid;
                eid++;
            }
        }
        return result;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x2f0, %rsp            # imm = 0x2F0
movq %rdi, -0x2b8(%rbp)
movq %rdi, %rax
movq %rax, -0x2b0(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x2a8(%rbp)
movb $0x0, -0x11(%rbp)
callq 0x9d70
movl $0x0, -0x18(%rbp)
leaq -0x38(%rbp), %rdi
callq 0x3310
movq -0x2a8(%rbp), %rdi
addq $0x88, %rdi
callq 0x30d0
movq %rax, %rsi
leaq -0x240(%rbp), %rdi
movl $0x8, %edx
callq 0x33c0
jmp 0x9411
jmp 0x9413
leaq -0x240(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0x3070
movq %rax, -0x2c0(%rbp)
jmp 0x942c
movq -0x2c0(%rbp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
addq %rax, %rdi
callq 0x32d0
movb %al, -0x2c1(%rbp)
jmp 0x944a
movb -0x2c1(%rbp), %al
testb $0x1, %al
jne 0x9459
jmp 0x95ca
movq -0x2a8(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0x9d90
testb $0x1, %al
jne 0x949d
jmp 0x9413
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x248(%rbp)
movl %eax, -0x24c(%rbp)
jmp 0x95f7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x248(%rbp)
movl %eax, -0x24c(%rbp)
jmp 0x95eb
movq -0x2a8(%rbp), %rsi
leaq -0x270(%rbp), %rdi
leaq -0x38(%rbp), %rdx
callq 0xbcc0
jmp 0x94b6
leaq -0x290(%rbp), %rdi
leaq -0x270(%rbp), %rsi
movl $0x1, %edx
movq $-0x1, %rcx
callq 0x3230
jmp 0x94d7
leaq -0x270(%rbp), %rdi
movq %rdi, -0x2d8(%rbp)
leaq -0x290(%rbp), %rsi
movq %rsi, -0x2e0(%rbp)
callq 0x32b0
movq -0x2e0(%rbp), %rdi
callq 0x3408
movq -0x2b8(%rbp), %rdi
movq -0x2d8(%rbp), %rsi
callq 0xa040
movq %rax, -0x2d0(%rbp)
jmp 0x9520
movq -0x2b8(%rbp), %rdi
movq -0x2d0(%rbp), %rax
movq %rax, -0x298(%rbp)
callq 0xa070
movq %rax, -0x2a0(%rbp)
leaq -0x298(%rbp), %rdi
leaq -0x2a0(%rbp), %rsi
callq 0xa010
testb $0x1, %al
jne 0x955a
jmp 0x95b9
movq -0x2b8(%rbp), %rdi
movl -0x18(%rbp), %eax
movl %eax, -0x2ec(%rbp)
leaq -0x270(%rbp), %rsi
callq 0xa0a0
movq %rax, -0x2e8(%rbp)
jmp 0x957f
movq -0x2e8(%rbp), %rax
movl -0x2ec(%rbp), %ecx
movl %ecx, (%rax)
movl -0x18(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x18(%rbp)
jmp 0x95b9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x248(%rbp)
movl %eax, -0x24c(%rbp)
leaq -0x270(%rbp), %rdi
callq 0x3408
jmp 0x95eb
leaq -0x270(%rbp), %rdi
callq 0x3408
jmp 0x9413
movb $0x1, -0x11(%rbp)
leaq -0x240(%rbp), %rdi
callq 0x3090
leaq -0x38(%rbp), %rdi
callq 0x3408
testb $0x1, -0x11(%rbp)
jne 0x961a
jmp 0x960e
leaq -0x240(%rbp), %rdi
callq 0x3090
leaq -0x38(%rbp), %rdi
callq 0x3408
movq -0x2b8(%rbp), %rdi
callq 0x9d50
jmp 0x962a
movq -0x2b8(%rbp), %rdi
callq 0x9d50
movq -0x2b0(%rbp), %rax
addq $0x2f0, %rsp            # imm = 0x2F0
popq %rbp
retq
movq -0x248(%rbp), %rdi
callq 0x3390
nopw %cs:(%rax,%rax)