// File: /workspace/github_c_makefile_star2_O2/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 0x4766
xorl %r15d, %r15d
movq %rbp, %rax
movq %rax, %r12
incq %rax
movq %rax, (%rdi)
movzbl 0x1(%r12), %ecx
cmpl $0x5c, %ecx
je 0x44e2
testl %ecx, %ecx
je 0x4769
cmpl $0x22, %ecx
jne 0x44bf
jmp 0x44f7
leaq 0x2(%r12), %rax
movq %rax, (%rdi)
cmpb $0x0, 0x2(%r12)
jne 0x44bf
jmp 0x4769
addq $0x2, %r12
movq %r12, (%rdi)
subq %rbp, %r12
leaq -0x1(%r12), %rdi
callq *0x4c74(%rip)           # 0x9180
movq %rax, %rbx
testq %rax, %rax
je 0x475d
addq $-0x2, %r12
incq %rbp
leaq 0xe7e(%rip), %rdx       # 0x53a4
movq %rbp, %r13
movq %rbx, %r14
movq %rbx, 0x10(%rsp)
movb (%r13), %al
testb %al, %al
je 0x4724
movq %r13, %rcx
subq %rbp, %rcx
cmpq %r12, %rcx
jae 0x4724
cmpb $0x5c, %al
jne 0x4594
leaq 0x1(%r13), %r15
movzbl 0x1(%r13), %eax
leal -0x6e(%rax), %ecx
cmpl $0x7, %ecx
jbe 0x45ad
cmpl $0x66, %eax
je 0x45f6
cmpl $0x2f, %eax
je 0x4602
cmpl $0x5c, %eax
je 0x45fc
cmpl $0x62, %eax
je 0x4608
cmpl $0x22, %eax
jne 0x475d
movb $0x22, (%r14)
jmp 0x45a2
cmpb $0x20, %al
jb 0x475d
movb %al, (%r14)
movq %r13, %r15
incq %r14
incq %r15
movq %r15, %r13
jmp 0x4531
movslq (%rdx,%rcx,4), %rax
addq %rdx, %rax
jmpq *%rax
movb $0xa, (%r14)
jmp 0x45a2
movb $0xd, (%r14)
jmp 0x45a2
leaq 0x2(%r13), %rdi
leaq 0xc(%rsp), %rsi
callq 0x4861
testl %eax, %eax
je 0x4758
movl 0xc(%rsp), %ebx
cmpl $0x7f, %ebx
ja 0x460e
movb %bl, (%r14)
pushq $0x1
popq %rax
leaq 0xdb6(%rip), %rdx       # 0x53a4
jmp 0x466d
movb $0x9, (%r14)
jmp 0x45a2
movb $0xc, (%r14)
jmp 0x45a2
movb $0x5c, (%r14)
jmp 0x45a2
movb $0x2f, (%r14)
jmp 0x45a2
movb $0x8, (%r14)
jmp 0x45a2
cmpl $0x7ff, %ebx            # imm = 0x7FF
leaq 0xd89(%rip), %rdx       # 0x53a4
ja 0x4636
movl %ebx, %eax
shrl $0x6, %eax
orb $-0x40, %al
movb %al, (%r14)
andb $0x3f, %bl
orb $-0x80, %bl
movb %bl, 0x1(%r14)
incq %r14
jmp 0x466a
leal -0xe000(%rbx), %eax
cmpl $0xfffff7ff, %eax       # imm = 0xFFFFF7FF
ja 0x467e
movl %ebx, %eax
shrl $0xc, %eax
andb $0xf, %al
orb $-0x20, %al
movb %al, (%r14)
movl %ebx, %eax
shrl $0x6, %eax
andb $0x3f, %al
orb $-0x80, %al
movb %al, 0x1(%r14)
andb $0x3f, %bl
orb $-0x80, %bl
movb %bl, 0x2(%r14)
addq $0x2, %r14
pushq $0x1
popq %rax
addq %rax, %r15
addq $0x3, %r15
movq 0x10(%rsp), %rbx
jmp 0x45a2
cmpl $0xdbff, %ebx           # imm = 0xDBFF
ja 0x4758
cmpb $0x5c, 0x6(%r13)
jne 0x4758
cmpb $0x75, 0x7(%r13)
jne 0x4758
addq $0x8, %r13
movq %r13, %rdi
leaq 0x8(%rsp), %rsi
callq 0x4861
testl %eax, %eax
je 0x4758
movl 0x8(%rsp), %eax
leal -0xe000(%rax), %ecx
cmpl $0xfffffc00, %ecx       # imm = 0xFFFFFC00
jb 0x4758
shll $0xa, %ebx
andl $0xffc00, %ebx          # imm = 0xFFC00
movl %eax, %ecx
andl $0x3ff, %ecx            # imm = 0x3FF
leal (%rcx,%rbx), %edx
addl $0x10000, %edx          # imm = 0x10000
orl %ebx, %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
pushq $0x7
jmp 0x45e6
movb $0x0, (%r14)
subq %rbx, %r14
incq %r14
movq %r14, %rdi
callq *0x4a49(%rip)           # 0x9180
testq %rax, %rax
je 0x475d
movq %rax, %r15
movq %rax, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x1210
movq %rbx, %rdi
callq *0x4a22(%rip)           # 0x9178
jmp 0x4769
movq 0x10(%rsp), %rbx
movq %rbx, %rdi
callq *0x4a12(%rip)           # 0x9178
xorl %r15d, %r15d
movq %r15, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq