	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __parse_nid_path
___parse_nid_path:                      ## @__parse_nid_path
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movl	%edx, %r15d
	movl	%esi, %ebx
	movq	%rdi, %r13
	xorl	%r14d, %r14d
	cmpl	%ecx, %edx
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	movl	%ecx, %edx
	movl	%ecx, %r14d
	addl	%r15d, %edx
	je	LBB0_24
LBB0_2:
	leaq	-56(%rbp), %rdx
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_snd_hda_get_conn_list
	movl	%eax, %ecx
	movl	$0, %eax
	testl	%ecx, %ecx
	jle	LBB0_24
## %bb.3:
	movl	%r15d, -68(%rbp)                ## 4-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r12d
	xorl	%r15d, %r15d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	testl	%r14d, %r14d
	jle	LBB0_9
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%r15
	cmpq	%r15, %r12
	je	LBB0_14
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rax
	movl	(%rax,%r15,4), %esi
	cmpl	%ebx, %esi
	je	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	testl	%ebx, %ebx
	jne	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	callq	_get_wcaps
	movl	%eax, %edi
	callq	_get_wcaps_type
	movq	_AC_WID_AUD_OUT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rax
	movl	(%rax,%r15,4), %esi
	movq	%r13, %rdi
	callq	_is_dac_already_used
	testl	%r14d, %r14d
	jg	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	testq	%rax, %rax
	jne	LBB0_13
	jmp	LBB0_9
LBB0_14:
	movq	_MAX_NID_PATH_DEPTH@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	cmpl	%edx, (%rcx)
	jle	LBB0_24
## %bb.15:
	incl	-48(%rbp)                       ## 4-byte Folded Spill
	xorl	%r15d, %r15d
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_16 Depth=1
	incq	%r15
	cmpq	%r15, %r12
	je	LBB0_21
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rax
	movl	(%rax,%r15,4), %esi
	movq	%r13, %rdi
	callq	_get_wcaps
	movl	%eax, %edi
	callq	_get_wcaps_type
	movq	_AC_WID_AUD_OUT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	_AC_WID_AUD_IN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	_AC_WID_PIN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	-56(%rbp), %rax
	movl	(%rax,%r15,4), %edx
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%r14d, %ecx
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	callq	___parse_nid_path
	testl	%eax, %eax
	je	LBB0_20
LBB0_9:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	-56(%rbp), %rax
	movl	%r15d, %ecx
	movl	(%rax,%rcx,4), %ecx
	movq	(%rbx), %rdx
	movq	8(%rbx), %rax
	movl	%ecx, (%rdx,%rax,4)
	movq	16(%rbx), %rcx
	movl	%r15d, 4(%rcx,%rax,4)
	cmpl	$2, %esi
	jl	LBB0_23
## %bb.10:
	movq	%r13, %rdi
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	callq	_get_wcaps
	movl	%eax, %edi
	callq	_get_wcaps_type
	movq	_AC_WID_AUD_MIX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_22
## %bb.11:
	movq	8(%rbx), %rax
	jmp	LBB0_23
LBB0_21:
	xorl	%eax, %eax
	jmp	LBB0_24
LBB0_22:
	movq	8(%rbx), %rax
	movq	24(%rbx), %rcx
	movl	$1, 4(%rcx,%rax,4)
LBB0_23:
	incq	%rax
	movq	%rax, 8(%rbx)
	movl	$1, %eax
LBB0_24:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AC_WID_AUD_OUT,4,2             ## @AC_WID_AUD_OUT
	.comm	_MAX_NID_PATH_DEPTH,4,2         ## @MAX_NID_PATH_DEPTH
	.comm	_AC_WID_AUD_IN,4,2              ## @AC_WID_AUD_IN
	.comm	_AC_WID_PIN,4,2                 ## @AC_WID_PIN
	.comm	_AC_WID_AUD_MIX,4,2             ## @AC_WID_AUD_MIX
	.no_dead_strip	___parse_nid_path
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __parse_nid_path
___parse_nid_path:                      ; @__parse_nid_path
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x25, x5
	mov	x19, x4
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
	cmp	w2, w3
	b.ne	LBB0_2
; %bb.1:
	mov	w24, #0
	b	LBB0_3
LBB0_2:
	mov	x24, x3
	cmn	w3, w20
	b.eq	LBB0_21
