	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lzma_lzma2_props_encode        ## -- Begin function lzma_lzma2_props_encode
	.p2align	4, 0x90
_lzma_lzma2_props_encode:               ## @lzma_lzma2_props_encode
	.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
	movq	%rsi, %rbx
	movl	(%rdi), %edi
	movq	_LZMA_DICT_SIZE_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_my_max
	decl	%eax
	movl	%eax, %ecx
	sarl	$2, %ecx
	orl	%eax, %ecx
	movl	%ecx, %eax
	sarl	$3, %eax
	orl	%ecx, %eax
	movl	%eax, %ecx
	sarl	$4, %ecx
	orl	%eax, %ecx
	movl	%ecx, %eax
	sarl	$8, %eax
	orl	%ecx, %eax
	movl	%eax, %edi
	sarl	$16, %edi
	orl	%eax, %edi
	movq	_UINT32_MAX@GOTPCREL(%rip), %rcx
	movl	$40, %eax
	cmpl	(%rcx), %edi
	je	LBB0_2
## %bb.1:
	incl	%edi
	callq	_get_dist_slot
	addl	$-24, %eax
LBB0_2:
	movl	%eax, (%rbx)
	movq	_LZMA_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LZMA_DICT_SIZE_MIN,4,2         ## @LZMA_DICT_SIZE_MIN
	.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_encode        ; -- Begin function lzma_lzma2_props_encode
	.p2align	2
_lzma_lzma2_props_encode:               ; @lzma_lzma2_props_encode
	.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, x1
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _LZMA_DICT_SIZE_MIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LZMA_DICT_SIZE_MIN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_my_max
	sub	w8, w0, #1
	orr	w8, w8, w8, asr #2
	orr	w8, w8, w8, asr #3
	orr	w8, w8, w8, asr #4
	orr	w8, w8, w8, asr #8
	orr	w8, w8, w8, asr #16
Lloh3:
	adrp	x9, _UINT32_MAX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _UINT32_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
	mov	w8, #40
	b	LBB0_3
LBB0_2:
	add	w0, w8, #1
	bl	_get_dist_slot
	sub	w8, w0, #24
LBB0_3:
	str	w8, [x19]
Lloh6:
	adrp	x8, _LZMA_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LZMA_OK@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_LZMA_DICT_SIZE_MIN,4,2         ; @LZMA_DICT_SIZE_MIN
	.comm	_UINT32_MAX,4,2                 ; @UINT32_MAX
	.comm	_LZMA_OK,4,2                    ; @LZMA_OK
.subsections_via_symbols
