	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function rearrange_lsp
LCPI0_0:
	.long	0x3f000000                      ## float 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_rearrange_lsp:                         ## @rearrange_lsp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$2, %edi
	jl	LBB0_5
## %bb.1:
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm1
	movl	%edi, %eax
	movss	(%rsi), %xmm4                   ## xmm4 = mem[0],zero,zero,zero
	movl	$1, %ecx
	movss	LCPI0_0(%rip), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rcx
	movaps	%xmm3, %xmm4
	cmpq	%rcx, %rax
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movss	(%rsi,%rcx,4), %xmm3            ## xmm3 = mem[0],zero,zero,zero
	movaps	%xmm3, %xmm5
	subss	%xmm4, %xmm5
	ucomiss	%xmm5, %xmm0
	jbe	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	addss	%xmm4, %xmm3
	mulss	%xmm2, %xmm3
	movaps	%xmm1, %xmm4
	addss	%xmm3, %xmm4
	subss	%xmm1, %xmm3
	movss	%xmm3, -4(%rsi,%rcx,4)
	movss	%xmm4, (%rsi,%rcx,4)
	movaps	%xmm4, %xmm3
	jmp	LBB0_4
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rearrange_lsp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rearrange_lsp
_rearrange_lsp:                         ; @rearrange_lsp
	.cfi_startproc
; %bb.0:
	cmp	w0, #2
	b.lt	LBB0_5
; %bb.1:
	fmov	s1, #0.50000000
	fmul	s2, s0, s1
	mov	w8, w0
	ldr	s4, [x1], #4
	sub	x8, x8, #1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x1, x1, #4
	fmov	s4, s3
	subs	x8, x8, #1
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	s3, [x1]
	fsub	s5, s3, s4
	fcmp	s5, s0
	b.pl	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	fadd	s3, s3, s4
	fmul	s3, s3, s1
	fsub	s4, s3, s2
	fadd	s3, s2, s3
	stp	s4, s3, [x1, #-4]
	b	LBB0_2
LBB0_5:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rearrange_lsp
.subsections_via_symbols
