	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stream_encoder_mt_init
_stream_encoder_mt_init:                ## @stream_encoder_mt_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
	subq	$40, %rsp
	.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
	leaq	_stream_encoder_mt_init(%rip), %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	_lzma_next_coder_init
	leaq	-76(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	leaq	-72(%rbp), %rcx
	leaq	-64(%rbp), %r8
	movq	%r14, %rdi
	callq	_get_options
	movl	%eax, %edi
	callq	_return_if_error
	movq	-48(%rbp), %rdi
	callq	_lzma_raw_encoder_memusage
	movq	_UINT64_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_LZMA_OPTIONS_ERROR@GOTPCREL(%rip), %rbx
	jmp	LBB0_23
LBB0_2:
	movq	8(%r14), %rdi
	movq	_LZMA_CHECK_ID_MAX@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jae	LBB0_4
## %bb.3:
	movq	_LZMA_PROG_ERROR@GOTPCREL(%rip), %rbx
	jmp	LBB0_23
LBB0_4:
	callq	_lzma_check_is_supported
	testl	%eax, %eax
	je	LBB0_8
## %bb.5:
	movq	24(%r13), %r12
	testq	%r12, %r12
	je	LBB0_9
LBB0_6:
	movq	_SEQ_STREAM_HEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 124(%r12)
	movq	-72(%rbp), %rax
	movq	%rax, 8(%r12)
	movq	_LZMA_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 120(%r12)
	movq	$0, 112(%r12)
	xorl	%edi, %edi
	cmpl	$0, (%r14)
	setg	%dil
	callq	_assert
	movl	(%r12), %eax
	cmpl	(%r14), %eax
	jne	LBB0_14
## %bb.7:
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_threads_stop
	movl	(%r14), %ecx
	jmp	LBB0_16
LBB0_8:
	movq	_LZMA_UNSUPPORTED_CHECK@GOTPCREL(%rip), %rbx
	jmp	LBB0_23
LBB0_9:
	movl	$144, %edi
	movq	%r15, %rsi
	callq	_lzma_alloc
	movq	_LZMA_MEM_ERROR@GOTPCREL(%rip), %rbx
	testq	%rax, %rax
	je	LBB0_23
## %bb.10:
	movq	%rax, %r12
	movq	%rax, 24(%r13)
	leaq	132(%rax), %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_mythread_mutex_init
	testq	%rax, %rax
	jne	LBB0_13
## %bb.11:
	leaq	136(%r12), %rdi
	callq	_mythread_cond_init
	testq	%rax, %rax
	je	LBB0_24
## %bb.12:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_mythread_mutex_destroy
LBB0_13:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_lzma_free
	movq	$0, 24(%r13)
	jmp	LBB0_23
LBB0_14:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_threads_end
	movl	$0, (%r12)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 88(%r12)
	movq	$0, 104(%r12)
	movl	(%r14), %edi
	shll	$2, %edi
	movq	%r15, %rsi
	callq	_lzma_alloc
	movq	%rax, 88(%r12)
	testq	%rax, %rax
	je	LBB0_22
## %bb.15:
	movl	(%r14), %ecx
	movl	%ecx, (%r12)
LBB0_16:
	leaq	84(%r12), %rdi
	movq	-64(%rbp), %rdx
	movq	%r15, %rsi
	callq	_lzma_outq_init
	movl	%eax, %edi
	callq	_return_if_error
	movl	16(%r14), %eax
	movl	%eax, 80(%r12)
	movq	72(%r12), %rsi
	movq	(%rsi), %rax
	movq	_LZMA_VLI_UNKNOWN@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	je	LBB0_19
## %bb.17:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rsi,%r13), %rdi
	movq	%r15, %rsi
	callq	_lzma_free
	movq	72(%r12), %rsi
	movq	16(%rsi,%r13), %rax
	addq	$16, %r13
	cmpq	(%rbx), %rax
	jne	LBB0_18
LBB0_19:
	movq	-48(%rbp), %rdi
	movq	%r15, %rdx
	callq	_lzma_filters_copy
	movl	%eax, %edi
	callq	_return_if_error
	movq	64(%r12), %rdi
	movq	%r15, %rsi
	callq	_lzma_index_end
	movq	%r15, %rdi
	callq	_lzma_index_init
	movq	%rax, 64(%r12)
	testq	%rax, %rax
	je	LBB0_22
## %bb.20:
	leaq	48(%r12), %rdi
	movq	$0, 56(%r12)
	movq	8(%r14), %rax
	movq	%rax, 48(%r12)
	movl	40(%r12), %esi
	callq	_lzma_stream_header_encode
	movl	%eax, %edi
	callq	_return_if_error
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%r12)
	movq	_LZMA_STREAM_HEADER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r12)
	movq	_LZMA_OK@GOTPCREL(%rip), %rbx
	jmp	LBB0_23
