	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cpsw_rx_handler
_cpsw_rx_handler:                       ## @cpsw_rx_handler
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	callq	_page_address
	movq	%rax, %r15
	movq	_CPSW_XMETA_OFFSET@GOTPCREL(%rip), %rax
	movslq	(%rax), %rbx
	movq	8(%r15,%rbx), %rdi
	callq	_ndev_to_cpsw
	movq	%rax, %r14
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movl	(%r15,%rbx), %eax
	cltq
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_CPSW_HEADROOM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	8(%r15,%rbx), %rbx
	testl	%r12d, %r12d
	js	LBB0_5
## %bb.1:
	cmpq	$0, 32(%r14)
	je	LBB0_5
## %bb.2:
	movl	%r12d, %edi
	callq	_CPDMA_RX_SOURCE_PORT
	testl	%eax, %eax
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_6
## %bb.3:
	movq	48(%r14), %rcx
	cltq
	movq	-8(%rcx,%rax,8), %rbx
	jmp	LBB0_6
LBB0_5:
	movq	-64(%rbp), %r13                 ## 8-byte Reload
LBB0_6:
	movq	%rbx, %rdi
	callq	_netdev_priv
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	40(%r14), %rax
	movq	(%rax,%r13,8), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%r12d, %edi
	shrl	$31, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_netif_running
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_12
LBB0_8:
	cmpq	$0, 32(%r14)
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	je	LBB0_11
## %bb.9:
	testl	%r12d, %r12d
	js	LBB0_11
## %bb.10:
	cmpq	$0, 24(%r14)
	movq	%rsi, %r15
	jne	LBB0_26
LBB0_11:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_page_pool_recycle_direct       ## TAILCALL
LBB0_12:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_page_pool_dev_alloc_pages
	movq	%rax, %r13
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	incl	8(%rbx)
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_26
LBB0_14:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 16(%rax)
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	je	LBB0_17
## %bb.15:
	movq	_CPDMA_RX_VLAN_ENCAP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	andl	%r12d, %eax
	movq	_CPSW_HEADROOM@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movq	%r15, %rdx
	addq	%rcx, %rdx
	movslq	-44(%rbp), %rcx                 ## 4-byte Folded Reload
	leaq	(%rdx,%rcx), %r8
	movq	_CPSW_RX_VLAN_ENCAP_HDR_SIZE@GOTPCREL(%rip), %rdi
	movslq	(%rdi), %rdi
	leaq	(%rdx,%rdi), %rsi
	addq	%rsi, %rcx
	subq	%rdi, %rcx
	testl	%eax, %eax
	cmovneq	%rsi, %rdx
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	cmoveq	%r8, %rcx
	movq	%rdx, -120(%rbp)
	movq	%rcx, -112(%rbp)
	leaq	-128(%rbp), %rdi
	callq	_xdp_set_data_meta_invalid
	movq	%r15, -128(%rbp)
	leaq	(,%r13,4), %rax
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	addq	8(%rdi), %rax
	movq	%rax, -104(%rbp)
	movl	%r13d, %esi
	leaq	-128(%rbp), %rdx
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rcx
	callq	_cpsw_run_xdp
	movq	_CPSW_XDP_PASS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_25
## %bb.16:
	movl	-120(%rbp), %ecx
	movl	-112(%rbp), %eax
	subl	%ecx, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	subl	-128(%rbp), %ecx
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	movq	_CPDMA_RX_VLAN_ENCAP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r12d
	jmp	LBB0_18
LBB0_17:
	movq	-80(%rbp), %r13                 ## 8-byte Reload
LBB0_18:
	movl	-72(%rbp), %edi                 ## 4-byte Reload
	callq	_cpsw_rxbuf_total_len
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_build_skb
	testq	%rax, %rax
	je	LBB0_24
## %bb.19:
	movq	%rax, %r15
	movq	%rax, %rdi
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	callq	_skb_reserve
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_skb_put
	movq	%rbx, 8(%r15)
	movq	_CPDMA_RX_VLAN_ENCAP@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_21
## %bb.20:
	movq	%r15, %rdi
	callq	_cpsw_rx_vlan_encap
LBB0_21:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	je	LBB0_23
## %bb.22:
	movl	16(%r14), %edi
	movq	%r15, %rsi
	callq	_cpts_rx_timestamp
LBB0_23:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_eth_type_trans
	movl	%eax, (%r15)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_page_pool_release_page
	movq	%r15, %rdi
	callq	_netif_receive_skb
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addl	%eax, (%rbx)
	incl	4(%rbx)
	jmp	LBB0_25
LBB0_24:
	incl	8(%rbx)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_page_pool_recycle_direct
LBB0_25:
	movq	-88(%rbp), %r15                 ## 8-byte Reload
