// File: /workspace/github_cpp_makefile_star2_O1/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 0x1bac9(%rip), %rsi     # 0x1f248
leaq -0xb8(%rbp), %rdi
callq 0x6a7a
movq %rbx, %rdi
callq 0x8ce4
leaq 0x128ae(%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 0x12d9c(%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 0x3926
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 0x38a8
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 0x3871
leaq -0xb8(%rbp), %rdi
movq %r15, %rsi
callq 0x587c
movq %rax, %r15
movq (%rax), %rax
cmpq %rax, 0x8(%r15)
je 0x38ff
movl $0x1, %r12d
xorl %esi, %esi
shlq $0x5, %rsi
addq %rax, %rsi
movq %rbx, %rdi
callq 0x587c
movq %rax, %rdi
leaq -0x48(%rbp), %rsi
callq 0x58fc
movl %r12d, %esi
movq (%r15), %rax
movq 0x8(%r15), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
incl %r12d
cmpq %rsi, %rcx
ja 0x38cb
movq %rbx, %rdi
leaq -0x68(%rbp), %r15
movq %r15, %rsi
callq 0x587c
leaq 0x12c73(%rip), %r12     # 0x16588
movq %rax, %rdi
leaq -0x48(%rbp), %rsi
callq 0x58fc
jmp 0x37ec
leaq -0x2c0(%rbp), %rdi
callq 0x2060
movq -0x88(%rbp), %rdi
leaq -0x78(%rbp), %rax
cmpq %rax, %rdi
je 0x394e
movq -0x78(%rbp), %rsi
incq %rsi
callq 0x21b0
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x3967
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x21b0
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0x3980
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x21b0
leaq -0x2c0(%rbp), %rdi
callq 0x2070
leaq -0xb8(%rbp), %rdi
callq 0x6262
addq $0x298, %rsp            # imm = 0x298
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x39b9
jmp 0x39ae
movq %rax, %rbx
jmp 0x3a16
jmp 0x39b9
jmp 0x39b9
jmp 0x39b9
movq %rax, %rbx
movq -0x88(%rbp), %rdi
leaq -0x78(%rbp), %rax
cmpq %rax, %rdi
je 0x39d8
movq -0x78(%rbp), %rsi
incq %rsi
callq 0x21b0
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x39f1
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x21b0
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0x3a0a
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x21b0
leaq -0x2c0(%rbp), %rdi
callq 0x2070
leaq -0xb8(%rbp), %rdi
callq 0x6262
movq %rbx, %rdi
callq 0x22d0