	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function search_for_change_points
LCPI0_0:
	.long	0x3f000000                      ## float 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_search_for_change_points:              ## @search_for_change_points
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %eax
	subl	%esi, %eax
	cmpl	%ecx, %eax
	jle	LBB0_9
## %bb.1:
	movl	%r8d, %r13d
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movq	%rdi, %r12
	movslq	%edx, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movl	%esi, %ebx
	cmpl	%r15d, %esi
	jge	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	%esi, %rdx
	leaq	(,%rdx,8), %rax
	addq	16(%r12), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	subq	%rdx, %rcx
	xorps	%xmm2, %xmm2
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movaps	%xmm2, %xmm1
	movq	(%rax,%rbx,8), %rdx
	xorps	%xmm2, %xmm2
	cvtsi2ssq	(%rdx), %xmm2
	addss	%xmm1, %xmm2
	ucomiss	%xmm0, %xmm2
	ja	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	incq	%rbx
	cmpq	%rbx, %rcx
	jne	LBB0_4
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	addl	%esi, %ebx
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r15d, %ebx
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	mulss	LCPI0_0(%rip), %xmm0
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	incl	%r13d
	movq	%r12, %rdi
	movl	%ebx, %edx
	movl	%r14d, %ecx
	movl	%r13d, %r8d
	callq	_search_for_change_points
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movq	(%r12), %rax
	movslq	8(%r12), %rcx
	leal	1(%rcx), %edx
	movl	%edx, 8(%r12)
	movl	%ebx, (%rax,%rcx,4)
	incl	%ebx
	movl	%r15d, %eax
	subl	%ebx, %eax
	movl	%ebx, %esi
	cmpl	%r14d, %eax
	jg	LBB0_2
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_search_for_change_points
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function search_for_change_points
_search_for_change_points:              ; @search_for_change_points
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [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 b8, -72
	.cfi_offset b9, -80
	sub	w8, w2, w1
	cmp	w8, w3
	b.le	LBB0_8
; %bb.1:
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	fmov	s8, s0
	mov	x22, x0
	sxtw	x24, w21
	fmov	s9, #0.50000000
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	mov	x23, x1
	cmp	w1, w21
	b.ge	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x22, #16]
	add	x8, x8, w1, sxtw #3
	sub	x9, x24, w1, sxtw
	movi	d0, #0000000000000000
	mov	x23, x1
LBB0_4:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x10, [x8]
	ldr	x10, [x10]
	scvtf	s1, x10
	fadd	s0, s0, s1
	fcmp	s0, s8
	b.gt	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	add	w23, w23, #1
	add	x8, x8, #8
	subs	x9, x9, #1
	b.ne	LBB0_4
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	w23, w21
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	fmul	s8, s8, s9
	add	w19, w19, #1
	mov	x0, x22
	fmov	s0, s8
	mov	x2, x23
	mov	x3, x20
	mov	x4, x19
	bl	_search_for_change_points
	ldr	x8, [x22]
	ldrsw	x9, [x22, #8]
	add	w10, w9, #1
	str	w10, [x22, #8]
	str	w23, [x8, x9, lsl #2]
	add	w1, w23, #1
	sub	w8, w21, w1
	cmp	w8, w20
	b.gt	LBB0_2
LBB0_8:
	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	d9, d8, [sp], #80               ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_search_for_change_points
.subsections_via_symbols
