	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lzma_block_encoder_init        ## -- Begin function lzma_block_encoder_init
	.p2align	4, 0x90
_lzma_block_encoder_init:               ## @lzma_block_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	leaq	_lzma_block_encoder_init(%rip), %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_lzma_next_coder_init
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	cmpl	$2, (%rbx)
	jl	LBB0_4
## %bb.3:
	movq	_LZMA_OPTIONS_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_4:
	movq	8(%rbx), %rdi
	movq	_LZMA_CHECK_ID_MAX@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jae	LBB0_5
LBB0_1:
	movq	_LZMA_PROG_ERROR@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	_lzma_check_is_supported
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movq	24(%r15), %r12
	testq	%r12, %r12
	jne	LBB0_12
## %bb.8:
	movl	$48, %edi
	movq	%r14, %rsi
	callq	_lzma_alloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.11:
	movq	%rax, %r12
	movq	%rax, 24(%r15)
	movq	_block_encode@GOTPCREL(%rip), %rax
	movq	%rax, 16(%r15)
	movq	_block_encoder_end@GOTPCREL(%rip), %rax
	movq	%rax, 8(%r15)
	movq	_block_encoder_update@GOTPCREL(%rip), %rax
	movq	%rax, (%r15)
	movq	_LZMA_NEXT_CODER_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
LBB0_12:
	movq	_SEQ_CODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r12)
	movq	%rbx, 32(%r12)
	leaq	4(%r12), %rdi
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%r12)
	movq	$0, 24(%r12)
	movq	8(%rbx), %rsi
	callq	_lzma_check_init
	movl	4(%rbx), %edx
	movq	%r12, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_lzma_raw_encoder_init          ## TAILCALL
LBB0_6:
	movq	_LZMA_UNSUPPORTED_CHECK@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_9:
	movq	_LZMA_MEM_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_LZMA_PROG_ERROR,4,2            ## @LZMA_PROG_ERROR
	.comm	_LZMA_OPTIONS_ERROR,4,2         ## @LZMA_OPTIONS_ERROR
	.comm	_LZMA_CHECK_ID_MAX,4,2          ## @LZMA_CHECK_ID_MAX
	.comm	_LZMA_UNSUPPORTED_CHECK,4,2     ## @LZMA_UNSUPPORTED_CHECK
	.comm	_LZMA_MEM_ERROR,4,2             ## @LZMA_MEM_ERROR
	.comm	_block_encode,4,2               ## @block_encode
	.comm	_block_encoder_end,4,2          ## @block_encoder_end
	.comm	_block_encoder_update,4,2       ## @block_encoder_update
	.comm	_LZMA_NEXT_CODER_INIT,4,2       ## @LZMA_NEXT_CODER_INIT
	.comm	_SEQ_CODE,4,2                   ## @SEQ_CODE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lzma_block_encoder_init        ; -- Begin function lzma_block_encoder_init
	.p2align	2
_lzma_block_encoder_init:               ; @lzma_block_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	x20, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x0, _lzma_block_encoder_init@PAGE
Lloh1:
	add	x0, x0, _lzma_block_encoder_init@PAGEOFF
	mov	x1, x21
	mov	x2, x19
	bl	_lzma_next_coder_init
	cbz	x20, LBB0_4
; %bb.1:
	ldr	w8, [x20]
	cmp	w8, #2
	b.lt	LBB0_3
; %bb.2:
Lloh2:
	adrp	x8, _LZMA_OPTIONS_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LZMA_OPTIONS_ERROR@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
	ldr	x0, [x20, #8]
Lloh4:
	adrp	x8, _LZMA_CHECK_ID_MAX@GOTPAGE
Lloh5:
	ldr	x8, [x8, _LZMA_CHECK_ID_MAX@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmp	w8, w0
	b.hs	LBB0_6
LBB0_4:
Lloh7:
	adrp	x8, _LZMA_PROG_ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _LZMA_PROG_ERROR@GOTPAGEOFF]
LBB0_5:
	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
LBB0_6:
	bl	_lzma_check_is_supported
	cbz	w0, LBB0_11
; %bb.7:
	ldr	x22, [x21, #24]
	cbnz	x22, LBB0_10
; %bb.8:
	mov	w0, #48
	mov	x1, x19
	bl	_lzma_alloc
	cbz	x0, LBB0_12
; %bb.9:
	mov	x22, x0
Lloh9:
	adrp	x8, _block_encode@GOTPAGE
Lloh10:
	ldr	x8, [x8, _block_encode@GOTPAGEOFF]
	stp	x8, x0, [x21, #16]
Lloh11:
	adrp	x8, _block_encoder_end@GOTPAGE
Lloh12:
	ldr	x8, [x8, _block_encoder_end@GOTPAGEOFF]
Lloh13:
	adrp	x9, _block_encoder_update@GOTPAGE
Lloh14:
	ldr	x9, [x9, _block_encoder_update@GOTPAGEOFF]
	stp	x9, x8, [x21]
Lloh15:
	adrp	x8, _LZMA_NEXT_CODER_INIT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _LZMA_NEXT_CODER_INIT@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x0]
LBB0_10:
Lloh18:
	adrp	x8, _SEQ_CODE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SEQ_CODE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [x22, #40]
	add	x0, x22, #4
	stp	xzr, x20, [x22, #24]
	stp	xzr, xzr, [x22, #8]
	ldr	x1, [x20, #8]
	bl	_lzma_check_init
	ldr	w2, [x20, #4]
	mov	x0, x22
	mov	x1, x19
	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
	b	_lzma_raw_encoder_init
LBB0_11:
Lloh21:
	adrp	x8, _LZMA_UNSUPPORTED_CHECK@GOTPAGE
Lloh22:
	ldr	x8, [x8, _LZMA_UNSUPPORTED_CHECK@GOTPAGEOFF]
	b	LBB0_5
LBB0_12:
Lloh23:
	adrp	x8, _LZMA_MEM_ERROR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _LZMA_MEM_ERROR@GOTPAGEOFF]
	b	LBB0_5
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_LZMA_PROG_ERROR,4,2            ; @LZMA_PROG_ERROR
	.comm	_LZMA_OPTIONS_ERROR,4,2         ; @LZMA_OPTIONS_ERROR
	.comm	_LZMA_CHECK_ID_MAX,4,2          ; @LZMA_CHECK_ID_MAX
	.comm	_LZMA_UNSUPPORTED_CHECK,4,2     ; @LZMA_UNSUPPORTED_CHECK
	.comm	_LZMA_MEM_ERROR,4,2             ; @LZMA_MEM_ERROR
	.comm	_block_encode,4,2               ; @block_encode
	.comm	_block_encoder_end,4,2          ; @block_encoder_end
	.comm	_block_encoder_update,4,2       ; @block_encoder_update
	.comm	_LZMA_NEXT_CODER_INIT,4,2       ; @LZMA_NEXT_CODER_INIT
	.comm	_SEQ_CODE,4,2                   ; @SEQ_CODE
.subsections_via_symbols
