	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function master_mute_sw_put
_master_mute_sw_put:                    ## @master_mute_sw_put
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_snd_ac97_put_volsw
	movl	%eax, %r14d
	testl	%eax, %eax
	jle	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_snd_kcontrol_chip
	movl	(%rbx), %ecx
	movl	%ecx, %edx
	shrl	$8, %edx
	shrl	$12, %ecx
	xorl	%edx, %ecx
	xorl	%edx, %edx
	testb	$15, %cl
	setne	%dl
	shll	$7, %edx
	orl	$32768, %edx                    ## imm = 0x8000
	movq	_AC97_POWERDOWN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	(%rax), %rcx
	movq	_AC97_MASTER@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movzwl	(%rcx,%rdi,2), %edi
	notl	%edi
	xorl	%ecx, %ecx
	testl	%edi, %edx
	sete	%cl
	shll	$15, %ecx
	movq	%rax, %rdi
	movl	$32768, %edx                    ## imm = 0x8000
	callq	_snd_ac97_update_bits
LBB0_2:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AC97_POWERDOWN,4,2             ## @AC97_POWERDOWN
	.comm	_AC97_MASTER,8,3                ## @AC97_MASTER
	.no_dead_strip	_master_mute_sw_put
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function master_mute_sw_put
_master_mute_sw_put:                    ; @master_mute_sw_put
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	bl	_snd_ac97_put_volsw
	mov	x19, x0
	cmp	w0, #1
	b.lt	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_snd_kcontrol_chip
	ldr	w8, [x20]
	lsr	w9, w8, #8
	eor	w8, w9, w8, lsr #12
	tst	w8, #0xf
	mov	w8, #32896
	mov	w9, #32768
	csel	w8, w9, w8, eq
Lloh0:
	adrp	x9, _AC97_POWERDOWN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AC97_POWERDOWN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	ldr	x9, [x0]
Lloh3:
	adrp	x10, _AC97_MASTER@GOTPAGE
Lloh4:
	ldr	x10, [x10, _AC97_MASTER@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	ldrh	w9, [x9, x10, lsl #1]
	bics	wzr, w8, w9
	cset	w8, eq
	lsl	w3, w8, #15
	mov	w2, #32768
	bl	_snd_ac97_update_bits
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AC97_POWERDOWN,4,2             ; @AC97_POWERDOWN
	.comm	_AC97_MASTER,8,3                ; @AC97_MASTER
	.no_dead_strip	_master_mute_sw_put
.subsections_via_symbols
