	.file	"extr_if_vr.c_vr_cam_mask.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	vr_cam_mask, @function
vr_cam_mask:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r8d, edx
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edx, DWORD PTR VR_CAMCTL_ENA[rip]
	mov	esi, DWORD PTR VR_CAMCTL[rip]
	cmp	DWORD PTR VR_MCAST_CAM[rip], r8d
	je	.L6
	or	edx, DWORD PTR VR_CAMCTL_VLAN[rip]
	call	CSR_WRITE_1@PLT
.L3:
	mov	esi, DWORD PTR VR_CAMMASK[rip]
	mov	edx, r12d
	mov	rdi, rbp
	call	CSR_WRITE_4@PLT
	mov	esi, DWORD PTR VR_CAMCTL[rip]
	mov	rdi, rbp
	xor	edx, edx
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	CSR_WRITE_1@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	or	edx, DWORD PTR VR_CAMCTL_MCAST[rip]
	call	CSR_WRITE_1@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	vr_cam_mask, .-vr_cam_mask
	.comm	VR_MCAST_CAM,4,4
	.comm	VR_CAMMASK,4,4
	.comm	VR_CAMCTL_VLAN,4,4
	.comm	VR_CAMCTL_MCAST,4,4
	.comm	VR_CAMCTL_ENA,4,4
	.comm	VR_CAMCTL,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_if_vr.c_vr_cam_mask.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vr_cam_mask, %function
vr_cam_mask:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	mov	r5, r1
	ldr	r3, .L6
	ldr	r6, .L6+4
	ldr	ip, [r3]
	ldr	r3, .L6+8
	cmp	ip, r2
	ldreq	r2, .L6+12
	ldrne	r2, .L6+16
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r1, [r6]
	orr	r2, r3, r2
	bl	CSR_WRITE_1
	ldr	r3, .L6+20
	mov	r2, r5
	mov	r0, r4
	ldr	r1, [r3]
	bl	CSR_WRITE_4
	mov	r0, r4
	ldr	r1, [r6]
	mov	r2, #0
	pop	{r4, r5, r6, lr}
	b	CSR_WRITE_1
.L7:
	.align	2
.L6:
	.word	VR_MCAST_CAM
	.word	VR_CAMCTL
	.word	VR_CAMCTL_ENA
	.word	VR_CAMCTL_MCAST
	.word	VR_CAMCTL_VLAN
	.word	VR_CAMMASK
	.size	vr_cam_mask, .-vr_cam_mask
	.comm	VR_MCAST_CAM,4,4
	.comm	VR_CAMMASK,4,4
	.comm	VR_CAMCTL_VLAN,4,4
	.comm	VR_CAMCTL_MCAST,4,4
	.comm	VR_CAMCTL_ENA,4,4
	.comm	VR_CAMCTL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
