	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_amp_val_to_activate
_get_amp_val_to_activate:               ## @get_amp_val_to_activate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%ecx, %edx
	movq	_AC_AMPCAP_NUM_STEPS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_AC_AMPCAP_OFFSET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	andl	%edx, %esi
	movq	_AC_AMPCAP_OFFSET_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shrl	%cl, %esi
	andl	%edx, %eax
	testl	%eax, %eax
	cmovel	%eax, %esi
	movq	_AC_AMPCAP_MUTE@GOTPCREL(%rip), %rax
	andl	(%rax), %edx
	je	LBB0_2
## %bb.1:
	movq	_HDA_AMP_MUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_2:
	xorl	%eax, %eax
	testl	%r8d, %r8d
	cmovel	%r8d, %esi
	cmovel	%edx, %eax
	orl	%esi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AC_AMPCAP_NUM_STEPS,4,2        ## @AC_AMPCAP_NUM_STEPS
	.comm	_AC_AMPCAP_OFFSET,4,2           ## @AC_AMPCAP_OFFSET
	.comm	_AC_AMPCAP_OFFSET_SHIFT,4,2     ## @AC_AMPCAP_OFFSET_SHIFT
	.comm	_AC_AMPCAP_MUTE,4,2             ## @AC_AMPCAP_MUTE
	.comm	_HDA_AMP_MUTE,4,2               ## @HDA_AMP_MUTE
	.no_dead_strip	_get_amp_val_to_activate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_amp_val_to_activate
_get_amp_val_to_activate:               ; @get_amp_val_to_activate
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _AC_AMPCAP_NUM_STEPS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AC_AMPCAP_NUM_STEPS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w3
	cset	w8, ne
	cmp	w4, #0
	cset	w9, ne
Lloh3:
	adrp	x10, _AC_AMPCAP_OFFSET@GOTPAGE
Lloh4:
	ldr	x10, [x10, _AC_AMPCAP_OFFSET@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
Lloh6:
	adrp	x11, _AC_AMPCAP_OFFSET_SHIFT@GOTPAGE
Lloh7:
	ldr	x11, [x11, _AC_AMPCAP_OFFSET_SHIFT@GOTPAGEOFF]
	and	w10, w10, w3
Lloh8:
	ldr	w11, [x11]
	lsr	w10, w10, w11
	tst	w9, w8
Lloh9:
	adrp	x8, _AC_AMPCAP_MUTE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AC_AMPCAP_MUTE@GOTPAGEOFF]
	csel	w10, w10, wzr, ne
Lloh11:
	ldr	w8, [x8]
	tst	w8, w3
	cset	w8, eq
Lloh12:
	adrp	x11, _HDA_AMP_MUTE@GOTPAGE
Lloh13:
	ldr	x11, [x11, _HDA_AMP_MUTE@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh14:
	ldr	w9, [x11]
	cmp	w8, #0
	csel	w8, wzr, w9, ne
	orr	w0, w8, w10
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AC_AMPCAP_NUM_STEPS,4,2        ; @AC_AMPCAP_NUM_STEPS
	.comm	_AC_AMPCAP_OFFSET,4,2           ; @AC_AMPCAP_OFFSET
	.comm	_AC_AMPCAP_OFFSET_SHIFT,4,2     ; @AC_AMPCAP_OFFSET_SHIFT
	.comm	_AC_AMPCAP_MUTE,4,2             ; @AC_AMPCAP_MUTE
	.comm	_HDA_AMP_MUTE,4,2               ; @HDA_AMP_MUTE
	.no_dead_strip	_get_amp_val_to_activate
.subsections_via_symbols
