	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parser_reset
_parser_reset:                          ## @parser_reset
	.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
	movq	%rdi, %r14
	movq	_JV_PARSE_STREAMING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_2
## %bb.1:
	movq	64(%r14), %rdi
	callq	_jv_free
	xorl	%eax, %eax
	callq	_jv_array
	movq	%rax, 64(%r14)
	movq	$0, 56(%r14)
LBB0_2:
	movq	_JV_LAST_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r14)
	movq	40(%r14), %rdi
	callq	_jv_free
	xorl	%eax, %eax
	callq	_jv_invalid
	movq	%rax, 40(%r14)
	movq	32(%r14), %rdi
	callq	_jv_free
	xorl	%eax, %eax
	callq	_jv_invalid
	movq	%rax, 32(%r14)
	cmpl	$0, 4(%r14)
	jle	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r14), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_jv_free
	incq	%rbx
	movslq	4(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_4
LBB0_5:
	movl	$0, 4(%r14)
	movq	$0, 16(%r14)
	movq	_JV_PARSER_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_JV_PARSE_STREAMING,4,2         ## @JV_PARSE_STREAMING
	.comm	_JV_LAST_NONE,4,2               ## @JV_LAST_NONE
	.comm	_JV_PARSER_NORMAL,4,2           ## @JV_PARSER_NORMAL
	.no_dead_strip	_parser_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parser_reset
_parser_reset:                          ; @parser_reset
	.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	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _JV_PARSE_STREAMING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _JV_PARSE_STREAMING@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	x0, [x19, #64]
	bl	_jv_free
	bl	_jv_array
	stp	xzr, x0, [x19, #56]
LBB0_2:
Lloh3:
	adrp	x8, _JV_LAST_NONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _JV_LAST_NONE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #48]
	ldr	x0, [x19, #40]
	bl	_jv_free
	bl	_jv_invalid
	str	x0, [x19, #40]
	ldr	x0, [x19, #32]
	bl	_jv_free
	bl	_jv_invalid
	str	x0, [x19, #32]
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x20, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	ldr	x0, [x8, x20, lsl #3]
	bl	_jv_free
	add	x20, x20, #1
	ldrsw	x8, [x19, #4]
	cmp	x20, x8
	b.lt	LBB0_4
LBB0_5:
	str	xzr, [x19, #16]
Lloh6:
	adrp	x8, _JV_PARSER_NORMAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _JV_PARSER_NORMAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	stp	wzr, w8, [x19, #4]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_JV_PARSE_STREAMING,4,2         ; @JV_PARSE_STREAMING
	.comm	_JV_LAST_NONE,4,2               ; @JV_LAST_NONE
	.comm	_JV_PARSER_NORMAL,4,2           ; @JV_PARSER_NORMAL
	.no_dead_strip	_parser_reset
.subsections_via_symbols
