// File: /workspace/github_cpp_makefile_star2_O1/jo-qzy[P]MyJson/./json.hpp
// Function: JSON::value_parse::parse_array(JSON::Value*)
int parse_array(Value* element = nullptr) {
            it++;
            std::vector<Value> tmp_array;
            int ret = 0;
            skip_blank();
            if (*it == ']') {
                it++;
                if (element != nullptr)
                    *element = tmp_array;
                else
                    *root = tmp_array;
                return PARSE_OK;
            }
            while (it != json_source.end()) {
                Value tmp_element;
                skip_blank();
                if ((ret = parse_value(&tmp_element)) != PARSE_OK)
                    return ret;
                skip_blank();
                // insert element to array
                tmp_array.push_back(tmp_element);
                if (*it == ',') {
                    CHECK_ITERATOR(it);
                    it++;
                }
                else if (*it == ']') {
                    CHECK_ITERATOR(it);
                    it++;
                    break;
                }
                else
                    return PARSE_MISS_COMMA_OR_SQUARE_BRAKET;
            }
            if (element != nullptr)
                *element = tmp_array;
            else
                *root = tmp_array;
            return PARSE_OK;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd8, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq 0x20(%rdi), %rax
incq %rax
movq %rax, 0x20(%rdi)
xorps %xmm0, %xmm0
movaps %xmm0, -0x50(%rbp)
movq $0x0, -0x40(%rbp)
movq (%rdi), %rcx
addq 0x8(%rdi), %rcx
cmpq %rcx, %rax
je 0x357e
cmpb $0x20, (%rax)
jne 0x357e
incq %rax
movq %rax, 0x20(%r14)
jmp 0x356b
movq 0x20(%r14), %rax
cmpb $0x5d, (%rax)
jne 0x3593
incq %rax
movq %rax, 0x20(%r14)
jmp 0x36da
movq %rbx, -0x58(%rbp)
leaq -0xe8(%rbp), %r13
xorl %ebx, %ebx
leaq -0x100(%rbp), %r12
movq (%r14), %rax
movq 0x20(%r14), %rcx
addq 0x8(%r14), %rax
cmpq %rax, %rcx
je 0x36d6
movl %ebx, -0x100(%rbp)
movq %r13, -0xf8(%rbp)
movq %rbx, -0xf0(%rbp)
movb %bl, -0xe8(%rbp)
leaq -0xc0(%rbp), %rdx
movq %rdx, -0xd0(%rbp)
movq %rbx, -0xc8(%rbp)
movb %bl, -0xc0(%rbp)
movq %rbx, 0x48(%r13)
xorps %xmm0, %xmm0
movups %xmm0, 0x38(%r13)
movl %ebx, -0x90(%rbp)
movq %rbx, -0x88(%rbp)
leaq -0x90(%rbp), %rdx
movq %rdx, -0x80(%rbp)
movq %rdx, -0x78(%rbp)
movq %rbx, -0x70(%rbp)
cmpb $0x20, (%rcx)
jne 0x362d
incq %rcx
movq %rcx, 0x20(%r14)
cmpq %rax, %rcx
jne 0x361c
movq %r14, %rdi
movq %r12, %rsi
callq 0x338c
movl $0x1, %r15d
testl %eax, %eax
je 0x3658
movl %eax, -0x2c(%rbp)
movq %r12, %rdi
callq 0x2d88
testl %r15d, %r15d
je 0x35a7
jmp 0x36d0
movq (%r14), %rax
movq 0x20(%r14), %rcx
addq 0x8(%r14), %rax
cmpq %rax, %rcx
je 0x3676
cmpb $0x20, (%rcx)
jne 0x3676
incq %rcx
movq %rcx, 0x20(%r14)
jmp 0x3663
leaq -0x50(%rbp), %rdi
movq %r12, %rsi
callq 0x3cb8
movq 0x20(%r14), %rax
movzbl (%rax), %ecx
cmpl $0x5d, %ecx
je 0x369e
cmpl $0x2c, %ecx
jne 0x36bb
movq (%r14), %rdx
addq 0x8(%r14), %rdx
xorl %ecx, %ecx
jmp 0x36aa
movq (%r14), %rdx
addq 0x8(%r14), %rdx
movl $0x3, %ecx
cmpq %rdx, %rax
je 0x36c4
incq %rax
movq %rax, 0x20(%r14)
movl %ecx, %r15d
jmp 0x3645
movl $0xa, -0x2c(%rbp)
jmp 0x3645
movl $0x5, -0x2c(%rbp)
jmp 0x3645
cmpl $0x3, %r15d
jne 0x3722
movq -0x58(%rbp), %rbx
testq %rbx, %rbx
jne 0x36e3
movq 0x28(%r14), %rbx
movq %rbx, %rdi
callq 0x31de
movl $0x5, (%rbx)
addq $0x50, %rbx
xorl %r14d, %r14d
leaq -0x50(%rbp), %rsi
movq %rbx, %rdi
callq 0x3d3e
leaq -0x50(%rbp), %rdi
callq 0x3cf6
movl %r14d, %eax
addq $0xd8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl -0x2c(%rbp), %r14d
jmp 0x3704
movq %rax, %rbx
jmp 0x373c
movq %rax, %rbx
leaq -0x100(%rbp), %rdi
callq 0x2d88
leaq -0x50(%rbp), %rdi
callq 0x3cf6
movq %rbx, %rdi
callq 0x2280
nop