	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function xgbe_enable_rx
LCPI0_0:
	.long	0                               ## 0x0
	.long	2                               ## 0x2
	.long	4                               ## 0x4
	.long	6                               ## 0x6
LCPI0_1:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
LCPI0_2:
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
LCPI0_3:
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
LCPI0_4:
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
LCPI0_5:
	.long	24                              ## 0x18
	.long	24                              ## 0x18
	.long	24                              ## 0x18
	.long	24                              ## 0x18
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_xgbe_enable_rx:                        ## @xgbe_enable_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, %r15
	cmpl	$0, (%rdi)
	je	LBB0_4
## %bb.1:
	xorl	%ebx, %ebx
	movq	_DMA_CH_RCR@GOTPCREL(%rip), %r14
	movq	_SR@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	cmpl	$0, (%rdi)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r14), %esi
	movl	(%r12), %edx
	movl	$1, %ecx
	callq	_XGMAC_DMA_IOWRITE_BITS
	incq	%rbx
	movl	(%r15), %eax
	cmpq	%rax, %rbx
	jb	LBB0_2
LBB0_4:
	movl	4(%r15), %eax
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	xorl	%ecx, %ecx
	movl	$0, %edx
	cmpl	$8, %eax
	jb	LBB0_15
## %bb.7:
	movl	%eax, %ecx
	andl	$-8, %ecx
	leal	-8(%rcx), %esi
	movl	%esi, %edx
	shrl	$3, %edx
	incl	%edx
	testl	%esi, %esi
	je	LBB0_8
## %bb.9:
	movl	%edx, %esi
	andl	$-2, %esi
	pxor	%xmm0, %xmm0
	movdqa	LCPI0_1(%rip), %xmm1            ## xmm1 = [0,1,2,3]
	movdqa	LCPI0_2(%rip), %xmm8            ## xmm8 = [8,8,8,8]
	movdqa	LCPI0_3(%rip), %xmm4            ## xmm4 = [1065353216,1065353216,1065353216,1065353216]
	movdqa	LCPI0_4(%rip), %xmm5            ## xmm5 = [16,16,16,16]
	movdqa	LCPI0_5(%rip), %xmm9            ## xmm9 = [24,24,24,24]
	pxor	%xmm2, %xmm2
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm1, %xmm3
	paddd	%xmm1, %xmm3
	movdqa	%xmm3, %xmm6
	paddd	%xmm8, %xmm6
	movdqa	%xmm3, %xmm7
	pslld	$23, %xmm7
	paddd	%xmm4, %xmm7
	cvttps2dq	%xmm7, %xmm7
	paddd	%xmm7, %xmm7
	por	%xmm0, %xmm7
	pslld	$23, %xmm6
	paddd	%xmm4, %xmm6
	cvttps2dq	%xmm6, %xmm6
	paddd	%xmm6, %xmm6
	por	%xmm2, %xmm6
	movdqa	%xmm3, %xmm0
	paddd	%xmm5, %xmm0
	paddd	%xmm9, %xmm3
	pslld	$23, %xmm0
	paddd	%xmm4, %xmm0
	cvttps2dq	%xmm0, %xmm0
	paddd	%xmm0, %xmm0
	por	%xmm7, %xmm0
	pslld	$23, %xmm3
	paddd	%xmm4, %xmm3
	cvttps2dq	%xmm3, %xmm2
	paddd	%xmm2, %xmm2
	por	%xmm6, %xmm2
	paddd	%xmm5, %xmm1
	addl	$-2, %esi
	jne	LBB0_10
## %bb.11:
	paddd	%xmm1, %xmm1
	testb	$1, %dl
	je	LBB0_14
LBB0_13:
	movdqa	LCPI0_2(%rip), %xmm3            ## xmm3 = [8,8,8,8]
	paddd	%xmm1, %xmm3
	pslld	$23, %xmm1
	movdqa	LCPI0_3(%rip), %xmm4            ## xmm4 = [1065353216,1065353216,1065353216,1065353216]
	paddd	%xmm4, %xmm1
	cvttps2dq	%xmm1, %xmm1
	paddd	%xmm1, %xmm1
	por	%xmm1, %xmm0
	pslld	$23, %xmm3
	paddd	%xmm4, %xmm3
	cvttps2dq	%xmm3, %xmm1
	paddd	%xmm1, %xmm1
	por	%xmm1, %xmm2
LBB0_14:
	por	%xmm2, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	por	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	por	%xmm1, %xmm0
	movd	%xmm0, %edx
	cmpl	%ecx, %eax
	je	LBB0_17
LBB0_15:
	subl	%ecx, %eax
	addl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	$2, %esi
	shll	%cl, %esi
	orl	%esi, %edx
	addl	$2, %ecx
	decl	%eax
	jne	LBB0_16
	jmp	LBB0_17
LBB0_5:
	xorl	%edx, %edx
