// File: /workspace/github_c_makefile_star2_O3/xapi-project[P]rrd-client-lib/parson/parson.c
// Function: get_quoted_string
static char * get_quoted_string(const char **string) {
    const char *string_start = *string;
    size_t string_len = 0;
    JSON_Status status = skip_quotes(string);
    if (status != JSONSuccess) {
        return NULL;
    }
    string_len = *string - string_start - 2; /* length without quotes */
    return process_string(string_start + 1, string_len);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq (%rdi), %rbp
cmpb $0x22, (%rbp)
jne 0x5e8b
xorl %r15d, %r15d
movq %rbp, %rax
movq %rax, %r12
incq %rax
movq %rax, (%rdi)
movzbl 0x1(%r12), %ecx
cmpl $0x5c, %ecx
je 0x5bde
testl %ecx, %ecx
je 0x5e8e
cmpl $0x22, %ecx
jne 0x5bbb
jmp 0x5bf3
leaq 0x2(%r12), %rax
movq %rax, (%rdi)
cmpb $0x0, 0x2(%r12)
jne 0x5bbb
jmp 0x5e8e
addq $0x2, %r12
movq %r12, (%rdi)
subq %rbp, %r12
leaq -0x1(%r12), %rdi
callq *0x4580(%rip)           # 0xa188
movq %rax, %rbx
testq %rax, %rax
je 0x5e82
addq $-0x2, %r12
movb 0x1(%rbp), %al
testb %al, %al
sete %cl
testq %r12, %r12
sete %dl
orb %cl, %dl
movq %rbx, %r14
jne 0x5e4e
incq %rbp
leaq 0x1749(%rip), %rdx      # 0x7384
leaq 0x8(%rsp), %rsi
movq %rbx, %r14
movq %rbp, %r13
cmpb $0x5c, %al
jne 0x5c71
leaq 0x1(%r13), %r15
movzbl 0x1(%r13), %eax
cmpl $0x61, %eax
jg 0x5ca4
cmpl $0x22, %eax
je 0x5cc1
cmpl $0x2f, %eax
je 0x5cbb
cmpl $0x5c, %eax
jne 0x5e82
movb $0x5c, (%r14)
jmp 0x5c7f
cmpb $0x20, %al
jb 0x5e82
movb %al, (%r14)
movq %r13, %r15
incq %r14
movb 0x1(%r15), %al
testb %al, %al
je 0x5e4e
incq %r15
movq %r15, %rcx
subq %rbp, %rcx
movq %r15, %r13
cmpq %r12, %rcx
jb 0x5c46
jmp 0x5e4e
leal -0x6e(%rax), %ecx
cmpl $0x7, %ecx
ja 0x5cc7
movslq (%rdx,%rcx,4), %rax
addq %rdx, %rax
jmpq *%rax
movb $0xa, (%r14)
jmp 0x5c7f
movb $0x2f, (%r14)
jmp 0x5c7f
movb $0x22, (%r14)
jmp 0x5c7f
cmpl $0x62, %eax
je 0x5d20
cmpl $0x66, %eax
jne 0x5e82
movb $0xc, (%r14)
jmp 0x5c7f
leaq 0x2(%r13), %rdi
callq 0x5f91
testl %eax, %eax
je 0x5e82
movl 0x8(%rsp), %ecx
cmpl $0x7f, %ecx
ja 0x5d29
movb %cl, (%r14)
movl $0x1, %eax
leaq 0x1680(%rip), %rdx      # 0x7384
leaq 0x8(%rsp), %rsi
jmp 0x5d8f
movb $0x9, (%r14)
jmp 0x5c7f
movb $0xd, (%r14)
jmp 0x5c7f
movb $0x8, (%r14)
jmp 0x5c7f
cmpl $0x7ff, %ecx            # imm = 0x7FF
leaq 0x164e(%rip), %rdx      # 0x7384
leaq 0x8(%rsp), %rsi
ja 0x5d56
movl %ecx, %eax
shrl $0x6, %eax
orb $-0x40, %al
movb %al, (%r14)
andb $0x3f, %cl
orb $-0x80, %cl
movb %cl, 0x1(%r14)
incq %r14
jmp 0x5d8a
leal -0xe000(%rcx), %eax
cmpl $0xfffff7ff, %eax       # imm = 0xFFFFF7FF
ja 0x5d9b
movl %ecx, %eax
shrl $0xc, %eax
andb $0xf, %al
orb $-0x20, %al
movb %al, (%r14)
movl %ecx, %eax
shrl $0x6, %eax
andb $0x3f, %al
orb $-0x80, %al
movb %al, 0x1(%r14)
andb $0x3f, %cl
orb $-0x80, %cl
movb %cl, 0x2(%r14)
addq $0x2, %r14
movl $0x1, %eax
addq %rax, %r15
addq $0x3, %r15
jmp 0x5c7f
cmpl $0xdbff, %ecx           # imm = 0xDBFF
ja 0x5e82
cmpb $0x5c, 0x6(%r13)
jne 0x5e82
cmpb $0x75, 0x7(%r13)
jne 0x5e82
addq $0x8, %r13
movq %rcx, 0x10(%rsp)
movq %r13, %rdi
leaq 0xc(%rsp), %rsi
callq 0x5f91
movq 0x10(%rsp), %rsi
testl %eax, %eax
je 0x5e82
movl 0xc(%rsp), %eax
leal -0xe000(%rax), %ecx
cmpl $0xfffffc00, %ecx       # imm = 0xFFFFFC00
jb 0x5e82
shll $0xa, %esi
andl $0xffc00, %esi          # imm = 0xFFC00
movl %eax, %ecx
andl $0x3ff, %ecx            # imm = 0x3FF
leal (%rcx,%rsi), %edx
addl $0x10000, %edx          # imm = 0x10000
orl %esi, %ecx
movl %edx, %esi
shrl $0x12, %esi
orb $-0x10, %sil
movb %sil, (%r14)
shrl $0xc, %edx
andb $0x3f, %dl
orb $-0x80, %dl
movb %dl, 0x1(%r14)
shrl $0x6, %ecx
andb $0x3f, %cl
orb $-0x80, %cl
movb %cl, 0x2(%r14)
andb $0x3f, %al
orb $-0x80, %al
movb %al, 0x3(%r14)
addq $0x3, %r14
movl $0x7, %eax
jmp 0x5cfd
movb $0x0, (%r14)
subq %rbx, %r14
incq %r14
movq %r14, %rdi
callq *0x4327(%rip)           # 0xa188
testq %rax, %rax
je 0x5e82
movq %rax, %r15
movq %rax, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x2220
movq %rbx, %rdi
callq *0x4300(%rip)           # 0xa180
jmp 0x5e8e
movq %rbx, %rdi
callq *0x42f5(%rip)           # 0xa180
xorl %r15d, %r15d
movq %r15, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq