	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function LzmaEnc_FastPosInit
_LzmaEnc_FastPosInit:                   ## @LzmaEnc_FastPosInit
	.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
	movw	$256, (%rdi)                    ## imm = 0x100
	movq	_kNumLogBits@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	addl	%eax, %eax
	cmpl	$3, %eax
	jb	LBB0_3
## %bb.1:
	movq	%rdi, %r14
	addq	$2, %r14
	movl	$2, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %ecx
	shrl	%ecx
	decb	%cl
	movl	$1, %r15d
                                        ## kill: def $cl killed $cl killed $ecx
	shlq	%cl, %r15
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%r15, %rdx
	callq	_memset
	addq	%r15, %r14
	incl	%ebx
	movl	(%r12), %eax
	addl	%eax, %eax
	cmpl	%eax, %ebx
	jb	LBB0_2
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_kNumLogBits,4,2                ## @kNumLogBits
	.no_dead_strip	_LzmaEnc_FastPosInit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function LzmaEnc_FastPosInit
_LzmaEnc_FastPosInit:                   ; @LzmaEnc_FastPosInit
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	w8, #256
	strh	w8, [x0]
Lloh0:
	adrp	x22, _kNumLogBits@GOTPAGE
Lloh1:
	ldr	x22, [x22, _kNumLogBits@GOTPAGEOFF]
	ldr	w8, [x22]
	lsl	w8, w8, #1
	cmp	w8, #3
	b.lo	LBB0_3
; %bb.1:
	add	x19, x0, #2
	mov	w20, #2
	mov	w23, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsr	w8, w20, #1
	sub	w8, w8, #1
	lsl	x21, x23, x8
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_memset
	add	x19, x19, x21
	add	w20, w20, #1
	ldr	w8, [x22]
	cmp	w20, w8, lsl #1
	b.lo	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_kNumLogBits,4,2                ; @kNumLogBits
	.no_dead_strip	_LzmaEnc_FastPosInit
.subsections_via_symbols
