	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LZXinit                        ## -- Begin function LZXinit
	.p2align	4, 0x90
_LZXinit:                               ## @LZXinit
	.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
	movl	%edi, %ebx
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	$112, %edx
	callq	_HeapAlloc
	movq	%rax, %r14
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_HeapAlloc
	movq	%rax, 104(%r14)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	%ebx, (%r14)
	movl	%ebx, 4(%r14)
	xorl	%eax, %eax
	testl	%ebx, %ebx
	jle	LBB0_6
## %bb.3:
	movq	_extra_bits@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdx), %ecx
	movl	$1, %edi
	shll	%cl, %edi
	addl	%edi, %esi
	addq	$4, %rdx
	addl	$8, %eax
	cmpl	%ebx, %esi
	jl	LBB0_4
## %bb.5:
	cltq
LBB0_6:
	movl	$1, 16(%r14)
	movabsq	$4294967297, %rcx               ## imm = 0x100000001
	movq	%rcx, 8(%r14)
	movq	_LZX_NUM_CHARS@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	movq	%rax, 96(%r14)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 72(%r14)
	movq	$0, 88(%r14)
	movq	_LZX_BLOCKTYPE_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%r14)
	movups	%xmm0, 40(%r14)
	movq	$0, 56(%r14)
	movq	_LZX_MAINTREE_MAXSYMBOLS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%esi, %esi
	jle	LBB0_8
## %bb.7:
	movq	32(%r14), %rdi
	shlq	$3, %rsi
	callq	___bzero
LBB0_8:
	movq	_LZX_LENGTH_MAXSYMBOLS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%esi, %esi
	jle	LBB0_10
## %bb.9:
	movq	24(%r14), %rdi
	shlq	$3, %rsi
	callq	___bzero
LBB0_10:
	movq	%r14, %rbx
	jmp	LBB0_11
LBB0_1:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_HeapFree
LBB0_11:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_extra_bits,8,3                 ## @extra_bits
	.comm	_LZX_NUM_CHARS,8,3              ## @LZX_NUM_CHARS
	.comm	_LZX_BLOCKTYPE_INVALID,4,2      ## @LZX_BLOCKTYPE_INVALID
	.comm	_LZX_MAINTREE_MAXSYMBOLS,4,2    ## @LZX_MAINTREE_MAXSYMBOLS
	.comm	_LZX_LENGTH_MAXSYMBOLS,4,2      ## @LZX_LENGTH_MAXSYMBOLS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LZXinit                        ; -- Begin function LZXinit
	.p2align	2
_LZXinit:                               ; @LZXinit
	.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
	bl	_GetProcessHeap
	mov	w1, #0
	mov	w2, #112
	bl	_HeapAlloc
	mov	x19, x0
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x20
	bl	_HeapAlloc
	str	x0, [x19, #104]
	cbz	x0, LBB0_5
; %bb.1:
	stp	w20, w20, [x19]
	cmp	w20, #1
	b.lt	LBB0_6
; %bb.2:
	mov	w8, #0
	mov	w9, #0
Lloh0:
	adrp	x10, _extra_bits@GOTPAGE
Lloh1:
	ldr	x10, [x10, _extra_bits@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	mov	w11, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x10], #4
	lsl	w12, w11, w12
	add	w8, w8, #8
	add	w9, w12, w9
	cmp	w9, w20
	b.lt	LBB0_3
; %bb.4:
	sxtw	x8, w8
	b	LBB0_7
LBB0_5:
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x19
	bl	_HeapFree
	mov	x19, #0
	b	LBB0_11
LBB0_6:
	mov	x8, #0
LBB0_7:
	mov	w9, #1
	str	w9, [x19, #16]
	movi.2s	v0, #1
Lloh3:
	adrp	x9, _LZX_NUM_CHARS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LZX_NUM_CHARS@GOTPAGEOFF]
	str	d0, [x19, #8]
Lloh5:
	ldr	x9, [x9]
	add	x8, x9, x8
	stp	xzr, x8, [x19, #88]
	stp	xzr, xzr, [x19, #72]
Lloh6:
	adrp	x8, _LZX_BLOCKTYPE_INVALID@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LZX_BLOCKTYPE_INVALID@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19, #64]
	stp	xzr, xzr, [x19, #48]
	str	xzr, [x19, #40]
Lloh9:
	adrp	x8, _LZX_MAINTREE_MAXSYMBOLS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LZX_MAINTREE_MAXSYMBOLS@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.8:
	ldr	x0, [x19, #32]
	lsl	x1, x8, #3
	bl	_bzero
LBB0_9:
Lloh12:
	adrp	x8, _LZX_LENGTH_MAXSYMBOLS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _LZX_LENGTH_MAXSYMBOLS@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.10:
	ldr	x0, [x19, #24]
	lsl	x1, x8, #3
	bl	_bzero
LBB0_11:
	mov	x0, x19
	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	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_extra_bits,8,3                 ; @extra_bits
	.comm	_LZX_NUM_CHARS,8,3              ; @LZX_NUM_CHARS
	.comm	_LZX_BLOCKTYPE_INVALID,4,2      ; @LZX_BLOCKTYPE_INVALID
	.comm	_LZX_MAINTREE_MAXSYMBOLS,4,2    ; @LZX_MAINTREE_MAXSYMBOLS
	.comm	_LZX_LENGTH_MAXSYMBOLS,4,2      ; @LZX_LENGTH_MAXSYMBOLS
.subsections_via_symbols
