// File: /workspace/github_cpp_makefile_star2_O3/richardposner[P]BioNetFit2/src/code/Swarm.cpp
// Function: Swarm::setDefaultModelIndex(int)
void Swarm::setDefaultModelIndex(int mid){
	if((mid>=0) &&((unsigned) mid < this->options.models.size())){
		//this->options.model = this->options.models.at(mid);
		options.defaultModel = mid;
		if (options.verbosity >= 3) cout<<"Default model not set, Index is set to " << mid << " # of models:"<< this->options.models.size()<<endl;
	}else outputError("Default model not set, Index is out of range:"+toString(mid)+" # of models:"+ toString((int)this->options.models.size()));
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xa0, %rsp
movl %esi, %ebp
movq %rdi, %rbx
testl %esi, %esi
js 0x79c2b
movl %ebp, %eax
movq 0x15c8(%rbx), %rcx
subq 0x15c0(%rbx), %rcx
sarq $0x3, %rcx
cmpq %rax, %rcx
jbe 0x79c2b
movl %ebp, 0x15d8(%rbx)
cmpl $0x3, 0x1614(%rbx)
jb 0x79c1b
movq 0xfc415(%rip), %r14     # 0x175fa8
leaq 0x84bb8(%rip), %rsi     # 0xfe752
movl $0x27, %edx
movq %r14, %rdi
callq 0x22ab0
movq %r14, %rdi
movl %ebp, %esi
callq 0x231e0
movq %rax, %r14
leaq 0x84bbf(%rip), %rsi     # 0xfe77a
movl $0xd, %edx
movq %rax, %rdi
callq 0x22ab0
movq 0x15c8(%rbx), %rsi
subq 0x15c0(%rbx), %rsi
sarq $0x3, %rsi
movq %r14, %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
addq $0xa0, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x22660
addq $0xa0, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x80(%rsp), %r14
movq %r14, %rdi
movl %ebp, %esi
callq 0xbe584
leaq 0x84b44(%rip), %rcx     # 0xfe788
movl $0x2d, %r8d
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x22a80
leaq 0x70(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x79c77
movups (%rcx), %xmm0
movups %xmm0, (%r14)
jmp 0x79c84
movq %rdx, 0x60(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x70(%rsp)
movq 0x8(%rax), %rdx
leaq 0x60(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x84ad3(%rip), %rsi     # 0xfe77a
callq 0x233b0
leaq 0x30(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x79ccd
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x79cda
movq %rdx, 0x20(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x30(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x28(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x15c8(%rbx), %rsi
subq 0x15c0(%rbx), %rsi
shrq $0x3, %rsi
leaq 0x40(%rsp), %rdi
callq 0xbe584
movq 0x20(%rsp), %rcx
movq 0x28(%rsp), %r8
movq 0x48(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %edi
cmpq %r15, %rcx
je 0x79d30
movq 0x30(%rsp), %rdi
leaq 0x50(%rsp), %r12
movq -0x10(%r12), %rsi
cmpq %rdi, %rax
jbe 0x79d53
movl $0xf, %edi
cmpq %r12, %rsi
je 0x79d4e
movq 0x50(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x79d5f
leaq 0x20(%rsp), %rdi
callq 0x222b0
jmp 0x79d6d
leaq 0x40(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x22a80
leaq 0x10(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
jne 0x79d8a
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
jmp 0x79d96
movq %rsi, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x784c2
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x79de1
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x79de1
movq %rax, %rbx
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x79dfd
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x79dfd
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x79e19
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x79e19
movq %rax, %rbx
movq 0x60(%rsp), %rdi
cmpq %r14, %rdi
je 0x79e35
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x79e35
movq %rax, %rbx
leaq 0x90(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x79e56
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x229c0
movq %rbx, %rdi
callq 0x23240