// File: /workspace/github_cpp_makefile_star2_O1/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 0x15dc(%rip), %rsi      # 0x4156
leaq 0x15e2(%rip), %rdx      # 0x4163
callq 0x3838
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2170
leaq 0x1631(%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 0x15aa(%rip), %rsi      # 0x4164
movq %rbx, %rdi
callq 0x2170
movq %rbx, %rdi
movq %r13, %rsi
callq 0x2170
leaq 0x1597(%rip), %rsi      # 0x416b
movq %rbx, %rdi
callq 0x2170
testq %r12, %r12
je 0x2cf5
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 0x3838
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 0x3124
leaq -0x80000000(%rax), %rcx
movabsq $-0x100000000, %rdx     # imm = 0xFFFFFFFF00000000
cmpq %rdx, %rcx
jb 0x3130
movl (%r13), %ecx
cmpl $0x22, %ecx
je 0x3130
testl %ecx, %ecx
jne 0x2c8f
movl -0x2c(%rbp), %ecx
movl %ecx, (%r13)
leaq -0x70(%rbp), %rdi
movl %eax, %esi
callq 0x325b
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 0x2cc3
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x2060
leaq -0x80(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2cdc
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x2060
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x2cf5
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x2060
leaq 0x1482(%rip), %rsi      # 0x417e
movq %rbx, %rdi
callq 0x2170
movq 0x10(%rbp), %r14
testq %r14, %r14
je 0x2e29
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 0x3838
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 0x313c
leaq -0x80000000(%rax), %rcx
movabsq $-0x100000000, %rdx     # imm = 0xFFFFFFFF00000000
cmpq %rdx, %rcx
jb 0x3148
movl (%r14), %ecx
cmpl $0x22, %ecx
je 0x3148
testl %ecx, %ecx
movq %r13, %r12
jne 0x2dbf
movl -0x2c(%rbp), %ecx
movl %ecx, (%r14)
leaq -0x70(%rbp), %rdi
movl %eax, %esi
callq 0x325b
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 0x2df7
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x2060
leaq -0x80(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2e10
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x2060
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x2e29
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x2060
movzbl (%r12), %eax
cmpl $0x2d, %eax
je 0x2e4b
cmpl $0x2b, %eax
jne 0x2e60
cmpb $0x2b, (%r14)
jne 0x2e47
leaq 0x133d(%rip), %rsi      # 0x4182
jmp 0x2e58
cmpb $0x2d, %al
jne 0x2e60
cmpb $0x2d, (%r14)
jne 0x2e60
leaq 0x1330(%rip), %rsi      # 0x4188
movq %rbx, %rdi
callq 0x2170
leaq 0x1327(%rip), %rsi      # 0x418e
movq %rbx, %rdi
callq 0x2170
cmpq $0x0, -0xa0(%rbp)
je 0x2f8c
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 0x3838
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 0x3154
leaq -0x80000000(%rax), %rcx
movabsq $-0x100000000, %rdx     # imm = 0xFFFFFFFF00000000
cmpq %rdx, %rcx
jb 0x3160
movl (%r14), %ecx
cmpl $0x22, %ecx
je 0x3160
testl %ecx, %ecx
jne 0x2f26
movl %r13d, (%r14)
leaq -0x70(%rbp), %rdi
movl %eax, %esi
callq 0x325b
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 0x2f5a
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x2060
leaq -0x80(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2f73
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x2060
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x2f8c
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x2060
leaq 0x11eb(%rip), %rsi      # 0x417e
movq %rbx, %rdi
callq 0x2170
cmpq $0x0, -0x98(%rbp)
je 0x30b8
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 0x3838
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 0x316c
leaq -0x80000000(%rax), %rcx
movabsq $-0x100000000, %rdx     # imm = 0xFFFFFFFF00000000
cmpq %rdx, %rcx
jb 0x3178
movl (%r14), %ecx
cmpl $0x22, %ecx
je 0x3178
testl %ecx, %ecx
jne 0x3052
movl %r13d, (%r14)
leaq -0x70(%rbp), %rdi
movl %eax, %esi
callq 0x325b
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 0x3086
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x2060
leaq -0x80(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x309f
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x2060
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x30b8
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x2060
movq -0xa0(%rbp), %rax
movzbl (%rax), %eax
cmpl $0x2d, %eax
je 0x30e5
cmpl $0x2b, %eax
jne 0x3100
movq -0x98(%rbp), %rcx
cmpb $0x2b, (%rcx)
jne 0x30e1
leaq 0x10c7(%rip), %rsi      # 0x41a6
jmp 0x30f8
cmpb $0x2d, %al
jne 0x3100
movq -0x98(%rbp), %rax
cmpb $0x2d, (%rax)
jne 0x3100
leaq 0x10b5(%rip), %rsi      # 0x41ad
movq %rbx, %rdi
callq 0x2170
leaq 0x10ad(%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 0x10b6(%rip), %rdi      # 0x41e1
callq 0x2080
leaq 0x10aa(%rip), %rdi      # 0x41e1
callq 0x2150
leaq 0x109e(%rip), %rdi      # 0x41e1
callq 0x2080
leaq 0x1092(%rip), %rdi      # 0x41e1
callq 0x2150
leaq 0x1086(%rip), %rdi      # 0x41e1
callq 0x2080
leaq 0x107a(%rip), %rdi      # 0x41e1
callq 0x2150
leaq 0x106e(%rip), %rdi      # 0x41e1
callq 0x2080
leaq 0x1062(%rip), %rdi      # 0x41e1
callq 0x2150
jmp 0x31a0
jmp 0x31c0
jmp 0x31c5
jmp 0x31a0
jmp 0x3232
jmp 0x31c0
jmp 0x31c5
jmp 0x3232
jmp 0x31a0
jmp 0x31c0
jmp 0x31c5
movq %rax, %r15
leaq -0x60(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x31fe
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x2060
jmp 0x31fe
jmp 0x3232
movq %rax, %r15
jmp 0x31fe
movq %rax, %r15
jmp 0x3217
jmp 0x3232
jmp 0x31ce
movq %rax, %r15
cmpl $0x0, (%r14)
jne 0x31fe
movl %r13d, (%r14)
jmp 0x31fe
movq %rax, %r15
cmpl $0x0, (%r14)
jne 0x31fe
movl -0x2c(%rbp), %eax
movl %eax, (%r14)
jmp 0x31fe
movq %rax, %r15
cmpl $0x0, (%r13)
jne 0x31fe
movl -0x2c(%rbp), %eax
movl %eax, (%r13)
leaq -0x80(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3217
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x2060
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x3235
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x2060
jmp 0x3235
movq %rax, %r15
movq (%rbx), %rdi
cmpq -0xb0(%rbp), %rdi
je 0x3253
movq -0xb0(%rbp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x2060
movq %r15, %rdi
callq 0x2160