// File: /workspace/github_cpp_makefile_star2_O2/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 $0x2e8, %rsp            # imm = 0x2E8
movq %rsi, %r14
movq %rdi, %rbx
leaq 0xe0(%rsp), %r15
movq %r15, %rdi
callq 0x2240
pushq $0x8
popq %rdx
movq %r15, %rdi
movq %r14, %rsi
callq 0x21d0
leaq 0x50(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
leaq 0x30(%rsp), %rcx
movq %rcx, -0x10(%rcx)
andq $0x0, -0x8(%rcx)
xorl %edx, %edx
movb %dl, (%rax)
movb %dl, (%rcx)
leaq 0x70(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb %dl, (%rax)
leaq 0xf8(%rbx), %rax
movq %rax, 0x18(%rsp)
leaq 0x60(%rsp), %rbp
leaq 0xc0(%rsp), %r15
leaq 0xa0(%rsp), %r14
leaq 0x80(%rsp), %r12
leaq 0xe0(%rsp), %rdi
leaq 0x40(%rsp), %rsi
callq 0x2270
movq %rax, %rdi
leaq 0x20(%rsp), %rsi
callq 0x2270
movq %rax, %rdi
movq %rbp, %rsi
callq 0x2270
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x2bdc
movq %r15, %rdi
leaq 0x40(%rsp), %rsi
callq 0x2290
movq %rbx, %rdi
movq %r15, %rsi
callq 0x3742
movl %eax, %r13d
movq %r15, %rdi
callq 0x20e0
movl %r13d, 0x8(%rsp)
movq %r14, %rdi
movq %rbp, %rsi
callq 0x2290
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3742
movl %eax, %r13d
movq %r14, %rdi
callq 0x20e0
movl %r13d, 0x14(%rsp)
movq %r12, %rdi
leaq 0x20(%rsp), %rsi
callq 0x2290
movq %rbx, %rdi
movq %r12, %rsi
callq 0x37aa
movl %eax, %r13d
movq %r12, %rdi
callq 0x20e0
movl %r13d, 0x10(%rsp)
movq 0x18(%rsp), %rdi
leaq 0x8(%rsp), %rsi
leaq 0x10(%rsp), %rdx
leaq 0x14(%rsp), %rcx
callq 0x381a
jmp 0x2b0c
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
leaq 0xc8(%rbx), %r14
leaq 0x8(%rsp), %r15
cmpq %r13, %r12
je 0x2c47
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, 0x8(%rsp)
movq %r14, %rdi
movq %r15, %rsi
callq 0x411e
addq $0x14, %r12
jmp 0x2c0c
leaq 0xe0(%rsp), %rdi
callq 0x2060
leaq 0x60(%rsp), %rdi
callq 0x20e0
leaq 0x20(%rsp), %rdi
callq 0x20e0
leaq 0x40(%rsp), %rdi
callq 0x20e0
leaq 0xe0(%rsp), %rdi
callq 0x2080
addq $0x2e8, %rsp            # imm = 0x2E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2ccc
movq %rax, %rbx
jmp 0x2ced
jmp 0x2ccc
jmp 0x2ccc
movq %rax, %rbx
leaq 0xc0(%rsp), %rdi
jmp 0x2cc1
movq %rax, %rbx
leaq 0xa0(%rsp), %rdi
jmp 0x2cc1
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
callq 0x20e0
jmp 0x2ccf
jmp 0x2ccc
jmp 0x2ccc
movq %rax, %rbx
leaq 0x60(%rsp), %rdi
callq 0x20e0
leaq 0x20(%rsp), %rdi
callq 0x20e0
leaq 0x40(%rsp), %rdi
callq 0x20e0
leaq 0xe0(%rsp), %rdi
callq 0x2080
movq %rbx, %rdi
callq 0x2350