	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LzmaDecodeProperties           ## -- Begin function LzmaDecodeProperties
	.p2align	4, 0x90
_LzmaDecodeProperties:                  ## @LzmaDecodeProperties
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_LZMA_PROPERTIES_SIZE@GOTPCREL(%rip), %rax
	movq	_LZMA_RESULT_DATA_ERROR@GOTPCREL(%rip), %rcx
	cmpl	%edx, (%rax)
	jg	LBB0_9
## %bb.1:
	movb	(%rsi), %al
	cmpb	$-32, %al
	ja	LBB0_9
## %bb.2:
	cmpb	$45, %al
	jb	LBB0_3
## %bb.4:
	addb	$-45, %al
	movzbl	%al, %eax
	imull	$109, %eax, %ecx
	shrl	$8, %ecx
	movl	%eax, %edx
	subb	%cl, %dl
	shrb	%dl
	addb	%cl, %dl
	shrb	$5, %dl
	movzbl	%dl, %ecx
	leal	(%rcx,%rcx,8), %edx
	leal	(%rdx,%rdx,4), %edx
	subb	%dl, %al
	incb	%cl
	movzbl	%cl, %ecx
	jmp	LBB0_5
LBB0_3:
	xorl	%ecx, %ecx
LBB0_5:
	movq	%rcx, 16(%rdi)
	cmpb	$9, %al
	jb	LBB0_6
## %bb.7:
	addb	$-9, %al
	movzbl	%al, %eax
	imull	$57, %eax, %ecx
	shrl	$9, %ecx
	leal	(%rcx,%rcx,8), %edx
	subb	%dl, %al
	incb	%cl
	movzbl	%cl, %ecx
	jmp	LBB0_8
LBB0_6:
	xorl	%ecx, %ecx
LBB0_8:
	movq	%rcx, 8(%rdi)
	movb	%al, (%rdi)
	movq	_LZMA_RESULT_OK@GOTPCREL(%rip), %rcx
LBB0_9:
	movl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LZMA_PROPERTIES_SIZE,4,2       ## @LZMA_PROPERTIES_SIZE
	.comm	_LZMA_RESULT_DATA_ERROR,4,2     ## @LZMA_RESULT_DATA_ERROR
	.comm	_LZMA_RESULT_OK,4,2             ## @LZMA_RESULT_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LzmaDecodeProperties           ; -- Begin function LzmaDecodeProperties
	.p2align	2
_LzmaDecodeProperties:                  ; @LzmaDecodeProperties
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _LZMA_PROPERTIES_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LZMA_PROPERTIES_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.gt	LBB0_2
; %bb.1:
	ldrb	w8, [x1]
	cmp	w8, #224
	b.ls	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _LZMA_RESULT_DATA_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LZMA_RESULT_DATA_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
LBB0_3:
	subs	w9, w8, #45
	b.lo	LBB0_5
; %bb.4:
	and	w8, w9, #0xff
	mov	w10, #109
	mul	w8, w8, w10
	lsr	w8, w8, #8
	sub	w10, w9, w8
	and	w10, w10, #0xfe
	add	w8, w8, w10, lsr #1
	lsr	w10, w8, #5
	mov	w8, #45
	msub	w8, w10, w8, w9
	add	w9, w10, #1
	b	LBB0_6
LBB0_5:
	mov	x9, #0
LBB0_6:
	sub	w10, w8, #9
	and	w11, w10, #0xff
	mov	w12, #57
	mul	w11, w11, w12
	lsr	w11, w11, #9
	add	w12, w11, w11, lsl #3
	sub	w10, w10, w12
	and	w12, w8, #0xff
	add	w11, w11, #1
	cmp	w12, #9
	csel	w8, w8, w10, lo
	csel	x10, xzr, x11, lo
	stp	x10, x9, [x0, #8]
	strb	w8, [x0]
Lloh6:
	adrp	x8, _LZMA_RESULT_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LZMA_RESULT_OK@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_LZMA_PROPERTIES_SIZE,4,2       ; @LZMA_PROPERTIES_SIZE
	.comm	_LZMA_RESULT_DATA_ERROR,4,2     ; @LZMA_RESULT_DATA_ERROR
	.comm	_LZMA_RESULT_OK,4,2             ; @LZMA_RESULT_OK
.subsections_via_symbols
