	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function jq_reset
_jq_reset:                              ## @jq_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_stack_restore
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	xorl	%edi, %edi
	cmpq	$0, (%rbx)
	sete	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpq	$0, 8(%rbx)
	sete	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpq	$0, 16(%rbx)
	sete	%dil
	callq	_assert
	leaq	80(%rbx), %rdi
	callq	_stack_reset
	movq	72(%rbx), %rdi
	callq	_jv_free
	xorl	%eax, %eax
	callq	_jv_null
	movq	%rax, 72(%rbx)
	movq	$0, 64(%rbx)
	movq	56(%rbx), %rdi
	callq	_jv_free
	movq	48(%rbx), %rdi
	callq	_jv_free
	movq	40(%rbx), %rdi
	callq	_jv_get_kind
	movq	_JV_KIND_INVALID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	movq	40(%rbx), %rdi
	callq	_jv_free
LBB0_4:
	xorl	%eax, %eax
	callq	_jv_null
	movq	%rax, 40(%rbx)
	movq	32(%rbx), %rdi
	callq	_jv_free
	xorl	%eax, %eax
	callq	_jv_null
	movq	%rax, 32(%rbx)
	movq	$0, 24(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_JV_KIND_INVALID,8,3            ## @JV_KIND_INVALID
	.no_dead_strip	_jq_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function jq_reset
_jq_reset:                              ; @jq_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
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_stack_restore
	cbnz	x0, LBB0_1
; %bb.2:
	ldr	x8, [x19]
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
	ldr	x8, [x19, #8]
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
	ldr	x8, [x19, #16]
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
	add	x0, x19, #80
	bl	_stack_reset
	ldr	x0, [x19, #72]
	bl	_jv_free
	bl	_jv_null
	stp	xzr, x0, [x19, #64]
	ldr	x0, [x19, #56]
	bl	_jv_free
	ldr	x0, [x19, #48]
	bl	_jv_free
	ldr	x0, [x19, #40]
	bl	_jv_get_kind
Lloh0:
	adrp	x8, _JV_KIND_INVALID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _JV_KIND_INVALID@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_4
; %bb.3:
	ldr	x0, [x19, #40]
	bl	_jv_free
LBB0_4:
	bl	_jv_null
	str	x0, [x19, #40]
	ldr	x0, [x19, #32]
	bl	_jv_free
	bl	_jv_null
	stp	xzr, x0, [x19, #24]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_JV_KIND_INVALID,8,3            ; @JV_KIND_INVALID
	.no_dead_strip	_jq_reset
.subsections_via_symbols
