	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function class_w_put
_class_w_put:                           ## @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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_snd_kcontrol_chip
	movq	(%rax), %r15
	movq	8(%r15), %r12
	movq	(%rbx), %rax
	cmpl	$0, (%rax)
	jne	LBB0_4
## %bb.1:
	movl	(%r12), %eax
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movl	(%r15), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_WM8993_CLASS_W_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_WM8993_CP_DYN_FREQ@GOTPCREL(%rip), %rax
	movq	_WM8993_CP_DYN_V@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	callq	_snd_soc_update_bits
	movl	(%r12), %eax
LBB0_3:
	incl	%eax
	movl	%eax, (%r12)
LBB0_4:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_snd_soc_dapm_put_enum_double
	movl	%eax, %r14d
	movq	(%rbx), %rax
	cmpl	$1, (%rax)
	movl	(%r12), %edx
	jne	LBB0_8
## %bb.5:
	cmpl	$1, %edx
	jne	LBB0_7
## %bb.6:
	movl	(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_WM8993_CLASS_W_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_WM8993_CP_DYN_FREQ@GOTPCREL(%rip), %rax
	movq	_WM8993_CP_DYN_V@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	%r15, %rdi
	movl	%ecx, %edx
	callq	_snd_soc_update_bits
	movl	(%r12), %edx
LBB0_7:
	decl	%edx
	movl	%edx, (%r12)
LBB0_8:
	movl	(%r15), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Disabling Class W\n"

	.comm	_WM8993_CLASS_W_0,4,2           ## @WM8993_CLASS_W_0
	.comm	_WM8993_CP_DYN_FREQ,4,2         ## @WM8993_CP_DYN_FREQ
	.comm	_WM8993_CP_DYN_V,4,2            ## @WM8993_CP_DYN_V
L_.str.1:                               ## @.str.1
	.asciz	"Enabling Class W\n"

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

	.no_dead_strip	_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 class_w_put
_class_w_put:                           ; @class_w_put
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	bl	_snd_kcontrol_chip
	ldr	x19, [x0]
	ldr	x22, [x19, #8]
	ldr	x8, [x21]
	ldr	w8, [x8]
	cbnz	w8, LBB0_4
; %bb.1:
	ldr	w8, [x22]
	cbnz	w8, LBB0_3
; %bb.2:
	ldr	w0, [x19]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
Lloh2:
	adrp	x8, _WM8993_CLASS_W_0@GOTPAGE
Lloh3:
	ldr	x8, [x8, _WM8993_CLASS_W_0@GOTPAGEOFF]
Lloh4:
	adrp	x9, _WM8993_CP_DYN_FREQ@GOTPAGE
Lloh5:
	ldr	x9, [x9, _WM8993_CP_DYN_FREQ@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	ldr	w8, [x9]
Lloh8:
	adrp	x9, _WM8993_CP_DYN_V@GOTPAGE
Lloh9:
	ldr	x9, [x9, _WM8993_CP_DYN_V@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	mov	w3, #0
	bl	_snd_soc_update_bits
	ldr	w8, [x22]
LBB0_3:
	add	w8, w8, #1
	str	w8, [x22]
LBB0_4:
	mov	x0, x20
	mov	x1, x21
	bl	_snd_soc_dapm_put_enum_double
	mov	x20, x0
	ldr	x8, [x21]
	ldr	w9, [x8]
	ldr	w8, [x22]
	cmp	w9, #1
	b.ne	LBB0_8
; %bb.5:
	cmp	w8, #1
	b.ne	LBB0_7
; %bb.6:
	ldr	w0, [x19]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_dbg
Lloh13:
	adrp	x8, _WM8993_CLASS_W_0@GOTPAGE
Lloh14:
	ldr	x8, [x8, _WM8993_CLASS_W_0@GOTPAGEOFF]
Lloh15:
	adrp	x9, _WM8993_CP_DYN_FREQ@GOTPAGE
Lloh16:
	ldr	x9, [x9, _WM8993_CP_DYN_FREQ@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	ldr	w8, [x9]
Lloh19:
	adrp	x9, _WM8993_CP_DYN_V@GOTPAGE
Lloh20:
	ldr	x9, [x9, _WM8993_CP_DYN_V@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	mov	x3, x2
	bl	_snd_soc_update_bits
	ldr	w8, [x22]
LBB0_7:
	sub	w8, w8, #1
	str	w8, [x22]
LBB0_8:
	ldr	w0, [x19]
	str	x8, [sp]
Lloh22:
	adrp	x1, l_.str.2@PAGE
Lloh23:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_dbg
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh17
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Disabling Class W\n"

	.comm	_WM8993_CLASS_W_0,4,2           ; @WM8993_CLASS_W_0
	.comm	_WM8993_CP_DYN_FREQ,4,2         ; @WM8993_CP_DYN_FREQ
	.comm	_WM8993_CP_DYN_V,4,2            ; @WM8993_CP_DYN_V
l_.str.1:                               ; @.str.1
	.asciz	"Enabling Class W\n"

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

	.no_dead_strip	_class_w_put
.subsections_via_symbols
