	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stream_encoder_mt_end
_stream_encoder_mt_end:                 ## @stream_encoder_mt_end
	.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	%rsi, %r14
	movq	%rdi, %r12
	callq	_threads_end
	leaq	24(%r12), %rdi
	movq	%r14, %rsi
	callq	_lzma_outq_end
	movq	16(%r12), %rax
	movq	(%rax), %rcx
	movq	_LZMA_VLI_UNKNOWN@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rcx
	je	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rax,%rbx), %rdi
	movq	%r14, %rsi
	callq	_lzma_free
	movq	16(%r12), %rax
	movq	16(%rax,%rbx), %rcx
	addq	$16, %rbx
	cmpq	(%r15), %rcx
	jne	LBB0_2
LBB0_3:
	leaq	12(%r12), %rdi
	movq	%r14, %rsi
	callq	_lzma_next_end
	movl	8(%r12), %edi
	movq	%r14, %rsi
	callq	_lzma_index_end
	leaq	4(%r12), %rdi
	callq	_mythread_cond_destroy
	movq	%r12, %rdi
	callq	_mythread_mutex_destroy
	movq	%r12, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_lzma_free                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LZMA_VLI_UNKNOWN,8,3           ## @LZMA_VLI_UNKNOWN
	.no_dead_strip	_stream_encoder_mt_end
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stream_encoder_mt_end
_stream_encoder_mt_end:                 ; @stream_encoder_mt_end
	.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, x1
	mov	x20, x0
	bl	_threads_end
	add	x0, x20, #24
	mov	x1, x19
	bl	_lzma_outq_end
	ldr	x8, [x20, #16]
	ldr	x9, [x8]
Lloh0:
	adrp	x21, _LZMA_VLI_UNKNOWN@GOTPAGE
Lloh1:
	ldr	x21, [x21, _LZMA_VLI_UNKNOWN@GOTPAGEOFF]
	ldr	x10, [x21]
	cmp	x9, x10
	b.eq	LBB0_3
; %bb.1:
	mov	x22, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x8, x22
	ldr	x0, [x8, #8]
	mov	x1, x19
	bl	_lzma_free
	ldr	x8, [x20, #16]
	add	x9, x8, x22
	ldr	x9, [x9, #16]
	ldr	x10, [x21]
	add	x22, x22, #16
	cmp	x9, x10
	b.ne	LBB0_2
LBB0_3:
	add	x0, x20, #12
	mov	x1, x19
	bl	_lzma_next_end
	ldr	w0, [x20, #8]
	mov	x1, x19
	bl	_lzma_index_end
	add	x0, x20, #4
	bl	_mythread_cond_destroy
	mov	x0, x20
	bl	_mythread_mutex_destroy
	mov	x0, x20
	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_free
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_LZMA_VLI_UNKNOWN,8,3           ; @LZMA_VLI_UNKNOWN
	.no_dead_strip	_stream_encoder_mt_end
.subsections_via_symbols
