	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_recv_slots
_set_recv_slots:                        ## @set_recv_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	%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	_PSC_AC97CFG@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_au_readl
	movl	%eax, %r14d
	xorl	%eax, %eax
	callq	_au_sync
	movq	_PSC_AC97CFG_RXSLOT_MASK@GOTPCREL(%rip), %rax
	movq	_PSC_AC97CFG_DE_ENABLE@GOTPCREL(%rip), %r13
	movl	(%r13), %r15d
	orl	(%rax), %r15d
	notl	%r15d
	andl	%r14d, %r15d
	movl	(%r12), %esi
	movl	%r15d, %edi
	callq	_au_writel
	xorl	%eax, %eax
	callq	_au_sync
	movl	$3, %edi
	callq	_PSC_AC97CFG_RXSLOT_ENA
	movl	%eax, %ebx
	movl	$4, %edi
	callq	_PSC_AC97CFG_RXSLOT_ENA
	orl	%eax, %ebx
	orl	%r15d, %ebx
	movl	(%r12), %esi
	movl	%ebx, %edi
	callq	_au_writel
	xorl	%eax, %eax
	callq	_au_sync
	orl	(%r13), %ebx
	movl	(%r12), %esi
	movl	%ebx, %edi
	callq	_au_writel
	xorl	%eax, %eax
	callq	_au_sync
	movq	_PSC_AC97STAT@GOTPCREL(%rip), %r14
	movq	_PSC_AC97STAT_DR@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	callq	_au_readl
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_au_sync
	testl	%ebx, (%r15)
	je	LBB0_1
## %bb.2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PSC_AC97CFG,4,2                ## @PSC_AC97CFG
	.comm	_PSC_AC97CFG_RXSLOT_MASK,4,2    ## @PSC_AC97CFG_RXSLOT_MASK
	.comm	_PSC_AC97CFG_DE_ENABLE,4,2      ## @PSC_AC97CFG_DE_ENABLE
	.comm	_PSC_AC97STAT,4,2               ## @PSC_AC97STAT
	.comm	_PSC_AC97STAT_DR,4,2            ## @PSC_AC97STAT_DR
	.no_dead_strip	_set_recv_slots
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_recv_slots
_set_recv_slots:                        ; @set_recv_slots
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x20, _PSC_AC97CFG@GOTPAGE
Lloh1:
	ldr	x20, [x20, _PSC_AC97CFG@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_au_readl
	mov	x19, x0
	bl	_au_sync
Lloh2:
	adrp	x8, _PSC_AC97CFG_RXSLOT_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PSC_AC97CFG_RXSLOT_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x21, _PSC_AC97CFG_DE_ENABLE@GOTPAGE
Lloh6:
	ldr	x21, [x21, _PSC_AC97CFG_DE_ENABLE@GOTPAGEOFF]
	ldr	w9, [x21]
	orr	w8, w9, w8
	bic	w19, w19, w8
	ldr	w1, [x20]
	mov	x0, x19
	bl	_au_writel
	bl	_au_sync
	mov	w0, #3
	bl	_PSC_AC97CFG_RXSLOT_ENA
	orr	w19, w0, w19
	mov	w0, #4
	bl	_PSC_AC97CFG_RXSLOT_ENA
	orr	w19, w19, w0
	ldr	w1, [x20]
	mov	x0, x19
	bl	_au_writel
	bl	_au_sync
	ldr	w8, [x21]
	orr	w0, w8, w19
	ldr	w1, [x20]
	bl	_au_writel
	bl	_au_sync
Lloh7:
	adrp	x20, _PSC_AC97STAT@GOTPAGE
Lloh8:
	ldr	x20, [x20, _PSC_AC97STAT@GOTPAGEOFF]
Lloh9:
	adrp	x21, _PSC_AC97STAT_DR@GOTPAGE
Lloh10:
	ldr	x21, [x21, _PSC_AC97STAT_DR@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	bl	_au_readl
	mov	x19, x0
	bl	_au_sync
	ldr	w8, [x21]
	tst	w8, w19
	b.eq	LBB0_1
; %bb.2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PSC_AC97CFG,4,2                ; @PSC_AC97CFG
	.comm	_PSC_AC97CFG_RXSLOT_MASK,4,2    ; @PSC_AC97CFG_RXSLOT_MASK
	.comm	_PSC_AC97CFG_DE_ENABLE,4,2      ; @PSC_AC97CFG_DE_ENABLE
	.comm	_PSC_AC97STAT,4,2               ; @PSC_AC97STAT
	.comm	_PSC_AC97STAT_DR,4,2            ; @PSC_AC97STAT_DR
	.no_dead_strip	_set_recv_slots
.subsections_via_symbols
