	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_ac97_ad1888_lohpsel_get
_snd_ac97_ad1888_lohpsel_get:           ## @snd_ac97_ad1888_lohpsel_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), %rdx
	movq	_AC97_AD_MISC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movq	_AC97_AD198X_LOSEL@GOTPCREL(%rip), %rcx
	movzwl	(%rcx), %ecx
	xorl	%edi, %edi
	andw	(%rdx,%rsi,2), %cx
	sete	%dil
	movq	(%rbx), %rdx
	movl	%edi, (%rdx)
	cmpq	$0, 8(%rax)
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	testw	%cx, %cx
	setne	%al
	movl	%eax, (%rdx)
LBB0_2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AC97_AD_MISC,8,3               ## @AC97_AD_MISC
	.comm	_AC97_AD198X_LOSEL,2,1          ## @AC97_AD198X_LOSEL
	.no_dead_strip	_snd_ac97_ad1888_lohpsel_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_ad1888_lohpsel_get
_snd_ac97_ad1888_lohpsel_get:           ; @snd_ac97_ad1888_lohpsel_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
Lloh0:
	adrp	x8, _AC97_AD_MISC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AC97_AD_MISC@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldp	x9, x10, [x0]
	ldrh	w8, [x9, x8, lsl #1]
Lloh3:
	adrp	x9, _AC97_AD198X_LOSEL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AC97_AD198X_LOSEL@GOTPAGEOFF]
	ldrh	w9, [x9]
	ands	w9, w9, w8
	cset	w11, eq
	ldr	x8, [x19]
	str	w11, [x8]
	cbz	x10, LBB0_2
; %bb.1:
	cmp	w9, #0
	cset	w9, ne
	str	w9, [x8]
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AC97_AD_MISC,8,3               ; @AC97_AD_MISC
	.comm	_AC97_AD198X_LOSEL,2,1          ; @AC97_AD198X_LOSEL
	.no_dead_strip	_snd_ac97_ad1888_lohpsel_get
.subsections_via_symbols
