	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LzmaProps_Decode               ## -- Begin function LzmaProps_Decode
	.p2align	4, 0x90
_LzmaProps_Decode:                      ## @LzmaProps_Decode
	.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_PROPS_SIZE@GOTPCREL(%rip), %rcx
	movq	_SZ_ERROR_UNSUPPORTED@GOTPCREL(%rip), %r8
	cmpl	%edx, (%rcx)
	ja	LBB0_3
## %bb.1:
	movl	8(%rsi), %ecx
	movl	12(%rsi), %edx
	shll	$8, %ecx
	orl	4(%rsi), %ecx
	shll	$16, %edx
	movl	16(%rsi), %eax
	shll	$24, %eax
	orl	%edx, %eax
	orl	%ecx, %eax
	movq	_LZMA_DIC_MIN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %eax
	cmovlel	%ecx, %eax
	movl	%eax, (%rdi)
	movl	(%rsi), %edx
	cmpl	$224, %edx
	jg	LBB0_3
## %bb.2:
	movslq	%edx, %r8
	imulq	$954437177, %r8, %rax           ## imm = 0x38E38E39
	movq	%rax, %rsi
	shrq	$63, %rsi
	shrq	$32, %rax
	sarl	%eax
	addl	%esi, %eax
	leal	(%rax,%rax,8), %esi
	movl	%edx, %ecx
	subl	%esi, %ecx
	movl	%ecx, 4(%rdi)
	imulq	$-1240768329, %r8, %rcx         ## imm = 0xB60B60B7
	shrq	$32, %rcx
	addl	%edx, %ecx
	movl	%ecx, %edx
	shrl	$31, %edx
	sarl	$5, %ecx
	addl	%edx, %ecx
	movl	%ecx, 8(%rdi)
	cltq
	imulq	$1717986919, %rax, %rcx         ## imm = 0x66666667
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$33, %rcx
	addl	%edx, %ecx
	leal	(%rcx,%rcx,4), %ecx
	subl	%ecx, %eax
	movl	%eax, 12(%rdi)
	movq	_SZ_OK@GOTPCREL(%rip), %r8
LBB0_3:
	movl	(%r8), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LZMA_PROPS_SIZE,4,2            ## @LZMA_PROPS_SIZE
	.comm	_SZ_ERROR_UNSUPPORTED,4,2       ## @SZ_ERROR_UNSUPPORTED
	.comm	_LZMA_DIC_MIN,4,2               ## @LZMA_DIC_MIN
	.comm	_SZ_OK,4,2                      ## @SZ_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LzmaProps_Decode               ; -- Begin function LzmaProps_Decode
	.p2align	2
_LzmaProps_Decode:                      ; @LzmaProps_Decode
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _LZMA_PROPS_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LZMA_PROPS_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.hi	LBB0_2
; %bb.1:
	ldp	w8, w9, [x1, #4]
	orr	w8, w8, w9, lsl #8
	ldp	w9, w10, [x1, #12]
	orr	w8, w8, w9, lsl #16
	orr	w8, w8, w10, lsl #24
Lloh3:
	adrp	x9, _LZMA_DIC_MIN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LZMA_DIC_MIN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	csel	w8, w8, w9, gt
	str	w8, [x0]
	ldr	w8, [x1]
	cmp	w8, #224
	b.le	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _SZ_ERROR_UNSUPPORTED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SZ_ERROR_UNSUPPORTED@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ret
LBB0_3:
	mov	w9, #36409
	movk	w9, #14563, lsl #16
	smull	x9, w8, w9
	lsr	x10, x9, #32
	lsr	x9, x9, #63
	add	w9, w9, w10, asr #1
	add	w10, w9, w9, lsl #3
	sub	w10, w8, w10
	mov	w11, #24759
	movk	w11, #46603, lsl #16
	smull	x11, w8, w11
	lsr	x11, x11, #32
	add	w8, w11, w8
	asr	w11, w8, #5
	add	w8, w11, w8, lsr #31
	stp	w10, w8, [x0, #4]
	mov	w8, #26215
	movk	w8, #26214, lsl #16
	smull	x8, w9, w8
	lsr	x10, x8, #63
	asr	x8, x8, #33
	add	w8, w8, w10
	add	w8, w8, w8, lsl #2
	sub	w8, w9, w8
	str	w8, [x0, #12]
Lloh9:
	adrp	x8, _SZ_OK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SZ_OK@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_LZMA_PROPS_SIZE,4,2            ; @LZMA_PROPS_SIZE
	.comm	_SZ_ERROR_UNSUPPORTED,4,2       ; @SZ_ERROR_UNSUPPORTED
	.comm	_LZMA_DIC_MIN,4,2               ; @LZMA_DIC_MIN
	.comm	_SZ_OK,4,2                      ; @SZ_OK
.subsections_via_symbols
