	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function inmixer_event
_inmixer_event:                         ## @inmixer_event
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	(%rdi), %edi
	movq	_WM8990_POWER_MANAGEMENT_2@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_snd_soc_read
	movl	%eax, %ebx
	movl	(%r14), %edi
	movq	_WM8990_INTDRIVBITS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_snd_soc_read
	movq	_WM8990_INMIXL_PWR_BIT@GOTPCREL(%rip), %rdx
	movq	_WM8990_AINLMUX_PWR_BIT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %esi
	shll	%cl, %esi
	movb	(%rdx), %cl
	movl	$1, %edx
	btsl	%ecx, %esi
	movq	_WM8990_AINL_ENA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%edi, %ecx
	orl	%ebx, %ecx
	notl	%edi
	andl	%edi, %ebx
	testl	%eax, %esi
	cmovnel	%ecx, %ebx
	movq	_WM8990_AINRMUX_PWR_BIT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	movq	_WM8990_INMIXR_PWR_BIT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	btsl	%ecx, %edx
	movq	_WM8990_AINR_ENA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ebx, %ecx
	andl	%edi, %ebx
	testl	%eax, %edx
	cmovnel	%ecx, %ebx
	movl	(%r14), %edi
	movl	(%r15), %esi
	movl	%ebx, %edx
	callq	_snd_soc_write
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WM8990_POWER_MANAGEMENT_2,4,2  ## @WM8990_POWER_MANAGEMENT_2
	.comm	_WM8990_INTDRIVBITS,4,2         ## @WM8990_INTDRIVBITS
	.comm	_WM8990_INMIXL_PWR_BIT,4,2      ## @WM8990_INMIXL_PWR_BIT
	.comm	_WM8990_AINLMUX_PWR_BIT,4,2     ## @WM8990_AINLMUX_PWR_BIT
	.comm	_WM8990_AINL_ENA,4,2            ## @WM8990_AINL_ENA
	.comm	_WM8990_INMIXR_PWR_BIT,4,2      ## @WM8990_INMIXR_PWR_BIT
	.comm	_WM8990_AINRMUX_PWR_BIT,4,2     ## @WM8990_AINRMUX_PWR_BIT
	.comm	_WM8990_AINR_ENA,4,2            ## @WM8990_AINR_ENA
	.no_dead_strip	_inmixer_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function inmixer_event
_inmixer_event:                         ; @inmixer_event
	.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	x19, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x21, _WM8990_POWER_MANAGEMENT_2@GOTPAGE
Lloh1:
	ldr	x21, [x21, _WM8990_POWER_MANAGEMENT_2@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_snd_soc_read
	mov	x20, x0
	ldr	w0, [x19]
Lloh2:
	adrp	x8, _WM8990_INTDRIVBITS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _WM8990_INTDRIVBITS@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_snd_soc_read
Lloh5:
	adrp	x8, _WM8990_INMIXL_PWR_BIT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _WM8990_INMIXL_PWR_BIT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
Lloh8:
	adrp	x10, _WM8990_AINLMUX_PWR_BIT@GOTPAGE
Lloh9:
	ldr	x10, [x10, _WM8990_AINLMUX_PWR_BIT@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	lsl	w10, w9, w10
Lloh11:
	adrp	x11, _WM8990_AINL_ENA@GOTPAGE
Lloh12:
	ldr	x11, [x11, _WM8990_AINL_ENA@GOTPAGEOFF]
	orr	w8, w10, w8
Lloh13:
	ldr	w10, [x11]
	orr	w11, w10, w20
	bic	w12, w20, w10
	tst	w8, w0
	csel	w8, w12, w11, eq
Lloh14:
	adrp	x11, _WM8990_INMIXR_PWR_BIT@GOTPAGE
Lloh15:
	ldr	x11, [x11, _WM8990_INMIXR_PWR_BIT@GOTPAGEOFF]
Lloh16:
	ldr	w11, [x11]
	lsl	w11, w9, w11
Lloh17:
	adrp	x12, _WM8990_AINRMUX_PWR_BIT@GOTPAGE
Lloh18:
	ldr	x12, [x12, _WM8990_AINRMUX_PWR_BIT@GOTPAGEOFF]
Lloh19:
	ldr	w12, [x12]
	lsl	w9, w9, w12
	orr	w9, w9, w11
Lloh20:
	adrp	x11, _WM8990_AINR_ENA@GOTPAGE
Lloh21:
	ldr	x11, [x11, _WM8990_AINR_ENA@GOTPAGEOFF]
Lloh22:
	ldr	w11, [x11]
	orr	w11, w11, w8
	bic	w8, w8, w10
	tst	w9, w0
	csel	w2, w8, w11, eq
	ldr	w0, [x19]
	ldr	w1, [x21]
	bl	_snd_soc_write
	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 AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_WM8990_POWER_MANAGEMENT_2,4,2  ; @WM8990_POWER_MANAGEMENT_2
	.comm	_WM8990_INTDRIVBITS,4,2         ; @WM8990_INTDRIVBITS
	.comm	_WM8990_INMIXL_PWR_BIT,4,2      ; @WM8990_INMIXL_PWR_BIT
	.comm	_WM8990_AINLMUX_PWR_BIT,4,2     ; @WM8990_AINLMUX_PWR_BIT
	.comm	_WM8990_AINL_ENA,4,2            ; @WM8990_AINL_ENA
	.comm	_WM8990_INMIXR_PWR_BIT,4,2      ; @WM8990_INMIXR_PWR_BIT
	.comm	_WM8990_AINRMUX_PWR_BIT,4,2     ; @WM8990_AINRMUX_PWR_BIT
	.comm	_WM8990_AINR_ENA,4,2            ; @WM8990_AINR_ENA
	.no_dead_strip	_inmixer_event
.subsections_via_symbols
