	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_wm87x6_mute
_update_wm87x6_mute:                    ## @update_wm87x6_mute
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_update_wm8776_mute
	movq	_WM8766_DAC_CTRL2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_WM8766_ZCD@GOTPCREL(%rip), %rax
	xorl	%edx, %edx
	cmpq	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	_WM8766_DMUTE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
LBB0_2:
	orl	(%rax), %edx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_wm8766_write_cached            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_WM8766_DAC_CTRL2,4,2           ## @WM8766_DAC_CTRL2
	.comm	_WM8766_ZCD,4,2                 ## @WM8766_ZCD
	.comm	_WM8766_DMUTE_MASK,4,2          ## @WM8766_DMUTE_MASK
	.no_dead_strip	_update_wm87x6_mute
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_wm87x6_mute
_update_wm87x6_mute:                    ; @update_wm87x6_mute
	.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	x19, x0
	bl	_update_wm8776_mute
Lloh0:
	adrp	x8, _WM8766_DAC_CTRL2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WM8766_DAC_CTRL2@GOTPAGEOFF]
Lloh2:
	adrp	x9, _WM8766_ZCD@GOTPAGE
Lloh3:
	ldr	x9, [x9, _WM8766_ZCD@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	ldr	w8, [x9]
	ldr	x9, [x19]
Lloh6:
	adrp	x10, _WM8766_DMUTE_MASK@GOTPAGE
Lloh7:
	ldr	x10, [x10, _WM8766_DMUTE_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	cmp	x9, #0
	csel	w9, wzr, w10, eq
	orr	w2, w9, w8
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wm8766_write_cached
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_WM8766_DAC_CTRL2,4,2           ; @WM8766_DAC_CTRL2
	.comm	_WM8766_ZCD,4,2                 ; @WM8766_ZCD
	.comm	_WM8766_DMUTE_MASK,4,2          ; @WM8766_DMUTE_MASK
	.no_dead_strip	_update_wm87x6_mute
.subsections_via_symbols