LBB0_3:
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, x20
	bl	_snd_hda_get_conn_list
	cmp	w0, #1
	b.lt	LBB0_21
; %bb.4:
	mov	x23, x0
	mov	x26, #0
	mov	w27, w0
Lloh0:
	adrp	x28, _AC_WID_AUD_OUT@GOTPAGE
Lloh1:
	ldr	x28, [x28, _AC_WID_AUD_OUT@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	cmp	w24, #1
	b.lt	LBB0_18
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x26, x26, #1
	cmp	x27, x26
	b.eq	LBB0_12
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #8]
	ldr	w1, [x8, x26, lsl #2]
	cmp	w1, w22
	b.eq	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	cbnz	w22, LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x21
	bl	_get_wcaps
	bl	_get_wcaps_type
	ldr	w8, [x28]
	cmp	w0, w8
	b.ne	LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [sp, #8]
	ldr	w1, [x8, x26, lsl #2]
	mov	x0, x21
	bl	_is_dac_already_used
	cmp	w24, #0
	b.gt	LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	cbnz	x0, LBB0_6
	b	LBB0_18
LBB0_12:
Lloh2:
	adrp	x8, _MAX_NID_PATH_DEPTH@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MAX_NID_PATH_DEPTH@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, w25
	b.le	LBB0_21
; %bb.13:
	stp	w23, w20, [sp]                  ; 8-byte Folded Spill
	mov	x20, x19
	mov	x26, #0
	add	w25, w25, #1
Lloh5:
	adrp	x23, _AC_WID_AUD_IN@GOTPAGE
Lloh6:
	ldr	x23, [x23, _AC_WID_AUD_IN@GOTPAGEOFF]
Lloh7:
	adrp	x19, _AC_WID_PIN@GOTPAGE
Lloh8:
	ldr	x19, [x19, _AC_WID_PIN@GOTPAGEOFF]
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x26, x26, #1
	cmp	x27, x26
	b.eq	LBB0_21
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #8]
	ldr	w1, [x8, x26, lsl #2]
	mov	x0, x21
	bl	_get_wcaps
	bl	_get_wcaps_type
	ldr	w8, [x28]
	ldr	w9, [x23]
	ldr	w10, [x19]
	cmp	w0, w8
	ccmp	w0, w9, #4, ne
	ccmp	w0, w10, #4, ne
	b.eq	LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [sp, #8]
	ldr	w2, [x8, x26, lsl #2]
	mov	x0, x21
	mov	x1, x22
	mov	x3, x24
	mov	x4, x20
	mov	x5, x25
	bl	___parse_nid_path
	cbz	w0, LBB0_14
; %bb.17:
	mov	x19, x20
	ldp	w23, w20, [sp]                  ; 8-byte Folded Reload
LBB0_18:
	ldr	x8, [sp, #8]
	ldr	w8, [x8, w26, uxtw #2]
	ldp	x9, x10, [x19]
	str	w8, [x9, x10, lsl #2]
	ldr	x9, [x19, #16]
	add	x8, x10, #1
	str	w26, [x9, x8, lsl #2]
	cmp	w23, #1
	b.le	LBB0_23
; %bb.19:
	mov	x0, x21
	mov	x1, x20
	bl	_get_wcaps
	bl	_get_wcaps_type
Lloh9:
	adrp	x8, _AC_WID_AUD_MIX@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AC_WID_AUD_MIX@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_22
; %bb.20:
	ldr	x8, [x19, #8]
	add	x8, x8, #1
	b	LBB0_23
LBB0_21:
	mov	w0, #0
	b	LBB0_24
LBB0_22:
	ldr	x9, [x19, #24]
	ldr	x8, [x19, #8]
	add	x8, x8, #1
	mov	w10, #1
	str	w10, [x9, x8, lsl #2]
LBB0_23:
	str	x8, [x19, #8]
	mov	w0, #1
LBB0_24:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_AC_WID_AUD_OUT,4,2             ; @AC_WID_AUD_OUT
	.comm	_MAX_NID_PATH_DEPTH,4,2         ; @MAX_NID_PATH_DEPTH
	.comm	_AC_WID_AUD_IN,4,2              ; @AC_WID_AUD_IN
	.comm	_AC_WID_PIN,4,2                 ; @AC_WID_PIN
	.comm	_AC_WID_AUD_MIX,4,2             ; @AC_WID_AUD_MIX
	.no_dead_strip	___parse_nid_path
.subsections_via_symbols
