	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mvpp2_ethtool_cls_rule_get     ## -- Begin function mvpp2_ethtool_cls_rule_get
	.p2align	4, 0x90
_mvpp2_ethtool_cls_rule_get:            ## @mvpp2_ethtool_cls_rule_get
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %rax
	movq	_MVPP2_N_RFS_ENTRIES_PER_FLOW@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jae	LBB0_1
## %bb.3:
	movq	(%rdi), %rcx
	movq	(%rcx,%rax,8), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rsi, %rdi
	movq	%rax, %rsi
	movl	$4, %edx
	callq	_memcpy
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_4:
	movq	_ENOENT@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MVPP2_N_RFS_ENTRIES_PER_FLOW,8,3 ## @MVPP2_N_RFS_ENTRIES_PER_FLOW
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENOENT,4,2                     ## @ENOENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mvpp2_ethtool_cls_rule_get     ; -- Begin function mvpp2_ethtool_cls_rule_get
	.p2align	2
_mvpp2_ethtool_cls_rule_get:            ; @mvpp2_ethtool_cls_rule_get
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _MVPP2_N_RFS_ENTRIES_PER_FLOW@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MVPP2_N_RFS_ENTRIES_PER_FLOW@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.hs	LBB0_3
; %bb.1:
	ldr	x9, [x0]
	ldr	x8, [x9, x8, lsl #3]
	cbz	x8, LBB0_4
; %bb.2:
	mov	x0, x1
	mov	x1, x8
	mov	w2, #4
	bl	_memcpy
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh5:
	adrp	x8, _ENOENT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_MVPP2_N_RFS_ENTRIES_PER_FLOW,8,3 ; @MVPP2_N_RFS_ENTRIES_PER_FLOW
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENOENT,4,2                     ; @ENOENT
.subsections_via_symbols
