// File: /workspace/github_cpp_makefile_star2_O3/chulchultrain[P]FactoryHead/MapGenerator/MapGenerator.cpp
// Function: MapGenerator::TypeToEntryIDVectorMapHelper(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>>>>&)
void MapGenerator::TypeToEntryIDVectorMapHelper(map<string, vector<string> > &m) {
	map <string,vector<string> > dtt;
	//map <string, vector<string> > dte;

	DexIDToTypeVectorMap(dtt);


	m.clear();
	ifstream fin(ENTRYFILE);
	string DexID;
	string EntryID;
	string discard;	
	while(getline(fin,EntryID) ) {
		getline(fin,DexID);
		getline(fin,discard);
		while(discard != "")
			getline(fin,discard);
		vector<string> &types = dtt[DexID];
		for(unsigned int i = 0; i < types.size(); i++) {
			m[types[i]].push_back(EntryID);
		}
		m[DexID].push_back(EntryID);
	}
	fin.close();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x298, %rsp            # imm = 0x298
movq %rsi, %rbx
leaq -0xb0(%rbp), %rax
movl $0x0, (%rax)
xorl %ecx, %ecx
movq %rcx, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
movq %rcx, 0x20(%rax)
leaq 0x1ba99(%rip), %rsi     # 0x1f248
leaq -0xb8(%rbp), %rdi
callq 0x6acc
movq %rbx, %rdi
callq 0x8d30
leaq 0x1287e(%rip), %rsi     # 0x16048
leaq -0x2c0(%rbp), %r14
movq %r14, %rdi
movl $0x8, %edx
callq 0x22f0
leaq -0x58(%rbp), %rcx
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq -0x38(%rbp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq -0x78(%rbp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq -0x68(%rbp), %r15
leaq -0x88(%rbp), %r13
leaq 0x12d6c(%rip), %r12     # 0x16588
movq -0x2c0(%rbp), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2190
movsbl %al, %edx
movq %r14, %rdi
leaq -0x48(%rbp), %rsi
callq 0x2300
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x3956
movq -0x2c0(%rbp), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2190
movsbl %al, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x2300
movq -0x2c0(%rbp), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2190
movsbl %al, %edx
movq %r14, %rdi
movq %r13, %rsi
callq 0x2300
movq %r13, %rdi
movq %r12, %rsi
callq 0x2090
testl %eax, %eax
je 0x38d8
movq -0x2c0(%rbp), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2190
movsbl %al, %edx
movq %r14, %rdi
movq %r13, %rsi
callq 0x2300
jmp 0x38a1
leaq -0xb8(%rbp), %rdi
movq %r15, %rsi
callq 0x589a
movq %rax, %r15
movq (%rax), %rax
cmpq %rax, 0x8(%r15)
je 0x392f
movl $0x1, %r12d
xorl %esi, %esi
shlq $0x5, %rsi
addq %rax, %rsi
movq %rbx, %rdi
callq 0x589a
movq %rax, %rdi
leaq -0x48(%rbp), %rsi
callq 0x591a
movl %r12d, %esi
movq (%r15), %rax
movq 0x8(%r15), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
incl %r12d
cmpq %rsi, %rcx
ja 0x38fb
movq %rbx, %rdi
leaq -0x68(%rbp), %r15
movq %r15, %rsi
callq 0x589a
leaq 0x12c43(%rip), %r12     # 0x16588
movq %rax, %rdi
leaq -0x48(%rbp), %rsi
callq 0x591a
jmp 0x381c
leaq -0x2c0(%rbp), %rdi
callq 0x2060
movq -0x88(%rbp), %rdi
leaq -0x78(%rbp), %rax
cmpq %rax, %rdi
je 0x397e
movq -0x78(%rbp), %rsi
incq %rsi
callq 0x21b0
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x3997
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x21b0
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0x39b0
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x21b0
leaq -0x2c0(%rbp), %rdi
callq 0x2070
leaq -0xb8(%rbp), %rdi
callq 0x62b4
addq $0x298, %rsp            # imm = 0x298
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x39e9
jmp 0x39de
movq %rax, %rbx
jmp 0x3a46
jmp 0x39e9
jmp 0x39e9
jmp 0x39e9
movq %rax, %rbx
movq -0x88(%rbp), %rdi
leaq -0x78(%rbp), %rax
cmpq %rax, %rdi
je 0x3a08
movq -0x78(%rbp), %rsi
incq %rsi
callq 0x21b0
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x3a21
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x21b0
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0x3a3a
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x21b0
leaq -0x2c0(%rbp), %rdi
callq 0x2070
leaq -0xb8(%rbp), %rdi
callq 0x62b4
movq %rbx, %rdi
callq 0x22d0