	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xlgmac_rx_poll
_xlgmac_rx_poll:                        ## @xlgmac_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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %r15
	testq	%r15, %r15
	je	LBB0_49
## %bb.1:
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	movq	32(%rax), %r12
	leaq	4(%rdi), %r13
	cmpq	$0, 16(%rax)
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	8(%rax), %rax
	cmoveq	%rax, %r13
	movl	(%r15), %esi
	movq	%r15, %rdi
	callq	_XLGMAC_GET_DESC_DATA
	testl	%r14d, %r14d
	jle	LBB0_50
## %bb.2:
	movq	%rax, %rcx
	movq	%r13, -128(%rbp)                ## 8-byte Spill
	movq	%r12, -112(%rbp)                ## 8-byte Spill
	movq	%rbx, -136(%rbp)                ## 8-byte Spill
	movl	%r14d, -100(%rbp)               ## 4-byte Spill
	leaq	8(%r15), %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	xorl	%r13d, %r13d
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
                                        ##       Child Loop BB0_8 Depth 3
	testl	%r14d, %r14d
	movl	%r12d, -60(%rbp)                ## 4-byte Spill
	je	LBB0_5
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_7
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, (%rcx)
	je	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%rcx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	8(%rcx), %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	12(%rcx), %ecx
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_8 Depth 3
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_7 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	(%r15), %esi
	movq	%r15, %rdi
	callq	_XLGMAC_GET_DESC_DATA
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_xlgmac_rx_dirty_desc
	movq	_XLGMAC_RX_DESC_MAX_DIRTY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	-136(%rbp), %rbx                ## 8-byte Reload
	jle	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=3
	movq	%rbx, %rdi
	callq	_xlgmac_rx_refresh
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=3
	movq	%rbx, %rdi
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	callq	*24(%rax)
	testq	%rax, %rax
	jne	LBB0_46
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=3
	incl	(%r15)
	incl	%r14d
	movl	16(%r15), %edi
	movq	_RX_PACKET_ATTRIBUTES_INCOMPLETE_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RX_PACKET_ATTRIBUTES_INCOMPLETE_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_XLGMAC_GET_REG_BITS
	movl	%eax, %ebx
	movl	16(%r15), %edi
	movq	_RX_PACKET_ATTRIBUTES_CONTEXT_NEXT_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RX_PACKET_ATTRIBUTES_CONTEXT_NEXT_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_XLGMAC_GET_REG_BITS
	movl	%eax, %r13d
	movl	16(%r15), %edi
	movq	_RX_PACKET_ATTRIBUTES_CONTEXT_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RX_PACKET_ATTRIBUTES_CONTEXT_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_XLGMAC_GET_REG_BITS
	movq	%rbx, %rcx
	movq	%rbx, -120(%rbp)                ## 8-byte Spill
	orl	%r13d, %ecx
	setne	%r12b
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=3
	cmpl	$0, -96(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_8
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=2
	movq	24(%r15), %rcx
	cmpl	$0, -96(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_31
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=2
	testq	%rcx, %rcx
	jne	LBB0_32
## %bb.15:                              ##   in Loop: Header=BB0_7 Depth=2
	xorl	%ecx, %ecx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	testl	%eax, %eax
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_7 Depth=2
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	jmp	LBB0_23
LBB0_17:                                ##   in Loop: Header=BB0_7 Depth=2
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	24(%rdx), %ebx
	movl	%ebx, -84(%rbp)                 ## 4-byte Spill
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	subl	%ecx, %ebx
	je	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_7 Depth=2
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_7 Depth=2
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	movl	%ebx, %ecx
	callq	_xlgmac_create_skb
	xorl	%edx, %edx
	movq	%rax, %rcx
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	sete	%dl
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_22
LBB0_20:                                ##   in Loop: Header=BB0_7 Depth=2
	cmpl	%ecx, -84(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_7 Depth=2
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edi
	movl	56(%rdx), %esi
	movl	48(%rdx), %ecx
	movl	52(%rdx), %edx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	(%rax), %r8d
	callq	_dma_sync_single_range_for_cpu
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_skb_shinfo
	movl	(%rax), %esi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	32(%rax), %rdx
	movl	40(%rax), %ecx
	movl	48(%rax), %r9d
	movq	%rbx, %rdi
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	callq	_skb_add_rx_frag
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	$0, 32(%rax)
LBB0_22:                                ##   in Loop: Header=BB0_7 Depth=2
	movl	-84(%rbp), %ecx                 ## 4-byte Reload
LBB0_23:                                ##   in Loop: Header=BB0_7 Depth=2
	testb	%r12b, %r12b
	jne	LBB0_7
## %bb.24:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	je	LBB0_36
## %bb.25:                              ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	_ETH_HLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	addl	(%rbx), %r12d
	movq	_NETIF_F_HW_VLAN_CTAG_RX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%rbx)
	jne	LBB0_29
## %bb.26:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r13
	movq	_ETH_P_8021Q@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, %r13
	jne	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_VLAN_HLEN@GOTPCREL(%rip), %rax
	addl	(%rax), %r12d
LBB0_28:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-112(%rbp), %rbx                ## 8-byte Reload
LBB0_29:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	%r12d, 8(%rax)
	movq	%rax, %r12
	jbe	LBB0_37
## %bb.30:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_rx_err@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rdx
	leaq	L_.str.1(%rip), %rcx
	callq	_netif_err
	movq	%r12, %rdi
	callq	_dev_kfree_skb
	xorl	%r13d, %r13d
	jmp	LBB0_34
LBB0_31:                                ##   in Loop: Header=BB0_3 Depth=1
	testq	%rcx, %rcx
	je	LBB0_33
LBB0_32:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_rx_err@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	leaq	L_.str(%rip), %rcx
	callq	_netif_err
LBB0_33:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_kfree_skb
LBB0_34:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	-60(%rbp), %r12d                ## 4-byte Reload
LBB0_35:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	incl	%r12d
	cmpl	-100(%rbp), %r12d               ## 4-byte Folded Reload
	jne	LBB0_3
	jmp	LBB0_53
LBB0_36:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_34
LBB0_37:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_netif_msg_pktdata
	testq	%rax, %rax
	je	LBB0_39
## %bb.38:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_xlgmac_print_pkt
LBB0_39:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	callq	_skb_checksum_none_assert
	movl	16(%r15), %edi
	movq	_RX_PACKET_ATTRIBUTES_CSUM_DONE_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RX_PACKET_ATTRIBUTES_CSUM_DONE_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_XLGMAC_GET_REG_BITS
	testl	%eax, %eax
	je	LBB0_41
## %bb.40:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_CHECKSUM_UNNECESSARY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r12)
LBB0_41:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	16(%r15), %edi
	movq	_RX_PACKET_ATTRIBUTES_VLAN_CTAG_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RX_PACKET_ATTRIBUTES_VLAN_CTAG_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_XLGMAC_GET_REG_BITS
	testl	%eax, %eax
	movl	-60(%rbp), %r12d                ## 4-byte Reload
	je	LBB0_43
## %bb.42:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_ETH_P_8021Q@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movl	20(%r15), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	___vlan_hwaccel_put_tag
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	incl	(%rax)
LBB0_43:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	16(%r15), %edi
	movq	_RX_PACKET_ATTRIBUTES_RSS_HASH_POS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RX_PACKET_ATTRIBUTES_RSS_HASH_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_XLGMAC_GET_REG_BITS
	testl	%eax, %eax
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_45
## %bb.44:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	8(%r15), %edx
	movl	12(%r15), %esi
	movq	%r13, %rdi
	callq	_skb_set_hash
LBB0_45:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, 16(%r13)
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_eth_type_trans
	movq	%rax, (%r13)
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_skb_record_rx_queue
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	movq	%r13, %rsi
	callq	_napi_gro_receive
	xorl	%r13d, %r13d
	jmp	LBB0_35
LBB0_46:
	movl	-60(%rbp), %r12d                ## 4-byte Reload
	testl	%r14d, %r14d
	je	LBB0_51
LBB0_47:
	movq	-120(%rbp), %rax                ## 8-byte Reload
	orl	%r13d, %eax
	je	LBB0_51
## %bb.48:
	movl	(%r15), %esi
	movq	%r15, %rdi
	callq	_XLGMAC_GET_DESC_DATA
	movl	$1, (%rax)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 16(%rax)
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 12(%rax)
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movl	%ecx, 8(%rax)
	jmp	LBB0_51
LBB0_49:
	xorl	%r12d, %r12d
	jmp	LBB0_52
LBB0_50:
	xorl	%r12d, %r12d
LBB0_51:
	leaq	L_.str.2(%rip), %rdi
	movl	%r12d, %esi
	callq	_XLGMAC_PR
LBB0_52:
	movl	%r12d, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_53:
	movl	-100(%rbp), %r12d               ## 4-byte Reload
	testl	%r14d, %r14d
	jne	LBB0_47
	jmp	LBB0_51
	.cfi_endproc
                                        ## -- End function
	.comm	_XLGMAC_RX_DESC_MAX_DIRTY,8,3   ## @XLGMAC_RX_DESC_MAX_DIRTY
	.comm	_RX_PACKET_ATTRIBUTES_INCOMPLETE_POS,4,2 ## @RX_PACKET_ATTRIBUTES_INCOMPLETE_POS
	.comm	_RX_PACKET_ATTRIBUTES_INCOMPLETE_LEN,4,2 ## @RX_PACKET_ATTRIBUTES_INCOMPLETE_LEN
	.comm	_RX_PACKET_ATTRIBUTES_CONTEXT_NEXT_POS,4,2 ## @RX_PACKET_ATTRIBUTES_CONTEXT_NEXT_POS
	.comm	_RX_PACKET_ATTRIBUTES_CONTEXT_NEXT_LEN,4,2 ## @RX_PACKET_ATTRIBUTES_CONTEXT_NEXT_LEN
	.comm	_RX_PACKET_ATTRIBUTES_CONTEXT_POS,4,2 ## @RX_PACKET_ATTRIBUTES_CONTEXT_POS
	.comm	_RX_PACKET_ATTRIBUTES_CONTEXT_LEN,4,2 ## @RX_PACKET_ATTRIBUTES_CONTEXT_LEN
	.comm	_rx_err,4,2                     ## @rx_err
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error in received packet\n"

	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.comm	_ETH_HLEN,4,2                   ## @ETH_HLEN
	.comm	_NETIF_F_HW_VLAN_CTAG_RX,4,2    ## @NETIF_F_HW_VLAN_CTAG_RX
	.comm	_ETH_P_8021Q,4,2                ## @ETH_P_8021Q
	.comm	_VLAN_HLEN,8,3                  ## @VLAN_HLEN
L_.str.1:                               ## @.str.1
	.asciz	"packet length exceeds configured MTU\n"

	.comm	_RX_PACKET_ATTRIBUTES_CSUM_DONE_POS,4,2 ## @RX_PACKET_ATTRIBUTES_CSUM_DONE_POS
	.comm	_RX_PACKET_ATTRIBUTES_CSUM_DONE_LEN,4,2 ## @RX_PACKET_ATTRIBUTES_CSUM_DONE_LEN
	.comm	_CHECKSUM_UNNECESSARY,4,2       ## @CHECKSUM_UNNECESSARY
	.comm	_RX_PACKET_ATTRIBUTES_VLAN_CTAG_POS,4,2 ## @RX_PACKET_ATTRIBUTES_VLAN_CTAG_POS
	.comm	_RX_PACKET_ATTRIBUTES_VLAN_CTAG_LEN,4,2 ## @RX_PACKET_ATTRIBUTES_VLAN_CTAG_LEN
	.comm	_RX_PACKET_ATTRIBUTES_RSS_HASH_POS,4,2 ## @RX_PACKET_ATTRIBUTES_RSS_HASH_POS
	.comm	_RX_PACKET_ATTRIBUTES_RSS_HASH_LEN,4,2 ## @RX_PACKET_ATTRIBUTES_RSS_HASH_LEN
L_.str.2:                               ## @.str.2
	.asciz	"packet_count = %d\n"

	.no_dead_strip	_xlgmac_rx_poll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xlgmac_rx_poll
_xlgmac_rx_poll:                        ; @xlgmac_rx_poll
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	ldr	x20, [x0, #8]
	cbz	x20, LBB0_45
; %bb.1:
	mov	x19, x1
	mov	x22, x0
	ldr	x23, [x0, #16]
	ldr	x21, [x23, #32]
	ldr	x8, [x23, #16]
	add	x9, x0, #4
	add	x10, x23, #8
	cmp	x8, #0
	csel	x24, x10, x9, eq
	mov	x8, x20
	ldr	w1, [x8], #8
	str	x8, [sp, #56]                   ; 8-byte Folded Spill
	mov	x0, x20
	bl	_XLGMAC_GET_DESC_DATA
	cmp	w19, #1
	b.lt	LBB0_46
; %bb.2:
	mov	x27, x0
	str	x24, [sp, #24]                  ; 8-byte Folded Spill
	str	x21, [sp, #8]                   ; 8-byte Folded Spill
	str	w19, [sp, #20]                  ; 4-byte Folded Spill
	mov	w19, #0
	mov	w21, #0
	mov	w24, #0
	mov	w25, #0
Lloh0:
	adrp	x28, _XLGMAC_RX_DESC_MAX_DIRTY@GOTPAGE
Lloh1:
	ldr	x28, [x28, _XLGMAC_RX_DESC_MAX_DIRTY@GOTPAGEOFF]
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	str	w19, [sp, #52]                  ; 4-byte Folded Spill
	cbz	w21, LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #56]                   ; 8-byte Folded Reload
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	mov	w26, #0
	str	wzr, [sp, #36]                  ; 4-byte Folded Spill
	str	xzr, [sp, #40]                  ; 8-byte Folded Spill
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x27]
	cbz	w8, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x27, #16]
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
	ldp	w26, w8, [x27, #8]
	str	w8, [sp, #36]                   ; 4-byte Folded Spill
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w1, [x20]
	mov	x0, x20
	bl	_XLGMAC_GET_DESC_DATA
	mov	x27, x0
	mov	x0, x20
	bl	_xlgmac_rx_dirty_desc
	ldr	x8, [x28]
	cmp	x0, x8
	b.le	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x22
	bl	_xlgmac_rx_refresh
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=2
	ldr	x8, [x23, #24]
	mov	x0, x22
	blr	x8
	cbnz	x0, LBB0_42
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=2
	add	w21, w21, #1
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	ldr	w0, [x20, #16]
Lloh2:
	adrp	x8, _RX_PACKET_ATTRIBUTES_INCOMPLETE_POS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RX_PACKET_ATTRIBUTES_INCOMPLETE_POS@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _RX_PACKET_ATTRIBUTES_INCOMPLETE_LEN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RX_PACKET_ATTRIBUTES_INCOMPLETE_LEN@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	bl	_XLGMAC_GET_REG_BITS
	mov	x24, x0
	ldr	w0, [x20, #16]
Lloh8:
	adrp	x8, _RX_PACKET_ATTRIBUTES_CONTEXT_NEXT_POS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RX_PACKET_ATTRIBUTES_CONTEXT_NEXT_POS@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _RX_PACKET_ATTRIBUTES_CONTEXT_NEXT_LEN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RX_PACKET_ATTRIBUTES_CONTEXT_NEXT_LEN@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	bl	_XLGMAC_GET_REG_BITS
	mov	x25, x0
	ldr	w0, [x20, #16]
Lloh14:
	adrp	x8, _RX_PACKET_ATTRIBUTES_CONTEXT_POS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RX_PACKET_ATTRIBUTES_CONTEXT_POS@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x8, _RX_PACKET_ATTRIBUTES_CONTEXT_LEN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _RX_PACKET_ATTRIBUTES_CONTEXT_LEN@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	bl	_XLGMAC_GET_REG_BITS
	orr	w8, w24, w25
	cmp	w8, #0
	cset	w19, ne
	ccmp	w26, #0, #4, ne
	b.ne	LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=2
	ldr	x8, [x20, #24]
	cbnz	w26, LBB0_27
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=2
	cbnz	x8, LBB0_28
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=2
	cbz	w0, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=2
	mov	w26, #0
	tbnz	w19, #0, LBB0_7
	b	LBB0_21
LBB0_15:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	w9, [x27, #24]
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	subs	w3, w9, w8
	ldr	x26, [sp, #40]                  ; 8-byte Folded Reload
	b.eq	LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_7 Depth=2
	cbnz	x26, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x23
	ldr	x1, [sp, #24]                   ; 8-byte Folded Reload
	mov	x2, x27
	str	w9, [sp, #36]                   ; 4-byte Folded Spill
	bl	_xlgmac_create_skb
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
	cmp	x0, #0
	cset	w26, eq
	tbnz	w19, #0, LBB0_7
	b	LBB0_21
LBB0_18:                                ;   in Loop: Header=BB0_7 Depth=2
	cmp	w9, w8
	b.ne	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_7 Depth=2
	mov	w26, #0
	tbnz	w19, #0, LBB0_7
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	w0, [x23, #4]
	ldp	w2, w1, [x27, #52]
	str	w3, [sp, #4]                    ; 4-byte Folded Spill
	ldr	w3, [x27, #48]
Lloh20:
	adrp	x8, _DMA_FROM_DEVICE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh22:
	ldr	w4, [x8]
	str	w9, [sp, #36]                   ; 4-byte Folded Spill
	bl	_dma_sync_single_range_for_cpu
	mov	x0, x26
	bl	_skb_shinfo
	ldr	w1, [x0]
	ldr	x2, [x27, #32]
	ldr	w3, [x27, #40]
	ldr	w5, [x27, #48]
	mov	x0, x26
	ldr	w4, [sp, #4]                    ; 4-byte Folded Reload
	bl	_skb_add_rx_frag
	mov	w26, #0
	str	xzr, [x27, #32]
	tbnz	w19, #0, LBB0_7
LBB0_21:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	cbz	x8, LBB0_32
; %bb.22:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh23:
	adrp	x8, _ETH_HLEN@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ETH_HLEN@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	ldr	x25, [sp, #8]                   ; 8-byte Folded Reload
	ldp	w9, w10, [x25]
	add	w19, w8, w9
Lloh26:
	adrp	x8, _NETIF_F_HW_VLAN_CTAG_RX@GOTPAGE
Lloh27:
	ldr	x8, [x8, _NETIF_F_HW_VLAN_CTAG_RX@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	tst	w8, w10
	b.ne	LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	ldr	x24, [x8]
Lloh29:
	adrp	x8, _ETH_P_8021Q@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ETH_P_8021Q@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	bl	_htons
	cmp	x24, x0
	b.ne	LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh32:
	adrp	x8, _VLAN_HLEN@GOTPAGE
Lloh33:
	ldr	x8, [x8, _VLAN_HLEN@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	add	w19, w19, w8
LBB0_25:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x24, [sp, #40]                  ; 8-byte Folded Reload
	ldr	w8, [x24, #8]
	cmp	w8, w19
	b.ls	LBB0_33
; %bb.26:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh35:
	adrp	x8, _rx_err@GOTPAGE
Lloh36:
	ldr	x8, [x8, _rx_err@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	mov	x0, x23
	mov	x2, x25
Lloh38:
	adrp	x3, l_.str.1@PAGE
Lloh39:
	add	x3, x3, l_.str.1@PAGEOFF
	bl	_netif_err
	mov	x0, x24
	bl	_dev_kfree_skb
	mov	w24, #0
	mov	w25, #0
	b	LBB0_30
LBB0_27:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	x8, LBB0_29
LBB0_28:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh40:
	adrp	x8, _rx_err@GOTPAGE
Lloh41:
	ldr	x8, [x8, _rx_err@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	mov	x0, x23
	ldr	x2, [sp, #8]                    ; 8-byte Folded Reload
Lloh43:
	adrp	x3, l_.str@PAGE
Lloh44:
	add	x3, x3, l_.str@PAGEOFF
	bl	_netif_err
LBB0_29:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	bl	_dev_kfree_skb
LBB0_30:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w19, [sp, #52]                  ; 4-byte Folded Reload
LBB0_31:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w19, w19, #1
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	cmp	w19, w8
	b.ne	LBB0_3
	b	LBB0_49
LBB0_32:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w24, #0
	mov	w25, #0
	str	xzr, [sp, #40]                  ; 8-byte Folded Spill
	b	LBB0_30
LBB0_33:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	bl	_netif_msg_pktdata
	cbz	x0, LBB0_35
; %bb.34:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x25
	mov	x1, x24
	mov	w2, #0
	bl	_xlgmac_print_pkt
LBB0_35:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x24
	bl	_skb_checksum_none_assert
	ldr	w0, [x20, #16]
Lloh45:
	adrp	x8, _RX_PACKET_ATTRIBUTES_CSUM_DONE_POS@GOTPAGE
Lloh46:
	ldr	x8, [x8, _RX_PACKET_ATTRIBUTES_CSUM_DONE_POS@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
Lloh48:
	adrp	x8, _RX_PACKET_ATTRIBUTES_CSUM_DONE_LEN@GOTPAGE
Lloh49:
	ldr	x8, [x8, _RX_PACKET_ATTRIBUTES_CSUM_DONE_LEN@GOTPAGEOFF]
Lloh50:
	ldr	w2, [x8]
	bl	_XLGMAC_GET_REG_BITS
	cbz	w0, LBB0_37
; %bb.36:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh51:
	adrp	x8, _CHECKSUM_UNNECESSARY@GOTPAGE
Lloh52:
	ldr	x8, [x8, _CHECKSUM_UNNECESSARY@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
	str	w8, [x24, #24]
LBB0_37:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x20, #16]
Lloh54:
	adrp	x8, _RX_PACKET_ATTRIBUTES_VLAN_CTAG_POS@GOTPAGE
Lloh55:
	ldr	x8, [x8, _RX_PACKET_ATTRIBUTES_VLAN_CTAG_POS@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
Lloh57:
	adrp	x8, _RX_PACKET_ATTRIBUTES_VLAN_CTAG_LEN@GOTPAGE
Lloh58:
	ldr	x8, [x8, _RX_PACKET_ATTRIBUTES_VLAN_CTAG_LEN@GOTPAGEOFF]
Lloh59:
	ldr	w2, [x8]
	bl	_XLGMAC_GET_REG_BITS
	ldr	w19, [sp, #52]                  ; 4-byte Folded Reload
	cbz	w0, LBB0_39
; %bb.38:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh60:
	adrp	x8, _ETH_P_8021Q@GOTPAGE
Lloh61:
	ldr	x8, [x8, _ETH_P_8021Q@GOTPAGEOFF]
Lloh62:
	ldr	w0, [x8]
	bl	_htons
	mov	x1, x0
	ldr	w2, [x20, #20]
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	bl	___vlan_hwaccel_put_tag
	ldr	w8, [x23]
	add	w8, w8, #1
	str	w8, [x23]
LBB0_39:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x20, #16]
Lloh63:
	adrp	x8, _RX_PACKET_ATTRIBUTES_RSS_HASH_POS@GOTPAGE
Lloh64:
	ldr	x8, [x8, _RX_PACKET_ATTRIBUTES_RSS_HASH_POS@GOTPAGEOFF]
Lloh65:
	ldr	w1, [x8]
Lloh66:
	adrp	x8, _RX_PACKET_ATTRIBUTES_RSS_HASH_LEN@GOTPAGE
Lloh67:
	ldr	x8, [x8, _RX_PACKET_ATTRIBUTES_RSS_HASH_LEN@GOTPAGEOFF]
Lloh68:
	ldr	w2, [x8]
	bl	_XLGMAC_GET_REG_BITS
	ldr	x24, [sp, #40]                  ; 8-byte Folded Reload
	cbz	w0, LBB0_41
; %bb.40:                               ;   in Loop: Header=BB0_3 Depth=1
	ldp	w2, w1, [x20, #8]
	mov	x0, x24
	bl	_skb_set_hash
LBB0_41:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x25, [x24, #16]
	mov	x0, x24
	mov	x1, x25
	bl	_eth_type_trans
	str	x0, [x24]
	ldr	w1, [x22]
	mov	x0, x24
	bl	_skb_record_rx_queue
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	mov	x1, x24
	bl	_napi_gro_receive
	mov	w24, #0
	mov	w25, #0
	b	LBB0_31
LBB0_42:
	ldr	w19, [sp, #52]                  ; 4-byte Folded Reload
	cbz	w21, LBB0_47
LBB0_43:
	orr	w8, w24, w25
	cbz	w8, LBB0_47
; %bb.44:
	ldr	w1, [x20]
	mov	x0, x20
	bl	_XLGMAC_GET_DESC_DATA
	mov	w8, #1
	str	w8, [x0]
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	str	x8, [x0, #16]
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	stp	w26, w8, [x0, #8]
	b	LBB0_47
LBB0_45:
	mov	w19, #0
	b	LBB0_48
LBB0_46:
	mov	w19, #0
LBB0_47:
Lloh69:
	adrp	x0, l_.str.2@PAGE
Lloh70:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_XLGMAC_PR
LBB0_48:
	mov	x0, x19
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_49:
	ldr	w19, [sp, #20]                  ; 4-byte Folded Reload
	cbnz	w21, LBB0_43
	b	LBB0_47
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpAdd	Lloh69, Lloh70
	.cfi_endproc
                                        ; -- End function
	.comm	_XLGMAC_RX_DESC_MAX_DIRTY,8,3   ; @XLGMAC_RX_DESC_MAX_DIRTY
	.comm	_RX_PACKET_ATTRIBUTES_INCOMPLETE_POS,4,2 ; @RX_PACKET_ATTRIBUTES_INCOMPLETE_POS
	.comm	_RX_PACKET_ATTRIBUTES_INCOMPLETE_LEN,4,2 ; @RX_PACKET_ATTRIBUTES_INCOMPLETE_LEN
	.comm	_RX_PACKET_ATTRIBUTES_CONTEXT_NEXT_POS,4,2 ; @RX_PACKET_ATTRIBUTES_CONTEXT_NEXT_POS
	.comm	_RX_PACKET_ATTRIBUTES_CONTEXT_NEXT_LEN,4,2 ; @RX_PACKET_ATTRIBUTES_CONTEXT_NEXT_LEN
	.comm	_RX_PACKET_ATTRIBUTES_CONTEXT_POS,4,2 ; @RX_PACKET_ATTRIBUTES_CONTEXT_POS
	.comm	_RX_PACKET_ATTRIBUTES_CONTEXT_LEN,4,2 ; @RX_PACKET_ATTRIBUTES_CONTEXT_LEN
	.comm	_rx_err,4,2                     ; @rx_err
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error in received packet\n"

	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.comm	_ETH_HLEN,4,2                   ; @ETH_HLEN
	.comm	_NETIF_F_HW_VLAN_CTAG_RX,4,2    ; @NETIF_F_HW_VLAN_CTAG_RX
	.comm	_ETH_P_8021Q,4,2                ; @ETH_P_8021Q
	.comm	_VLAN_HLEN,8,3                  ; @VLAN_HLEN
l_.str.1:                               ; @.str.1
	.asciz	"packet length exceeds configured MTU\n"

	.comm	_RX_PACKET_ATTRIBUTES_CSUM_DONE_POS,4,2 ; @RX_PACKET_ATTRIBUTES_CSUM_DONE_POS
	.comm	_RX_PACKET_ATTRIBUTES_CSUM_DONE_LEN,4,2 ; @RX_PACKET_ATTRIBUTES_CSUM_DONE_LEN
	.comm	_CHECKSUM_UNNECESSARY,4,2       ; @CHECKSUM_UNNECESSARY
	.comm	_RX_PACKET_ATTRIBUTES_VLAN_CTAG_POS,4,2 ; @RX_PACKET_ATTRIBUTES_VLAN_CTAG_POS
	.comm	_RX_PACKET_ATTRIBUTES_VLAN_CTAG_LEN,4,2 ; @RX_PACKET_ATTRIBUTES_VLAN_CTAG_LEN
	.comm	_RX_PACKET_ATTRIBUTES_RSS_HASH_POS,4,2 ; @RX_PACKET_ATTRIBUTES_RSS_HASH_POS
	.comm	_RX_PACKET_ATTRIBUTES_RSS_HASH_LEN,4,2 ; @RX_PACKET_ATTRIBUTES_RSS_HASH_LEN
l_.str.2:                               ; @.str.2
	.asciz	"packet_count = %d\n"

	.no_dead_strip	_xlgmac_rx_poll
.subsections_via_symbols
