// File: /workspace/github_cpp_makefile_star2_O1/swxlion[P]swxJson/tests/../src/swxJson.Enhancement.inc.h
// Function: std::array<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, 3ul> swxJson::Json::wantArray<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, 3ul>(bool)
std::array<T, N> wantArray(bool compatibleMode = false)
	{
		if (_type != JSON_Array)
			throw JSON_ERROR_MSG(JsonNodeTypeMissMatchError, "Node type miss match.");

		std::list<JsonPtr>* data = (std::list<JsonPtr>*)_data;

		if (!compatibleMode && data->size() != N)
			throw JSON_ERROR_MSG(JsonNodeTypeMissMatchError, "Node type miss match.");

		std::array<T, N> res;

		size_t idx = 0;
		for (auto& node: *data)
		{
			if (idx == N)
				return res;

			res[idx] = (T)(*node);
			idx += 1;
		}

		return res;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
cmpl $0x1, (%rsi)
jne 0x1b728
movq %rdi, %rbx
movq 0x8(%rsi), %r15
testb %dl, %dl
jne 0x1b64b
cmpq $0x3, 0x10(%r15)
jne 0x1b7a1
movl $0x10, %eax
leaq (%rbx,%rax), %rcx
movq %rcx, -0x10(%rbx,%rax)
movq $0x0, -0x8(%rbx,%rax)
movb $0x0, (%rbx,%rax)
addq $0x20, %rax
cmpq $0x70, %rax
jne 0x1b650
xorl %r13d, %r13d
leaq 0x8(%rsp), %r14
movq %r15, %rbp
xorl %r12d, %r12d
movq (%rbp), %rbp
cmpq %r15, %rbp
je 0x1b716
cmpq $0x3, %r12
jne 0x1b69b
movl $0x3, %eax
movb $0x1, %r13b
jmp 0x1b6da
movq 0x10(%rbp), %rsi
movq %r14, %rdi
callq 0x24b82
movq %r12, %rdi
shlq $0x5, %rdi
addq %rbx, %rdi
movq %r14, %rsi
callq 0x13310
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x1b6d5
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x132a0
leaq 0x1(%r12), %rax
cmpq $0x3, %r12
movq %rax, %r12
jne 0x1b67e
testb $0x1, %r13b
jne 0x1b716
movq %rbx, %r14
addq $0x50, %r14
xorl %r15d, %r15d
leaq (%r14,%r15), %rax
movq -0x10(%r14,%r15), %rdi
cmpq %rdi, %rax
je 0x1b70c
movq (%rax), %rsi
incq %rsi
callq 0x132a0
addq $-0x20, %r15
cmpq $-0x60, %r15
jne 0x1b6f3
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x60, %edi
callq 0x13110
movq %rax, %rbx
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x11ed0(%rip), %rsi     # 0x2d615
leaq 0x11ede(%rip), %rdx     # 0x2d62a
leaq 0x8(%rsp), %rdi
callq 0x19fa4
movb $0x1, %bpl
leaq 0x11e6f(%rip), %rsi     # 0x2d5cf
leaq 0x11ece(%rip), %rdx     # 0x2d635
leaq 0x8(%rsp), %r8
movq %rbx, %rdi
movl $0x335, %ecx            # imm = 0x335
callq 0x2c1b8
leaq 0x1d470(%rip), %rax     # 0x38bf0
addq $0x10, %rax
movq %rax, (%rbx)
xorl %ebp, %ebp
leaq 0x1d430(%rip), %rsi     # 0x38bc0
leaq -0x15d9(%rip), %rdx     # 0x1a1be
movq %rbx, %rdi
callq 0x13410
jmp 0x1b818
movl $0x60, %edi
callq 0x13110
movq %rax, %rbx
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x11e57(%rip), %rsi     # 0x2d615
leaq 0x11e65(%rip), %rdx     # 0x2d62a
leaq 0x8(%rsp), %rdi
callq 0x19fa4
movb $0x1, %bpl
leaq 0x11df6(%rip), %rsi     # 0x2d5cf
leaq 0x11e55(%rip), %rdx     # 0x2d635
leaq 0x8(%rsp), %r8
movq %rbx, %rdi
movl $0x33a, %ecx            # imm = 0x33A
callq 0x2c1b8
leaq 0x1d3f7(%rip), %rax     # 0x38bf0
addq $0x10, %rax
movq %rax, (%rbx)
xorl %ebp, %ebp
leaq 0x1d3b7(%rip), %rsi     # 0x38bc0
leaq -0x1652(%rip), %rdx     # 0x1a1be
movq %rbx, %rdi
callq 0x13410
jmp 0x1b81c
jmp 0x1b838
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x1b83e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x132a0
jmp 0x1b83e
movq %rax, %r14
movb $0x1, %bpl
testb %bpl, %bpl
je 0x1b85c
movq %rbx, %rdi
callq 0x131e0
jmp 0x1b85c
movq %rax, %r14
leaq 0x60(%rbx), %rdi
movq %rbx, %rsi
callq 0x1351e
movq %r14, %rdi
callq 0x13430