	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function put_vol_mute
_put_vol_mute:                          ## @put_vol_mute
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%ecx, %ecx
	jne	LBB0_1
## %bb.2:
	movq	_AC_AMP_SET_LEFT@GOTPCREL(%rip), %r10
	jmp	LBB0_3
LBB0_1:
	movq	_AC_AMP_SET_RIGHT@GOTPCREL(%rip), %r10
LBB0_3:
	movl	16(%rbp), %r11d
	movq	_HDA_OUTPUT@GOTPCREL(%rip), %rcx
	cmpl	%r8d, (%rcx)
	jne	LBB0_4
## %bb.5:
	movq	_AC_AMP_SET_OUTPUT@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_4:
	movq	_AC_AMP_SET_INPUT@GOTPCREL(%rip), %rcx
LBB0_6:
	movl	(%rcx), %eax
	orl	(%r10), %eax
	movq	_AC_AMP_SET_INDEX_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %r9d
	orl	%eax, %r9d
	movq	_HDA_AMP_MUTE@GOTPCREL(%rip), %rax
	testl	%r11d, (%rax)
	je	LBB0_9
## %bb.7:
	movq	_AC_AMPCAP_MUTE@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	jne	LBB0_9
## %bb.8:
	movq	_AC_AMPCAP_MIN_MUTE@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	jne	LBB0_10
LBB0_9:
	orl	%r11d, %r9d
LBB0_10:
	movq	_AC_VERB_SET_AMP_GAIN_MUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%edx, %esi
	xorl	%edx, %edx
	movl	%r9d, %r8d
	popq	%rbp
	jmp	_snd_hda_codec_write            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AC_AMP_SET_RIGHT,4,2           ## @AC_AMP_SET_RIGHT
	.comm	_AC_AMP_SET_LEFT,4,2            ## @AC_AMP_SET_LEFT
	.comm	_HDA_OUTPUT,4,2                 ## @HDA_OUTPUT
	.comm	_AC_AMP_SET_OUTPUT,4,2          ## @AC_AMP_SET_OUTPUT
	.comm	_AC_AMP_SET_INPUT,4,2           ## @AC_AMP_SET_INPUT
	.comm	_AC_AMP_SET_INDEX_SHIFT,4,2     ## @AC_AMP_SET_INDEX_SHIFT
	.comm	_HDA_AMP_MUTE,4,2               ## @HDA_AMP_MUTE
	.comm	_AC_AMPCAP_MUTE,4,2             ## @AC_AMPCAP_MUTE
	.comm	_AC_AMPCAP_MIN_MUTE,4,2         ## @AC_AMPCAP_MIN_MUTE
	.comm	_AC_VERB_SET_AMP_GAIN_MUTE,4,2  ## @AC_VERB_SET_AMP_GAIN_MUTE
	.no_dead_strip	_put_vol_mute
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function put_vol_mute
_put_vol_mute:                          ; @put_vol_mute
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _AC_AMP_SET_RIGHT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AC_AMP_SET_RIGHT@GOTPAGEOFF]
Lloh2:
	adrp	x9, _AC_AMP_SET_LEFT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _AC_AMP_SET_LEFT@GOTPAGEOFF]
	cmp	w3, #0
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
Lloh4:
	adrp	x9, _HDA_OUTPUT@GOTPAGE
Lloh5:
	ldr	x9, [x9, _HDA_OUTPUT@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
Lloh7:
	adrp	x10, _AC_AMP_SET_OUTPUT@GOTPAGE
Lloh8:
	ldr	x10, [x10, _AC_AMP_SET_OUTPUT@GOTPAGEOFF]
Lloh9:
	adrp	x11, _AC_AMP_SET_INPUT@GOTPAGE
Lloh10:
	ldr	x11, [x11, _AC_AMP_SET_INPUT@GOTPAGEOFF]
	cmp	w9, w4
	csel	x9, x10, x11, eq
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh11:
	adrp	x9, _AC_AMP_SET_INDEX_SHIFT@GOTPAGE
Lloh12:
	ldr	x9, [x9, _AC_AMP_SET_INDEX_SHIFT@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	lsl	w9, w5, w9
	orr	w4, w8, w9
Lloh14:
	adrp	x8, _HDA_AMP_MUTE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _HDA_AMP_MUTE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	tst	w8, w6
	b.eq	LBB0_3
; %bb.1:
Lloh17:
	adrp	x8, _AC_AMPCAP_MUTE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _AC_AMPCAP_MUTE@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	tst	w8, w1
	b.ne	LBB0_3
; %bb.2:
Lloh20:
	adrp	x8, _AC_AMPCAP_MIN_MUTE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _AC_AMPCAP_MIN_MUTE@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	tst	w8, w1
	b.ne	LBB0_4
LBB0_3:
	orr	w4, w4, w6
LBB0_4:
Lloh23:
	adrp	x8, _AC_VERB_SET_AMP_GAIN_MUTE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _AC_VERB_SET_AMP_GAIN_MUTE@GOTPAGEOFF]
Lloh25:
	ldr	w3, [x8]
	mov	x1, x2
	mov	w2, #0
	b	_snd_hda_codec_write
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_AC_AMP_SET_RIGHT,4,2           ; @AC_AMP_SET_RIGHT
	.comm	_AC_AMP_SET_LEFT,4,2            ; @AC_AMP_SET_LEFT
	.comm	_HDA_OUTPUT,4,2                 ; @HDA_OUTPUT
	.comm	_AC_AMP_SET_OUTPUT,4,2          ; @AC_AMP_SET_OUTPUT
	.comm	_AC_AMP_SET_INPUT,4,2           ; @AC_AMP_SET_INPUT
	.comm	_AC_AMP_SET_INDEX_SHIFT,4,2     ; @AC_AMP_SET_INDEX_SHIFT
	.comm	_HDA_AMP_MUTE,4,2               ; @HDA_AMP_MUTE
	.comm	_AC_AMPCAP_MUTE,4,2             ; @AC_AMPCAP_MUTE
	.comm	_AC_AMPCAP_MIN_MUTE,4,2         ; @AC_AMPCAP_MIN_MUTE
	.comm	_AC_VERB_SET_AMP_GAIN_MUTE,4,2  ; @AC_VERB_SET_AMP_GAIN_MUTE
	.no_dead_strip	_put_vol_mute
.subsections_via_symbols
