	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function lzx_decode_init
LCPI0_0:
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	4                               ## 0x4
	.long	8                               ## 0x8
LCPI0_1:
	.long	16                              ## 0x10
	.long	32                              ## 0x20
	.long	64                              ## 0x40
	.long	128                             ## 0x80
LCPI0_2:
	.long	256                             ## 0x100
	.long	512                             ## 0x200
	.long	1024                            ## 0x400
	.long	2048                            ## 0x800
LCPI0_3:
	.long	4096                            ## 0x1000
	.long	8192                            ## 0x2000
	.long	16384                           ## 0x4000
	.long	32768                           ## 0x8000
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_lzx_decode_init:                       ## @lzx_decode_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %r14
	testq	%r14, %r14
	jne	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	movl	$1, %edi
	movl	$88, %esi
	callq	_calloc
	movq	%rax, %r14
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_26
LBB0_2:
	movq	_ARCHIVE_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, (%r14)
	movq	_SLOT_BASE@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	jg	LBB0_19
## %bb.3:
	movq	_SLOT_MAX@GOTPCREL(%rip), %rdx
	cmpl	%r15d, (%rdx)
	jl	LBB0_19
## %bb.4:
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	movl	%eax, (%r14)
	movl	4(%r14), %eax
	movq	_slots@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movslq	(%rcx), %rsi
	movslq	%r15d, %rcx
	movq	%rcx, %rdi
	subq	%rsi, %rdi
	movl	(%rdx,%rdi,4), %r13d
	movl	$1, %edx
                                        ## kill: def $cl killed $cl killed $rcx
	shll	%cl, %edx
	movl	%edx, 4(%r14)
	leal	-1(%rdx), %ecx
	movl	%ecx, 8(%r14)
	movq	80(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	cmpl	%edx, %eax
	je	LBB0_9
LBB0_6:
	callq	_free
	movl	4(%r14), %edi
	callq	_malloc
	movq	%rax, 80(%r14)
	testq	%rax, %rax
	je	LBB0_31
## %bb.7:
	movq	72(%r14), %rdi
	callq	_free
	leal	(,%r13,8), %edi
	callq	_malloc
	movq	%rax, 72(%r14)
	testq	%rax, %rax
	je	LBB0_31
## %bb.8:
	leaq	28(%r14), %rdi
	callq	_lzx_huffman_free
LBB0_9:
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [1,2,4,8]
	movaps	%xmm0, -128(%rbp)
	movaps	LCPI0_1(%rip), %xmm0            ## xmm0 = [16,32,64,128]
	movaps	%xmm0, -112(%rbp)
	movaps	LCPI0_2(%rip), %xmm0            ## xmm0 = [256,512,1024,2048]
	movaps	%xmm0, -96(%rbp)
	movaps	LCPI0_3(%rip), %xmm0            ## xmm0 = [4096,8192,16384,32768]
	movaps	%xmm0, -80(%rbp)
	movabsq	$562949953486848, %rax          ## imm = 0x2000000010000
	movq	%rax, -64(%rbp)
	testl	%r13d, %r13d
	jle	LBB0_20
## %bb.10:
	movq	72(%r14), %rax
	xorl	%r8d, %r8d
	xorl	%edx, %edx
	xorl	%edi, %edi
	xorl	%ebx, %ebx
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_13 Depth=1
	testl	%edi, %edi
	cmovlel	%r8d, %edi
LBB0_12:                                ##   in Loop: Header=BB0_13 Depth=1
	movl	%ebx, (%rax,%rdx,8)
	movl	%edi, 4(%rax,%rdx,8)
	incq	%rdx
	cmpq	%r13, %rdx
	je	LBB0_20
LBB0_13:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_18 Depth 2
	testl	%edi, %edi
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	%edi, %ecx
	addl	-128(%rbp,%rcx,4), %ebx
	cmpl	$16, %edi
	jg	LBB0_12
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_13 Depth=1
	movl	%edx, %ebx
LBB0_16:                                ##   in Loop: Header=BB0_13 Depth=1
	movl	$-2, %edi
	testl	%ebx, %ebx
	je	LBB0_11
## %bb.17:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	%ebx, %ecx
	movl	%ebx, %esi
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_13 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	incl	%edi
	sarl	%esi
	cmpl	$1, %ecx
	movl	%esi, %ecx
	ja	LBB0_18
	jmp	LBB0_11
LBB0_19:
	movl	(%rax), %eax
	jmp	LBB0_32
LBB0_20:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 56(%r14)
	movups	%xmm0, 40(%r14)
	movl	$1, 20(%r14)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 12(%r14)
	leaq	36(%r14), %rdi
	movl	$8, %esi
	movl	$8, %edx
	callq	_lzx_huffman_init
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_31
## %bb.21:
	leaq	32(%r14), %rdi
	movl	$20, %esi
	movl	$10, %edx
	callq	_lzx_huffman_init
	cmpq	(%r15), %rax
	jne	LBB0_31
## %bb.22:
	leaq	28(%r14), %rdi
	leal	256(,%r13,8), %esi
	movl	$16, %edx
	callq	_lzx_huffman_init
	cmpq	(%r15), %rax
	jne	LBB0_31
## %bb.23:
	leaq	24(%r14), %rdi
	movl	$249, %esi
	movl	$16, %edx
	callq	_lzx_huffman_init
	cmpq	(%r15), %rax
	jne	LBB0_31
## %bb.24:
	movl	$0, (%r14)
	jmp	LBB0_32
LBB0_31:
	movl	(%r12), %eax
	jmp	LBB0_32
LBB0_26:
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_32:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_34
## %bb.33:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_34:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.comm	_ARCHIVE_FAILED,4,2             ## @ARCHIVE_FAILED
	.comm	_SLOT_BASE,4,2                  ## @SLOT_BASE
	.comm	_SLOT_MAX,4,2                   ## @SLOT_MAX
	.comm	_slots,8,3                      ## @slots
	.comm	_ARCHIVE_OK,8,3                 ## @ARCHIVE_OK
	.no_dead_strip	_lzx_decode_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function lzx_decode_init
lCPI0_0:
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	4                               ; 0x4
	.long	8                               ; 0x8
lCPI0_1:
	.long	16                              ; 0x10
	.long	32                              ; 0x20
	.long	64                              ; 0x40
	.long	128                             ; 0x80
lCPI0_2:
	.long	256                             ; 0x100
	.long	512                             ; 0x200
	.long	1024                            ; 0x400
	.long	2048                            ; 0x800
lCPI0_3:
	.long	4096                            ; 0x1000
	.long	8192                            ; 0x2000
	.long	16384                           ; 0x4000
	.long	32768                           ; 0x8000
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
lCPI0_4:
	.long	65536                           ; 0x10000
	.long	131072                          ; 0x20000
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_lzx_decode_init:                       ; @lzx_decode_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	ldr	x19, [x0]
	cbnz	x19, LBB0_2
; %bb.1:
	mov	x21, x0
	mov	w0, #1
	mov	w1, #88
	bl	_calloc
	mov	x19, x0
	str	x0, [x21]
	cbz	x0, LBB0_25
LBB0_2:
Lloh3:
	adrp	x9, _ARCHIVE_FAILED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ARCHIVE_FAILED@GOTPAGEOFF]
	ldr	w8, [x9]
	str	w8, [x19]
