	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_ac97_ad1986_spread_put
_snd_ac97_ad1986_spread_put:            ## @snd_ac97_ad1986_spread_put
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	callq	_snd_kcontrol_chip
	movq	%rax, %r15
	movq	(%rax), %rax
	movq	_AC97_AD_MISC3@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %r13d
	movq	_AC97_AD1986_LOSEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_AC97_AD_MISC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AC97_AD1986_SPRD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	(%r14), %rax
	xorl	%ecx, %ecx
	cmpq	$0, (%rax)
	cmovnel	%edx, %ecx
	movq	%r15, %rdi
	callq	_snd_ac97_update_bits
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_4
## %bb.1:
	andl	%r13d, %ebx
	movq	_AC97_AD_MISC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_AC97_AD1986_SOSEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	(%r14), %rax
	cmovnel	%edx, %ebx
	cmpq	$0, (%rax)
	cmovnel	%edx, %ebx
	movq	%r15, %rdi
	movl	%ebx, %ecx
	callq	_snd_ac97_update_bits
	testl	%eax, %eax
	js	LBB0_2
## %bb.3:
	xorl	%ecx, %ecx
	orl	%eax, %r12d
	setne	%cl
	movl	%ecx, %r12d
	jmp	LBB0_4
LBB0_2:
	movl	%eax, %r12d
LBB0_4:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AC97_AD_MISC3,8,3              ## @AC97_AD_MISC3
	.comm	_AC97_AD1986_LOSEL,4,2          ## @AC97_AD1986_LOSEL
	.comm	_AC97_AD_MISC,4,2               ## @AC97_AD_MISC
	.comm	_AC97_AD1986_SPRD,4,2           ## @AC97_AD1986_SPRD
	.comm	_AC97_AD1986_SOSEL,4,2          ## @AC97_AD1986_SOSEL
	.no_dead_strip	_snd_ac97_ad1986_spread_put
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_ac97_ad1986_spread_put
_snd_ac97_ad1986_spread_put:            ; @snd_ac97_ad1986_spread_put
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	bl	_snd_kcontrol_chip
	mov	x20, x0
Lloh0:
	adrp	x8, _AC97_AD_MISC3@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AC97_AD_MISC3@GOTPAGEOFF]
	ldr	x9, [x0]
Lloh2:
	ldr	x8, [x8]
	ldr	w22, [x9, x8, lsl #2]
Lloh3:
	adrp	x8, _AC97_AD1986_LOSEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AC97_AD1986_LOSEL@GOTPAGEOFF]
Lloh5:
	ldr	w24, [x8]
Lloh6:
	adrp	x23, _AC97_AD_MISC@GOTPAGE
Lloh7:
	ldr	x23, [x23, _AC97_AD_MISC@GOTPAGEOFF]
Lloh8:
	adrp	x8, _AC97_AD1986_SPRD@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AC97_AD1986_SPRD@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh10:
	ldr	w2, [x8]
	ldr	x8, [x19]
	ldr	x8, [x8]
	cmp	x8, #0
	csel	w3, wzr, w2, eq
	bl	_snd_ac97_update_bits
	mov	x21, x0
	tbnz	w0, #31, LBB0_4
; %bb.1:
	tst	w24, w22
Lloh11:
	adrp	x8, _AC97_AD1986_SOSEL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AC97_AD1986_SOSEL@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh13:
	ldr	w2, [x8]
	ldr	x8, [x19]
	ldr	x8, [x8]
	ccmp	x8, #0, #0, eq
	csel	w3, w2, wzr, ne
	mov	x0, x20
	bl	_snd_ac97_update_bits
	tbnz	w0, #31, LBB0_3
; %bb.2:
	orr	w8, w21, w0
	cmp	w8, #0
	cset	w21, ne
	b	LBB0_4
LBB0_3:
	mov	x21, x0
LBB0_4:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_AC97_AD_MISC3,8,3              ; @AC97_AD_MISC3
	.comm	_AC97_AD1986_LOSEL,4,2          ; @AC97_AD1986_LOSEL
	.comm	_AC97_AD_MISC,4,2               ; @AC97_AD_MISC
	.comm	_AC97_AD1986_SPRD,4,2           ; @AC97_AD1986_SPRD
	.comm	_AC97_AD1986_SOSEL,4,2          ; @AC97_AD1986_SOSEL
	.no_dead_strip	_snd_ac97_ad1986_spread_put
.subsections_via_symbols
