	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_capvol_in_path
_parse_capvol_in_path:                  ## @parse_capvol_in_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	16(%rsi), %rax
	movq	_NID_PATH_MUTE_CTL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	$0, (%rax,%rcx,8)
	movq	16(%rsi), %rax
	movq	_NID_PATH_VOL_CTL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	$0, (%rax,%rcx,8)
	movl	$-1, %r12d
	xorl	%r13d, %r13d
	jmp	LBB0_1
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_HDA_INPUT@GOTPCREL(%rip), %rcx
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	(%rcx), %ecx
	movl	%r15d, %edi
	movl	$3, %esi
	callq	_HDA_COMPOSE_AMP_VAL
	movq	16(%rbx), %rcx
	movq	_NID_PATH_MUTE_CTL@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rax, (%rcx,%rdx,8)
LBB0_17:                                ##   in Loop: Header=BB0_1 Depth=1
	incl	%r13d
	decl	%r12d
	cmpl	$3, %r13d
	je	LBB0_18
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %eax
	cmpl	%r13d, %eax
	jle	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	addl	%r12d, %eax
	movq	16(%rbx), %rcx
	movq	24(%rbx), %rdx
	movslq	%eax, %r14
	movl	(%rdx,%r14,4), %r15d
	movq	_NID_PATH_VOL_CTL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rcx,%rax,8)
	jne	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_HDA_OUTPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	callq	_nid_has_volume
	xorl	%edx, %edx
	movq	_HDA_OUTPUT@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	jne	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_HDA_INPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	callq	_nid_has_volume
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rbx), %rax
	movl	(%rax,%r14,4), %edx
	testl	%r13d, %r13d
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	movl	$0, %eax
	cmovnel	%eax, %edx
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_HDA_INPUT@GOTPCREL(%rip), %rcx
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	(%rcx), %ecx
	movl	%r15d, %edi
	movl	$3, %esi
	callq	_HDA_COMPOSE_AMP_VAL
	movq	16(%rbx), %rcx
	movq	_NID_PATH_VOL_CTL@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rax, (%rcx,%rdx,8)
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	16(%rbx), %rax
	movq	_NID_PATH_MUTE_CTL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	jne	LBB0_17
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_HDA_OUTPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	callq	_nid_has_mute
	xorl	%edx, %edx
	movq	_HDA_OUTPUT@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	jne	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_HDA_INPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	callq	_nid_has_mute
	testq	%rax, %rax
	je	LBB0_17
## %bb.13:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rbx), %rax
	movl	(%rax,%r14,4), %edx
	testl	%r13d, %r13d
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	movl	$0, %eax
	cmovnel	%eax, %edx
	jmp	LBB0_15
LBB0_18:
	xorl	%eax, %eax
	jmp	LBB0_19
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NID_PATH_MUTE_CTL,8,3          ## @NID_PATH_MUTE_CTL
	.comm	_NID_PATH_VOL_CTL,8,3           ## @NID_PATH_VOL_CTL
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_HDA_OUTPUT,4,2                 ## @HDA_OUTPUT
	.comm	_HDA_INPUT,4,2                  ## @HDA_INPUT
	.no_dead_strip	_parse_capvol_in_path
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_capvol_in_path
_parse_capvol_in_path:                  ; @parse_capvol_in_path
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x1
	mov	x20, x0
	mov	w22, #0
	ldr	x8, [x1, #16]
Lloh0:
	adrp	x23, _NID_PATH_MUTE_CTL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _NID_PATH_MUTE_CTL@GOTPAGEOFF]
	ldr	x9, [x23]
	str	xzr, [x8, x9, lsl #3]
	ldr	x8, [x1, #16]
Lloh2:
	adrp	x24, _NID_PATH_VOL_CTL@GOTPAGE
Lloh3:
	ldr	x24, [x24, _NID_PATH_VOL_CTL@GOTPAGEOFF]
	ldr	x9, [x24]
	str	xzr, [x8, x9, lsl #3]
	mov	w25, #-1
Lloh4:
	adrp	x26, _HDA_OUTPUT@GOTPAGE
Lloh5:
	ldr	x26, [x26, _HDA_OUTPUT@GOTPAGEOFF]
Lloh6:
	adrp	x27, _HDA_INPUT@GOTPAGE
Lloh7:
	ldr	x27, [x27, _HDA_INPUT@GOTPAGEOFF]
	b	LBB0_4
LBB0_1:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w2, #0
	mov	x8, x26
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w3, [x8]
	mov	x0, x21
	mov	w1, #3
	bl	_HDA_COMPOSE_AMP_VAL
	ldr	x8, [x19, #16]
	ldr	x9, [x23]
	str	x0, [x8, x9, lsl #3]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w22, w22, #1
	sub	w25, w25, #1
	cmp	w22, #3
	b.eq	LBB0_19
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19]
	cmp	w8, w22
	b.le	LBB0_20
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w8, w25, w8
	sxtw	x28, w8
	ldp	x10, x9, [x19, #16]
	ldr	w21, [x9, w8, sxtw #2]
	ldr	x8, [x24]
	ldr	x8, [x10, x8, lsl #3]
	cbnz	x8, LBB0_13
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w2, [x26]
	mov	x0, x20
	mov	x1, x21
	bl	_nid_has_volume
	cbz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w2, #0
	mov	x8, x26
	b	LBB0_12
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w2, [x27]
	mov	x0, x20
	mov	x1, x21
	bl	_nid_has_volume
	cbz	x0, LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #8]
	ldr	w2, [x8, x28, lsl #2]
	cbnz	w22, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20]
	cmp	x8, #0
	csel	w2, w2, wzr, eq
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, x27
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w3, [x8]
	mov	x0, x21
	mov	w1, #3
	bl	_HDA_COMPOSE_AMP_VAL
	ldr	x8, [x19, #16]
	ldr	x9, [x24]
	str	x0, [x8, x9, lsl #3]
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #16]
	ldr	x9, [x23]
	ldr	x8, [x8, x9, lsl #3]
	cbnz	x8, LBB0_3
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w2, [x26]
	mov	x0, x20
	mov	x1, x21
	bl	_nid_has_mute
	cbnz	x0, LBB0_1
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w2, [x27]
	mov	x0, x20
	mov	x1, x21
	bl	_nid_has_mute
	cbz	x0, LBB0_3
; %bb.16:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #8]
	ldr	w2, [x8, x28, lsl #2]
	cbnz	w22, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20]
	cmp	x8, #0
	csel	w2, w2, wzr, eq
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, x27
	b	LBB0_2
LBB0_19:
	mov	w0, #0
	b	LBB0_21
LBB0_20:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_21:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_NID_PATH_MUTE_CTL,8,3          ; @NID_PATH_MUTE_CTL
	.comm	_NID_PATH_VOL_CTL,8,3           ; @NID_PATH_VOL_CTL
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_HDA_OUTPUT,4,2                 ; @HDA_OUTPUT
	.comm	_HDA_INPUT,4,2                  ; @HDA_INPUT
	.no_dead_strip	_parse_capvol_in_path
.subsections_via_symbols
