	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_ac97_ad18xx_pcm_get_bits
_snd_ac97_ad18xx_pcm_get_bits:          ## @snd_ac97_ad18xx_pcm_get_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), %edi
	movl	%edi, %esi
	andl	$3, %esi
	movl	%edi, %ecx
	shrl	$8, %ecx
	andl	$15, %ecx
	movl	%edi, %edx
	shrl	$12, %edx
	andl	$15, %edx
	shrl	$16, %edi
	movzbl	%dil, %edi
	movq	8(%rax), %r8
	movl	(%r8,%rsi,4), %ebx
	sarl	%cl, %ebx
	notl	%ebx
	andl	%edi, %ebx
	movq	(%r14), %r9
	movl	%ebx, (%r9)
	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	(%r8,%rsi,4), %eax
	movl	%edx, %ecx
	sarl	%cl, %eax
	notl	%eax
	andl	%eax, %edi
	movl	%edi, 4(%r9)
LBB0_3:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AC97_STEREO_MUTES,4,2          ## @AC97_STEREO_MUTES
	.no_dead_strip	_snd_ac97_ad18xx_pcm_get_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_get_bits
_snd_ac97_ad18xx_pcm_get_bits:          ; @snd_ac97_ad18xx_pcm_get_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	w10, [x20]
	and	x8, x10, #0x3
	ubfx	w13, w10, #8, #4
	ubfx	w9, w10, #12, #4
	ldr	x11, [x0, #8]
	ldr	w12, [x11, x8, lsl #2]
	ubfx	w10, w10, #16, #8
	asr	w12, w12, w13
	bic	w14, w10, w12
	ldr	x12, [x19]
	str	w14, [x12]
	cmp	w13, w9
	b.eq	LBB0_3
; %bb.1:
	ldr	w13, [x0]
Lloh0:
	adrp	x14, _AC97_STEREO_MUTES@GOTPAGE
Lloh1:
	ldr	x14, [x14, _AC97_STEREO_MUTES@GOTPAGEOFF]
Lloh2:
	ldr	w14, [x14]
	tst	w14, w13
	b.eq	LBB0_3
; %bb.2:
	ldr	w8, [x11, x8, lsl #2]
	asr	w8, w8, w9
	bic	w8, w10, w8
	str	w8, [x12, #4]
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.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_get_bits
.subsections_via_symbols
