	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_hda_get_path_idx           ## -- Begin function snd_hda_get_path_idx
	.p2align	4, 0x90
_snd_hda_get_path_idx:                  ## @snd_hda_get_path_idx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	je	LBB0_1
## %bb.2:
	subq	8(%rax), %rsi
	shrq	$2, %rsi
	leal	1(%rsi), %eax
	xorl	%edx, %edx
	cmpl	%esi, %ecx
	cmovlel	%edx, %eax
	testl	%esi, %esi
	cmovsl	%edx, %eax
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_hda_get_path_idx           ; -- Begin function snd_hda_get_path_idx
	.p2align	2
_snd_hda_get_path_idx:                  ; @snd_hda_get_path_idx
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0]
	ldr	w8, [x9]
	cbz	w8, LBB0_2
; %bb.1:
	ldr	x9, [x9, #8]
	sub	x9, x1, x9
	lsr	x9, x9, #2
	cmp	w8, w9
	mov	w8, #-1
	ccmp	w9, w8, #4, gt
	csinc	w0, wzr, w9, le
	ret
LBB0_2:
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
