// File: richardposner[P]BioNetFit2/src/code/Swarm.cpp
// Function: Swarm::addExp(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, int)
void Swarm::addExp(string path, int mid) {
//	Timer tmr;

//cout << "Swarm::addExp   1-path:"<< path<<endl; mypause();
	path = convertToAbsPath(path);
//cout << "Swarm::addExp   2-fullpath:"<< path<<endl; mypause();
	string basename = getFilename(path);
//cout << "Swarm::addExp   3-basename:"<< basename<<endl; mypause();

//cout << "Swarm::addExp inserting EXP?" << endl; mypause();
	this->options.expFiles.insert(make_pair(basename, new Data(path, this, true, mid)));
//cout << "Swarm::addExp exp inserted" << endl; mypause();

	//double t = tmr.elapsed();
	//cout << "Adding .exp took " << t << " seconds" << endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x160, %rsp            # imm = 0x160
movq %rsi, -0x128(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x120(%rbp)
leaq -0x58(%rbp), %rdi
movq %rdi, -0x118(%rbp)
callq 0x2f300
movq -0x118(%rbp), %rsi
leaq -0x38(%rbp), %rdi
callq 0x17c530
jmp 0xe9afa
movq -0x128(%rbp), %rdi
leaq -0x38(%rbp), %rsi
movq %rsi, -0x138(%rbp)
callq 0x2fd80
movq -0x138(%rbp), %rdi
callq 0x311e8
leaq -0x58(%rbp), %rdi
callq 0x311e8
movq -0x128(%rbp), %rsi
leaq -0xa8(%rbp), %rdi
movq %rdi, -0x130(%rbp)
callq 0x2f300
movq -0x130(%rbp), %rsi
leaq -0x88(%rbp), %rdi
callq 0x17d590
jmp 0xe9b55
leaq -0xa8(%rbp), %rdi
callq 0x311e8
movq -0x120(%rbp), %rax
addq $0x1560, %rax           # imm = 0x1560
movq %rax, -0x148(%rbp)
movl $0x160, %edi            # imm = 0x160
callq 0x2f3b0
movq %rax, -0x140(%rbp)
jmp 0xe9b88
movq -0x128(%rbp), %rsi
movb $0x1, -0xf9(%rbp)
leaq -0xf8(%rbp), %rdi
callq 0x2f300
jmp 0xe9ba4
movq -0x120(%rbp), %rdx
movq -0x140(%rbp), %rdi
movl -0x14(%rbp), %r8d
leaq -0xf8(%rbp), %rsi
movl $0x1, %ecx
callq 0x8b790
jmp 0xe9bc9
movq -0x140(%rbp), %rax
movb $0x0, -0xf9(%rbp)
movq %rax, -0xd8(%rbp)
leaq -0xd0(%rbp), %rdi
leaq -0x88(%rbp), %rsi
leaq -0xd8(%rbp), %rdx
callq 0x121390
jmp 0xe9bfa
movq -0x148(%rbp), %rdi
leaq -0xd0(%rbp), %rsi
callq 0x121350
movb %dl, -0x151(%rbp)
movq %rax, -0x150(%rbp)
jmp 0xe9c1c
movb -0x151(%rbp), %al
movq -0x150(%rbp), %rcx
movq %rcx, -0x110(%rbp)
movb %al, -0x108(%rbp)
leaq -0xd0(%rbp), %rdi
callq 0x1213d0
leaq -0xf8(%rbp), %rdi
callq 0x311e8
leaq -0x88(%rbp), %rdi
callq 0x311e8
addq $0x160, %rsp            # imm = 0x160
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
leaq -0x58(%rbp), %rdi
callq 0x311e8
jmp 0xe9d0f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
leaq -0xa8(%rbp), %rdi
callq 0x311e8
jmp 0xe9d0f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
jmp 0xe9d03
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
jmp 0xe9ce5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
jmp 0xe9cd9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
leaq -0xd0(%rbp), %rdi
callq 0x1213d0
leaq -0xf8(%rbp), %rdi
callq 0x311e8
testb $0x1, -0xf9(%rbp)
jne 0xe9cf0
jmp 0xe9d01
movq -0x140(%rbp), %rdi
movl $0x160, %esi            # imm = 0x160
callq 0x2f2a0
jmp 0xe9d03
leaq -0x88(%rbp), %rdi
callq 0x311e8
movq -0x60(%rbp), %rdi
callq 0x30170
nopl (%rax,%rax)