	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stac9460_adc_mute_put
_stac9460_adc_mute_put:                 ## @stac9460_adc_mute_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, %r14
	callq	_snd_kcontrol_chip
	movq	%rax, %r15
	movq	_STAC946X_MIC_L_VOLUME@GOTPCREL(%rip), %r12
	movl	(%r12), %ebx
	movq	%rax, %rdi
	movl	%ebx, %esi
	callq	_stac9460_get
	movq	(%r14), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	shll	$7, %ecx
	movzbl	%al, %edx
	movl	%edx, %eax
	andl	$127, %eax
	orl	%ecx, %eax
	movzbl	%al, %ecx
	cmpl	%edx, %ecx
	je	LBB0_2
## %bb.1:
	movzbl	%al, %edx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_stac9460_put
LBB0_2:
	movl	(%r12), %r12d
	incl	%r12d
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_stac9460_get
	movq	(%r14), %rcx
	movl	4(%rcx), %ecx
	notl	%ecx
	shll	$7, %ecx
	movzbl	%al, %ebx
	movl	%ebx, %eax
	andl	$127, %eax
	orl	%ecx, %eax
	movzbl	%al, %r14d
	cmpl	%ebx, %r14d
	je	LBB0_4
## %bb.3:
	movzbl	%al, %edx
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_stac9460_put
LBB0_4:
	xorl	%eax, %eax
	cmpl	%ebx, %r14d
	setne	%al
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STAC946X_MIC_L_VOLUME,4,2      ## @STAC946X_MIC_L_VOLUME
	.no_dead_strip	_stac9460_adc_mute_put
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stac9460_adc_mute_put
_stac9460_adc_mute_put:                 ; @stac9460_adc_mute_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	x20, x1
	bl	_snd_kcontrol_chip
	mov	x19, x0
Lloh0:
	adrp	x22, _STAC946X_MIC_L_VOLUME@GOTPAGE
Lloh1:
	ldr	x22, [x22, _STAC946X_MIC_L_VOLUME@GOTPAGEOFF]
	ldr	w21, [x22]
	mov	x1, x21
	bl	_stac9460_get
	ldr	x8, [x20]
	ldr	w8, [x8]
	mvn	w9, w8
	mov	x8, x0
	bfi	w8, w9, #7, #25
	cmp	w0, w8, uxtb
	b.eq	LBB0_2
; %bb.1:
	and	w2, w8, #0xff
	mov	x0, x19
	mov	x1, x21
	bl	_stac9460_put
LBB0_2:
	ldr	w8, [x22]
	add	w21, w8, #1
	mov	x0, x19
	mov	x1, x21
	bl	_stac9460_get
	mov	x22, x0
	ldr	x8, [x20]
	ldr	w8, [x8, #4]
	mvn	w8, w8
	mov	x9, x0
	bfi	w9, w8, #7, #25
	and	w20, w9, #0xff
	cmp	w20, w0
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_stac9460_put
LBB0_4:
	cmp	w20, w22
	cset	w0, ne
	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	_STAC946X_MIC_L_VOLUME,4,2      ; @STAC946X_MIC_L_VOLUME
	.no_dead_strip	_stac9460_adc_mute_put
.subsections_via_symbols
