// File: /workspace/github_cpp_makefile_star2_O1/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 0x2986d
movq %rsi, %r14
cmpb $0x0, 0x12ea(%rsi)
jne 0x2986d
cmpb $0x1, 0x12eb(%r14)
je 0x2986d
movq %rdi, %rbx
movq 0x12f0(%r14), %r15
leaq 0x417a(%rip), %rsi      # 0x2d7dc
movl $0x4, %edx
movq %r15, %rdi
callq 0x130f0
testl %eax, %eax
je 0x296bb
leaq 0x4167(%rip), %rsi      # 0x2d7e1
movl $0x5, %edx
movq %r15, %rdi
callq 0x130f0
testl %eax, %eax
je 0x29724
leaq 0x4151(%rip), %rsi      # 0x2d7e7
movl $0x4, %edx
movq %r15, %rdi
callq 0x130f0
testl %eax, %eax
je 0x2978d
movq %rbx, %rdi
movq %r14, %rsi
callq 0x29e1c
jmp 0x2985f
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 0x27cd8
movq -0x8(%r15), %rcx
movq (%r15), %rax
movq %rcx, 0x48(%rsp)
movq %rax, 0x50(%rsp)
testq %rax, %rax
je 0x297fb
movq 0xf8bd(%rip), %rcx      # 0x38fd0
cmpb $0x0, (%rcx)
je 0x297f7
incl 0x8(%rax)
jmp 0x297fb
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 0x27cd8
movq -0x8(%r15), %rcx
movq (%r15), %rax
movq %rcx, 0x38(%rsp)
movq %rax, 0x40(%rsp)
testq %rax, %rax
je 0x29816
movq 0xf854(%rip), %rcx      # 0x38fd0
cmpb $0x0, (%rcx)
je 0x29812
incl 0x8(%rax)
jmp 0x29816
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 0x27cd8
movq -0x8(%r15), %rdi
callq 0x22bb2
movq 0x8(%rsp), %rcx
movq 0x10(%rsp), %rax
movq %rcx, 0x28(%rsp)
movq %rax, 0x30(%rsp)
testq %rax, %rax
je 0x29831
movq 0xf7e3(%rip), %rcx      # 0x38fd0
cmpb $0x0, (%rcx)
je 0x2982d
incl 0x8(%rax)
jmp 0x29831
lock
incl 0x8(%rax)
leaq 0x48(%rsp), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x29cf6
movq 0x50(%rsp), %rdi
jmp 0x29846
lock
incl 0x8(%rax)
leaq 0x38(%rsp), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x29cf6
movq 0x40(%rsp), %rdi
jmp 0x29846
lock
incl 0x8(%rax)
leaq 0x28(%rsp), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x29cf6
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x29850
callq 0x19f34
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x2985f
callq 0x19f34
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 0x428f(%rip), %rsi      # 0x2db19
leaq 0x42a3(%rip), %rdx      # 0x2db34
leaq 0x8(%rsp), %rdi
callq 0x19fa4
movb $0x1, %bpl
leaq 0x4253(%rip), %rsi      # 0x2daf8
leaq 0x425e(%rip), %rdx      # 0x2db0a
leaq 0x8(%rsp), %r8
movq %r14, %rdi
movl $0x1e9, %ecx            # imm = 0x1E9
callq 0x2c1b8
leaq 0xf4ab(%rip), %rax      # 0x38d70
addq $0x10, %rax
movq %rax, (%r14)
xorl %ebp, %ebp
leaq 0xf483(%rip), %rsi      # 0x38d58
leaq -0xf71e(%rip), %rdx     # 0x1a1be
movq %r14, %rdi
callq 0x13410
movq %rax, %rbx
movq 0x30(%rsp), %rdi
jmp 0x29905
movq %rax, %rbx
jmp 0x2990f
movq %rax, %rbx
movq 0x40(%rsp), %rdi
jmp 0x29905
movq %rax, %rbx
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x2990f
callq 0x19f34
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x2994f
callq 0x19f34
jmp 0x2994f
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x29942
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x132a0
jmp 0x29942
movq %rax, %rbx
movb $0x1, %bpl
testb %bpl, %bpl
je 0x2994f
movq %r14, %rdi
callq 0x131e0
movq %rbx, %rdi
callq 0x13430
nop