	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_wm8766_center_lfe_mix
_update_wm8766_center_lfe_mix:          ## @update_wm8766_center_lfe_mix
	.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
	.cfi_offset %rbx, -24
	movq	(%rdi), %rax
	movq	(%rax), %r11
	movq	_WM8766_DAC_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_WM8766_PL_LEFT_MASK@GOTPCREL(%rip), %r8
	movq	_WM8766_PL_RIGHT_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	_WM8766_PL_LEFT_LEFT@GOTPCREL(%rip), %r9
	movq	_WM8766_PL_LEFT_LRMIX@GOTPCREL(%rip), %r10
	movq	_WM8766_PL_RIGHT_RIGHT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_WM8766_PL_RIGHT_LRMIX@GOTPCREL(%rip), %rbx
	orl	(%r9), %ecx
	movl	(%rbx), %ebx
	orl	(%r10), %ebx
	testl	%esi, %esi
	cmovel	%ecx, %ebx
	orl	(%r8), %edx
	notl	%edx
	andl	(%r11,%rax,4), %edx
	orl	%ebx, %edx
	movq	%rax, %rsi
	popq	%rbx
	popq	%rbp
	jmp	_wm8766_write_cached            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_WM8766_DAC_CTRL,8,3            ## @WM8766_DAC_CTRL
	.comm	_WM8766_PL_LEFT_MASK,4,2        ## @WM8766_PL_LEFT_MASK
	.comm	_WM8766_PL_RIGHT_MASK,4,2       ## @WM8766_PL_RIGHT_MASK
	.comm	_WM8766_PL_LEFT_LRMIX,4,2       ## @WM8766_PL_LEFT_LRMIX
	.comm	_WM8766_PL_RIGHT_LRMIX,4,2      ## @WM8766_PL_RIGHT_LRMIX
	.comm	_WM8766_PL_LEFT_LEFT,4,2        ## @WM8766_PL_LEFT_LEFT
	.comm	_WM8766_PL_RIGHT_RIGHT,4,2      ## @WM8766_PL_RIGHT_RIGHT
	.no_dead_strip	_update_wm8766_center_lfe_mix
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_wm8766_center_lfe_mix
_update_wm8766_center_lfe_mix:          ; @update_wm8766_center_lfe_mix
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	x9, [x8]
Lloh0:
	adrp	x8, _WM8766_DAC_CTRL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WM8766_DAC_CTRL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w9, [x9, x8, lsl #2]
Lloh3:
	adrp	x10, _WM8766_PL_LEFT_MASK@GOTPAGE
Lloh4:
	ldr	x10, [x10, _WM8766_PL_LEFT_MASK@GOTPAGEOFF]
Lloh5:
	adrp	x11, _WM8766_PL_RIGHT_MASK@GOTPAGE
Lloh6:
	ldr	x11, [x11, _WM8766_PL_RIGHT_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
Lloh8:
	ldr	w11, [x11]
Lloh9:
	adrp	x12, _WM8766_PL_LEFT_LEFT@GOTPAGE
Lloh10:
	ldr	x12, [x12, _WM8766_PL_LEFT_LEFT@GOTPAGEOFF]
Lloh11:
	adrp	x13, _WM8766_PL_LEFT_LRMIX@GOTPAGE
Lloh12:
	ldr	x13, [x13, _WM8766_PL_LEFT_LRMIX@GOTPAGEOFF]
Lloh13:
	ldr	w12, [x12]
Lloh14:
	ldr	w13, [x13]
Lloh15:
	adrp	x14, _WM8766_PL_RIGHT_RIGHT@GOTPAGE
Lloh16:
	ldr	x14, [x14, _WM8766_PL_RIGHT_RIGHT@GOTPAGEOFF]
Lloh17:
	adrp	x15, _WM8766_PL_RIGHT_LRMIX@GOTPAGE
Lloh18:
	ldr	x15, [x15, _WM8766_PL_RIGHT_LRMIX@GOTPAGEOFF]
Lloh19:
	ldr	w14, [x14]
Lloh20:
	ldr	w15, [x15]
	orr	w12, w14, w12
	orr	w13, w15, w13
	cmp	w1, #0
	csel	w12, w12, w13, eq
	orr	w10, w11, w10
	bic	w9, w9, w10
	orr	w2, w12, w9
	mov	x1, x8
	b	_wm8766_write_cached
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh19
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WM8766_DAC_CTRL,8,3            ; @WM8766_DAC_CTRL
	.comm	_WM8766_PL_LEFT_MASK,4,2        ; @WM8766_PL_LEFT_MASK
	.comm	_WM8766_PL_RIGHT_MASK,4,2       ; @WM8766_PL_RIGHT_MASK
	.comm	_WM8766_PL_LEFT_LRMIX,4,2       ; @WM8766_PL_LEFT_LRMIX
	.comm	_WM8766_PL_RIGHT_LRMIX,4,2      ; @WM8766_PL_RIGHT_LRMIX
	.comm	_WM8766_PL_LEFT_LEFT,4,2        ; @WM8766_PL_LEFT_LEFT
	.comm	_WM8766_PL_RIGHT_RIGHT,4,2      ; @WM8766_PL_RIGHT_RIGHT
	.no_dead_strip	_update_wm8766_center_lfe_mix
.subsections_via_symbols
