	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function save_shifts
_save_shifts:                           ## @save_shifts
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_nshifts@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	leal	24(,%rax,8), %edi
	callq	_allocate
	movq	_this_state@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rax)
	movslq	(%rbx), %rdx
	movq	%rdx, 16(%rax)
	testq	%rdx, %rdx
	jle	LBB0_13
## %bb.1:
	movq	_shiftset@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	(%rcx,%rdx,8), %r11
	leaq	8(%rcx), %rdx
	cmpq	%rdx, %r11
	cmovaq	%r11, %rdx
	movq	8(%rax), %rsi
	movq	%rcx, %r9
	notq	%r9
	addq	%rdx, %r9
	cmpq	$24, %r9
	jb	LBB0_12
## %bb.2:
	movq	%rsi, %rdx
	subq	%rcx, %rdx
	cmpq	$32, %rdx
	jb	LBB0_12
## %bb.3:
	shrq	$3, %r9
	incq	%r9
	movq	%r9, %r8
	andq	$-4, %r8
	leaq	-4(%r8), %rdx
	movq	%rdx, %rdi
	shrq	$2, %rdi
	incq	%rdi
	movl	%edi, %r10d
	andl	$3, %r10d
	cmpq	$12, %rdx
	jae	LBB0_5
## %bb.4:
	xorl	%edx, %edx
	jmp	LBB0_7
LBB0_5:
	andq	$-4, %rdi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movups	(%rcx,%rdx,8), %xmm0
	movups	16(%rcx,%rdx,8), %xmm1
	movups	%xmm0, (%rsi,%rdx,8)
	movups	%xmm1, 16(%rsi,%rdx,8)
	movups	32(%rcx,%rdx,8), %xmm0
	movups	48(%rcx,%rdx,8), %xmm1
	movups	%xmm0, 32(%rsi,%rdx,8)
	movups	%xmm1, 48(%rsi,%rdx,8)
	movups	64(%rcx,%rdx,8), %xmm0
	movups	80(%rcx,%rdx,8), %xmm1
	movups	%xmm0, 64(%rsi,%rdx,8)
	movups	%xmm1, 80(%rsi,%rdx,8)
	movups	96(%rcx,%rdx,8), %xmm0
	movups	112(%rcx,%rdx,8), %xmm1
	movups	%xmm0, 96(%rsi,%rdx,8)
	movups	%xmm1, 112(%rsi,%rdx,8)
	addq	$16, %rdx
	addq	$-4, %rdi
	jne	LBB0_6
LBB0_7:
	testq	%r10, %r10
	je	LBB0_10
## %bb.8:
	leaq	(%rsi,%rdx,8), %rdi
	addq	$16, %rdi
	leaq	(%rcx,%rdx,8), %rdx
	addq	$16, %rdx
	shlq	$5, %r10
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movups	-16(%rdx,%rbx), %xmm0
	movups	(%rdx,%rbx), %xmm1
	movups	%xmm0, -16(%rdi,%rbx)
	movups	%xmm1, (%rdi,%rbx)
	addq	$32, %rbx
	cmpq	%rbx, %r10
	jne	LBB0_9
LBB0_10:
	cmpq	%r8, %r9
	je	LBB0_13
## %bb.11:
	leaq	(%rcx,%r8,8), %rcx
	leaq	(%rsi,%r8,8), %rsi
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rcx), %rdx
	addq	$8, %rcx
	movq	%rdx, (%rsi)
	addq	$8, %rsi
	cmpq	%r11, %rcx
	jb	LBB0_12
LBB0_13:
	movq	_last_shift@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	testq	%rdx, %rdx
	jne	LBB0_15
## %bb.14:
	movq	_first_shift@GOTPCREL(%rip), %rdx
LBB0_15:
	movq	%rax, (%rdx)
	movq	%rax, (%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nshifts,4,2                    ## @nshifts
	.comm	_this_state,8,3                 ## @this_state
	.comm	_shiftset,8,3                   ## @shiftset
	.comm	_last_shift,8,3                 ## @last_shift
	.comm	_first_shift,8,3                ## @first_shift
	.no_dead_strip	_save_shifts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function save_shifts
_save_shifts:                           ; @save_shifts
	.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
Lloh0:
	adrp	x19, _nshifts@GOTPAGE
Lloh1:
	ldr	x19, [x19, _nshifts@GOTPAGEOFF]
	ldr	w8, [x19]
	lsl	w8, w8, #3
	add	w0, w8, #24
	bl	_allocate
Lloh2:
	adrp	x8, _this_state@GOTPAGE
Lloh3:
	ldr	x8, [x8, _this_state@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	w8, [x8]
	str	w8, [x0, #24]
	ldrsw	x8, [x19]
	str	x8, [x0, #16]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.1:
Lloh5:
	adrp	x9, _shiftset@GOTPAGE
Lloh6:
	ldr	x9, [x9, _shiftset@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x8, x9, x8, lsl #3
	ldr	x10, [x0, #8]
	add	x11, x9, #8
	cmp	x8, x11
	csel	x11, x8, x11, hi
	mvn	x12, x9
	add	x11, x11, x12
	cmp	x11, #56
	b.lo	LBB0_6
; %bb.2:
	sub	x12, x10, x9
	cmp	x12, #64
	b.lo	LBB0_6
; %bb.3:
	lsr	x11, x11, #3
	add	x11, x11, #1
	and	x12, x11, #0x3ffffffffffffff8
	lsl	x14, x12, #3
	add	x13, x9, x14
	add	x14, x10, x14
	add	x9, x9, #32
	add	x10, x10, #32
	mov	x15, x12
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x9, #-32]
	ldp	q2, q3, [x9], #64
	stp	q0, q1, [x10, #-32]
	stp	q2, q3, [x10], #64
	subs	x15, x15, #8
	b.ne	LBB0_4
; %bb.5:
	mov	x9, x13
	mov	x10, x14
	cmp	x11, x12
	b.eq	LBB0_7
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x9], #8
	str	x11, [x10], #8
	cmp	x9, x8
	b.lo	LBB0_6
LBB0_7:
Lloh8:
	adrp	x8, _last_shift@GOTPAGE
Lloh9:
	ldr	x8, [x8, _last_shift@GOTPAGEOFF]
	ldr	x9, [x8]
Lloh10:
	adrp	x10, _first_shift@GOTPAGE
Lloh11:
	ldr	x10, [x10, _first_shift@GOTPAGEOFF]
	cmp	x9, #0
	csel	x9, x10, x9, eq
	str	x0, [x9]
	str	x0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_nshifts,4,2                    ; @nshifts
	.comm	_this_state,8,3                 ; @this_state
	.comm	_shiftset,8,3                   ; @shiftset
	.comm	_last_shift,8,3                 ; @last_shift
	.comm	_first_shift,8,3                ; @first_shift
	.no_dead_strip	_save_shifts
.subsections_via_symbols
