// File: /workspace/github_cpp_makefile_star2_O3/0asa[P]TTree-source/JavaDB.cpp
// Function: JavaDB::readBlockStartEnd(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void JavaDB::readBlockStartEnd(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 to block start end...
		if (ex.size() == 2) {
			int start = atoi(ex[0].c_str());
			int end = atoi(ex[1].c_str());
			for (int i = start ; i <= end ; ++i)
				g.push_back(i);
			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 0xfa98
leaq 0x40(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq 0x60(%rbp), %rax
movq %rax, 0x50(%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 0x30(%rsp), %rsi
callq 0x3350
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0xfa38
leaq 0x58(%rsp), %rdi
leaq 0x30(%rsp), %rsi
leaq 0x6e95(%rip), %rdx      # 0x16815
callq 0x6eae
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
movq $0x0, 0x20(%rsp)
movq 0x58(%rsp), %r15
movq 0x60(%rsp), %rax
subq %r15, %rax
cmpq $0x40, %rax
jne 0xfa31
movq (%r15), %rdi
callq 0x32d0
movl %eax, %r14d
movq 0x20(%r15), %rdi
callq 0x32d0
cmpl %eax, %r14d
jg 0xf9fe
movl %eax, %r15d
incl %r15d
movl %r14d, 0xc(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0xf9eb
movl %r14d, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x18(%rsp)
jmp 0xf9f6
movq %rbx, %rdi
movq %r13, %rdx
callq 0x729c
incl %r14d
cmpl %r14d, %r15d
jne 0xf9cc
movq 0x50(%rsp), %rdi
movq %rbx, %rsi
callq 0x1005a
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0xfa22
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x3210
leaq 0x58(%rsp), %rdi
callq 0x6fa8
jmp 0xf937
callq 0x3817
jmp 0xfa0b
movq 0x68(%rbp), %rax
subq 0x60(%rbp), %rax
shrq $0x3, %rax
imull $0xaaaaaaab, %eax, %esi # imm = 0xAAAAAAAB
movq %rbp, %rdi
callq 0x7fec
movb $0x1, 0x5c(%rbp)
leaq 0x70(%rsp), %rdi
callq 0x3070
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0xfa7c
movq 0x40(%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 0x37f3
jmp 0xf910
jmp 0xfaab
jmp 0xfab0
jmp 0xfaab
movq %rax, %rbx
jmp 0xfad4
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0xfaca
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x3210
leaq 0x58(%rsp), %rdi
callq 0x6fa8
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0xfaf0
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x3210
leaq 0x70(%rsp), %rdi
callq 0x3090
movq %rbx, %rdi
callq 0x3320