// File: /workspace/github_cpp_makefile_star2_O1/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 0xdde2
movq 0x8(%r15), %rax
testq %rax, %rax
je 0x5111a
movq 0x68(%rsp), %r13
xorpd %xmm0, %xmm0
xorl %ebp, %ebp
movsd 0x290cb(%rip), %xmm1    # 0x7a180
xorl %ecx, %ecx
movzbl (%r13,%rbp), %edx
cmpl $0x5f, %edx
je 0x510c7
cmpl $0x2e, %edx
jne 0x510d5
testl %ecx, %ecx
movl $0xa, %ecx
je 0x51110
jmp 0x51158
leal -0x30(%rdx), %esi
cmpb $0x9, %sil
ja 0x51272
addl $-0x30, %edx
xorps %xmm2, %xmm2
cvtsi2sd %edx, %xmm2
testl %ecx, %ecx
je 0x51106
xorps %xmm3, %xmm3
cvtsi2sd %ecx, %xmm3
divsd %xmm3, %xmm2
addsd %xmm2, %xmm0
addl %ecx, %ecx
leal (%rcx,%rcx,4), %ecx
jmp 0x51110
mulsd %xmm1, %xmm0
addsd %xmm2, %xmm0
xorl %ecx, %ecx
incq %rbp
cmpq %rbp, %rax
jne 0x510b7
jmp 0x5111e
xorpd %xmm0, %xmm0
movsd %xmm0, 0x8(%rsp)
leaq 0x48325(%rip), %rax     # 0x99450
movq (%rax), %rcx
movq 0x8(%rax), %rax
movq %rcx, 0x98(%rsp)
movq %rax, 0xa0(%rsp)
testq %rax, %rax
je 0x511b0
movq 0x47e5a(%rip), %rcx     # 0x98fa8
cmpb $0x0, (%rcx)
je 0x511ac
incl 0x8(%rax)
jmp 0x511b0
leaq 0x38(%rsp), %r15
movq %r15, -0x10(%r15)
movq $0x0, -0x8(%r15)
movb $0x0, (%r15)
leaq 0x2905d(%rip), %rsi     # 0x7a1d1
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 0x512d4
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
jmp 0x512de
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 0xdde2
leaq 0x481a3(%rip), %rax     # 0x99380
movq (%rax), %rcx
movq 0x8(%rax), %rax
movq %rcx, 0x88(%rsp)
movq %rax, 0x90(%rsp)
testq %rax, %rax
je 0x5120e
movq 0x47da8(%rip), %rcx     # 0x98fa8
cmpb $0x0, (%rcx)
je 0x5120a
incl 0x8(%rax)
jmp 0x5120e
lock
incl 0x8(%rax)
leaq 0x8(%rsp), %rsi
leaq 0x98(%rsp), %rdx
leaq 0x148(%rsp), %rcx
leaq 0x88(%rsp), %r8
movq %rbx, %rdi
callq 0x6c8d8
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0x51245
callq 0xdcba
movq 0x148(%rsp), %rdi
cmpq %r14, %rdi
je 0x51257
callq 0xa2b0
movq 0xa0(%rsp), %rdi
testq %rdi, %rdi
je 0x5148b
callq 0xdcba
jmp 0x5148b
leaq 0x118(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq 0x28f18(%rip), %rsi     # 0x7a1a8
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 0x514af
movq %rdx, 0x128(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x138(%rsp)
jmp 0x514b8
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 0x51330
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x51339
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 0x29f4e(%rip), %rsi     # 0x7b2aa
callq 0xa560
leaq 0xf8(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x51392
movq %rdx, 0xe8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xf8(%rsp)
jmp 0x5139c
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 0x513e8
movq 0x47bce(%rip), %rcx     # 0x98fa8
cmpb $0x0, (%rcx)
je 0x513e4
incl 0x8(%rax)
jmp 0x513e8
lock
incl 0x8(%rax)
leaq 0x47f24(%rip), %rdi     # 0x99313
leaq 0xe8(%rsp), %rsi
leaq 0xb8(%rsp), %rcx
xorl %edx, %edx
callq 0x1f926
movq 0xc0(%rsp), %rdi
testq %rdi, %rdi
je 0x51418
callq 0xdcba
movq 0xe8(%rsp), %rdi
cmpq %r12, %rdi
je 0x5142a
callq 0xa2b0
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
leaq 0x78(%rsp), %r12
je 0x5143e
callq 0xa2b0
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x5144d
callq 0xa2b0
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x5145c
callq 0xa2b0
leaq 0x47f0d(%rip), %rax     # 0x99370
movq (%rax), %rcx
movq %rcx, (%rbx)
movq 0x8(%rax), %rax
movq %rax, 0x8(%rbx)
testq %rax, %rax
je 0x5148b
movq 0x47b2b(%rip), %rcx     # 0x98fa8
cmpb $0x0, (%rcx)
je 0x51487
incl 0x8(%rax)
jmp 0x5148b
lock
incl 0x8(%rax)
movq 0x68(%rsp), %rdi
cmpq %r12, %rdi
je 0x5149a
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 0x51514
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x5151c
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 0x28cc0(%rip), %rsi     # 0x7a1ff
callq 0xa560
leaq 0x58(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x5156e
movq %rsi, %r13
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
jmp 0x51579
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 0x515cb
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x515d4
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 0x29cb3(%rip), %rsi     # 0x7b2aa
callq 0xa560
leaq 0xd8(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x5162d
movq %rdx, 0xc8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xd8(%rsp)
jmp 0x51637
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 0x51683
movq 0x47933(%rip), %rcx     # 0x98fa8
cmpb $0x0, (%rcx)
je 0x5167f
incl 0x8(%rax)
jmp 0x51683
lock
incl 0x8(%rax)
leaq 0x47c89(%rip), %rdi     # 0x99313
leaq 0xc8(%rsp), %rsi
leaq 0xa8(%rsp), %rcx
xorl %edx, %edx
callq 0x1f926
movq 0xb0(%rsp), %rdi
testq %rdi, %rdi
je 0x516b3
callq 0xdcba
movq 0xc8(%rsp), %rdi
cmpq %r12, %rdi
je 0x516c5
callq 0xa2b0
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
leaq 0x78(%rsp), %r12
je 0x516d9
callq 0xa2b0
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x516e8
callq 0xa2b0
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x516fc
callq 0xa2b0
movq 0x128(%rsp), %rdi
cmpq %r15, %rdi
je 0x5170e
callq 0xa2b0
movq 0x108(%rsp), %rdi
leaq 0x118(%rsp), %rax
cmpq %rax, %rdi
jne 0x51457
jmp 0x5145c
movq %rax, %rbx
movq 0xb0(%rsp), %rdi
testq %rdi, %rdi
je 0x51741
callq 0xdcba
movq 0xc8(%rsp), %rdi
cmpq %r12, %rdi
je 0x51758
callq 0xa2b0
jmp 0x51758
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x5176c
callq 0xa2b0
jmp 0x5176c
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x51780
callq 0xa2b0
jmp 0x51780
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x51799
callq 0xa2b0
jmp 0x51799
movq %rax, %rbx
movq 0x128(%rsp), %rdi
cmpq %r15, %rdi
je 0x517b0
callq 0xa2b0
jmp 0x517b0
movq %rax, %rbx
movq 0x108(%rsp), %rdi
leaq 0x118(%rsp), %rax
cmpq %rax, %rdi
jne 0x51828
jmp 0x5186d
movq %rax, %rbx
movq 0xc0(%rsp), %rdi
testq %rdi, %rdi
je 0x517df
callq 0xdcba
movq 0xe8(%rsp), %rdi
cmpq %r12, %rdi
je 0x517f6
callq 0xa2b0
jmp 0x517f6
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x5180a
callq 0xa2b0
jmp 0x5180a
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x5181e
callq 0xa2b0
jmp 0x5181e
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x5186d
callq 0xa2b0
jmp 0x5186d
movq %rax, %rbx
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0x51844
callq 0xdcba
movq 0x148(%rsp), %rdi
cmpq %r14, %rdi
je 0x5185b
callq 0xa2b0
jmp 0x5185b
movq %rax, %rbx
movq 0xa0(%rsp), %rdi
testq %rdi, %rdi
je 0x5186d
callq 0xdcba
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x51881
callq 0xa2b0
movq %rbx, %rdi
callq 0xa510