	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lz_rd_decode_tree_reversed
_lz_rd_decode_tree_reversed:            ## @lz_rd_decode_tree_reversed
	.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
	movl	%edx, %ebx
	callq	_lz_rd_decode_tree
	testl	%ebx, %ebx
	jle	LBB0_1
## %bb.2:
	leal	-1(%rbx), %ecx
	movl	%ebx, %edx
	andl	$3, %edx
	cmpl	$3, %ecx
	jae	LBB0_7
## %bb.3:
	xorl	%ecx, %ecx
	jmp	LBB0_4
LBB0_1:
	xorl	%ecx, %ecx
	jmp	LBB0_6
LBB0_7:
	andl	$-4, %ebx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %esi
	andl	$1, %esi
	shll	$2, %esi
	leal	(%rsi,%rcx,8), %ecx
	movl	%eax, %esi
	andl	$2, %esi
	orl	%ecx, %esi
	movl	%eax, %ecx
	shrl	$2, %ecx
	andl	$1, %ecx
	orl	%esi, %ecx
	movl	%eax, %esi
	shrl	$3, %esi
	andl	$1, %esi
	leal	(%rsi,%rcx,2), %ecx
	shrl	$4, %eax
	addl	$-4, %ebx
	jne	LBB0_8
LBB0_4:
	testl	%edx, %edx
	je	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %esi
	andl	$1, %esi
	leal	(%rsi,%rcx,2), %ecx
	shrl	%eax
	decl	%edx
	jne	LBB0_5
LBB0_6:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_lz_rd_decode_tree_reversed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lz_rd_decode_tree_reversed
_lz_rd_decode_tree_reversed:            ; @lz_rd_decode_tree_reversed
	.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, x2
	bl	_lz_rd_decode_tree
	cmp	w19, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w8, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsr	w9, w0, #1
	bfi	w0, w8, #1, #31
	mov	x1, x0
	mov	x8, x0
	mov	x0, x9
	subs	w19, w19, #1
	b.ne	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	w1, #0
LBB0_4:
	mov	x0, x1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_lz_rd_decode_tree_reversed
.subsections_via_symbols
