	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lzma_lzma2_props_decode        ## -- Begin function lzma_lzma2_props_decode
	.p2align	4, 0x90
_lzma_lzma2_props_decode:               ## @lzma_lzma2_props_decode
	.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	_LZMA_OPTIONS_ERROR@GOTPCREL(%rip), %rax
	cmpq	$1, %rcx
	jne	LBB0_9
## %bb.1:
	movq	%rdx, %rbx
	movl	(%rdx), %ecx
	cmpl	$40, %ecx
	jg	LBB0_9
## %bb.2:
	andl	$192, %ecx
	jne	LBB0_9
## %bb.3:
	movq	%rdi, %r14
	movl	$24, %edi
	callq	_lzma_alloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movl	(%rbx), %edx
	cmpl	$40, %edx
	jne	LBB0_7
## %bb.6:
	movq	_UINT32_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	jmp	LBB0_8
LBB0_4:
	movq	_LZMA_MEM_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	andl	$1, %edx
	orl	$2, %edx
	movl	%edx, (%rax)
	movl	(%rbx), %esi
	movl	%esi, %ecx
	shrl	$31, %ecx
	addl	%esi, %ecx
	shrl	%ecx
	addb	$11, %cl
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	movl	%edx, (%rax)
LBB0_8:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rax)
	movq	%rax, (%r14)
	movq	_LZMA_OK@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LZMA_OPTIONS_ERROR,4,2         ## @LZMA_OPTIONS_ERROR
	.comm	_LZMA_MEM_ERROR,4,2             ## @LZMA_MEM_ERROR
	.comm	_UINT32_MAX,4,2                 ## @UINT32_MAX
	.comm	_LZMA_OK,4,2                    ## @LZMA_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lzma_lzma2_props_decode        ; -- Begin function lzma_lzma2_props_decode
	.p2align	2
_lzma_lzma2_props_decode:               ; @lzma_lzma2_props_decode
	.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
	cmp	x3, #1
	b.ne	LBB0_2
; %bb.1:
	mov	x20, x2
	ldr	w8, [x2]
	and	w9, w8, #0xc0
	cmp	w8, #40
	ccmp	w9, #0, #0, le
	b.eq	LBB0_4
LBB0_2:
Lloh0:
	adrp	x8, _LZMA_OPTIONS_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LZMA_OPTIONS_ERROR@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x19, x0
	mov	w0, #24
	bl	_lzma_alloc
	cbz	x0, LBB0_7
; %bb.5:
	ldr	w8, [x20]
	cmp	w8, #40
	b.ne	LBB0_8
; %bb.6:
Lloh2:
	adrp	x8, _UINT32_MAX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _UINT32_MAX@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	b	LBB0_9
LBB0_7:
Lloh5:
	adrp	x8, _LZMA_MEM_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LZMA_MEM_ERROR@GOTPAGEOFF]
	b	LBB0_3
LBB0_8:
	mov	w9, #2
	bfxil	w9, w8, #0, #1
	str	w9, [x0]
	ldr	w8, [x20]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	add	w8, w8, #11
	lsl	w8, w9, w8
LBB0_9:
	str	w8, [x0]
	stp	xzr, xzr, [x0, #8]
	str	x0, [x19]
Lloh7:
	adrp	x8, _LZMA_OK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _LZMA_OK@GOTPAGEOFF]
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_LZMA_OPTIONS_ERROR,4,2         ; @LZMA_OPTIONS_ERROR
	.comm	_LZMA_MEM_ERROR,4,2             ; @LZMA_MEM_ERROR
	.comm	_UINT32_MAX,4,2                 ; @UINT32_MAX
	.comm	_LZMA_OK,4,2                    ; @LZMA_OK
.subsections_via_symbols
