	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_JSON_ArrayGetFirstValue        ## -- Begin function JSON_ArrayGetFirstValue
	.p2align	4, 0x90
_JSON_ArrayGetFirstValue:               ## @JSON_ArrayGetFirstValue
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	xorl	%eax, %eax
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	cmpq	%rsi, %rdi
	jae	LBB0_7
## %bb.2:
	movsbl	(%rbx), %edi
	callq	_IS_STRUCT_OPEN
	testl	%eax, %eax
	je	LBB0_6
## %bb.3:
	incq	%rbx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_JSON_SkipSeparators
	cmpq	%r14, %rax
	jae	LBB0_6
## %bb.4:
	movq	%rax, %rbx
	movsbl	(%rax), %edi
	callq	_IS_STRUCT_CLOSE
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	cmoveq	%rbx, %rax
	jmp	LBB0_7
LBB0_6:
	xorl	%eax, %eax
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_JSON_ArrayGetFirstValue        ; -- Begin function JSON_ArrayGetFirstValue
	.p2align	2
_JSON_ArrayGetFirstValue:               ; @JSON_ArrayGetFirstValue
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	mov	x0, #0
	cbz	x20, LBB0_6
; %bb.1:
	mov	x19, x1
	cmp	x20, x1
	b.hs	LBB0_6
; %bb.2:
	ldrsb	w0, [x20]
	bl	_IS_STRUCT_OPEN
	cbz	w0, LBB0_5
; %bb.3:
	add	x0, x20, #1
	mov	x1, x19
	bl	_JSON_SkipSeparators
	cmp	x0, x19
	b.hs	LBB0_5
; %bb.4:
	mov	x20, x0
	ldrsb	w0, [x0]
	bl	_IS_STRUCT_CLOSE
	cmp	x0, #0
	csel	x0, x20, xzr, eq
	b	LBB0_6
LBB0_5:
	mov	x0, #0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