LBB0_22:
	movq	_LZMA_MEM_ERROR@GOTPCREL(%rip), %rbx
LBB0_23:
	movl	(%rbx), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	movq	_stream_encode_mt@GOTPCREL(%rip), %rax
	movq	%rax, 16(%r13)
	movq	_stream_encoder_mt_end@GOTPCREL(%rip), %rax
	movq	%rax, 8(%r13)
	movq	_get_progress@GOTPCREL(%rip), %rax
	movq	%rax, (%r13)
	movq	_LZMA_VLI_UNKNOWN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	72(%r12), %rcx
	movq	%rax, (%rcx)
	movq	_LZMA_NEXT_CODER_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 128(%r12)
	movq	$0, 64(%r12)
	movq	%r12, %rdi
	addq	$84, %rdi
	movl	$4, %esi
	callq	_memzero
	movq	$0, 88(%r12)
	movl	$0, (%r12)
	movq	$0, 104(%r12)
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_UINT64_MAX,8,3                 ## @UINT64_MAX
	.comm	_LZMA_OPTIONS_ERROR,4,2         ## @LZMA_OPTIONS_ERROR
	.comm	_LZMA_CHECK_ID_MAX,4,2          ## @LZMA_CHECK_ID_MAX
	.comm	_LZMA_PROG_ERROR,4,2            ## @LZMA_PROG_ERROR
	.comm	_LZMA_UNSUPPORTED_CHECK,4,2     ## @LZMA_UNSUPPORTED_CHECK
	.comm	_LZMA_MEM_ERROR,4,2             ## @LZMA_MEM_ERROR
	.comm	_stream_encode_mt,4,2           ## @stream_encode_mt
	.comm	_stream_encoder_mt_end,4,2      ## @stream_encoder_mt_end
	.comm	_get_progress,4,2               ## @get_progress
	.comm	_LZMA_VLI_UNKNOWN,8,3           ## @LZMA_VLI_UNKNOWN
	.comm	_LZMA_NEXT_CODER_INIT,4,2       ## @LZMA_NEXT_CODER_INIT
	.comm	_SEQ_STREAM_HEADER,4,2          ## @SEQ_STREAM_HEADER
	.comm	_LZMA_OK,4,2                    ## @LZMA_OK
	.comm	_LZMA_STREAM_HEADER_SIZE,4,2    ## @LZMA_STREAM_HEADER_SIZE
	.comm	_SIZE_MAX,8,3                   ## @SIZE_MAX
	.no_dead_strip	_stream_encoder_mt_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_mt_init
_stream_encoder_mt_init:                ; @stream_encoder_mt_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x22, x0
Lloh0:
	adrp	x0, _stream_encoder_mt_init@PAGE
Lloh1:
	add	x0, x0, _stream_encoder_mt_init@PAGEOFF
	mov	x1, x22
	mov	x2, x19
	bl	_lzma_next_coder_init
	add	x1, sp, #28
	add	x2, sp, #16
	add	x3, sp, #8
	mov	x4, sp
	mov	x0, x20
	bl	_get_options
	bl	_return_if_error
	ldr	x0, [sp, #16]
	bl	_lzma_raw_encoder_memusage
Lloh2:
	adrp	x8, _UINT64_MAX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _UINT64_MAX@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _LZMA_OPTIONS_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LZMA_OPTIONS_ERROR@GOTPAGEOFF]
	b	LBB0_22
