	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function stability_factor
LCPI0_0:
	.quad	0x8000000000000000              ## double -0
LCPI0_1:
	.quad	0xbfe999999999999a              ## double -0.80000000000000004
LCPI0_2:
	.quad	0x4080000000000000              ## double 512
LCPI0_3:
	.quad	0x3ff4000000000000              ## double 1.25
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_stability_factor:                      ## @stability_factor
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_LP_ORDER@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	cmpl	$2, %ecx
	jl	LBB0_1
## %bb.2:
	decl	%ecx
	leaq	-1(%rcx), %rdx
	movl	%ecx, %eax
	andl	$3, %eax
	cmpq	$3, %rdx
	jae	LBB0_4
## %bb.3:
	xorps	%xmm0, %xmm0
	xorl	%edx, %edx
	jmp	LBB0_6
LBB0_1:
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	jmp	LBB0_10
LBB0_4:
	andl	$-4, %ecx
	xorps	%xmm0, %xmm0
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movss	(%rdi,%rdx,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movss	4(%rdi,%rdx,4), %xmm2           ## xmm2 = mem[0],zero,zero,zero
	subss	(%rsi,%rdx,4), %xmm1
	mulss	%xmm1, %xmm1
	addss	%xmm0, %xmm1
	subss	4(%rsi,%rdx,4), %xmm2
	mulss	%xmm2, %xmm2
	addss	%xmm1, %xmm2
	movss	8(%rdi,%rdx,4), %xmm1           ## xmm1 = mem[0],zero,zero,zero
	subss	8(%rsi,%rdx,4), %xmm1
	mulss	%xmm1, %xmm1
	addss	%xmm2, %xmm1
	movss	12(%rdi,%rdx,4), %xmm0          ## xmm0 = mem[0],zero,zero,zero
	subss	12(%rsi,%rdx,4), %xmm0
	mulss	%xmm0, %xmm0
	addss	%xmm1, %xmm0
	addq	$4, %rdx
	cmpq	%rdx, %rcx
	jne	LBB0_5
LBB0_6:
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	leaq	(%rsi,%rdx,4), %rcx
	leaq	(%rdi,%rdx,4), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movss	(%rdx,%rsi,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	subss	(%rcx,%rsi,4), %xmm1
	mulss	%xmm1, %xmm1
	addss	%xmm1, %xmm0
	incq	%rsi
	cmpq	%rsi, %rax
	jne	LBB0_8
LBB0_9:
	xorps	%xmm1, %xmm1
	cvtss2sd	%xmm0, %xmm1
	mulsd	LCPI0_1(%rip), %xmm1
LBB0_10:
	mulsd	LCPI0_2(%rip), %xmm1
	addsd	LCPI0_3(%rip), %xmm1
	xorps	%xmm0, %xmm0
	popq	%rbp
	jmp	_FFMAX                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LP_ORDER,4,2                   ## @LP_ORDER
	.no_dead_strip	_stability_factor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stability_factor
_stability_factor:                      ; @stability_factor
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _LP_ORDER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LP_ORDER@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #2
	b.lt	LBB0_3
; %bb.1:
	sub	w8, w8, #1
	cmp	w8, #16
	b.hs	LBB0_4
; %bb.2:
	mov	x9, #0
	movi	d0, #0000000000000000
	b	LBB0_7
LBB0_3:
	mov	x8, #-9223372036854775808
	fmov	d0, x8
	b	LBB0_10
LBB0_4:
	and	x9, x8, #0xfffffff0
	add	x10, x1, #32
	add	x11, x0, #32
	movi	d0, #0000000000000000
	mov	x12, x9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q1, q2, [x11, #-32]
	ldp	q3, q4, [x11], #64
	ldp	q5, q6, [x10, #-32]
	ldp	q7, q16, [x10], #64
	fsub.4s	v1, v1, v5
	fsub.4s	v2, v2, v6
	fsub.4s	v3, v3, v7
	fsub.4s	v4, v4, v16
	fmul.4s	v1, v1, v1
	mov	s5, v1[3]
	mov	s6, v1[2]
	mov	s7, v1[1]
	fmul.4s	v2, v2, v2
	mov	s16, v2[3]
	mov	s17, v2[2]
	mov	s18, v2[1]
	fmul.4s	v3, v3, v3
	mov	s19, v3[3]
	mov	s20, v3[2]
	mov	s21, v3[1]
	fmul.4s	v4, v4, v4
	mov	s22, v4[3]
	mov	s23, v4[2]
	mov	s24, v4[1]
	fadd	s0, s0, s1
	fadd	s0, s0, s7
	fadd	s0, s0, s6
	fadd	s0, s0, s5
	fadd	s0, s0, s2
	fadd	s0, s0, s18
	fadd	s0, s0, s17
	fadd	s0, s0, s16
	fadd	s0, s0, s3
	fadd	s0, s0, s21
	fadd	s0, s0, s20
	fadd	s0, s0, s19
	fadd	s0, s0, s4
	fadd	s0, s0, s24
	fadd	s0, s0, s23
	fadd	s0, s0, s22
	subs	x12, x12, #16
	b.ne	LBB0_5
; %bb.6:
	cmp	x9, x8
	b.eq	LBB0_9
LBB0_7:
	lsl	x11, x9, #2
	add	x10, x1, x11
	add	x11, x0, x11
	sub	x8, x8, x9
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	s1, [x11], #4
	ldr	s2, [x10], #4
	fsub	s1, s1, s2
	fmadd	s0, s1, s1, s0
	subs	x8, x8, #1
	b.ne	LBB0_8
LBB0_9:
	fcvt	d0, s0
	mov	x8, #-7378697629483820647
	movk	x8, #39322
	movk	x8, #49129, lsl #48
	fmov	d1, x8
	fmul	d0, d0, d1
LBB0_10:
	mov	x8, #4647714815446351872
	fmov	d1, x8
	fmov	d2, #1.25000000
	fmadd	d1, d0, d1, d2
	movi	d0, #0000000000000000
	b	_FFMAX
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LP_ORDER,4,2                   ; @LP_ORDER
	.no_dead_strip	_stability_factor
.subsections_via_symbols
