	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mvpp22_port_rss_ctx_delete     ## -- Begin function mvpp22_port_rss_ctx_delete
	.p2align	4, 0x90
_mvpp22_port_rss_ctx_delete:            ## @mvpp22_port_rss_ctx_delete
	.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	%rdi, %r13
	movq	24(%rdi), %rbx
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	callq	_mvpp22_rss_ctx
	testl	%eax, %eax
	js	LBB0_12
## %bb.1:
	movq	_MVPP22_N_RSS_TABLES@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_12
## %bb.2:
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	_MVPP2_N_RFS_ENTRIES_PER_FLOW@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_10
## %bb.3:
	xorl	%r15d, %r15d
	movq	_FLOW_RSS@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%r15
	movslq	(%r12), %rax
	cmpq	%rax, %r15
	jge	LBB0_10
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r13), %rax
	movq	(%rax,%r15,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rcx), %eax
	testl	%eax, 8(%rbx)
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, (%rbx)
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%rcx, %r14
	callq	_mvpp2_ethtool_cls_rule_del
	movq	%r14, %rcx
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	8(%r13), %edi
	movl	12(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	callq	_netdev_warn
	movq	%r14, %rcx
	jmp	LBB0_9
LBB0_12:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_11
LBB0_10:
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	(%r15), %rax
	movslq	-44(%rbp), %rbx                 ## 4-byte Folded Reload
	movq	(%rax,%rbx,8), %rdi
	callq	_kfree
	movq	(%r15), %rax
	movq	$0, (%rax,%rbx,8)
	movq	(%r13), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	$-1, (%rax,%rcx,4)
	xorl	%eax, %eax
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MVPP22_N_RSS_TABLES,4,2        ## @MVPP22_N_RSS_TABLES
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_MVPP2_N_RFS_ENTRIES_PER_FLOW,4,2 ## @MVPP2_N_RFS_ENTRIES_PER_FLOW
	.comm	_FLOW_RSS,4,2                   ## @FLOW_RSS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"couldn't remove classification rule %d associated to this context"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mvpp22_port_rss_ctx_delete     ; -- Begin function mvpp22_port_rss_ctx_delete
	.p2align	2
_mvpp22_port_rss_ctx_delete:            ; @mvpp22_port_rss_ctx_delete
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x1
	mov	x20, x0
	ldr	x24, [x0, #24]
	bl	_mvpp22_rss_ctx
	tbnz	w0, #31, LBB0_10
; %bb.1:
	mov	x21, x0
Lloh0:
	adrp	x8, _MVPP22_N_RSS_TABLES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MVPP22_N_RSS_TABLES@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ge	LBB0_10
; %bb.2:
Lloh3:
	adrp	x25, _MVPP2_N_RFS_ENTRIES_PER_FLOW@GOTPAGE
Lloh4:
	ldr	x25, [x25, _MVPP2_N_RFS_ENTRIES_PER_FLOW@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.3:
	mov	x26, #0
Lloh5:
	adrp	x27, _FLOW_RSS@GOTPAGE
Lloh6:
	ldr	x27, [x27, _FLOW_RSS@GOTPAGEOFF]
Lloh7:
	adrp	x22, l_.str@PAGE
Lloh8:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x26, x26, #1
	ldrsw	x8, [x25]
	cmp	x26, x8
	b.ge	LBB0_11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #16]
	ldr	x23, [x8, x26, lsl #3]
	cbz	x23, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x23, #8]
	ldr	w9, [x27]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x23]
	cmp	x8, x19
	b.ne	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	mov	x1, x23
	bl	_mvpp2_ethtool_cls_rule_del
	cbz	w0, LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x20, #8]
	ldr	w2, [x23, #12]
	mov	x1, x22
	bl	_netdev_warn
	b	LBB0_4
LBB0_10:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_12
LBB0_11:
	ldr	x8, [x24]
	sbfiz	x21, x21, #3, #32
	ldr	x0, [x8, x21]
	bl	_kfree
	mov	w0, #0
	ldr	x8, [x24]
	str	xzr, [x8, x21]
	ldr	x8, [x20]
	mov	w9, #-1
	str	w9, [x8, x19, lsl #2]
LBB0_12:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MVPP22_N_RSS_TABLES,4,2        ; @MVPP22_N_RSS_TABLES
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_MVPP2_N_RFS_ENTRIES_PER_FLOW,4,2 ; @MVPP2_N_RFS_ENTRIES_PER_FLOW
	.comm	_FLOW_RSS,4,2                   ; @FLOW_RSS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"couldn't remove classification rule %d associated to this context"

.subsections_via_symbols
