	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_ac97_ad18xx_pcm_put_bits
_snd_ac97_ad18xx_pcm_put_bits:          ## @snd_ac97_ad18xx_pcm_put_bits
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_snd_kcontrol_chip
	movl	(%rbx), %esi
	movl	%esi, %ecx
	shrl	$8, %ecx
	andl	$15, %ecx
	movl	%esi, %edx
	shrl	$12, %edx
	andl	$15, %edx
	movl	%esi, %edi
	shrl	$16, %edi
	movzbl	%dil, %r8d
	movq	(%r14), %r9
	movl	(%r9), %edi
	notl	%edi
	andl	%r8d, %edi
	shll	%cl, %edi
	movl	%r8d, %r10d
	shll	%cl, %r10d
	cmpl	%edx, %ecx
	je	LBB0_3
## %bb.1:
	movq	_AC97_STEREO_MUTES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_3
## %bb.2:
	movl	4(%r9), %ebx
	notl	%ebx
	andl	%r8d, %ebx
	movl	%edx, %ecx
	shll	%cl, %ebx
	orl	%ebx, %edi
	shll	%cl, %r8d
	orl	%r8d, %r10d
LBB0_3:
	andl	$3, %esi
	movzwl	%r10w, %edx
	movzwl	%di, %ecx
	movq	%rax, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_snd_ac97_ad18xx_update_pcm_bits ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AC97_STEREO_MUTES,4,2          ## @AC97_STEREO_MUTES
	.no_dead_strip	_snd_ac97_ad18xx_pcm_put_bits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_ac97_ad18xx_pcm_put_bits
_snd_ac97_ad18xx_pcm_put_bits:          ; @snd_ac97_ad18xx_pcm_put_bits
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	bl	_snd_kcontrol_chip
	ldr	w8, [x20]
	ubfx	w14, w8, #8, #4
	ubfx	w11, w8, #12, #4
	ubfx	w12, w8, #16, #8
	ldr	x13, [x19]
	ldr	w9, [x13]
	bic	w9, w12, w9
	lsl	w9, w9, w14
	lsl	w10, w12, w14
	cmp	w14, w11
	b.eq	LBB0_3
; %bb.1:
	ldr	w14, [x0]
Lloh0:
	adrp	x15, _AC97_STEREO_MUTES@GOTPAGE
Lloh1:
	ldr	x15, [x15, _AC97_STEREO_MUTES@GOTPAGEOFF]
Lloh2:
	ldr	w15, [x15]
	tst	w15, w14
	b.eq	LBB0_3
; %bb.2:
	ldr	w13, [x13, #4]
	bic	w13, w12, w13
	lsl	w13, w13, w11
	orr	w9, w13, w9
	lsl	w11, w12, w11
	orr	w10, w10, w11
LBB0_3:
	and	w1, w8, #0x3
	and	w2, w10, #0xffff
	and	w3, w9, #0xffff
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_snd_ac97_ad18xx_update_pcm_bits
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AC97_STEREO_MUTES,4,2          ; @AC97_STEREO_MUTES
	.no_dead_strip	_snd_ac97_ad18xx_pcm_put_bits
.subsections_via_symbols
