// File: /workspace/github_c_makefile_star2_O3/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, 0x30(%rsp)
movaps %xmm0, 0x20(%rsp)
movaps %xmm0, 0x10(%rsp)
movaps %xmm0, (%rsp)
movq $0x0, 0x40(%rsp)
testq %rdi, %rdi
je 0x4a3f
movq %rsi, %rbx
movq %rdi, %r15
movl 0x18(%rsi), %eax
testl %eax, %eax
movl $0x400, %ecx            # imm = 0x400
cmovnel %eax, %ecx
movq %rsp, %rdi
movl %ecx, 0x38(%rdi)
callq 0x4b2f
xorl %r14d, %r14d
testl %eax, %eax
js 0x4ae8
movq $0x0, 0x58(%rsp)
movq %rbx, 0x60(%rsp)
movl $0xffffffff, %r12d      # imm = 0xFFFFFFFF
leaq 0x61ea(%rip), %rbx      # 0xa384
xorl %ebp, %ebp
movq $0x0, 0x50(%rsp)
movq %rbp, %r13
movq %r15, %rbp
movq %rsp, %r15
movl 0x8(%rbp), %eax
andl $0xf, %eax
cmpl $0x9, %eax
ja 0x440a
movslq (%rbx,%rax,4), %rax
addq %rbx, %rax
jmpq *%rax
movq 0x10(%rsp), %rax
movq 0x20(%rsp), %rcx
subq %rax, %rcx
addq 0x8(%rsp), %rcx
cmpq $0x4, %rcx
ja 0x41f7
movl $0x5, %esi
movq %r15, %rdi
callq *0x18(%rsp)
testl %eax, %eax
js 0x4a9f
movq 0x10(%rsp), %rax
movl $0x6c6c756e, (%rax)     # imm = 0x6C6C756E
jmp 0x4375
movq 0x10(%rsp), %rsi
movq 0x20(%rsp), %rax
subq %rsi, %rax
addq 0x8(%rsp), %rax
cmpq $0x80, %rax
ja 0x4235
movl $0x81, %esi
movq %r15, %rdi
callq *0x18(%rsp)
testl %eax, %eax
js 0x4a9f
movq 0x10(%rsp), %rsi
movq 0x18(%rbp), %rdi
callq 0x7e8f
jmp 0x43fe
leaq 0x18(%rbp), %rdx
movq 0x10(%rsp), %rax
movq 0x20(%rsp), %rcx
subq %rax, %rcx
addq 0x8(%rsp), %rcx
cmpq %rdx, 0x20(%rbp)
jne 0x47e8
cmpq $0x2, %rcx
ja 0x4282
movl $0x3, %esi
movq %r15, %rdi
callq *0x18(%rsp)
testl %eax, %eax
js 0x4a9f
movq 0x10(%rsp), %rax
movw $0x7d7b, (%rax)         # imm = 0x7D7B
jmp 0x47da
movq 0x10(%rsp), %rsi
movq 0x20(%rsp), %rax
subq %rsi, %rax
addq 0x8(%rsp), %rax
cmpq $0x80, %rax
ja 0x42bf
movl $0x81, %esi
movq %r15, %rdi
callq *0x18(%rsp)
testl %eax, %eax
js 0x4a9f
movq 0x10(%rsp), %rsi
movl 0x18(%rbp), %edi
callq 0x7b06
jmp 0x43fe
movq 0x10(%rsp), %rsi
movq 0x20(%rsp), %rax
subq %rsi, %rax
addq 0x8(%rsp), %rax
cmpq $0x80, %rax
ja 0x42ff
movl $0x81, %esi
movq %r15, %rdi
callq *0x18(%rsp)
testl %eax, %eax
js 0x4a9f
movq 0x10(%rsp), %rsi
movl 0x18(%rbp), %edi
callq 0x83dd
jmp 0x43fe
movl 0x18(%rbp), %esi
cmpl $0xff, %esi
jbe 0x47a4
movq 0x20(%rbp), %rdx
movq %r15, %rdi
callq 0x4d7a
testl %eax, %eax
jns 0x440a
jmp 0x4a9f
movq 0x10(%rsp), %rax
movq 0x20(%rsp), %rcx
subq %rax, %rcx
addq 0x8(%rsp), %rcx
cmpb $0x1, 0x18(%rbp)
jne 0x456d
cmpq $0x4, %rcx
ja 0x436f
movl $0x5, %esi
movq %r15, %rdi
callq *0x18(%rsp)
testl %eax, %eax
js 0x4a9f
movq 0x10(%rsp), %rax
movl $0x65757274, (%rax)     # imm = 0x65757274
movq 0x10(%rsp), %rax
addq $0x4, %rax
jmp 0x4405
movq 0x10(%rsp), %rsi
movq 0x20(%rsp), %rax
subq %rsi, %rax
addq 0x8(%rsp), %rax
cmpq $0x80, %rax
ja 0x43b6
movl $0x81, %esi
movq %r15, %rdi
callq *0x18(%rsp)
testl %eax, %eax
js 0x4a9f
movq 0x10(%rsp), %rsi
movq 0x18(%rbp), %rdi
callq 0x8597
jmp 0x43fe
movq 0x10(%rsp), %rdi
movq 0x20(%rsp), %rax
subq %rdi, %rax
addq 0x8(%rsp), %rax
cmpq $0x80, %rax
ja 0x43f4
movl $0x81, %esi
movq %r15, %rdi
callq *0x18(%rsp)
testl %eax, %eax
js 0x4a9f
movq 0x10(%rsp), %rdi
movsd 0x18(%rbp), %xmm0
callq 0x8662
cltq
addq 0x10(%rsp), %rax
movq %rax, 0x10(%rsp)
incl 0x3c(%rsp)
testl %r12d, %r12d
js 0x4a47
movl %r12d, %r12d
movq (%rbp), %rcx
leaq 0x18(%r13), %rax
cmpq %rax, %rcx
je 0x45a4
movq 0x10(%rsp), %rax
movq %rcx, %rbp
movq 0x20(%rsp), %rcx
subq %rax, %rcx
addq 0x8(%rsp), %rcx
cmpq $0x1, %rcx
ja 0x445f
movl $0x2, %esi
movq %r15, %rdi
callq *0x18(%rsp)
testl %eax, %eax
js 0x4a9f
movq 0x10(%rsp), %rax
movb $0x2c, (%rax)
movq 0x10(%rsp), %rax
incq %rax
movq %rax, 0x10(%rsp)
movl 0x8(%r13), %ecx
andl $0xf, %ecx
cmpl $0x9, %ecx
je 0x48d8
cmpb $0x0, 0x40(%rsp)
je 0x41ae
movl 0x8(%rbp), %ecx
andl $0xf, %ecx
cmpl $0x8, %ecx
jne 0x44e5
movl %r12d, %r14d
incl %r14d
movq 0x20(%rsp), %rcx
subq %rax, %rcx
addq 0x8(%rsp), %rcx
leaq 0x2(%r14), %rsi
cmpq %rsi, %rcx
jae 0x44c5
movq %r15, %rdi
callq *0x18(%rsp)
testl %eax, %eax
js 0x4a9f
movq 0x10(%rsp), %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0x10(%rsp)
movb $0xa, (%rax)
movq 0x10(%rsp), %rdi
movl $0x9, %esi
movq %r14, %rdx
callq 0x10f0
jmp 0x451a
movq 0x20(%rsp), %rcx
subq %rax, %rcx
addq 0x8(%rsp), %rcx
cmpq $0x1, %rcx
ja 0x4511
movl $0x2, %esi
movq %r15, %rdi
callq *0x18(%rsp)
testl %eax, %eax
js 0x4a9f
movq 0x10(%rsp), %rax
movb $0x20, (%rax)
movl $0x1, %r14d
addq %r14, 0x10(%rsp)
jmp 0x41ae
leaq 0x18(%rbp), %rdx
movq 0x10(%rsp), %rax
movq 0x20(%rsp), %rcx
subq %rax, %rcx
addq 0x8(%rsp), %rcx
cmpq %rdx, 0x20(%rbp)
jne 0x480c
cmpq $0x2, %rcx
ja 0x4563
movl $0x3, %esi
movq %r15, %rdi
callq *0x18(%rsp)
testl %eax, %eax
js 0x4a9f
movq 0x10(%rsp), %rax
movw $0x5d5b, (%rax)         # imm = 0x5D5B
jmp 0x47da
cmpq $0x5, %rcx
ja 0x458c
movl $0x6, %esi
movq %r15, %rdi
callq *0x18(%rsp)
testl %eax, %eax
js 0x4a9f
movq 0x10(%rsp), %rax
movb $0x65, 0x4(%rax)
movl $0x736c6166, (%rax)     # imm = 0x736C6166
movq 0x10(%rsp), %rax
addq $0x5, %rax
jmp 0x4405
movq %rbp, %rcx
movq %r13, %r14
movl 0x8(%r14), %edx
andl $0xf, %edx
movb 0x40(%rsp), %al
cmpl $0x9, %edx
jne 0x4626
testb %al, %al
je 0x469b
movq 0x10(%rsp), %rax
movq 0x20(%rsp), %rcx
subq %rax, %rcx
addq 0x8(%rsp), %rcx
testq %r12, %r12
je 0x46d8
leaq 0x2(%r12), %rsi
cmpq %rsi, %rcx
jae 0x45fb
movq %r15, %rdi
callq *0x18(%rsp)
testl %eax, %eax
js 0x4a9f
movq 0x10(%rsp), %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0x10(%rsp)
movb $0xa, (%rax)
movq 0x10(%rsp), %rdi
movl $0x9, %esi
movq %r12, %rdx
callq 0x10f0
movq 0x10(%rsp), %rax
addq %r12, %rax
jmp 0x4702
testb %al, %al
je 0x46a2
movl 0x8(%rcx), %ecx
andl $0xe, %ecx
movq 0x10(%rsp), %rax
cmpl $0x8, %ecx
jne 0x46a7
movq 0x20(%rsp), %rcx
subq %rax, %rcx
addq 0x8(%rsp), %rcx
testq %r12, %r12
je 0x4775
leaq 0x2(%r12), %rsi
cmpq %rsi, %rcx
jae 0x466e
movq %r15, %rdi
callq *0x18(%rsp)
testl %eax, %eax
js 0x4a9f
movq 0x10(%rsp), %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0x10(%rsp)
movb $0xa, (%rax)
movq 0x10(%rsp), %rdi
movl $0x9, %esi
movq %r12, %rdx
callq 0x10f0
movq %r12, %rax
addq 0x10(%rsp), %rax
movq %rax, 0x10(%rsp)
jmp 0x46a7
movq 0x10(%rsp), %rax
jmp 0x4707
movq 0x10(%rsp), %rax
movq 0x20(%rsp), %rcx
subq %rax, %rcx
addq 0x8(%rsp), %rcx
cmpq $0x1, %rcx
ja 0x46d3
movl $0x2, %esi
movq %r15, %rdi
callq *0x18(%rsp)
testl %eax, %eax
js 0x4a9f
movq 0x10(%rsp), %rax
movb $0x5d, (%rax)
jmp 0x4736
cmpq $0x1, %rcx
ja 0x46f7
movl $0x2, %esi
movq %r15, %rdi
callq *0x18(%rsp)
testl %eax, %eax
js 0x4a9f
movq 0x10(%rsp), %rax
movb $0xa, (%rax)
movq 0x10(%rsp), %rax
incq %rax
movq %rax, 0x10(%rsp)
movq 0x20(%rsp), %rcx
subq %rax, %rcx
addq 0x8(%rsp), %rcx
cmpq $0x1, %rcx
ja 0x4733
movl $0x2, %esi
movq %r15, %rdi
callq *0x18(%rsp)
testl %eax, %eax
js 0x4a9f
movq 0x10(%rsp), %rax
movb $0x7d, (%rax)
movq 0x10(%rsp), %rax
incq %rax
movq %rax, 0x10(%rsp)
incl 0x3c(%rsp)
subq $0x1, %r12
jb 0x4a47
movq 0x50(%rsp), %rcx
movq (%rcx,%r12,8), %r13
movq (%r14), %rbp
leaq 0x18(%r13), %rdx
movq %r14, %rcx
movq %r13, %r14
cmpq %rdx, %rbp
jne 0x4433
jmp 0x45aa
cmpq $0x1, %rcx
ja 0x4794
movl $0x2, %esi
movq %rsp, %rdi
callq *0x18(%rsp)
testl %eax, %eax
js 0x4a9f
movq 0x10(%rsp), %rax
movb $0xa, (%rax)
movl $0x1, %eax
movq %rsp, %r15
jmp 0x468f
movq 0x10(%rsp), %rax
movq 0x20(%rsp), %rcx
subq %rax, %rcx
addq 0x8(%rsp), %rcx
cmpq $0x2, %rcx
ja 0x47d5
movl $0x3, %esi
movq %r15, %rdi
callq *0x18(%rsp)
testl %eax, %eax
js 0x4a9f
movq 0x10(%rsp), %rax
movw $0x2222, (%rax)         # imm = 0x2222
movq 0x10(%rsp), %rax
addq $0x2, %rax
jmp 0x4405
cmpq $0x1, %rcx
ja 0x4807
movl $0x2, %esi
movq %r15, %rdi
callq *0x18(%rsp)
testl %eax, %eax
js 0x4a9f
movq 0x10(%rsp), %rax
movb $0x7b, (%rax)
jmp 0x482e
cmpq $0x1, %rcx
ja 0x482b
movl $0x2, %esi
movq %r15, %rdi
callq *0x18(%rsp)
testl %eax, %eax
js 0x4a9f
movq 0x10(%rsp), %rax
movb $0x5b, (%rax)
incq 0x10(%rsp)
movq 0x58(%rsp), %rax
decl %eax
cmpl %eax, %r12d
jge 0x4a0b
movq 0x50(%rsp), %rax
movslq %r12d, %r14
incl %r12d
movq %rax, 0x50(%rsp)
movq %rbp, 0x8(%rax,%r14,8)
movq 0x18(%rbp), %r15
movl 0x8(%rbp), %eax
andl $0xf, %eax
cmpl $0x8, %eax
jne 0x48de
cmpb $0x1, 0x40(%rsp)
jne 0x41a5
movl 0x8(%r15), %eax
andl $0xe, %eax
cmpl $0x8, %eax
jne 0x41a5
movq 0x10(%rsp), %rax
movq 0x20(%rsp), %rcx
subq %rax, %rcx
addq 0x8(%rsp), %rcx
leaq 0x4(%r14), %rsi
cmpq %rsi, %rcx
jae 0x48b1
movq %rsp, %rdi
callq *0x18(%rsp)
testl %eax, %eax
js 0x4afa
movq 0x10(%rsp), %rax
addq $0x2, %r14
leaq 0x1(%rax), %rcx
movq %rcx, 0x10(%rsp)
movb $0xa, (%rax)
movq 0x10(%rsp), %rdi
movl $0x9, %esi
movq %r14, %rdx
callq 0x10f0
jmp 0x4a01
movq %rbp, %r15
movq %r13, %rbp
cmpb $0x1, 0x40(%rsp)
jne 0x49a3
movslq %r12d, %r14
movq 0x10(%rsp), %rax
movq 0x20(%rsp), %rcx
subq %rax, %rcx
addq 0x8(%rsp), %rcx
leaq 0x3(%r14), %rsi
cmpq %rsi, %rcx
jae 0x491b
movq %rsp, %rdi
callq *0x18(%rsp)
testl %eax, %eax
js 0x4a9f
movq 0x10(%rsp), %rax
incq %r14
leaq 0x1(%rax), %rcx
movq %rcx, 0x10(%rsp)
movb $0xa, (%rax)
movq 0x10(%rsp), %rdi
movl $0x9, %esi
movq %r14, %rdx
callq 0x10f0
addq %r14, 0x10(%rsp)
movl 0x8(%r15), %esi
cmpl $0x100, %esi            # imm = 0x100
jb 0x4a8e
movq 0x10(%r15), %rdx
movq %rsp, %rdi
callq 0x4d7a
testl %eax, %eax
js 0x4a9f
movq 0x10(%rsp), %rax
movq 0x20(%rsp), %rcx
subq %rax, %rcx
addq 0x8(%rsp), %rcx
cmpq $0x2, %rcx
ja 0x4996
movl $0x3, %esi
movq %rsp, %rdi
callq *0x18(%rsp)
testl %eax, %eax
js 0x4a9f
movq 0x10(%rsp), %rax
movw $0x93a, (%rax)          # imm = 0x93A
movl $0x2, %r14d
jmp 0x4a01
movl 0x8(%r15), %esi
cmpl $0x100, %esi            # imm = 0x100
jb 0x4a87
movq 0x10(%r15), %rdx
movq %rsp, %rdi
callq 0x4d7a
testl %eax, %eax
js 0x4a9f
movq 0x10(%rsp), %rax
movq 0x20(%rsp), %rcx
subq %rax, %rcx
addq 0x8(%rsp), %rcx
cmpq $0x1, %rcx
ja 0x49f8
movl $0x2, %esi
movq %rsp, %rdi
callq *0x18(%rsp)
testl %eax, %eax
js 0x4a9f
movq 0x10(%rsp), %rax
movb $0x3a, (%rax)
movl $0x1, %r14d
addq %r14, 0x10(%rsp)
jmp 0x41a5
movq 0x58(%rsp), %r15
movslq %r15d, %rax
leaq 0x80(,%rax,8), %rsi
movq 0x50(%rsp), %r14
movq %r14, %rdi
callq 0x1180
testq %rax, %rax
je 0x4b01
addl $0x10, %r15d
movq %r15, 0x58(%rsp)
jmp 0x4848
xorl %r14d, %r14d
jmp 0x4ae8
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x4a56
callq 0x1030
movq 0x60(%rsp), %rbx
movq 0x20(%rbx), %rcx
movq %rsp, %rdi
xorl %esi, %esi
movq %rbx, %rdx
callq 0x4c74
testl %eax, %eax
js 0x4ad4
cmpq $0x0, 0x28(%rbx)
jne 0x4a7e
movq 0x8(%rsp), %r14
jmp 0x4ae8
leaq 0x5b00(%rip), %r14      # 0xa585
jmp 0x4ae8
movl $0x65f, %edi            # imm = 0x65F
jmp 0x4a93
movl $0x653, %edi            # imm = 0x653
leaq 0x5e94(%rip), %rsi      # 0xa92e
callq 0x256e
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x4aae
callq 0x1030
leaq 0x59a7(%rip), %rdi      # 0xa45c
leaq 0x5ab7(%rip), %rsi      # 0xa573
movl $0x742, %edx            # imm = 0x742
xorl %eax, %eax
callq 0x10c0
leaq 0x5e2e(%rip), %rdi      # 0xa8fd
callq 0x1060
xorl %r14d, %r14d
movq %rsp, %rdi
movl $0x1, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x4c74
movq %r14, %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x50(%rsp), %rdi
jmp 0x4aa9
leaq 0x5954(%rip), %rdi      # 0xa45c
leaq 0x5b6c(%rip), %rsi      # 0xa67b
movl $0x63d, %edx            # imm = 0x63D
xorl %eax, %eax
callq 0x10c0
leaq 0x5e3e(%rip), %rdi      # 0xa960
callq 0x1060
movq %r14, %rdi
jmp 0x4aa9