LBB0_17:
	movq	_MAC_RQC0R@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_XGMAC_IOWRITE
	movq	_MAC_RCR@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_DCRCC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$1, %ecx
	callq	_XGMAC_IOWRITE_BITS
	movl	(%r14), %esi
	movq	_CST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$1, %ecx
	callq	_XGMAC_IOWRITE_BITS
	movl	(%r14), %esi
	movq	_ACS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$1, %ecx
	callq	_XGMAC_IOWRITE_BITS
	movl	(%r14), %esi
	movq	_RE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$1, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_XGMAC_IOWRITE_BITS             ## TAILCALL
LBB0_8:
	pxor	%xmm0, %xmm0
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = [0,2,4,6]
	pxor	%xmm2, %xmm2
	testb	$1, %dl
	jne	LBB0_13
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_CH_RCR,4,2                 ## @DMA_CH_RCR
	.comm	_SR,4,2                         ## @SR
	.comm	_MAC_RQC0R,4,2                  ## @MAC_RQC0R
	.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
	.no_dead_strip	_xgbe_enable_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function xgbe_enable_rx
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_xgbe_enable_rx:                        ; @xgbe_enable_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
	ldr	w8, [x0]
	cbz	w8, LBB0_4
; %bb.1:
	mov	x20, #0
Lloh0:
	adrp	x21, _DMA_CH_RCR@GOTPAGE
Lloh1:
	ldr	x21, [x21, _DMA_CH_RCR@GOTPAGEOFF]
Lloh2:
	adrp	x22, _SR@GOTPAGE
Lloh3:
	ldr	x22, [x22, _SR@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x0, [x8, x20, lsl #3]
	ldr	w8, [x0]
	cbz	w8, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x21]
	ldr	w2, [x22]
	mov	w3, #1
	bl	_XGMAC_DMA_IOWRITE_BITS
	add	x20, x20, #1
	ldr	w8, [x19]
	cmp	x20, x8
	b.lo	LBB0_2
LBB0_4:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_7
; %bb.5:
	cmp	w8, #16
	b.hs	LBB0_8
; %bb.6:
	mov	w9, #0
	mov	w2, #0
	b	LBB0_11
LBB0_7:
	mov	w2, #0
	b	LBB0_13
LBB0_8:
	movi.2d	v0, #0000000000000000
	movi.4s	v1, #8
Lloh4:
	adrp	x9, lCPI0_0@PAGE
Lloh5:
	ldr	q2, [x9, lCPI0_0@PAGEOFF]
	and	w9, w8, #0xfffffff0
	movi.4s	v3, #16
	movi.4s	v4, #24
	movi.4s	v5, #2
	mov	x10, x9
	movi.2d	v6, #0000000000000000
	movi.2d	v7, #0000000000000000
	movi.2d	v16, #0000000000000000
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	shl.4s	v17, v2, #1
	add.4s	v18, v17, v1
	add.4s	v19, v17, v3
	add.4s	v20, v17, v4
	ushl.4s	v17, v5, v17
	ushl.4s	v18, v5, v18
	ushl.4s	v19, v5, v19
	ushl.4s	v20, v5, v20
	orr.16b	v0, v17, v0
	orr.16b	v6, v18, v6
	orr.16b	v7, v19, v7
	orr.16b	v16, v20, v16
	add.4s	v2, v2, v3
	subs	w10, w10, #16
	b.ne	LBB0_9
; %bb.10:
	orr.16b	v0, v6, v0
	orr.16b	v0, v7, v0
	orr.16b	v0, v16, v0
	ext.16b	v1, v0, v0, #8
	orr.8b	v0, v0, v1
	fmov	w10, s0
	mov.s	w11, v0[1]
	orr	w2, w10, w11
	cmp	w8, w9
	b.eq	LBB0_13
LBB0_11:
	sub	w8, w8, w9
	lsl	w9, w9, #1
	mov	w10, #2
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	lsl	w11, w10, w9
	orr	w2, w11, w2
	add	w9, w9, #2
	subs	w8, w8, #1
	b.ne	LBB0_12
LBB0_13:
Lloh6:
	adrp	x8, _MAC_RQC0R@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAC_RQC0R@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_XGMAC_IOWRITE
Lloh9:
	adrp	x20, _MAC_RCR@GOTPAGE
Lloh10:
	ldr	x20, [x20, _MAC_RCR@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh11:
	adrp	x8, _DCRCC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DCRCC@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #1
	bl	_XGMAC_IOWRITE_BITS
	ldr	w1, [x20]
Lloh14:
	adrp	x8, _CST@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CST@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #1
	bl	_XGMAC_IOWRITE_BITS
	ldr	w1, [x20]
Lloh17:
	adrp	x8, _ACS@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ACS@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #1
	bl	_XGMAC_IOWRITE_BITS
Lloh20:
	adrp	x8, _RE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _RE@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh22:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #1
	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
	b	_XGMAC_IOWRITE_BITS
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdr	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_CH_RCR,4,2                 ; @DMA_CH_RCR
	.comm	_SR,4,2                         ; @SR
	.comm	_MAC_RQC0R,4,2                  ; @MAC_RQC0R
	.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
	.no_dead_strip	_xgbe_enable_rx
.subsections_via_symbols
