	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function XzEnc_Construct
_XzEnc_Construct:                       ## @XzEnc_Construct
	.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	%rdi, %r15
	addq	$32, %rdi
	callq	_XzEncIndex_Construct
	movq	_MTCODER__THREADS_MAX@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	je	LBB0_3
## %bb.1:
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r15), %rdi
	addq	%r12, %rdi
	callq	_Lzma2WithFilters_Construct
	incq	%rbx
	movl	(%r14), %eax
	addq	$4, %r12
	cmpq	%rax, %rbx
	jb	LBB0_2
LBB0_3:
	movq	_False@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
	movq	_MTCODER__BLOCKS_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testq	%rdx, %rdx
	je	LBB0_10
## %bb.4:
	leaq	-1(%rdx), %rcx
	movl	%edx, %eax
	andl	$3, %eax
	cmpq	$3, %rcx
	jae	LBB0_6
## %bb.5:
	xorl	%ecx, %ecx
	jmp	LBB0_8
LBB0_6:
	andl	$-4, %edx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rsi
	movq	$0, (%rsi,%rcx,8)
	movq	8(%r15), %rsi
	movq	$0, 8(%rsi,%rcx,8)
	movq	8(%r15), %rsi
	movq	$0, 16(%rsi,%rcx,8)
	movq	8(%r15), %rsi
	movq	$0, 24(%rsi,%rcx,8)
	addq	$4, %rcx
	cmpq	%rcx, %rdx
	jne	LBB0_7
LBB0_8:
	testq	%rax, %rax
	je	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rdx
	movq	$0, (%rdx,%rcx,8)
	incq	%rcx
	decq	%rax
	jne	LBB0_9
LBB0_10:
	movq	$0, (%r15)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MTCODER__THREADS_MAX,4,2       ## @MTCODER__THREADS_MAX
	.comm	_False,4,2                      ## @False
	.comm	_MTCODER__BLOCKS_MAX,4,2        ## @MTCODER__BLOCKS_MAX
	.no_dead_strip	_XzEnc_Construct
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function XzEnc_Construct
_XzEnc_Construct:                       ; @XzEnc_Construct
	.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, x0
	add	x0, x0, #32
	bl	_XzEncIndex_Construct
Lloh0:
	adrp	x20, _MTCODER__THREADS_MAX@GOTPAGE
Lloh1:
	ldr	x20, [x20, _MTCODER__THREADS_MAX@GOTPAGEOFF]
	ldr	w8, [x20]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x21, #0
	mov	x22, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	add	x0, x8, x21
	bl	_Lzma2WithFilters_Construct
	add	x22, x22, #1
	ldr	w8, [x20]
	add	x21, x21, #4
	cmp	x22, x8
	b.lo	LBB0_2
LBB0_3:
Lloh2:
	adrp	x8, _False@GOTPAGE
Lloh3:
	ldr	x8, [x8, _False@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19, #16]
Lloh5:
	adrp	x8, _MTCODER__BLOCKS_MAX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MTCODER__BLOCKS_MAX@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x8]
	cbz	w9, LBB0_6
; %bb.4:
	mov	x8, #0
	lsl	x9, x9, #3
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x19, #8]
	str	xzr, [x10, x8]
	add	x8, x8, #8
	cmp	x9, x8
	b.ne	LBB0_5
LBB0_6:
	str	xzr, [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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MTCODER__THREADS_MAX,4,2       ; @MTCODER__THREADS_MAX
	.comm	_False,4,2                      ; @False
	.comm	_MTCODER__BLOCKS_MAX,4,2        ; @MTCODER__BLOCKS_MAX
	.no_dead_strip	_XzEnc_Construct
.subsections_via_symbols
