	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spectral_max_index
_spectral_max_index:                    ## @spectral_max_index
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	8(%rdi), %eax
	movl	%eax, %ecx
	shrl	$2, %ecx
	movl	%ecx, %edx
	andl	$63, %edx
	movl	%esi, %edi
	shrl	$31, %edi
	addl	%esi, %edi
	sarl	%edi
	orl	$224, %ecx
	testb	$-128, %al
	movzbl	%cl, %ecx
	cmovel	%edx, %ecx
	addl	%edi, %ecx
	xorl	%edx, %edx
	cmpl	%esi, %ecx
	movl	$0, %eax
	cmovll	%ecx, %eax
	testl	%ecx, %ecx
	cmovsl	%edx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_spectral_max_index
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spectral_max_index
_spectral_max_index:                    ; @spectral_max_index
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0, #8]
	ubfx	w9, w8, #2, #6
	cmp	w1, #0
	cinc	w10, w1, lt
	mov	w11, #224
	bfxil	w11, w8, #2, #5
	tst	w8, #0x80
	csel	w8, w9, w11, eq
	add	w8, w8, w10, asr #1
	cmp	w8, w1
	mov	w9, #-1
	ccmp	w8, w9, #4, lt
	csel	w0, w8, wzr, gt
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_spectral_max_index
.subsections_via_symbols
