// File: /workspace/github_cpp_makefile_star2_O3/menhits[P]phplus/src/msclStringFuncs.cpp
// Function: doubleToString[abi:cxx11](double)
string doubleToString(double in)
{
	long long a=in;
	long long b=(in-a)*10000000000;
	if (b<0)
		b*=-1;
	if (b%10==9)
		b+=1;
	while (b>0 && !(b%10))
		b/=10;
	return to_string(a)+"."+to_string(b);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
cvttsd2si %xmm0, %r15
movq %rdi, %rbx
cvtsi2sd %r15, %xmm1
subsd %xmm1, %xmm0
mulsd 0x1e21b(%rip), %xmm0    # 0x7c1d0
cvttsd2si %xmm0, %rax
movq %rax, %r14
negq %r14
cmovsq %rax, %r14
movabsq $-0x3333333333333333, %rsi # imm = 0xCCCCCCCCCCCCCCCD
movq %r14, %rax
imulq %rsi, %rax
movabsq $-0x3333333333333335, %rcx # imm = 0xCCCCCCCCCCCCCCCB
addq %rax, %rcx
rorq %rcx
movabsq $0x1999999999999999, %rax # imm = 0x1999999999999999
cmpq %rax, %rcx
adcq $0x0, %r14
movq %r14, %rax
mulq %rsi
testq %r14, %r14
je 0x5e04a
shrq $0x2, %rdx
andq $-0x2, %rdx
leaq (%rdx,%rdx,4), %rax
movq %r14, %rcx
subq %rax, %rcx
jne 0x5e04a
movabsq $0x199999999999999a, %rdi # imm = 0x199999999999999A
movq %r14, %rcx
movq %r14, %rax
mulq %rsi
movq %rdx, %r14
shrq $0x3, %r14
movq %r14, %rax
mulq %rdi
cmpq $0xa, %rcx
jb 0x5e04a
addq %rdx, %rdx
leaq (%rdx,%rdx,4), %rax
movq %r14, %rcx
subq %rax, %rcx
je 0x5e01f
movq %r15, %r12
negq %r12
cmovsq %r15, %r12
movl $0x1, %r13d
cmpq $0xa, %r12
jb 0x5e0b4
movl $0x4, %r13d
movabsq $0x346dc5d63886594b, %rsi # imm = 0x346DC5D63886594B
movq %r12, %rcx
cmpq $0x63, %rcx
jbe 0x5e0ab
cmpq $0x3e7, %rcx            # imm = 0x3E7
jbe 0x5e0b1
cmpq $0x2710, %rcx           # imm = 0x2710
jb 0x5e0b4
movq %rcx, %rax
mulq %rsi
shrq $0xb, %rdx
addl $0x4, %r13d
cmpq $0x1869f, %rcx          # imm = 0x1869F
movq %rdx, %rcx
ja 0x5e073
addl $-0x3, %r13d
jmp 0x5e0b4
addl $-0x2, %r13d
jmp 0x5e0b4
decl %r13d
shrq $0x3f, %r15
leal (%r15,%r13), %esi
leaq 0x58(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x48(%rsp), %rbp
movq %rbp, %rdi
movl $0x2d, %edx
callq 0xa330
addq (%rbp), %r15
movq %r15, %rdi
movl %r13d, %esi
movq %r12, %rdx
callq 0x5784f
leaq 0x1ca5f(%rip), %rsi     # 0x7ab4f
movq %rbp, %rdi
callq 0xa560
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x5e120
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x5e12a
movupd (%rcx), %xmm0
movupd %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %r14, %r15
negq %r15
cmovsq %r14, %r15
movl $0x1, %ebp
cmpq $0xa, %r15
jb 0x5e1a6
movl $0x4, %ebp
movabsq $0x346dc5d63886594b, %rsi # imm = 0x346DC5D63886594B
movq %r15, %rcx
cmpq $0x63, %rcx
jbe 0x5e19f
cmpq $0x3e7, %rcx            # imm = 0x3E7
jbe 0x5e1a4
cmpq $0x2710, %rcx           # imm = 0x2710
jb 0x5e1a6
movq %rcx, %rax
mulq %rsi
shrq $0xb, %rdx
addl $0x4, %ebp
cmpq $0x1869f, %rcx          # imm = 0x1869F
movq %rdx, %rcx
ja 0x5e169
addl $-0x3, %ebp
jmp 0x5e1a6
addl $-0x2, %ebp
jmp 0x5e1a6
decl %ebp
movl %ebp, %esi
leaq 0x38(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x28(%rsp), %rdi
movl $0x2d, %edx
callq 0xa330
movq 0x28(%rsp), %rdi
movl %ebp, %esi
movq %r15, %rdx
callq 0x5784f
movq 0x8(%rsp), %rcx
movq 0x10(%rsp), %r8
movq 0x30(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %edi
cmpq %r12, %rcx
je 0x5e1f1
movq 0x18(%rsp), %rdi
movq 0x28(%rsp), %rsi
cmpq %rdi, %rax
jbe 0x5e20f
movl $0xf, %edi
cmpq %r14, %rsi
je 0x5e20a
movq 0x38(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x5e21b
leaq 0x8(%rsp), %rdi
callq 0xa110
jmp 0x5e229
leaq 0x28(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0xa310
leaq 0x10(%rbx), %rdx
movq %rdx, (%rbx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x5e248
movq %rsi, (%rbx)
movq (%rcx), %rdx
movq %rdx, 0x10(%rbx)
jmp 0x5e250
movupd (%rcx), %xmm0
movupd %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x8(%rbx)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
movq 0x28(%rsp), %rdi
cmpq %r14, %rdi
je 0x5e27b
callq 0xa2b0
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x5e28a
callq 0xa2b0
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x5e29e
callq 0xa2b0
movq %rbx, %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r14, %rdi
je 0x5e2c7
callq 0xa2b0
jmp 0x5e2c7
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x5e2db
callq 0xa2b0
jmp 0x5e2db
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x5e2ef
callq 0xa2b0
movq %rbx, %rdi
callq 0xa510