	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pop
_pop:                                   ## @pop
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	movq	8(%rdi), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movq	(%rdi), %rcx
	cmpl	%edx, (%rsi,%rcx,4)
	jne	LBB0_2
## %bb.3:
	decq	%rcx
	movq	%rcx, (%rdi)
	movq	_JSON_ARRAY@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jne	LBB0_4
## %bb.5:
	movq	_JSON_ARRAY_END@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_json_error
	movq	_JSON_ERROR@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_4:
	movq	_JSON_OBJECT_END@GOTPCREL(%rip), %rax
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unexpected byte, '%c'"

	.comm	_JSON_ERROR,4,2                 ## @JSON_ERROR
	.comm	_JSON_ARRAY,4,2                 ## @JSON_ARRAY
	.comm	_JSON_ARRAY_END,4,2             ## @JSON_ARRAY_END
	.comm	_JSON_OBJECT_END,4,2            ## @JSON_OBJECT_END
	.no_dead_strip	_pop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pop
_pop:                                   ; @pop
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x8, x1
	ldr	x9, [x0, #8]
	cbz	x9, LBB0_3
; %bb.1:
	ldr	x10, [x0]
	ldr	w9, [x9, x10, lsl #2]
	cmp	w9, w2
	b.ne	LBB0_3
; %bb.2:
	sub	x8, x10, #1
	str	x8, [x0]
Lloh0:
	adrp	x8, _JSON_ARRAY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _JSON_ARRAY@GOTPAGEOFF]
Lloh2:
	adrp	x9, _JSON_ARRAY_END@GOTPAGE
Lloh3:
	ldr	x9, [x9, _JSON_ARRAY_END@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x10, _JSON_OBJECT_END@GOTPAGE
Lloh6:
	ldr	x10, [x10, _JSON_OBJECT_END@GOTPAGEOFF]
	cmp	w8, w2
	csel	x8, x9, x10, eq
	b	LBB0_4
LBB0_3:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x8
	bl	_json_error
Lloh9:
	adrp	x8, _JSON_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _JSON_ERROR@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unexpected byte, '%c'"

	.comm	_JSON_ERROR,4,2                 ; @JSON_ERROR
	.comm	_JSON_ARRAY,4,2                 ; @JSON_ARRAY
	.comm	_JSON_ARRAY_END,4,2             ; @JSON_ARRAY_END
	.comm	_JSON_OBJECT_END,4,2            ; @JSON_OBJECT_END
	.no_dead_strip	_pop
.subsections_via_symbols
