// File: /workspace/github_cpp_makefile_star2_O1/0asa[P]TTree-source/JavaDB.cpp
// Function: JavaDB::readBlock(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void JavaDB::readBlock(std::string file) {
	std::ifstream fs(file.c_str());
	if (!fs)
		fprintf(stderr, "Error : Cannot find block file %s\n",file.c_str());
	std::string line;
	int ln = 0;
	while (getline(fs, line)) {
		std::vector<std::string> ex = StrTools::explode(line,const_cast<char *>("\t"));
		std::vector<unsigned int> g;
		// treat ex and pushback attribute into g...
		if (ex.size() > 0) {
			for (int i = 0 ; i < ex.size(); ++i)
				g.push_back(atoi(ex[i].c_str()));
			groups.push_back(g);
		} else {
			fprintf(stderr, "Error : Incorrect block file format ?\n");
		}
		++ln;
	}
	setNbGroup((int) groups.size());
	blocked = true;
	fs.close();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x278, %rsp            # imm = 0x278
movq %rsi, %rbx
movq %rdi, %rbp
movq (%rsi), %rsi
leaq 0x70(%rsp), %r12
movq %r12, %rdi
movl $0x8, %edx
callq 0x3340
movq (%r12), %rax
movq -0x18(%rax), %rax
testb $0x5, 0x90(%rsp,%rax)
jne 0xfd04
leaq 0x58(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq 0x60(%rbp), %rax
movq %rax, 0x68(%rsp)
leaq 0x10(%rsp), %rbx
leaq 0xc(%rsp), %r13
movq 0x70(%rsp), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x31e0
movsbl %al, %edx
movq %r12, %rdi
leaq 0x48(%rsp), %rsi
callq 0x3350
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0xfca4
leaq 0x30(%rsp), %rdi
leaq 0x48(%rsp), %rsi
leaq 0x6c31(%rip), %rdx      # 0x16815
callq 0x6e70
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
movq $0x0, 0x20(%rsp)
movq 0x38(%rsp), %rax
cmpq 0x30(%rsp), %rax
je 0xfc9d
movq 0x30(%rsp), %rax
cmpq %rax, 0x38(%rsp)
je 0xfc6a
xorl %r14d, %r14d
xorl %r15d, %r15d
movq (%rax,%r14), %rdi
callq 0x32d0
movl %eax, 0xc(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0xfc42
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x18(%rsp)
jmp 0xfc4d
movq %rbx, %rdi
movq %r13, %rdx
callq 0x7252
incq %r15
movq 0x30(%rsp), %rax
movq 0x38(%rsp), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
addq $0x20, %r14
cmpq %r15, %rcx
ja 0xfc1c
movq 0x68(%rsp), %rdi
movq %rbx, %rsi
callq 0x1006c
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0xfc8e
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x3210
leaq 0x30(%rsp), %rdi
callq 0x6f6a
jmp 0xfb9b
callq 0x385d
jmp 0xfc77
movq 0x68(%rbp), %rax
subq 0x60(%rbp), %rax
shrq $0x3, %rax
imull $0xaaaaaaab, %eax, %esi # imm = 0xAAAAAAAB
movq %rbp, %rdi
callq 0x7f84
movb $0x1, 0x5c(%rbp)
leaq 0x70(%rsp), %rdi
callq 0x3070
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0xfce8
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x3210
leaq 0x70(%rsp), %rdi
callq 0x3090
addq $0x278, %rsp            # imm = 0x278
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rbx, %rdi
callq 0x3839
jmp 0xfb74
jmp 0xfd17
jmp 0xfd1c
jmp 0xfd17
movq %rax, %rbx
jmp 0xfd40
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0xfd36
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x3210
leaq 0x30(%rsp), %rdi
callq 0x6f6a
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0xfd5c
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x3210
leaq 0x70(%rsp), %rdi
callq 0x3090
movq %rbx, %rdi
callq 0x3320