	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_ac97_ad18xx_pcm_info_bits
_snd_ac97_ad18xx_pcm_info_bits:         ## @snd_ac97_ad18xx_pcm_info_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), %edx
	movl	%edx, %ecx
	shrl	$16, %ecx
	andl	$15, %ecx
	movl	%edx, %esi
	shrl	$8, %esi
	shrl	$12, %edx
	cmpl	$1, %ecx
	jne	LBB0_1
## %bb.2:
	movq	_SNDRV_CTL_ELEM_TYPE_BOOLEAN@GOTPCREL(%rip), %rdi
	jmp	LBB0_3
LBB0_1:
	movq	_SNDRV_CTL_ELEM_TYPE_INTEGER@GOTPCREL(%rip), %rdi
LBB0_3:
	movl	(%rdi), %edi
	movl	%edi, 24(%r14)
	xorl	%edx, %esi
	testb	$15, %sil
	je	LBB0_5
## %bb.4:
	movq	_AC97_STEREO_MUTES@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movl	$2, %edx
	testl	%esi, (%rax)
	jne	LBB0_6
LBB0_5:
	movl	$1, %edx
LBB0_6:
	movl	%edx, (%r14)
	movq	$0, 16(%r14)
	movl	%ecx, 8(%r14)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_CTL_ELEM_TYPE_BOOLEAN,4,2 ## @SNDRV_CTL_ELEM_TYPE_BOOLEAN
	.comm	_SNDRV_CTL_ELEM_TYPE_INTEGER,4,2 ## @SNDRV_CTL_ELEM_TYPE_INTEGER
	.comm	_AC97_STEREO_MUTES,4,2          ## @AC97_STEREO_MUTES
	.no_dead_strip	_snd_ac97_ad18xx_pcm_info_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_info_bits
_snd_ac97_ad18xx_pcm_info_bits:         ; @snd_ac97_ad18xx_pcm_info_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	w9, [x20]
	ubfx	w8, w9, #16, #4
	lsr	w10, w9, #8
Lloh0:
	adrp	x11, _SNDRV_CTL_ELEM_TYPE_BOOLEAN@GOTPAGE
Lloh1:
	ldr	x11, [x11, _SNDRV_CTL_ELEM_TYPE_BOOLEAN@GOTPAGEOFF]
Lloh2:
	adrp	x12, _SNDRV_CTL_ELEM_TYPE_INTEGER@GOTPAGE
Lloh3:
	ldr	x12, [x12, _SNDRV_CTL_ELEM_TYPE_INTEGER@GOTPAGEOFF]
	cmp	w8, #1
	csel	x11, x11, x12, eq
	ldr	w11, [x11]
	str	w11, [x19, #24]
	eor	w9, w10, w9, lsr #12
	tst	w9, #0xf
	b.eq	LBB0_3
; %bb.1:
	ldr	w9, [x0]
Lloh4:
	adrp	x10, _AC97_STEREO_MUTES@GOTPAGE
Lloh5:
	ldr	x10, [x10, _AC97_STEREO_MUTES@GOTPAGEOFF]
Lloh6:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_3
; %bb.2:
	mov	w9, #2
	b	LBB0_4
LBB0_3:
	mov	w9, #1
LBB0_4:
	str	w9, [x19]
	str	xzr, [x19, #16]
	str	w8, [x19, #8]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_CTL_ELEM_TYPE_BOOLEAN,4,2 ; @SNDRV_CTL_ELEM_TYPE_BOOLEAN
	.comm	_SNDRV_CTL_ELEM_TYPE_INTEGER,4,2 ; @SNDRV_CTL_ELEM_TYPE_INTEGER
	.comm	_AC97_STEREO_MUTES,4,2          ; @AC97_STEREO_MUTES
	.no_dead_strip	_snd_ac97_ad18xx_pcm_info_bits
.subsections_via_symbols
