	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wm8903_class_w_put
_wm8903_class_w_put:                    ## @wm8903_class_w_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r13
	callq	_snd_kcontrol_chip
	movq	(%rax), %r12
	movq	(%r12), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	8(%r12), %r14
	movq	_WM8903_CLASS_W_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_snd_soc_read
	movl	%eax, %r15d
	movq	(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.1:
	movl	(%r14), %eax
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_WM8903_CLASS_W_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_WM8903_CP_DYN_FREQ@GOTPCREL(%rip), %rax
	movq	_WM8903_CP_DYN_V@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	notl	%edx
	andl	%r15d, %edx
	movq	%r12, %rdi
	callq	_snd_soc_write
	movl	(%r14), %eax
LBB0_3:
	incl	%eax
	movl	%eax, (%r14)
LBB0_4:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_snd_soc_dapm_put_volsw
	movl	%eax, %r13d
	movq	(%rbx), %rax
	cmpq	$0, (%rax)
	movl	(%r14), %edx
	jne	LBB0_8
## %bb.5:
	cmpl	$1, %edx
	jne	LBB0_7
## %bb.6:
	leaq	L_.str.1(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_WM8903_CP_DYN_FREQ@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_WM8903_CLASS_W_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_WM8903_CP_DYN_V@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_snd_soc_write
	movl	(%r14), %edx
LBB0_7:
	decl	%edx
	movl	%edx, (%r14)
LBB0_8:
	leaq	L_.str.2(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WM8903_CLASS_W_0,4,2           ## @WM8903_CLASS_W_0
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Disabling Class W\n"

	.comm	_WM8903_CP_DYN_FREQ,4,2         ## @WM8903_CP_DYN_FREQ
	.comm	_WM8903_CP_DYN_V,4,2            ## @WM8903_CP_DYN_V
L_.str.1:                               ## @.str.1
	.asciz	"Enabling Class W\n"

L_.str.2:                               ## @.str.2
	.asciz	"Bypass use count now %d\n"

	.no_dead_strip	_wm8903_class_w_put
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wm8903_class_w_put
_wm8903_class_w_put:                    ; @wm8903_class_w_put
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x1
	mov	x23, x0
	bl	_snd_kcontrol_chip
	ldr	x20, [x0]
	ldp	x19, x24, [x20]
Lloh0:
	adrp	x25, _WM8903_CLASS_W_0@GOTPAGE
Lloh1:
	ldr	x25, [x25, _WM8903_CLASS_W_0@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x0, x20
	bl	_snd_soc_read
	mov	x22, x0
	ldr	x8, [x21]
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	w8, [x24]
	cbnz	w8, LBB0_3
; %bb.2:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	ldr	w1, [x25]
Lloh4:
	adrp	x8, _WM8903_CP_DYN_FREQ@GOTPAGE
Lloh5:
	ldr	x8, [x8, _WM8903_CP_DYN_FREQ@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _WM8903_CP_DYN_V@GOTPAGE
Lloh8:
	ldr	x9, [x9, _WM8903_CP_DYN_V@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w2, w22, w8
	mov	x0, x20
	bl	_snd_soc_write
	ldr	w8, [x24]
LBB0_3:
	add	w8, w8, #1
	str	w8, [x24]
LBB0_4:
	mov	x0, x23
	mov	x1, x21
	bl	_snd_soc_dapm_put_volsw
	mov	x23, x0
	ldr	x8, [x21]
	ldr	x9, [x8]
	ldr	w8, [x24]
	cbnz	x9, LBB0_8
; %bb.5:
	cmp	w8, #1
	b.ne	LBB0_7
; %bb.6:
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	ldr	w1, [x25]
Lloh12:
	adrp	x8, _WM8903_CP_DYN_FREQ@GOTPAGE
Lloh13:
	ldr	x8, [x8, _WM8903_CP_DYN_FREQ@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	orr	w8, w8, w22
Lloh15:
	adrp	x9, _WM8903_CP_DYN_V@GOTPAGE
Lloh16:
	ldr	x9, [x9, _WM8903_CP_DYN_V@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x20
	bl	_snd_soc_write
	ldr	w8, [x24]
LBB0_7:
	sub	w8, w8, #1
	str	w8, [x24]
LBB0_8:
	str	x8, [sp]
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	mov	x0, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_WM8903_CLASS_W_0,4,2           ; @WM8903_CLASS_W_0
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Disabling Class W\n"

	.comm	_WM8903_CP_DYN_FREQ,4,2         ; @WM8903_CP_DYN_FREQ
	.comm	_WM8903_CP_DYN_V,4,2            ; @WM8903_CP_DYN_V
l_.str.1:                               ; @.str.1
	.asciz	"Enabling Class W\n"

l_.str.2:                               ; @.str.2
	.asciz	"Bypass use count now %d\n"

	.no_dead_strip	_wm8903_class_w_put
.subsections_via_symbols
