	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function encode_init
_encode_init:                           ## @encode_init
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_mf_position
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_assert
	movq	(%rbx), %rcx
	cmpq	8(%rbx), %rcx
	jne	LBB0_3
## %bb.1:
	movq	16(%rbx), %rdx
	movq	_LZMA_RUN@GOTPCREL(%rip), %rsi
	xorl	%eax, %eax
	cmpq	(%rsi), %rdx
	je	LBB0_5
## %bb.2:
	xorl	%edi, %edi
	cmpq	%rcx, 24(%rbx)
	sete	%dil
	callq	_assert
	movq	16(%rbx), %rax
	movq	_LZMA_FINISH@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_assert
	jmp	LBB0_4
LBB0_3:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_mf_skip
	movq	$0, 40(%rbx)
	leaq	16(%r14), %r15
	movq	24(%r14), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_rc_bit
	movq	8(%r14), %rax
	movl	(%rax), %esi
	movq	32(%rbx), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movl	$8, %edx
	callq	_rc_bittree
LBB0_4:
	movl	$1, (%r14)
	movl	$1, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LZMA_RUN,8,3                   ## @LZMA_RUN
	.comm	_LZMA_FINISH,8,3                ## @LZMA_FINISH
	.no_dead_strip	_encode_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function encode_init
_encode_init:                           ; @encode_init
	.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	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_mf_position
	cmp	x0, #0
	cset	w0, eq
	bl	_assert
	ldp	x8, x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	x9, [x20, #16]
Lloh0:
	adrp	x10, _LZMA_RUN@GOTPAGE
Lloh1:
	ldr	x10, [x10, _LZMA_RUN@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.2:
	mov	w0, #0
	b	LBB0_6
LBB0_3:
	mov	x0, x20
	mov	w1, #1
	bl	_mf_skip
	str	xzr, [x20, #40]
	add	x21, x19, #16
	ldr	x8, [x19, #24]
	ldr	x1, [x8]
	mov	x0, x21
	mov	w2, #0
	bl	_rc_bit
	ldr	x8, [x19, #8]
	ldr	w1, [x8]
	ldr	x8, [x20, #32]
	ldr	w3, [x8]
	mov	x0, x21
	mov	w2, #8
	bl	_rc_bittree
	b	LBB0_5
LBB0_4:
	ldr	x9, [x20, #24]
	cmp	x9, x8
	cset	w0, eq
	bl	_assert
	ldr	x8, [x20, #16]
Lloh3:
	adrp	x9, _LZMA_FINISH@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LZMA_FINISH@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
LBB0_5:
	mov	w0, #1
	str	w0, [x19]
LBB0_6:
	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	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_LZMA_RUN,8,3                   ; @LZMA_RUN
	.comm	_LZMA_FINISH,8,3                ; @LZMA_FINISH
	.no_dead_strip	_encode_init
.subsections_via_symbols
