	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp_net_add_vxlan_port
_nfp_net_add_vxlan_port:                ## @nfp_net_add_vxlan_port
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	movq	(%rbx), %rax
	movq	_UDP_TUNNEL_TYPE_VXLAN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movl	8(%rbx), %esi
	movq	%r14, %rdi
	callq	_nfp_net_find_vxlan_idx
	movq	_ENOSPC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%eax, %ecx
	je	LBB0_3
## %bb.2:
	movq	(%r14), %rcx
	movslq	%eax, %rdx
	movl	(%rcx,%rdx,4), %esi
	leal	1(%rsi), %edi
	movl	%edi, (%rcx,%rdx,4)
	testl	%esi, %esi
	je	LBB0_4
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movl	8(%rbx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_nfp_net_set_vxlan_port         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_UDP_TUNNEL_TYPE_VXLAN,8,3      ## @UDP_TUNNEL_TYPE_VXLAN
	.comm	_ENOSPC,4,2                     ## @ENOSPC
	.no_dead_strip	_nfp_net_add_vxlan_port
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfp_net_add_vxlan_port
_nfp_net_add_vxlan_port:                ; @nfp_net_add_vxlan_port
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	bl	_netdev_priv
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _UDP_TUNNEL_TYPE_VXLAN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _UDP_TUNNEL_TYPE_VXLAN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	mov	x20, x0
	ldr	w1, [x19, #8]
	bl	_nfp_net_find_vxlan_idx
Lloh3:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_3
; %bb.2:
	mov	x1, x0
	ldr	x8, [x20]
	sbfiz	x9, x1, #2, #32
	ldr	w10, [x8, x9]
	add	w11, w10, #1
	str	w11, [x8, x9]
	cbz	w10, LBB0_4
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	w2, [x19, #8]
	mov	x0, x20
                                        ; kill: def $w1 killed $w1 killed $x1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_nfp_net_set_vxlan_port
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_UDP_TUNNEL_TYPE_VXLAN,8,3      ; @UDP_TUNNEL_TYPE_VXLAN
	.comm	_ENOSPC,4,2                     ; @ENOSPC
	.no_dead_strip	_nfp_net_add_vxlan_port
.subsections_via_symbols
