// File: /workspace/github_c_makefile_star2_O1/lengjingzju[P]json/json.c
// Function: json_print_common
char *json_print_common(json_object *json, json_print_choice_t *choice)
{
    json_print_t print_val = {0};

    if (!json)
        return NULL;

    print_val.item_total = choice->item_total ? choice->item_total : JSON_PRINT_NUM_INIT_DEF;
    if (_print_val_init(&print_val, choice) < 0)
        return NULL;

    if (_json_print_value(&print_val, json) < 0) {
        JsonErr("print failed!\n");
        goto err;
    }
    if (_print_val_release(&print_val, false, &choice->str_len, choice->ptr) < 0)
        goto err;

    return choice->path ? (char *)"ok" : print_val.ptr;
err:
    _print_val_release(&print_val, true, NULL, NULL);
    return NULL;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
xorps %xmm0, %xmm0
movaps %xmm0, 0x40(%rsp)
movaps %xmm0, 0x30(%rsp)
movaps %xmm0, 0x20(%rsp)
movaps %xmm0, 0x10(%rsp)
movq $0x0, 0x50(%rsp)
testq %rdi, %rdi
je 0x4678
movq %rsi, %r14
movq %rdi, %rbp
movl 0x18(%rsi), %eax
testl %eax, %eax
movl $0x400, %ecx            # imm = 0x400
cmovnel %eax, %ecx
leaq 0x10(%rsp), %rdi
movl %ecx, 0x38(%rdi)
callq 0x4740
xorl %ebx, %ebx
testl %eax, %eax
js 0x4723
movq %r14, 0x60(%rsp)
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
leaq 0x6587(%rip), %r14      # 0xa384
xorl %ebx, %ebx
movq $0x0, 0x8(%rsp)
movq $0x0, 0x58(%rsp)
movq %rbx, %r12
movq %rbp, %rbx
movl 0x8(%rbx), %eax
andl $0xf, %eax
cmpl $0x9, %eax
ja 0x406b
movslq (%r14,%rax,4), %rax
addq %r14, %rax
jmpq *%rax
movq 0x30(%rsp), %rax
subq 0x20(%rsp), %rax
addq 0x18(%rsp), %rax
cmpq $0x4, %rax
ja 0x3e5a
movl $0x5, %esi
leaq 0x10(%rsp), %rdi
callq *0x28(%rsp)
testl %eax, %eax
js 0x46d9
movq 0x20(%rsp), %rax
movl $0x6c6c756e, (%rax)     # imm = 0x6C6C756E
jmp 0x3fd8
movq 0x30(%rsp), %rax
subq 0x20(%rsp), %rax
addq 0x18(%rsp), %rax
cmpq $0x80, %rax
ja 0x3e97
movl $0x81, %esi
leaq 0x10(%rsp), %rdi
callq *0x28(%rsp)
testl %eax, %eax
js 0x46d9
movq 0x18(%rbx), %rdi
movq 0x20(%rsp), %rsi
callq 0x7fa7
jmp 0x405f
leaq 0x18(%rbx), %rcx
movq 0x30(%rsp), %rax
subq 0x20(%rsp), %rax
addq 0x18(%rsp), %rax
cmpq %rcx, 0x20(%rbx)
jne 0x4409
cmpq $0x2, %rax
ja 0x3ee3
movl $0x3, %esi
leaq 0x10(%rsp), %rdi
callq *0x28(%rsp)
testl %eax, %eax
js 0x46d9
movq 0x20(%rsp), %rax
movw $0x7d7b, (%rax)         # imm = 0x7D7B
jmp 0x4358
movq 0x30(%rsp), %rax
subq 0x20(%rsp), %rax
addq 0x18(%rsp), %rax
cmpq $0x80, %rax
ja 0x3f1f
movl $0x81, %esi
leaq 0x10(%rsp), %rdi
callq *0x28(%rsp)
testl %eax, %eax
js 0x46d9
movl 0x18(%rbx), %edi
movq 0x20(%rsp), %rsi
callq 0x7b95
jmp 0x405f
movq 0x30(%rsp), %rax
subq 0x20(%rsp), %rax
addq 0x18(%rsp), %rax
cmpq $0x80, %rax
ja 0x3f5e
movl $0x81, %esi
leaq 0x10(%rsp), %rdi
callq *0x28(%rsp)
testl %eax, %eax
js 0x46d9
movl 0x18(%rbx), %edi
movq 0x20(%rsp), %rsi
callq 0x84f3
jmp 0x405f
cmpl $0xff, 0x18(%rbx)
jbe 0x4323
leaq 0x18(%rbx), %rsi
leaq 0x10(%rsp), %rdi
callq 0x4992
testl %eax, %eax
jns 0x406b
jmp 0x46d9
movq 0x30(%rsp), %rax
subq 0x20(%rsp), %rax
addq 0x18(%rsp), %rax
cmpb $0x1, 0x18(%rbx)
jne 0x42ea
cmpq $0x4, %rax
ja 0x3fcd
movl $0x5, %esi
leaq 0x10(%rsp), %rdi
callq *0x28(%rsp)
testl %eax, %eax
js 0x46d9
movq 0x20(%rsp), %rax
movl $0x65757274, (%rax)     # imm = 0x65757274
movq 0x20(%rsp), %rax
addq $0x4, %rax
jmp 0x4066
movq 0x30(%rsp), %rax
subq 0x20(%rsp), %rax
addq 0x18(%rsp), %rax
cmpq $0x80, %rax
ja 0x4013
movl $0x81, %esi
leaq 0x10(%rsp), %rdi
callq *0x28(%rsp)
testl %eax, %eax
js 0x46d9
movq 0x18(%rbx), %rdi
movq 0x20(%rsp), %rsi
callq 0x86a2
jmp 0x405f
movq 0x30(%rsp), %rax
subq 0x20(%rsp), %rax
addq 0x18(%rsp), %rax
cmpq $0x80, %rax
ja 0x4050
movl $0x81, %esi
leaq 0x10(%rsp), %rdi
callq *0x28(%rsp)
testl %eax, %eax
js 0x46d9
movsd 0x18(%rbx), %xmm0
movq 0x20(%rsp), %rdi
callq 0x876d
cltq
addq 0x20(%rsp), %rax
movq %rax, 0x20(%rsp)
incl 0x4c(%rsp)
testl %r15d, %r15d
js 0x467f
movl %r15d, %r15d
movq (%rbx), %rbp
leaq 0x18(%r12), %rax
cmpq %rax, %rbp
jne 0x4241
movq %r12, %r13
movl 0x8(%r12), %ecx
andl $0xf, %ecx
movb 0x50(%rsp), %al
cmpl $0x9, %ecx
jne 0x4105
testb %al, %al
je 0x41b2
movq 0x30(%rsp), %rax
subq 0x20(%rsp), %rax
addq 0x18(%rsp), %rax
testq %r15, %r15
je 0x4184
leaq 0x2(%r15), %rsi
cmpq %rsi, %rax
jae 0x40da
leaq 0x10(%rsp), %rdi
callq *0x28(%rsp)
testl %eax, %eax
js 0x46d9
movq 0x20(%rsp), %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0x20(%rsp)
movb $0xa, (%rax)
movq 0x20(%rsp), %rdi
movl $0x9, %esi
movq %r15, %rdx
callq 0x1100
movq %r15, %rax
jmp 0x41ad
testb %al, %al
je 0x4171
movl 0x8(%rbx), %eax
andl $0xe, %eax
cmpl $0x8, %eax
jne 0x4171
movq 0x30(%rsp), %rax
subq 0x20(%rsp), %rax
addq 0x18(%rsp), %rax
testq %r15, %r15
je 0x4213
leaq 0x2(%r15), %rsi
cmpq %rsi, %rax
jae 0x4146
leaq 0x10(%rsp), %rdi
callq *0x28(%rsp)
testl %eax, %eax
js 0x46d9
movq 0x20(%rsp), %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0x20(%rsp)
movb $0xa, (%rax)
movq 0x20(%rsp), %rdi
movl $0x9, %esi
movq %r15, %rdx
callq 0x1100
movq %r15, %rax
addq %rax, 0x20(%rsp)
movq 0x30(%rsp), %rax
subq 0x20(%rsp), %rax
addq 0x18(%rsp), %rax
movb $0x5d, %bl
jmp 0x41c3
cmpq $0x1, %rax
ja 0x41a0
movl $0x2, %esi
leaq 0x10(%rsp), %rdi
callq *0x28(%rsp)
testl %eax, %eax
js 0x46d9
movq 0x20(%rsp), %rax
movb $0xa, (%rax)
movl $0x1, %eax
addq %rax, 0x20(%rsp)
movq 0x30(%rsp), %rax
subq 0x20(%rsp), %rax
addq 0x18(%rsp), %rax
movb $0x7d, %bl
cmpq $0x1, %rax
ja 0x41df
movl $0x2, %esi
leaq 0x10(%rsp), %rdi
callq *0x28(%rsp)
testl %eax, %eax
js 0x46d9
movq 0x20(%rsp), %rax
movb %bl, (%rax)
incq 0x20(%rsp)
incl 0x4c(%rsp)
subq $0x1, %r15
jb 0x467f
movq 0x8(%rsp), %rax
movq (%rax,%r15,8), %r12
movq (%r13), %rbp
leaq 0x18(%r12), %rax
movq %r13, %rbx
jmp 0x4083
cmpq $0x1, %rax
ja 0x422f
movl $0x2, %esi
leaq 0x10(%rsp), %rdi
callq *0x28(%rsp)
testl %eax, %eax
js 0x46d9
movq 0x20(%rsp), %rax
movb $0xa, (%rax)
movl $0x1, %eax
jmp 0x416c
movq 0x30(%rsp), %rax
subq 0x20(%rsp), %rax
addq 0x18(%rsp), %rax
cmpq $0x1, %rax
ja 0x426c
movl $0x2, %esi
leaq 0x10(%rsp), %rdi
callq *0x28(%rsp)
testl %eax, %eax
js 0x46d9
movq 0x20(%rsp), %rax
movb $0x2c, (%rax)
movq 0x20(%rsp), %rax
incq %rax
movq %rax, 0x20(%rsp)
movl 0x8(%r12), %ecx
andl $0xf, %ecx
cmpl $0x9, %ecx
je 0x44d8
cmpb $0x0, 0x50(%rsp)
movq %rbp, %rbx
je 0x3e17
jmp 0x4366
leaq 0x18(%rbx), %rcx
movq 0x30(%rsp), %rax
subq 0x20(%rsp), %rax
addq 0x18(%rsp), %rax
cmpq %rcx, 0x20(%rbx)
jne 0x4404
cmpq $0x2, %rax
ja 0x42de
movl $0x3, %esi
leaq 0x10(%rsp), %rdi
callq *0x28(%rsp)
testl %eax, %eax
js 0x46d9
movq 0x20(%rsp), %rax
movw $0x5d5b, (%rax)         # imm = 0x5D5B
jmp 0x4358
cmpq $0x5, %rax
ja 0x4306
movl $0x6, %esi
leaq 0x10(%rsp), %rdi
callq *0x28(%rsp)
testl %eax, %eax
js 0x46d9
movq 0x20(%rsp), %rax
movb $0x65, 0x4(%rax)
movl $0x736c6166, (%rax)     # imm = 0x736C6166
movq 0x20(%rsp), %rax
addq $0x5, %rax
jmp 0x4066
movq 0x30(%rsp), %rax
subq 0x20(%rsp), %rax
addq 0x18(%rsp), %rax
cmpq $0x2, %rax
ja 0x434e
movl $0x3, %esi
leaq 0x10(%rsp), %rdi
callq *0x28(%rsp)
testl %eax, %eax
js 0x46d9
movq 0x20(%rsp), %rax
movw $0x2222, (%rax)         # imm = 0x2222
movq 0x20(%rsp), %rax
addq $0x2, %rax
jmp 0x4066
movl 0x8(%rbp), %ecx
andl $0xf, %ecx
cmpl $0x8, %ecx
jne 0x43c3
movl %r15d, %r13d
incl %r13d
movq 0x30(%rsp), %rcx
subq %rax, %rcx
addq 0x18(%rsp), %rcx
leaq 0x2(%r13), %rsi
cmpq %rsi, %rcx
jae 0x439e
leaq 0x10(%rsp), %rdi
callq *0x28(%rsp)
testl %eax, %eax
js 0x46d9
movq 0x20(%rsp), %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0x20(%rsp)
movb $0xa, (%rax)
movq 0x20(%rsp), %rdi
movl $0x9, %esi
movq %r13, %rdx
callq 0x1100
jmp 0x43fa
movq 0x30(%rsp), %rcx
subq %rax, %rcx
addq 0x18(%rsp), %rcx
cmpq $0x1, %rcx
ja 0x43ec
movl $0x2, %esi
leaq 0x10(%rsp), %rdi
callq *0x28(%rsp)
testl %eax, %eax
js 0x46d9
movq 0x20(%rsp), %rax
movb $0x20, (%rax)
movl $0x1, %r13d
addq %r13, 0x20(%rsp)
jmp 0x3e14
movb $0x5b, %bpl
jmp 0x440c
movb $0x7b, %bpl
cmpq $0x1, %rax
ja 0x4428
movl $0x2, %esi
leaq 0x10(%rsp), %rdi
callq *0x28(%rsp)
testl %eax, %eax
js 0x46d9
movq 0x20(%rsp), %rax
movb %bpl, (%rax)
incq 0x20(%rsp)
movq 0x58(%rsp), %rax
decl %eax
cmpl %eax, %r15d
jge 0x4603
movq 0x8(%rsp), %rdi
movslq %r15d, %r13
incl %r15d
movq %rdi, 0x8(%rsp)
movq %rbx, 0x8(%rdi,%r13,8)
movq 0x18(%rbx), %rbp
movl 0x8(%rbx), %eax
andl $0xf, %eax
cmpl $0x8, %eax
jne 0x44db
cmpb $0x1, 0x50(%rsp)
jne 0x3e11
movl 0x8(%rbp), %eax
andl $0xe, %eax
cmpl $0x8, %eax
jne 0x3e11
movq 0x30(%rsp), %rax
subq 0x20(%rsp), %rax
addq 0x18(%rsp), %rax
leaq 0x4(%r13), %rsi
cmpq %rsi, %rax
jae 0x44ac
leaq 0x10(%rsp), %rdi
callq *0x28(%rsp)
testl %eax, %eax
js 0x46d9
addq $0x2, %r13
movq 0x20(%rsp), %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0x20(%rsp)
movb $0xa, (%rax)
movq 0x20(%rsp), %rdi
movl $0x9, %esi
movq %r13, %rdx
callq 0x1100
jmp 0x45f9
movq %r12, %rbx
cmpb $0x1, 0x50(%rsp)
jne 0x459d
movslq %r15d, %r13
movq 0x30(%rsp), %rax
subq 0x20(%rsp), %rax
addq 0x18(%rsp), %rax
leaq 0x3(%r13), %rsi
cmpq %rsi, %rax
jae 0x4512
leaq 0x10(%rsp), %rdi
callq *0x28(%rsp)
testl %eax, %eax
js 0x46d9
incq %r13
movq 0x20(%rsp), %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0x20(%rsp)
movb $0xa, (%rax)
movq 0x20(%rsp), %rdi
movl $0x9, %esi
movq %r13, %rdx
callq 0x1100
addq %r13, 0x20(%rsp)
cmpl $0x100, 0x8(%rbp)       # imm = 0x100
jb 0x46c8
leaq 0x8(%rbp), %rsi
leaq 0x10(%rsp), %rdi
callq 0x4992
testl %eax, %eax
js 0x46d9
movq 0x30(%rsp), %rax
subq 0x20(%rsp), %rax
addq 0x18(%rsp), %rax
cmpq $0x2, %rax
ja 0x458b
movl $0x3, %esi
leaq 0x10(%rsp), %rdi
callq *0x28(%rsp)
testl %eax, %eax
js 0x46d9
movq 0x20(%rsp), %rax
movw $0x93a, (%rax)          # imm = 0x93A
movl $0x2, %r13d
jmp 0x45f9
cmpl $0x100, 0x8(%rbp)       # imm = 0x100
jb 0x46c1
leaq 0x8(%rbp), %rsi
leaq 0x10(%rsp), %rdi
callq 0x4992
testl %eax, %eax
js 0x46d9
movq 0x30(%rsp), %rax
subq 0x20(%rsp), %rax
addq 0x18(%rsp), %rax
cmpq $0x1, %rax
ja 0x45eb
movl $0x2, %esi
leaq 0x10(%rsp), %rdi
callq *0x28(%rsp)
testl %eax, %eax
js 0x46d9
movq 0x20(%rsp), %rax
movb $0x3a, (%rax)
movl $0x1, %r13d
addq %r13, 0x20(%rsp)
jmp 0x3e11
movslq 0x58(%rsp), %rax
leaq 0x80(,%rax,8), %rsi
movq 0x8(%rsp), %r12
movq %r12, %rdi
callq 0x1190
testq %rax, %rax
je 0x4629
xorl %ecx, %ecx
movq %rax, %rdi
jmp 0x465e
leaq 0x5e2c(%rip), %rdi      # 0xa45c
leaq 0x6044(%rip), %rsi      # 0xa67b
movl $0x63d, %edx            # imm = 0x63D
xorl %eax, %eax
callq 0x10d0
leaq 0x6316(%rip), %rdi      # 0xa960
callq 0x1070
movq %r12, %rdi
callq 0x1030
movl $0x6, %ecx
xorl %edi, %edi
testl %ecx, %ecx
jne 0x4735
movq 0x58(%rsp), %rax
addl $0x10, %eax
movq %rax, 0x58(%rsp)
jmp 0x444a
xorl %ebx, %ebx
jmp 0x4723
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x468e
callq 0x1030
movq 0x60(%rsp), %rbx
movq 0x20(%rbx), %rcx
leaq 0x10(%rsp), %rdi
xorl %esi, %esi
movq %rbx, %rdx
callq 0x488e
testl %eax, %eax
js 0x470e
cmpq $0x0, 0x28(%rbx)
jne 0x46b8
movq 0x18(%rsp), %rbx
jmp 0x4723
leaq 0x5ec6(%rip), %rbx      # 0xa585
jmp 0x4723
movl $0x65f, %edi            # imm = 0x65F
jmp 0x46cd
movl $0x653, %edi            # imm = 0x653
leaq 0x625a(%rip), %rsi      # 0xa92e
callq 0x2525
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x46e8
callq 0x1030
leaq 0x5d6d(%rip), %rdi      # 0xa45c
leaq 0x5e7d(%rip), %rsi      # 0xa573
movl $0x742, %edx            # imm = 0x742
xorl %eax, %eax
callq 0x10d0
leaq 0x61f4(%rip), %rdi      # 0xa8fd
callq 0x1070
xorl %ebx, %ebx
leaq 0x10(%rsp), %rdi
movl $0x1, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x488e
movq %rbx, %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpl $0x6, %ecx
jne 0x468e
jmp 0x46de