	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_input_path
_get_input_path:                        ## @get_input_path
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%edx, %edx
	js	LBB0_6
## %bb.1:
	movq	_HDA_MAX_NUM_INPUTS@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jle	LBB0_6
## %bb.2:
	movq	(%rdi), %rax
	cmpq	$0, 16(%rax)
	movl	%edx, %ecx
	je	LBB0_4
## %bb.3:
	movq	(%rax), %rdx
	movl	(%rdx,%rcx,4), %esi
LBB0_4:
	testl	%esi, %esi
	js	LBB0_6
## %bb.5:
	movq	_AUTO_CFG_MAX_INS@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %esi
	jge	LBB0_6
## %bb.7:
	movq	8(%rax), %rax
	movq	(%rax,%rcx,8), %rax
	movl	%esi, %ecx
	movl	(%rax,%rcx,4), %esi
	popq	%rbp
	jmp	_snd_hda_get_path_from_idx      ## TAILCALL
LBB0_6:
	xorl	%eax, %eax
	callq	_snd_BUG
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HDA_MAX_NUM_INPUTS,4,2         ## @HDA_MAX_NUM_INPUTS
	.comm	_AUTO_CFG_MAX_INS,4,2           ## @AUTO_CFG_MAX_INS
	.no_dead_strip	_get_input_path
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_input_path
_get_input_path:                        ; @get_input_path
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	tbnz	w2, #31, LBB0_7
; %bb.1:
Lloh0:
	adrp	x8, _HDA_MAX_NUM_INPUTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HDA_MAX_NUM_INPUTS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.le	LBB0_7
; %bb.2:
	ldr	x8, [x0]
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_4
; %bb.3:
	ldr	x9, [x8]
	ldr	w1, [x9, w2, uxtw #2]
LBB0_4:
	tbnz	w1, #31, LBB0_7
; %bb.5:
Lloh3:
	adrp	x9, _AUTO_CFG_MAX_INS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AUTO_CFG_MAX_INS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w1, w9
	b.ge	LBB0_7
; %bb.6:
	ldr	x8, [x8, #8]
	ldr	x8, [x8, w2, uxtw #3]
	ldr	w1, [x8, w1, uxtw #2]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_snd_hda_get_path_from_idx
LBB0_7:
	bl	_snd_BUG
	mov	x0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_HDA_MAX_NUM_INPUTS,4,2         ; @HDA_MAX_NUM_INPUTS
	.comm	_AUTO_CFG_MAX_INS,4,2           ; @AUTO_CFG_MAX_INS
	.no_dead_strip	_get_input_path
.subsections_via_symbols
