	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stream_encoder_update
_stream_encoder_update:                 ## @stream_encoder_update
	.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
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	(%rdi), %rax
	movq	_SEQ_BLOCK_INIT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jle	LBB0_1
## %bb.3:
	movq	_SEQ_BLOCK_ENCODE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jle	LBB0_4
## %bb.9:
	movq	_LZMA_PROG_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_10
LBB0_1:
	movl	$0, 8(%r13)
	movq	%r14, 40(%r13)
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_block_encoder_init
	movq	16(%r13), %rsi
	movq	%rsi, 40(%r13)
	movq	_LZMA_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.2:
	movl	$1, 8(%r13)
	jmp	LBB0_5
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	24(%r13), %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	*32(%r13)
	movl	%eax, %edi
	callq	_return_if_error
	movq	16(%r13), %rsi
LBB0_5:
	addq	$16, %r13
	movq	(%rsi), %rax
	movq	_LZMA_VLI_UNKNOWN@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	je	LBB0_8
## %bb.6:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%rsi,%rbx), %edi
	movq	%r15, %rsi
	callq	_lzma_free
	movq	(%r13), %rsi
	movq	16(%rsi,%rbx), %rax
	addq	$16, %rbx
	cmpq	(%r12), %rax
	jne	LBB0_7
LBB0_8:
	movq	%r14, %rdi
	movq	%r15, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_lzma_filters_copy              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SEQ_BLOCK_INIT,8,3             ## @SEQ_BLOCK_INIT
	.comm	_LZMA_OK,8,3                    ## @LZMA_OK
	.comm	_SEQ_BLOCK_ENCODE,8,3           ## @SEQ_BLOCK_ENCODE
	.comm	_LZMA_PROG_ERROR,8,3            ## @LZMA_PROG_ERROR
	.comm	_LZMA_VLI_UNKNOWN,8,3           ## @LZMA_VLI_UNKNOWN
	.no_dead_strip	_stream_encoder_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stream_encoder_update
_stream_encoder_update:                 ; @stream_encoder_update
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SEQ_BLOCK_INIT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SEQ_BLOCK_INIT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_3
; %bb.1:
Lloh3:
	adrp	x9, _SEQ_BLOCK_ENCODE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SEQ_BLOCK_ENCODE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_6
; %bb.2:
Lloh6:
	adrp	x8, _LZMA_PROG_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LZMA_PROG_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	x0, [x8]
	b	LBB0_5
LBB0_3:
	str	wzr, [x21, #8]
	str	x20, [x21, #40]
	mov	x0, x21
	mov	x1, x19
	bl	_block_encoder_init
	mov	x22, x21
	ldr	x1, [x22, #16]!
	str	x1, [x21, #40]
Lloh9:
	adrp	x8, _LZMA_OK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LZMA_OK@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.4:
	mov	w8, #1
	str	w8, [x21, #8]
	b	LBB0_7
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldr	x8, [x21, #32]
	ldr	w0, [x21, #24]
	mov	x1, x19
	mov	x2, x20
	blr	x8
	bl	_return_if_error
	ldr	x1, [x21, #16]!
	mov	x22, x21
LBB0_7:
	ldr	x8, [x1]
Lloh12:
	adrp	x21, _LZMA_VLI_UNKNOWN@GOTPAGE
Lloh13:
	ldr	x21, [x21, _LZMA_VLI_UNKNOWN@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	b.eq	LBB0_10
; %bb.8:
	mov	x23, #0
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x1, x23
	ldr	w0, [x8, #8]
	mov	x1, x19
	bl	_lzma_free
	ldr	x1, [x22]
	add	x8, x1, x23
	ldr	x8, [x8, #16]
	ldr	x9, [x21]
	add	x23, x23, #16
	cmp	x8, x9
	b.ne	LBB0_9
LBB0_10:
	mov	x0, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_lzma_filters_copy
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_SEQ_BLOCK_INIT,8,3             ; @SEQ_BLOCK_INIT
	.comm	_LZMA_OK,8,3                    ; @LZMA_OK
	.comm	_SEQ_BLOCK_ENCODE,8,3           ; @SEQ_BLOCK_ENCODE
	.comm	_LZMA_PROG_ERROR,8,3            ; @LZMA_PROG_ERROR
	.comm	_LZMA_VLI_UNKNOWN,8,3           ; @LZMA_VLI_UNKNOWN
	.no_dead_strip	_stream_encoder_update
.subsections_via_symbols
