// File: /workspace/github_c_makefile_star2_O0/qq-smart[P]qq_sh_server/core/qq_json.c
// Function: print_value
static char *print_value(cJSON *item,int depth,int fmt,printbuffer *p)
{
	char *out=0;
	if (!item) return 0;
	if (p)
	{
		switch ((item->type)&255)
		{
			case cJSON_NULL:	{out=ensure(p,5);	if (out) strcpy(out,"null");	break;}
			case cJSON_False:	{out=ensure(p,6);	if (out) strcpy(out,"false");	break;}
			case cJSON_True:	{out=ensure(p,5);	if (out) strcpy(out,"true");	break;}
			case cJSON_Number:	out=print_number(item,p);break;
			case cJSON_String:	out=print_string(item,p);break;
			case cJSON_Array:	out=print_array(item,depth,fmt,p);break;
			case cJSON_Object:	out=print_object(item,depth,fmt,p);break;
		}
	}
	else
	{
		switch ((item->type)&255)
		{
			case cJSON_NULL:	out=cJSON_strdup("null");	break;
			case cJSON_False:	out=cJSON_strdup("false");break;
			case cJSON_True:	out=cJSON_strdup("true"); break;
			case cJSON_Number:	out=print_number(item,0);break;
			case cJSON_String:	out=print_string(item,0);break;
			case cJSON_Array:	out=print_array(item,depth,fmt,0);break;
			case cJSON_Object:	out=print_object(item,depth,fmt,0);break;
		}
	}
	return out;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movl %edx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq $0x0, -0x28(%rbp)
cmpq $0x0, -0x10(%rbp)
jne 0x56e2
movq $0x0, -0x8(%rbp)
jmp 0x58bb
cmpq $0x0, -0x20(%rbp)
je 0x57fa
movq -0x10(%rbp), %rax
movzbl 0x18(%rax), %eax
movl %eax, %ecx
movq %rcx, -0x30(%rbp)
subl $0x6, %eax
ja 0x57f5
movq -0x30(%rbp), %rax
leaq 0xa155(%rip), %rcx      # 0xf864
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq -0x20(%rbp), %rdi
movl $0x5, %esi
callq 0x7a20
movq %rax, -0x28(%rbp)
cmpq $0x0, -0x28(%rbp)
je 0x5741
movq -0x28(%rbp), %rdi
leaq 0xa22e(%rip), %rsi      # 0xf96a
callq 0x2200
jmp 0x57f5
movq -0x20(%rbp), %rdi
movl $0x6, %esi
callq 0x7a20
movq %rax, -0x28(%rbp)
cmpq $0x0, -0x28(%rbp)
je 0x576f
movq -0x28(%rbp), %rdi
leaq 0xa205(%rip), %rsi      # 0xf96f
callq 0x2200
jmp 0x57f5
movq -0x20(%rbp), %rdi
movl $0x5, %esi
callq 0x7a20
movq %rax, -0x28(%rbp)
cmpq $0x0, -0x28(%rbp)
je 0x579d
movq -0x28(%rbp), %rdi
leaq 0xa1dd(%rip), %rsi      # 0xf975
callq 0x2200
jmp 0x57f5
movq -0x10(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq 0x7b40
movq %rax, -0x28(%rbp)
jmp 0x57f5
movq -0x10(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq 0x7d70
movq %rax, -0x28(%rbp)
jmp 0x57f5
movq -0x10(%rbp), %rdi
movl -0x14(%rbp), %esi
movl -0x18(%rbp), %edx
movq -0x20(%rbp), %rcx
callq 0x7da0
movq %rax, -0x28(%rbp)
jmp 0x57f5
movq -0x10(%rbp), %rdi
movl -0x14(%rbp), %esi
movl -0x18(%rbp), %edx
movq -0x20(%rbp), %rcx
callq 0x8270
movq %rax, -0x28(%rbp)
jmp 0x58b3
movq -0x10(%rbp), %rax
movzbl 0x18(%rax), %eax
movl %eax, %ecx
movq %rcx, -0x38(%rbp)
subl $0x6, %eax
ja 0x58b1
movq -0x38(%rbp), %rax
leaq 0xa02c(%rip), %rcx      # 0xf848
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0xa13e(%rip), %rdi      # 0xf96a
callq 0x5c40
movq %rax, -0x28(%rbp)
jmp 0x58b1
leaq 0xa131(%rip), %rdi      # 0xf96f
callq 0x5c40
movq %rax, -0x28(%rbp)
jmp 0x58b1
leaq 0xa125(%rip), %rdi      # 0xf975
callq 0x5c40
movq %rax, -0x28(%rbp)
jmp 0x58b1
movq -0x10(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x7b40
movq %rax, -0x28(%rbp)
jmp 0x58b1
movq -0x10(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x7d70
movq %rax, -0x28(%rbp)
jmp 0x58b1
movq -0x10(%rbp), %rdi
movl -0x14(%rbp), %esi
movl -0x18(%rbp), %edx
xorl %eax, %eax
movl %eax, %ecx
callq 0x7da0
movq %rax, -0x28(%rbp)
jmp 0x58b1
movq -0x10(%rbp), %rdi
movl -0x14(%rbp), %esi
movl -0x18(%rbp), %edx
xorl %eax, %eax
movl %eax, %ecx
callq 0x8270
movq %rax, -0x28(%rbp)
jmp 0x58b3
movq -0x28(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x40, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)