// File: /workspace/github_cpp_makefile_star2_O3/allasandeep[P]LocationBoundaryFinder/prog2.cc
// Function: formatOutputString[abi:cxx11](int)
string formatOutputString(int boundary)
{
	double dd;
	int d = 0, m = 0;
	float value = 0, seconds = 0;
	string sTemp = "",s = "", outString = "";	
	dd = (double)boundary/ (double)1000000;
	//Formula to convert to DMS
	d = dd;
	m = (dd-d) * 60;
	value = (dd-(double)d - ((double)m/(double)60))*3600;
	seconds = roundf(value * 100)/100;
	sTemp = to_string(seconds);
	s = sTemp.substr(0,sTemp.length()-4);
	//Appendning the DMS values to the string as to be displayed
	outString += to_string(d);
	outString += " degrees, "; 
	outString += to_string(m); 
	outString += " minutes, "; 
	outString += s;
	outString += " seconds ";

	return outString;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movl %esi, %r14d
movq %rdi, %rbx
leaq -0x80(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0xefe(%rip), %r15       # 0x417d
leaq -0x90(%rbp), %rdi
movq %r15, %rsi
movq %r15, %rdx
callq 0x3836
leaq -0x60(%rbp), %rax
movq %rax, -0x10(%rax)
leaq -0x70(%rbp), %rdi
movq %r15, %rsi
movq %r15, %rdx
callq 0x3836
leaq 0x10(%rbx), %rax
movq %rax, -0x50(%rbp)
movq %rax, (%rbx)
leaq 0xec3(%rip), %rdx       # 0x417d
movq %rbx, %rdi
movq %rdx, %rsi
callq 0x3836
cvtsi2sd %r14d, %xmm1
divsd 0xd36(%rip), %xmm1      # 0x4008
cvttpd2dq %xmm1, %xmm0
cvtdq2pd %xmm0, %xmm0
movapd %xmm1, -0xb0(%rbp)
subsd %xmm0, %xmm1
movsd 0xd22(%rip), %xmm0      # 0x4010
movapd %xmm1, %xmm2
mulsd %xmm0, %xmm2
movapd %xmm2, -0xa0(%rbp)
cvttpd2dq %xmm2, %xmm2
cvtdq2pd %xmm2, %xmm2
divsd %xmm0, %xmm2
subsd %xmm2, %xmm1
mulsd 0xd02(%rip), %xmm1      # 0x4018
xorps %xmm0, %xmm0
cvtsd2ss %xmm1, %xmm0
mulss 0xcfb(%rip), %xmm0      # 0x4020
callq 0x20b0
divss 0xcee(%rip), %xmm0      # 0x4020
cvtss2sd %xmm0, %xmm0
movq 0x2c9b(%rip), %rsi      # 0x5fd8
leaq 0xea2(%rip), %rcx       # 0x41e6
leaq -0x48(%rbp), %rdi
movl $0x3a, %edx
movb $0x1, %al
callq 0x3675
leaq -0x90(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x2100
movq (%r14), %rdi
leaq -0x38(%rbp), %r13
cmpq %r13, %rdi
je 0x337f
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2060
leaq -0x90(%rbp), %rsi
movq 0x8(%rsi), %rcx
addq $-0x4, %rcx
leaq -0x48(%rbp), %rdi
xorl %edx, %edx
callq 0x2210
cvttsd2si -0xb0(%rbp), %r12d
leaq -0x70(%rbp), %rdi
movq %r14, %rsi
callq 0x2100
movq (%r14), %rdi
cmpq %r13, %rdi
je 0x33c2
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2060
movl %r12d, %r14d
negl %r14d
cmovsl %r12d, %r14d
movl $0x1, %r15d
cmpl $0xa, %r14d
jb 0x3422
movl $0x4, %r15d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r14d, %ecx
cmpl $0x63, %ecx
jbe 0x3419
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x341f
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x3422
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r15d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x33e6
addl $-0x3, %r15d
jmp 0x3422
addl $-0x2, %r15d
jmp 0x3422
decl %r15d
shrl $0x1f, %r12d
leal (%r15,%r12), %esi
leaq -0x48(%rbp), %rdi
movq %r13, (%rdi)
movl $0x2d, %edx
callq 0x2140
movl %r12d, %edi
addq -0x48(%rbp), %rdi
movl %r15d, %esi
movl %r14d, %edx
callq 0x37c4
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq %rbx, %rdi
callq 0x21b0
movq -0x48(%rbp), %rdi
cmpq %r13, %rdi
je 0x3472
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2060
leaq 0xd48(%rip), %rsi       # 0x41c1
movq %rbx, %rdi
callq 0x2170
cvttsd2si -0xa0(%rbp), %r12d
movl %r12d, %r14d
negl %r14d
cmovsl %r12d, %r14d
movl $0x1, %r15d
cmpl $0xa, %r14d
jb 0x34ea
movl $0x4, %r15d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r14d, %ecx
cmpl $0x63, %ecx
jbe 0x34e1
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x34e7
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x34ea
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r15d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x34ae
addl $-0x3, %r15d
jmp 0x34ea
addl $-0x2, %r15d
jmp 0x34ea
decl %r15d
shrl $0x1f, %r12d
leal (%r15,%r12), %esi
leaq -0x48(%rbp), %rdi
movq %r13, (%rdi)
movl $0x2d, %edx
callq 0x2140
movl %r12d, %edi
addq -0x48(%rbp), %rdi
movl %r15d, %esi
movl %r14d, %edx
callq 0x37c4
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq %rbx, %rdi
callq 0x21b0
movq -0x48(%rbp), %rdi
cmpq %r13, %rdi
je 0x353a
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2060
leaq 0xc8b(%rip), %rsi       # 0x41cc
movq %rbx, %rdi
callq 0x2170
movq -0x70(%rbp), %rsi
movq -0x68(%rbp), %rdx
movq %rbx, %rdi
callq 0x21b0
leaq 0xc77(%rip), %rsi       # 0x41d7
movq %rbx, %rdi
callq 0x2170
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x3581
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x2060
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x359d
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x2060
movq %rbx, %rax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x35b6
jmp 0x35e0
movq %rax, %r14
movq -0x48(%rbp), %rdi
cmpq %r13, %rdi
je 0x35e3
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2060
jmp 0x35e3
jmp 0x35e0
jmp 0x35e0
jmp 0x35e0
movq %rax, %r14
jmp 0x35fb
movq %rax, %r14
jmp 0x3614
movq %rax, %r14
movq (%rbx), %rdi
cmpq -0x50(%rbp), %rdi
je 0x35fb
movq -0x50(%rbp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x2060
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x3614
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x2060
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x3630
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x2060
movq %r14, %rdi
callq 0x2160