// File: /workspace/github_cpp_makefile_star2_O1/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 0x1df78(%rip), %xmm0    # 0x7b210
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 0x5d32d
shrq $0x2, %rdx
andq $-0x2, %rdx
leaq (%rdx,%rdx,4), %rax
movq %r14, %rcx
subq %rax, %rcx
jne 0x5d32d
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 0x5d32d
addq %rdx, %rdx
leaq (%rdx,%rdx,4), %rax
movq %r14, %rcx
subq %rax, %rcx
je 0x5d302
movq %r15, %r12
negq %r12
cmovsq %r15, %r12
movl $0x1, %r13d
cmpq $0xa, %r12
jb 0x5d397
movl $0x4, %r13d
movabsq $0x346dc5d63886594b, %rsi # imm = 0x346DC5D63886594B
movq %r12, %rcx
cmpq $0x63, %rcx
jbe 0x5d38e
cmpq $0x3e7, %rcx            # imm = 0x3E7
jbe 0x5d394
cmpq $0x2710, %rcx           # imm = 0x2710
jb 0x5d397
movq %rcx, %rax
mulq %rsi
shrq $0xb, %rdx
addl $0x4, %r13d
cmpq $0x1869f, %rcx          # imm = 0x1869F
movq %rdx, %rcx
ja 0x5d356
addl $-0x3, %r13d
jmp 0x5d397
addl $-0x2, %r13d
jmp 0x5d397
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 0x56c21
leaq 0x1c7bc(%rip), %rsi     # 0x79b8f
movq %rbp, %rdi
callq 0xa560
leaq 0x38(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x5d403
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x5d40d
movupd (%rcx), %xmm0
movupd %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, 0x30(%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 0x5d489
movl $0x4, %ebp
movabsq $0x346dc5d63886594b, %rsi # imm = 0x346DC5D63886594B
movq %r15, %rcx
cmpq $0x63, %rcx
jbe 0x5d482
cmpq $0x3e7, %rcx            # imm = 0x3E7
jbe 0x5d487
cmpq $0x2710, %rcx           # imm = 0x2710
jb 0x5d489
movq %rcx, %rax
mulq %rsi
shrq $0xb, %rdx
addl $0x4, %ebp
cmpq $0x1869f, %rcx          # imm = 0x1869F
movq %rdx, %rcx
ja 0x5d44c
addl $-0x3, %ebp
jmp 0x5d489
addl $-0x2, %ebp
jmp 0x5d489
decl %ebp
movl %ebp, %esi
leaq 0x18(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x8(%rsp), %rdi
movl $0x2d, %edx
callq 0xa330
movq 0x8(%rsp), %rdi
movl %ebp, %esi
movq %r15, %rdx
callq 0x56c21
movq 0x28(%rsp), %rcx
movq 0x30(%rsp), %r8
movq 0x10(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r12, %rcx
je 0x5d4d4
movq 0x38(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x5d4ef
movl $0xf, %esi
cmpq %r14, 0x8(%rsp)
je 0x5d4ea
movq 0x18(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x5d500
movq 0x8(%rsp), %rsi
leaq 0x28(%rsp), %rdi
callq 0xa110
jmp 0x5d50e
leaq 0x8(%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 0x5d52d
movq %rsi, (%rbx)
movq (%rcx), %rdx
movq %rdx, 0x10(%rbx)
jmp 0x5d535
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 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x5d560
callq 0xa2b0
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x5d56f
callq 0xa2b0
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x5d583
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 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x5d5ac
callq 0xa2b0
jmp 0x5d5ac
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x5d5c0
callq 0xa2b0
jmp 0x5d5c0
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x5d5d4
callq 0xa2b0
movq %rbx, %rdi
callq 0xa510