LBB0_26:
	movq	%r15, %rdi
	callq	_page_address
	movq	_CPSW_XMETA_OFFSET@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movq	%rbx, 8(%rax,%rcx)
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, (%rax,%rcx)
	movq	%r15, %rdi
	callq	_page_pool_get_dma_addr
	movq	_CPSW_HEADROOM@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rdx
	addq	%rax, %rdx
	movq	8(%r14), %rax
	movl	(%rax,%rbx,4), %edi
	movq	%r15, %rsi
	movl	-72(%rbp), %ecx                 ## 4-byte Reload
	xorl	%r8d, %r8d
	callq	_cpdma_chan_submit_mapped
	testl	%eax, %eax
	jns	LBB0_28
## %bb.27:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	addl	(%rcx), %eax
	sete	%dil
	callq	_WARN_ON
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_page_pool_recycle_direct
LBB0_28:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CPSW_XMETA_OFFSET,4,2          ## @CPSW_XMETA_OFFSET
	.comm	_CPSW_HEADROOM,4,2              ## @CPSW_HEADROOM
	.comm	_CPDMA_RX_VLAN_ENCAP,4,2        ## @CPDMA_RX_VLAN_ENCAP
	.comm	_CPSW_RX_VLAN_ENCAP_HDR_SIZE,4,2 ## @CPSW_RX_VLAN_ENCAP_HDR_SIZE
	.comm	_CPSW_XDP_PASS,4,2              ## @CPSW_XDP_PASS
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_cpsw_rx_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cpsw_rx_handler
_cpsw_rx_handler:                       ; @cpsw_rx_handler
	.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
	mov	x26, x2
	mov	x25, x1
	mov	x24, x0
	bl	_page_address
	mov	x28, x0
Lloh0:
	adrp	x8, _CPSW_XMETA_OFFSET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CPSW_XMETA_OFFSET@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	add	x22, x0, x8
	ldr	x0, [x22, #8]
	bl	_ndev_to_cpsw
	mov	x20, x0
	ldr	w8, [x0]
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
	ldr	w21, [x22]
	sxtw	x19, w21
Lloh3:
	adrp	x8, _CPSW_HEADROOM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CPSW_HEADROOM@GOTPAGEOFF]
