// File: /workspace/github_cpp_makefile_star2_O1/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 0xef9(%rip), %r15       # 0x417d
leaq -0x90(%rbp), %rdi
movq %r15, %rsi
movq %r15, %rdx
callq 0x3838
leaq -0x60(%rbp), %rax
movq %rax, -0x10(%rax)
leaq -0x70(%rbp), %rdi
movq %r15, %rsi
movq %r15, %rdx
callq 0x3838
leaq 0x10(%rbx), %rax
movq %rax, -0x50(%rbp)
movq %rax, (%rbx)
leaq 0xebe(%rip), %rdx       # 0x417d
movq %rbx, %rdi
movq %rdx, %rsi
callq 0x3838
cvtsi2sd %r14d, %xmm1
divsd 0xd31(%rip), %xmm1      # 0x4008
cvttpd2dq %xmm1, %xmm0
cvtdq2pd %xmm0, %xmm0
movapd %xmm1, -0xb0(%rbp)
subsd %xmm0, %xmm1
movsd 0xd1d(%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 0xcfd(%rip), %xmm1      # 0x4018
xorps %xmm0, %xmm0
cvtsd2ss %xmm1, %xmm0
mulss 0xcf6(%rip), %xmm0      # 0x4020
callq 0x20b0
divss 0xce9(%rip), %xmm0      # 0x4020
cvtss2sd %xmm0, %xmm0
movq 0x2c96(%rip), %rsi      # 0x5fd8
leaq 0xe9d(%rip), %rcx       # 0x41e6
leaq -0x48(%rbp), %rdi
movl $0x3a, %edx
movb $0x1, %al
callq 0x367b
leaq -0x90(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x2100
movq (%r14), %rdi
leaq -0x38(%rbp), %r13
cmpq %r13, %rdi
je 0x3384
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 0x33c7
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2060
movl %r12d, %r14d
negl %r14d
cmovsl %r12d, %r14d
movl $0x1, %r15d
cmpl $0xa, %r14d
jb 0x3427
movl $0x4, %r15d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r14d, %ecx
cmpl $0x63, %ecx
jbe 0x341e
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x3424
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x3427
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r15d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x33eb
addl $-0x3, %r15d
jmp 0x3427
addl $-0x2, %r15d
jmp 0x3427
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 0x37c5
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq %rbx, %rdi
callq 0x21b0
movq -0x48(%rbp), %rdi
cmpq %r13, %rdi
je 0x3477
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2060
leaq 0xd43(%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 0x34ef
movl $0x4, %r15d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r14d, %ecx
cmpl $0x63, %ecx
jbe 0x34e6
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x34ec
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x34ef
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r15d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x34b3
addl $-0x3, %r15d
jmp 0x34ef
addl $-0x2, %r15d
jmp 0x34ef
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 0x37c5
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq %rbx, %rdi
callq 0x21b0
movq -0x48(%rbp), %rdi
cmpq %r13, %rdi
je 0x353f
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2060
leaq 0xc86(%rip), %rsi       # 0x41cc
movq %rbx, %rdi
callq 0x2170
movq -0x70(%rbp), %rsi
movq -0x68(%rbp), %rdx
movq %rbx, %rdi
callq 0x21b0
leaq 0xc72(%rip), %rsi       # 0x41d7
movq %rbx, %rdi
callq 0x2170
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x3586
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x2060
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x35a2
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 0x35bb
jmp 0x35e5
movq %rax, %r14
movq -0x48(%rbp), %rdi
cmpq %r13, %rdi
je 0x35e8
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2060
jmp 0x35e8
jmp 0x35e5
jmp 0x35e5
jmp 0x35e5
movq %rax, %r14
jmp 0x3600
movq %rax, %r14
jmp 0x3619
movq %rax, %r14
movq (%rbx), %rdi
cmpq -0x50(%rbp), %rdi
je 0x3600
movq -0x50(%rbp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x2060
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x3619
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x2060
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x3635
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x2060
movq %r14, %rdi
callq 0x2160
nop