	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function stabilize_lsps
LCPI0_0:
	.quad	0x3f589374bc6a7efa              ## double 0.0015
LCPI0_1:
	.quad	0x3feff3b645a1cac1              ## double 0.99850000000000005
LCPI0_2:
	.quad	0x3f8999999999999a              ## double 0.012500000000000001
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_stabilize_lsps:                        ## @stabilize_lsps
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r13
	movsd	(%rdi), %xmm0                   ## xmm0 = mem[0],zero
	movq	_M_PI@GOTPCREL(%rip), %r12
	movsd	(%r12), %xmm1                   ## xmm1 = mem[0],zero
	mulsd	LCPI0_0(%rip), %xmm1
	callq	_FFMAX
	movsd	%xmm0, (%r13)
	cmpl	$2, %r14d
	jl	LBB0_12
## %bb.1:
	movl	%r14d, %r15d
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movsd	(%r13,%rbx,8), %xmm2            ## xmm2 = mem[0],zero
	movsd	(%r12), %xmm1                   ## xmm1 = mem[0],zero
	mulsd	LCPI0_2(%rip), %xmm1
	addsd	%xmm0, %xmm1
	movapd	%xmm2, %xmm0
	callq	_FFMAX
	movsd	%xmm0, (%r13,%rbx,8)
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_2
## %bb.3:
	movslq	%r14d, %rbx
	movsd	-8(%r13,%rbx,8), %xmm0          ## xmm0 = mem[0],zero
	movsd	(%r12), %xmm1                   ## xmm1 = mem[0],zero
	mulsd	LCPI0_1(%rip), %xmm1
	callq	_FFMIN
	movsd	%xmm0, -8(%r13,%rbx,8)
	movsd	(%r13), %xmm0                   ## xmm0 = mem[0],zero
	movl	$1, %eax
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movapd	%xmm0, %xmm1
	movsd	(%r13,%rax,8), %xmm0            ## xmm0 = mem[0],zero
	ucomisd	%xmm0, %xmm1
	ja	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rax
	cmpq	%rax, %r15
	jne	LBB0_5
	jmp	LBB0_13
LBB0_12:
	movslq	%r14d, %rbx
	movsd	-8(%r13,%rbx,8), %xmm0          ## xmm0 = mem[0],zero
	movsd	(%r12), %xmm1                   ## xmm1 = mem[0],zero
	mulsd	LCPI0_1(%rip), %xmm1
	callq	_FFMIN
	movsd	%xmm0, -8(%r13,%rbx,8)
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	$1, %eax
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	movslq	%ecx, %rcx
	movsd	%xmm0, (%r13,%rcx,8)
	incq	%rax
	cmpq	%r15, %rax
	je	LBB0_13
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movsd	(%r13,%rax,8), %xmm0            ## xmm0 = mem[0],zero
	movq	%rax, %rcx
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	-1(%rcx), %rdx
	movl	%edx, %esi
	movsd	(%r13,%rsi,8), %xmm1            ## xmm1 = mem[0],zero
	ucomisd	%xmm1, %xmm0
	jae	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	movsd	%xmm1, (%r13,%rcx,8)
	leaq	1(%rdx), %rsi
	movq	%rdx, %rcx
	cmpq	$1, %rsi
	jg	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	xorl	%ecx, %ecx
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_M_PI,8,3                       ## @M_PI
	.no_dead_strip	_stabilize_lsps
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stabilize_lsps
_stabilize_lsps:                        ; @stabilize_lsps
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x19, x0
	ldr	d0, [x0]
Lloh0:
	adrp	x22, _M_PI@GOTPAGE
Lloh1:
	ldr	x22, [x22, _M_PI@GOTPAGEOFF]
	ldr	d1, [x22]
	mov	x8, #32506
	movk	x8, #48234, lsl #16
	movk	x8, #37748, lsl #32
	movk	x8, #16216, lsl #48
	fmov	d2, x8
	fmul	d1, d1, d2
	bl	_FFMAX
	str	d0, [x19]
	cmp	w20, #2
	b.lt	LBB0_6
; %bb.1:
	mov	w21, w20
	lsl	x23, x21, #3
	mov	w24, #8
	mov	x25, #-7378697629483820647
	movk	x25, #39322
	movk	x25, #16265, lsl #48
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	d2, [x19, x24]
	ldr	d1, [x22]
	fmov	d3, x25
	fmadd	d1, d1, d3, d0
	fmov	d0, d2
	bl	_FFMAX
	str	d0, [x19, x24]
	add	x24, x24, #8
	cmp	x23, x24
	b.ne	LBB0_2
; %bb.3:
	add	x20, x19, w20, sxtw #3
	ldur	d0, [x20, #-8]
	ldr	d1, [x22]
	mov	x8, #51905
	movk	x8, #17825, lsl #16
	movk	x8, #62390, lsl #32
	movk	x8, #16367, lsl #48
	fmov	d2, x8
	fmul	d1, d1, d2
	bl	_FFMIN
	stur	d0, [x20, #-8]
	mov	x8, x19
	ldr	d0, [x8], #8
	sub	x9, x21, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	fmov	d1, d0
	ldr	d0, [x8]
	fcmp	d0, d1
	b.mi	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x8, #8
	subs	x9, x9, #1
	b.ne	LBB0_4
	b	LBB0_7
LBB0_6:
	add	x19, x19, w20, sxtw #3
	ldur	d0, [x19, #-8]
	ldr	d1, [x22]
	mov	x8, #51905
	movk	x8, #17825, lsl #16
	movk	x8, #62390, lsl #32
	movk	x8, #16367, lsl #48
	fmov	d2, x8
	fmul	d1, d1, d2
	bl	_FFMIN
	stur	d0, [x19, #-8]
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_8:
	mov	w8, #1
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	sbfiz	x9, x9, #3, #32
	str	d0, [x19, x9]
	add	x8, x8, #1
	cmp	x8, x21
	b.eq	LBB0_7
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	ldr	d0, [x19, x8, lsl #3]
	mov	x9, x8
LBB0_11:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	x10, x9, #1
	ldr	d1, [x19, w10, uxtw #3]
	fcmp	d1, d0
	b.ls	LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	str	d1, [x19, x9, lsl #3]
	add	x11, x10, #1
	mov	x9, x10
	cmp	x11, #1
	b.gt	LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x9, #0
	b	LBB0_9
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_M_PI,8,3                       ; @M_PI
	.no_dead_strip	_stabilize_lsps
.subsections_via_symbols
