	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function npc_get_nixlf_mcam_index
_npc_get_nixlf_mcam_index:              ## @npc_get_nixlf_mcam_index
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movl	%edx, %ebx
	movl	%esi, %r12d
	movq	%rdi, %r14
	movl	%esi, %edi
	callq	_rvu_get_pf
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movq	_RVU_PFVF_FUNC_MASK@GOTPCREL(%rip), %rcx
	testl	%r12d, (%rcx)
	je	LBB0_2
LBB0_5:
	movq	_RSVD_MCAM_ENTRIES_PER_NIXLF@GOTPCREL(%rip), %rax
	imull	(%rax), %ebx
	addl	4(%r14), %ebx
	movl	%ebx, %eax
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	decl	%eax
	movq	_RSVD_MCAM_ENTRIES_PER_PF@GOTPCREL(%rip), %rcx
	imull	(%rcx), %eax
	addl	(%r14), %eax
	movq	_NIXLF_BCAST_ENTRY@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	je	LBB0_6
## %bb.3:
	movq	_NIXLF_PROMISC_ENTRY@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	jne	LBB0_5
## %bb.4:
	incl	%eax
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_RVU_PFVF_FUNC_MASK,4,2         ## @RVU_PFVF_FUNC_MASK
	.comm	_RSVD_MCAM_ENTRIES_PER_PF,4,2   ## @RSVD_MCAM_ENTRIES_PER_PF
	.comm	_NIXLF_BCAST_ENTRY,4,2          ## @NIXLF_BCAST_ENTRY
	.comm	_NIXLF_PROMISC_ENTRY,4,2        ## @NIXLF_PROMISC_ENTRY
	.comm	_RSVD_MCAM_ENTRIES_PER_NIXLF,4,2 ## @RSVD_MCAM_ENTRIES_PER_NIXLF
	.no_dead_strip	_npc_get_nixlf_mcam_index
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function npc_get_nixlf_mcam_index
_npc_get_nixlf_mcam_index:              ; @npc_get_nixlf_mcam_index
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x3
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
	mov	x0, x1
	bl	_rvu_get_pf
	cbz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _RVU_PFVF_FUNC_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RVU_PFVF_FUNC_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_4
LBB0_2:
	ldr	w8, [x20, #4]
Lloh3:
	adrp	x9, _RSVD_MCAM_ENTRIES_PER_NIXLF@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RSVD_MCAM_ENTRIES_PER_NIXLF@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	madd	w0, w9, w19, w8
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_4:
	sub	w8, w0, #1
	ldr	w9, [x20]
Lloh6:
	adrp	x10, _RSVD_MCAM_ENTRIES_PER_PF@GOTPAGE
Lloh7:
	ldr	x10, [x10, _RSVD_MCAM_ENTRIES_PER_PF@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	madd	w0, w10, w8, w9
Lloh9:
	adrp	x8, _NIXLF_BCAST_ENTRY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NIXLF_BCAST_ENTRY@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w8, w21
	b.eq	LBB0_3
; %bb.5:
Lloh12:
	adrp	x8, _NIXLF_PROMISC_ENTRY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NIXLF_PROMISC_ENTRY@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_2
; %bb.6:
	add	w0, w0, #1
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_RVU_PFVF_FUNC_MASK,4,2         ; @RVU_PFVF_FUNC_MASK
	.comm	_RSVD_MCAM_ENTRIES_PER_PF,4,2   ; @RSVD_MCAM_ENTRIES_PER_PF
	.comm	_NIXLF_BCAST_ENTRY,4,2          ; @NIXLF_BCAST_ENTRY
	.comm	_NIXLF_PROMISC_ENTRY,4,2        ; @NIXLF_PROMISC_ENTRY
	.comm	_RSVD_MCAM_ENTRIES_PER_NIXLF,4,2 ; @RSVD_MCAM_ENTRIES_PER_NIXLF
	.no_dead_strip	_npc_get_nixlf_mcam_index
.subsections_via_symbols
