	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function au1000_set_ac97_xmit_slots
_au1000_set_ac97_xmit_slots:            ## @au1000_set_ac97_xmit_slots
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_spin_lock
	movq	8(%r14), %rax
	movq	(%rax), %rcx
	movq	%rcx, -24(%rbp)
	movq	-24(%rbp), %rcx
	movq	_AC97C_XMIT_SLOTS_MASK@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	notq	%rdx
	andq	%rcx, %rdx
	movq	%rdx, -24(%rbp)
	movq	_AC97C_XMIT_SLOTS_BIT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shlq	%cl, %rbx
	orq	%rbx, -24(%rbp)
	movq	-24(%rbp), %rcx
	movq	%rcx, (%rax)
	movq	%r14, %rdi
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_spin_unlock                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AC97C_XMIT_SLOTS_MASK,8,3      ## @AC97C_XMIT_SLOTS_MASK
	.comm	_AC97C_XMIT_SLOTS_BIT,8,3       ## @AC97C_XMIT_SLOTS_BIT
	.no_dead_strip	_au1000_set_ac97_xmit_slots
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function au1000_set_ac97_xmit_slots
_au1000_set_ac97_xmit_slots:            ; @au1000_set_ac97_xmit_slots
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	_spin_lock
	ldr	x8, [x20, #8]
	ldr	x9, [x8]
	str	x9, [sp, #8]
	ldr	x9, [sp, #8]
Lloh0:
	adrp	x10, _AC97C_XMIT_SLOTS_MASK@GOTPAGE
Lloh1:
	ldr	x10, [x10, _AC97C_XMIT_SLOTS_MASK@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	bic	x9, x9, x10
	str	x9, [sp, #8]
Lloh3:
	adrp	x9, _AC97C_XMIT_SLOTS_BIT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AC97C_XMIT_SLOTS_BIT@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	lsl	x9, x19, x9
	ldr	x10, [sp, #8]
	orr	x9, x10, x9
	str	x9, [sp, #8]
	ldr	x9, [sp, #8]
	str	x9, [x8]
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_spin_unlock
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AC97C_XMIT_SLOTS_MASK,8,3      ; @AC97C_XMIT_SLOTS_MASK
	.comm	_AC97C_XMIT_SLOTS_BIT,8,3       ; @AC97C_XMIT_SLOTS_BIT
	.no_dead_strip	_au1000_set_ac97_xmit_slots
.subsections_via_symbols