Lloh5:
	adrp	x8, _SLOT_BASE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SLOT_BASE@GOTPAGEOFF]
	ldr	w10, [x8]
Lloh7:
	adrp	x11, _SLOT_MAX@GOTPAGE
Lloh8:
	ldr	x11, [x11, _SLOT_MAX@GOTPAGEOFF]
Lloh9:
	ldr	w11, [x11]
	cmp	w10, w20
	ccmp	w11, w20, #8, le
	b.ge	LBB0_4
; %bb.3:
	ldr	w0, [x9]
	b	LBB0_26
LBB0_4:
Lloh10:
	adrp	x21, _ARCHIVE_FATAL@GOTPAGE
Lloh11:
	ldr	x21, [x21, _ARCHIVE_FATAL@GOTPAGEOFF]
	ldr	w9, [x21]
	str	w9, [x19]
Lloh12:
	adrp	x10, _slots@GOTPAGE
Lloh13:
	ldr	x10, [x10, _slots@GOTPAGEOFF]
	ldr	w9, [x19, #4]
Lloh14:
	ldr	x10, [x10]
	ldr	w8, [x8]
	sub	w8, w20, w8
	ldr	w22, [x10, w8, sxtw #2]
	mov	w8, #1
	lsl	w8, w8, w20
	sub	w10, w8, #1
	stp	w8, w10, [x19, #4]
	ldr	x0, [x19, #80]
	cbz	x0, LBB0_6
; %bb.5:
	cmp	w9, w8
	b.eq	LBB0_9
LBB0_6:
	bl	_free
	ldr	w0, [x19, #4]
	bl	_malloc
	str	x0, [x19, #80]
	cbz	x0, LBB0_24
; %bb.7:
	ldr	x0, [x19, #72]
	bl	_free
	lsl	w0, w22, #3
	bl	_malloc
	str	x0, [x19, #72]
	cbz	x0, LBB0_24
; %bb.8:
	add	x0, x19, #28
	bl	_lzx_huffman_free
LBB0_9:
Lloh15:
	adrp	x8, lCPI0_0@PAGE
Lloh16:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
Lloh17:
	adrp	x8, lCPI0_1@PAGE
Lloh18:
	ldr	q1, [x8, lCPI0_1@PAGEOFF]
	stp	q0, q1, [sp]
Lloh19:
	adrp	x8, lCPI0_2@PAGE
Lloh20:
	ldr	q0, [x8, lCPI0_2@PAGEOFF]
Lloh21:
	adrp	x8, lCPI0_3@PAGE
Lloh22:
	ldr	q1, [x8, lCPI0_3@PAGEOFF]
	stp	q0, q1, [sp, #32]
Lloh23:
	adrp	x8, lCPI0_4@PAGE
Lloh24:
	ldr	d0, [x8, lCPI0_4@PAGEOFF]
	str	d0, [sp, #64]
	cmp	w22, #1
	b.lt	LBB0_19
; %bb.10:
	mov	x8, #0
	mov	w12, #0
	mov	w10, #0
	ldr	x9, [x19, #72]
	mov	x11, sp
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	cmp	w12, #0
	csel	w12, w12, wzr, gt
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x13, x9, x8, lsl #3
	stp	w10, w12, [x13]
	add	x8, x8, #1
	cmp	x8, x22
	b.eq	LBB0_19
LBB0_13:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_18 Depth 2
	cbz	w12, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w13, [x11, w12, uxtw #2]
	add	w10, w13, w10
	cmp	w12, #16
	b.gt	LBB0_12
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	w12, #-2
	cbnz	w10, LBB0_17
	b	LBB0_11
LBB0_16:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	x10, x8
	mov	w12, #-2
	cbz	w10, LBB0_11
LBB0_17:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	x13, x10
LBB0_18:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w12, w12, #1
	asr	w14, w13, #1
	cmp	w13, #1
	mov	x13, x14
	b.hi	LBB0_18
	b	LBB0_11
LBB0_19:
	movi.2d	v0, #0000000000000000
	stur	q0, [x19, #56]
	stur	q0, [x19, #40]
	mov	w8, #1
	str	w8, [x19, #20]
	movi.2s	v0, #1
	stur	d0, [x19, #12]
	add	x0, x19, #36
	mov	w1, #8
	mov	w2, #8
	bl	_lzx_huffman_init
Lloh25:
	adrp	x20, _ARCHIVE_OK@GOTPAGE
Lloh26:
	ldr	x20, [x20, _ARCHIVE_OK@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_24
; %bb.20:
	add	x0, x19, #32
	mov	w1, #20
	mov	w2, #10
	bl	_lzx_huffman_init
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_24
; %bb.21:
	add	x0, x19, #28
	lsl	w8, w22, #3
	add	w1, w8, #256
	mov	w2, #16
	bl	_lzx_huffman_init
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_24
; %bb.22:
	add	x0, x19, #24
	mov	w1, #249
	mov	w2, #16
	bl	_lzx_huffman_init
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_24
; %bb.23:
	str	wzr, [x19]
	b	LBB0_26
LBB0_24:
	ldr	w0, [x21]
	b	LBB0_26
LBB0_25:
Lloh27:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
LBB0_26:
	ldur	x8, [x29, #-40]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_28
; %bb.27:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_28:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdr	Lloh23, Lloh24
	.loh AdrpAdrp	Lloh21, Lloh23
	.loh AdrpLdr	Lloh21, Lloh22
	.loh AdrpAdrp	Lloh19, Lloh21
	.loh AdrpLdr	Lloh19, Lloh20
	.loh AdrpAdrp	Lloh17, Lloh19
	.loh AdrpLdr	Lloh17, Lloh18
	.loh AdrpAdrp	Lloh15, Lloh17
	.loh AdrpLdr	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.comm	_ARCHIVE_FAILED,4,2             ; @ARCHIVE_FAILED
	.comm	_SLOT_BASE,4,2                  ; @SLOT_BASE
	.comm	_SLOT_MAX,4,2                   ; @SLOT_MAX
	.comm	_slots,8,3                      ; @slots
	.comm	_ARCHIVE_OK,8,3                 ; @ARCHIVE_OK
	.no_dead_strip	_lzx_decode_init
.subsections_via_symbols
