	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lzma_index_encoder_init        ## -- Begin function lzma_index_encoder_init
	.p2align	4, 0x90
_lzma_index_encoder_init:               ## @lzma_index_encoder_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	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	_lzma_index_encoder_init(%rip), %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_lzma_next_coder_init
	testq	%r14, %r14
	je	LBB0_1
## %bb.2:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	jne	LBB0_6
## %bb.3:
	movl	$4, %edi
	movq	%r15, %rsi
	callq	_lzma_alloc
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %rdi
	movq	_index_encode@GOTPCREL(%rip), %rax
	movq	%rax, 16(%rbx)
	movq	_index_encoder_end@GOTPCREL(%rip), %rax
	movq	%rax, 8(%rbx)
LBB0_6:
	movq	%r14, %rsi
	callq	_index_encoder_reset
	movq	_LZMA_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_1:
	movq	_LZMA_PROG_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	movq	_LZMA_MEM_ERROR@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LZMA_PROG_ERROR,4,2            ## @LZMA_PROG_ERROR
	.comm	_LZMA_MEM_ERROR,4,2             ## @LZMA_MEM_ERROR
	.comm	_index_encode,4,2               ## @index_encode
	.comm	_index_encoder_end,4,2          ## @index_encoder_end
	.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_index_encoder_init        ; -- Begin function lzma_index_encoder_init
	.p2align	2
_lzma_index_encoder_init:               ; @lzma_index_encoder_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	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x0, _lzma_index_encoder_init@PAGE
Lloh1:
	add	x0, x0, _lzma_index_encoder_init@PAGEOFF
	mov	x1, x20
	mov	x2, x21
	bl	_lzma_next_coder_init
	cbz	x19, LBB0_5
; %bb.1:
	ldr	x0, [x20]
	cbnz	x0, LBB0_4
; %bb.2:
	mov	w0, #4
	mov	x1, x21
	bl	_lzma_alloc
	str	x0, [x20]
	cbz	x0, LBB0_6
; %bb.3:
Lloh2:
	adrp	x8, _index_encode@GOTPAGE
Lloh3:
	ldr	x8, [x8, _index_encode@GOTPAGEOFF]
Lloh4:
	adrp	x9, _index_encoder_end@GOTPAGE
Lloh5:
	ldr	x9, [x9, _index_encoder_end@GOTPAGEOFF]
	stp	x9, x8, [x20, #8]
LBB0_4:
	mov	x1, x19
	bl	_index_encoder_reset
Lloh6:
	adrp	x8, _LZMA_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LZMA_OK@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh8:
	adrp	x8, _LZMA_PROG_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LZMA_PROG_ERROR@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh10:
	adrp	x8, _LZMA_MEM_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _LZMA_MEM_ERROR@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_LZMA_PROG_ERROR,4,2            ; @LZMA_PROG_ERROR
	.comm	_LZMA_MEM_ERROR,4,2             ; @LZMA_MEM_ERROR
	.comm	_index_encode,4,2               ; @index_encode
	.comm	_index_encoder_end,4,2          ; @index_encoder_end
	.comm	_LZMA_OK,4,2                    ; @LZMA_OK
.subsections_via_symbols
