// File: /workspace/github_cpp_makefile_star2_O1/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 0x789e0
movq 0xfd61f(%rip), %r15     # 0x175f90
leaq 0x85b79(%rip), %rsi     # 0xfe4f1
movl $0x11, %edx
movq %r15, %rdi
callq 0x22ab0
movq %r15, %rdi
movl %r12d, %esi
callq 0x231e0
movq %rax, %r15
leaq 0x85c0a(%rip), %rsi     # 0xfe5a4
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 0x78aed
leaq 0x1938(%r14), %r15
movq 0x1938(%r14), %rdi
movq 0x1940(%r14), %rdx
subq %rdi, %rdx
sarq $0x5, %rdx
cmpl %edx, %r12d
jne 0x78a23
movq %r15, %rdi
movq %rbx, %rsi
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x31d52
jge 0x78a4e
movl %r12d, %esi
cmpq %rsi, %rdx
jbe 0x78b1c
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 0x78ade
movl %r12d, 0xc(%rsp)
movq %rbx, 0x10(%rsp)
jle 0x78aaf
leaq 0x28(%rsp), %rbx
leaq 0x7e250(%rip), %r12     # 0xf6cc1
leaq 0x18(%rsp), %r13
movq %rbx, 0x18(%rsp)
movq %r13, %rdi
movq %r12, %rsi
movq %r12, %rdx
callq 0x32210
movq %r15, %rdi
movq %r13, %rsi
callq 0x6a77e
movq 0x18(%rsp), %rdi
cmpq %rbx, %rdi
je 0x78aab
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x229c0
decl %ebp
jne 0x78a76
movl 0xc(%rsp), %esi
movq 0x1938(%r14), %rdi
movq 0x1940(%r14), %rdx
subq %rdi, %rdx
sarq $0x5, %rdx
cmpq %rsi, %rdx
jbe 0x78b1c
shlq $0x5, %rsi
addq %rsi, %rdi
movq 0x10(%rsp), %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 0x85a06(%rip), %rsi     # 0xfe503
leaq 0x85a30(%rip), %rdx     # 0xfe534
leaq 0x38(%rsp), %rbx
movq %rbx, %rdi
callq 0x32210
movq %r14, %rdi
movq %rbx, %rsi
callq 0x78b66
leaq 0x7aba2(%rip), %rdi     # 0xf36c5
xorl %eax, %eax
callq 0x22f40
movq %rax, %r14
movq 0x38(%rsp), %rdi
cmpq %r15, %rdi
je 0x78b5d
movq 0x48(%rsp), %rsi
jmp 0x78b55
movq %rax, %r14
jmp 0x78b5d
movq %rax, %r14
movq 0x18(%rsp), %rdi
cmpq %rbx, %rdi
je 0x78b5d
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x229c0
movq %r14, %rdi
callq 0x23240
nop