	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wm8753_mute
_wm8753_mute:                           ## @wm8753_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	8(%rdi), %r14
	movq	_WM8753_DAC@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_wm8753_read_reg_cache
	andl	$65527, %eax                    ## imm = 0xFFF7
	testl	%r15d, %r15d
	je	LBB0_5
## %bb.1:
	cmpl	$1, (%rbx)
	jne	LBB0_4
## %bb.2:
	movq	_wm8753_dai@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_WM8753_DAI_VOICE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpl	$0, (%rcx,%rdx,4)
	je	LBB0_4
## %bb.3:
	movq	_WM8753_DAI_HIFI@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpl	$0, (%rcx,%rdx,4)
	jne	LBB0_7
LBB0_4:
	movl	(%r12), %esi
	orl	$8, %eax
	jmp	LBB0_6
LBB0_5:
	movl	(%r12), %esi
LBB0_6:
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_wm8753_write
LBB0_7:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WM8753_DAC,4,2                 ## @WM8753_DAC
	.comm	_wm8753_dai,8,3                 ## @wm8753_dai
	.comm	_WM8753_DAI_VOICE,8,3           ## @WM8753_DAI_VOICE
	.comm	_WM8753_DAI_HIFI,8,3            ## @WM8753_DAI_HIFI
	.no_dead_strip	_wm8753_mute
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wm8753_mute
_wm8753_mute:                           ; @wm8753_mute
	.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	x21, x1
	mov	x20, x0
	ldr	x19, [x0, #8]
Lloh0:
	adrp	x22, _WM8753_DAC@GOTPAGE
Lloh1:
	ldr	x22, [x22, _WM8753_DAC@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_wm8753_read_reg_cache
	mov	w8, #65527
	and	w2, w0, w8
	cbz	w21, LBB0_5
; %bb.1:
	ldr	w8, [x20]
	cmp	w8, #1
	b.ne	LBB0_4
; %bb.2:
Lloh2:
	adrp	x8, _wm8753_dai@GOTPAGE
Lloh3:
	ldr	x8, [x8, _wm8753_dai@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _WM8753_DAI_VOICE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _WM8753_DAI_VOICE@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	cbz	w9, LBB0_4
; %bb.3:
Lloh8:
	adrp	x9, _WM8753_DAI_HIFI@GOTPAGE
Lloh9:
	ldr	x9, [x9, _WM8753_DAI_HIFI@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	cbnz	w8, LBB0_7
LBB0_4:
	ldr	w1, [x22]
	orr	w2, w2, #0x8
	b	LBB0_6
LBB0_5:
	ldr	w1, [x22]
LBB0_6:
	mov	x0, x19
	bl	_wm8753_write
LBB0_7:
	mov	w0, #0
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_WM8753_DAC,4,2                 ; @WM8753_DAC
	.comm	_wm8753_dai,8,3                 ; @wm8753_dai
	.comm	_WM8753_DAI_VOICE,8,3           ; @WM8753_DAI_VOICE
	.comm	_WM8753_DAI_HIFI,8,3            ; @WM8753_DAI_HIFI
	.no_dead_strip	_wm8753_mute
.subsections_via_symbols
