	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function carl9170_find_freq_idx
_carl9170_find_freq_idx:                ## @carl9170_find_freq_idx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	xorl	%eax, %eax
	cmpl	$2, %edi
	jl	LBB0_5
## %bb.1:
	addl	$-2, %edi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%edi, %ecx
	cmpq	%rdx, (%rsi,%rcx,8)
	jle	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	-1(%rdi), %ecx
	testl	%edi, %edi
	movl	%ecx, %edi
	jg	LBB0_2
LBB0_5:
	popq	%rbp
	retq
LBB0_3:
	movl	%edi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_carl9170_find_freq_idx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function carl9170_find_freq_idx
_carl9170_find_freq_idx:                ; @carl9170_find_freq_idx
	.cfi_startproc
; %bb.0:
	subs	w0, w0, #2
	b.lt	LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x1, w0, uxtw #3]
	cmp	x8, x2
	b.le	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	sub	w8, w0, #1
	cmp	w0, #0
	mov	x0, x8
	b.gt	LBB0_1
LBB0_3:
	mov	w0, #0
LBB0_4:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_carl9170_find_freq_idx
.subsections_via_symbols
