// File: negativeview[P]Software-Business-Sim/Trait.cpp
// Function: Trait::getDiscoveryModifiedText[abi:cxx11]()
string Trait::getDiscoveryModifiedText() {
	stringstream tmp;
	string ret;

	switch (this->_discoveryLevel) {
		case 3:
			tmp << this->_amount;
			tmp >> ret;
			return ret;
			break;
		case 2:
			if (this->_amount < 10)
				return "< 10";
			if (this->_amount < 20)
				return "10s";
			if (this->_amount < 30);
				return "20s";
			if (this->_amount < 40)
				return "30s";
			if (this->_amount < 50)
				return "40s";
			if (this->_amount < 60)
				return "50s";
			if (this->_amount < 70)
				return "60s";
			if (this->_amount < 80)
				return "70s";
			if (this->_amount < 90)
				return "80s";
			return "90s";
			break;
		case 1:
			if (this->_amount < 33)
				return "low";
			if (this->_amount < 66)
				return "medium";
			return "high";
			break;
		case 0:
		default:
			return "Unknown";
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x230, %rsp            # imm = 0x230
movq %rdi, -0x1f0(%rbp)
movq %rdi, %rax
movq %rax, -0x1e8(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x1e0(%rbp)
leaq -0x198(%rbp), %rdi
callq 0x3270
leaq -0x1b8(%rbp), %rdi
callq 0x34f0
movq -0x1e0(%rbp), %rax
movl 0x30(%rax), %eax
movq %rax, -0x1d8(%rbp)
subq $0x3, %rax
ja 0x17472
movq -0x1d8(%rbp), %rax
leaq 0x1748(%rip), %rcx      # 0x18878
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq -0x1e0(%rbp), %rax
leaq -0x188(%rbp), %rdi
movl 0x8(%rax), %esi
callq 0x35c0
jmp 0x17151
leaq -0x198(%rbp), %rdi
leaq -0x1b8(%rbp), %rsi
callq 0x34a0
jmp 0x17166
movq -0x1f0(%rbp), %rdi
leaq -0x1b8(%rbp), %rsi
callq 0x3200
movl $0x1, -0x1c8(%rbp)
jmp 0x174d9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1c0(%rbp)
movl %eax, -0x1c4(%rbp)
jmp 0x17501
movq -0x1e0(%rbp), %rax
cmpl $0xa, 0x8(%rax)
jge 0x17219
leaq -0x1c9(%rbp), %rdi
movq %rdi, -0x1f8(%rbp)
callq 0x35e0
movq -0x1f0(%rbp), %rdi
movq -0x1f8(%rbp), %rdx
leaq 0x16bb(%rip), %rsi      # 0x1888f
callq 0x8730
jmp 0x171db
leaq -0x1c9(%rbp), %rdi
callq 0x3400
movl $0x1, -0x1c8(%rbp)
jmp 0x174d9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1c0(%rbp)
movl %eax, -0x1c4(%rbp)
leaq -0x1c9(%rbp), %rdi
callq 0x3400
jmp 0x17501
movq -0x1e0(%rbp), %rax
cmpl $0x14, 0x8(%rax)
jge 0x17293
leaq -0x1ca(%rbp), %rdi
movq %rdi, -0x200(%rbp)
callq 0x35e0
movq -0x1f0(%rbp), %rdi
movq -0x200(%rbp), %rdx
leaq 0x1646(%rip), %rsi      # 0x18894
callq 0x8730
jmp 0x17255
leaq -0x1ca(%rbp), %rdi
callq 0x3400
movl $0x1, -0x1c8(%rbp)
jmp 0x174d9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1c0(%rbp)
movl %eax, -0x1c4(%rbp)
leaq -0x1ca(%rbp), %rdi
callq 0x3400
jmp 0x17501
movq -0x1e0(%rbp), %rax
cmpl $0x1e, 0x8(%rax)
jge 0x172a2
jmp 0x172a2
leaq -0x1cb(%rbp), %rdi
movq %rdi, -0x208(%rbp)
callq 0x35e0
movq -0x1f0(%rbp), %rdi
movq -0x208(%rbp), %rdx
leaq 0x15ce(%rip), %rsi      # 0x18898
callq 0x8730
jmp 0x172d1
leaq -0x1cb(%rbp), %rdi
callq 0x3400
movl $0x1, -0x1c8(%rbp)
jmp 0x174d9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1c0(%rbp)
movl %eax, -0x1c4(%rbp)
leaq -0x1cb(%rbp), %rdi
callq 0x3400
jmp 0x17501
movq -0x1e0(%rbp), %rax
cmpl $0x21, 0x8(%rax)
jge 0x17389
leaq -0x1cc(%rbp), %rdi
movq %rdi, -0x210(%rbp)
callq 0x35e0
movq -0x1f0(%rbp), %rdi
movq -0x210(%rbp), %rdx
leaq 0x1558(%rip), %rsi      # 0x1889c
callq 0x8730
jmp 0x1734b
leaq -0x1cc(%rbp), %rdi
callq 0x3400
movl $0x1, -0x1c8(%rbp)
jmp 0x174d9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1c0(%rbp)
movl %eax, -0x1c4(%rbp)
leaq -0x1cc(%rbp), %rdi
callq 0x3400
jmp 0x17501
movq -0x1e0(%rbp), %rax
cmpl $0x42, 0x8(%rax)
jge 0x17403
leaq -0x1cd(%rbp), %rdi
movq %rdi, -0x218(%rbp)
callq 0x35e0
movq -0x1f0(%rbp), %rdi
movq -0x218(%rbp), %rdx
leaq 0x14e2(%rip), %rsi      # 0x188a0
callq 0x8730
jmp 0x173c5
leaq -0x1cd(%rbp), %rdi
callq 0x3400
movl $0x1, -0x1c8(%rbp)
jmp 0x174d9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1c0(%rbp)
movl %eax, -0x1c4(%rbp)
leaq -0x1cd(%rbp), %rdi
callq 0x3400
jmp 0x17501
leaq -0x1ce(%rbp), %rdi
movq %rdi, -0x220(%rbp)
callq 0x35e0
movq -0x1f0(%rbp), %rdi
movq -0x220(%rbp), %rdx
leaq 0x147c(%rip), %rsi      # 0x188a7
callq 0x8730
jmp 0x17432
leaq -0x1ce(%rbp), %rdi
callq 0x3400
movl $0x1, -0x1c8(%rbp)
jmp 0x174d9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1c0(%rbp)
movl %eax, -0x1c4(%rbp)
leaq -0x1ce(%rbp), %rdi
callq 0x3400
jmp 0x17501
jmp 0x17472
leaq -0x1cf(%rbp), %rdi
movq %rdi, -0x228(%rbp)
callq 0x35e0
movq -0x1f0(%rbp), %rdi
movq -0x228(%rbp), %rdx
leaq 0x1412(%rip), %rsi      # 0x188ac
callq 0x8730
jmp 0x174a1
leaq -0x1cf(%rbp), %rdi
callq 0x3400
movl $0x1, -0x1c8(%rbp)
jmp 0x174d9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1c0(%rbp)
movl %eax, -0x1c4(%rbp)
leaq -0x1cf(%rbp), %rdi
callq 0x3400
jmp 0x17501
leaq -0x1b8(%rbp), %rdi
callq 0x3210
leaq -0x198(%rbp), %rdi
callq 0x32b0
movq -0x1e8(%rbp), %rax
addq $0x230, %rsp            # imm = 0x230
popq %rbp
retq
leaq -0x1b8(%rbp), %rdi
callq 0x3210
leaq -0x198(%rbp), %rdi
callq 0x32b0
movq -0x1c0(%rbp), %rdi
callq 0x35d0
nopw %cs:(%rax,%rax)