	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function json_parse_array
_json_parse_array:                      ## @json_parse_array
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rbx
	movq	%rbx, -48(%rbp)
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movq	%rbx, %rdx
	callq	_DPRINTF
	cmpq	%r13, %rbx
	jae	LBB0_11
## %bb.1:
	incq	%r12
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-48(%rbp), %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	movq	%r12, %rcx
	callq	_json_parse
	movq	-48(%rbp), %rbx
	testl	%eax, %eax
	je	LBB0_11
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r13, %rbx
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movzbl	(%rbx), %eax
	cmpb	$44, %al
	jne	LBB0_6
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movq	%rbx, -48(%rbp)
	decl	%r14d
	cmpq	%r13, %rbx
	jb	LBB0_2
	jmp	LBB0_11
LBB0_6:
	cmpb	$93, %al
	jne	LBB0_11
## %bb.7:
	testl	%r14d, %r14d
	je	LBB0_9
## %bb.8:
	movq	_JSON_ARRAYN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	incq	(%r15,%rax,8)
LBB0_9:
	incq	%rbx
	movl	$1, %eax
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_12
LBB0_4:
	movq	%r13, %rbx
LBB0_11:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	(%r14), %rdx
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	callq	_DPRINTF
	xorl	%eax, %eax
	movq	-48(%rbp), %rbx
LBB0_12:
	movq	%rbx, (%r14)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Parse array: "

	.comm	_JSON_ARRAYN,8,3                ## @JSON_ARRAYN
L_.str.1:                               ## @.str.1
	.asciz	"Bad array: "

	.no_dead_strip	_json_parse_array
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function json_parse_array
_json_parse_array:                      ; @json_parse_array
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x23, x3
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x21, [x0]
	str	x21, [sp, #8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	mov	x2, x21
	bl	_DPRINTF
	cmp	x21, x22
	b.hs	LBB0_11
; %bb.1:
	mov	w24, #0
	add	x23, x23, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	mov	x1, x22
	mov	x2, x20
	mov	x3, x23
	bl	_json_parse
	ldr	x21, [sp, #8]
	cbz	w0, LBB0_11
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	x21, x22
	b.eq	LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w8, [x21]
	cmp	w8, #44
	b.ne	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x21, x21, #1
	str	x21, [sp, #8]
	sub	w24, w24, #1
	cmp	x21, x22
	b.lo	LBB0_2
	b	LBB0_11
LBB0_6:
	cmp	w8, #93
	b.ne	LBB0_11
; %bb.7:
	cbz	w24, LBB0_9
; %bb.8:
Lloh2:
	adrp	x8, _JSON_ARRAYN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _JSON_ARRAYN@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	lsl	x8, x8, #3
	ldr	x9, [x20, x8]
	add	x9, x9, #1
	str	x9, [x20, x8]
LBB0_9:
	add	x8, x21, #1
	mov	w0, #1
	b	LBB0_12
LBB0_10:
	mov	x21, x22
LBB0_11:
	ldr	x2, [x19]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	bl	_DPRINTF
	mov	w0, #0
	ldr	x8, [sp, #8]
LBB0_12:
	str	x8, [x19]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Parse array: "

	.comm	_JSON_ARRAYN,8,3                ; @JSON_ARRAYN
l_.str.1:                               ; @.str.1
	.asciz	"Bad array: "

	.no_dead_strip	_json_parse_array
.subsections_via_symbols
