	.file	"extr_be_cmds.c_be_cmd_set_vxlan_port.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	be_cmd_set_vxlan_port
	.type	be_cmd_set_vxlan_port, @function
be_cmd_set_vxlan_port:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	edx, 32
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	xor	esi, esi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	sub	rsp, 48
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	r13, rsp
	mov	rdi, r13
	call	memset@PLT
	mov	eax, DWORD PTR PORT_RESOURCE_DESC_TYPE_V1[rip]
	mov	ecx, DWORD PTR NOSV_SHIFT[rip]
	mov	r10d, DWORD PTR RESOURCE_DESC_SIZE_V1[rip]
	mov	DWORD PTR 24[rsp], eax
	mov	eax, 1
	mov	edx, eax
	mov	DWORD PTR 20[rsp], r10d
	sal	edx, cl
	mov	ecx, DWORD PTR IMM_SHIFT[rip]
	bts	edx, ecx
	mov	DWORD PTR [rsp], edx
	mov	edx, DWORD PTR 0[rbp]
	mov	DWORD PTR 16[rsp], edx
	test	r12, r12
	jne	.L7
	mov	QWORD PTR 8[rsp], 0
	mov	eax, DWORD PTR NV_TYPE_DISABLED[rip]
	mov	DWORD PTR 4[rsp], eax
.L3:
	xor	r9d, r9d
	mov	rsi, r13
	mov	r8d, 1
	mov	edx, r10d
	mov	ecx, 1
	mov	rdi, rbp
	call	be_cmd_set_profile_config@PLT
	mov	rsi, QWORD PTR 40[rsp]
	xor	rsi, QWORD PTR fs:40
	jne	.L8
	add	rsp, 48
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	ecx, DWORD PTR RCVID_SHIFT[rip]
	mov	edx, DWORD PTR SOCVID_SHIFT[rip]
	mov	rdi, r12
	sal	eax, cl
	bts	eax, edx
	or	eax, DWORD PTR NV_TYPE_VXLAN[rip]
	mov	DWORD PTR 4[rsp], eax
	call	swab16@PLT
	mov	r10d, DWORD PTR RESOURCE_DESC_SIZE_V1[rip]
	mov	QWORD PTR 8[rsp], rax
	jmp	.L3
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	be_cmd_set_vxlan_port, .-be_cmd_set_vxlan_port
	.comm	SOCVID_SHIFT,4,4
	.comm	RESOURCE_DESC_SIZE_V1,4,4
	.comm	RCVID_SHIFT,4,4
	.comm	PORT_RESOURCE_DESC_TYPE_V1,4,4
	.comm	NV_TYPE_VXLAN,4,4
	.comm	NV_TYPE_DISABLED,4,4
	.comm	NOSV_SHIFT,4,4
	.comm	IMM_SHIFT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_be_cmds.c_be_cmd_set_vxlan_port.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	be_cmd_set_vxlan_port
	.syntax unified
	.arm
	.fpu softvfp
	.type	be_cmd_set_vxlan_port, %function
be_cmd_set_vxlan_port:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, #1
	push	{r4, r5, r6, r7, lr}
	mov	r4, r0
	mov	lr, #0
	ldr	r3, .L9
	ldr	r2, .L9+4
	ldr	r3, [r3]
	ldr	r2, [r2]
	lsl	r3, ip, r3
	ldr	r0, .L9+8
	orr	r3, r3, ip, lsl r2
	ldr	r5, .L9+12
	ldr	r2, .L9+16
	sub	sp, sp, #44
	ldr	r2, [r2]
	str	r2, [sp, #36]
	mov	r2,#0
	ldr	r6, [r0]
	ldr	r2, [r5]
	subs	r0, r1, #0
	ldr	r1, [r4]
	str	r3, [sp, #12]
	str	r1, [sp, #24]
	str	r6, [sp, #32]
	str	r2, [sp, #28]
	str	lr, [sp, #20]
	bne	.L7
	ldr	r3, .L9+20
	str	r0, [sp, #20]
	ldr	r3, [r3]
	str	r3, [sp, #16]
.L3:
	mov	r3, #1
	mov	r1, #0
	str	r3, [sp]
	str	r1, [sp, #4]
	mov	r0, r4
	add	r1, sp, #12
	bl	be_cmd_set_profile_config
	ldr	r3, .L9+16
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L7:
	ldr	r3, .L9+24
	ldr	r1, .L9+28
	ldr	r3, [r3]
	ldr	r2, .L9+32
	ldr	r1, [r1]
	ldr	r2, [r2]
	lsl	r3, ip, r3
	orr	ip, r3, ip, lsl r1
	orr	ip, ip, r2
	str	ip, [sp, #16]
	bl	swab16
	ldr	r2, [r5]
	str	r0, [sp, #20]
	b	.L3
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	NOSV_SHIFT
	.word	IMM_SHIFT
	.word	PORT_RESOURCE_DESC_TYPE_V1
	.word	RESOURCE_DESC_SIZE_V1
	.word	.LC0
	.word	NV_TYPE_DISABLED
	.word	RCVID_SHIFT
	.word	SOCVID_SHIFT
	.word	NV_TYPE_VXLAN
	.size	be_cmd_set_vxlan_port, .-be_cmd_set_vxlan_port
	.comm	SOCVID_SHIFT,4,4
	.comm	RESOURCE_DESC_SIZE_V1,4,4
	.comm	RCVID_SHIFT,4,4
	.comm	PORT_RESOURCE_DESC_TYPE_V1,4,4
	.comm	NV_TYPE_VXLAN,4,4
	.comm	NV_TYPE_DISABLED,4,4
	.comm	NOSV_SHIFT,4,4
	.comm	IMM_SHIFT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
