	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stream_encoder_init
_stream_encoder_init:                   ## @stream_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r13
	leaq	_stream_encoder_init(%rip), %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_lzma_next_coder_init
	testq	%r14, %r14
	je	LBB0_3
## %bb.1:
	movq	24(%r13), %rbx
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.2:
	movq	24(%rbx), %rdi
	jmp	LBB0_6
LBB0_3:
	movq	_LZMA_PROG_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_4:
	movl	$80, %edi
	movq	%r12, %rsi
	callq	_lzma_alloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	%rax, %rbx
	movq	%rax, 24(%r13)
	movq	_stream_encode@GOTPCREL(%rip), %rax
	movq	%rax, 16(%r13)
	movq	_stream_encoder_end@GOTPCREL(%rip), %rax
	movq	%rax, 8(%r13)
	movq	_stream_encoder_update@GOTPCREL(%rip), %rax
	movq	%rax, (%r13)
	movq	_LZMA_VLI_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	72(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	_LZMA_NEXT_CODER_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 64(%rbx)
	movq	%rax, 56(%rbx)
	movq	$0, 24(%rbx)
	xorl	%edi, %edi
LBB0_6:
	movq	_SEQ_STREAM_HEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	movq	$0, 40(%rbx)
	movl	%r15d, 32(%rbx)
	movq	%r12, %rsi
	callq	_lzma_index_end
	movq	%r12, %rdi
	callq	_lzma_index_init
	movq	%rax, 24(%rbx)
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	%r15d, -48(%rbp)
	movl	$0, -44(%rbp)
	movl	16(%rbx), %esi
	leaq	-48(%rbp), %rdi
	callq	_lzma_stream_header_encode
	movl	%eax, %edi
	callq	_return_if_error
	movq	$0, 8(%rbx)
	movq	_LZMA_STREAM_HEADER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	callq	_stream_encoder_update
	jmp	LBB0_10
LBB0_8:
	movq	_LZMA_MEM_ERROR@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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	_stream_encode,4,2              ## @stream_encode
	.comm	_stream_encoder_end,4,2         ## @stream_encoder_end
	.comm	_LZMA_VLI_UNKNOWN,4,2           ## @LZMA_VLI_UNKNOWN
	.comm	_LZMA_NEXT_CODER_INIT,8,3       ## @LZMA_NEXT_CODER_INIT
	.comm	_SEQ_STREAM_HEADER,4,2          ## @SEQ_STREAM_HEADER
	.comm	_LZMA_STREAM_HEADER_SIZE,4,2    ## @LZMA_STREAM_HEADER_SIZE
	.no_dead_strip	_stream_encoder_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stream_encoder_init
_stream_encoder_init:                   ; @stream_encoder_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x3
	mov	x19, x2
	mov	x20, x1
	mov	x23, x0
Lloh0:
	adrp	x0, _stream_encoder_init@PAGE
Lloh1:
	add	x0, x0, _stream_encoder_init@PAGEOFF
	mov	x1, x23
	mov	x2, x20
	bl	_lzma_next_coder_init
	cbz	x19, LBB0_3
; %bb.1:
	ldr	x22, [x23, #24]
	cbz	x22, LBB0_4
; %bb.2:
	ldr	x0, [x22, #24]
	b	LBB0_6
LBB0_3:
Lloh2:
	adrp	x8, _LZMA_PROG_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LZMA_PROG_ERROR@GOTPAGEOFF]
	b	LBB0_9
LBB0_4:
	mov	w0, #80
	mov	x1, x20
	bl	_lzma_alloc
	cbz	x0, LBB0_8
; %bb.5:
	mov	x22, x0
	mov	x0, #0
Lloh4:
	adrp	x8, _stream_encode@GOTPAGE
Lloh5:
	ldr	x8, [x8, _stream_encode@GOTPAGEOFF]
	stp	x8, x22, [x23, #16]
Lloh6:
	adrp	x8, _stream_encoder_end@GOTPAGE
Lloh7:
	ldr	x8, [x8, _stream_encoder_end@GOTPAGEOFF]
Lloh8:
	adrp	x9, _stream_encoder_update@GOTPAGE
Lloh9:
	ldr	x9, [x9, _stream_encoder_update@GOTPAGEOFF]
	stp	x9, x8, [x23]
Lloh10:
	adrp	x8, _LZMA_VLI_UNKNOWN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _LZMA_VLI_UNKNOWN@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	ldr	x9, [x22, #72]
	str	w8, [x9]
Lloh13:
	adrp	x8, _LZMA_NEXT_CODER_INIT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _LZMA_NEXT_CODER_INIT@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	stp	x8, x8, [x22, #56]
	str	xzr, [x22, #24]
LBB0_6:
Lloh16:
	adrp	x8, _SEQ_STREAM_HEADER@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SEQ_STREAM_HEADER@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	str	w8, [x22, #48]
	str	xzr, [x22, #40]
	str	w21, [x22, #32]
	mov	x1, x20
	bl	_lzma_index_end
	mov	x0, x20
	bl	_lzma_index_init
	str	x0, [x22, #24]
	cbz	x0, LBB0_8
; %bb.7:
	stp	w21, wzr, [sp, #8]
	ldr	w1, [x22, #16]
	add	x0, sp, #8
	bl	_lzma_stream_header_encode
	bl	_return_if_error
	str	xzr, [x22, #8]
Lloh19:
	adrp	x8, _LZMA_STREAM_HEADER_SIZE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _LZMA_STREAM_HEADER_SIZE@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	str	w8, [x22]
	mov	x0, x22
	mov	x1, x20
	mov	x2, x19
	mov	x3, #0
	bl	_stream_encoder_update
	b	LBB0_10
LBB0_8:
Lloh22:
	adrp	x8, _LZMA_MEM_ERROR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _LZMA_MEM_ERROR@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_LZMA_PROG_ERROR,4,2            ; @LZMA_PROG_ERROR
	.comm	_LZMA_MEM_ERROR,4,2             ; @LZMA_MEM_ERROR
	.comm	_stream_encode,4,2              ; @stream_encode
	.comm	_stream_encoder_end,4,2         ; @stream_encoder_end
	.comm	_LZMA_VLI_UNKNOWN,4,2           ; @LZMA_VLI_UNKNOWN
	.comm	_LZMA_NEXT_CODER_INIT,8,3       ; @LZMA_NEXT_CODER_INIT
	.comm	_SEQ_STREAM_HEADER,4,2          ; @SEQ_STREAM_HEADER
	.comm	_LZMA_STREAM_HEADER_SIZE,4,2    ; @LZMA_STREAM_HEADER_SIZE
	.no_dead_strip	_stream_encoder_init
.subsections_via_symbols
