	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aureon_ac97_mmute_put
_aureon_ac97_mmute_put:                 ## @aureon_ac97_mmute_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, %r15
	callq	_snd_kcontrol_chip
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_snd_ice1712_save_gpio_status
	movq	_WM_OUT_MUX1@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_wm_get
	movl	%eax, %r12d
	movl	%r12d, %eax
	andl	$-3, %eax
	movq	(%r15), %rcx
	xorl	%edx, %edx
	cmpq	$0, (%rcx)
	setne	%dl
	leal	(%rax,%rdx,2), %r15d
	cmpw	%r15w, %r12w
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %esi
	movzwl	%r15w, %edx
	movq	%r14, %rdi
	callq	_wm_put
LBB0_2:
	xorl	%ebx, %ebx
	cmpw	%r15w, %r12w
	setne	%bl
	movq	%r14, %rdi
	callq	_snd_ice1712_restore_gpio_status
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WM_OUT_MUX1,4,2                ## @WM_OUT_MUX1
	.no_dead_strip	_aureon_ac97_mmute_put
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aureon_ac97_mmute_put
_aureon_ac97_mmute_put:                 ; @aureon_ac97_mmute_put
	.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
	bl	_snd_kcontrol_chip
	mov	x19, x0
	bl	_snd_ice1712_save_gpio_status
Lloh0:
	adrp	x22, _WM_OUT_MUX1@GOTPAGE
Lloh1:
	ldr	x22, [x22, _WM_OUT_MUX1@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_wm_get
	mov	x20, x0
	and	w8, w0, #0xfffffffd
	ldr	x9, [x21]
	ldr	x9, [x9]
	cmp	x9, #0
	cset	w9, ne
	orr	w21, w8, w9, lsl #1
	cmp	w0, w21
	b.eq	LBB0_2
; %bb.1:
	ldr	w1, [x22]
	and	w2, w21, #0xffff
	mov	x0, x19
	bl	_wm_put
LBB0_2:
	cmp	w20, w21, uxth
	cset	w20, ne
	mov	x0, x19
	bl	_snd_ice1712_restore_gpio_status
	mov	x0, x20
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_WM_OUT_MUX1,4,2                ; @WM_OUT_MUX1
	.no_dead_strip	_aureon_ac97_mmute_put
.subsections_via_symbols
