// File: /workspace/github_cpp_makefile_star2_O1/KokiKishimoto[P]cp_decomposition/./data.hpp
// Function: Data::readFromRawFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void readFromRawFile(std::string filename) {
		std::ifstream fin;

		fin.open(filename);
		std::string t0, t1, t2;
		while (fin >> t0 >> t1 >> t2) {
			int subj = addEntity(t0);
			int obj = addEntity(t2);
			int relation = addRelation(t1);
			triples.emplace_back(subj, relation, obj);
		}

		key_gen = TripleKeyGen(entity_counter, relation_counter);
		for (const Triple& t : triples) {
			long long key = key_gen.calcKey(t.subj, t.relation, t.obj);
			triple_key_set.insert(key);
		}
		fin.close();
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2d8, %rsp            # imm = 0x2D8
movq %rsi, %r14
movq %rdi, %rbx
leaq 0xd0(%rsp), %r15
movq %r15, %rdi
callq 0x2290
movq %r15, %rdi
movq %r14, %rsi
movl $0x8, %edx
callq 0x2200
leaq 0x50(%rsp), %rcx
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x30(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x10(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0xf8(%rbx), %r14
leaq 0xb0(%rsp), %r15
leaq 0x90(%rsp), %r12
leaq 0x70(%rsp), %r13
leaq 0xd0(%rsp), %rdi
leaq 0x40(%rsp), %rsi
callq 0x22d0
movq %rax, %rdi
leaq 0x20(%rsp), %rsi
callq 0x22d0
movq %rax, %rdi
movq %rsp, %rsi
callq 0x22d0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x2f66
leaq 0xc0(%rsp), %rax
movq %rax, 0xb0(%rsp)
movq 0x40(%rsp), %rsi
movq 0x48(%rsp), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x68ca
movq %rbx, %rdi
movq %r15, %rsi
callq 0x3d4e
movl %eax, %ebp
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0x2e97
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x2260
movl %ebp, 0x60(%rsp)
leaq 0xa0(%rsp), %rax
movq %rax, 0x90(%rsp)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0x68ca
movq %rbx, %rdi
movq %r12, %rsi
callq 0x3d4e
movl %eax, %ebp
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x2ef1
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x2260
movl %ebp, 0x6c(%rsp)
leaq 0x80(%rsp), %rax
movq %rax, 0x70(%rsp)
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
addq %rsi, %rdx
movq %r13, %rdi
callq 0x68ca
movq %rbx, %rdi
movq %r13, %rsi
callq 0x3db6
movl %eax, %ebp
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x2f46
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x2260
movl %ebp, 0x68(%rsp)
movq %r14, %rdi
leaq 0x60(%rsp), %rsi
leaq 0x68(%rsp), %rdx
leaq 0x6c(%rsp), %rcx
callq 0x3e26
jmp 0x2e04
movl 0x4(%rbx), %eax
movl (%rbx), %ecx
imull %eax, %ecx
shlq $0x20, %rax
orq %rax, %rcx
movq %rcx, 0x110(%rbx)
movq 0xf8(%rbx), %r12
movq 0x100(%rbx), %r13
cmpq %r13, %r12
je 0x2fd4
leaq 0xc8(%rbx), %r14
leaq 0x60(%rsp), %r15
movl 0x110(%rbx), %eax
movl 0x114(%rbx), %ecx
imull (%r12), %eax
imull 0x4(%r12), %ecx
addl 0x8(%r12), %eax
addl %ecx, %eax
cltq
movq %rax, 0x60(%rsp)
movq %r14, %rdi
movq %r15, %rsi
callq 0x46a8
addq $0x14, %r12
cmpq %r13, %r12
jne 0x2f9b
leaq 0xd0(%rsp), %rdi
callq 0x2070
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
leaq 0x50(%rsp), %rbx
leaq 0x30(%rsp), %r14
je 0x3006
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2260
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x301d
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x2260
movq 0x40(%rsp), %rdi
cmpq %rbx, %rdi
je 0x3034
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x2260
leaq 0xd0(%rsp), %rdi
callq 0x2080
addq $0x2d8, %rsp            # imm = 0x2D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x30d0
movq %rax, %rbx
jmp 0x3126
jmp 0x30d0
jmp 0x30d0
movq %rax, %rbx
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0x30d3
movq 0xc0(%rsp), %rsi
jmp 0x30c2
movq %rax, %rbx
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x30d3
movq 0xa0(%rsp), %rsi
jmp 0x30c2
movq %rax, %rbx
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x30d3
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x2260
jmp 0x30d3
jmp 0x30d0
jmp 0x30d0
movq %rax, %rbx
leaq 0x50(%rsp), %r14
leaq 0x30(%rsp), %r15
leaq 0x10(%rsp), %rax
movq (%rsp), %rdi
cmpq %rax, %rdi
je 0x30f8
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2260
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x310f
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x2260
movq 0x40(%rsp), %rdi
cmpq %r14, %rdi
je 0x3126
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x2260
leaq 0xd0(%rsp), %rdi
callq 0x2080
movq %rbx, %rdi
callq 0x23b0
nop