	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_ac97_ad1985_vrefout_get
_snd_ac97_ad1985_vrefout_get:           ## @snd_ac97_ad1985_vrefout_get
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_snd_kcontrol_chip
	movq	(%rax), %rax
	movq	_AC97_AD_MISC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_AC97_AD198X_VREF_MASK@GOTPCREL(%rip), %rdx
	movzwl	(%rdx), %edx
	andw	(%rax,%rcx,2), %dx
	movzwl	%dx, %eax
	movq	_AC97_AD198X_VREF_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shrq	%cl, %rax
	leaq	_snd_ac97_ad1985_vrefout_get.reg2ctrl(%rip), %rcx
	movl	(%rcx,%rax,4), %eax
	movq	(%rbx), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @snd_ac97_ad1985_vrefout_get.reg2ctrl
_snd_ac97_ad1985_vrefout_get.reg2ctrl:
	.long	2                               ## 0x2
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	3                               ## 0x3

	.comm	_AC97_AD_MISC,8,3               ## @AC97_AD_MISC
	.comm	_AC97_AD198X_VREF_MASK,2,1      ## @AC97_AD198X_VREF_MASK
	.comm	_AC97_AD198X_VREF_SHIFT,2,1     ## @AC97_AD198X_VREF_SHIFT
	.no_dead_strip	_snd_ac97_ad1985_vrefout_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_ac97_ad1985_vrefout_get
_snd_ac97_ad1985_vrefout_get:           ; @snd_ac97_ad1985_vrefout_get
	.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
	bl	_snd_kcontrol_chip
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _AC97_AD_MISC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AC97_AD_MISC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldrh	w8, [x8, x9, lsl #1]
Lloh3:
	adrp	x9, _AC97_AD198X_VREF_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AC97_AD198X_VREF_MASK@GOTPAGEOFF]
	ldrh	w9, [x9]
	and	w8, w9, w8
	and	x8, x8, #0xffff
Lloh5:
	adrp	x9, _AC97_AD198X_VREF_SHIFT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AC97_AD198X_VREF_SHIFT@GOTPAGEOFF]
	ldrh	w9, [x9]
Lloh7:
	adrp	x10, _snd_ac97_ad1985_vrefout_get.reg2ctrl@PAGE
Lloh8:
	add	x10, x10, _snd_ac97_ad1985_vrefout_get.reg2ctrl@PAGEOFF
	lsr	x8, x8, x9
	ldr	w8, [x10, x8, lsl #2]
	ldr	x9, [x19]
	str	w8, [x9]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @snd_ac97_ad1985_vrefout_get.reg2ctrl
_snd_ac97_ad1985_vrefout_get.reg2ctrl:
	.long	2                               ; 0x2
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	3                               ; 0x3

	.comm	_AC97_AD_MISC,8,3               ; @AC97_AD_MISC
	.comm	_AC97_AD198X_VREF_MASK,2,1      ; @AC97_AD198X_VREF_MASK
	.comm	_AC97_AD198X_VREF_SHIFT,2,1     ; @AC97_AD198X_VREF_SHIFT
	.no_dead_strip	_snd_ac97_ad1985_vrefout_get
.subsections_via_symbols
