// File: /workspace/github_cpp_makefile_star2_O2/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 $0x68, %rsp
movq %r9, %r13
movq %r8, %r12
movq %rcx, %r15
movq %rdx, %r14
movq %rsi, -0x90(%rbp)
movq %rdi, %rbx
leaq 0x192e(%rip), %rsi      # 0x4156
leaq -0x68(%rbp), %rdx
callq 0x2d5c
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %r14
movq %r13, %r12
callq 0x2160
leaq 0x1980(%rip), %rsi      # 0x41c9
movq %rbx, %rdi
callq 0x2160
movq 0x18(%rbp), %rsi
movq %rbx, %rdi
callq 0x21d0
leaq 0x1900(%rip), %rsi      # 0x4164
movq %rbx, %rdi
callq 0x2160
movq %rbx, %rdi
movq -0x90(%rbp), %rsi
callq 0x2160
leaq 0x18e9(%rip), %rsi      # 0x416b
movq %rbx, %rdi
callq 0x2160
testq %r12, %r12
je 0x28fb
leaq -0x68(%rbp), %rdi
leaq -0x48(%rbp), %rdx
movq %r12, %rsi
callq 0x2d5c
leaq -0x88(%rbp), %rdi
leaq -0x68(%rbp), %rsi
pushq $0x1
popq %rdx
pushq $-0x1
popq %rcx
callq 0x21f0
leaq -0x88(%rbp), %rdi
pushq $0xa
popq %rdx
xorl %esi, %esi
callq 0x2d97
leaq -0x48(%rbp), %rdi
movl %eax, %esi
callq 0x2b61
leaq -0x48(%rbp), %rsi
movq %rbx, %rdi
callq 0x21d0
leaq -0x48(%rbp), %rdi
callq 0x21a0
leaq -0x88(%rbp), %rdi
callq 0x21a0
leaq -0x68(%rbp), %rdi
callq 0x21a0
leaq 0x187c(%rip), %rsi      # 0x417e
movq %rbx, %rdi
callq 0x2160
movq 0x10(%rbp), %r13
testq %r13, %r13
je 0x297f
leaq -0x68(%rbp), %rdi
leaq -0x48(%rbp), %rdx
movq %r13, %rsi
callq 0x2d5c
leaq -0x88(%rbp), %rdi
leaq -0x68(%rbp), %rsi
pushq $0x1
popq %rdx
pushq $-0x1
popq %rcx
callq 0x21f0
leaq -0x88(%rbp), %rdi
pushq $0xa
popq %rdx
xorl %esi, %esi
callq 0x2d97
leaq -0x48(%rbp), %rdi
movl %eax, %esi
callq 0x2b61
leaq -0x48(%rbp), %rsi
movq %rbx, %rdi
callq 0x21d0
leaq -0x48(%rbp), %rdi
callq 0x21a0
leaq -0x88(%rbp), %rdi
callq 0x21a0
leaq -0x68(%rbp), %rdi
callq 0x21a0
movzbl (%r12), %eax
cmpl $0x2d, %eax
je 0x299e
cmpl $0x2b, %eax
jne 0x29b4
cmpb $0x2b, (%r13)
jne 0x29b4
leaq 0x17e6(%rip), %rsi      # 0x4182
jmp 0x29ac
cmpb $0x2d, (%r13)
jne 0x29b4
leaq 0x17dc(%rip), %rsi      # 0x4188
movq %rbx, %rdi
callq 0x2160
leaq 0x17d3(%rip), %rsi      # 0x418e
movq %rbx, %rdi
callq 0x2160
testq %r15, %r15
je 0x2a34
leaq -0x68(%rbp), %rdi
leaq -0x48(%rbp), %rdx
movq %r15, %rsi
callq 0x2d5c
leaq -0x88(%rbp), %rdi
leaq -0x68(%rbp), %rsi
pushq $0x1
popq %rdx
pushq $-0x1
popq %rcx
callq 0x21f0
leaq -0x88(%rbp), %rdi
pushq $0xa
popq %rdx
xorl %esi, %esi
callq 0x2d97
leaq -0x48(%rbp), %rdi
movl %eax, %esi
callq 0x2b61
leaq -0x48(%rbp), %rsi
movq %rbx, %rdi
callq 0x21d0
leaq -0x48(%rbp), %rdi
callq 0x21a0
leaq -0x88(%rbp), %rdi
callq 0x21a0
leaq -0x68(%rbp), %rdi
callq 0x21a0
leaq 0x1743(%rip), %rsi      # 0x417e
movq %rbx, %rdi
callq 0x2160
testq %r14, %r14
je 0x2ab4
leaq -0x68(%rbp), %rdi
leaq -0x48(%rbp), %rdx
movq %r14, %rsi
callq 0x2d5c
leaq -0x88(%rbp), %rdi
leaq -0x68(%rbp), %rsi
pushq $0x1
popq %rdx
pushq $-0x1
popq %rcx
callq 0x21f0
leaq -0x88(%rbp), %rdi
pushq $0xa
popq %rdx
xorl %esi, %esi
callq 0x2d97
leaq -0x48(%rbp), %rdi
movl %eax, %esi
callq 0x2b61
leaq -0x48(%rbp), %rsi
movq %rbx, %rdi
callq 0x21d0
leaq -0x48(%rbp), %rdi
callq 0x21a0
leaq -0x88(%rbp), %rdi
callq 0x21a0
leaq -0x68(%rbp), %rdi
callq 0x21a0
movzbl (%r15), %eax
cmpl $0x2d, %eax
je 0x2ad1
cmpl $0x2b, %eax
jne 0x2ae6
cmpb $0x2b, (%r14)
jne 0x2ae6
leaq 0x16d7(%rip), %rsi      # 0x41a6
jmp 0x2ade
cmpb $0x2d, (%r14)
jne 0x2ae6
leaq 0x16cf(%rip), %rsi      # 0x41ad
movq %rbx, %rdi
callq 0x2160
leaq 0x16c7(%rip), %rsi      # 0x41b4
movq %rbx, %rdi
callq 0x2160
movq %rbx, %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2b19
jmp 0x2b27
jmp 0x2b4e
jmp 0x2b19
jmp 0x2b27
jmp 0x2b4e
jmp 0x2b19
jmp 0x2b27
jmp 0x2b4e
movq %rax, %r14
leaq -0x48(%rbp), %rdi
callq 0x21a0
jmp 0x2b37
movq %rax, %r14
jmp 0x2b43
jmp 0x2b4e
jmp 0x2b34
jmp 0x2b34
jmp 0x2b34
movq %rax, %r14
leaq -0x88(%rbp), %rdi
callq 0x21a0
leaq -0x68(%rbp), %rdi
callq 0x21a0
jmp 0x2b51
movq %rax, %r14
movq %rbx, %rdi
callq 0x21a0
movq %r14, %rdi
callq 0x2150