	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function LzmaEnc_AllocAndInit
_LzmaEnc_AllocAndInit:                  ## @LzmaEnc_AllocAndInit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rcx, %r8
	movq	%rdi, %r14
	movq	_kDicLogSizeMaxCompress@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testl	%edi, %edi
	jle	LBB0_1
## %bb.2:
	movl	(%r14), %eax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1, %ebx
	shll	%cl, %ebx
	cmpl	%ebx, %eax
	jle	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incl	%ecx
	cmpl	%ecx, %edi
	jne	LBB0_3
## %bb.5:
	movl	%edi, %ecx
	jmp	LBB0_6
LBB0_1:
	xorl	%ecx, %ecx
LBB0_6:
	addl	%ecx, %ecx
	movl	%ecx, 4(%r14)
	movq	_False@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r14)
	movq	_SZ_OK@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movl	%eax, 16(%r14)
	movq	%r14, %rdi
	movq	%r8, %rcx
	callq	_LzmaEnc_Alloc
	movl	%eax, %edi
	callq	_RINOK
	movq	%r14, %rdi
	callq	_LzmaEnc_Init
	movq	%r14, %rdi
	callq	_LzmaEnc_InitPrices
	movq	$0, 8(%r14)
	movl	(%rbx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_kDicLogSizeMaxCompress,8,3     ## @kDicLogSizeMaxCompress
	.comm	_False,4,2                      ## @False
	.comm	_SZ_OK,4,2                      ## @SZ_OK
	.no_dead_strip	_LzmaEnc_AllocAndInit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function LzmaEnc_AllocAndInit
_LzmaEnc_AllocAndInit:                  ; @LzmaEnc_AllocAndInit
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _kDicLogSizeMaxCompress@GOTPAGE
Lloh1:
	ldr	x8, [x8, _kDicLogSizeMaxCompress@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_5
; %bb.1:
	mov	w8, #0
	ldr	w10, [x19]
	mov	w11, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	w12, w11, w8
	cmp	w10, w12
	b.le	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w8, w8, #1
	cmp	w9, w8
	b.ne	LBB0_2
; %bb.4:
	mov	x8, x9
	b	LBB0_6
LBB0_5:
	mov	w8, #0
LBB0_6:
	lsl	w8, w8, #1
	str	w8, [x19, #4]
Lloh3:
	adrp	x8, _False@GOTPAGE
Lloh4:
	ldr	x8, [x8, _False@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x20, _SZ_OK@GOTPAGE
Lloh7:
	ldr	x20, [x20, _SZ_OK@GOTPAGEOFF]
	ldr	w9, [x20]
	stp	w9, w8, [x19, #16]
	mov	x0, x19
	bl	_LzmaEnc_Alloc
	bl	_RINOK
	mov	x0, x19
	bl	_LzmaEnc_Init
	mov	x0, x19
	bl	_LzmaEnc_InitPrices
	str	xzr, [x19, #8]
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_kDicLogSizeMaxCompress,8,3     ; @kDicLogSizeMaxCompress
	.comm	_False,4,2                      ; @False
	.comm	_SZ_OK,4,2                      ; @SZ_OK
	.no_dead_strip	_LzmaEnc_AllocAndInit
.subsections_via_symbols
