// File: /workspace/github_cpp_makefile_star2_O3/swxlion[P]swxJson/src/swxJsonParser.cpp
// Function: swxJson::JsonParser::generalProcess()
JsonPtr JsonParser::generalProcess()
{
	if(_wantKey || _wantComma || _wantSemicolon)
		throw JSON_ERROR_MSG(JosnInvalidContentError, "Json parser: content error.");

	if (strncmp(_pos, "true", 4) == 0)
	{
		_pos += 4;
		JsonPtr node(new Json(true));
		return insertNode(node);
	}

	else if (strncmp(_pos, "false", 5) == 0)
	{
		_pos += 5;
		JsonPtr node(new Json(false));
		return insertNode(node);
	}

	else if (strncmp(_pos, "null", 4) == 0)
	{
		_pos += 4;
		JsonPtr node(new Json(true));
		node->setNull();
		return insertNode(node);
	}
	else
		return processNumber();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x58, %rsp
cmpb $0x0, 0x12e8(%rsi)
jne 0x29589
movq %rsi, %r14
cmpb $0x0, 0x12ea(%rsi)
jne 0x29589
cmpb $0x1, 0x12eb(%r14)
je 0x29589
movq %rdi, %rbx
movq 0x12f0(%r14), %r15
leaq 0x445e(%rip), %rsi      # 0x2d7dc
movl $0x4, %edx
movq %r15, %rdi
callq 0x130f0
testl %eax, %eax
je 0x293d7
leaq 0x444b(%rip), %rsi      # 0x2d7e1
movl $0x5, %edx
movq %r15, %rdi
callq 0x130f0
testl %eax, %eax
je 0x29440
leaq 0x4435(%rip), %rsi      # 0x2d7e7
movl $0x4, %edx
movq %r15, %rdi
callq 0x130f0
testl %eax, %eax
je 0x294a9
movq %rbx, %rdi
movq %r14, %rsi
callq 0x29b84
jmp 0x2957b
addq $0x4, %r15
movq %r15, 0x12f0(%r14)
movl $0x10, %edi
callq 0x13290
movl $0x6, (%rax)
movq $0x1, 0x8(%rax)
leaq 0x10(%rsp), %r15
movq %rax, -0x8(%r15)
movq %r15, %rdi
movq %rax, %rsi
callq 0x27a1a
movq -0x8(%r15), %rcx
movq (%r15), %rax
movq %rcx, 0x48(%rsp)
movq %rax, 0x50(%rsp)
testq %rax, %rax
je 0x29517
movq 0xfba1(%rip), %rcx      # 0x38fd0
cmpb $0x0, (%rcx)
je 0x29513
incl 0x8(%rax)
jmp 0x29517
addq $0x5, %r15
movq %r15, 0x12f0(%r14)
movl $0x10, %edi
callq 0x13290
movl $0x6, (%rax)
movq $0x0, 0x8(%rax)
leaq 0x10(%rsp), %r15
movq %rax, -0x8(%r15)
movq %r15, %rdi
movq %rax, %rsi
callq 0x27a1a
movq -0x8(%r15), %rcx
movq (%r15), %rax
movq %rcx, 0x38(%rsp)
movq %rax, 0x40(%rsp)
testq %rax, %rax
je 0x29532
movq 0xfb38(%rip), %rcx      # 0x38fd0
cmpb $0x0, (%rcx)
je 0x2952e
incl 0x8(%rax)
jmp 0x29532
addq $0x4, %r15
movq %r15, 0x12f0(%r14)
movl $0x10, %edi
callq 0x13290
movl $0x6, (%rax)
movq $0x1, 0x8(%rax)
leaq 0x10(%rsp), %r15
movq %rax, -0x8(%r15)
movq %r15, %rdi
movq %rax, %rsi
callq 0x27a1a
movq -0x8(%r15), %rdi
callq 0x22994
movq 0x8(%rsp), %rcx
movq 0x10(%rsp), %rax
movq %rcx, 0x28(%rsp)
movq %rax, 0x30(%rsp)
testq %rax, %rax
je 0x2954d
movq 0xfac7(%rip), %rcx      # 0x38fd0
cmpb $0x0, (%rcx)
je 0x29549
incl 0x8(%rax)
jmp 0x2954d
lock
incl 0x8(%rax)
leaq 0x48(%rsp), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x29a62
movq 0x50(%rsp), %rdi
jmp 0x29562
lock
incl 0x8(%rax)
leaq 0x38(%rsp), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x29a62
movq 0x40(%rsp), %rdi
jmp 0x29562
lock
incl 0x8(%rax)
leaq 0x28(%rsp), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x29a62
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x2956c
callq 0x19f10
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x2957b
callq 0x19f10
movq %rbx, %rax
addq $0x58, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movl $0x60, %edi
callq 0x13110
movq %rax, %r14
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x4573(%rip), %rsi      # 0x2db19
leaq 0x4587(%rip), %rdx      # 0x2db34
leaq 0x8(%rsp), %rdi
callq 0x19f80
movb $0x1, %bpl
leaq 0x4537(%rip), %rsi      # 0x2daf8
leaq 0x4542(%rip), %rdx      # 0x2db0a
leaq 0x8(%rsp), %r8
movq %r14, %rdi
movl $0x1e9, %ecx            # imm = 0x1E9
callq 0x2bf1c
leaq 0xf78f(%rip), %rax      # 0x38d70
addq $0x10, %rax
movq %rax, (%r14)
xorl %ebp, %ebp
leaq 0xf767(%rip), %rsi      # 0x38d58
leaq -0xf45a(%rip), %rdx     # 0x1a19e
movq %r14, %rdi
callq 0x13410
movq %rax, %rbx
movq 0x30(%rsp), %rdi
jmp 0x29621
movq %rax, %rbx
jmp 0x2962b
movq %rax, %rbx
movq 0x40(%rsp), %rdi
jmp 0x29621
movq %rax, %rbx
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x2962b
callq 0x19f10
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x29668
callq 0x19f10
jmp 0x29668
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x29656
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x132a0
testb %bpl, %bpl
jne 0x29660
jmp 0x29668
movq %rax, %rbx
movq %r14, %rdi
callq 0x131e0
movq %rbx, %rdi
callq 0x13430