	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LzmaEnc_FastPosInit            ## -- Begin function LzmaEnc_FastPosInit
	.p2align	4, 0x90
_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
	movabsq	$4294967296, %rax               ## imm = 0x100000000
	movq	%rax, (%rdi)
	movq	_kNumLogBits@GOTPCREL(%rip), %r11
	movl	(%r11), %eax
	cmpl	$2, %eax
	jl	LBB0_17
## %bb.1:
	leaq	112(%rdi), %r8
	leaq	16(%rdi), %r9
	movl	$2, %edx
	movl	$1, %r10d
	movl	$2, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r11), %eax
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%r12d
	leal	(%rax,%rax), %ecx
	cmpl	%ecx, %r12d
	jge	LBB0_17
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
                                        ##     Child Loop BB0_11 Depth 2
                                        ##     Child Loop BB0_14 Depth 2
	movl	%r12d, %ecx
	shrl	%ecx
	decl	%ecx
	cmpl	$31, %ecx
	je	LBB0_16
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	movslq	%edx, %rdx
	cmpl	$2, %eax
	cmovll	%r10d, %eax
	cmpl	$8, %eax
	jae	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r14d, %r14d
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %r14d
	andl	$2147483640, %r14d              ## imm = 0x7FFFFFF8
	movd	%r12d, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	leaq	-8(%r14), %rcx
	movq	%rcx, %rbx
	shrq	$3, %rbx
	incq	%rbx
	movl	%ebx, %r15d
	andl	$3, %r15d
	cmpq	$24, %rcx
	jae	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ecx, %ecx
	jmp	LBB0_9
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	andq	$-4, %rbx
	leaq	(%r8,%rdx,4), %rsi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	%xmm0, -112(%rsi,%rcx,4)
	movdqu	%xmm0, -96(%rsi,%rcx,4)
	movdqu	%xmm0, -80(%rsi,%rcx,4)
	movdqu	%xmm0, -64(%rsi,%rcx,4)
	movdqu	%xmm0, -48(%rsi,%rcx,4)
	movdqu	%xmm0, -32(%rsi,%rcx,4)
	movdqu	%xmm0, -16(%rsi,%rcx,4)
	movdqu	%xmm0, (%rsi,%rcx,4)
	addq	$32, %rcx
	addq	$-4, %rbx
	jne	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	testq	%r15, %r15
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	addq	%rdx, %rcx
	leaq	(%r9,%rcx,4), %rcx
	shlq	$5, %r15
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	%xmm0, -16(%rcx,%rsi)
	movdqu	%xmm0, (%rcx,%rsi)
	addq	$32, %rsi
	cmpq	%rsi, %r15
	jne	LBB0_11
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	%r14, %rdx
	cmpq	%rax, %r14
	je	LBB0_15
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	subq	%r14, %rax
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r12d, (%rdi,%rdx,4)
	incq	%rdx
	decq	%rax
	jne	LBB0_14
	jmp	LBB0_15
LBB0_17:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_kNumLogBits,4,2                ## @kNumLogBits
.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
	.globl	_LzmaEnc_FastPosInit
	.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	w13, [x8]
	cmp	w13, #2
	b.lt	LBB0_12
; %bb.1:
	add	x9, x0, #32
	mov	w12, #2
	mov	w10, #1
	mov	w11, #2
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w13, [x8]
                                        ; kill: def $w12 killed $w12 killed $x12 def $x12
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w11, w11, #1
	cmp	w11, w13, lsl #1
	b.ge	LBB0_12
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
	lsr	w14, w11, #1
	sub	w14, w14, #1
	cmp	w14, #31
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	lsl	w13, w10, w14
	sxtw	x15, w12
	cmp	w13, #1
	csinc	w13, w13, wzr, gt
	cmp	w13, #16
	b.hs	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x14, #0
	mov	x12, x15
	b	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	and	x14, x13, #0x7ffffff0
	add	x12, x14, x15
	dup.4s	v0, w11
	add	x15, x9, x15, lsl #2
	mov	x16, x14
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	stp	q0, q0, [x15, #-32]
	stp	q0, q0, [x15], #64
	subs	x16, x16, #16
	b.ne	LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x14, x13
	b.eq	LBB0_2
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	x13, x13, x14
LBB0_11:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	w11, [x0, x12, lsl #2]
	add	x12, x12, #1
	subs	x13, x13, #1
	b.ne	LBB0_11
	b	LBB0_2
LBB0_12:
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdrp	Lloh0, Lloh2
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_kNumLogBits,4,2                ; @kNumLogBits
.subsections_via_symbols
