// File: /workspace/github_cpp_makefile_star2_O1/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 0x7a2ed
movl %ebp, %eax
movq 0x15c8(%rbx), %rcx
subq 0x15c0(%rbx), %rcx
sarq $0x3, %rcx
cmpq %rax, %rcx
jbe 0x7a2ed
movl %ebp, 0x15d8(%rbx)
cmpl $0x3, 0x1614(%rbx)
jb 0x7a2dd
movq 0xfbd3b(%rip), %r14     # 0x175f90
leaq 0x84486(%rip), %rsi     # 0xfe6e2
movl $0x27, %edx
movq %r14, %rdi
callq 0x22ab0
movq %r14, %rdi
movl %ebp, %esi
callq 0x231e0
movq %rax, %r14
leaq 0x8448d(%rip), %rsi     # 0xfe70a
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 0xbee9e
leaq 0x84412(%rip), %rcx     # 0xfe718
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 0x7a339
movups (%rcx), %xmm0
movups %xmm0, (%r14)
jmp 0x7a346
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 0x843a1(%rip), %rsi     # 0xfe70a
callq 0x233b0
leaq 0x30(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x7a38f
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x7a39c
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 0xbee9e
movq 0x20(%rsp), %rcx
movq 0x28(%rsp), %r8
movq 0x48(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r15, %rcx
je 0x7a3f2
movq 0x30(%rsp), %rsi
leaq 0x50(%rsp), %r12
cmpq %rsi, %rax
jbe 0x7a412
movl $0xf, %esi
cmpq %r12, 0x40(%rsp)
je 0x7a40d
movq 0x50(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x7a423
movq 0x40(%rsp), %rsi
leaq 0x20(%rsp), %rdi
callq 0x222b0
jmp 0x7a431
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 0x7a44e
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
jmp 0x7a45a
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 0x78b66
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7a4a5
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x7a4a5
movq %rax, %rbx
movq 0x40(%rsp), %rdi
cmpq %r12, %rdi
je 0x7a4c1
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x7a4c1
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x7a4dd
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x7a4dd
movq %rax, %rbx
movq 0x60(%rsp), %rdi
cmpq %r14, %rdi
je 0x7a4f9
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x229c0
jmp 0x7a4f9
movq %rax, %rbx
leaq 0x90(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7a51a
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x229c0
movq %rbx, %rdi
callq 0x23240