// File: /workspace/github_cpp_makefile_star2_O3/menhits[P]phplus/src/ResolveLiteral.cpp
// Function: resolveDubLiteral(std::shared_ptr<TokenData>)
Action resolveDubLiteral(Token token)
{
	string in=token->getText();
	
	double val=0;
	int pointPos=0;
	
	for (auto i=in.begin(); i!=in.end(); ++i)
	{
		if (*i=='.' || *i=='_')
		{
			if (pointPos==0)
			{
				pointPos=10;
			}
			else
			{
				error.log(string() + "multiple decimal points tersedia pada nomor '" + in + "'", SOURCE_ERROR, token);
				return voidAction;
			}
		}
		else if (*i>='0' && *i<='9')
		{
			if (pointPos)
			{
				val+=(double)(*i-'0')/pointPos;
				pointPos*=10;
			}
			else
			{
				val=val*10+(*i-'0');
			}
		}
		else
		{
			error.log(string() + "bad character '" + *i + "' tersedia pada nomor '" + in + "'", SOURCE_ERROR, token);
			return voidAction;
		}
	}
	
	double out=val;
	return constGetAction(&out, Dub, token->getText(), globalNamespace);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x168, %rsp            # imm = 0x168
movq %rsi, %r14
movq %rdi, %rbx
movq (%rsi), %rax
leaq 0x78(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x68(%rsp), %r15
movq %r15, %rdi
callq 0xde0c
movq 0x8(%r15), %rax
testq %rax, %rax
je 0x51eae
movq 0x68(%rsp), %r13
xorpd %xmm0, %xmm0
xorl %ebp, %ebp
movsd 0x292f7(%rip), %xmm1    # 0x7b140
xorl %ecx, %ecx
movzbl (%r13,%rbp), %edx
cmpl $0x5f, %edx
je 0x51e5b
cmpl $0x2e, %edx
jne 0x51e69
testl %ecx, %ecx
movl $0xa, %ecx
je 0x51ea4
jmp 0x51eec
leal -0x30(%rdx), %esi
cmpb $0x9, %sil
ja 0x52006
addl $-0x30, %edx
xorps %xmm2, %xmm2
cvtsi2sd %edx, %xmm2
testl %ecx, %ecx
je 0x51e9a
xorps %xmm3, %xmm3
cvtsi2sd %ecx, %xmm3
divsd %xmm3, %xmm2
addsd %xmm2, %xmm0
addl %ecx, %ecx
leal (%rcx,%rcx,4), %ecx
jmp 0x51ea4
mulsd %xmm1, %xmm0
addsd %xmm2, %xmm0
xorl %ecx, %ecx
incq %rbp
cmpq %rbp, %rax
jne 0x51e4b
jmp 0x51eb2
xorpd %xmm0, %xmm0
movsd %xmm0, 0x8(%rsp)
leaq 0x48591(%rip), %rax     # 0x9a450
movq (%rax), %rcx
movq 0x8(%rax), %rax
movq %rcx, 0x98(%rsp)
movq %rax, 0xa0(%rsp)
testq %rax, %rax
je 0x51f44
movq 0x480c6(%rip), %rcx     # 0x99fa8
cmpb $0x0, (%rcx)
je 0x51f40
incl 0x8(%rax)
jmp 0x51f44
leaq 0x38(%rsp), %r15
movq %r15, -0x10(%r15)
movq $0x0, -0x8(%r15)
movb $0x0, (%r15)
leaq 0x29289(%rip), %rsi     # 0x7b191
leaq 0x28(%rsp), %rdi
callq 0xa560
leaq 0x58(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x52068
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
jmp 0x52072
lock
incl 0x8(%rax)
movq (%r14), %rax
leaq 0x158(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x148(%rsp), %rdi
callq 0xde0c
leaq 0x4840f(%rip), %rax     # 0x9a380
movq (%rax), %rcx
movq 0x8(%rax), %rax
movq %rcx, 0x88(%rsp)
movq %rax, 0x90(%rsp)
testq %rax, %rax
je 0x51fa2
movq 0x48014(%rip), %rcx     # 0x99fa8
cmpb $0x0, (%rcx)
je 0x51f9e
incl 0x8(%rax)
jmp 0x51fa2
lock
incl 0x8(%rax)
leaq 0x8(%rsp), %rsi
leaq 0x98(%rsp), %rdx
leaq 0x148(%rsp), %rcx
leaq 0x88(%rsp), %r8
movq %rbx, %rdi
callq 0x6d80c
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0x51fd9
callq 0xdce4
movq 0x148(%rsp), %rdi
cmpq %r14, %rdi
je 0x51feb
callq 0xa2b0
movq 0xa0(%rsp), %rdi
testq %rdi, %rdi
je 0x5221f
callq 0xdce4
jmp 0x5221f
leaq 0x118(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq 0x29144(%rip), %rsi     # 0x7b168
leaq 0x108(%rsp), %rdi
callq 0xa560
leaq 0x138(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x52243
movq %rdx, 0x128(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x138(%rsp)
jmp 0x5224c
movupd (%rcx), %xmm0
movupd %xmm0, (%r13)
movq 0x8(%rax), %rdx
leaq 0x48(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x68(%rsp), %rsi
movq 0x70(%rsp), %rdx
callq 0xa110
leaq 0x18(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x520c4
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x520cd
movupd (%rcx), %xmm0
movupd %xmm0, (%rbp)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x2a17a(%rip), %rsi     # 0x7c26a
callq 0xa560
leaq 0xf8(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x52126
movq %rdx, 0xe8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xf8(%rsp)
jmp 0x52130
movupd (%rcx), %xmm0
movupd %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, 0xf0(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%r14), %rax
movq %rax, 0xb8(%rsp)
movq 0x8(%r14), %rax
movq %rax, 0xc0(%rsp)
testq %rax, %rax
je 0x5217c
movq 0x47e3a(%rip), %rcx     # 0x99fa8
cmpb $0x0, (%rcx)
je 0x52178
incl 0x8(%rax)
jmp 0x5217c
lock
incl 0x8(%rax)
leaq 0x48190(%rip), %rdi     # 0x9a313
leaq 0xe8(%rsp), %rsi
leaq 0xb8(%rsp), %rcx
xorl %edx, %edx
callq 0x1fc46
movq 0xc0(%rsp), %rdi
testq %rdi, %rdi
je 0x521ac
callq 0xdce4
movq 0xe8(%rsp), %rdi
cmpq %r12, %rdi
je 0x521be
callq 0xa2b0
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
leaq 0x78(%rsp), %r12
je 0x521d2
callq 0xa2b0
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x521e1
callq 0xa2b0
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x521f0
callq 0xa2b0
leaq 0x48179(%rip), %rax     # 0x9a370
movq (%rax), %rcx
movq %rcx, (%rbx)
movq 0x8(%rax), %rax
movq %rax, 0x8(%rbx)
testq %rax, %rax
je 0x5221f
movq 0x47d97(%rip), %rcx     # 0x99fa8
cmpb $0x0, (%rcx)
je 0x5221b
incl 0x8(%rax)
jmp 0x5221f
lock
incl 0x8(%rax)
movq 0x68(%rsp), %rdi
cmpq %r12, %rdi
je 0x5222e
callq 0xa2b0
movq %rbx, %rax
addq $0x168, %rsp            # imm = 0x168
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movupd (%rcx), %xmm0
movupd %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0x128(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movsbl (%r13,%rbp), %r8d
movq 0x8(%rdi), %rsi
movl $0x1, %ecx
xorl %edx, %edx
callq 0xa550
leaq 0x38(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x522a8
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x522b0
movupd (%rcx), %xmm0
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq 0x28(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x28eec(%rip), %rsi     # 0x7b1bf
callq 0xa560
leaq 0x58(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x52302
movq %rsi, %r13
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
jmp 0x5230d
movupd (%rcx), %xmm0
movq %rsi, %r13
movupd %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq 0x48(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x68(%rsp), %rsi
movq 0x70(%rsp), %rdx
callq 0xa110
leaq 0x18(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x5235f
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x52368
movupd (%rcx), %xmm0
movupd %xmm0, (%rbp)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x29edf(%rip), %rsi     # 0x7c26a
callq 0xa560
leaq 0xd8(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x523c1
movq %rdx, 0xc8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xd8(%rsp)
jmp 0x523cb
movupd (%rcx), %xmm0
movupd %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, 0xd0(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%r14), %rax
movq %rax, 0xa8(%rsp)
movq 0x8(%r14), %rax
movq %rax, 0xb0(%rsp)
testq %rax, %rax
je 0x52417
movq 0x47b9f(%rip), %rcx     # 0x99fa8
cmpb $0x0, (%rcx)
je 0x52413
incl 0x8(%rax)
jmp 0x52417
lock
incl 0x8(%rax)
leaq 0x47ef5(%rip), %rdi     # 0x9a313
leaq 0xc8(%rsp), %rsi
leaq 0xa8(%rsp), %rcx
xorl %edx, %edx
callq 0x1fc46
movq 0xb0(%rsp), %rdi
testq %rdi, %rdi
je 0x52447
callq 0xdce4
movq 0xc8(%rsp), %rdi
cmpq %r12, %rdi
je 0x52459
callq 0xa2b0
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
leaq 0x78(%rsp), %r12
je 0x5246d
callq 0xa2b0
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x5247c
callq 0xa2b0
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x52490
callq 0xa2b0
movq 0x128(%rsp), %rdi
cmpq %r15, %rdi
je 0x524a2
callq 0xa2b0
movq 0x108(%rsp), %rdi
leaq 0x118(%rsp), %rax
cmpq %rax, %rdi
jne 0x521eb
jmp 0x521f0
movq %rax, %rbx
movq 0xb0(%rsp), %rdi
testq %rdi, %rdi
je 0x524d5
callq 0xdce4
movq 0xc8(%rsp), %rdi
cmpq %r12, %rdi
je 0x524ec
callq 0xa2b0
jmp 0x524ec
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x52500
callq 0xa2b0
jmp 0x52500
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x52514
callq 0xa2b0
jmp 0x52514
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x5252d
callq 0xa2b0
jmp 0x5252d
movq %rax, %rbx
movq 0x128(%rsp), %rdi
cmpq %r15, %rdi
je 0x52544
callq 0xa2b0
jmp 0x52544
movq %rax, %rbx
movq 0x108(%rsp), %rdi
leaq 0x118(%rsp), %rax
cmpq %rax, %rdi
jne 0x525bc
jmp 0x52601
movq %rax, %rbx
movq 0xc0(%rsp), %rdi
testq %rdi, %rdi
je 0x52573
callq 0xdce4
movq 0xe8(%rsp), %rdi
cmpq %r12, %rdi
je 0x5258a
callq 0xa2b0
jmp 0x5258a
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x5259e
callq 0xa2b0
jmp 0x5259e
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x525b2
callq 0xa2b0
jmp 0x525b2
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x52601
callq 0xa2b0
jmp 0x52601
movq %rax, %rbx
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0x525d8
callq 0xdce4
movq 0x148(%rsp), %rdi
cmpq %r14, %rdi
je 0x525ef
callq 0xa2b0
jmp 0x525ef
movq %rax, %rbx
movq 0xa0(%rsp), %rdi
testq %rdi, %rdi
je 0x52601
callq 0xdce4
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x52615
callq 0xa2b0
movq %rbx, %rdi
callq 0xa510