	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Lzma2Enc_Create                ## -- Begin function Lzma2Enc_Create
	.p2align	4, 0x90
_Lzma2Enc_Create:                       ## @Lzma2Enc_Create
	.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, %r15
	movl	$72, %esi
	callq	_ISzAlloc_Alloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %r12
	addq	$64, %r12
	movq	%r12, %rdi
	callq	_Lzma2EncProps_Init
	movq	%r12, %rdi
	callq	_Lzma2EncProps_Normalize
	movq	$-1, 56(%rbx)
	movq	$0, 48(%rbx)
	movq	%r15, 40(%rbx)
	movq	%r14, 32(%rbx)
	movq	_MTCODER__THREADS_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.3:
	movq	24(%rbx), %rdi
	shlq	$3, %rsi
	callq	___bzero
LBB0_4:
	movq	_False@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_MTCODER__BLOCKS_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testq	%rdx, %rdx
	je	LBB0_11
## %bb.5:
	leaq	-1(%rdx), %rcx
	movl	%edx, %eax
	andl	$3, %eax
	cmpq	$3, %rcx
	jae	LBB0_7
## %bb.6:
	xorl	%ecx, %ecx
	jmp	LBB0_9
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_7:
	andl	$-4, %edx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rsi
	movq	$0, (%rsi,%rcx,8)
	movq	8(%rbx), %rsi
	movq	$0, 8(%rsi,%rcx,8)
	movq	8(%rbx), %rsi
	movq	$0, 16(%rsi,%rcx,8)
	movq	8(%rbx), %rsi
	movq	$0, 24(%rsi,%rcx,8)
	addq	$4, %rcx
	cmpq	%rcx, %rdx
	jne	LBB0_8
LBB0_9:
	testq	%rax, %rax
	je	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rdx
	movq	$0, (%rdx,%rcx,8)
	incq	%rcx
	decq	%rax
	jne	LBB0_10
LBB0_11:
	movq	$0, (%rbx)
LBB0_12:
	movq	%rbx, %rax
	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
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Lzma2Enc_Create                ; -- Begin function Lzma2Enc_Create
	.p2align	2
_Lzma2Enc_Create:                       ; @Lzma2Enc_Create
	.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	x20, x1
	mov	x21, x0
	mov	w1, #72
	bl	_ISzAlloc_Alloc
	mov	x19, x0
	cbz	x0, LBB0_7
; %bb.1:
	add	x22, x19, #64
	mov	x0, x22
	bl	_Lzma2EncProps_Init
	mov	x0, x22
	bl	_Lzma2EncProps_Normalize
	mov	x8, #-1
	stp	xzr, x8, [x19, #48]
	stp	x20, x21, [x19, #32]
Lloh0:
	adrp	x8, _MTCODER__THREADS_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MTCODER__THREADS_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_3
; %bb.2:
	ldr	x0, [x19, #24]
	lsl	x1, x8, #3
	bl	_bzero
LBB0_3:
Lloh3:
	adrp	x8, _False@GOTPAGE
Lloh4:
	ldr	x8, [x8, _False@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #16]
Lloh6:
	adrp	x8, _MTCODER__BLOCKS_MAX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MTCODER__BLOCKS_MAX@GOTPAGEOFF]
Lloh8:
	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]
LBB0_7:
	mov	x0, 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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.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
.subsections_via_symbols
