	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rocker_port_rx_proc
_rocker_port_rx_proc:                   ## @rocker_port_rx_proc
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_ROCKER_TLV_RX_MAX@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	incl	%eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	%r15, %rdi
	callq	_rocker_desc_cookie_ptr_get
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r13
	movl	(%r12), %esi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_rocker_tlv_parse_desc
	movq	_ROCKER_TLV_RX_FRAG_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rbx,%rax,8)
	je	LBB0_4
## %bb.5:
	movq	_ROCKER_TLV_RX_FLAGS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.7:
	callq	_rocker_tlv_get_u16
	movq	%rax, %r12
	jmp	LBB0_8
LBB0_1:
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_11
LBB0_6:
	xorl	%r12d, %r12d
LBB0_8:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_rocker_dma_rx_ring_skb_unmap
	movq	_ROCKER_TLV_RX_FRAG_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rdi
	callq	_rocker_tlv_get_u16
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_skb_put
	movq	(%r14), %rsi
	movq	%r13, %rdi
	callq	_eth_type_trans
	movl	%eax, 16(%r13)
	movq	_ROCKER_RX_FLAGS_FWD_OFFLOAD@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_10
## %bb.9:
	movl	$1, (%r13)
LBB0_10:
	movq	(%r14), %rax
	incl	4(%rax)
	movl	8(%r13), %ecx
	addl	%ecx, (%rax)
	movq	%r13, %rdi
	callq	_netif_receive_skb
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_rocker_dma_rx_ring_skb_alloc
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_13
## %bb.12:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ROCKER_TLV_RX_MAX,4,2          ## @ROCKER_TLV_RX_MAX
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_ROCKER_TLV_RX_FRAG_LEN,8,3     ## @ROCKER_TLV_RX_FRAG_LEN
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ROCKER_TLV_RX_FLAGS,8,3        ## @ROCKER_TLV_RX_FLAGS
	.comm	_ROCKER_RX_FLAGS_FWD_OFFLOAD,4,2 ## @ROCKER_RX_FLAGS_FWD_OFFLOAD
	.no_dead_strip	_rocker_port_rx_proc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rocker_port_rx_proc
_rocker_port_rx_proc:                   ; @rocker_port_rx_proc
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #16
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x24, _ROCKER_TLV_RX_MAX@GOTPAGE
Lloh4:
	ldr	x24, [x24, _ROCKER_TLV_RX_MAX@GOTPAGEOFF]
	ldr	w8, [x24]
	add	w8, w8, #1
	lsl	x8, x8, #3
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x23, x9, x8
	mov	sp, x23
	mov	x0, x2
	bl	_rocker_desc_cookie_ptr_get
	cbz	x0, LBB0_4
; %bb.1:
	mov	x21, x0
	ldr	w1, [x24]
	mov	x0, x23
	mov	x2, x19
	bl	_rocker_tlv_parse_desc
Lloh7:
	adrp	x25, _ROCKER_TLV_RX_FRAG_LEN@GOTPAGE
Lloh8:
	ldr	x25, [x25, _ROCKER_TLV_RX_FRAG_LEN@GOTPAGEOFF]
	ldr	x8, [x25]
	ldr	x8, [x23, x8, lsl #3]
	cbz	x8, LBB0_5
; %bb.2:
Lloh9:
	adrp	x8, _ROCKER_TLV_RX_FLAGS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ROCKER_TLV_RX_FLAGS@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	x0, [x23, x8, lsl #3]
	cbz	x0, LBB0_7
; %bb.3:
	bl	_rocker_tlv_get_u16
	mov	x24, x0
	b	LBB0_8
LBB0_4:
Lloh12:
	adrp	x8, _ENOENT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_11
LBB0_7:
	mov	w24, #0
LBB0_8:
	mov	x0, x22
	mov	x1, x23
	bl	_rocker_dma_rx_ring_skb_unmap
	ldr	x8, [x25]
	ldr	x0, [x23, x8, lsl #3]
	bl	_rocker_tlv_get_u16
	mov	x1, x0
	mov	x0, x21
	bl	_skb_put
	ldr	x1, [x20]
	mov	x0, x21
	bl	_eth_type_trans
	str	w0, [x21, #16]
Lloh16:
	adrp	x8, _ROCKER_RX_FLAGS_FWD_OFFLOAD@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ROCKER_RX_FLAGS_FWD_OFFLOAD@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	tst	w8, w24
	b.eq	LBB0_10
; %bb.9:
	mov	w8, #1
	str	w8, [x21]
LBB0_10:
	ldr	x8, [x20]
	add	x9, x21, #8
	ldr	d0, [x8]
	movi.2s	v1, #1
	ld1.s	{ v1 }[0], [x9]
	add.2s	v0, v0, v1
	str	d0, [x8]
	mov	x0, x21
	bl	_netif_receive_skb
	mov	x0, x20
	mov	x1, x19
	bl	_rocker_dma_rx_ring_skb_alloc
LBB0_11:
	ldur	x8, [x29, #-72]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_ROCKER_TLV_RX_MAX,4,2          ; @ROCKER_TLV_RX_MAX
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_ROCKER_TLV_RX_FRAG_LEN,8,3     ; @ROCKER_TLV_RX_FRAG_LEN
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ROCKER_TLV_RX_FLAGS,8,3        ; @ROCKER_TLV_RX_FLAGS
	.comm	_ROCKER_RX_FLAGS_FWD_OFFLOAD,4,2 ; @ROCKER_RX_FLAGS_FWD_OFFLOAD
	.no_dead_strip	_rocker_port_rx_proc
.subsections_via_symbols
