// File: /workspace/github_cpp_makefile_star2_O3/allasandeep[P]LocationBoundaryFinder/prog2.cc
// Function: toDecimalDegree(char*, char*, char*, char*, char*, char*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
string toDecimalDegree(char *id, char *iname, char *minLatitude, char *maxLatitude, char *minLongitude, char* maxLongitude, string stateName)
{	
	string output = "The place of ";
	output += iname;
	output += ", ";
	output += stateName;
	output += " (ID: ";
	output += id;
	output += ") has the bounds \n";

	//If the minLongitude is not empty
	if(minLongitude)
	{
		string temp(minLongitude);
		output += formatOutputString(stoi(temp.substr(1)));	
	}

	output += "to ";
	//If the maxLongitude is not empty
	if(maxLongitude)
	{
		string temp(maxLongitude);		
		output += formatOutputString(stoi(temp.substr(1)));			
	}

	if(minLongitude[0] == '+' && maxLongitude[0] == '+')
		output += "east " ;
	else if(minLongitude[0] == '-' && maxLongitude[0] == '-')	
		output += "west " ; 

	output += "in longitude;\nand from ";

	//If the minLatitude is not empty
	if(minLatitude)
	{
		string temp(minLatitude);
		output += formatOutputString(stoi(temp.substr(1)));	
	}

	output += "to ";

	//If the maxLatitude is not empty
	if(maxLatitude)
	{
		string temp(maxLatitude);
		output += formatOutputString(stoi(temp.substr(1)));		
	}

	if(minLatitude[0] == '+' && maxLatitude[0] == '+')
		output += "north " ;
	else if(minLatitude[0] == '-' && maxLatitude[0] == '-')	
		output +=  "south "; 

	output += "in latitude.";
	//Returning the output
	return output;	
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %r9, %r12
movq %r8, -0x98(%rbp)
movq %rcx, -0xa0(%rbp)
movq %rdx, %r14
movq %rsi, %r13
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, -0xb0(%rbp)
movq %rax, (%rdi)
leaq 0x15d9(%rip), %rsi      # 0x4156
leaq 0x15df(%rip), %rdx      # 0x4163
callq 0x3836
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2170
leaq 0x162e(%rip), %rsi      # 0x41c9
movq %rbx, %rdi
callq 0x2170
movq 0x18(%rbp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %rbx, %rdi
callq 0x21b0
leaq 0x15a7(%rip), %rsi      # 0x4164
movq %rbx, %rdi
callq 0x2170
movq %rbx, %rdi
movq %r13, %rsi
callq 0x2170
leaq 0x1594(%rip), %rsi      # 0x416b
movq %rbx, %rdi
callq 0x2170
testq %r12, %r12
je 0x2cf8
leaq -0x40(%rbp), %rax
movq %rax, -0x10(%rax)
movq %r12, %rdi
callq 0x20c0
leaq (%rax,%r12), %rdx
leaq -0x50(%rbp), %rdi
movq %r12, %rsi
callq 0x3836
leaq -0x90(%rbp), %rdi
leaq -0x50(%rbp), %rsi
movl $0x1, %edx
movq $-0x1, %rcx
callq 0x2210
movq -0x90(%rbp), %r14
callq 0x2240
movq %rax, %r13
movl (%rax), %eax
movl %eax, -0x2c(%rbp)
movl $0x0, (%r13)
leaq -0xa8(%rbp), %r15
movq %r14, %rdi
movq %r15, %rsi
movl $0xa, %edx
callq 0x21e0
cmpq %r14, (%r15)
je 0x311f
leaq -0x80000000(%rax), %rcx
movabsq $-0x100000000, %rdx     # imm = 0xFFFFFFFF00000000
cmpq %rdx, %rcx
jb 0x312b
movl (%r13), %ecx
cmpl $0x22, %ecx
je 0x312b
testl %ecx, %ecx
jne 0x2c92
movl -0x2c(%rbp), %ecx
movl %ecx, (%r13)
leaq -0x70(%rbp), %rdi
movl %eax, %esi
callq 0x3256
movq -0x70(%rbp), %rsi
movq -0x68(%rbp), %rdx
movq %rbx, %rdi
callq 0x21b0
leaq -0x60(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2cc6
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x2060
leaq -0x80(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2cdf
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x2060
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x2cf8
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x2060
leaq 0x147f(%rip), %rsi      # 0x417e
movq %rbx, %rdi
callq 0x2170
movq 0x10(%rbp), %r14
testq %r14, %r14
je 0x2e2c
leaq -0x40(%rbp), %rax
movq %rax, -0x10(%rax)
movq %r14, %rdi
callq 0x20c0
leaq (%rax,%r14), %rdx
leaq -0x50(%rbp), %rdi
movq %r14, %rsi
callq 0x3836
movq %r12, %r13
leaq -0x90(%rbp), %rdi
leaq -0x50(%rbp), %rsi
movl $0x1, %edx
movq $-0x1, %rcx
callq 0x2210
movq -0x90(%rbp), %r15
callq 0x2240
movq %rax, %r14
movl (%rax), %eax
movl %eax, -0x2c(%rbp)
movl $0x0, (%r14)
leaq -0xa8(%rbp), %r12
movq %r15, %rdi
movq %r12, %rsi
movl $0xa, %edx
callq 0x21e0
cmpq %r15, (%r12)
je 0x3137
leaq -0x80000000(%rax), %rcx
movabsq $-0x100000000, %rdx     # imm = 0xFFFFFFFF00000000
cmpq %rdx, %rcx
jb 0x3143
movl (%r14), %ecx
cmpl $0x22, %ecx
je 0x3143
testl %ecx, %ecx
movq %r13, %r12
jne 0x2dc2
movl -0x2c(%rbp), %ecx
movl %ecx, (%r14)
leaq -0x70(%rbp), %rdi
movl %eax, %esi
callq 0x3256
movq -0x70(%rbp), %rsi
movq -0x68(%rbp), %rdx
movq %rbx, %rdi
callq 0x21b0
movq 0x10(%rbp), %r14
leaq -0x60(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2dfa
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x2060
leaq -0x80(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2e13
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x2060
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x2e2c
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x2060
movzbl (%r12), %eax
cmpl $0x2d, %eax
je 0x2e4a
cmpl $0x2b, %eax
jne 0x2e5f
cmpb $0x2b, (%r14)
jne 0x2e5f
leaq 0x133a(%rip), %rsi      # 0x4182
jmp 0x2e57
cmpb $0x2d, (%r14)
jne 0x2e5f
leaq 0x1331(%rip), %rsi      # 0x4188
movq %rbx, %rdi
callq 0x2170
leaq 0x1328(%rip), %rsi      # 0x418e
movq %rbx, %rdi
callq 0x2170
cmpq $0x0, -0xa0(%rbp)
je 0x2f8b
leaq -0x40(%rbp), %rax
movq %rax, -0x10(%rax)
movq -0xa0(%rbp), %r14
movq %r14, %rdi
callq 0x20c0
leaq (%rax,%r14), %rdx
leaq -0x50(%rbp), %rdi
movq %r14, %rsi
callq 0x3836
leaq -0x90(%rbp), %rdi
leaq -0x50(%rbp), %rsi
movl $0x1, %edx
movq $-0x1, %rcx
callq 0x2210
movq -0x90(%rbp), %r15
callq 0x2240
movq %rax, %r14
movl (%rax), %r13d
movl $0x0, (%rax)
leaq -0xa8(%rbp), %r12
movq %r15, %rdi
movq %r12, %rsi
movl $0xa, %edx
callq 0x21e0
cmpq %r15, (%r12)
je 0x314f
leaq -0x80000000(%rax), %rcx
movabsq $-0x100000000, %rdx     # imm = 0xFFFFFFFF00000000
cmpq %rdx, %rcx
jb 0x315b
movl (%r14), %ecx
cmpl $0x22, %ecx
je 0x315b
testl %ecx, %ecx
jne 0x2f25
movl %r13d, (%r14)
leaq -0x70(%rbp), %rdi
movl %eax, %esi
callq 0x3256
movq -0x70(%rbp), %rsi
movq -0x68(%rbp), %rdx
movq %rbx, %rdi
callq 0x21b0
leaq -0x60(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2f59
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x2060
leaq -0x80(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2f72
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x2060
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x2f8b
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x2060
leaq 0x11ec(%rip), %rsi      # 0x417e
movq %rbx, %rdi
callq 0x2170
cmpq $0x0, -0x98(%rbp)
je 0x30b7
leaq -0x40(%rbp), %rax
movq %rax, -0x10(%rax)
movq -0x98(%rbp), %r14
movq %r14, %rdi
callq 0x20c0
leaq (%rax,%r14), %rdx
leaq -0x50(%rbp), %rdi
movq %r14, %rsi
callq 0x3836
leaq -0x90(%rbp), %rdi
leaq -0x50(%rbp), %rsi
movl $0x1, %edx
movq $-0x1, %rcx
callq 0x2210
movq -0x90(%rbp), %r15
callq 0x2240
movq %rax, %r14
movl (%rax), %r13d
movl $0x0, (%rax)
leaq -0xa8(%rbp), %r12
movq %r15, %rdi
movq %r12, %rsi
movl $0xa, %edx
callq 0x21e0
cmpq %r15, (%r12)
je 0x3167
leaq -0x80000000(%rax), %rcx
movabsq $-0x100000000, %rdx     # imm = 0xFFFFFFFF00000000
cmpq %rdx, %rcx
jb 0x3173
movl (%r14), %ecx
cmpl $0x22, %ecx
je 0x3173
testl %ecx, %ecx
jne 0x3051
movl %r13d, (%r14)
leaq -0x70(%rbp), %rdi
movl %eax, %esi
callq 0x3256
movq -0x70(%rbp), %rsi
movq -0x68(%rbp), %rdx
movq %rbx, %rdi
callq 0x21b0
leaq -0x60(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3085
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x2060
leaq -0x80(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x309e
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x2060
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x30b7
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x2060
movq -0xa0(%rbp), %rax
movzbl (%rax), %eax
cmpl $0x2d, %eax
je 0x30e0
cmpl $0x2b, %eax
jne 0x30fb
movq -0x98(%rbp), %rax
cmpb $0x2b, (%rax)
jne 0x30fb
leaq 0x10c8(%rip), %rsi      # 0x41a6
jmp 0x30f3
movq -0x98(%rbp), %rax
cmpb $0x2d, (%rax)
jne 0x30fb
leaq 0x10ba(%rip), %rsi      # 0x41ad
movq %rbx, %rdi
callq 0x2170
leaq 0x10b2(%rip), %rsi      # 0x41b4
movq %rbx, %rdi
callq 0x2170
movq %rbx, %rax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x10bb(%rip), %rdi      # 0x41e1
callq 0x2080
leaq 0x10af(%rip), %rdi      # 0x41e1
callq 0x2150
leaq 0x10a3(%rip), %rdi      # 0x41e1
callq 0x2080
leaq 0x1097(%rip), %rdi      # 0x41e1
callq 0x2150
leaq 0x108b(%rip), %rdi      # 0x41e1
callq 0x2080
leaq 0x107f(%rip), %rdi      # 0x41e1
callq 0x2150
leaq 0x1073(%rip), %rdi      # 0x41e1
callq 0x2080
leaq 0x1067(%rip), %rdi      # 0x41e1
callq 0x2150
jmp 0x319b
jmp 0x31bb
jmp 0x31c0
jmp 0x319b
jmp 0x322d
jmp 0x31bb
jmp 0x31c0
jmp 0x322d
jmp 0x319b
jmp 0x31bb
jmp 0x31c0
movq %rax, %r15
leaq -0x60(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x31f9
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x2060
jmp 0x31f9
jmp 0x322d
movq %rax, %r15
jmp 0x31f9
movq %rax, %r15
jmp 0x3212
jmp 0x322d
jmp 0x31c9
movq %rax, %r15
cmpl $0x0, (%r14)
jne 0x31f9
movl %r13d, (%r14)
jmp 0x31f9
movq %rax, %r15
cmpl $0x0, (%r14)
jne 0x31f9
movl -0x2c(%rbp), %eax
movl %eax, (%r14)
jmp 0x31f9
movq %rax, %r15
cmpl $0x0, (%r13)
jne 0x31f9
movl -0x2c(%rbp), %eax
movl %eax, (%r13)
leaq -0x80(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3212
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x2060
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x3230
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x2060
jmp 0x3230
movq %rax, %r15
movq (%rbx), %rdi
cmpq -0xb0(%rbp), %rdi
je 0x324e
movq -0xb0(%rbp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x2060
movq %r15, %rdi
callq 0x2160