// File: /workspace/github_cpp_makefile_star2_O3/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, %r14
movq (%rsi), %rsi
leaq 0x70(%rsp), %r15
movq %r15, %rdi
movl $0x8, %edx
callq 0x3340
movq (%r15), %rax
movq -0x18(%rax), %rax
testb $0x5, 0x90(%rsp,%rax)
jne 0xfce8
leaq 0x60(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq 0x60(%r14), %rax
movq %rax, 0x40(%rsp)
leaq 0x50(%rsp), %r12
leaq 0x28(%rsp), %r13
leaq 0x10(%rsp), %rbx
movq %r14, 0x48(%rsp)
movq 0x70(%rsp), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x31e0
movsbl %al, %edx
movq %r15, %rdi
movq %r12, %rsi
callq 0x3350
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0xfc87
movq %r13, %rdi
movq %r12, %r13
movq %r12, %rsi
leaq 0x6c5b(%rip), %rdx      # 0x16815
callq 0x6eae
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
movq $0x0, 0x20(%rsp)
movq 0x28(%rsp), %rbp
movq 0x30(%rsp), %r12
cmpq %rbp, %r12
je 0xfc80
xorl %r14d, %r14d
xorl %r15d, %r15d
movq (%rbp,%r14), %rdi
callq 0x32d0
movl %eax, 0xc(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0xfc10
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x18(%rsp)
jmp 0xfc27
movq %rbx, %rdi
leaq 0xc(%rsp), %rdx
callq 0x729c
movq 0x28(%rsp), %rbp
movq 0x30(%rsp), %r12
incq %r15
movq %r12, %rax
subq %rbp, %rax
sarq $0x5, %rax
addq $0x20, %r14
cmpq %r15, %rax
ja 0xfbe9
movq 0x40(%rsp), %rdi
movq %rbx, %rsi
callq 0x1005a
movq 0x48(%rsp), %r14
leaq 0x70(%rsp), %r15
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
movq %r13, %r12
je 0xfc6e
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x3210
leaq 0x28(%rsp), %r13
movq %r13, %rdi
callq 0x6fa8
jmp 0xfb74
callq 0x385d
jmp 0xfc54
movq 0x68(%r14), %rax
subq 0x60(%r14), %rax
shrq $0x3, %rax
imull $0xaaaaaaab, %eax, %esi # imm = 0xAAAAAAAB
movq %r14, %rdi
callq 0x7fec
movb $0x1, 0x5c(%r14)
leaq 0x70(%rsp), %rdi
callq 0x3070
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0xfccc
movq 0x60(%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 0xfb43
jmp 0xfcfb
jmp 0xfd00
jmp 0xfcfb
movq %rax, %rbx
jmp 0xfd24
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0xfd1a
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x3210
leaq 0x28(%rsp), %rdi
callq 0x6fa8
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0xfd40
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x3210
leaq 0x70(%rsp), %rdi
callq 0x3090
movq %rbx, %rdi
callq 0x3320