// File: /workspace/github_cpp_makefile_star2_O3/richardposner[P]BioNetFit2/src/code/Swarm.cpp
// Function: Swarm::setsConf(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, int)
void Swarm::setsConf(std::string sConf, int mid){  //razi added
	if (options.verbosity>=3) cout<<"Setting sConf id:" << mid << " File:" << sConf <<endl;
	int sz = sConf_.size();
	if (mid < 0){
		outputError("Error in setting sConf. Invalid id. Quitting ....");
	}else if ((mid >= 0) && (mid == sz)){
		sConf_.push_back(sConf);
	}else if ((mid >= 0) && (mid < sz)){
		sConf_.at(mid) = sConf;
	}else if ((mid >= 0) && (mid > sz)){

		for(int i = 0; i < mid - sz; i++){
			sConf_.push_back("");
		}
		sConf_.at(mid) = sConf;
	}

//	cout<<"set conf done, new size is:"<< sConf_.size() <<". Eneter a number to continue..."; cin>>i;
//	if( sConf_.size()>0)
//		for(i=0; i<sConf_.size(); i++)
//			cout<<" SConf[" << i <<"] is:" << sConf_.at(i)<<", ";
//
//	}
//	catch(string err){
//		cout<<"Error occurred in set conf Err:"<< err;
//	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movl %edx, %r12d
movq %rsi, %rbx
movq %rdi, %r14
cmpl $0x3, 0x1614(%rdi)
jb 0x78336
movq 0xfdce1(%rip), %r15     # 0x175fa8
leaq 0x86293(%rip), %rsi     # 0xfe561
movl $0x11, %edx
movq %r15, %rdi
callq 0x22ab0
movq %r15, %rdi
movl %r12d, %esi
callq 0x231e0
movq %rax, %r15
leaq 0x86324(%rip), %rsi     # 0xfe614
movl $0x6, %edx
movq %rax, %rdi
callq 0x22ab0
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq %r15, %rdi
callq 0x22ab0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x22940
movsbl %al, %esi
movq %r15, %rdi
callq 0x22050
movq %rax, %rdi
callq 0x22660
testl %r12d, %r12d
js 0x7844a
leaq 0x1938(%r14), %r15
movq 0x1938(%r14), %rdi
movq 0x1940(%r14), %rdx
subq %rdi, %rdx
sarq $0x5, %rdx
cmpl %edx, %r12d
jne 0x78379
movq %r15, %rdi
movq %rbx, %rsi
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x31cec
jge 0x783a4
movl %r12d, %esi
cmpq %rsi, %rdx
jbe 0x78479
shlq $0x5, %rsi
addq %rsi, %rdi
movq %rbx, %rsi
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x22500
movl %r12d, %ebp
subl %edx, %ebp
jle 0x7843b
jle 0x78424
movl %r12d, 0xc(%rsp)
movq %rbx, 0x10(%rsp)
leaq 0x28(%rsp), %rbx
leaq 0x7e8aa(%rip), %r12     # 0xf6c71
leaq 0x18(%rsp), %r13
movq %rbx, 0x18(%rsp)
movq %r13, %rdi
movq %r12, %rsi
movq %r12, %rdx
callq 0x321d2
movq %r15, %rdi
movq %r13, %rsi
callq 0x6a2a2
movq 0x18(%rsp), %rdi
cmpq %rbx, %rdi
je 0x78401
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x229c0
decl %ebp
jne 0x783cc
movq 0x1938(%r14), %rdi
movq 0x1940(%r14), %rdx
subq %rdi, %rdx
sarq $0x5, %rdx
movq 0x10(%rsp), %rbx
movl 0xc(%rsp), %r12d
movl %r12d, %esi
cmpq %rsi, %rdx
jbe 0x78479
shlq $0x5, %rsi
addq %rsi, %rdi
movq %rbx, %rsi
callq 0x22500
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x48(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x86119(%rip), %rsi     # 0xfe573
leaq 0x86143(%rip), %rdx     # 0xfe5a4
leaq 0x38(%rsp), %rbx
movq %rbx, %rdi
callq 0x321d2
movq %r14, %rdi
movq %rbx, %rsi
callq 0x784c2
leaq 0x7b1f9(%rip), %rdi     # 0xf3679
xorl %eax, %eax
callq 0x22f40
movq %rax, %r14
movq 0x38(%rsp), %rdi
cmpq %r15, %rdi
je 0x784ba
movq 0x48(%rsp), %rsi
jmp 0x784b2
movq %rax, %r14
jmp 0x784ba
movq %rax, %r14
movq 0x18(%rsp), %rdi
cmpq %rbx, %rdi
je 0x784ba
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x229c0
movq %r14, %rdi
callq 0x23240