	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp_net_set_vxlan_port
_nfp_net_set_vxlan_port:                ## @nfp_net_set_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movslq	%esi, %rcx
	movl	%edx, (%rax,%rcx,4)
	movq	_NFP_NET_CFG_CTRL_VXLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rdi)
	je	LBB0_5
## %bb.1:
	movq	%rdi, %r14
	movq	_NFP_NET_N_VXLAN_PORTS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	andl	$1, %edi
	callq	_BUILD_BUG_ON
	cmpl	$0, (%rbx)
	jle	LBB0_4
## %bb.2:
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	_NFP_NET_CFG_VXLAN_PORT@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	addq	%r12, %r15
	movq	(%r14), %rax
	movl	4(%rax,%r12), %edi
	callq	_be16_to_cpu
	movl	%eax, %ebx
	shll	$16, %ebx
	movq	(%r14), %rax
	movl	(%rax,%r12), %edi
	callq	_be16_to_cpu
	orl	%eax, %ebx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	movq	_NFP_NET_N_VXLAN_PORTS@GOTPCREL(%rip), %rbx
	callq	_nn_writel
	addq	$8, %r12
	addl	$2, %r13d
	cmpl	%r13d, (%rbx)
	jg	LBB0_3
LBB0_4:
	movq	_NFP_NET_CFG_UPDATE_VXLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nfp_net_reconfig_post          ## TAILCALL
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NFP_NET_CFG_CTRL_VXLAN,4,2     ## @NFP_NET_CFG_CTRL_VXLAN
	.comm	_NFP_NET_N_VXLAN_PORTS,4,2      ## @NFP_NET_N_VXLAN_PORTS
	.comm	_NFP_NET_CFG_VXLAN_PORT,8,3     ## @NFP_NET_CFG_VXLAN_PORT
	.comm	_NFP_NET_CFG_UPDATE_VXLAN,4,2   ## @NFP_NET_CFG_UPDATE_VXLAN
	.no_dead_strip	_nfp_net_set_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_set_vxlan_port
_nfp_net_set_vxlan_port:                ; @nfp_net_set_vxlan_port
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x8, [x0]
	str	w2, [x8, w1, sxtw #2]
	ldr	w8, [x0, #8]
Lloh0:
	adrp	x9, _NFP_NET_CFG_CTRL_VXLAN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NFP_NET_CFG_CTRL_VXLAN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x22, _NFP_NET_N_VXLAN_PORTS@GOTPAGE
Lloh4:
	ldr	x22, [x22, _NFP_NET_N_VXLAN_PORTS@GOTPAGEOFF]
	ldr	w8, [x22]
	and	w0, w8, #0x1
	bl	_BUILD_BUG_ON
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	w23, #0
	mov	x24, #0
Lloh5:
	adrp	x25, _NFP_NET_CFG_VXLAN_PORT@GOTPAGE
Lloh6:
	ldr	x25, [x25, _NFP_NET_CFG_VXLAN_PORT@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	add	x20, x24, x8
	ldr	x8, [x19]
	add	x8, x8, x24
	ldr	w0, [x8, #4]
	bl	_be16_to_cpu
	mov	x21, x0
	ldr	x8, [x19]
	ldr	w0, [x8, x24]
	bl	_be16_to_cpu
	orr	w2, w0, w21, lsl #16
	mov	x0, x19
	mov	x1, x20
	bl	_nn_writel
	ldr	w8, [x22]
	add	x24, x24, #8
	add	w23, w23, #2
	cmp	w8, w23
	b.gt	LBB0_3
LBB0_4:
Lloh7:
	adrp	x8, _NFP_NET_CFG_UPDATE_VXLAN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NFP_NET_CFG_UPDATE_VXLAN@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_nfp_net_reconfig_post
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_NFP_NET_CFG_CTRL_VXLAN,4,2     ; @NFP_NET_CFG_CTRL_VXLAN
	.comm	_NFP_NET_N_VXLAN_PORTS,4,2      ; @NFP_NET_N_VXLAN_PORTS
	.comm	_NFP_NET_CFG_VXLAN_PORT,8,3     ; @NFP_NET_CFG_VXLAN_PORT
	.comm	_NFP_NET_CFG_UPDATE_VXLAN,4,2   ; @NFP_NET_CFG_UPDATE_VXLAN
	.no_dead_strip	_nfp_net_set_vxlan_port
.subsections_via_symbols
