// File: /workspace/github_c_makefile_star2_O1/xapi-project[P]rrd-client-lib/parson/parson.c
// Function: parse_value
static JSON_Value * parse_value(const char **string, size_t nesting) {
    if (nesting > MAX_NESTING) {
        return NULL;
    }
    SKIP_WHITESPACES(string);
    switch (**string) {
        case '{':
            return parse_object_value(string, nesting + 1);
        case '[':
            return parse_array_value(string, nesting + 1);
        case '\"':
            return parse_string_value(string);
        case 'f': case 't':
            return parse_boolean_value(string);
        case '-':
        case '0': case '1': case '2': case '3': case '4':
        case '5': case '6': case '7': case '8': case '9':
            return parse_number_value(string);
        case 'n':
            return parse_null_value(string);
        default:
            return NULL;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
cmpq $0x800, %rsi            # imm = 0x800
ja 0x325d
movq %rsi, %r12
movq %rdi, %r14
callq 0x22e0
movq %rax, %r15
movq (%rax), %rcx
movq (%r14), %r13
movsbq (%r13), %rax
testb $0x20, 0x1(%rcx,%rax,2)
je 0x3227
incq %r13
movq %r13, (%r14)
movq (%r15), %rcx
movsbq (%r13), %rax
incq %r13
testb $0x20, 0x1(%rcx,%rax,2)
jne 0x320f
decq %r13
movzbl %al, %eax
xorl %ebx, %ebx
cmpl $0x5a, %eax
jg 0x3271
leal -0x30(%rax), %ecx
cmpl $0xa, %ecx
jae 0x333f
callq 0x2050
movq %rax, %rbx
movl $0x0, (%rax)
leaq 0x10(%rsp), %rsi
movq %r13, %rdi
callq 0x20c0
cmpl $0x0, (%rbx)
je 0x32b5
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpl $0x6d, %eax
jle 0x3356
cmpl $0x6e, %eax
je 0x3414
cmpl $0x74, %eax
je 0x3368
cmpl $0x7b, %eax
jne 0x325f
callq 0x3e18
movq %rax, %rbx
testq %rax, %rax
je 0x35be
cmpl $0x4, 0x8(%rbx)
jne 0x35be
movq 0x10(%rbx), %rcx
jmp 0x35c0
movq (%r14), %r15
movq 0x10(%rsp), %rbx
movq %rbx, %r13
subq %r15, %r13
cmpq $0x2, %r13
jb 0x32d6
cmpb $0x30, (%r15)
jne 0x32d6
cmpb $0x2e, 0x1(%r15)
jne 0x325d
movsd %xmm0, (%rsp)
cmpq $0x3, %r13
jb 0x3304
leaq 0x41bb(%rip), %rsi      # 0x74a3
movl $0x2, %edx
movq %r15, %rdi
callq 0x2080
testl %eax, %eax
jne 0x3304
cmpb $0x2e, 0x2(%r15)
jne 0x325d
movq %rbx, 0x8(%rsp)
leaq 0x4196(%rip), %r12      # 0x74a6
xorl %ebx, %ebx
movq %r13, %rbp
subq $0x1, %rbp
jb 0x33d8
movsbl -0x1(%r15,%r13), %esi
movl $0x3, %edx
movq %r12, %rdi
callq 0x21c0
movq %rbp, %r13
testq %rax, %rax
je 0x3315
jmp 0x325f
cmpl $0x22, %eax
je 0x3482
cmpl $0x2d, %eax
je 0x323d
jmp 0x325f
cmpl $0x5b, %eax
je 0x3461
cmpl $0x66, %eax
jne 0x325f
leaq 0x3f3d(%rip), %rdi      # 0x72ac
movl $0x4, %edx
movq %r13, %rsi
callq 0x2080
testl %eax, %eax
je 0x34c4
leaq 0x3f26(%rip), %rdi      # 0x72b1
movl $0x5, %edx
movq %r13, %rsi
callq 0x2080
testl %eax, %eax
jne 0x325d
addq $0x5, %r13
movq %r13, (%r14)
movl $0x18, %edi
callq *0x6dde(%rip)           # 0xa190
testq %rax, %rax
je 0x325d
movq %rax, %rbx
movq $0x0, (%rax)
movl $0x6, 0x8(%rax)
movl $0x0, 0x10(%rax)
jmp 0x325f
movq 0x8(%rsp), %rax
movq %rax, (%r14)
movl $0x18, %edi
callq *0x6da5(%rip)           # 0xa190
testq %rax, %rax
je 0x325d
movq %rax, %rbx
movq $0x0, (%rax)
movl $0x3, 0x8(%rax)
movsd (%rsp), %xmm0
movsd %xmm0, 0x10(%rax)
jmp 0x325f
leaq 0x408e(%rip), %rdi      # 0x74a9
movl $0x4, %edx
movq %r13, %rsi
callq 0x2080
testl %eax, %eax
jne 0x325d
addq $0x4, %r13
movq %r13, (%r14)
movl $0x18, %edi
callq *0x6d4e(%rip)           # 0xa190
testq %rax, %rax
je 0x325d
movq %rax, %rbx
movq $0x0, (%rax)
movl $0x1, 0x8(%rax)
jmp 0x325f
callq 0x3e75
movq %rax, %rbx
testq %rax, %rax
je 0x34fc
cmpl $0x5, 0x8(%rbx)
jne 0x34fc
movq 0x10(%rbx), %r13
jmp 0x34ff
movq %r14, %rdi
callq 0x5dfa
testq %rax, %rax
je 0x325d
movq %rax, %r14
movl $0x18, %edi
callq *0x6cef(%rip)           # 0xa190
testq %rax, %rax
je 0x36e4
movq %rax, %rbx
movq $0x0, (%rax)
movl $0x2, 0x8(%rax)
movq %r14, 0x10(%rax)
jmp 0x36e6
addq $0x4, %r13
movq %r13, (%r14)
movl $0x18, %edi
callq *0x6cba(%rip)           # 0xa190
testq %rax, %rax
je 0x325d
movq %rax, %rbx
movq $0x0, (%rax)
movl $0x6, 0x8(%rax)
movl $0x1, 0x10(%rax)
jmp 0x325f
xorl %r13d, %r13d
testq %rbx, %rbx
je 0x325d
movq (%r14), %rax
cmpb $0x5b, (%rax)
jne 0x325d
incq %r12
incq %rax
movq %rax, (%r14)
movq (%r15), %rdx
movsbq (%rax), %rcx
incq %rax
testb $0x20, 0x1(%rdx,%rcx,2)
jne 0x351a
cmpb $0x5d, %cl
je 0x35f8
movq (%r14), %rax
cmpb $0x0, (%rax)
je 0x36fd
movq %r14, %rdi
movq %r12, %rsi
callq 0x31d5
testq %rax, %rax
je 0x37a9
movq %rax, %rbp
movq %r13, %rdi
movq %rax, %rsi
callq 0x44d0
cmpl $-0x1, %eax
je 0x377c
movq (%r15), %rdx
movq (%r14), %rax
movsbq (%rax), %rcx
testb $0x20, 0x1(%rdx,%rcx,2)
je 0x3599
incq %rax
movq %rax, (%r14)
movq (%r15), %rdx
movsbq (%rax), %rcx
incq %rax
testb $0x20, 0x1(%rdx,%rcx,2)
jne 0x3582
decq %rax
cmpb $0x2c, %cl
jne 0x36fd
incq %rax
movq %rax, (%r14)
movq (%r15), %rcx
movsbq (%rax), %rdx
incq %rax
testb $0x20, 0x1(%rcx,%rdx,2)
jne 0x35a5
jmp 0x3537
xorl %ecx, %ecx
testq %rbx, %rbx
je 0x325d
movq (%r14), %rax
cmpb $0x7b, (%rax)
jne 0x325d
movq %rcx, (%rsp)
incq %r12
incq %rax
movq %rax, (%r14)
movq (%r15), %rdx
movsbq (%rax), %rcx
incq %rax
testb $0x20, 0x1(%rdx,%rcx,2)
jne 0x35df
cmpb $0x7d, %cl
jne 0x3600
movq %rax, (%r14)
jmp 0x325f
movq (%r14), %rax
cmpb $0x0, (%rax)
je 0x3735
movq %r14, %rdi
callq 0x5dfa
testq %rax, %rax
je 0x37a9
movq %rax, %rbp
movq (%r15), %rdx
movq (%r14), %rax
movsbq (%rax), %rcx
testb $0x20, 0x1(%rdx,%rcx,2)
je 0x364b
incq %rax
movq %rax, (%r14)
movq (%r15), %rdx
movsbq (%rax), %rcx
incq %rax
testb $0x20, 0x1(%rdx,%rcx,2)
jne 0x3634
decq %rax
cmpb $0x3a, %cl
jne 0x3771
incq %rax
movq %rax, (%r14)
movq %r14, %rdi
movq %r12, %rsi
callq 0x31d5
testq %rax, %rax
je 0x3771
movq %rax, %r13
movq (%rsp), %rdi
movq %rbp, %rsi
movq %rax, %rdx
callq 0x4530
movl %eax, 0x8(%rsp)
movq %rbp, %rdi
callq *0x6afb(%rip)           # 0xa188
cmpl $-0x1, 0x8(%rsp)
je 0x37a1
movq (%r15), %rdx
movq (%r14), %rax
movsbq (%rax), %rcx
testb $0x20, 0x1(%rdx,%rcx,2)
je 0x36c3
incq %rax
movq %rax, (%r14)
movq (%r15), %rdx
movsbq (%rax), %rcx
incq %rax
testb $0x20, 0x1(%rdx,%rcx,2)
jne 0x36ac
decq %rax
cmpb $0x2c, %cl
jne 0x3735
incq %rax
movq %rax, (%r14)
movq (%r15), %rcx
movsbq (%rax), %rdx
incq %rax
testb $0x20, 0x1(%rcx,%rdx,2)
jne 0x36cb
jmp 0x3600
xorl %ebx, %ebx
testq %rbx, %rbx
jne 0x325f
movq %r14, %rdi
callq *0x6a90(%rip)           # 0xa188
jmp 0x325d
movq (%r15), %rdx
movq (%r14), %rax
movsbq (%rax), %rcx
testb $0x20, 0x1(%rdx,%rcx,2)
je 0x3725
incq %rax
movq %rax, (%r14)
movq (%r15), %rdx
movsbq (%rax), %rcx
incq %rax
testb $0x20, 0x1(%rdx,%rcx,2)
jne 0x3711
cmpb $0x5d, %cl
jne 0x37a9
testq %r13, %r13
je 0x3781
movq 0x10(%r13), %rsi
jmp 0x3783
movq (%r15), %rdx
movq (%r14), %rax
movsbq (%rax), %rcx
testb $0x20, 0x1(%rdx,%rcx,2)
je 0x375d
incq %rax
movq %rax, (%r14)
movq (%r15), %rdx
movsbq (%rax), %rcx
incq %rax
testb $0x20, 0x1(%rdx,%rcx,2)
jne 0x3749
cmpb $0x7d, %cl
jne 0x37a9
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x378d
movq 0x18(%rdi), %rsi
jmp 0x378f
movq %rbp, %rdi
callq *0x6a0e(%rip)           # 0xa188
jmp 0x37a9
movq %rbp, %rdi
jmp 0x37a4
xorl %esi, %esi
movq %r13, %rdi
callq 0x6335
jmp 0x3794
xorl %esi, %esi
callq 0x60fb
cmpl $-0x1, %eax
je 0x37a9
incq (%r14)
jmp 0x325f
movq %r13, %rdi
callq 0x3d65
movq %rbx, %rdi
callq 0x3d65
jmp 0x325d