// File: /workspace/github_cpp_makefile_star2_O1/ridgelab[P]Kmer-SSR/src/SSRcontainer.cpp
// Function: SSRcontainer::toJson[abi:cxx11]() const
string SSRcontainer::toJson() const
{
	string json = "SSRcontainer: {";

	if (this->size() != 0)
	{
		json += "\n\t";
		
		for (unordered_map<string, vector<SSR*>*>::iterator itr = this->ssrs->begin(); itr != this->ssrs->end(); ++itr)
		{
			if (itr != this->ssrs->begin())
			{
				json += ",\n\t";
			}
			
			json += itr->first + ": {";

			if (itr->second->size() != 0)
			{
				json += "\n\t\t";
				
				for (uint32_t i = 0; i < itr->second->size(); ++i)
				{
					if (i != 0)
					{
						json += ",\n\t\t";
					}
					
					json += itr->second->at(i)->toString();
				}
		
				json += "\n\t";
			}
			else
			{
				json += ' ';
			}

			json += "}";
		}

		json += '\n';
	}
	else
	{
		json += ' ';
	}

	json += '}';

	return json;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, 0x30(%rsp)
movq %rax, (%rdi)
leaq 0x94e9(%rip), %rsi      # 0xe09e
leaq 0x94f1(%rip), %rdx      # 0xe0ad
callq 0x552e
movq %r14, 0x28(%rsp)
movq (%r14), %rax
cmpl $0x0, 0x18(%rax)
je 0x4d5d
leaq 0x94d5(%rip), %rsi      # 0xe0af
movq %rbx, %rdi
callq 0x35b0
movq 0x28(%rsp), %rax
movq (%rax), %r14
addq $0x10, %r14
leaq 0x18(%rsp), %r13
leaq 0x8(%rsp), %r15
movq (%r14), %r14
testq %r14, %r14
je 0x4d59
movq 0x28(%rsp), %rax
movq (%rax), %rax
cmpq 0x10(%rax), %r14
je 0x4c21
movq %rbx, %rdi
leaq 0x9492(%rip), %rsi      # 0xe0ae
callq 0x35b0
movq %r13, 0x8(%rsp)
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x3ada
movq %r15, %rdi
leaq 0x96a7(%rip), %rsi      # 0xe2ea
callq 0x35b0
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbx, %rdi
callq 0x3100
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x4c71
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3300
movq 0x28(%r14), %rax
movq 0x8(%rax), %rcx
cmpq (%rax), %rcx
je 0x4d38
movq %rbx, %rdi
leaq 0x9427(%rip), %rsi      # 0xe0b3
callq 0x35b0
movq 0x28(%r14), %rax
movq 0x8(%rax), %rcx
cmpq (%rax), %rcx
je 0x4d27
movl $0x1, %ebp
xorl %r12d, %r12d
cmpl $0x1, %ebp
je 0x4cbe
movq %rbx, %rdi
leaq 0x93f9(%rip), %rsi      # 0xe0b2
callq 0x35b0
movq 0x28(%r14), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
cmpq %r12, %rdx
jbe 0x4d89
movq (%rax,%r12,8), %rsi
movq %r15, %rdi
callq 0x4296
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbx, %rdi
callq 0x3100
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x4d0e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3300
movq 0x28(%r14), %rax
movq 0x8(%rax), %rcx
subq (%rax), %rcx
movl %ebp, %r12d
sarq $0x3, %rcx
incl %ebp
cmpq %r12, %rcx
ja 0x4caa
movq %rbx, %rdi
leaq 0x937e(%rip), %rsi      # 0xe0af
callq 0x35b0
jmp 0x4d45
movq %rbx, %rdi
movl $0x20, %esi
callq 0x3290
movq %rbx, %rdi
leaq 0x9464(%rip), %rsi      # 0xe1b3
callq 0x35b0
jmp 0x4bf8
movb $0xa, %al
jmp 0x4d5f
movb $0x20, %al
movzbl %al, %esi
movq %rbx, %rdi
callq 0x3290
movq %rbx, %rdi
movl $0x7d, %esi
callq 0x3290
movq %rbx, %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x9380(%rip), %rdi      # 0xe110
movq %r12, %rsi
xorl %eax, %eax
callq 0x3450
jmp 0x4da8
jmp 0x4da8
jmp 0x4dcb
jmp 0x4dcb
jmp 0x4da8
jmp 0x4da8
jmp 0x4da8
movq %rax, %r14
movq (%rbx), %rdi
movq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x4dc3
movq (%rax), %rsi
incq %rsi
callq 0x3300
movq %r14, %rdi
callq 0x3540
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x4dab
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3300
jmp 0x4dab
nop