	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgbe_disable_rx
_xgbe_disable_rx:                       ## @xgbe_disable_rx
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_MAC_RCR@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_DCRCC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ebx, %ebx
	xorl	%ecx, %ecx
	callq	_XGMAC_IOWRITE_BITS
	movl	(%r15), %esi
	movq	_CST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_XGMAC_IOWRITE_BITS
	movl	(%r15), %esi
	movq	_ACS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_XGMAC_IOWRITE_BITS
	movl	(%r15), %esi
	movq	_RE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_XGMAC_IOWRITE_BITS
	cmpl	$0, (%r14)
	je	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_xgbe_prepare_rx_stop
	incl	%ebx
	cmpl	(%r14), %ebx
	jb	LBB0_1
LBB0_2:
	movq	_MAC_RQC0R@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_XGMAC_IOWRITE
	cmpl	$0, 4(%r14)
	je	LBB0_6
## %bb.3:
	xorl	%ebx, %ebx
	movq	_DMA_CH_RCR@GOTPCREL(%rip), %r15
	movq	_SR@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movq	(%rax,%rbx,8), %rdi
	cmpl	$0, (%rdi)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r15), %esi
	movl	(%r12), %edx
	xorl	%ecx, %ecx
	callq	_XGMAC_DMA_IOWRITE_BITS
	incq	%rbx
	movl	4(%r14), %eax
	cmpq	%rax, %rbx
	jb	LBB0_4
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAC_RCR,4,2                    ## @MAC_RCR
	.comm	_DCRCC,4,2                      ## @DCRCC
	.comm	_CST,4,2                        ## @CST
	.comm	_ACS,4,2                        ## @ACS
	.comm	_RE,4,2                         ## @RE
	.comm	_MAC_RQC0R,4,2                  ## @MAC_RQC0R
	.comm	_DMA_CH_RCR,4,2                 ## @DMA_CH_RCR
	.comm	_SR,4,2                         ## @SR
	.no_dead_strip	_xgbe_disable_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgbe_disable_rx
_xgbe_disable_rx:                       ; @xgbe_disable_rx
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, _MAC_RCR@GOTPAGE
Lloh1:
	ldr	x20, [x20, _MAC_RCR@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh2:
	adrp	x8, _DCRCC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DCRCC@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	w3, #0
	bl	_XGMAC_IOWRITE_BITS
	ldr	w1, [x20]
Lloh5:
	adrp	x8, _CST@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CST@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #0
	bl	_XGMAC_IOWRITE_BITS
	ldr	w1, [x20]
Lloh8:
	adrp	x8, _ACS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ACS@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #0
	bl	_XGMAC_IOWRITE_BITS
	ldr	w1, [x20]
Lloh11:
	adrp	x8, _RE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RE@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #0
	bl	_XGMAC_IOWRITE_BITS
	ldr	w8, [x19]
	cbz	w8, LBB0_3
; %bb.1:
	mov	w20, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_xgbe_prepare_rx_stop
	add	w20, w20, #1
	ldr	w8, [x19]
	cmp	w20, w8
	b.lo	LBB0_2
LBB0_3:
Lloh14:
	adrp	x8, _MAC_RQC0R@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MAC_RQC0R@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_XGMAC_IOWRITE
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_7
; %bb.4:
	mov	x20, #0
Lloh17:
	adrp	x21, _DMA_CH_RCR@GOTPAGE
Lloh18:
	ldr	x21, [x21, _DMA_CH_RCR@GOTPAGEOFF]
Lloh19:
	adrp	x22, _SR@GOTPAGE
Lloh20:
	ldr	x22, [x22, _SR@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x0, [x8, x20, lsl #3]
	ldr	w8, [x0]
	cbz	w8, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x21]
	ldr	w2, [x22]
	mov	w3, #0
	bl	_XGMAC_DMA_IOWRITE_BITS
	add	x20, x20, #1
	ldr	w8, [x19, #4]
	cmp	x20, x8
	b.lo	LBB0_5
LBB0_7:
	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 AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_MAC_RCR,4,2                    ; @MAC_RCR
	.comm	_DCRCC,4,2                      ; @DCRCC
	.comm	_CST,4,2                        ; @CST
	.comm	_ACS,4,2                        ; @ACS
	.comm	_RE,4,2                         ; @RE
	.comm	_MAC_RQC0R,4,2                  ; @MAC_RQC0R
	.comm	_DMA_CH_RCR,4,2                 ; @DMA_CH_RCR
	.comm	_SR,4,2                         ; @SR
	.no_dead_strip	_xgbe_disable_rx
.subsections_via_symbols
