// File: /workspace/github_cpp_makefile_star2_O2/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 %r12
pushq %rbx
subq $0x60, %rsp
cmpb $0x0, 0x12e8(%rsi)
jne 0x2c908
movq %rsi, %r14
cmpb $0x0, 0x12ea(%rsi)
jne 0x2c908
cmpb $0x1, 0x12eb(%r14)
je 0x2c908
movq %rdi, %rbx
movq 0x12f0(%r14), %r15
leaq 0x3034(%rip), %rsi      # 0x2f7c0
pushq $0x4
popq %rdx
movq %r15, %rdi
callq 0x1b0f0
testl %eax, %eax
je 0x2c7df
leaq 0x3023(%rip), %rsi      # 0x2f7c5
pushq $0x5
popq %rdx
movq %r15, %rdi
callq 0x1b0f0
testl %eax, %eax
je 0x2c838
leaq 0x300f(%rip), %rsi      # 0x2f7cb
pushq $0x4
popq %rdx
movq %r15, %rdi
callq 0x1b0f0
testl %eax, %eax
je 0x2c88b
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2cd60
jmp 0x2c8f8
addq $0x4, %r15
movq %r15, 0x12f0(%r14)
pushq $0x10
popq %rdi
callq 0x1b290
movl $0x6, (%rax)
movq $0x1, 0x8(%rax)
leaq 0x10(%rsp), %r15
movq %r15, %rdi
movq %rax, %rsi
callq 0x2ab28
leaq 0x50(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x1efb8
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x2cc7e
leaq 0x58(%rsp), %rdi
jmp 0x2c8e9
addq $0x5, %r15
movq %r15, 0x12f0(%r14)
pushq $0x10
popq %rdi
callq 0x1b290
movl $0x6, (%rax)
andq $0x0, 0x8(%rax)
leaq 0x10(%rsp), %r15
movq %r15, %rdi
movq %rax, %rsi
callq 0x2ab28
leaq 0x40(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x1efb8
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x2cc7e
leaq 0x48(%rsp), %rdi
jmp 0x2c8e9
addq $0x4, %r15
movq %r15, 0x12f0(%r14)
pushq $0x10
popq %rdi
callq 0x1b290
movl $0x6, (%rax)
movq $0x1, 0x8(%rax)
leaq 0x10(%rsp), %r15
movq %r15, %rdi
movq %rax, %rsi
callq 0x2ab28
movq (%r15), %rdi
callq 0x26aa8
leaq 0x30(%rsp), %r15
leaq 0x10(%rsp), %rsi
movq %r15, %rdi
callq 0x1efb8
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x2cc7e
leaq 0x38(%rsp), %rdi
callq 0x1efec
leaq 0x18(%rsp), %rdi
callq 0x1efec
movq %rbx, %rax
addq $0x60, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
pushq $0x60
popq %rdi
callq 0x1b110
movq %rax, %r14
leaq 0x31f7(%rip), %rsi      # 0x2fb11
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x1d34a
movb $0x1, %bpl
leaq 0x31bd(%rip), %rsi      # 0x2faf0
leaq 0x31c8(%rip), %rdx      # 0x2fb02
leaq 0x10(%rsp), %r8
movq %r14, %rdi
movl $0x1e9, %ecx            # imm = 0x1E9
callq 0x2cc64
xorl %ebp, %ebp
leaq 0x10413(%rip), %rsi     # 0x3cd68
leaq -0xd706(%rip), %rdx     # 0x1f256
movq %r14, %rdi
callq 0x1b3f0
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
jmp 0x2c985
movq %rax, %rbx
jmp 0x2c98a
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
jmp 0x2c985
movq %rax, %rbx
leaq 0x58(%rsp), %rdi
callq 0x1efec
leaq 0x18(%rsp), %rdi
callq 0x1efec
jmp 0x2c9b5
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x1b458
testb %bpl, %bpl
jne 0x2c9ad
jmp 0x2c9b5
movq %rax, %rbx
movq %r14, %rdi
callq 0x1b1c0
movq %rbx, %rdi
callq 0x1b410
nop