	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_be_cmd_set_vxlan_port          ## -- Begin function be_cmd_set_vxlan_port
	.p2align	4, 0x90
_be_cmd_set_vxlan_port:                 ## @be_cmd_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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	-56(%rbp), %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	_PORT_RESOURCE_DESC_TYPE_V1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movq	_RESOURCE_DESC_SIZE_V1@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movl	%edx, -36(%rbp)
	movq	_IMM_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	_NOSV_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %esi
	shll	%cl, %esi
	btsl	%eax, %esi
	movl	%esi, -56(%rbp)
	movl	(%r14), %eax
	movl	%eax, -40(%rbp)
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	movq	_NV_TYPE_VXLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_SOCVID_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	btsl	%ecx, %eax
	movq	_RCVID_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	btsl	%ecx, %eax
	movl	%eax, -52(%rbp)
	movq	%rbx, %rdi
	callq	_swab16
	movl	(%r15), %edx
	jmp	LBB0_3
LBB0_2:
	movq	_NV_TYPE_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	xorl	%eax, %eax
LBB0_3:
	movq	%rax, -48(%rbp)
	leaq	-56(%rbp), %rsi
	movq	%r14, %rdi
	movl	$1, %ecx
	movl	$1, %r8d
	xorl	%r9d, %r9d
	callq	_be_cmd_set_profile_config
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PORT_RESOURCE_DESC_TYPE_V1,4,2 ## @PORT_RESOURCE_DESC_TYPE_V1
	.comm	_RESOURCE_DESC_SIZE_V1,4,2      ## @RESOURCE_DESC_SIZE_V1
	.comm	_IMM_SHIFT,4,2                  ## @IMM_SHIFT
	.comm	_NOSV_SHIFT,4,2                 ## @NOSV_SHIFT
	.comm	_NV_TYPE_VXLAN,4,2              ## @NV_TYPE_VXLAN
	.comm	_SOCVID_SHIFT,4,2               ## @SOCVID_SHIFT
	.comm	_RCVID_SHIFT,4,2                ## @RCVID_SHIFT
	.comm	_NV_TYPE_DISABLED,4,2           ## @NV_TYPE_DISABLED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_be_cmd_set_vxlan_port          ; -- Begin function be_cmd_set_vxlan_port
	.p2align	2
_be_cmd_set_vxlan_port:                 ; @be_cmd_set_vxlan_port
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x20, x1
	mov	x19, x0
	mov	x0, sp
	mov	w1, #0
	mov	w2, #32
	bl	_memset
Lloh0:
	adrp	x8, _PORT_RESOURCE_DESC_TYPE_V1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PORT_RESOURCE_DESC_TYPE_V1@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x21, _RESOURCE_DESC_SIZE_V1@GOTPAGE
Lloh4:
	ldr	x21, [x21, _RESOURCE_DESC_SIZE_V1@GOTPAGEOFF]
	ldr	w2, [x21]
Lloh5:
	adrp	x9, _IMM_SHIFT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IMM_SHIFT@GOTPAGEOFF]
	stp	w2, w8, [sp, #20]
Lloh7:
	ldr	w9, [x9]
	mov	w8, #1
	lsl	w9, w8, w9
Lloh8:
	adrp	x10, _NOSV_SHIFT@GOTPAGE
Lloh9:
	ldr	x10, [x10, _NOSV_SHIFT@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	lsl	w10, w8, w10
	orr	w9, w10, w9
	ldr	w10, [x19]
	str	w9, [sp]
	str	w10, [sp, #16]
	cbz	x20, LBB0_2
; %bb.1:
Lloh11:
	adrp	x9, _NV_TYPE_VXLAN@GOTPAGE
Lloh12:
	ldr	x9, [x9, _NV_TYPE_VXLAN@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
Lloh14:
	adrp	x10, _SOCVID_SHIFT@GOTPAGE
Lloh15:
	ldr	x10, [x10, _SOCVID_SHIFT@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	lsl	w10, w8, w10
	orr	w9, w10, w9
Lloh17:
	adrp	x10, _RCVID_SHIFT@GOTPAGE
Lloh18:
	ldr	x10, [x10, _RCVID_SHIFT@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
	lsl	w8, w8, w10
	orr	w8, w9, w8
	str	w8, [sp, #4]
	mov	x0, x20
	bl	_swab16
	ldr	w2, [x21]
	b	LBB0_3
LBB0_2:
	mov	x0, #0
Lloh20:
	adrp	x8, _NV_TYPE_DISABLED@GOTPAGE
Lloh21:
	ldr	x8, [x8, _NV_TYPE_DISABLED@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	str	w8, [sp, #4]
LBB0_3:
	str	x0, [sp, #8]
	mov	x1, sp
	mov	x0, x19
	mov	w3, #1
	mov	w4, #1
	mov	w5, #0
	bl	_be_cmd_set_profile_config
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_PORT_RESOURCE_DESC_TYPE_V1,4,2 ; @PORT_RESOURCE_DESC_TYPE_V1
	.comm	_RESOURCE_DESC_SIZE_V1,4,2      ; @RESOURCE_DESC_SIZE_V1
	.comm	_IMM_SHIFT,4,2                  ; @IMM_SHIFT
	.comm	_NOSV_SHIFT,4,2                 ; @NOSV_SHIFT
	.comm	_NV_TYPE_VXLAN,4,2              ; @NV_TYPE_VXLAN
	.comm	_SOCVID_SHIFT,4,2               ; @SOCVID_SHIFT
	.comm	_RCVID_SHIFT,4,2                ; @RCVID_SHIFT
	.comm	_NV_TYPE_DISABLED,4,2           ; @NV_TYPE_DISABLED
.subsections_via_symbols
