// File: /workspace/github_c_makefile_star2_O3/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 0x31b5
movq %rsi, %r12
movq %rdi, %r14
callq 0x22d0
movq %rax, %r15
movq (%rax), %rcx
movq (%r14), %r13
movsbq (%r13), %rax
testb $0x20, 0x1(%rcx,%rax,2)
je 0x317f
incq %r13
movq %r13, (%r14)
movq (%r15), %rcx
movsbq (%r13), %rax
incq %r13
testb $0x20, 0x1(%rcx,%rax,2)
jne 0x3167
decq %r13
movzbl %al, %eax
xorl %ebx, %ebx
cmpl $0x5a, %eax
jg 0x31c9
leal -0x30(%rax), %ecx
cmpl $0xa, %ecx
jae 0x3231
callq 0x2050
movq %rax, %rbx
movl $0x0, (%rax)
leaq 0x10(%rsp), %rsi
movq %r13, %rdi
callq 0x20c0
cmpl $0x0, (%rbx)
je 0x3201
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 0x3248
cmpl $0x6e, %eax
je 0x330d
cmpl $0x74, %eax
je 0x325a
cmpl $0x7b, %eax
jne 0x31b7
callq 0x3d03
testq %rax, %rax
je 0x31b5
movq %rax, %rbx
cmpl $0x4, 0x8(%rax)
jne 0x34f5
movq 0x10(%rbx), %rsi
jmp 0x34f7
movq (%r14), %rcx
movq 0x10(%rsp), %rax
movq %rax, %rdx
subq %rcx, %rdx
cmpq $0x2, %rdx
jb 0x32dd
movb (%rcx), %sil
cmpb $0x30, %sil
jne 0x32b8
cmpb $0x2e, 0x1(%rcx)
jne 0x31b5
jmp 0x32dd
cmpl $0x22, %eax
je 0x337e
cmpl $0x2d, %eax
je 0x3195
jmp 0x31b7
cmpl $0x5b, %eax
je 0x335a
cmpl $0x66, %eax
jne 0x31b7
leaq 0x406b(%rip), %rdi      # 0x72cc
movl $0x4, %edx
movq %r13, %rsi
callq 0x2080
testl %eax, %eax
je 0x33fc
leaq 0x4054(%rip), %rdi      # 0x72d1
movl $0x5, %edx
movq %r13, %rsi
callq 0x2080
xorl %r15d, %r15d
testl %eax, %eax
jne 0x31b5
addq $0x5, %r13
movq %r13, (%r14)
movl $0x18, %edi
callq *0x6ee1(%rip)           # 0xa188
testq %rax, %rax
je 0x31b5
movq %rax, %rbx
jmp 0x3420
cmpq $0x2, %rdx
sete %dil
cmpb $0x2d, %sil
setne %sil
orb %dil, %sil
jne 0x32dd
cmpb $0x30, 0x1(%rcx)
jne 0x32dd
cmpb $0x2e, 0x2(%rcx)
jne 0x31b5
movq %rdx, %rsi
subq $0x1, %rsi
jb 0x33c0
movzbl -0x1(%rcx,%rdx), %edi
testl %edi, %edi
je 0x31b5
cmpl $0x58, %edi
je 0x31b5
movq %rsi, %rdx
cmpl $0x78, %edi
jne 0x32e0
jmp 0x31b5
leaq 0x417f(%rip), %rdi      # 0x7493
movl $0x4, %edx
movq %r13, %rsi
callq 0x2080
testl %eax, %eax
jne 0x31b5
addq $0x4, %r13
movq %r13, (%r14)
movl $0x18, %edi
callq *0x6e4d(%rip)           # 0xa188
testq %rax, %rax
je 0x31b5
movq %rax, %rbx
movq $0x0, (%rax)
movl $0x1, 0x8(%rax)
jmp 0x31b7
callq 0x3d61
testq %rax, %rax
je 0x31b5
movq %rax, %rbx
cmpl $0x5, 0x8(%rax)
jne 0x3437
movq 0x10(%rbx), %r13
jmp 0x343a
movq %r14, %rdi
callq 0x5b9a
testq %rax, %rax
je 0x31b5
movq %rax, %r14
movl $0x18, %edi
callq *0x6deb(%rip)           # 0xa188
testq %rax, %rax
je 0x3535
movq %rax, %rbx
movq $0x0, (%rax)
movl $0x2, 0x8(%rax)
movq %r14, 0x10(%rax)
jmp 0x31b7
movsd %xmm0, (%rsp)
movq %rax, (%r14)
movl $0x18, %edi
callq *0x6db5(%rip)           # 0xa188
testq %rax, %rax
je 0x31b5
movq %rax, %rbx
movq $0x0, (%rax)
movl $0x3, 0x8(%rax)
movsd (%rsp), %xmm0
movsd %xmm0, 0x10(%rax)
jmp 0x31b7
addq $0x4, %r13
movq %r13, (%r14)
movl $0x18, %edi
callq *0x6d7a(%rip)           # 0xa188
testq %rax, %rax
je 0x31b5
movq %rax, %rbx
movl $0x1, %r15d
movq $0x0, (%rbx)
movl $0x6, 0x8(%rbx)
movl %r15d, 0x10(%rbx)
jmp 0x31b7
xorl %r13d, %r13d
movq (%r14), %rax
cmpb $0x5b, (%rax)
jne 0x31b5
incq %r12
incq %rax
movq %rax, (%r14)
movq (%r15), %rdx
movsbq (%rax), %rcx
incq %rax
testb $0x20, 0x1(%rdx,%rcx,2)
jne 0x344c
movzbl %cl, %ecx
testl %ecx, %ecx
je 0x36cf
cmpl $0x5d, %ecx
je 0x352d
jmp 0x34e0
movq %rax, %rbp
movq %r13, %rdi
movq %rax, %rsi
callq 0x42ab
cmpl $-0x1, %eax
je 0x3669
movq (%r15), %rcx
movq (%r14), %rax
movsbq (%rax), %rdx
testb $0x20, 0x1(%rcx,%rdx,2)
je 0x34b8
incq %rax
movq %rax, (%r14)
movq (%r15), %rcx
movsbq (%rax), %rdx
incq %rax
testb $0x20, 0x1(%rcx,%rdx,2)
jne 0x34a1
decq %rax
cmpb $0x2c, %dl
jne 0x3673
incq %rax
movq %rax, (%r14)
movq (%r15), %rcx
movsbq (%rax), %rdx
incq %rax
testb $0x20, 0x1(%rcx,%rdx,2)
jne 0x34c4
testb %dl, %dl
je 0x366e
movq %r14, %rdi
movq %r12, %rsi
callq 0x312d
testq %rax, %rax
jne 0x3476
jmp 0x36cf
xorl %esi, %esi
movq (%r14), %rax
cmpb $0x7b, (%rax)
jne 0x31b5
incq %r12
incq %rax
movq %rax, (%r14)
movq (%r15), %rdx
movsbq (%rax), %rcx
incq %rax
testb $0x20, 0x1(%rdx,%rcx,2)
jne 0x3509
movzbl %cl, %ecx
testl %ecx, %ecx
je 0x36cf
cmpl $0x7d, %ecx
jne 0x3543
movq %rax, (%r14)
jmp 0x31b7
movq %r14, %rdi
callq *0x6c42(%rip)           # 0xa180
jmp 0x31b5
movq %rsi, 0x8(%rsp)
movq %r14, %rdi
callq 0x5b9a
testq %rax, %rax
je 0x36cf
movq %rax, %rbp
movq (%r15), %rdx
movq (%r14), %rax
movsbq (%rax), %rcx
testb $0x20, 0x1(%rdx,%rcx,2)
je 0x3587
incq %rax
movq %rax, (%r14)
movq (%r15), %rdx
movsbq (%rax), %rcx
incq %rax
testb $0x20, 0x1(%rdx,%rcx,2)
jne 0x3570
decq %rax
cmpb $0x3a, %cl
jne 0x365e
incq %rax
movq %rax, (%r14)
movq %r14, %rdi
movq %r12, %rsi
callq 0x312d
testq %rax, %rax
je 0x365e
movq %rax, %r13
movq 0x8(%rsp), %rdi
movq %rbp, %rsi
movq %rax, %rdx
callq 0x430f
movl %eax, (%rsp)
movq %rbp, %rdi
callq *0x6bb7(%rip)           # 0xa180
cmpl $-0x1, (%rsp)
je 0x36a5
movq (%r15), %rcx
movq (%r14), %rax
movsbq (%rax), %rdx
testb $0x20, 0x1(%rcx,%rdx,2)
je 0x35fe
incq %rax
movq %rax, (%r14)
movq (%r15), %rcx
movsbq (%rax), %rdx
incq %rax
testb $0x20, 0x1(%rcx,%rdx,2)
jne 0x35e7
decq %rax
cmpb $0x2c, %dl
jne 0x3627
incq %rax
movq %rax, (%r14)
movq (%r15), %rcx
movsbq (%rax), %rdx
incq %rax
testb $0x20, 0x1(%rcx,%rdx,2)
jne 0x3606
testb %dl, %dl
jne 0x3548
decq %rax
xorl %edx, %edx
movsbq %dl, %rsi
testb $0x20, 0x1(%rcx,%rsi,2)
movq 0x8(%rsp), %rdi
je 0x364e
incq %rax
movq %rax, (%r14)
movq (%r15), %rcx
movsbq (%rax), %rdx
incq %rax
testb $0x20, 0x1(%rcx,%rdx,2)
jne 0x363a
cmpb $0x7d, %dl
jne 0x36cf
testq %rdi, %rdi
je 0x36bb
movq 0x18(%rdi), %rsi
jmp 0x36bd
movq %rbp, %rdi
callq *0x6b19(%rip)           # 0xa180
jmp 0x36cf
movq %rbp, %rdi
jmp 0x36a8
decq %rax
xorl %edx, %edx
movsbq %dl, %rsi
testb $0x20, 0x1(%rcx,%rsi,2)
je 0x3695
incq %rax
movq %rax, (%r14)
movq (%r15), %rcx
movsbq (%rax), %rdx
incq %rax
testb $0x20, 0x1(%rcx,%rdx,2)
jne 0x3681
cmpb $0x5d, %dl
jne 0x36cf
testq %r13, %r13
je 0x36af
movq 0x10(%r13), %rsi
jmp 0x36b1
movq %r13, %rdi
callq 0x3c53
jmp 0x36cf
xorl %esi, %esi
movq %r13, %rdi
callq 0x60cf
jmp 0x36c2
xorl %esi, %esi
callq 0x5ea0
cmpl $-0x1, %eax
je 0x36cf
incq (%r14)
jmp 0x31b7
movq %rbx, %rdi
callq 0x3c53
jmp 0x31b5