	.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
	movabsq	$4294967296, %rax               ## imm = 0x100000000
	movq	%rax, (%rdi)
	movq	_kNumLogBits@GOTPCREL(%rip), %r8
	movl	(%r8), %eax
	addl	%eax, %eax
	cmpl	$3, %eax
	jb	LBB0_14
## %bb.1:
	addq	$8, %rdi
	movl	$2, %r10d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rdi,%rsi,4), %rdi
	incl	%r10d
	movl	(%r8), %eax
	addl	%eax, %eax
	cmpl	%eax, %r10d
	jae	LBB0_14
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
                                        ##     Child Loop BB0_11 Depth 2
	movl	%r10d, %ecx
	shrl	%ecx
	decl	%ecx
	movl	$1, %esi
	shlq	%cl, %rsi
	cmpl	$3, %ecx
	jae	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ecx, %ecx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rsi, %rcx
	andq	$-8, %rcx
	movd	%r10d, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	leaq	-8(%rcx), %rdx
	movq	%rdx, %rax
	shrq	$3, %rax
	incq	%rax
	movl	%eax, %r9d
	andl	$7, %r9d
	cmpq	$56, %rdx
	jae	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edx, %edx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	andq	$-8, %rax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	%xmm0, (%rdi,%rdx,4)
	movdqu	%xmm0, 16(%rdi,%rdx,4)
	movdqu	%xmm0, 32(%rdi,%rdx,4)
	movdqu	%xmm0, 48(%rdi,%rdx,4)
	movdqu	%xmm0, 64(%rdi,%rdx,4)
	movdqu	%xmm0, 80(%rdi,%rdx,4)
	movdqu	%xmm0, 96(%rdi,%rdx,4)
	movdqu	%xmm0, 112(%rdi,%rdx,4)
	movdqu	%xmm0, 128(%rdi,%rdx,4)
	movdqu	%xmm0, 144(%rdi,%rdx,4)
	movdqu	%xmm0, 160(%rdi,%rdx,4)
	movdqu	%xmm0, 176(%rdi,%rdx,4)
	movdqu	%xmm0, 192(%rdi,%rdx,4)
	movdqu	%xmm0, 208(%rdi,%rdx,4)
	movdqu	%xmm0, 224(%rdi,%rdx,4)
	movdqu	%xmm0, 240(%rdi,%rdx,4)
	addq	$64, %rdx
	addq	$-8, %rax
	jne	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	testq	%r9, %r9
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rdi,%rdx,4), %rax
	addq	$16, %rax
	shlq	$5, %r9
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	%xmm0, -16(%rax,%rdx)
	movdqu	%xmm0, (%rax,%rdx)
	addq	$32, %rdx
	cmpq	%rdx, %r9
	jne	LBB0_11
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r10d, (%rdi,%rcx,4)
	incq	%rcx
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rcx, %rsi
	jne	LBB0_4
	jmp	LBB0_13
LBB0_14:
	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
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function LzmaEnc_FastPosInit
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_LzmaEnc_FastPosInit:                   ; @LzmaEnc_FastPosInit
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x0]
Lloh2:
	adrp	x8, _kNumLogBits@GOTPAGE
Lloh3:
	ldr	x8, [x8, _kNumLogBits@GOTPAGEOFF]
	ldr	w9, [x8]
	lsl	w9, w9, #1
	cmp	w9, #3
	b.lo	LBB0_10
; %bb.1:
	add	x9, x0, #8
	mov	w10, #2
	mov	w11, #1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, x12, lsl #2
	add	w10, w10, #1
	ldr	w12, [x8]
	cmp	w10, w12, lsl #1
	b.hs	LBB0_10
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;     Child Loop BB0_9 Depth 2
	lsr	w12, w10, #1
	sub	w13, w12, #1
	lsl	x12, x11, x13
	cmp	w13, #4
	b.hs	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x13, #0
	b	LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	and	x13, x12, #0xfffffffffffffff0
	dup.4s	v0, w10
	add	x14, x9, #32
	mov	x15, x13
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	stp	q0, q0, [x14, #-32]
	stp	q0, q0, [x14], #64
	subs	x15, x15, #16
	b.ne	LBB0_6
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x12, x13
	b.eq	LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	x14, x12, x13
	add	x13, x9, x13, lsl #2
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	w10, [x13], #4
	subs	x14, x14, #1
	b.ne	LBB0_9
	b	LBB0_2
LBB0_10:
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdrp	Lloh0, Lloh2
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_kNumLogBits,4,2                ; @kNumLogBits
	.no_dead_strip	_LzmaEnc_FastPosInit
.subsections_via_symbols
