	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_histogram_index
_find_histogram_index:                  ## @find_histogram_index
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_histogram_energy_boundaries@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	$1000, %edx                     ## imm = 0x3E8
	xorl	%eax, %eax
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%rsi, %rax
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%rdx, %rsi
	subq	%rax, %rsi
	cmpq	$1, %rsi
	je	LBB0_5
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%rax,%rdx), %rsi
	shrq	%rsi
	ucomisd	(%rcx,%rsi,8), %xmm0
	jae	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rsi, %rdx
	jmp	LBB0_4
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_histogram_energy_boundaries,8,3 ## @histogram_energy_boundaries
	.no_dead_strip	_find_histogram_index
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_histogram_index
_find_histogram_index:                  ; @find_histogram_index
	.cfi_startproc
; %bb.0:
	mov	x0, #0
Lloh0:
	adrp	x8, _histogram_energy_boundaries@GOTPAGE
Lloh1:
	ldr	x8, [x8, _histogram_energy_boundaries@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	mov	w9, #1000
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x10, x0, x9
	lsr	x10, x10, #1
	ldr	d1, [x8, x10, lsl #3]
	fcmp	d1, d0
	csel	x9, x10, x9, hi
	csel	x0, x0, x10, hi
	sub	x10, x9, x0
	cmp	x10, #1
	b.ne	LBB0_1
; %bb.2:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_histogram_energy_boundaries,8,3 ; @histogram_energy_boundaries
	.no_dead_strip	_find_histogram_index
.subsections_via_symbols
