	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LZXreset                       ## -- Begin function LZXreset
	.p2align	4, 0x90
_LZXreset:                              ## @LZXreset
	.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, %rbx
	movl	$1, 8(%rdi)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, (%rdi)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 64(%rdi)
	movq	$0, 80(%rdi)
	movq	_LZX_BLOCKTYPE_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%rdi)
	movups	%xmm0, 32(%rdi)
	movq	$0, 48(%rdi)
	movq	_LZX_MAINTREE_MAXSYMBOLS@GOTPCREL(%rip), %rax
	movq	_LZX_LENTABLE_SAFETY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	movl	(%rax), %eax
	addl	%r14d, %eax
	testl	%eax, %eax
	jle	LBB0_2
## %bb.1:
	movq	24(%rbx), %rdi
	decl	%eax
	leaq	8(,%rax,8), %rsi
	callq	___bzero
LBB0_2:
	movq	_LZX_LENGTH_MAXSYMBOLS@GOTPCREL(%rip), %rax
	addl	(%rax), %r14d
	testl	%r14d, %r14d
	jle	LBB0_4
## %bb.3:
	movq	16(%rbx), %rdi
	decl	%r14d
	leaq	8(,%r14,8), %rsi
	callq	___bzero
LBB0_4:
	movq	_DECR_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LZX_BLOCKTYPE_INVALID,4,2      ## @LZX_BLOCKTYPE_INVALID
	.comm	_LZX_MAINTREE_MAXSYMBOLS,4,2    ## @LZX_MAINTREE_MAXSYMBOLS
	.comm	_LZX_LENTABLE_SAFETY,4,2        ## @LZX_LENTABLE_SAFETY
	.comm	_LZX_LENGTH_MAXSYMBOLS,4,2      ## @LZX_LENGTH_MAXSYMBOLS
	.comm	_DECR_OK,4,2                    ## @DECR_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LZXreset                       ; -- Begin function LZXreset
	.p2align	2
_LZXreset:                              ; @LZXreset
	.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
	mov	w8, #1
	str	w8, [x0, #8]
	movi.2s	v0, #1
	str	d0, [x0]
	stp	xzr, xzr, [x0, #72]
	str	xzr, [x0, #64]
Lloh0:
	adrp	x8, _LZX_BLOCKTYPE_INVALID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LZX_BLOCKTYPE_INVALID@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #56]
	stp	xzr, xzr, [x0, #40]
	str	xzr, [x0, #32]
Lloh3:
	adrp	x8, _LZX_MAINTREE_MAXSYMBOLS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LZX_MAINTREE_MAXSYMBOLS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _LZX_LENTABLE_SAFETY@GOTPAGE
Lloh7:
	ldr	x9, [x9, _LZX_LENTABLE_SAFETY@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x9]
	add	w8, w20, w8
	subs	w8, w8, #1
	b.lt	LBB0_2
; %bb.1:
	ldr	x0, [x19, #24]
	lsl	x8, x8, #3
	add	x1, x8, #8
	bl	_bzero
LBB0_2:
Lloh9:
	adrp	x8, _LZX_LENGTH_MAXSYMBOLS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LZX_LENGTH_MAXSYMBOLS@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	add	w8, w8, w20
	subs	w8, w8, #1
	b.lt	LBB0_4
; %bb.3:
	ldr	x0, [x19, #16]
	lsl	x8, x8, #3
	add	x1, x8, #8
	bl	_bzero
LBB0_4:
Lloh12:
	adrp	x8, _DECR_OK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DECR_OK@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_LZX_BLOCKTYPE_INVALID,4,2      ; @LZX_BLOCKTYPE_INVALID
	.comm	_LZX_MAINTREE_MAXSYMBOLS,4,2    ; @LZX_MAINTREE_MAXSYMBOLS
	.comm	_LZX_LENTABLE_SAFETY,4,2        ; @LZX_LENTABLE_SAFETY
	.comm	_LZX_LENGTH_MAXSYMBOLS,4,2      ; @LZX_LENGTH_MAXSYMBOLS
	.comm	_DECR_OK,4,2                    ; @DECR_OK
.subsections_via_symbols
