LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/0asa[P]TTree-source/ExtraTrees.cpp
// Function: ExtraTrees::learn()
double ExtraTrees::learn() {
	clock_t clock_start = clock();
	for (int t = 0 ; t < nbtree ; ++t) {
		term[t] = new ClassicTree(db,nmin,k);
		term[t]->setLearnFonction(EXTRATREE); 
		term[t]->setLS(ls);
		term[t]->setAttCand(cand);
		term[t]->learn();
		fprintf(_treeinfo, "Tree %03d - Complexity : %03d - ",t+1,term[t]->getComplexity());
		// 09-07-2012
		fprintf(_treeinfo, "MaxDepth : %03d - ",term[t]->getMaxDepth());
		Result result(db);
		result = test(t+1,ts);
		fprintf(_treeinfo,"Error rate : %f %%\n", result.getErrorRate());
		result.printProb(_treeinfo);
	}
	return (clock() - clock_start);	
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rdi, %r14
callq 0x3130
movq %rax, (%rsp)
cmpl $0x0, 0x58(%r14)
je 0xe62f
leaq 0x60(%rsp), %rbp
leaq 0x8(%rsp), %rbx
xorl %r12d, %r12d
movl $0x170, %edi            # imm = 0x170
callq 0x3200
movq %rax, %r15
movq 0x8(%r14), %rsi
movl 0x10(%r14), %edx
movl 0x5c(%r14), %ecx
movq %rax, %rdi
callq 0xa068
movq 0x60(%r14), %rax
movq %r15, (%rax,%r12,8)
movq 0x60(%r14), %rax
movq (%rax,%r12,8), %rax
leaq -0x33eb(%rip), %rcx     # 0xb0ec
movq %rcx, 0x160(%rax)
movq $0x0, 0x168(%rax)
movabsq $0x4552544152545845, %rcx # imm = 0x4552544152545845
movq %rcx, 0x5c(%rax)
movw $0x45, 0x64(%rax)
movq 0x20(%r14), %rsi
movq 0x60(%r14), %rax
movq (%rax,%r12,8), %rdi
callq 0x1057c
movq 0x30(%r14), %rsi
movq 0x60(%r14), %rax
movq (%rax,%r12,8), %rdi
callq 0x10588
movq 0x60(%r14), %rax
movq (%rax,%r12,8), %rdi
movq (%rdi), %rax
callq *(%rax)
movq 0x60(%r14), %rax
movq 0x68(%r14), %r13
leaq 0x1(%r12), %r15
movq (%rax,%r12,8), %rdi
callq 0x1058e
movq %r13, %rdi
leaq 0x8318(%rip), %rsi      # 0x16864
movl %r15d, %edx
movl %eax, %ecx
xorl %eax, %eax
callq 0x3290
movq 0x60(%r14), %rax
movq 0x68(%r14), %rdi
movq (%rax,%r12,8), %rax
movl 0x15c(%rax), %edx
leaq 0x8314(%rip), %rsi      # 0x16885
xorl %eax, %eax
callq 0x3290
movq 0x8(%r14), %rsi
movq %rbp, %rdi
callq 0x12808
movq 0x28(%r14), %rcx
movq %rbx, %rdi
movq %r14, %rsi
movl %r15d, %edx
callq 0xe68a
movq 0x8(%rsp), %rax
movq %rax, 0x60(%rsp)
leaq 0x68(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x73dc
leaq 0x80(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x74ca
movl 0x40(%rsp), %eax
movl %eax, 0x98(%rsp)
leaq 0xa0(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0x75b6
movq %rbx, %rdi
callq 0x12826
movq 0x68(%r14), %r13
movq %rbp, %rdi
movsd 0x7a1b(%rip), %xmm0     # 0x16010
callq 0x12848
movq %r13, %rdi
leaq 0x7da4(%rip), %rsi      # 0x163a8
movb $0x1, %al
callq 0x3290
movq 0x68(%r14), %rsi
movq %rbp, %rdi
callq 0x12830
movq %rbp, %rdi
callq 0x12826
movl 0x58(%r14), %eax
movq %r15, %r12
cmpq %rax, %r15
jb 0xe49f
callq 0x3130
subq (%rsp), %rax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movl $0x170, %esi            # imm = 0x170
movq %r15, %rdi
callq 0x3210
jmp 0xe682
jmp 0xe666
movq %rax, %rbx
jmp 0xe678
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x12826
leaq 0x60(%rsp), %rdi
callq 0x12826
movq %rbx, %rdi
callq 0x3320
// File: /workspace/github_cpp_makefile_star2_O3/0asa[P]TTree-source/ExtraTrees.cpp
// Function: ExtraTrees::test(int, std::vector<unsigned int, std::allocator<unsigned int>>*)
Result ExtraTrees::test(int t, std::vector<unsigned int> *set) {
	Result r(db);
	std::vector<Result> vr;
	for (int _t = 0 ; _t < t ; ++_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 $0x88, %rsp
movq %rcx, %r14
movl %edx, %ebp
movq %rsi, %r15
movq 0x8(%rsi), %rsi
movq %rdi, 0x8(%rsp)
callq 0x12808
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
movq $0x0, 0x20(%rsp)
testl %ebp, %ebp
jle 0xe703
movl %ebp, %ebp
xorl %ebx, %ebx
leaq 0x30(%rsp), %r12
leaq 0x10(%rsp), %r13
movq 0x60(%r15), %rax
movq (%rax,%rbx,8), %rsi
movq (%rsi), %rax
movq %r12, %rdi
movq %r14, %rdx
callq *0x20(%rax)
movq %r13, %rdi
movq %r12, %rsi
callq 0xdf80
movq %r12, %rdi
callq 0x12826
incq %rbx
cmpq %rbx, %rbp
jne 0xe6d4
leaq 0x10(%rsp), %rsi
movq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x12b0e
leaq 0x10(%rsp), %rdi
callq 0xdf2e
movq %rbx, %rax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xe736
movq %rax, %r14
jmp 0xe748
movq %rax, %r14
leaq 0x30(%rsp), %rdi
callq 0x12826
leaq 0x10(%rsp), %rdi
callq 0xdf2e
movq 0x8(%rsp), %rdi
callq 0x12826
movq %r14, %rdi
callq 0x3320
// File: /workspace/github_cpp_makefile_star2_O3/0asa[P]TTree-source/ExtraTrees.cpp
// Function: ExtraTrees::testnmin(std::vector<unsigned int, std::allocator<unsigned int>>*, int, int)
Result ExtraTrees::testnmin(std::vector<unsigned int> *set,int nmin, int t) {
	Result r(db);
	std::vector<Result> vr;
	for (int _t = 0 ; _t < t ; ++_t) 
		vr.push_back(term[_t]->testnmin(set,nmin));
	r.aggregate(vr);
	return r;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movl %r8d, %r12d
movl %ecx, %ebp
movq %rdx, %r14
movq %rsi, %r15
movq 0x8(%rsi), %rsi
movq %rdi, 0x8(%rsp)
callq 0x12808
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
movq $0x0, 0x20(%rsp)
testl %r12d, %r12d
jle 0xe93d
movl %r12d, %ebx
xorl %r13d, %r13d
leaq 0x30(%rsp), %r12
movq 0x60(%r15), %rax
movq (%rax,%r13,8), %rsi
movq %r12, %rdi
movq %r14, %rdx
movl %ebp, %ecx
callq 0xb95e
leaq 0x10(%rsp), %rdi
movq %r12, %rsi
callq 0xdf80
movq %r12, %rdi
callq 0x12826
incq %r13
cmpq %r13, %rbx
jne 0xe90b
leaq 0x10(%rsp), %rsi
movq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x12b0e
leaq 0x10(%rsp), %rdi
callq 0xdf2e
movq %rbx, %rax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xe970
movq %rax, %r14
jmp 0xe982
movq %rax, %r14
leaq 0x30(%rsp), %rdi
callq 0x12826
leaq 0x10(%rsp), %rdi
callq 0xdf2e
movq 0x8(%rsp), %rdi
callq 0x12826
movq %r14, %rdi
callq 0x3320
// File: /workspace/github_cpp_makefile_star2_O3/0asa[P]TTree-source/ExtraTrees.cpp
// Function: ExtraTrees::computeVimp()
void ExtraTrees::computeVimp() {
	for (int t = 0 ; t < nbtree ; ++t) {
		term[t]->computeVimp();
		std::vector<float> interm = term[t]->getVimp(false);
		for (int i = 0 ; i < interm.size() ; ++i)
			vimp[i] += interm[i];		
	}
}

// Assembly:
cmpl $0x0, 0x58(%rdi)
je 0xea3c
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
xorl %r15d, %r15d
leaq 0x8(%rsp), %r14
movq 0x60(%rbx), %rax
movq (%rax,%r15,8), %rdi
movq (%rdi), %rax
callq *0x28(%rax)
movq 0x60(%rbx), %rax
movq (%rax,%r15,8), %rsi
movq %r14, %rdi
xorl %edx, %edx
callq 0x10768
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %rax
subq %rdi, %rax
je 0xea16
sarq $0x2, %rax
movq 0x38(%rbx), %rcx
cmpq $0x1, %rax
adcq $0x0, %rax
xorl %edx, %edx
movss (%rdi,%rdx,4), %xmm0
addss (%rcx,%rdx,4), %xmm0
movss %xmm0, (%rcx,%rdx,4)
incq %rdx
cmpq %rdx, %rax
jne 0xe9fd
jmp 0xea1b
testq %rdi, %rdi
je 0xea28
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x3210
incq %r15
movl 0x58(%rbx), %eax
cmpq %rax, %r15
jb 0xe9bc
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/0asa[P]TTree-source/GStump.cpp
// Function: GStump::learn()
double GStump::learn() {
	clock_t clock_start = clock();
	if (ls->size() > 0) 
		nmin = (int) ls->size();
	else 
		fprintf(stderr,"######### WARNING : NO LS SPECIFIED !!! #########\n");
	for (int t = 0 ; t < nbtree ; ++t) {
		term[t] = new ClassicTree(db,nmin);
		term[t]->setLearnFonction(); 
		term[t]->setLS(ls); // CONSUMMING...
		std::vector<unsigned int> a; a.push_back((*cand)[t]);
		term[t]->setAttCand(&a);
		term[t]->learn();
		//term[t]->setLS(emptyls);
		//fprintf(stderr, "Tree %03d - Att %03d - Complexity : %03d\n",t+1,a[0],term[t]->getComplexity());
	}
	return (clock() - clock_start);	
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %r14
callq 0x3130
movq %rax, 0x20(%rsp)
movq 0x20(%r14), %rcx
movq 0x8(%rcx), %rax
subq (%rcx), %rax
je 0xed20
shrq $0x2, %rax
movl %eax, 0x5c(%r14)
cmpl $0x0, 0x58(%r14)
jle 0xecff
xorl %r13d, %r13d
movq %rsp, %r15
xorl %ebx, %ebx
xorl %ebp, %ebp
movl $0x170, %edi            # imm = 0x170
callq 0x3200
movq %rax, %r12
movq 0x8(%r14), %rsi
movl 0x5c(%r14), %edx
movq %rax, %rdi
xorl %ecx, %ecx
callq 0xa068
movq 0x60(%r14), %rax
movq %r12, (%rax,%rbx,2)
movq 0x60(%r14), %rax
movq (%rax,%rbx,2), %rax
leaq -0x4b6f(%rip), %rcx     # 0xa0ee
movq %rcx, 0x160(%rax)
movq %r13, 0x168(%rax)
movabsq $0x4654534542544f4e, %rcx # imm = 0x4654534542544F4E
movq %rcx, 0x5c(%rax)
movabsq $0x54535249465453, %rcx # imm = 0x54535249465453
movq %rcx, 0x61(%rax)
movq 0x20(%r14), %rsi
movq 0x60(%r14), %rax
movq (%rax,%rbx,2), %rdi
callq 0x1057c
movq %r13, 0x10(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movq 0x30(%r14), %rax
movq (%rax), %rdx
addq %rbx, %rdx
movq %r15, %rdi
xorl %esi, %esi
callq 0x9f8a
movq 0x60(%r14), %rax
movq (%rax,%rbx,2), %rdi
movq %r15, %rsi
callq 0x10588
movq 0x60(%r14), %rax
movq (%rax,%rbx,2), %rdi
movq (%rdi), %rax
callq *(%rax)
movq (%rsp), %rdi
testq %rdi, %rdi
je 0xeceb
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x3210
incq %rbp
movslq 0x58(%r14), %rax
addq $0x4, %rbx
cmpq %rax, %rbp
jl 0xec27
callq 0x3130
subq 0x20(%rsp), %rax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x3769
jmp 0xec12
movq %rax, %rbx
movl $0x170, %esi            # imm = 0x170
movq %r12, %rdi
jmp 0xed4b
movq %rax, %rbx
movq (%rsp), %rdi
testq %rdi, %rdi
je 0xed50
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x3210
movq %rbx, %rdi
callq 0x3320
// File: /workspace/github_cpp_makefile_star2_O3/0asa[P]TTree-source/GStump.cpp
// Function: GStump::test(std::vector<unsigned int, std::allocator<unsigned int>>*)
Result GStump::test(std::vector<unsigned int> *set) {
	//fprintf(stderr,"GStump::test(&set)\n");
	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 0x12808
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movq $0x0, 0x10(%rsp)
cmpl $0x0, 0x58(%r15)
jle 0xee62
xorl %ebp, %ebp
leaq 0x20(%rsp), %r12
movq %rsp, %r13
movq 0x60(%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 0xdf80
movq %r12, %rdi
callq 0x12826
incq %rbp
movslq 0x58(%r15), %rax
cmpq %rax, %rbp
jl 0xee2f
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x12b0e
movq %rsp, %rdi
callq 0xdf2e
movq %rbx, %rax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xee89
movq %rax, %r14
jmp 0xee9b
movq %rax, %r14
leaq 0x20(%rsp), %rdi
callq 0x12826
movq %rsp, %rdi
callq 0xdf2e
movq %rbx, %rdi
callq 0x12826
movq %r14, %rdi
callq 0x3320
nop
// File: /workspace/github_cpp_makefile_star2_O3/0asa[P]TTree-source/GroupLearner.cpp
// Function: GroupLearner::getGroupVimpCompact(bool) const
VimpList GroupLearner::getGroupVimpCompact(bool norm) const {
	std::vector<double> ret = groupVimp;
	if (norm) {
		double max = *max_element(ret.begin(), ret.end());
		for (int i = 0 ; i < ret.size() ; ++i) 
			ret[i] /= max;
	}
	VimpList v;
	for (int i=0 ;  i < ret.size() ; ++i) {
		if (ret[i] != 0.0) {
			v.push(i, ret[i]);
		}
	}
	return v;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x20, %rsp
movl %edx, %ebp
movq %rdi, %rbx
addq $0x68, %rsi
leaq 0x8(%rsp), %rdi
callq 0xcac0
testl %ebp, %ebp
je 0xf0fd
movq 0x8(%rsp), %rax
movq 0x10(%rsp), %rcx
cmpq %rcx, %rax
sete %sil
leaq 0x8(%rax), %rdx
cmpq %rcx, %rdx
sete %dil
orb %sil, %dil
movq %rax, %rsi
jne 0xf0cd
movsd (%rax), %xmm0
movq %rax, %rsi
movsd (%rdx), %xmm1
ucomisd %xmm0, %xmm1
cmovaq %rdx, %rsi
maxsd %xmm0, %xmm1
addq $0x8, %rdx
movapd %xmm1, %xmm0
cmpq %rcx, %rdx
jne 0xf0b0
cmpq %rcx, %rax
je 0xf0fd
movsd (%rsi), %xmm0
subq %rax, %rcx
sarq $0x3, %rcx
cmpq $0x1, %rcx
adcq $0x0, %rcx
xorl %edx, %edx
movsd (%rax,%rdx,8), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, (%rax,%rdx,8)
incq %rdx
cmpq %rdx, %rcx
jne 0xf0e7
movq %rbx, %rdi
callq 0x15cd8
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %rax
cmpq %rdi, %rax
je 0xf150
xorl %r14d, %r14d
movsd (%rdi,%r14,8), %xmm0
ucomisd 0x75db(%rip), %xmm0     # 0x16700
jne 0xf129
jnp 0xf13e
movq %rbx, %rdi
movl %r14d, %esi
callq 0x15d00
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %rax
incq %r14
movq %rax, %rcx
subq %rdi, %rcx
sarq $0x3, %rcx
cmpq %r14, %rcx
ja 0xf117
testq %rdi, %rdi
je 0xf162
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x3210
movq %rbx, %rax
addq $0x20, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %r14
jmp 0xf17e
movq %rax, %r14
movq %rbx, %rdi
callq 0x15ce8
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0xf195
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x3210
movq %r14, %rdi
callq 0x3320
nop
// File: /workspace/github_cpp_makefile_star2_O3/0asa[P]TTree-source/GroupLearner.cpp
// Function: GroupLearner::getGroupVimp(bool) const
std::vector<double> GroupLearner::getGroupVimp(bool norm) const {
	std::vector<double> ret = groupVimp;
	if (!norm) {
		return ret;
	} else {
		double max = *max_element(ret.begin(), ret.end());
		for (int i = 0 ; i < ret.size() ; ++i) 
			ret[i] /= max;
		return ret;
	}
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movl %edx, %ebp
movq %rdi, %rbx
addq $0x68, %rsi
callq 0xcac0
testl %ebp, %ebp
je 0xf228
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
cmpq %rcx, %rax
sete %sil
leaq 0x8(%rax), %rdx
cmpq %rcx, %rdx
sete %dil
orb %sil, %dil
movq %rax, %rsi
jne 0xf1f8
movsd (%rax), %xmm0
movq %rax, %rsi
movsd (%rdx), %xmm1
ucomisd %xmm0, %xmm1
cmovaq %rdx, %rsi
maxsd %xmm0, %xmm1
addq $0x8, %rdx
movapd %xmm1, %xmm0
cmpq %rcx, %rdx
jne 0xf1db
cmpq %rcx, %rax
je 0xf228
movsd (%rsi), %xmm0
subq %rax, %rcx
sarq $0x3, %rcx
cmpq $0x1, %rcx
adcq $0x0, %rcx
xorl %edx, %edx
movsd (%rax,%rdx,8), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, (%rax,%rdx,8)
incq %rdx
cmpq %rdx, %rcx
jne 0xf212
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/0asa[P]TTree-source/GroupLearner.cpp
// Function: GroupLearner::printGroupVimp(_IO_FILE*, bool) const
void GroupLearner::printGroupVimp(FILE* out, bool nozero) const {
	std::vector<double> gv = getGroupVimp();
	for (int i = 0 ; i < gv.size() ; ++i)
		if (nozero && gv[i] != 0.0) {
			fprintf(out,"%d\t%f\n",i,gv[i]);
		} else if (!nozero) {
			fprintf(out,"%d\t%f\n",i,gv[i]);
		}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %rsi
movq %rsp, %r15
movq %r15, %rdi
movl $0x1, %edx
callq 0xf19e
movq (%r15), %rdi
cmpq %rdi, 0x8(%r15)
je 0xf2a6
xorl %r15d, %r15d
leaq 0x7682(%rip), %r12      # 0x168ea
movsd (%rdi,%r15,8), %xmm0
testb %bl, %bl
je 0xf27e
ucomisd 0x7486(%rip), %xmm0     # 0x16700
jne 0xf27e
jnp 0xf28e
movq %r14, %rdi
movq %r12, %rsi
movl %r15d, %edx
movb $0x1, %al
callq 0x3290
incq %r15
movq (%rsp), %rdi
movq 0x8(%rsp), %rax
subq %rdi, %rax
sarq $0x3, %rax
cmpq %r15, %rax
ja 0xf268
testq %rdi, %rdi
je 0xf2b8
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x3210
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/0asa[P]TTree-source/GroupLearner.cpp
// Function: GroupLearner::printGroupVimp(std::vector<float, std::allocator<float>>&, _IO_FILE*, int) const
void GroupLearner::printGroupVimp(std::vector<float> &gim, FILE* out, int norma) const {
	if (norma == 0) {
		for (int i = 0 ; i < gim.size() ; ++i) {
			fprintf(out,"%d\t%f\n",i,gim[i]);
		}
	} else if (norma == 1) {
		double max = *max_element(gim.begin(), gim.end());
		for (int i = 0 ; i < gim.size() ; ++i) {
			fprintf(out,"%d\t%f\n",i,gim[i]/max);
		}
	} else if (norma == 2) {
		double sum = 0.0;
		for (int i = 0 ; i < gim.size() ; ++i) sum += gim[i];
		for (int i = 0 ; i < gim.size() ; ++i) {
			fprintf(out,"%d\t%f\n",i,gim[i]/sum);
		}
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
testl %ecx, %ecx
je 0xf412
cmpl $0x1, %ecx
je 0xf37a
cmpl $0x2, %ecx
jne 0xf454
movq (%r14), %rax
movq 0x8(%r14), %rcx
movq %rcx, %rdx
subq %rax, %rdx
je 0xf454
sarq $0x2, %rdx
cmpq $0x1, %rdx
adcq $0x0, %rdx
xorpd %xmm1, %xmm1
xorl %esi, %esi
xorps %xmm0, %xmm0
cvtss2sd (%rax,%rsi,4), %xmm0
addsd %xmm0, %xmm1
incq %rsi
cmpq %rsi, %rdx
jne 0xf311
cmpq %rax, %rcx
je 0xf454
xorl %r15d, %r15d
leaq 0x75b2(%rip), %r12      # 0x168ea
movsd %xmm1, (%rsp)
xorps %xmm0, %xmm0
cvtss2sd (%rax,%r15,4), %xmm0
divsd %xmm1, %xmm0
movq %rbx, %rdi
movq %r12, %rsi
movl %r15d, %edx
movb $0x1, %al
callq 0x3290
movsd (%rsp), %xmm1
incq %r15
movq (%r14), %rax
movq 0x8(%r14), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
cmpq %r15, %rcx
ja 0xf338
jmp 0xf454
movq (%r14), %rax
movq 0x8(%r14), %rcx
cmpq %rcx, %rax
sete %sil
leaq 0x4(%rax), %rdx
cmpq %rcx, %rdx
sete %dil
orb %sil, %dil
movq %rax, %rsi
jne 0xf3bd
movss (%rax), %xmm0
movq %rax, %rsi
movss (%rdx), %xmm1
ucomiss %xmm0, %xmm1
cmovaq %rdx, %rsi
maxss %xmm0, %xmm1
addq $0x4, %rdx
movaps %xmm1, %xmm0
cmpq %rcx, %rdx
jne 0xf3a2
cmpq %rcx, %rax
je 0xf454
xorps %xmm0, %xmm0
cvtss2sd (%rsi), %xmm0
movsd %xmm0, (%rsp)
xorl %r15d, %r15d
leaq 0x750e(%rip), %r12      # 0x168ea
xorps %xmm0, %xmm0
cvtss2sd (%rax,%r15,4), %xmm0
divsd (%rsp), %xmm0
movq %rbx, %rdi
movq %r12, %rsi
movl %r15d, %edx
movb $0x1, %al
callq 0x3290
incq %r15
movq (%r14), %rax
movq 0x8(%r14), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
cmpq %r15, %rcx
ja 0xf3dc
jmp 0xf454
movq (%r14), %rax
cmpq %rax, 0x8(%r14)
je 0xf454
xorl %r15d, %r15d
leaq 0x74c5(%rip), %r12      # 0x168ea
xorps %xmm0, %xmm0
cvtss2sd (%rax,%r15,4), %xmm0
movq %rbx, %rdi
movq %r12, %rsi
movl %r15d, %edx
movb $0x1, %al
callq 0x3290
incq %r15
movq (%r14), %rax
movq 0x8(%r14), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
cmpq %r15, %rcx
ja 0xf425
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/0asa[P]TTree-source/JavaDB.cpp
// Function: JavaDB::readline(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void JavaDB::readline(std::string l) {
	char* lcopy = new char[l.size()+1];
	strcpy(lcopy,l.c_str());
	char delim[] = " ";
	char* result = strtok(lcopy,delim);
	// at this point result = name of object which is not used here
	int wc = 0;
	while (result != NULL) {
		result = strtok(NULL, delim);
		if (wc == 0) {// status
			output.push_back(atoi(result));
		} else if (wc > 0 && result != NULL) { // genotype 
			att.push_back(atof(result));
		}
		wc++;
	}
	delete[] lcopy;
	setNbAtt(wc-2);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r15
movq %rdi, %rbx
movq 0x8(%rsi), %rdi
incq %rdi
callq 0x3030
movq %rax, %r14
movq (%r15), %rsi
movq %rax, %rdi
callq 0x31c0
leaq 0x69b1(%rip), %rsi      # 0x16896
movq %r14, %rdi
callq 0x32e0
testq %rax, %rax
je 0xffa1
leaq 0x40(%rbx), %rax
movq %rax, 0x10(%rsp)
leaq 0x28(%rbx), %r13
movl $0x1, %eax
leaq 0x6987(%rip), %rbp      # 0x16896
movl %eax, %r15d
xorl %edi, %edi
movq %rbp, %rsi
callq 0x32e0
movq %rax, %r12
cmpl $0x1, %r15d
jne 0xff49
movq %r12, %rdi
callq 0x32d0
movw %ax, 0xe(%rsp)
movq 0x30(%rbx), %rsi
cmpq 0x38(%rbx), %rsi
je 0xff76
movw %ax, (%rsi)
addq $0x2, %rsi
movq %rsi, 0x30(%rbx)
jmp 0xff8f
testq %r12, %r12
je 0xff9c
movq %r12, %rdi
callq 0x3260
cvttsd2si %xmm0, %eax
movw %ax, 0xc(%rsp)
movq 0x48(%rbx), %rsi
cmpq 0x50(%rbx), %rsi
je 0xff80
movw %ax, (%rsi)
addq $0x2, %rsi
movq %rsi, 0x48(%rbx)
jmp 0xff8f
movq %r13, %rdi
leaq 0xe(%rsp), %rdx
jmp 0xff8a
movq 0x10(%rsp), %rdi
leaq 0xc(%rsp), %rdx
callq 0x103de
leal -0x1(%r15), %eax
testq %r12, %r12
jne 0xff0f
negl %r15d
jmp 0xffa7
movl $0xfffffffe, %r15d      # imm = 0xFFFFFFFE
movq %r14, %rdi
callq 0x3280
movq %rbx, %rdi
movl %r15d, %esi
callq 0xd62e
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/0asa[P]TTree-source/Learner.cpp
// Function: Learner::getVimpCompact(bool) const
VimpList Learner::getVimpCompact(bool norm) const {
	std::vector<float> ret = vimp;
	if (norm) {
		double max = *max_element(ret.begin(), ret.end());
		for (int i = 0 ; i < ret.size() ; ++i) 
			ret[i] /= max;
	}
	VimpList v;
	for (int i=0 ;  i < ret.size() ; ++i) {
		if (ret[i] != 0.0) {
			v.push(i, ret[i]);
		}
	}
	return v;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x20, %rsp
movl %edx, %ebp
movq %rdi, %rbx
addq $0x38, %rsi
leaq 0x8(%rsp), %rdi
callq 0x10ba8
testl %ebp, %ebp
je 0x106c5
movq 0x8(%rsp), %rax
movq 0x10(%rsp), %rcx
cmpq %rcx, %rax
sete %sil
leaq 0x4(%rax), %rdx
cmpq %rcx, %rdx
sete %dil
orb %sil, %dil
movq %rax, %rsi
jne 0x10695
movss (%rax), %xmm0
movq %rax, %rsi
movss (%rdx), %xmm1
ucomiss %xmm0, %xmm1
cmovaq %rdx, %rsi
maxss %xmm0, %xmm1
addq $0x4, %rdx
movaps %xmm1, %xmm0
cmpq %rcx, %rdx
jne 0x1067a
cmpq %rcx, %rax
je 0x106c5
movss (%rsi), %xmm0
subq %rax, %rcx
sarq $0x2, %rcx
cmpq $0x1, %rcx
adcq $0x0, %rcx
xorl %edx, %edx
movss (%rax,%rdx,4), %xmm1
divss %xmm0, %xmm1
movss %xmm1, (%rax,%rdx,4)
incq %rdx
cmpq %rdx, %rcx
jne 0x106af
movq %rbx, %rdi
callq 0x15cd8
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %rax
cmpq %rdi, %rax
je 0x1071b
xorl %r14d, %r14d
movss (%rdi,%r14,4), %xmm0
ucomiss 0x62b4(%rip), %xmm0     # 0x169a0
jne 0x106f0
jnp 0x10709
cvtss2sd %xmm0, %xmm0
movq %rbx, %rdi
movl %r14d, %esi
callq 0x15d00
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %rax
incq %r14
movq %rax, %rcx
subq %rdi, %rcx
sarq $0x2, %rcx
cmpq %r14, %rcx
ja 0x106df
testq %rdi, %rdi
je 0x1072d
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x3210
movq %rbx, %rax
addq $0x20, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %r14
jmp 0x10749
movq %rax, %r14
movq %rbx, %rdi
callq 0x15ce8
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x10760
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x3210
movq %r14, %rdi
callq 0x3320
// File: /workspace/github_cpp_makefile_star2_O3/0asa[P]TTree-source/Learner.cpp
// Function: Learner::getVimp(bool) const
std::vector<float> Learner::getVimp(bool norm) const {
	std::vector<float> ret = vimp;
	if (!norm) {
		return ret;
	} else {
		double max = *max_element(ret.begin(), ret.end());
		for (int i = 0 ; i < ret.size() ; ++i) 
			ret[i] /= max;
		return ret;
	}
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movl %edx, %ebp
movq %rdi, %rbx
addq $0x38, %rsi
callq 0x10ba8
testl %ebp, %ebp
je 0x107f0
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
cmpq %rcx, %rax
sete %sil
leaq 0x4(%rax), %rdx
cmpq %rcx, %rdx
sete %dil
orb %sil, %dil
movq %rax, %rsi
jne 0x107c0
movss (%rax), %xmm0
movq %rax, %rsi
movss (%rdx), %xmm1
ucomiss %xmm0, %xmm1
cmovaq %rdx, %rsi
maxss %xmm0, %xmm1
addq $0x4, %rdx
movaps %xmm1, %xmm0
cmpq %rcx, %rdx
jne 0x107a5
cmpq %rcx, %rax
je 0x107f0
movss (%rsi), %xmm0
subq %rax, %rcx
sarq $0x2, %rcx
cmpq $0x1, %rcx
adcq $0x0, %rcx
xorl %edx, %edx
movss (%rax,%rdx,4), %xmm1
divss %xmm0, %xmm1
movss %xmm1, (%rax,%rdx,4)
incq %rdx
cmpq %rdx, %rcx
jne 0x107da
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/0asa[P]TTree-source/Learner.cpp
// Function: Learner::printVimp(_IO_FILE*, bool) const
void Learner::printVimp(FILE* out, bool nozero) const {
	std::vector<float> v = getVimp();
	for (int i = 0 ; i < v.size() ; ++i)
		if (nozero && v[i] != 0.0) {
			fprintf(out,"%d\t%f\n",i,v[i]);
		} else if (!nozero) {
			fprintf(out,"%d\t%f\n",i,v[i]);
		}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %rsi
movq %rsp, %r15
movq %r15, %rdi
movl $0x1, %edx
callq 0x10768
movq (%r15), %rdi
cmpq %rdi, 0x8(%r15)
je 0x10871
xorl %r15d, %r15d
leaq 0x60ba(%rip), %r12      # 0x168ea
movss (%rdi,%r15,4), %xmm0
testb %bl, %bl
je 0x10845
ucomiss 0x615f(%rip), %xmm0     # 0x169a0
jne 0x10845
jnp 0x10859
cvtss2sd %xmm0, %xmm0
movq %r14, %rdi
movq %r12, %rsi
movl %r15d, %edx
movb $0x1, %al
callq 0x3290
incq %r15
movq (%rsp), %rdi
movq 0x8(%rsp), %rax
subq %rdi, %rax
sarq $0x2, %rax
cmpq %r15, %rax
ja 0x10830
testq %rdi, %rdi
je 0x10883
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x3210
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/0asa[P]TTree-source/Learner.cpp
// Function: Learner::printVimp(std::vector<float, std::allocator<float>>&, _IO_FILE*, int)
void Learner::printVimp(std::vector<float> &vim, FILE *out, int norma) {
	if (norma == 0) {
		for (int i = 0 ; i < vim.size() ; ++i) {
			fprintf(out,"%d\t%2.10f\n",i,vim[i]);
		}
	} else if (norma == 1) {
		double max = *max_element(vim.begin(), vim.end());
		for (int i = 0 ; i < vim.size() ; ++i) {
			fprintf(out,"%d\t%2.10f\n",i,vim[i]/max);
		}
	} else if (norma == 2) {
		double sum = 0.0;
		for (int i = 0 ; i < vim.size() ; ++i) sum += vim[i];
		for (int i = 0 ; i < vim.size() ; ++i) {
			fprintf(out,"%d\t%2.10f\n",i,vim[i]/sum);
		}
	}

}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
testl %ecx, %ecx
je 0x109de
cmpl $0x1, %ecx
je 0x10946
cmpl $0x2, %ecx
jne 0x10a20
movq (%r14), %rax
movq 0x8(%r14), %rcx
movq %rcx, %rdx
subq %rax, %rdx
je 0x10a20
sarq $0x2, %rdx
cmpq $0x1, %rdx
adcq $0x0, %rdx
xorpd %xmm1, %xmm1
xorl %esi, %esi
xorps %xmm0, %xmm0
cvtss2sd (%rax,%rsi,4), %xmm0
addsd %xmm0, %xmm1
incq %rsi
cmpq %rsi, %rdx
jne 0x108dd
cmpq %rax, %rcx
je 0x10a20
xorl %r15d, %r15d
leaq 0x60bc(%rip), %r12      # 0x169c0
movsd %xmm1, (%rsp)
xorps %xmm0, %xmm0
cvtss2sd (%rax,%r15,4), %xmm0
divsd %xmm1, %xmm0
movq %rbx, %rdi
movq %r12, %rsi
movl %r15d, %edx
movb $0x1, %al
callq 0x3290
movsd (%rsp), %xmm1
incq %r15
movq (%r14), %rax
movq 0x8(%r14), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
cmpq %r15, %rcx
ja 0x10904
jmp 0x10a20
movq (%r14), %rax
movq 0x8(%r14), %rcx
cmpq %rcx, %rax
sete %sil
leaq 0x4(%rax), %rdx
cmpq %rcx, %rdx
sete %dil
orb %sil, %dil
movq %rax, %rsi
jne 0x10989
movss (%rax), %xmm0
movq %rax, %rsi
movss (%rdx), %xmm1
ucomiss %xmm0, %xmm1
cmovaq %rdx, %rsi
maxss %xmm0, %xmm1
addq $0x4, %rdx
movaps %xmm1, %xmm0
cmpq %rcx, %rdx
jne 0x1096e
cmpq %rcx, %rax
je 0x10a20
xorps %xmm0, %xmm0
cvtss2sd (%rsi), %xmm0
movsd %xmm0, (%rsp)
xorl %r15d, %r15d
leaq 0x6018(%rip), %r12      # 0x169c0
xorps %xmm0, %xmm0
cvtss2sd (%rax,%r15,4), %xmm0
divsd (%rsp), %xmm0
movq %rbx, %rdi
movq %r12, %rsi
movl %r15d, %edx
movb $0x1, %al
callq 0x3290
incq %r15
movq (%r14), %rax
movq 0x8(%r14), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
cmpq %r15, %rcx
ja 0x109a8
jmp 0x10a20
movq (%r14), %rax
cmpq %rax, 0x8(%r14)
je 0x10a20
xorl %r15d, %r15d
leaq 0x5fcf(%rip), %r12      # 0x169c0
xorps %xmm0, %xmm0
cvtss2sd (%rax,%r15,4), %xmm0
movq %rbx, %rdi
movq %r12, %rsi
movl %r15d, %edx
movb $0x1, %al
callq 0x3290
incq %r15
movq (%r14), %rax
movq 0x8(%r14), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
cmpq %r15, %rcx
ja 0x109f1
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/0asa[P]TTree-source/Learner.cpp
// Function: Learner::print(_IO_FILE*) const
void Learner::print(FILE* out) const {
	fprintf(out,"########## Learning Set :\n");
			for (int i = 0 ; i < ls->size() ; ++i)
			fprintf(out,"%d ",(*ls)[i]);
	fprintf(out,"\n");
	fprintf(out,"########## Test     Set :\n");
	for (int i = 0 ; i < ts->size() ; ++i)
		fprintf(out,"%d ",(*ts)[i]);
	fprintf(out,"\n");
	fprintf(out,"########## Candidate Attributes :\n");
	for (int i = 0 ; i < cand->size() ; ++i)
		fprintf(out,"%d ",(*cand)[i]);
	fprintf(out,"\n");
	fprintf(out,"NMin : %d\n",nmin);
	fprintf(out,"Max Complexity : %d\n",maxcomplexity);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x5f8a(%rip), %rdi      # 0x169cb
movl $0x1a, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x3360
movq 0x20(%r14), %rcx
movq (%rcx), %rax
cmpq %rax, 0x8(%rcx)
je 0x10a95
leaq 0x5bd1(%rip), %r15      # 0x16638
xorl %r12d, %r12d
movl (%rax,%r12,4), %edx
movq %rbx, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x3290
incq %r12
movq 0x20(%r14), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
cmpq %r12, %rcx
ja 0x10a6a
movl $0xa, %edi
movq %rbx, %rsi
callq 0x3270
leaq 0x5f3d(%rip), %rdi      # 0x169e6
movl $0x1a, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x3360
movq 0x28(%r14), %rcx
movq (%rcx), %rax
cmpq %rax, 0x8(%rcx)
je 0x10afd
leaq 0x5b69(%rip), %r15      # 0x16638
xorl %r12d, %r12d
movl (%rax,%r12,4), %edx
movq %rbx, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x3290
incq %r12
movq 0x28(%r14), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
cmpq %r12, %rcx
ja 0x10ad2
movl $0xa, %edi
movq %rbx, %rsi
callq 0x3270
leaq 0x5ef0(%rip), %rdi      # 0x16a01
movl $0x22, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x3360
movq 0x30(%r14), %rcx
movq (%rcx), %rax
cmpq %rax, 0x8(%rcx)
je 0x10b65
leaq 0x5b01(%rip), %r15      # 0x16638
xorl %r12d, %r12d
movl (%rax,%r12,4), %edx
movq %rbx, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x3290
incq %r12
movq 0x30(%r14), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
cmpq %r12, %rcx
ja 0x10b3a
movl $0xa, %edi
movq %rbx, %rsi
callq 0x3270
movl 0x10(%r14), %edx
leaq 0x5ea7(%rip), %rsi      # 0x16a24
movq %rbx, %rdi
xorl %eax, %eax
callq 0x3290
movl 0x18(%r14), %edx
leaq 0x5e9d(%rip), %rsi      # 0x16a2f
movq %rbx, %rdi
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x3290
nop
// File: /workspace/github_cpp_makefile_star2_O3/0asa[P]TTree-source/Node.cpp
// Function: Node::~Node()
Node::~Node() { 
	if (!isLeaf()) {
		delete test;
		delete left;
		delete right;
	} 
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x20(%rdi), %r14
movq 0x28(%rdi), %rax
orq %r14, %rax
je 0x1108d
movq 0x30(%rbx), %rdi
testq %rdi, %rdi
je 0x11055
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x20(%rbx), %r14
testq %r14, %r14
je 0x11062
movq %r14, %rdi
callq 0x1102e
movl $0x60, %esi
movq %r14, %rdi
callq 0x3210
movq 0x28(%rbx), %r14
testq %r14, %r14
je 0x11080
movq %r14, %rdi
callq 0x1102e
movl $0x60, %esi
movq %r14, %rdi
callq 0x3210
movq 0x38(%rbx), %rdi
testq %rdi, %rdi
je 0x110a2
movq 0x48(%rbx), %rsi
subq %rdi, %rsi
callq 0x3210
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x110bd
movq 0x10(%rbx), %rsi
subq %rdi, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x3210
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/0asa[P]TTree-source/Node.cpp
// Function: Node::setTest(Learner*, double, unsigned int, int)
void Node::setTest(Learner *t, double th, unsigned int g, int _treeType) {
	treeType = _treeType;
	test = new TreeNodeTest();
	((TreeNodeTest*)test)->setTreshold(th);
	((TreeNodeTest*)test)->setWeak(t);
	((TreeNodeTest*)test)->setGroup(g);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %ebx
movsd %xmm0, (%rsp)
movq %rsi, %r15
movq %rdi, %r14
movl %ecx, 0x5c(%rdi)
movl $0x20, %edi
callq 0x3200
movq %rax, %r12
movq %rax, %rdi
callq 0x155cc
movq %r12, 0x30(%r14)
movq %r12, %rdi
movsd (%rsp), %xmm0
callq 0x1569a
movq 0x30(%r14), %rdi
movq %r15, %rsi
callq 0x15690
movq 0x30(%r14), %rdi
movl %ebx, %esi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x15696
movq %rax, %rbx
movl $0x20, %esi
movq %r12, %rdi
callq 0x3210
movq %rbx, %rdi
callq 0x3320
// File: /workspace/github_cpp_makefile_star2_O3/0asa[P]TTree-source/Node.cpp
// Function: Node::print(_IO_FILE*)
void Node::print(FILE* out) {
	if (treeType == -1) {  // NORMAL TEST NODES
		if (!isLeaf()) { 
			fprintf(out,"N%d [label=\"att=%d\\nth=%0.2f\\nsize=%d\\nc1=%0.3f\\nc2=%0.3f\"]\n",(int)getId(),getAtt(),getTh(),(int)getSize(),vote[0],vote[1]); //*p
			//fprintf(out,"N%d [peripheries=2,label=\"size=%d\\nc1=%0.3f\\nc2=%0.3f\"]\n",(int)getId(),(int)getSize()); //*p	
			fprintf(out,"N%d -> N%d;\n",getId(),getLeft()->getId());
			fprintf(out,"N%d -> N%d;\n",getId(),getRight()->getId());
			getLeft()->print(out);
			getRight()->print(out);
		} else {
			fprintf(out,"N%d [peripheries=2,label=\"size=%d\\nc1=%0.3f\\nc2=%0.3f\"]\n",(int)getId(),(int)getSize(),vote[0],vote[1]); //*p	
		}
	} else { // TTREE NODES
		if (!isLeaf()) { 
			fprintf(out,"N%d [label=\"grp=%d\\nth=%0.2f\\nsize=%d\"]\n",(int)getId(),((TreeNodeTest*)test)->getGroup(),((TreeNodeTest*)test)->getTh(),(int)getSize()); 
			
			fprintf(out,"N%d -> N%d;\n",getId(),getLeft()->getId()); 
			fprintf(out,"N%d -> N%d;\n",getId(),getRight()->getId()); 
			
			getLeft()->print(out);
			getRight()->print(out);
		} else { 
			//fprintf(out,"N%d [peripheries=2,label=\"size=%d\\nc1=%0.3f\\nc2=%0.3f\"]\n",(int)getId(),(int)getSize(),vote[0],vote[1]); 
			fprintf(out,"N%d [peripheries=2,label=\"size=%d\"]\n",(int)getId(),(int)getSize()/*,vote[0],vote[1]*/); 
		}
	}
	
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x584b(%rip), %r12      # 0x16a81
leaq 0x588a(%rip), %r13      # 0x16ac7
movq 0x28(%r14), %rax
orq 0x20(%r14), %rax
sete %al
cmpl $-0x1, 0x5c(%r14)
movl 0x50(%r14), %ebp
je 0x11284
testb %al, %al
jne 0x1130d
movq 0x30(%r14), %rdi
callq 0x156a0
movq 0x30(%r14), %rcx
movsd 0x8(%rcx), %xmm0
movl 0x58(%r14), %r8d
movq %rbx, %rdi
movq %r13, %rsi
movl %ebp, %edx
movl %eax, %ecx
movb $0x1, %al
callq 0x3290
jmp 0x112c8
testb %al, %al
jne 0x11332
movq 0x30(%r14), %rdi
callq 0x15538
movl %eax, %r15d
movq 0x30(%r14), %rdi
callq 0x1553c
movl 0x58(%r14), %r8d
movq 0x38(%r14), %rax
movsd (%rax), %xmm1
movsd 0x8(%rax), %xmm2
movq %rbx, %rdi
leaq 0x5788(%rip), %rsi      # 0x16a44
movl %ebp, %edx
movl %r15d, %ecx
movb $0x3, %al
callq 0x3290
movl 0x50(%r14), %edx
movq 0x20(%r14), %rax
movl 0x50(%rax), %ecx
movq %rbx, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq 0x3290
movl 0x50(%r14), %edx
movq 0x28(%r14), %rax
movl 0x50(%rax), %ecx
movq %rbx, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq 0x3290
movq 0x20(%r14), %rdi
movq %rbx, %rsi
callq 0x1121e
movq 0x28(%r14), %r14
jmp 0x1123d
movl 0x58(%r14), %ecx
leaq 0x57d8(%rip), %rsi      # 0x16af0
movq %rbx, %rdi
movl %ebp, %edx
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x3290
movl 0x58(%r14), %ecx
movq 0x38(%r14), %rax
movsd (%rax), %xmm0
movsd 0x8(%rax), %xmm1
leaq 0x5744(%rip), %rsi      # 0x16a8e
movq %rbx, %rdi
movl %ebp, %edx
movb $0x2, %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x3290
// File: /workspace/github_cpp_makefile_star2_O3/0asa[P]TTree-source/Probas.cpp
// Function: Probas::push(Probas&)
void Probas::push(Probas &p) {
	for (int i = 0 ; i < p.getSize() ; ++i) {
		object.push_back(p.getObj(i));
		probas.push_back(p.getProb(i));
		realclass.push_back(p.getRealClass(i));
		++size;
	}
}

// Assembly:
cmpl $0x0, 0x30(%rsi)
je 0x1151c
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x38(%rdi), %r15
leaq 0x18(%rdi), %r12
xorl %ebp, %ebp
leaq 0xa(%rsp), %r13
movq (%rbx), %rax
movl (%rax,%rbp,4), %eax
movl %eax, 0xc(%rsp)
movq 0x8(%r14), %rsi
cmpq 0x10(%r14), %rsi
je 0x1148b
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%r14)
jmp 0x11498
movq %r14, %rdi
leaq 0xc(%rsp), %rdx
callq 0x729c
movq 0x38(%rbx), %rax
movsd (%rax,%rbp,8), %xmm0
movsd %xmm0, 0x10(%rsp)
movq 0x40(%r14), %rsi
cmpq 0x48(%r14), %rsi
je 0x114bf
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x40(%r14)
jmp 0x114cc
movq %r15, %rdi
leaq 0x10(%rsp), %rdx
callq 0xcfea
movq 0x18(%rbx), %rax
movzwl (%rax,%rbp,2), %eax
movw %ax, 0xa(%rsp)
movq 0x20(%r14), %rsi
cmpq 0x28(%r14), %rsi
je 0x114f0
movw %ax, (%rsi)
addq $0x2, %rsi
movq %rsi, 0x20(%r14)
jmp 0x114fb
movq %r12, %rdi
movq %r13, %rdx
callq 0x115fc
incl 0x30(%r14)
incq %rbp
movl 0x30(%rbx), %eax
cmpq %rax, %rbp
jb 0x1146b
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/0asa[P]TTree-source/Probas.cpp
// Function: Probas::push(unsigned int, double, double)
void Probas::push(unsigned int o, double p, double rc) {
	object.push_back(o);
	probas.push_back(p);
	realclass.push_back(rc);
	++size;
}

// Assembly:
pushq %rbx
subq $0x30, %rsp
movl %esi, %eax
movq %rdi, %rbx
movl %esi, 0x1c(%rsp)
movsd %xmm0, 0x28(%rsp)
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0x1156e
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rbx)
jmp 0x11593
leaq 0x1c(%rsp), %rdx
movq %rbx, %rdi
movsd %xmm1, 0x10(%rsp)
movsd %xmm0, 0x20(%rsp)
callq 0x9f8a
movsd 0x20(%rsp), %xmm0
movsd 0x10(%rsp), %xmm1
movq 0x40(%rbx), %rsi
cmpq 0x48(%rbx), %rsi
je 0x115ab
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x40(%rbx)
jmp 0x115c5
leaq 0x38(%rbx), %rdi
leaq 0x28(%rsp), %rdx
movsd %xmm1, 0x10(%rsp)
callq 0x7d1c
movsd 0x10(%rsp), %xmm1
cvttsd2si %xmm1, %eax
movw %ax, 0xe(%rsp)
movq 0x20(%rbx), %rsi
cmpq 0x28(%rbx), %rsi
je 0x115e5
movw %ax, (%rsi)
addq $0x2, %rsi
movq %rsi, 0x20(%rbx)
jmp 0x115f3
leaq 0x18(%rbx), %rdi
leaq 0xe(%rsp), %rdx
callq 0x115fc
incl 0x30(%rbx)
addq $0x30, %rsp
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O3/0asa[P]TTree-source/./Sampler.h
// Function: std::vector<unsigned int, std::allocator<unsigned int>> Sampler::bootstrap<unsigned int>(std::vector<unsigned int, std::allocator<unsigned int>>&)
std::vector<T> Sampler::bootstrap(std::vector<T> &v) {
	std::vector<T> ret(v.size());
	for (int i = 0 ; i < v.size() ; ++i)
		ret[i] = v[rand()%v.size()];
	return ret;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq 0x8(%rsi), %rsi
subq (%r14), %rsi
sarq $0x2, %rsi
leaq 0xf(%rsp), %rdx
callq 0x9e96
movq 0x8(%r14), %rax
cmpq (%r14), %rax
je 0x11e98
xorl %r15d, %r15d
callq 0x30a0
cltq
movq (%r14), %rcx
movq 0x8(%r14), %rsi
subq %rcx, %rsi
sarq $0x2, %rsi
xorl %edx, %edx
divq %rsi
movl (%rcx,%rdx,4), %eax
movq (%rbx), %rcx
movl %eax, (%rcx,%r15,4)
incq %r15
cmpq %r15, %rsi
ja 0x11e6c
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
nopl (%rax)
// File: /workspace/github_cpp_makefile_star2_O3/0asa[P]TTree-source/RandomTTForest.cpp
// Function: RandomTTForest::RandomTTForest(DB*, int, int, int)
RandomTTForest::RandomTTForest(DB *db, int t, int _k, int n) : GroupLearner(db,n), nbtree(t), k(_k) {
	treeType = TRUEBESTFIRST;
	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 0xef5c
leaq 0xdd35(%rip), %rax      # 0x1fcc0
movq %rax, (%rbx)
movl %r14d, 0x98(%rbx)
movl %ebp, 0xa8(%rbx)
movl $0x2, 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 0xef84
movq %r14, %rdi
callq 0x3320
nop
// File: /workspace/github_cpp_makefile_star2_O3/0asa[P]TTree-source/RandomTTForest.cpp
// Function: RandomTTForest::testnmin(std::vector<unsigned int, std::allocator<unsigned int>>*, int, int)
Result RandomTTForest::testnmin(std::vector<unsigned int> *set, int nmin, int t) {
	Result r(db);
	std::vector<Result> vr;
	for (int _t = 0 ; _t < t ; ++_t) 
		vr.push_back(term[_t]->testnmin(set,nmin));
	r.aggregate(vr);
	return r;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movl %r8d, %r12d
movl %ecx, %ebp
movq %rdx, %r14
movq %rsi, %r15
movq 0x8(%rsi), %rsi
movq %rdi, 0x8(%rsp)
callq 0x12808
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
movq $0x0, 0x20(%rsp)
testl %r12d, %r12d
jle 0x125aa
movl %r12d, %ebx
xorl %r13d, %r13d
leaq 0x30(%rsp), %r12
movq 0xa0(%r15), %rax
movq (%rax,%r13,8), %rsi
movq %r12, %rdi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x8cb6
leaq 0x10(%rsp), %rdi
movq %r12, %rsi
callq 0xdf80
movq %r12, %rdi
callq 0x12826
incq %r13
cmpq %r13, %rbx
jne 0x12575
leaq 0x10(%rsp), %rsi
movq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x12b0e
leaq 0x10(%rsp), %rdi
callq 0xdf2e
movq %rbx, %rax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x125dd
movq %rax, %r14
jmp 0x125ef
movq %rax, %r14
leaq 0x30(%rsp), %rdi
callq 0x12826
leaq 0x10(%rsp), %rdi
callq 0xdf2e
movq 0x8(%rsp), %rdi
callq 0x12826
movq %r14, %rdi
callq 0x3320
nop
// File: /workspace/github_cpp_makefile_star2_O3/0asa[P]TTree-source/Result.cpp
// Function: Result::getErrorRate(double) const
double Result::getErrorRate(double th) const {
	double err = 0.0;
	double val;
	for (int i = 0 ; i < prob.getSize() ; ++i) {
		if (prob.getProb(i)>th)
			val = 1.0;
		else
			val = 0.0;
		if (val != prob.getRealClass(i))
			err++;
	}
	return err / (double) prob.getSize();
}

// Assembly:
pushq %rbp
pushq %rbx
subq $0x38, %rsp
movsd %xmm0, 0x18(%rsp)
movq %rdi, %rbx
addq $0x8, %rbx
movq %rbx, %rdi
callq 0x1143a
xorpd %xmm0, %xmm0
testl %eax, %eax
je 0x128e5
xorl %ebp, %ebp
movapd %xmm0, (%rsp)
movq %rbx, %rdi
movl %ebp, %esi
callq 0x11528
movsd 0x18(%rsp), %xmm1
cmpltsd %xmm0, %xmm1
movsd 0x3e79(%rip), %xmm0     # 0x16708
andpd %xmm0, %xmm1
movapd %xmm1, 0x20(%rsp)
movq %rbx, %rdi
movl %ebp, %esi
callq 0x11534
movapd (%rsp), %xmm2
movapd %xmm2, %xmm1
movsd 0x3e54(%rip), %xmm3     # 0x16708
addsd %xmm3, %xmm1
cmpneqsd 0x20(%rsp), %xmm0
andpd %xmm0, %xmm1
andnpd %xmm2, %xmm0
orpd %xmm1, %xmm0
movapd %xmm0, (%rsp)
incl %ebp
movq %rbx, %rdi
callq 0x1143a
movapd (%rsp), %xmm0
cmpl %eax, %ebp
jb 0x1286d
jmp 0x128ea
movapd %xmm0, (%rsp)
movq %rbx, %rdi
callq 0x1143a
movl %eax, %eax
xorps %xmm1, %xmm1
cvtsi2sd %rax, %xmm1
movapd (%rsp), %xmm0
divsd %xmm1, %xmm0
addq $0x38, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/0asa[P]TTree-source/Result.cpp
// Function: Result::getPossibleProbTh() const
std::vector<double> Result::getPossibleProbTh() const {
	std::vector<double> ret;
	std::vector<double> pcopy(prob.probas);
	sort(pcopy.begin(),pcopy.end());
	double v = pcopy[0];
	for (int i = 1 ; i < pcopy.size() ; ++i) {
		if (pcopy[i] != v) {
			ret.push_back((v+pcopy[i])/2.0);
			v = pcopy[i];
		}
	}
	return ret;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
xorpd %xmm0, %xmm0
movupd %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
addq $0x40, %rsi
leaq 0x8(%rsp), %rdi
callq 0xcac0
movq 0x8(%rsp), %r14
movq 0x10(%rsp), %r15
cmpq %r15, %r14
je 0x12980
movq %r15, %rax
subq %r14, %rax
sarq $0x3, %rax
bsrq %rax, %rdx
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
movq %r14, %rdi
movq %r15, %rsi
callq 0x12c51
movq %r14, %rdi
movq %r15, %rsi
callq 0x12d4a
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %r14
jmp 0x12983
movq %r14, %rdi
movq %r14, %rax
subq %rdi, %rax
cmpq $0x9, %rax
jb 0x12a05
movsd (%rdi), %xmm0
movl $0x1, %r12d
leaq 0x20(%rsp), %r15
movsd (%rdi,%r12,8), %xmm1
ucomisd %xmm0, %xmm1
jne 0x129ac
jnp 0x129f1
addsd %xmm1, %xmm0
mulsd 0x3658(%rip), %xmm0     # 0x16010
movsd %xmm0, 0x20(%rsp)
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x129d6
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x8(%rbx)
jmp 0x129e6
movq %rbx, %rdi
movq %r15, %rdx
callq 0xcfea
movq 0x8(%rsp), %rdi
movsd (%rdi,%r12,8), %xmm0
movq 0x10(%rsp), %r14
incq %r12
movq %r14, %rax
subq %rdi, %rax
sarq $0x3, %rax
cmpq %r12, %rax
ja 0x1299e
jmp 0x12a0a
testq %rdi, %rdi
je 0x12a17
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x3210
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %r14
jmp 0x12a47
jmp 0x12a2d
movq %rax, %r14
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x12a47
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x3210
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x12a5b
movq 0x10(%rbx), %rsi
subq %rdi, %rsi
callq 0x3210
movq %r14, %rdi
callq 0x3320
nop
// File: /workspace/github_cpp_makefile_star2_O3/0asa[P]TTree-source/Result.cpp
// Function: Result::getContingencyTable(double) const
ContingencyTable Result::getContingencyTable(double th) const {
	ContingencyTable ctable(2,2);
	unsigned int val;
	for (int i = 0 ; i < prob.getSize() ; ++i) {
		if (prob.getProb(i)>th)
			val = 1;
		else
			val = 0;
		ctable.addToTable(prob.getRealClass(i), val, db->getWeight(i));
	}
	return ctable;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movsd %xmm0, 0x8(%rsp)
movq %rsi, %r14
movq %rdi, %rbx
movl $0x2, %esi
movl $0x2, %edx
callq 0xc280
leaq 0x8(%r14), %r15
xorl %r12d, %r12d
movq %r15, %rdi
callq 0x1143a
movl %eax, %eax
cmpq %rax, %r12
jae 0x12aeb
movq %r15, %rdi
movl %r12d, %esi
callq 0x11528
movsd %xmm0, 0x10(%rsp)
movq %r15, %rdi
movl %r12d, %esi
callq 0x11534
xorl %edx, %edx
movsd 0x10(%rsp), %xmm1
ucomisd 0x8(%rsp), %xmm1
seta %dl
cvttsd2si %xmm0, %esi
movq (%r14), %rax
movq 0x8(%rax), %rax
movsd (%rax,%r12,8), %xmm0
movq %rbx, %rdi
callq 0xc578
incq %r12
jmp 0x12a91
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0xc430
movq %r14, %rdi
callq 0x3320
nop
// File: /workspace/github_cpp_makefile_star2_O3/0asa[P]TTree-source/Result.cpp
// Function: Result::aggregate(std::vector<Result, std::allocator<Result>>&)
void Result::aggregate(std::vector<Result> &vr) {
	for (int i = 1 ; i < vr.size() ; ++i)
		for (int p = 0 ; p < vr[0].prob.getSize() ; ++p)
			vr[0].prob.probas[p] += vr[i].prob.probas[p];
	
	for (int p = 0 ; p < vr[0].prob.getSize() ; ++p)
		vr[0].prob.probas[p] /= vr.size();
	
	prob = vr[0].prob;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq (%rsi), %rdi
movq 0x8(%rsi), %rax
subq %rdi, %rax
sarq $0x3, %rax
movabsq $0x2e8ba2e8ba2e8ba3, %r15 # imm = 0x2E8BA2E8BA2E8BA3
imulq %r15, %rax
cmpq $0x2, %rax
jb 0x12ba2
movl $0x1, %r12d
addq $0x8, %rdi
callq 0x1143a
testl %eax, %eax
je 0x12b88
imulq $0x58, %r12, %r13
xorl %ebp, %ebp
movq (%r14), %rdi
movq 0x40(%rdi,%r13), %rax
movsd (%rax,%rbp,8), %xmm0
movq 0x40(%rdi), %rax
addsd (%rax,%rbp,8), %xmm0
movsd %xmm0, (%rax,%rbp,8)
incq %rbp
addq $0x8, %rdi
callq 0x1143a
movl %eax, %eax
cmpq %rax, %rbp
jb 0x12b5a
incq %r12
movq (%r14), %rdi
movq 0x8(%r14), %rax
subq %rdi, %rax
sarq $0x3, %rax
imulq %r15, %rax
cmpq %r12, %rax
ja 0x12b47
addq $0x8, %rdi
callq 0x1143a
testl %eax, %eax
je 0x12c0c
xorl %r12d, %r12d
movq (%r14), %rdi
movq 0x8(%r14), %rax
subq %rdi, %rax
sarq $0x3, %rax
imulq %r15, %rax
movq %rax, %xmm0
punpckldq 0x3b0f(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x3b17(%rip), %xmm0     # 0x166f0
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
movq 0x40(%rdi), %rax
movsd (%rax,%r12,8), %xmm0
divsd %xmm1, %xmm0
movsd %xmm0, (%rax,%r12,8)
incq %r12
addq $0x8, %rdi
callq 0x1143a
movl %eax, %eax
cmpq %rax, %r12
jb 0x12bb2
movq (%r14), %r14
leaq 0x8(%r14), %rsi
leaq 0x8(%rbx), %rdi
callq 0x73dc
leaq 0x20(%rbx), %rdi
leaq 0x20(%r14), %rsi
callq 0x74ca
movl 0x38(%r14), %eax
movl %eax, 0x38(%rbx)
addq $0x40, %rbx
addq $0x40, %r14
movq %rbx, %rdi
movq %r14, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x75b6