LBB0_2:
	ldr	x0, [x20, #8]
Lloh7:
	adrp	x8, _LZMA_CHECK_ID_MAX@GOTPAGE
Lloh8:
	ldr	x8, [x8, _LZMA_CHECK_ID_MAX@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w8, w0
	b.hs	LBB0_4
; %bb.3:
Lloh10:
	adrp	x8, _LZMA_PROG_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _LZMA_PROG_ERROR@GOTPAGEOFF]
	b	LBB0_22
LBB0_4:
	bl	_lzma_check_is_supported
	cbz	w0, LBB0_8
; %bb.5:
	ldr	x21, [x22, #24]
	cbz	x21, LBB0_9
LBB0_6:
Lloh12:
	adrp	x8, _SEQ_STREAM_HEADER@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SEQ_STREAM_HEADER@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	x9, [sp, #8]
	str	x9, [x21, #8]
Lloh15:
	adrp	x9, _LZMA_OK@GOTPAGE
Lloh16:
	ldr	x9, [x9, _LZMA_OK@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #120]
	str	xzr, [x21, #112]
	ldr	w8, [x20]
	cmp	w8, #0
	cset	w0, gt
	bl	_assert
	ldr	w8, [x21]
	ldr	w9, [x20]
	mov	x0, x21
	cmp	w8, w9
	b.ne	LBB0_14
; %bb.7:
	mov	w1, #1
	bl	_threads_stop
	ldr	w3, [x20]
	b	LBB0_16
LBB0_8:
Lloh18:
	adrp	x8, _LZMA_UNSUPPORTED_CHECK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _LZMA_UNSUPPORTED_CHECK@GOTPAGEOFF]
	b	LBB0_22
LBB0_9:
	mov	w0, #144
	mov	x1, x19
	bl	_lzma_alloc
	cbz	x0, LBB0_21
; %bb.10:
	mov	x21, x0
	str	x0, [x22, #24]
	add	x23, x0, #132
	mov	x0, x23
	bl	_mythread_mutex_init
	cbnz	x0, LBB0_13
; %bb.11:
	add	x0, x21, #136
	bl	_mythread_cond_init
	cbz	x0, LBB0_23
; %bb.12:
	mov	x0, x23
	bl	_mythread_mutex_destroy
LBB0_13:
	mov	x0, x21
	mov	x1, x19
	bl	_lzma_free
	str	xzr, [x22, #24]
	b	LBB0_21
LBB0_14:
	mov	x1, x19
	bl	_threads_end
	str	wzr, [x21]
	stp	xzr, xzr, [x21, #96]
	str	xzr, [x21, #88]
	ldr	w8, [x20]
	lsl	w0, w8, #2
	mov	x1, x19
	bl	_lzma_alloc
	str	x0, [x21, #88]
	cbz	x0, LBB0_21
; %bb.15:
	ldr	w3, [x20]
	str	w3, [x21]
LBB0_16:
	add	x0, x21, #84
	ldr	x2, [sp]
	mov	x1, x19
	bl	_lzma_outq_init
	bl	_return_if_error
	ldr	w8, [x20, #16]
	str	w8, [x21, #80]
	ldr	x1, [x21, #72]
	ldr	x8, [x1]
Lloh20:
	adrp	x22, _LZMA_VLI_UNKNOWN@GOTPAGE
Lloh21:
	ldr	x22, [x22, _LZMA_VLI_UNKNOWN@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	b.eq	LBB0_19
; %bb.17:
	mov	x23, #0
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	add	x8, x1, x23
	ldr	x0, [x8, #8]
	mov	x1, x19
	bl	_lzma_free
	ldr	x1, [x21, #72]
	add	x8, x1, x23
	ldr	x8, [x8, #16]
	ldr	x9, [x22]
	add	x23, x23, #16
	cmp	x8, x9
	b.ne	LBB0_18
LBB0_19:
	ldr	x0, [sp, #16]
	mov	x2, x19
	bl	_lzma_filters_copy
	bl	_return_if_error
	ldr	x0, [x21, #64]
	mov	x1, x19
	bl	_lzma_index_end
	mov	x0, x19
	bl	_lzma_index_init
	str	x0, [x21, #64]
	cbz	x0, LBB0_21
; %bb.20:
	ldr	x8, [x20, #8]
	stp	x8, xzr, [x21, #48]!
	ldur	w1, [x21, #-8]
	mov	x0, x21
	bl	_lzma_stream_header_encode
	bl	_return_if_error
	stp	xzr, xzr, [x21, #-24]
Lloh22:
	adrp	x8, _LZMA_STREAM_HEADER_SIZE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _LZMA_STREAM_HEADER_SIZE@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	stur	w8, [x21, #-32]
Lloh25:
	adrp	x8, _LZMA_OK@GOTPAGE
Lloh26:
	ldr	x8, [x8, _LZMA_OK@GOTPAGEOFF]
	b	LBB0_22
LBB0_21:
Lloh27:
	adrp	x8, _LZMA_MEM_ERROR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _LZMA_MEM_ERROR@GOTPAGEOFF]
LBB0_22:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_23:
Lloh29:
	adrp	x8, _stream_encode_mt@GOTPAGE
Lloh30:
	ldr	x8, [x8, _stream_encode_mt@GOTPAGEOFF]
	str	x8, [x22, #16]
Lloh31:
	adrp	x8, _stream_encoder_mt_end@GOTPAGE
Lloh32:
	ldr	x8, [x8, _stream_encoder_mt_end@GOTPAGEOFF]
Lloh33:
	adrp	x9, _get_progress@GOTPAGE
Lloh34:
	ldr	x9, [x9, _get_progress@GOTPAGEOFF]
	stp	x9, x8, [x22]
Lloh35:
	adrp	x8, _LZMA_VLI_UNKNOWN@GOTPAGE
Lloh36:
	ldr	x8, [x8, _LZMA_VLI_UNKNOWN@GOTPAGEOFF]
Lloh37:
	ldr	x8, [x8]
	ldr	x9, [x21, #72]
	str	x8, [x9]
Lloh38:
	adrp	x8, _LZMA_NEXT_CODER_INIT@GOTPAGE
Lloh39:
	ldr	x8, [x8, _LZMA_NEXT_CODER_INIT@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	str	w8, [x21, #128]
	str	xzr, [x21, #64]
	add	x0, x21, #84
	mov	w1, #4
	bl	_memzero
	str	xzr, [x21, #88]
	str	wzr, [x21]
	str	xzr, [x21, #104]
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_UINT64_MAX,8,3                 ; @UINT64_MAX
	.comm	_LZMA_OPTIONS_ERROR,4,2         ; @LZMA_OPTIONS_ERROR
	.comm	_LZMA_CHECK_ID_MAX,4,2          ; @LZMA_CHECK_ID_MAX
	.comm	_LZMA_PROG_ERROR,4,2            ; @LZMA_PROG_ERROR
	.comm	_LZMA_UNSUPPORTED_CHECK,4,2     ; @LZMA_UNSUPPORTED_CHECK
	.comm	_LZMA_MEM_ERROR,4,2             ; @LZMA_MEM_ERROR
	.comm	_stream_encode_mt,4,2           ; @stream_encode_mt
	.comm	_stream_encoder_mt_end,4,2      ; @stream_encoder_mt_end
	.comm	_get_progress,4,2               ; @get_progress
	.comm	_LZMA_VLI_UNKNOWN,8,3           ; @LZMA_VLI_UNKNOWN
	.comm	_LZMA_NEXT_CODER_INIT,4,2       ; @LZMA_NEXT_CODER_INIT
	.comm	_SEQ_STREAM_HEADER,4,2          ; @SEQ_STREAM_HEADER
	.comm	_LZMA_OK,4,2                    ; @LZMA_OK
	.comm	_LZMA_STREAM_HEADER_SIZE,4,2    ; @LZMA_STREAM_HEADER_SIZE
	.comm	_SIZE_MAX,8,3                   ; @SIZE_MAX
	.no_dead_strip	_stream_encoder_mt_init
.subsections_via_symbols
