	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function refresh_amp_caps
_refresh_amp_caps:                      ## @refresh_amp_caps
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	_HDA_OUTPUT@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	_AC_PAR_AMP_OUT_CAP@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_AC_PAR_AMP_IN_CAP@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_snd_hda_param_read
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r14d, %edx
	movl	%eax, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snd_hda_override_amp_caps      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HDA_OUTPUT,4,2                 ## @HDA_OUTPUT
	.comm	_AC_PAR_AMP_OUT_CAP,4,2         ## @AC_PAR_AMP_OUT_CAP
	.comm	_AC_PAR_AMP_IN_CAP,4,2          ## @AC_PAR_AMP_IN_CAP
	.no_dead_strip	_refresh_amp_caps
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function refresh_amp_caps
_refresh_amp_caps:                      ; @refresh_amp_caps
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _HDA_OUTPUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HDA_OUTPUT@GOTPAGEOFF]
Lloh2:
	adrp	x9, _AC_PAR_AMP_OUT_CAP@GOTPAGE
Lloh3:
	ldr	x9, [x9, _AC_PAR_AMP_OUT_CAP@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x10, _AC_PAR_AMP_IN_CAP@GOTPAGE
Lloh6:
	ldr	x10, [x10, _AC_PAR_AMP_IN_CAP@GOTPAGEOFF]
	cmp	w8, w2
	csel	x8, x9, x10, eq
	ldr	w2, [x8]
	bl	_snd_hda_param_read
	mov	x3, x0
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_snd_hda_override_amp_caps
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_HDA_OUTPUT,4,2                 ; @HDA_OUTPUT
	.comm	_AC_PAR_AMP_OUT_CAP,4,2         ; @AC_PAR_AMP_OUT_CAP
	.comm	_AC_PAR_AMP_IN_CAP,4,2          ; @AC_PAR_AMP_IN_CAP
	.no_dead_strip	_refresh_amp_caps
.subsections_via_symbols
