	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp_net_find_vxlan_idx
_nfp_net_find_vxlan_idx:                ## @nfp_net_find_vxlan_idx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ENOSPC@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	movq	_NFP_NET_N_VXLAN_PORTS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	testl	%r8d, %r8d
	jle	LBB0_5
## %bb.1:
	movq	(%rdi), %r9
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rsi, (%r9,%rdx,8)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rdi), %rcx
	cmpl	$0, (%rcx,%rdx,4)
	cmovel	%edx, %eax
	incq	%rdx
	cmpq	%rdx, %r8
	jne	LBB0_2
LBB0_5:
	popq	%rbp
	retq
LBB0_4:
	movl	%edx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOSPC,4,2                     ## @ENOSPC
	.comm	_NFP_NET_N_VXLAN_PORTS,4,2      ## @NFP_NET_N_VXLAN_PORTS
	.no_dead_strip	_nfp_net_find_vxlan_idx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfp_net_find_vxlan_idx
_nfp_net_find_vxlan_idx:                ; @nfp_net_find_vxlan_idx
	.cfi_startproc
; %bb.0:
	mov	x8, x0
Lloh0:
	adrp	x9, _ENOSPC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ENOSPC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	neg	w0, w9
Lloh3:
	adrp	x9, _NFP_NET_N_VXLAN_PORTS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NFP_NET_N_VXLAN_PORTS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w9, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x10, #0
	ldr	x11, [x8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x11, x10, lsl #3]
	cmp	x12, x1
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x12, [x8, #8]
	ldr	w12, [x12, x10, lsl #2]
	cmp	w12, #0
	csel	w0, w10, w0, eq
	add	x10, x10, #1
	cmp	x9, x10
	b.ne	LBB0_2
LBB0_4:
	ret
LBB0_5:
	mov	x0, x10
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOSPC,4,2                     ; @ENOSPC
	.comm	_NFP_NET_N_VXLAN_PORTS,4,2      ; @NFP_NET_N_VXLAN_PORTS
	.no_dead_strip	_nfp_net_find_vxlan_idx
.subsections_via_symbols
