	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xge_rx_poll
_xge_rx_poll:                           ## @xge_rx_poll
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r12
	callq	_netdev_priv
	movq	16(%rax), %r13
	movq	24(%rax), %rcx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movq	(%r13), %r14
	movq	_DMARXSTATUS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_xge_rd_csr
	movq	_RXPKTCOUNT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%eax, %esi
	callq	_GET_BITS
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	testl	%ebx, %ebx
	je	LBB0_10
## %bb.2:
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r13), %r12
	movq	_E@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	4(%r12,%r14,8), %edi
	callq	_le64_to_cpu
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_GET_BITS
	testq	%rax, %rax
	jne	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_dma_rmb
	movq	8(%r13), %rax
	movq	%r14, %rcx
	shlq	$4, %rcx
	movq	8(%rax,%rcx), %rdx
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	$0, 8(%rax,%rcx)
	movl	(%rax,%rcx), %r13d
	movq	_PKT_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	4(%r12,%r14,8), %edi
	callq	_le64_to_cpu
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_GET_BITS
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_XGENE_ENET_STD_MTU@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	callq	_dma_unmap_single
	movq	_D@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%r12,%r14,8), %edi
	callq	_le64_to_cpu
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_GET_BITS
	movq	%rax, %rdi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	incl	12(%rbx)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_kfree_skb_any
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_skb_put
	movq	%r13, %rdi
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_eth_type_trans
	movl	%eax, (%r13)
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	incl	8(%rbx)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	addl	%eax, 4(%rbx)
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_napi_gro_receive
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_xge_refill_buffers
	movl	%eax, %r13d
	movq	_DMARXSTATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_xge_wr_csr
	movq	_DMARXCTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_xge_wr_csr
	testl	%r13d, %r13d
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rax
	incq	%rax
	movq	_XGENE_ENET_NUM_DESC@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %r14
	decq	%r14
	andq	%rax, %r14
	incl	%r15d
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	cmpl	%r15d, %ebx
	jne	LBB0_3
## %bb.9:
	movl	%ebx, %r15d
LBB0_10:
	movq	%r14, (%r13)
LBB0_11:
	movl	%r15d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMARXSTATUS,4,2                ## @DMARXSTATUS
	.comm	_RXPKTCOUNT,4,2                 ## @RXPKTCOUNT
	.comm	_E,4,2                          ## @E
	.comm	_PKT_SIZE,4,2                   ## @PKT_SIZE
	.comm	_XGENE_ENET_STD_MTU,4,2         ## @XGENE_ENET_STD_MTU
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.comm	_D,4,2                          ## @D
	.comm	_DMARXCTRL,4,2                  ## @DMARXCTRL
	.comm	_XGENE_ENET_NUM_DESC,4,2        ## @XGENE_ENET_NUM_DESC
	.no_dead_strip	_xge_rx_poll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xge_rx_poll
_xge_rx_poll:                           ; @xge_rx_poll
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x27, x0
	bl	_netdev_priv
	mov	x21, x0
	ldp	x25, x8, [x0, #16]
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	ldr	x28, [x25]
Lloh0:
	adrp	x8, _DMARXSTATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMARXSTATUS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_xge_rd_csr
	mov	x1, x0
Lloh3:
	adrp	x8, _RXPKTCOUNT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RXPKTCOUNT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_GET_BITS
	mov	w23, #0
	cbz	x0, LBB0_11
; %bb.1:
	cbz	w20, LBB0_10
; %bb.2:
	str	x25, [sp]                       ; 8-byte Folded Spill
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x22, [x25, #16]
Lloh6:
	adrp	x8, _E@GOTPAGE
Lloh7:
	ldr	x8, [x8, _E@GOTPAGEOFF]
Lloh8:
	ldr	w24, [x8]
	add	x19, x22, x28, lsl #3
	ldr	w0, [x19, #4]!
	bl	_le64_to_cpu
	mov	x1, x0
	mov	x0, x24
	bl	_GET_BITS
	cbnz	x0, LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_dma_rmb
	ldr	x8, [x25, #8]
	add	x8, x8, x28, lsl #4
	ldr	x24, [x8, #8]
	str	xzr, [x8, #8]
	ldr	w26, [x8]
Lloh9:
	adrp	x8, _PKT_SIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PKT_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	w25, [x8]
	ldr	w0, [x19]
	bl	_le64_to_cpu
	mov	x1, x0
	mov	x0, x25
	bl	_GET_BITS
	mov	x25, x0
Lloh12:
	adrp	x8, _XGENE_ENET_STD_MTU@GOTPAGE
Lloh13:
	ldr	x8, [x8, _XGENE_ENET_STD_MTU@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x8, _DMA_FROM_DEVICE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	x1, x26
	bl	_dma_unmap_single
Lloh18:
	adrp	x8, _D@GOTPAGE
Lloh19:
	ldr	x8, [x8, _D@GOTPAGEOFF]
Lloh20:
	ldr	w26, [x8]
	lsl	x8, x28, #3
	ldr	w0, [x22, x8]
	bl	_le64_to_cpu
	mov	x1, x0
	mov	x0, x26
	bl	_GET_BITS
	bl	_unlikely
	cbz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x21, #12]
	add	w8, w8, #1
	str	w8, [x21, #12]
	mov	x0, x24
	bl	_dev_kfree_skb_any
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x24
	mov	x1, x25
	bl	_skb_put
	mov	x0, x24
	mov	x1, x27
	bl	_eth_type_trans
	str	w0, [x24]
	ldp	w9, w8, [x21, #4]
	add	w8, w8, #1
	add	w9, w25, w9
	stp	w9, w8, [x21, #4]
	mov	x0, x21
	mov	x1, x24
	bl	_napi_gro_receive
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x27
	mov	w1, #1
	bl	_xge_refill_buffers
	mov	x24, x0
Lloh21:
	adrp	x8, _DMARXSTATUS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DMARXSTATUS@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #1
	bl	_xge_wr_csr
Lloh24:
	adrp	x8, _DMARXCTRL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _DMARXCTRL@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #1
	bl	_xge_wr_csr
	ldr	x25, [sp]                       ; 8-byte Folded Reload
	cbnz	w24, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x28, #1
Lloh27:
	adrp	x9, _XGENE_ENET_NUM_DESC@GOTPAGE
Lloh28:
	ldr	x9, [x9, _XGENE_ENET_NUM_DESC@GOTPAGEOFF]
Lloh29:
	ldrsw	x9, [x9]
	sub	x9, x9, #1
	and	x28, x8, x9
	add	w23, w23, #1
	cmp	w20, w23
	b.ne	LBB0_3
; %bb.9:
	mov	x23, x20
LBB0_10:
	str	x28, [x25]
LBB0_11:
	mov	x0, x23
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_DMARXSTATUS,4,2                ; @DMARXSTATUS
	.comm	_RXPKTCOUNT,4,2                 ; @RXPKTCOUNT
	.comm	_E,4,2                          ; @E
	.comm	_PKT_SIZE,4,2                   ; @PKT_SIZE
	.comm	_XGENE_ENET_STD_MTU,4,2         ; @XGENE_ENET_STD_MTU
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.comm	_D,4,2                          ; @D
	.comm	_DMARXCTRL,4,2                  ; @DMARXCTRL
	.comm	_XGENE_ENET_NUM_DESC,4,2        ; @XGENE_ENET_NUM_DESC
	.no_dead_strip	_xge_rx_poll
.subsections_via_symbols
