	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dec_vli
_dec_vli:                               ## @dec_vli
	.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	%rcx, %r10
	movl	(%rdi), %ecx
	testl	%ecx, %ecx
	jne	LBB0_2
## %bb.1:
	movl	$0, 4(%rdi)
LBB0_2:
	movq	(%rdx), %rax
	movq	_XZ_OK@GOTPCREL(%rip), %r9
	movq	_VLI_BYTES_MAX@GOTPCREL(%rip), %r11
	movq	_XZ_DATA_ERROR@GOTPCREL(%rip), %r8
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r10, %rax
	jae	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rsi,%rax,4), %r14d
	incq	%rax
	movq	%rax, (%rdx)
	movl	%r14d, %ebx
	andl	$127, %ebx
	shll	%cl, %ebx
	orl	%ebx, 4(%rdi)
	testb	$-128, %r14b
	je	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	addl	$7, %ecx
	movl	%ecx, (%rdi)
	movl	(%r11), %r14d
	leal	(,%r14,8), %ebx
	subl	%r14d, %ebx
	cmpl	%ebx, %ecx
	jne	LBB0_3
	jmp	LBB0_10
LBB0_4:
	movq	%r9, %r8
	jmp	LBB0_10
LBB0_6:
	testl	%r14d, %r14d
	jne	LBB0_8
## %bb.7:
	testl	%ecx, %ecx
	jne	LBB0_10
LBB0_8:
	movl	$0, (%rdi)
	movq	_XZ_STREAM_END@GOTPCREL(%rip), %r8
LBB0_10:
	movl	(%r8), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XZ_DATA_ERROR,4,2              ## @XZ_DATA_ERROR
	.comm	_XZ_STREAM_END,4,2              ## @XZ_STREAM_END
	.comm	_VLI_BYTES_MAX,4,2              ## @VLI_BYTES_MAX
	.comm	_XZ_OK,4,2                      ## @XZ_OK
	.no_dead_strip	_dec_vli
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dec_vli
_dec_vli:                               ; @dec_vli
	.cfi_startproc
; %bb.0:
	ldr	w9, [x0]
	cbnz	w9, LBB0_2
; %bb.1:
	str	wzr, [x0, #4]
LBB0_2:
	ldr	x10, [x2]
	cmp	x10, x3
	csel	x11, x10, x3, hi
Lloh0:
	adrp	x8, _XZ_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XZ_OK@GOTPAGEOFF]
Lloh2:
	adrp	x13, _VLI_BYTES_MAX@GOTPAGE
Lloh3:
	ldr	x13, [x13, _VLI_BYTES_MAX@GOTPAGEOFF]
Lloh4:
	adrp	x12, _XZ_DATA_ERROR@GOTPAGE
Lloh5:
	ldr	x12, [x12, _XZ_DATA_ERROR@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x11, x10
	b.eq	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w14, [x1, x10, lsl #2]
	add	x10, x10, #1
	str	x10, [x2]
	and	w15, w14, #0x7f
	lsl	w15, w15, w9
	ldr	w16, [x0, #4]
	orr	w15, w16, w15
	str	w15, [x0, #4]
	tbz	w14, #7, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w9, w9, #7
	str	w9, [x0]
	ldr	w14, [x13]
	lsl	w15, w14, #3
	sub	w14, w15, w14
	cmp	w9, w14
	b.ne	LBB0_3
; %bb.6:
	mov	x8, x12
LBB0_7:
	ldr	w0, [x8]
	ret
LBB0_8:
	cmp	w14, #0
	ccmp	w9, #0, #4, eq
	b.ne	LBB0_10
; %bb.9:
	str	wzr, [x0]
Lloh6:
	adrp	x8, _XZ_STREAM_END@GOTPAGE
Lloh7:
	ldr	x8, [x8, _XZ_STREAM_END@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ret
LBB0_10:
Lloh9:
	adrp	x8, _XZ_DATA_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _XZ_DATA_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_XZ_DATA_ERROR,4,2              ; @XZ_DATA_ERROR
	.comm	_XZ_STREAM_END,4,2              ; @XZ_STREAM_END
	.comm	_VLI_BYTES_MAX,4,2              ; @VLI_BYTES_MAX
	.comm	_XZ_OK,4,2                      ; @XZ_OK
	.no_dead_strip	_dec_vli
.subsections_via_symbols
