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

		fin.open(filename);
		std::string t0, t1, t2;
		while (fin >> t0 >> t1 >> t2) {
			int subj = addEntity(t0, traindata);
			int obj = addEntity(t2, traindata);
			int relation = addRelation(t1, traindata);
			triples.emplace_back(subj, relation, obj);
			if (subj == -1 || obj == -1 || relation == -1) triples.back().flag = true;
		}
		fin.close();
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2d8, %rsp            # imm = 0x2D8
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
leaq 0xd0(%rsp), %r12
movq %r12, %rdi
callq 0x2220
movq %r12, %rdi
movq %r15, %rsi
movl $0x8, %edx
callq 0x21a0
leaq 0x60(%rsp), %rcx
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x40(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x20(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0xb0(%rsp), %r15
leaq 0x90(%rsp), %r12
leaq 0x70(%rsp), %r13
leaq 0xd0(%rsp), %rdi
leaq 0x50(%rsp), %rsi
callq 0x2260
movq %rax, %rdi
leaq 0x30(%rsp), %rsi
callq 0x2260
movq %rax, %rdi
leaq 0x10(%rsp), %rsi
callq 0x2260
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x576f
leaq 0xc0(%rsp), %rax
movq %rax, 0xb0(%rsp)
movq 0x50(%rsp), %rsi
movq 0x58(%rsp), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x7f9e
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x65a4
movl %eax, %ebp
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0x5678
movq 0xc0(%rsp), %rsi
incq %rsi
callq 0x2200
movl %ebp, 0xc(%rsp)
leaq 0xa0(%rsp), %rax
movq %rax, 0x90(%rsp)
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0x7f9e
movq %r14, %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq 0x65a4
movl %eax, %ebp
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x56d6
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x2200
movl %ebp, 0x8(%rsp)
leaq 0x80(%rsp), %rax
movq %rax, 0x70(%rsp)
movq 0x30(%rsp), %rsi
movq 0x38(%rsp), %rdx
addq %rsi, %rdx
movq %r13, %rdi
callq 0x7f9e
movq %r14, %rdi
movq %r13, %rsi
movq %rbx, %rdx
callq 0x65de
movl %eax, %ebp
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x572e
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x2200
movl %ebp, 0x4(%rsp)
movq %r14, %rdi
leaq 0xc(%rsp), %rsi
leaq 0x4(%rsp), %rdx
leaq 0x8(%rsp), %rcx
callq 0x5c10
cmpl $-0x1, 0xc(%rsp)
je 0x5762
cmpl $-0x1, 0x8(%rsp)
je 0x5762
cmpl $-0x1, 0x4(%rsp)
jne 0x55e0
movq 0x8(%r14), %rax
movb $0x1, -0x4(%rax)
jmp 0x55e0
leaq 0xd0(%rsp), %rdi
callq 0x2070
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
leaq 0x60(%rsp), %rbx
leaq 0x40(%rsp), %r14
je 0x57a2
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x30(%rsp), %rdi
cmpq %r14, %rdi
je 0x57b9
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x50(%rsp), %rdi
cmpq %rbx, %rdi
je 0x57d0
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x2200
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 0x586a
movq %rax, %rbx
jmp 0x58c1
jmp 0x586a
movq %rax, %rbx
movq 0xb0(%rsp), %rdi
leaq 0xc0(%rsp), %rax
cmpq %rax, %rdi
je 0x586d
movq 0xc0(%rsp), %rsi
jmp 0x585c
movq %rax, %rbx
movq 0x90(%rsp), %rdi
leaq 0xa0(%rsp), %rax
cmpq %rax, %rdi
je 0x586d
movq 0xa0(%rsp), %rsi
jmp 0x585c
movq %rax, %rbx
movq 0x70(%rsp), %rdi
leaq 0x80(%rsp), %rax
cmpq %rax, %rdi
je 0x586d
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x2200
jmp 0x586d
jmp 0x586a
jmp 0x586a
movq %rax, %rbx
leaq 0x60(%rsp), %r14
leaq 0x40(%rsp), %r15
leaq 0x20(%rsp), %rax
movq 0x10(%rsp), %rdi
cmpq %rax, %rdi
je 0x5893
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x30(%rsp), %rdi
cmpq %r15, %rdi
je 0x58aa
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x2200
movq 0x50(%rsp), %rdi
cmpq %r14, %rdi
je 0x58c1
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x2200
leaq 0xd0(%rsp), %rdi
callq 0x2080
movq %rbx, %rdi
callq 0x22f0