LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/0asa[P]TTree-source/BestFirstStack.cpp
// Function: BestFirstStack::push(Node*)
void BestFirstStack::push(Node* n) {
	n->setId(nbpush++);
	std::vector<unsigned int> set = n->getLS();
	//printf("Node Size : %d\n",set.size());
	double total = 0.0;
	std::vector<double> sum(2,0.0);
	for (int i = 0 ; i < set.size() ; ++i) {
		total += db->getWeight(set[i]);
		sum[db->getOutput(set[i])] += db->getWeight(set[i]);
	}
	Score score;
	double hc = score.getShannonEntropy(sum,total) * total;
	if (hc > 0.0) {
	std::vector<double>::iterator it;
	std::vector< Node* >::iterator itn;
	for( it = values.begin(), itn = s.begin() ; it != values.end(); it++, itn++ )    {
		if (hc <= *it) 
			break;
	}
	values.insert(it,hc);
	
	s.insert(itn,n);
	}
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x58, %rsp
movq %rdi, %rbx
movq %rsi, 0x48(%rsp)
leaq 0x18866(%rip), %rax     # 0x201ec
movl (%rax), %ecx
leal 0x1(%rcx), %edx
movl %edx, (%rax)
movl %ecx, 0x50(%rsi)
leaq 0x20(%rsp), %rdi
callq 0x7b1c
xorpd %xmm0, %xmm0
movapd %xmm0, (%rsp)
movq $0x0, 0x10(%rsp)
movl $0x10, %edi
callq 0x3200
movq %rax, (%rsp)
movq %rax, 0x8(%rsp)
movq %rax, %rcx
addq $0x10, %rcx
movq %rcx, 0x10(%rsp)
xorpd %xmm0, %xmm0
movupd %xmm0, (%rax)
movq %rcx, 0x8(%rsp)
movq 0x20(%rsp), %rcx
movq 0x28(%rsp), %rdx
subq %rcx, %rdx
je 0x7a2f
sarq $0x2, %rdx
movq 0x18(%rbx), %rdi
movq 0x8(%rdi), %rsi
movq 0x28(%rdi), %rdi
cmpq $0x1, %rdx
adcq $0x0, %rdx
xorpd %xmm0, %xmm0
xorl %r8d, %r8d
movl (%rcx,%r8,4), %r9d
movsd (%rsi,%r9,8), %xmm1
addsd %xmm1, %xmm0
movswq (%rdi,%r9,2), %r9
addsd (%rax,%r9,8), %xmm1
movsd %xmm1, (%rax,%r9,8)
incq %r8
cmpq %r8, %rdx
jne 0x7a06
jmp 0x7a33
xorpd %xmm0, %xmm0
movsd %xmm0, 0x38(%rsp)
leaq 0x54(%rsp), %rdi
movl $0x1, (%rdi)
movq %rsp, %rsi
callq 0x132ee
movsd 0x38(%rsp), %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, 0x40(%rsp)
xorpd %xmm0, %xmm0
ucomisd %xmm0, %xmm1
jbe 0x7aa8
leaq 0x20(%rbx), %rdi
movq (%rbx), %r14
movq 0x20(%rbx), %rsi
movq 0x28(%rbx), %rax
cmpq %rax, %rsi
je 0x7a8e
movsd (%rsi), %xmm0
ucomisd %xmm1, %xmm0
jae 0x7a8e
addq $0x8, %rsi
addq $0x8, %r14
jmp 0x7a75
leaq 0x40(%rsp), %rdx
callq 0x7b9c
leaq 0x48(%rsp), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x7c30
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x7abe
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x3210
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x7ad5
movq 0x30(%rsp), %rsi
subq %rdi, %rsi
callq 0x3210
addq $0x58, %rsp
popq %rbx
popq %r14
retq
jmp 0x7adf
movq %rax, %rbx
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x7afd
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x3210
jmp 0x7afd
movq %rax, %rbx
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x7b14
movq 0x30(%rsp), %rsi
subq %rdi, %rsi
callq 0x3210
movq %rbx, %rdi
callq 0x3320
// File: /workspace/github_cpp_makefile_star2_O1/0asa[P]TTree-source/BlockDB.cpp
// Function: BlockDB::selectAllGroup() const
std::vector<unsigned int> BlockDB::selectAllGroup() const {
	std::vector<unsigned int> ret;
	for (int i = 0 ; i < nbGroup ; ++i)
		ret.push_back(i);
	return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
cmpl $0x0, 0x58(%rsi)
je 0x8001
movq %rsi, %r14
xorl %ebp, %ebp
leaq 0x4(%rsp), %r15
movl %ebp, 0x4(%rsp)
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x7fee
movl %ebp, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rbx)
jmp 0x7ff9
movq %rbx, %rdi
movq %r15, %rdx
callq 0x7252
incl %ebp
cmpl 0x58(%r14), %ebp
jb 0x7fd4
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x8026
movq 0x10(%rbx), %rsi
subq %rdi, %rsi
callq 0x3210
movq %r14, %rdi
callq 0x3320
// File: /workspace/github_cpp_makefile_star2_O1/0asa[P]TTree-source/BlockDB.cpp
// Function: BlockDB::print(_IO_FILE*, bool) const
void BlockDB::print(FILE* out, bool all) const {
	DB::print(out,all);
	fprintf(out,"########## Groups Att. :\n");
	for (int i = 0 ; i < nbGroup ; ++i) {
		for (int j = 0 ; j < groups[i].size() ; ++j)
			fprintf(out,"%d ",groups[i][j]);
		fprintf(out,"\n");
	}	
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
callq 0xd792
leaq 0xe675(%rip), %rdi      # 0x166c0
movl $0x19, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x3360
cmpl $0x0, 0x58(%r14)
je 0x80c8
leaq 0xe5cd(%rip), %r15      # 0x16638
xorl %r12d, %r12d
movq 0x60(%r14), %rcx
leaq (%r12,%r12,2), %r13
movq (%rcx,%r13,8), %rax
cmpq %rax, 0x8(%rcx,%r13,8)
je 0x80af
xorl %ebp, %ebp
movl (%rax,%rbp,4), %edx
movq %rbx, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x3290
incq %rbp
movq 0x60(%r14), %rcx
movq (%rcx,%r13,8), %rax
movq 0x8(%rcx,%r13,8), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
cmpq %rbp, %rcx
ja 0x8083
movl $0xa, %edi
movq %rbx, %rsi
callq 0x3270
incq %r12
movl 0x58(%r14), %eax
cmpq %rax, %r12
jb 0x806e
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/0asa[P]TTree-source/ClassicNodeTree.cpp
// Function: ClassicNodeTree::test(Result&, unsigned int)
void ClassicNodeTree::test(Result &r, unsigned int obj) { 
	Node* n = root;
	std::vector<double> vote(2,0.0);
	while (!n->isLeaf()) {
		n = n->propagate(obj);
	}
	std::vector<unsigned int> list = n->getLS();
	for (int i = 0 ; i < list.size() ; ++i)
		vote[db->getOutput(list[i])]++;
	vote[0] /= list.size();
	vote[1] /= list.size();
	r.prob.push(obj,vote[1],(double)db->getOutput(obj));
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %r15
movq 0x50(%rdi), %r12
movl $0x10, %edi
callq 0x3200
movq %rax, %rbx
xorpd %xmm0, %xmm0
movupd %xmm0, (%rax)
movq %r12, %rdi
callq 0x110f6
testb %al, %al
jne 0x8986
movq %r12, %rdi
movl %ebp, %esi
callq 0x11222
movq %rax, %r12
jmp 0x896b
leaq 0x8(%rsp), %rdi
movq %r12, %rsi
callq 0x7b1c
movq 0x8(%rsp), %rax
movq 0x10(%rsp), %rdx
movq %rdx, %rcx
subq %rax, %rcx
sarq $0x2, %rcx
cmpq %rax, %rdx
je 0x89ea
movq 0x8(%r15), %rdx
movq 0x28(%rdx), %rdx
cmpq $0x1, %rcx
movq %rcx, %rsi
adcq $0x0, %rsi
xorl %edi, %edi
movsd 0xdd3f(%rip), %xmm0     # 0x16708
movl (%rax,%rdi,4), %r8d
movswq (%rdx,%r8,2), %r8
movsd (%rbx,%r8,8), %xmm1
addsd %xmm0, %xmm1
movsd %xmm1, (%rbx,%r8,8)
incq %rdi
cmpq %rdi, %rsi
jne 0x89c9
movq %rcx, %xmm1
punpckldq 0xdce9(%rip), %xmm1 # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0xdcf1(%rip), %xmm1     # 0x166f0
movapd %xmm1, %xmm2
unpckhpd %xmm1, %xmm2            # xmm2 = xmm2[1],xmm1[1]
movupd (%rbx), %xmm0
unpcklpd %xmm1, %xmm1            # xmm1 = xmm1[0,0]
addpd %xmm2, %xmm1
divpd %xmm1, %xmm0
movupd %xmm0, (%rbx)
addq $0x8, %r14
movq 0x8(%r15), %rax
movl %ebp, %ecx
movq 0x28(%rax), %rax
movswl (%rax,%rcx,2), %eax
xorps %xmm1, %xmm1
cvtsi2sd %eax, %xmm1
unpckhpd %xmm0, %xmm0            # xmm0 = xmm0[1,1]
movq %r14, %rdi
movl %ebp, %esi
callq 0x11574
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x8a59
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x3210
movl $0x10, %esi
movq %rbx, %rdi
callq 0x3210
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x8a94
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x3210
jmp 0x8a94
jmp 0x8a91
movq %rax, %r14
movl $0x10, %esi
movq %rbx, %rdi
callq 0x3210
movq %r14, %rdi
callq 0x3320
nop
// File: /workspace/github_cpp_makefile_star2_O1/0asa[P]TTree-source/ClassicNodeTree.cpp
// Function: ClassicNodeTree::test(std::vector<unsigned int, std::allocator<unsigned int>>*)
Result ClassicNodeTree::test(std::vector<unsigned int> *set) {
	Result r(db);
	for (int i = 0 ; i < set->size() ; ++i) {
		test(r,(*set)[i]);
	}
	return r;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq 0x8(%rsi), %rsi
callq 0x12870
movq (%r14), %rax
cmpq %rax, 0x8(%r14)
je 0x8af6
xorl %r12d, %r12d
movl (%rax,%r12,4), %edx
movq (%r15), %rax
movq %r15, %rdi
movq %rbx, %rsi
callq *0x18(%rax)
incq %r12
movq (%r14), %rax
movq 0x8(%r14), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
cmpq %r12, %rcx
ja 0x8ad0
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x1288e
movq %r14, %rdi
callq 0x3320
// File: /workspace/github_cpp_makefile_star2_O1/0asa[P]TTree-source/ClassicNodeTree.cpp
// Function: ClassicNodeTree::testnmin(Result&, unsigned int, int)
void ClassicNodeTree::testnmin(Result &r, unsigned int obj,int nmin) { 
	Node* n = root;
	std::vector<double> vote(2,0.0);
	while (!n->isLeaf() && n->getSize() >= nmin) {
		n = n->propagate(obj);
	}
	std::vector<unsigned int> list = n->getLS();
	for (int i = 0 ; i < list.size() ; ++i)
		vote[db->getOutput(list[i])]++;
	vote[0] /= list.size();
	vote[1] /= list.size();
	r.prob.push(obj,vote[1],(double)db->getOutput(obj));
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %ecx, %r12d
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %r15
movq 0x50(%rdi), %r13
movl $0x10, %edi
callq 0x3200
movq %rax, %rbx
xorpd %xmm0, %xmm0
movupd %xmm0, (%rax)
movq %r13, %rdi
callq 0x110f6
testb %al, %al
jne 0x8b6b
cmpl %r12d, 0x58(%r13)
jb 0x8b6b
movq %r13, %rdi
movl %ebp, %esi
callq 0x11222
movq %rax, %r13
jmp 0x8b4a
movq %rsp, %rdi
movq %r13, %rsi
callq 0x7b1c
movq (%rsp), %rax
movq 0x8(%rsp), %rdx
movq %rdx, %rcx
subq %rax, %rcx
sarq $0x2, %rcx
cmpq %rax, %rdx
je 0x8bcc
movq 0x8(%r15), %rdx
movq 0x28(%rdx), %rdx
cmpq $0x1, %rcx
movq %rcx, %rsi
adcq $0x0, %rsi
xorl %edi, %edi
movsd 0xdb5d(%rip), %xmm0     # 0x16708
movl (%rax,%rdi,4), %r8d
movswq (%rdx,%r8,2), %r8
movsd (%rbx,%r8,8), %xmm1
addsd %xmm0, %xmm1
movsd %xmm1, (%rbx,%r8,8)
incq %rdi
cmpq %rdi, %rsi
jne 0x8bab
movq %rcx, %xmm1
punpckldq 0xdb07(%rip), %xmm1 # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0xdb0f(%rip), %xmm1     # 0x166f0
movapd %xmm1, %xmm2
unpckhpd %xmm1, %xmm2            # xmm2 = xmm2[1],xmm1[1]
movupd (%rbx), %xmm0
unpcklpd %xmm1, %xmm1            # xmm1 = xmm1[0,0]
addpd %xmm2, %xmm1
divpd %xmm1, %xmm0
movupd %xmm0, (%rbx)
addq $0x8, %r14
movq 0x8(%r15), %rax
movl %ebp, %ecx
movq 0x28(%rax), %rax
movswl (%rax,%rcx,2), %eax
xorps %xmm1, %xmm1
cvtsi2sd %eax, %xmm1
unpckhpd %xmm0, %xmm0            # xmm0 = xmm0[1,1]
movq %r14, %rdi
movl %ebp, %esi
callq 0x11574
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x8c3a
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x3210
movl $0x10, %esi
movq %rbx, %rdi
callq 0x3210
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x8c76
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x3210
jmp 0x8c76
jmp 0x8c73
movq %rax, %r14
movl $0x10, %esi
movq %rbx, %rdi
callq 0x3210
movq %r14, %rdi
callq 0x3320
nop
// File: /workspace/github_cpp_makefile_star2_O1/0asa[P]TTree-source/ClassicNodeTree.cpp
// Function: ClassicNodeTree::testnmin(std::vector<unsigned int, std::allocator<unsigned int>>*, int)
Result ClassicNodeTree::testnmin(std::vector<unsigned int> *set, int nmin) {
	Result r(db);
	for (int i = 0 ; i < set->size() ; ++i) {
		testnmin(r,(*set)[i],nmin);
	}
	return r;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %ecx, %ebp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq 0x8(%rsi), %rsi
callq 0x12870
movq (%r14), %rax
cmpq %rax, 0x8(%r14)
je 0x8cdb
xorl %r12d, %r12d
movl (%rax,%r12,4), %edx
movq %r15, %rdi
movq %rbx, %rsi
movl %ebp, %ecx
callq 0x8b18
incq %r12
movq (%r14), %rax
movq 0x8(%r14), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
cmpq %r12, %rcx
ja 0x8cb4
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x1288e
movq %r14, %rdi
callq 0x3320
// File: /workspace/github_cpp_makefile_star2_O1/0asa[P]TTree-source/ClassicNodeTree.cpp
// Function: ClassicNodeTree::computeVimp()
void ClassicNodeTree::computeVimp() {
	Node* n = root;
	//Score sc;
	//Scorer s(db);
	//ScoreInfo si;
	//std::vector<unsigned int> left;
	//std::vector<unsigned int> right;
	Stack stack;
	stack.push(n);
	while (!stack.empty()) {
		n = stack.pop();
		if (!n->isLeaf()) {
			((TreeNodeTest*)n->getTest())->weak->computeVimp();
			std::vector<float> interm = ((TreeNodeTest*)n->getTest())->weak->getVimp(false);
			for (int i = 0 ; i < interm.size() ; ++i)
				vimp[i] += interm[i];
			stack.push(n->getLeft());
			stack.push(n->getRight());
		}
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
movq 0x50(%rdi), %r14
leaq 0x20(%rsp), %r15
movq %r15, %rdi
callq 0x155dc
movq %r15, %rdi
movq %r14, %rsi
callq 0x15604
leaq 0x20(%rsp), %r14
leaq 0x8(%rsp), %r15
movq %r14, %rdi
callq 0x1564e
testb %al, %al
jne 0x9677
movq %r14, %rdi
callq 0x1563c
movq %rax, %r12
movq %rax, %rdi
callq 0x110f6
testb %al, %al
jne 0x95b0
movq 0x30(%r12), %rax
movq 0x18(%rax), %rdi
movq (%rdi), %rax
callq *0x28(%rax)
movq 0x30(%r12), %rax
movq 0x18(%rax), %rsi
movq %r15, %rdi
xorl %edx, %edx
callq 0x10780
movq 0x8(%rsp), %rax
movq 0x10(%rsp), %rcx
subq %rax, %rcx
je 0x9631
sarq $0x2, %rcx
movq 0x38(%rbx), %rdx
cmpq $0x1, %rcx
adcq $0x0, %rcx
xorl %esi, %esi
movss (%rax,%rsi,4), %xmm0
addss (%rdx,%rsi,4), %xmm0
movss %xmm0, (%rdx,%rsi,4)
incq %rsi
cmpq %rsi, %rcx
jne 0x961a
movq %r12, %rdi
callq 0x11108
movq %r14, %rdi
movq %rax, %rsi
callq 0x15604
movq %r12, %rdi
callq 0x1110e
movq %r14, %rdi
movq %rax, %rsi
callq 0x15604
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x95b0
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x3210
jmp 0x95b0
leaq 0x20(%rsp), %rdi
callq 0x155ec
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0x96ad
jmp 0x96ad
movq %rax, %rbx
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x96b0
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x3210
jmp 0x96b0
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x155ec
movq %rbx, %rdi
callq 0x3320
// File: /workspace/github_cpp_makefile_star2_O1/0asa[P]TTree-source/./Sampler.h
// Function: std::vector<unsigned int, std::allocator<unsigned int>> Sampler::random<unsigned int>(std::vector<unsigned int, std::allocator<unsigned int>>&, int)
std::vector<T> Sampler::random(std::vector<T> &v, int nb) {
	std::vector<T> ret(nb);
	std::vector<T> tmp(v);
	Sampler::shake(tmp,nb);
	if (nb<v.size())
		for (int i = 0 ; i < nb ; ++i)
			ret[i] = tmp[i];
	else
		return tmp;
	return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movl %edx, %ebp
movq %rsi, %r13
movq %rdi, %rbx
movslq %edx, %r12
leaq 0x8(%rsp), %r14
leaq 0x20(%rsp), %rdx
movq %r14, %rdi
movq %r12, %rsi
callq 0x9e80
leaq 0x20(%rsp), %r15
movq %r15, %rdi
movq %r13, %rsi
callq 0x7b1c
movq %r15, %rdi
movl %r12d, %esi
callq 0x9f0a
movq 0x8(%r13), %rax
subq (%r13), %rax
sarq $0x2, %rax
cmpq %r12, %rax
jbe 0x9d1f
testl %ebp, %ebp
jle 0x9d1c
movq 0x20(%rsp), %rax
movq 0x8(%rsp), %rcx
movl %ebp, %edx
xorl %esi, %esi
movl (%rax,%rsi,4), %edi
movl %edi, (%rcx,%rsi,4)
incq %rsi
cmpq %rsi, %rdx
jne 0x9d0e
movq %r14, %r15
movq (%r15), %rax
movq %rax, (%rbx)
movups 0x8(%r15), %xmm0
movups %xmm0, 0x8(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, (%r15)
movq $0x0, 0x10(%r15)
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x9d54
movq 0x30(%rsp), %rsi
subq %rdi, %rsi
callq 0x3210
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x9d6b
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x3210
movq %rbx, %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x9d97
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x3210
movq %rbx, %rdi
callq 0x3320
nop
// File: /workspace/github_cpp_makefile_star2_O1/0asa[P]TTree-source/./Sampler.h
// Function: void Sampler::shake<unsigned int>(std::vector<unsigned int, std::allocator<unsigned int>>&, int)
void Sampler::shake(std::vector<T> &v, int s) {
	int pos = 0;
	if (s<0 || s> (int) v.size()) s = (int) v.size();
	for (int i = 0 ; i < s; ++i) {
		int p = pos + (rand() % (v.size()-pos));
		T tmp = v[pos];
		v[pos++] = v[p];
		v[p] = tmp;
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
testl %esi, %esi
js 0x9f25
movq 0x8(%rbx), %rax
subq (%rbx), %rax
shrq $0x2, %rax
cmpl %esi, %eax
jge 0x9f30
movq 0x8(%rbx), %rsi
subq (%rbx), %rsi
shrq $0x2, %rsi
testl %esi, %esi
jle 0x9f73
movl %esi, %r14d
xorl %r15d, %r15d
callq 0x30a0
cltq
movq (%rbx), %rcx
movq 0x8(%rbx), %rsi
subq %rcx, %rsi
sarq $0x2, %rsi
subq %r15, %rsi
xorl %edx, %edx
divq %rsi
addl %r15d, %edx
movl (%rcx,%r15,4), %eax
movslq %edx, %rdx
movl (%rcx,%rdx,4), %esi
movl %esi, (%rcx,%r15,4)
incq %r15
movl %eax, (%rcx,%rdx,4)
cmpq %r14, %r15
jne 0x9f3a
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/0asa[P]TTree-source/ClassicTree.cpp
// Function: ClassicTree::learntbf()
double ClassicTree::learntbf() { 
	clock_t clock_start = clock();
	Scorer s(db);
	std::vector<unsigned int> lsleft;
	std::vector<unsigned int> lsright;
	TrueBestFirstStack stack(db);
	stack.setK(k);
	root = new Node();	root->setLS((*ls));	stack.push(root, (*cand));

	while (!stack.empty() && complexity < maxcomplexity) {
		Node *n = stack.pop();
		std::vector<unsigned int> set = n->getLS();
	
		if (set.size() >= nmin && !n->isLeaf()) { // !isLeaf() because of the TBF !
			stack.push(n->getLeft(), (*cand));
			stack.push(n->getRight(), (*cand));
			complexity++;
		} 
	}
	stack.clearStack();
	createProbsInLeaf();
	return (clock() - clock_start);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa0, %rsp
movq %rdi, %r14
callq 0x3130
movq %rax, %rbx
movq 0x8(%r14), %rsi
leaq 0x78(%rsp), %rdi
callq 0x135c8
movq 0x8(%r14), %rsi
leaq 0x38(%rsp), %rdi
callq 0x15738
movl 0x58(%r14), %esi
leaq 0x38(%rsp), %rdi
callq 0x1578e
movl $0x60, %edi
callq 0x3200
movq %rax, %r15
movq %rax, %rdi
callq 0x1103c
movq %r15, 0x50(%r14)
movq 0x20(%r14), %rsi
leaq 0x20(%rsp), %rdi
callq 0x7b1c
leaq 0x20(%rsp), %rsi
movq %r15, %rdi
callq 0x7392
movq 0x8(%r15), %rax
subq (%r15), %rax
sarq $0x2, %rax
movl 0x58(%r15), %ecx
cmpq %rcx, %rax
jbe 0xaf53
movl %eax, 0x58(%r15)
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0xaf6a
movq 0x30(%rsp), %rsi
subq %rdi, %rsi
callq 0x3210
movq 0x30(%r14), %rdx
movq 0x50(%r14), %rsi
leaq 0x38(%rsp), %rdi
callq 0x157a8
leaq 0x38(%rsp), %r15
movq %rsp, %r12
movq %r15, %rdi
callq 0x1564e
testb %al, %al
jne 0xb02b
movl 0x14(%r14), %eax
cmpl 0x18(%r14), %eax
jge 0xb02b
movq %r15, %rdi
callq 0x15792
movq %rax, %r13
movq %r12, %rdi
movq %rax, %rsi
callq 0x7b1c
movq 0x8(%rsp), %rax
subq (%rsp), %rax
sarq $0x2, %rax
movslq 0x10(%r14), %rcx
cmpq %rcx, %rax
jb 0xb00c
movq %r13, %rdi
callq 0x110f6
testb %al, %al
jne 0xb00c
movq %r13, %rdi
callq 0x11108
movq 0x30(%r14), %rdx
movq %r15, %rdi
movq %rax, %rsi
callq 0x157a8
movq %r13, %rdi
callq 0x1110e
movq 0x30(%r14), %rdx
movq %r15, %rdi
movq %rax, %rsi
callq 0x157a8
incl 0x14(%r14)
movq (%rsp), %rdi
testq %rdi, %rdi
je 0xaf84
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x3210
jmp 0xaf84
leaq 0x38(%rsp), %rdi
callq 0x15c42
movq %r14, %rdi
callq 0xa742
callq 0x3130
subq %rbx, %rax
cvtsi2sd %rax, %xmm0
movsd %xmm0, 0x18(%rsp)
leaq 0x38(%rsp), %rdi
callq 0x1576c
leaq 0x78(%rsp), %rdi
callq 0x1361e
movsd 0x18(%rsp), %xmm0
addq $0xa0, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0xb0aa
movq 0x30(%rsp), %rsi
jmp 0xb0d7
movq %rax, %rbx
movl $0x60, %esi
movq %r15, %rdi
jmp 0xb0da
movq %rax, %rbx
jmp 0xb0b4
jmp 0xb0a7
jmp 0xb0a7
jmp 0xb0a7
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x1576c
leaq 0x78(%rsp), %rdi
callq 0x1361e
movq %rbx, %rdi
callq 0x3320
movq %rax, %rbx
movq (%rsp), %rdi
testq %rdi, %rdi
je 0xb0aa
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x3210
jmp 0xb0aa
nop
// File: /workspace/github_cpp_makefile_star2_O1/0asa[P]TTree-source/ClassicTree.cpp
// Function: ClassicTree::testnmin(Result&, unsigned int, int)
void ClassicTree::testnmin(Result &r, unsigned int obj, int nmin) { 
	Node* n = root;
	while (!n->isLeaf() && n->getSize() >= nmin ) {
		n = n->propagate((double)db->getAttVal(obj, n->getAtt()));
	}
	r.prob.push(obj,n->getVote(1),(double)db->getOutput(obj));
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %ebp
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
movq 0x50(%rdi), %r12
movq %r12, %rdi
callq 0x110f6
testb %al, %al
jne 0xb8d2
cmpl %ebp, 0x58(%r12)
jb 0xb8d2
movq 0x8(%r15), %r13
movq %r12, %rdi
callq 0x111f4
movl 0x24(%r13), %ecx
imull %ebx, %ecx
addl %eax, %ecx
movq 0x40(%r13), %rax
movswl (%rax,%rcx,2), %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
movq %r12, %rdi
callq 0x11208
movq %rax, %r12
movq %rax, %rdi
jmp 0xb88e
addq $0x8, %r14
movq 0x38(%r12), %rax
movsd 0x8(%rax), %xmm0
movq 0x8(%r15), %rax
movl %ebx, %ecx
movq 0x28(%rax), %rax
movswl (%rax,%rcx,2), %eax
cvtsi2sd %eax, %xmm1
movq %r14, %rdi
movl %ebx, %esi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x11574
// File: /workspace/github_cpp_makefile_star2_O1/0asa[P]TTree-source/ClassicTree.cpp
// Function: ClassicTree::testnmin(std::vector<unsigned int, std::allocator<unsigned int>>*, int)
Result ClassicTree::testnmin(std::vector<unsigned int> *set, int nmin) {
	Result r(db);
	for (int i = 0 ; i < set->size() ; ++i) {
		testnmin(r,set->at(i),nmin);
	}
	return r;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %ecx, %ebp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq 0x8(%rsi), %rsi
callq 0x12870
movq (%r14), %rax
cmpq %rax, 0x8(%r14)
je 0xb9a5
xorl %r12d, %r12d
movl (%rax,%r12,4), %edx
movq %r15, %rdi
movq %rbx, %rsi
movl %ebp, %ecx
callq 0xb872
incq %r12
movq (%r14), %rax
movq 0x8(%r14), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
cmpq %r12, %rcx
ja 0xb97e
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x1288e
movq %r14, %rdi
callq 0x3320
// File: /workspace/github_cpp_makefile_star2_O1/0asa[P]TTree-source/ClassicTree.cpp
// Function: ClassicTree::test(Result&, unsigned int)
void ClassicTree::test(Result &r, unsigned int obj) { 
	Node* n = root;
	while (!n->isLeaf()) {
		n = n->propagate((double)db->getAttVal(obj, n->getAtt()));
	}
	r.prob.push(obj,n->getVote(1),(double)db->getOutput(obj));
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
movq 0x50(%rdi), %r12
movq %r12, %rdi
callq 0x110f6
testb %al, %al
jne 0xba57
movq 0x8(%r15), %r13
movq %r12, %rdi
callq 0x111f4
movl 0x24(%r13), %ecx
imull %ebx, %ecx
addl %eax, %ecx
movq 0x40(%r13), %rax
movswl (%rax,%rcx,2), %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
movq %r12, %rdi
callq 0x11208
movq %rax, %r12
movq %rax, %rdi
jmp 0xba1a
addq $0x8, %r14
movq 0x38(%r12), %rax
movsd 0x8(%rax), %xmm0
movq 0x8(%r15), %rax
movl %ebx, %ecx
movq 0x28(%rax), %rax
movswl (%rax,%rcx,2), %eax
cvtsi2sd %eax, %xmm1
movq %r14, %rdi
movl %ebx, %esi
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x11574
// File: /workspace/github_cpp_makefile_star2_O1/0asa[P]TTree-source/ClassicTree.cpp
// Function: ClassicTree::test(std::vector<unsigned int, std::allocator<unsigned int>>*)
Result ClassicTree::test(std::vector<unsigned int> *set) {
	Result r(db);
	for (int i = 0 ; i < set->size() ; ++i) {
		test(r,set->at(i));
	}
	return r;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq 0x8(%rsi), %rsi
callq 0x12870
movq (%r14), %rax
cmpq %rax, 0x8(%r14)
je 0xbad6
xorl %r12d, %r12d
movl (%rax,%r12,4), %edx
movq (%r15), %rax
movq %r15, %rdi
movq %rbx, %rsi
callq *0x18(%rax)
incq %r12
movq (%r14), %rax
movq 0x8(%r14), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
cmpq %r12, %rcx
ja 0xbab0
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x1288e
movq %r14, %rdi
callq 0x3320
// File: /workspace/github_cpp_makefile_star2_O1/0asa[P]TTree-source/ClassicTree.cpp
// Function: ClassicTree::computeVimp()
void ClassicTree::computeVimp() {
	Node* n = root;
	Score sc;
	Scorer s(db);
	ScoreInfo si;
	std::vector<unsigned int> left;
	std::vector<unsigned int> right;
	Stack stack;
	stack.push(n);
	while (!stack.empty()) {
		n = stack.pop();
		if (!n->isLeaf()) {
			si.attribute = n->getAtt();
			si.threshold = n->getTh();
			std::vector<unsigned int> set = n->getLS();
			ContingencyTable ct = s.getContingencyTable(set,si.attribute,si.threshold);
			vimp[n->getAtt()] += sc.getMutualInfo(ct) * set.size();
			stack.push(n->getLeft());
			stack.push(n->getRight());
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x118, %rsp            # imm = 0x118
movq 0x50(%rdi), %r14
movl $0x1, 0x4(%rsp)
movq %rdi, 0x20(%rsp)
movq 0x8(%rdi), %rsi
leaq 0x78(%rsp), %rdi
callq 0x135c8
leaq 0x48(%rsp), %rdi
callq 0x1355c
leaq 0x30(%rsp), %rdi
callq 0x155dc
leaq 0x30(%rsp), %rdi
movq %r14, %rsi
callq 0x15604
leaq 0x30(%rsp), %r14
leaq 0x8(%rsp), %r15
leaq 0xa0(%rsp), %r12
movq %r14, %rdi
callq 0x1564e
testb %al, %al
jne 0xbc89
movq %r14, %rdi
callq 0x1563c
movq %rax, %r13
movq %rax, %rdi
callq 0x110f6
testb %al, %al
jne 0xbb5b
movq %r13, %rdi
callq 0x111f4
movl %eax, 0x64(%rsp)
movq %r13, %rdi
callq 0x111fe
movsd %xmm0, 0x68(%rsp)
movq %r15, %rdi
movq %r13, %rsi
callq 0x7b1c
movl 0x64(%rsp), %ecx
movsd 0x68(%rsp), %xmm0
movq %r12, %rdi
leaq 0x78(%rsp), %rsi
movq %r15, %rdx
callq 0x14006
leaq 0x4(%rsp), %rdi
movq %r12, %rsi
callq 0x1346c
movsd %xmm0, 0x28(%rsp)
movq 0x8(%rsp), %rbx
movq 0x10(%rsp), %rbp
movq %r13, %rdi
callq 0x111f4
subq %rbx, %rbp
sarq $0x2, %rbp
movq %rbp, %xmm0
punpckldq 0xaae6(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0xaaee(%rip), %xmm0     # 0x166f0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
cltq
movq 0x20(%rsp), %rcx
movq 0x38(%rcx), %rcx
xorps %xmm0, %xmm0
cvtss2sd (%rcx,%rax,4), %xmm0
movsd 0x28(%rsp), %xmm2
mulsd %xmm1, %xmm2
addsd %xmm0, %xmm2
xorps %xmm0, %xmm0
cvtsd2ss %xmm2, %xmm0
movss %xmm0, (%rcx,%rax,4)
movq %r13, %rdi
callq 0x11108
movq %r14, %rdi
movq %rax, %rsi
callq 0x15604
movq %r13, %rdi
callq 0x1110e
movq %r14, %rdi
movq %rax, %rsi
callq 0x15604
movq %r12, %rdi
callq 0xc428
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0xbb5b
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x3210
jmp 0xbb5b
leaq 0x30(%rsp), %rdi
callq 0x155ec
leaq 0x78(%rsp), %rdi
callq 0x1361e
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xbce8
jmp 0xbcb3
movq %rax, %rbx
jmp 0xbcf5
jmp 0xbce8
movq %rax, %rbx
jmp 0xbccf
movq %rax, %rbx
leaq 0xa0(%rsp), %rdi
callq 0xc428
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0xbceb
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x3210
jmp 0xbceb
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x155ec
leaq 0x78(%rsp), %rdi
callq 0x1361e
movq %rbx, %rdi
callq 0x3320
nop
// File: /workspace/github_cpp_makefile_star2_O1/0asa[P]TTree-source/ClassicTree.cpp
// Function: ClassicTree::print(_IO_FILE*) const
void ClassicTree::print(FILE* out) const {
	Learner::print(out);
	fprintf(out,"CLASSICTREE\n");
	fprintf(out,"K=%d\n",k);
	fprintf(out,"TreeType=%s\n",me);
	
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
callq 0x10a50
leaq 0xa53d(%rip), %rdi      # 0x16759
movl $0xc, %esi
movl $0x1, %edx
movq %r14, %rcx
callq 0x3360
movl 0x58(%rbx), %edx
leaq 0xa52e(%rip), %rsi      # 0x16766
movq %r14, %rdi
xorl %eax, %eax
callq 0x3290
addq $0x5c, %rbx
leaq 0xa51f(%rip), %rsi      # 0x1676c
movq %r14, %rdi
movq %rbx, %rdx
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x3290
nop
// File: /workspace/github_cpp_makefile_star2_O1/0asa[P]TTree-source/ContingencyTable.cpp
// Function: ContingencyTable::ContingencyTable(int, int)
ContingencyTable::ContingencyTable(int nbc, int nbs) : nbclass(nbc), nbsymbol(nbs) {
	for (int i = 0 ; i < nbc ; ++i) 
		table.push_back(std::vector<double>(nbs,0.0));
	less.assign(nbc,0.0);
	geq.assign(nbc,0.0);
	sum.assign(nbc,0.0);
	t_less = 0.0;
	t_geq = 0.0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movl %esi, (%rdi)
movl %edx, 0x4(%rdi)
leaq 0x8(%rdi), %rbx
leaq 0x20(%rdi), %rax
movq %rax, 0x20(%rsp)
leaq 0x38(%rdi), %rax
movq %rax, 0x18(%rsp)
leaq 0x50(%rdi), %rax
movq %rax, 0x10(%rsp)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rdi)
movups %xmm0, 0x18(%rdi)
movups %xmm0, 0x28(%rdi)
movups %xmm0, 0x38(%rdi)
movups %xmm0, 0x48(%rdi)
movq %rdi, 0x8(%rsp)
movups %xmm0, 0x58(%rdi)
movl %esi, 0x4(%rsp)
testl %esi, %esi
jle 0xc32a
movslq %edx, %r15
leaq 0x28(%rsp), %r12
leaq 0x40(%rsp), %r13
leaq 0x3(%rsp), %rbp
movl 0x4(%rsp), %r14d
movq $0x0, 0x40(%rsp)
movq %r12, %rdi
movq %r15, %rsi
movq %r13, %rdx
movq %rbp, %rcx
callq 0xc92a
movq %rbx, %rdi
movq %r12, %rsi
callq 0xcb10
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0xc325
movq 0x38(%rsp), %rsi
subq %rdi, %rsi
callq 0x3210
decl %r14d
jne 0xc2e9
movslq 0x4(%rsp), %r15
leaq 0x28(%rsp), %rdx
movq $0x0, (%rdx)
movq 0x20(%rsp), %rdi
movq %r15, %rsi
callq 0xcd08
leaq 0x28(%rsp), %rdx
movq $0x0, (%rdx)
movq 0x18(%rsp), %rdi
movq %r15, %rsi
movq 0x10(%rsp), %r14
callq 0xcd08
leaq 0x28(%rsp), %rdx
movq $0x0, (%rdx)
movq %r14, %rdi
movq %r15, %rsi
callq 0xcd08
xorps %xmm0, %xmm0
movq 0x8(%rsp), %rax
movups %xmm0, 0x68(%rax)
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xc39e
jmp 0xc39e
jmp 0xc39e
movq %rax, %rbp
jmp 0xc3bd
movq %rax, %rbp
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0xc3bd
movq 0x38(%rsp), %rsi
subq %rdi, %rsi
callq 0x3210
movq 0x10(%rsp), %rax
movq (%rax), %rdi
testq %rdi, %rdi
je 0xc3db
movq 0x8(%rsp), %rax
movq 0x60(%rax), %rsi
subq %rdi, %rsi
callq 0x3210
movq 0x18(%rsp), %rax
movq (%rax), %rdi
testq %rdi, %rdi
je 0xc3f9
movq 0x8(%rsp), %rax
movq 0x48(%rax), %rsi
subq %rdi, %rsi
callq 0x3210
movq 0x20(%rsp), %rax
movq (%rax), %rdi
testq %rdi, %rdi
je 0xc417
movq 0x8(%rsp), %rax
movq 0x30(%rax), %rsi
subq %rdi, %rsi
callq 0x3210
movq %rbx, %rdi
callq 0xca42
movq %rbp, %rdi
callq 0x3320
nop
// File: /workspace/github_cpp_makefile_star2_O1/0asa[P]TTree-source/ContingencyTable.cpp
// Function: ContingencyTable::resetLessGeq()
void ContingencyTable::resetLessGeq() {
	less.assign(nbclass,0.0);
	geq.assign(nbclass,0.0);
	sum.assign(nbclass,0.0);
	t_less = 0.0;
	t_geq = 0.0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
addq $0x20, %rdi
movslq (%rbx), %rsi
xorl %r15d, %r15d
leaq 0x8(%rsp), %r14
movq %r15, (%r14)
movq %r14, %rdx
callq 0xcd08
leaq 0x38(%rbx), %rdi
movslq (%rbx), %rsi
movq %r15, (%r14)
leaq 0x8(%rsp), %r14
movq %r14, %rdx
callq 0xcd08
leaq 0x50(%rbx), %rdi
movslq (%rbx), %rsi
movq %r15, (%r14)
leaq 0x8(%rsp), %rdx
callq 0xcd08
xorps %xmm0, %xmm0
movups %xmm0, 0x68(%rbx)
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/0asa[P]TTree-source/ContingencyTable.cpp
// Function: ContingencyTable::reset()
void ContingencyTable::reset() {
	for (int i = 0 ; i < nbclass ; ++i)
		table[i].assign(nbsymbol,0.0);
	less.assign(nbclass,0.0);
	geq.assign(nbclass,0.0);
	sum.assign(nbclass,0.0);
	t_less = 0.0;
	t_geq = 0.0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl (%rdi), %eax
testl %eax, %eax
jle 0xc51e
xorl %r15d, %r15d
movq %rsp, %r14
xorl %r12d, %r12d
movq 0x8(%rbx), %rdi
addq %r15, %rdi
movslq 0x4(%rbx), %rsi
movq $0x0, (%rsp)
movq %r14, %rdx
callq 0xcd08
incq %r12
movslq (%rbx), %rax
addq $0x18, %r15
cmpq %rax, %r12
jl 0xc4f4
leaq 0x20(%rbx), %rdi
movslq %eax, %rsi
xorl %r15d, %r15d
movq %rsp, %r14
movq %r15, (%r14)
movq %r14, %rdx
callq 0xcd08
leaq 0x38(%rbx), %rdi
movslq (%rbx), %rsi
movq %r15, (%r14)
movq %rsp, %r14
movq %r14, %rdx
callq 0xcd08
leaq 0x50(%rbx), %rdi
movslq (%rbx), %rsi
movq %r15, (%r14)
movq %rsp, %rdx
callq 0xcd08
xorps %xmm0, %xmm0
movups %xmm0, 0x68(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/0asa[P]TTree-source/ContingencyTable.cpp
// Function: ContingencyTable::compact(double)
void ContingencyTable::compact(double th) {
	resetLessGeq();
	for (int c = 0 ; c < nbclass ; ++c)
		for (int i = 0 ; i < nbsymbol ; ++i) 
			if ((double) i > th)
				addGeq(c,table[c][i]);
			else 
				addLess(c,table[c][i]);
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movsd %xmm0, 0x8(%rsp)
movq %rdi, %rbx
callq 0xc478
movsd 0x8(%rsp), %xmm2
movslq (%rbx), %rax
testq %rax, %rax
jle 0xc61d
movl 0x4(%rbx), %ecx
xorl %edx, %edx
testl %ecx, %ecx
jle 0xc615
movq 0x8(%rbx), %r8
movq 0x20(%rbx), %rsi
movq 0x38(%rbx), %rdi
leaq (%rdx,%rdx,2), %r9
movq (%r8,%r9,8), %r8
xorl %r9d, %r9d
xorps %xmm0, %xmm0
cvtsi2sd %r9d, %xmm0
xorl %r10d, %r10d
ucomisd %xmm2, %xmm0
movq %rsi, %r11
cmovaq %rdi, %r11
seta %r10b
movsd (%r8,%r9,8), %xmm0
movsd (%r11,%rdx,8), %xmm1
addsd %xmm0, %xmm1
movsd %xmm1, (%r11,%rdx,8)
addsd 0x68(%rbx,%r10,8), %xmm0
movsd %xmm0, 0x68(%rbx,%r10,8)
incq %r9
cmpq %r9, %rcx
jne 0xc5cf
incq %rdx
cmpq %rax, %rdx
jne 0xc5b4
addq $0x10, %rsp
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/0asa[P]TTree-source/ContingencyTable.cpp
// Function: ContingencyTable::getPossibleTh()
std::vector<double> ContingencyTable::getPossibleTh() {
	std::vector<double> ret;
	int lasti = 0;
	while (isSymbolEmpty(lasti)) 
		lasti++;
	for (int i = lasti+1 ; i < nbsymbol ; ++i) {
		if (!isSymbolEmpty(i)) {
			ret.push_back((lasti+i)/2.0);
			lasti = i;
		}
	}
	return ret;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
xorpd %xmm0, %xmm0
movupd %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movl (%rsi), %ecx
movq 0x8(%rsi), %rdx
movq %rcx, %rax
shlq $0x3, %rax
leaq (%rax,%rax,2), %rsi
movl $0x1, %r12d
xorl %eax, %eax
xorpd %xmm0, %xmm0
testl %ecx, %ecx
jle 0xc769
movb $0x1, %r8b
xorl %edi, %edi
testb $0x1, %r8b
je 0xc758
movq (%rdx,%rdi), %r8
movsd (%r8,%rax,8), %xmm1
cmpeqsd %xmm0, %xmm1
movq %xmm1, %r8
andl $0x1, %r8d
jmp 0xc75b
xorl %r8d, %r8d
addq $0x18, %rdi
cmpq %rdi, %rsi
jne 0xc738
testb %r8b, %r8b
je 0xc771
incq %rax
incq %r12
jmp 0xc72f
leal 0x1(%rax), %ecx
cmpl 0x4(%r14), %ecx
jge 0xc81b
movq %rsp, %r15
movslq (%r14), %rdx
testq %rdx, %rdx
jle 0xc80e
movq 0x8(%r14), %rcx
shlq $0x3, %rdx
leaq (%rdx,%rdx,2), %rdx
movb $0x1, %dil
xorl %esi, %esi
testb $0x1, %dil
je 0xc7c1
movq (%rcx,%rsi), %rdi
movsd (%rdi,%r12,8), %xmm0
cmpeqsd 0x9f49(%rip), %xmm0     # 0x16700
movq %xmm0, %rdi
andl $0x1, %edi
jmp 0xc7c3
xorl %edi, %edi
addq $0x18, %rsi
cmpq %rsi, %rdx
jne 0xc79e
testb %dil, %dil
jne 0xc80e
addl %r12d, %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
mulsd 0x982d(%rip), %xmm0     # 0x16010
movsd %xmm0, (%rsp)
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0xc800
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x8(%rbx)
jmp 0xc80b
movq %rbx, %rdi
movq %r15, %rdx
callq 0xcfc2
movl %r12d, %eax
incq %r12
cmpl %r12d, 0x4(%r14)
jg 0xc781
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %r14
movq (%rbx), %rdi
testq %rdi, %rdi
je 0xc841
movq 0x10(%rbx), %rsi
subq %rdi, %rsi
callq 0x3210
movq %r14, %rdi
callq 0x3320
nop
// File: /workspace/github_cpp_makefile_star2_O1/0asa[P]TTree-source/ContingencyTable.cpp
// Function: ContingencyTable::isSymbolEmpty(unsigned int) const
bool ContingencyTable::isSymbolEmpty(unsigned int s) const {
	bool ret = true;
	for (int i = 0 ; i < nbclass ; ++i) 
		ret = ret && (table[i][s] == 0.0);
	return ret;	
}

// Assembly:
movslq (%rdi), %rax
testq %rax, %rax
jle 0xc890
movq 0x8(%rdi), %rcx
movl %esi, %edx
shlq $0x3, %rax
leaq (%rax,%rax,2), %rsi
movb $0x1, %al
xorl %edi, %edi
xorpd %xmm0, %xmm0
testb $0x1, %al
je 0xc884
movq (%rcx,%rdi), %rax
movsd (%rax,%rdx,8), %xmm1
cmpeqsd %xmm0, %xmm1
movq %xmm1, %rax
andl $0x1, %eax
jmp 0xc886
xorl %eax, %eax
addq $0x18, %rdi
cmpq %rdi, %rsi
jne 0xc868
retq
movb $0x1, %al
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/0asa[P]TTree-source/ContingencyTable.cpp
// Function: ContingencyTable::isClassEmpty(unsigned int) const
bool ContingencyTable::isClassEmpty(unsigned int c) const {
	bool ret = true;
	for (int i = 0 ; i < nbsymbol ; ++i) 
		ret = ret && (table[c][i] == 0.0);
	return ret;
}

// Assembly:
movslq 0x4(%rdi), %rcx
testq %rcx, %rcx
jle 0xc8d9
movl %esi, %eax
leaq (%rax,%rax,2), %rdx
shlq $0x3, %rdx
addq 0x8(%rdi), %rdx
movb $0x1, %al
xorl %esi, %esi
xorpd %xmm0, %xmm0
testb $0x1, %al
je 0xc8ce
movq (%rdx), %rax
movsd (%rax,%rsi,8), %xmm1
cmpeqsd %xmm0, %xmm1
movq %xmm1, %rax
andl $0x1, %eax
jmp 0xc8d0
xorl %eax, %eax
incq %rsi
cmpq %rsi, %rcx
jne 0xc8b3
retq
movb $0x1, %al
retq
// File: /workspace/github_cpp_makefile_star2_O1/0asa[P]TTree-source/DB.cpp
// Function: DB::select(int, int, bool) const
std::vector<SETREP> DB::select(int start, int end, bool a) const {
	if (start < 0) start = 0;
	if (a) {
		if (end < 0 || end > nbatt) end = nbatt;
	} else {
		if (end < 0 || end > nbobject) end = nbobject;
	}
	std::vector<SETREP> ret(end - start);
	for (int i = 0 ; i < end - start ; ++i) 
		ret[i] = start+i;
	return ret;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
xorl %r15d, %r15d
testl %edx, %edx
cmovgl %edx, %r15d
leaq 0x24(%rsi), %rax
testl %r8d, %r8d
cmoveq %rsi, %rax
movl (%rax), %eax
cmpl %ecx, %eax
movl %ecx, %r12d
cmovbl %eax, %r12d
testl %ecx, %ecx
cmovsl %eax, %r12d
subl %r15d, %r12d
movslq %r12d, %r14
leaq 0x7(%rsp), %rdx
movq %r14, %rsi
callq 0x9e80
testl %r14d, %r14d
jle 0xd4ef
movq (%rbx), %rax
movl %r12d, %ecx
incl %r12d
decq %rcx
movq %rcx, %xmm0
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
andl $-0x2, %r12d
negq %r12
movdqa 0x9333(%rip), %xmm1     # 0x167a0
movl $0x1, %ecx
movdqa 0x9336(%rip), %xmm2     # 0x167b0
pxor %xmm2, %xmm0
pcmpeqd %xmm3, %xmm3
movdqa 0x9356(%rip), %xmm4     # 0x167e0
movdqa %xmm1, %xmm5
pxor %xmm2, %xmm5
movdqa %xmm5, %xmm6
pcmpgtd %xmm0, %xmm6
pcmpeqd %xmm0, %xmm5
pshufd $0xf5, %xmm5, %xmm7     # xmm7 = xmm5[1,1,3,3]
pand %xmm6, %xmm7
pshufd $0xf5, %xmm6, %xmm5     # xmm5 = xmm6[1,1,3,3]
por %xmm7, %xmm5
movd %xmm5, %edx
notl %edx
testb $0x1, %dl
je 0xd4c0
movl %r15d, -0x4(%rax,%rcx,4)
pxor %xmm3, %xmm5
pextrw $0x4, %xmm5, %edx
testb $0x1, %dl
je 0xd4d5
leal 0x1(%r15), %edx
movl %edx, (%rax,%rcx,4)
paddq %xmm4, %xmm1
leaq (%r12,%rcx), %rdx
addq $0x2, %rdx
addq $0x2, %rcx
addl $0x2, %r15d
cmpq $0x1, %rdx
jne 0xd48a
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/0asa[P]TTree-source/DB.cpp
// Function: DB::getLRSet(ScoreInfo&, std::vector<unsigned int, std::allocator<unsigned int>>&, std::vector<unsigned int, std::allocator<unsigned int>>&, std::vector<unsigned int, std::allocator<unsigned int>>&)
void DB::getLRSet(ScoreInfo &si, std::vector<unsigned int> &set,
					  std::vector<unsigned int> &left, std::vector<unsigned int> &right) {
	left.clear();
	right.clear();
	
	for (int i = 0 ; i < set.size() ; ++i) {
		if (getAttVal(set[i], si.attribute) >= si.threshold)
			left.push_back(set[i]);
		else 
			right.push_back(set[i]);
	}
	// SHRINK TO FIT TRICK :
	std::vector<unsigned int>(left.begin(),left.end()).swap(left);
	std::vector<unsigned int>(right.begin(),right.end()).swap(right);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r13
movq (%rcx), %rax
cmpq %rax, 0x8(%rcx)
je 0xd63d
movq %rax, 0x8(%r14)
movq (%r8), %rax
cmpq %rax, 0x8(%r8)
je 0xd64a
movq %rax, 0x8(%r8)
movq (%r15), %rdx
cmpq %rdx, 0x8(%r15)
movq %r8, 0x8(%rsp)
je 0xd6e6
xorl %ebp, %ebp
xorl %ebx, %ebx
movl (%rdx,%rbp), %eax
movl 0x24(%r13), %ecx
imull %eax, %ecx
addl 0x1c(%r12), %ecx
movq 0x40(%r13), %rsi
movswl (%rsi,%rcx,2), %ecx
xorps %xmm0, %xmm0
cvtsi2sd %ecx, %xmm0
addq %rbp, %rdx
ucomisd 0x20(%r12), %xmm0
jae 0xd6a0
movq 0x8(%r8), %rsi
cmpq 0x10(%r8), %rsi
je 0xd6b6
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%r8)
jmp 0xd6c8
movq 0x8(%r14), %rsi
cmpq 0x10(%r14), %rsi
je 0xd6bb
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%r14)
jmp 0xd6c8
movq %r8, %rdi
jmp 0xd6be
movq %r14, %rdi
callq 0x9f7a
movq 0x8(%rsp), %r8
incq %rbx
movq (%r15), %rdx
movq 0x8(%r15), %rax
subq %rdx, %rax
sarq $0x2, %rax
addq $0x4, %rbp
cmpq %rbx, %rax
ja 0xd660
movq (%r14), %rsi
movq 0x8(%r14), %rdx
leaq 0x10(%rsp), %r15
leaq 0x7(%rsp), %rcx
movq %r15, %rdi
callq 0x9da0
movq 0x10(%r15), %rax
movq (%r14), %rdi
movq 0x8(%r14), %rcx
movq 0x10(%r14), %rsi
movq %rsi, 0x10(%r15)
movaps (%r15), %xmm0
movq %rdi, (%r15)
movq %rcx, 0x8(%r15)
movups %xmm0, (%r14)
movq %rax, 0x10(%r14)
testq %rdi, %rdi
je 0xd732
subq %rdi, %rsi
callq 0x3210
movq 0x8(%rsp), %rbx
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
leaq 0x10(%rsp), %r14
leaq 0x7(%rsp), %rcx
movq %r14, %rdi
callq 0x9da0
movq 0x10(%r14), %rax
movq (%rbx), %rdi
movq 0x8(%rbx), %rcx
movq 0x10(%rbx), %rsi
movq %rsi, 0x10(%r14)
movaps (%r14), %xmm0
movq %rdi, (%r14)
movq %rcx, 0x8(%r14)
movups %xmm0, (%rbx)
movq %rax, 0x10(%rbx)
testq %rdi, %rdi
je 0xd782
subq %rdi, %rsi
callq 0x3210
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/0asa[P]TTree-source/DB.cpp
// Function: DB::print(_IO_FILE*, bool) const
void DB::print(FILE* out, bool all) const {
	fprintf(out, "NbObject:\t%d\n", nbobject);
	fprintf(out, "NbAtt   :\t%d\n", nbatt);
	if (all) {
		for (int o = 0 ; o < nbobject ; ++o) {
			fprintf(out,"obj%d:%d,\t",o,(int) output[o]);
			for (int a = 0 ; a < nbatt; ++a) {
				fprintf(out,"%f ",(float) getAttVal(o, a));//(unsigned int) att[o*nbatt+a]);
			}
			fprintf(out,"\n");
		}
	}
	
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %ebp
movq %rsi, %rbx
movq %rdi, %r14
movl (%rdi), %edx
leaq 0x9042(%rip), %rsi      # 0x167f0
movq %rbx, %rdi
xorl %eax, %eax
callq 0x3290
movl 0x24(%r14), %edx
leaq 0x903b(%rip), %rsi      # 0x167fe
movq %rbx, %rdi
xorl %eax, %eax
callq 0x3290
testl %ebp, %ebp
je 0xd84f
cmpl $0x0, (%r14)
je 0xd84f
leaq 0x902e(%rip), %r15      # 0x1680c
leaq 0x9032(%rip), %r12      # 0x16817
xorl %r13d, %r13d
movq 0x28(%r14), %rax
movswl (%rax,%r13,2), %ecx
movq %rbx, %rdi
movq %r15, %rsi
movl %r13d, %edx
xorl %eax, %eax
callq 0x3290
movl 0x24(%r14), %eax
testl %eax, %eax
je 0xd837
xorl %ebp, %ebp
imull %r13d, %eax
addl %ebp, %eax
movq 0x40(%r14), %rcx
movswl (%rcx,%rax,2), %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
movq %rbx, %rdi
movq %r12, %rsi
movb $0x1, %al
callq 0x3290
incl %ebp
movl 0x24(%r14), %eax
cmpl %eax, %ebp
jb 0xd80b
movl $0xa, %edi
movq %rbx, %rsi
callq 0x3270
incq %r13
movl (%r14), %eax
cmpq %rax, %r13
jb 0xd7e8
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/0asa[P]TTree-source/ExtraTTrees.cpp
// Function: ExtraTTrees::ExtraTTrees(DB*, int, int, int)
ExtraTTrees::ExtraTTrees(DB *db, int _t, int _k, int n) : GroupLearner(db, n), nbtree(_t), k(_k) {
	treeType = EXTRATREE;
	internalComp = 1;
	setKint(0);
	term = new ClassicNodeTree*[nbtree];
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %ecx, %ebp
movl %edx, %r14d
movq %rdi, %rbx
movl %r8d, %edx
callq 0xef98
leaq 0x120a5(%rip), %rax     # 0x1fa58
movq %rax, (%rbx)
movl %r14d, 0x98(%rbx)
movl %ebp, 0xa8(%rbx)
movl $0x3, 0x60(%rbx)
movq $0x1, 0x58(%rbx)
movl %r14d, %edi
shlq $0x3, %rdi
callq 0x3030
movq %rax, 0xa0(%rbx)
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0xefc0
movq %r14, %rdi
callq 0x3320
nop
// File: /workspace/github_cpp_makefile_star2_O1/0asa[P]TTree-source/ExtraTTrees.cpp
// Function: ExtraTTrees::learn()
double ExtraTTrees::learn() {
	clock_t clock_start = clock();
	for (int t = 0 ; t < nbtree ; ++t) {
		fprintf(stderr, "# TTree %3d ",t+1);
		term[t] = new ClassicNodeTree((BlockDB*)db,k);
		term[t]->setKint(kint);
		term[t]->setTreeType(treeType);
		term[t]->setGroupCand(groupcand);
		term[t]->setInternalComp(internalComp);
		term[t]->setLS(ls);
		term[t]->setAttCand(cand);
		term[t]->learn();
		fprintf(stderr, "\t(complexity = %d)\n",term[t]->getComplexity());
		//fprintf(stderr, ".");
	}
	
	return (clock() - clock_start);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
callq 0x3130
movq %rax, (%rsp)
cmpl $0x0, 0x98(%r14)
je 0xdb6d
leaq 0x80(%r14), %r15
movq 0x12549(%rip), %r13     # 0x1ffd8
xorl %ebp, %ebp
movq (%r13), %rdi
leaq 0x1(%rbp), %rbx
leaq 0x8d95(%rip), %rsi      # 0x16835
movl %ebx, %edx
xorl %eax, %eax
callq 0x3290
movl $0xa0, %edi
callq 0x3200
movq %rax, %r12
movq 0x8(%r14), %rsi
movl 0xa8(%r14), %edx
movq %rax, %rdi
movl $0x1, %ecx
callq 0x8128
movq 0xa0(%r14), %rax
movq %r12, (%rax,%rbp,8)
movq 0x5c(%r14), %rax
movq 0xa0(%r14), %rcx
movq (%rcx,%rbp,8), %rdi
movq %rax, 0x5c(%rdi)
movq %r15, %rsi
callq 0xf490
movq 0xa0(%r14), %rax
movq (%rax,%rbp,8), %rdi
movl 0x58(%r14), %eax
movl %eax, 0x58(%rdi)
movq 0x20(%r14), %rsi
callq 0x105a8
movq 0x30(%r14), %rsi
movq 0xa0(%r14), %rax
movq (%rax,%rbp,8), %rdi
callq 0x105b4
movq 0xa0(%r14), %rax
movq (%rax,%rbp,8), %rdi
movq (%rdi), %rax
callq *(%rax)
movq (%r13), %r12
movq 0xa0(%r14), %rax
movq (%rax,%rbp,8), %rdi
callq 0x105ba
movq %r12, %rdi
leaq 0x8cf1(%rip), %rsi      # 0x16842
movl %eax, %edx
xorl %eax, %eax
callq 0x3290
movl 0x98(%r14), %eax
movq %rbx, %rbp
cmpq %rax, %rbx
jb 0xda91
callq 0x3130
subq (%rsp), %rax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movl $0xa0, %esi
movq %r12, %rdi
callq 0x3210
movq %rbx, %rdi
callq 0x3320
nop
// File: /workspace/github_cpp_makefile_star2_O1/0asa[P]TTree-source/ExtraTTrees.cpp
// Function: ExtraTTrees::test(std::vector<unsigned int, std::allocator<unsigned int>>*)
Result ExtraTTrees::test(std::vector<unsigned int> *set) {
	Result r(db);
	std::vector<Result> vr;
	for (int t = 0 ; t < nbtree ; ++t) 
		vr.push_back(term[t]->test(set));
	r.aggregate(vr);
	return r;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq 0x8(%rsi), %rsi
callq 0x12870
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movq $0x0, 0x10(%rsp)
cmpl $0x0, 0x98(%r15)
je 0xdcd7
xorl %ebp, %ebp
leaq 0x20(%rsp), %r12
movq %rsp, %r13
movq 0xa0(%r15), %rax
movq (%rax,%rbp,8), %rsi
movq (%rsi), %rax
movq %r12, %rdi
movq %r14, %rdx
callq *0x20(%rax)
movq %r13, %rdi
movq %r12, %rsi
callq 0xdf70
movq %r12, %rdi
callq 0x1288e
incq %rbp
movl 0x98(%r15), %eax
cmpq %rax, %rbp
jb 0xdc9e
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x12b68
movq %rsp, %rdi
callq 0xdf24
movq %rbx, %rax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xdcfe
movq %rax, %r14
jmp 0xdd10
movq %rax, %r14
leaq 0x20(%rsp), %rdi
callq 0x1288e
movq %rsp, %rdi
callq 0xdf24
movq %rbx, %rdi
callq 0x1288e
movq %r14, %rdi
callq 0x3320
// File: /workspace/github_cpp_makefile_star2_O1/0asa[P]TTree-source/ExtraTTrees.cpp
// Function: ExtraTTrees::computeVimp()
void ExtraTTrees::computeVimp() {
	for (int t = 0 ; t < nbtree ; ++t) {
		term[t]->computeVimp();
		VimpList interm = term[t]->getVimpCompact(false);
		for (int i = 0 ; i < interm.size() ; ++i)
			vimp[interm.getNum(i)] += interm.getImp(i);		
	}
}

// Assembly:
cmpl $0x0, 0x98(%rdi)
je 0xddda
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
xorl %r15d, %r15d
leaq 0x8(%rsp), %r14
movq 0xa0(%rbx), %rax
movq (%rax,%r15,8), %rdi
movq (%rdi), %rax
callq *0x28(%rax)
movq 0xa0(%rbx), %rax
movq (%rax,%r15,8), %rsi
movq %r14, %rdi
xorl %edx, %edx
callq 0x10654
movq 0x8(%rsp), %rax
movq 0x10(%rsp), %rcx
subq %rax, %rcx
shrq $0x4, %rcx
testl %ecx, %ecx
jle 0xddb7
movq 0x38(%rbx), %rdx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
shlq $0x4, %rcx
xorl %esi, %esi
movl 0x8(%rax,%rsi), %edi
xorps %xmm0, %xmm0
cvtss2sd (%rdx,%rdi,4), %xmm0
addsd (%rax,%rsi), %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, (%rdx,%rdi,4)
addq $0x10, %rsi
cmpq %rsi, %rcx
jne 0xdd94
movq %r14, %rdi
callq 0x15d88
incq %r15
movl 0x98(%rbx), %eax
cmpq %rax, %r15
jb 0xdd49
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
nop