// File: /workspace/github_cpp_makefile_star2_O3/richardposner[P]BioNetFit2/src/code/Particle.cpp
// Function: Particle::smoothRuns(unsigned int)
void Particle::smoothRuns(unsigned int mid) {
	unsigned int subParID = calcsubParID(mid);
	//if ((mid<0)|| (mid >= swarm_->getNumModels()) || (!getSubParticle(mid)) || (!models.at(mid)) || (dataFiles_.at(mid).empty())){
	if ((mid<0)|| (mid > swarm_->getNumModels()) || (!models.at(mid)) || (dataFiles_.at(mid).empty())){ //Raquel: the test !getSubParticle(mid) is not working correctly


	if (mid<0)  cout<<"E1\n";
	if (mid >= swarm_->getNumModels()) cout<<"E2\n";
	if (!getSubParticle(mid)) cout<<"E3\n";
	if (!models.at(mid))  cout<<"E4\n";
	if (dataFiles_.at(mid).empty()) cout<<"E5\n";


		outputError("smoothRun Failed. Invalid SubParticle.  PID:"+ toString(id_) + "  model id:" + toString(mid)+ "  subParID:" + toString(subParID)+". Quitting !!!");
	}

	if (swarm_->options.verbosity >= 3) {
		cout << "Smoothing simulation outputs for particle:"<<id_<<" subParticle: "<<subParID<<endl;
	}

	map<string, map<double, double> > dataSet;
	// For each action/prefix/exp file
	for (auto action = dataFiles_.at(mid).begin(); action != dataFiles_.at(mid).end(); ++action) {
		// For each column
		// Insert a new iteration into the prefix set
		//cout << "action loop " << action->first << endl;
		for (auto col = action->second.at(1)->dataCurrent->begin(); col != action->second.at(1)->dataCurrent->end(); ++col) {
			// For each timepoint
			// This map holds time/param value pairs
			//cout << "col loop " << col->first << endl;
			map<double, double> timePairs;
			for (auto time = col->second.begin(); time != col->second.end(); ++time) {
				double sum = 0;
				int i = 0;
				// For each iteration
				for (unsigned int iteration = 1; iteration <= swarm_->options.smoothing; ++iteration) {
					//cout << "it loop " << iteration << endl;
					sum += dataFiles_.at(mid).at(action->first).at(iteration)->dataCurrent->at(col->first).at(time->first);
					++i;
				}
				double average = sum / (double)i;
				//cout << "average: " << average << endl;
				pair<double, double> timePair;
				timePair = make_pair(time->first, average);
				timePairs.insert(timePair);
			}
			dataSet.insert(pair<string, map<double, double> >(col->first, timePairs));
		}
		action->second.insert(pair<int, Data*>(swarm_->options.smoothing + 1, new Data(dataSet)));
		dataSet.clear();
	}


	/*
	std::cout.precision(18);

	for (auto action = dataFiles_.begin(); action != dataFiles_.end(); ++action) {
		cout << action->first << endl;
		Data * data = action->second.at(swarm_->options.smoothing + 1);
		for (auto col = data->dataCurrent->begin(); col != data->dataCurrent->end(); ++col) {
			cout << col->first << endl;
			for (auto tp = col->second.begin(); tp != col->second.end(); ++tp) {
				cout << tp->second << endl;
			}
		}
	}
	 */
	//cout << id_ << " done smoothing" << endl;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1b8, %rsp            # imm = 0x1B8
movl %esi, %r15d
movq %rdi, %r12
movl 0x40(%rdi), %edx
decl %edx
movq 0xa8(%rdi), %rax
movq 0x15c8(%rax), %rcx
subq 0x15c0(%rax), %rcx
shrq $0x3, %rcx
imull %ecx, %edx
leal (%r15,%rdx), %ebp
incl %ebp
movl %esi, %r14d
cmpl %esi, %ecx
movq %rdi, 0xa0(%rsp)
jb 0x59fa7
movq 0x78(%r12), %rsi
movq 0x80(%r12), %rdx
subq %rsi, %rdx
sarq $0x3, %rdx
cmpq %r14, %rdx
jbe 0x5a930
cmpq $0x0, (%rsi,%r14,8)
je 0x59fa7
movq 0x90(%r12), %rsi
movq 0x98(%r12), %rdx
subq %rsi, %rdx
sarq $0x4, %rdx
movabsq $-0x5555555555555555, %rdi # imm = 0xAAAAAAAAAAAAAAAB
imulq %rdi, %rdx
cmpq %r14, %rdx
jbe 0x5a930
leaq (%r14,%r14,2), %rdx
shlq $0x4, %rdx
cmpq $0x0, 0x28(%rsi,%rdx)
jne 0x5a513
cmpl %r15d, %ecx
ja 0x59fc4
movq 0x11bff5(%rip), %rdi    # 0x175fa8
leaq 0x9f872(%rip), %rsi     # 0xf982c
movl $0x3, %edx
callq 0x22ab0
movq 0x48(%r12), %rax
movq 0x50(%r12), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
cmpq %r14, %rdx
jbe 0x5a930
cmpq $0x0, (%rax,%r14,8)
jne 0x59ffd
movq 0x11bfbc(%rip), %rdi    # 0x175fa8
leaq 0x9f83d(%rip), %rsi     # 0xf9830
movl $0x3, %edx
callq 0x22ab0
movq 0x78(%r12), %rax
movq 0x80(%r12), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
cmpq %r14, %rdx
jbe 0x5a930
cmpq $0x0, (%rax,%r14,8)
jne 0x5a039
movq 0x11bf80(%rip), %rdi    # 0x175fa8
leaq 0x9f805(%rip), %rsi     # 0xf9834
movl $0x3, %edx
callq 0x22ab0
movq 0x90(%r12), %rax
movq 0x98(%r12), %rdx
subq %rax, %rdx
sarq $0x4, %rdx
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rcx, %rdx
cmpq %r14, %rdx
jbe 0x5a930
leaq (%r14,%r14,2), %rcx
shlq $0x4, %rcx
cmpq $0x0, 0x28(%rax,%rcx)
jne 0x5a08f
movq 0x11bf2a(%rip), %rdi    # 0x175fa8
leaq 0x9f7b3(%rip), %rsi     # 0xf9838
movl $0x3, %edx
callq 0x22ab0
movl 0x40(%r12), %esi
leaq 0x198(%rsp), %rbx
movq %rbx, %rdi
callq 0xbfa49
leaq 0x9f791(%rip), %rcx     # 0xf983c
movl $0x2c, %r8d
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x22a80
leaq 0x168(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x5a0ee
movq %rdx, 0x158(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x168(%rsp)
jmp 0x5a0f8
movupd (%rcx), %xmm0
movupd %xmm0, (%r12)
movq %r14, %rbx
movq 0x8(%rax), %rdx
leaq 0x158(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x9eb96(%rip), %rsi     # 0xf8cb7
callq 0x233b0
leaq 0xe8(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x5a156
movq %rdx, 0xd8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xe8(%rsp)
jmp 0x5a160
movupd (%rcx), %xmm0
movupd %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, 0xe0(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x118(%rsp), %rdi
movl %r15d, %esi
callq 0xbfa49
movq 0xd8(%rsp), %rcx
movq 0xe0(%rsp), %r8
movq 0x120(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %edi
cmpq %r13, %rcx
je 0x5a1b9
movq 0xe8(%rsp), %rdi
movq 0x118(%rsp), %rsi
cmpq %rdi, %rax
jbe 0x5a1e5
leaq 0x128(%rsp), %r9
movl $0xf, %edi
cmpq %r9, %rsi
je 0x5a1e0
movq 0x128(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x5a1f4
leaq 0xd8(%rsp), %rdi
callq 0x222b0
jmp 0x5a205
leaq 0x118(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x22a80
leaq 0x28(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x5a229
movq %rsi, 0x18(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x28(%rsp)
jmp 0x5a231
movupd (%rcx), %xmm0
movupd %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x20(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x9e50f(%rip), %rsi     # 0xf8764
leaq 0x18(%rsp), %rdi
callq 0x233b0
leaq 0xb8(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x5a28f
movq %rdx, 0xa8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xb8(%rsp)
jmp 0x5a298
movupd (%rcx), %xmm0
movupd %xmm0, (%r15)
movq 0x8(%rax), %rdx
movq %rdx, 0xb0(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xf8(%rsp), %rdi
movl %ebp, %esi
callq 0xbfa49
movq 0xa8(%rsp), %rcx
movq 0xb0(%rsp), %r8
movq 0x100(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %edi
cmpq %r15, %rcx
je 0x5a2f0
movq 0xb8(%rsp), %rdi
movq 0xf8(%rsp), %rsi
cmpq %rdi, %rax
jbe 0x5a31c
leaq 0x108(%rsp), %r9
movl $0xf, %edi
cmpq %r9, %rsi
je 0x5a317
movq 0x108(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x5a32b
leaq 0xa8(%rsp), %rdi
callq 0x222b0
jmp 0x5a33c
leaq 0xf8(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x22a80
leaq 0x58(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x5a360
movq %rsi, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
jmp 0x5a368
movupd (%rcx), %xmm0
movupd %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x50(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x9ea46(%rip), %rsi     # 0xf8dd2
leaq 0x48(%rsp), %rdi
callq 0x233b0
leaq 0x188(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x5a3c6
movq %rdx, 0x178(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x188(%rsp)
jmp 0x5a3cf
movupd (%rcx), %xmm0
movupd %xmm0, (%r14)
movq 0x8(%rax), %rdx
leaq 0x178(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0xbfa27
movq 0x178(%rsp), %rdi
cmpq %r14, %rdi
je 0x5a410
movq 0x188(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5a42b
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x108(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5a44c
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0xa8(%rsp), %rdi
cmpq %r15, %rdi
je 0x5a469
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x28(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5a484
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x128(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5a4a5
movq 0x128(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0xd8(%rsp), %rdi
cmpq %r13, %rdi
je 0x5a4c2
movq 0xe8(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0x158(%rsp), %rdi
cmpq %r12, %rdi
movq %rbx, %r14
je 0x5a4e2
movq 0x168(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x1a8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
movq 0xa0(%rsp), %r12
je 0x5a50b
movq 0x1a8(%rsp), %rsi
incq %rsi
callq 0x229c0
movq 0xa8(%r12), %rax
cmpl $0x3, 0x1614(%rax)
jb 0x5a58f
movq 0x11ba85(%rip), %rbx    # 0x175fa8
leaq 0x9f33f(%rip), %rsi     # 0xf9869
movl $0x2a, %edx
movq %rbx, %rdi
callq 0x22ab0
movl 0x40(%r12), %esi
movq %rbx, %rdi
callq 0x22650
movq %rax, %rbx
leaq 0xa7817(%rip), %rsi     # 0x101d65
movl $0xe, %edx
movq %rax, %rdi
callq 0x22ab0
movl %ebp, %esi
movq %rbx, %rdi
callq 0x22650
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq %rbx, %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
leaq 0xb0(%rsp), %rax
movl $0x0, (%rax)
xorl %ecx, %ecx
movq %rcx, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
movq %rcx, 0x20(%rax)
movq 0x90(%r12), %rax
movq 0x98(%r12), %rdx
subq %rax, %rdx
sarq $0x4, %rdx
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rcx, %rdx
cmpq %r14, %rdx
jbe 0x5a941
movq %r14, 0x8(%rsp)
leaq (%r14,%r14,2), %r13
shlq $0x4, %r13
movq 0x18(%rax,%r13), %rbx
leaq 0x48(%rsp), %r14
addq %r13, %rax
addq $0x8, %rax
cmpq %rax, %rbx
je 0x5a8fe
leaq 0x40(%rbx), %rdi
movl $0x1, 0x48(%rsp)
movq %rdi, 0x98(%rsp)
movq %r14, %rsi
callq 0x6611a
movq %rbx, 0x138(%rsp)
leaq 0x20(%rbx), %rbp
movq (%rax), %rax
movq (%rax), %rax
movq 0x18(%rax), %rbx
movl $0x1, 0x48(%rsp)
movq 0x98(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0x6611a
movq (%rax), %rax
movq (%rax), %rax
addq $0x8, %rax
cmpq %rax, %rbx
je 0x5a84e
movl $0x0, 0x20(%rsp)
xorl %ecx, %ecx
movq %rcx, 0x28(%rsp)
leaq 0x20(%rsp), %rax
movq %rax, 0x30(%rsp)
movq %rax, 0x38(%rsp)
movq %rcx, 0x40(%rsp)
leaq 0x20(%rbx), %r15
movq 0x58(%rbx), %rax
leaq 0x48(%rbx), %rcx
movq %rcx, 0x148(%rsp)
cmpq %rcx, %rax
je 0x5a7e9
movq %rbx, 0x140(%rsp)
movq 0xa8(%r12), %rcx
cmpl $0x0, 0x1658(%rcx)
movsd 0x9c41e(%rip), %xmm1    # 0xf6ae0
leaq 0x48(%rsp), %rsi
je 0x5a7af
movq %rax, 0x150(%rsp)
leaq 0x20(%rax), %rbx
movq %r12, %rcx
xorl %r12d, %r12d
xorpd %xmm0, %xmm0
movsd %xmm0, 0x10(%rsp)
movq 0x90(%rcx), %rdi
movq 0x98(%rcx), %rdx
subq %rdi, %rdx
sarq $0x4, %rdx
movabsq $-0x5555555555555555, %rax # imm = 0xAAAAAAAAAAAAAAAB
imulq %rax, %rdx
cmpq 0x8(%rsp), %rdx
jbe 0x5a91d
addq %r13, %rdi
movq %rbp, %rsi
callq 0x660c6
leal 0x1(%r12), %r14d
movl %r14d, 0x48(%rsp)
movq %rax, %rdi
leaq 0x48(%rsp), %rsi
callq 0x6611a
movq (%rax), %rax
movq (%rax), %rdi
movq %r15, %rsi
callq 0x66160
movq %rax, %rdi
movq %rbx, %rsi
callq 0x661b4
movsd 0x10(%rsp), %xmm0
addsd (%rax), %xmm0
movsd %xmm0, 0x10(%rsp)
movq 0xa0(%rsp), %rcx
movq 0xa8(%rcx), %rax
addl $0x2, %r12d
cmpl 0x1658(%rax), %r12d
movl %r14d, %r12d
jbe 0x5a6e9
xorps %xmm0, %xmm0
cvtsi2sd %r14d, %xmm0
movsd 0x10(%rsp), %xmm1
divsd %xmm0, %xmm1
movq %rcx, %r12
leaq 0x48(%rsp), %rsi
movq 0x140(%rsp), %rbx
movq 0x150(%rsp), %rax
movq %r12, %r14
movsd 0x20(%rax), %xmm0
movsd %xmm0, 0x48(%rsp)
movsd %xmm1, 0x50(%rsp)
leaq 0x18(%rsp), %rdi
movq %rax, %r12
callq 0x6af0e
movq %r12, %rdi
callq 0x22670
cmpq 0x148(%rsp), %rax
movq %r14, %r12
jne 0x5a6ab
leaq 0x48(%rsp), %r14
movq %r14, %rdi
movq %r15, %rsi
leaq 0x18(%rsp), %rdx
callq 0x663ae
leaq 0xa8(%rsp), %rdi
movq %r14, %rsi
callq 0x6afa4
leaq 0x68(%rsp), %rdi
callq 0x4a422
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x5a834
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x229c0
leaq 0x18(%rsp), %rdi
callq 0x4a422
movq %rbx, %rdi
callq 0x22670
movq %rax, %rbx
jmp 0x5a636
movq 0xa8(%r12), %rax
movl 0x1658(%rax), %ebx
movl $0x160, %edi            # imm = 0x160
callq 0x22980
movq 0x138(%rsp), %r14
movq %rax, %r15
movq %rax, %rdi
leaq 0xa8(%rsp), %rsi
callq 0x49d06
incl %ebx
movl %ebx, 0x48(%rsp)
movq %r15, 0x50(%rsp)
movq 0x98(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0x68ee2
leaq 0xa8(%rsp), %rdi
callq 0x6b0ac
movq %r14, %rdi
callq 0x22670
movq %rax, %rbx
movq 0x90(%r12), %rax
movq 0x98(%r12), %rdx
subq %rax, %rdx
sarq $0x4, %rdx
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rcx, %rdx
cmpq 0x8(%rsp), %rdx
leaq 0x48(%rsp), %r14
ja 0x5a5f4
leaq 0x98d87(%rip), %rdi     # 0xf3679
movq 0x8(%rsp), %rsi
xorl %eax, %eax
callq 0x22f40
leaq 0xa8(%rsp), %rdi
callq 0x4a39e
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x98d55(%rip), %rdi     # 0xf3679
movq 0x8(%rsp), %rsi
xorl %eax, %eax
callq 0x22f40
leaq 0x98d42(%rip), %rdi     # 0xf3679
movq %r14, %rsi
xorl %eax, %eax
callq 0x22f40
leaq 0x98d31(%rip), %rdi     # 0xf3679
movq %r14, %rsi
xorl %eax, %eax
callq 0x22f40
movq %rax, %rbx
movq 0x178(%rsp), %rdi
cmpq %r14, %rdi
je 0x5a977
movq 0x188(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x5a977
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5a997
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x5a997
movq %rax, %rbx
leaq 0x108(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5a9bd
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x5a9bd
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
cmpq %r15, %rdi
je 0x5a9df
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x5a9df
movq %rax, %rbx
leaq 0x28(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5a9ff
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x5a9ff
movq %rax, %rbx
leaq 0x128(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5aa25
movq 0x128(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x5aa25
movq %rax, %rbx
movq 0xd8(%rsp), %rdi
cmpq %r13, %rdi
je 0x5aa47
movq 0xe8(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x5aa47
movq %rax, %rbx
movq 0x158(%rsp), %rdi
cmpq %r12, %rdi
je 0x5aa69
movq 0x168(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x5aa69
movq %rax, %rbx
leaq 0x1a8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5aadc
movq 0x1a8(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x5aadc
jmp 0x5aab7
jmp 0x5aab7
movq %rax, %rbx
movl $0x160, %esi            # imm = 0x160
movq %r15, %rdi
callq 0x229c0
jmp 0x5aacf
jmp 0x5aab7
jmp 0x5aab7
jmp 0x5aac2
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0x66402
jmp 0x5aac5
movq %rax, %rbx
jmp 0x5aacf
jmp 0x5aac2
jmp 0x5aac2
jmp 0x5aac2
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x4a422
leaq 0xa8(%rsp), %rdi
callq 0x4a39e
movq %rbx, %rdi
callq 0x23240