	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function auto_decoder_memconfig
_auto_decoder_memconfig:                ## @auto_decoder_memconfig
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %rbx
	movq	%rdi, %r15
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	16(%r15), %edi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	callq	*%rax
	movq	%rax, %r12
	movq	(%rbx), %rax
	xorl	%edi, %edi
	cmpq	(%r15), %rax
	sete	%dil
	callq	_assert
	movq	_LZMA_OK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_5:
	testq	%r14, %r14
	je	LBB0_9
## %bb.6:
	cmpq	%rax, %r12
	jne	LBB0_9
## %bb.7:
	movq	%r14, (%r15)
	jmp	LBB0_8
LBB0_2:
	movq	_LZMA_MEMUSAGE_BASE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rsi)
	movq	(%r15), %rax
	movq	%rax, (%rbx)
	movq	_LZMA_OK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%r14, %r14
	je	LBB0_8
## %bb.3:
	movq	%rax, %r12
	cmpq	%r14, (%rsi)
	jle	LBB0_5
## %bb.4:
	movq	_LZMA_MEMLIMIT_ERROR@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r12
	jmp	LBB0_5
LBB0_8:
	movq	%rax, %r12
LBB0_9:
	movq	%r12, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LZMA_MEMUSAGE_BASE,8,3         ## @LZMA_MEMUSAGE_BASE
	.comm	_LZMA_OK,8,3                    ## @LZMA_OK
	.comm	_LZMA_MEMLIMIT_ERROR,8,3        ## @LZMA_MEMLIMIT_ERROR
	.no_dead_strip	_auto_decoder_memconfig
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function auto_decoder_memconfig
_auto_decoder_memconfig:                ; @auto_decoder_memconfig
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x3
	mov	x22, x2
	mov	x20, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x20, #16]
	mov	x2, x22
	mov	x3, x19
	blr	x8
	mov	x21, x0
	ldr	x8, [x22]
	ldr	x9, [x20]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
Lloh0:
	adrp	x8, _LZMA_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LZMA_OK@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbnz	x19, LBB0_4
	b	LBB0_7
LBB0_2:
Lloh3:
	adrp	x8, _LZMA_MEMUSAGE_BASE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LZMA_MEMUSAGE_BASE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [x1]
	ldr	x8, [x20]
	str	x8, [x22]
Lloh6:
	adrp	x8, _LZMA_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LZMA_OK@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cbz	x19, LBB0_6
; %bb.3:
	ldr	x9, [x1]
Lloh9:
	adrp	x10, _LZMA_MEMLIMIT_ERROR@GOTPAGE
Lloh10:
	ldr	x10, [x10, _LZMA_MEMLIMIT_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	cmp	x9, x19
	csel	x21, x10, x8, gt
	cbz	x19, LBB0_7
LBB0_4:
	cmp	x21, x8
	b.ne	LBB0_7
; %bb.5:
	str	x19, [x20]
LBB0_6:
	mov	x21, x8
LBB0_7:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_LZMA_MEMUSAGE_BASE,8,3         ; @LZMA_MEMUSAGE_BASE
	.comm	_LZMA_OK,8,3                    ; @LZMA_OK
	.comm	_LZMA_MEMLIMIT_ERROR,8,3        ; @LZMA_MEMLIMIT_ERROR
	.no_dead_strip	_auto_decoder_memconfig
.subsections_via_symbols
