	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lzma_lzma_encoder_memusage     ## -- Begin function lzma_lzma_encoder_memusage
	.p2align	4, 0x90
_lzma_lzma_encoder_memusage:            ## @lzma_lzma_encoder_memusage
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_is_options_valid
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	leaq	-20(%rbp), %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_set_lz_options
	movq	%r14, %rdi
	callq	_lzma_lz_encoder_memusage
	movq	%rax, %rcx
	movq	_UINT64_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	4(%rcx), %rax
	cmpq	%rdx, %rcx
	cmoveq	%rdx, %rax
	jmp	LBB0_3
LBB0_1:
	movq	_UINT64_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UINT64_MAX,8,3                 ## @UINT64_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lzma_lzma_encoder_memusage     ; -- Begin function lzma_lzma_encoder_memusage
	.p2align	2
_lzma_lzma_encoder_memusage:            ; @lzma_lzma_encoder_memusage
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_is_options_valid
	cbz	w0, LBB0_2
; %bb.1:
	add	x0, sp, #12
	mov	x1, x19
	bl	_set_lz_options
	add	x0, sp, #12
	bl	_lzma_lz_encoder_memusage
Lloh0:
	adrp	x8, _UINT64_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UINT64_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x9, x0, #4
	cmp	x0, x8
	csel	x0, x8, x9, eq
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _UINT64_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _UINT64_MAX@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_UINT64_MAX,8,3                 ; @UINT64_MAX
.subsections_via_symbols