Lloh5:
	ldr	w27, [x8]
	ldr	x23, [x22, #8]
	tbnz	w26, #31, LBB0_4
; %bb.1:
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_4
; %bb.2:
	mov	x0, x26
	bl	_CPDMA_RX_SOURCE_PORT
	cbz	w0, LBB0_4
; %bb.3:
	ldr	x8, [x20, #48]
	add	x8, x8, w0, sxtw #3
	ldur	x23, [x8, #-8]
LBB0_4:
	mov	x0, x23
	bl	_netdev_priv
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
	ldr	x8, [x20, #40]
	ldr	x22, [x8, x19, lsl #3]
	lsr	w0, w26, #31
	bl	_unlikely
	cbnz	x0, LBB0_6
; %bb.5:
	mov	x0, x23
	bl	_netif_running
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_10
LBB0_6:
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_9
; %bb.7:
	tbnz	w26, #31, LBB0_9
; %bb.8:
	ldr	x8, [x20, #24]
	mov	x25, x24
	cbnz	x8, LBB0_22
LBB0_9:
	mov	x0, x22
	mov	x1, x24
	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
	b	_page_pool_recycle_direct
LBB0_10:
	str	x25, [sp, #8]                   ; 8-byte Folded Spill
	mov	x0, x22
	bl	_page_pool_dev_alloc_pages
	mov	x25, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_12
; %bb.11:
	ldr	w8, [x23, #8]
	add	w8, w8, #1
	str	w8, [x23, #8]
	mov	x25, x24
	b	LBB0_22
LBB0_12:
	ldr	x14, [sp, #16]                  ; 8-byte Folded Reload
	ldr	x8, [x14, #16]
Lloh6:
	adrp	x9, _CPDMA_RX_VLAN_ENCAP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CPDMA_RX_VLAN_ENCAP@GOTPAGEOFF]
	cbz	x8, LBB0_15
; %bb.13:
	ldr	w8, [x9]
Lloh8:
	adrp	x9, _CPSW_HEADROOM@GOTPAGE
Lloh9:
	ldr	x9, [x9, _CPSW_HEADROOM@GOTPAGEOFF]
Lloh10:
	ldrsw	x9, [x9]
	ldr	x10, [sp, #8]                   ; 8-byte Folded Reload
	sxtw	x10, w10
	add	x9, x28, x9
	add	x11, x9, x10
Lloh11:
	adrp	x12, _CPSW_RX_VLAN_ENCAP_HDR_SIZE@GOTPAGE
Lloh12:
	ldr	x12, [x12, _CPSW_RX_VLAN_ENCAP_HDR_SIZE@GOTPAGEOFF]
Lloh13:
	ldrsw	x12, [x12]
	add	x13, x9, x12
	add	x10, x13, x10
	sub	x10, x10, x12
	tst	w8, w26
	csel	x8, x9, x13, eq
	csel	x9, x11, x10, eq
	stp	x8, x9, [sp, #40]
	mov	x27, x14
	add	x0, sp, #32
	bl	_xdp_set_data_meta_invalid
	ldr	x8, [x27, #8]
	add	x8, x8, x19, lsl #2
	str	x28, [sp, #32]
	str	x8, [sp, #56]
	add	x2, sp, #32
	mov	x0, x27
	mov	x1, x21
	mov	x3, x24
	bl	_cpsw_run_xdp
Lloh14:
	adrp	x8, _CPSW_XDP_PASS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CPSW_XDP_PASS@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_22
; %bb.14:
	ldr	w8, [sp, #48]
	ldr	w9, [sp, #40]
	ldr	w10, [sp, #32]
	sub	w8, w8, w9
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	sub	w27, w9, w10
Lloh17:
	adrp	x8, _CPDMA_RX_VLAN_ENCAP@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CPDMA_RX_VLAN_ENCAP@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	bic	w26, w26, w8
LBB0_15:
	ldr	w0, [sp, #28]                   ; 4-byte Folded Reload
	bl	_cpsw_rxbuf_total_len
	mov	x1, x0
	mov	x0, x28
	bl	_build_skb
	cbz	x0, LBB0_21
; %bb.16:
	mov	x28, x0
	mov	x1, x27
	bl	_skb_reserve
	mov	x0, x28
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_skb_put
	str	x23, [x28, #8]
Lloh20:
	adrp	x8, _CPDMA_RX_VLAN_ENCAP@GOTPAGE
Lloh21:
	ldr	x8, [x8, _CPDMA_RX_VLAN_ENCAP@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	tst	w8, w26
	b.eq	LBB0_18
; %bb.17:
	mov	x0, x28
	bl	_cpsw_rx_vlan_encap
LBB0_18:
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
	cbz	x8, LBB0_20
; %bb.19:
	ldr	w0, [x20, #16]
	mov	x1, x28
	bl	_cpts_rx_timestamp
LBB0_20:
	mov	x0, x28
	mov	x1, x23
	bl	_eth_type_trans
	str	w0, [x28]
	mov	x0, x22
	mov	x1, x24
	bl	_page_pool_release_page
	mov	x0, x28
	bl	_netif_receive_skb
	ldr	d0, [x23]
	movi.2s	v1, #1
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	mov.s	v1[0], w8
	add.2s	v0, v0, v1
	str	d0, [x23]
	b	LBB0_22
LBB0_21:
	ldr	w8, [x23, #8]
	add	w8, w8, #1
	str	w8, [x23, #8]
	mov	x0, x22
	mov	x1, x24
	bl	_page_pool_recycle_direct
LBB0_22:
	mov	x0, x25
	bl	_page_address
Lloh23:
	adrp	x8, _CPSW_XMETA_OFFSET@GOTPAGE
Lloh24:
	ldr	x8, [x8, _CPSW_XMETA_OFFSET@GOTPAGEOFF]
Lloh25:
	ldrsw	x8, [x8]
	add	x8, x0, x8
	str	x23, [x8, #8]
	str	w21, [x8]
	mov	x0, x25
	bl	_page_pool_get_dma_addr
Lloh26:
	adrp	x8, _CPSW_HEADROOM@GOTPAGE
Lloh27:
	ldr	x8, [x8, _CPSW_HEADROOM@GOTPAGEOFF]
Lloh28:
	ldrsw	x8, [x8]
	add	x2, x0, x8
	ldr	x8, [x20, #8]
	ldr	w0, [x8, x19, lsl #2]
	mov	x1, x25
	ldr	w3, [sp, #28]                   ; 4-byte Folded Reload
	mov	w4, #0
	bl	_cpdma_chan_submit_mapped
	tbz	w0, #31, LBB0_24
; %bb.23:
Lloh29:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	cmn	w0, w8
	cset	w0, eq
	bl	_WARN_ON
	mov	x0, x22
	mov	x1, x25
	bl	_page_pool_recycle_direct
LBB0_24:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_CPSW_XMETA_OFFSET,4,2          ; @CPSW_XMETA_OFFSET
	.comm	_CPSW_HEADROOM,4,2              ; @CPSW_HEADROOM
	.comm	_CPDMA_RX_VLAN_ENCAP,4,2        ; @CPDMA_RX_VLAN_ENCAP
	.comm	_CPSW_RX_VLAN_ENCAP_HDR_SIZE,4,2 ; @CPSW_RX_VLAN_ENCAP_HDR_SIZE
	.comm	_CPSW_XDP_PASS,4,2              ; @CPSW_XDP_PASS
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_cpsw_rx_handler
.subsections_via_symbols
