	.file	"extr_dwc-xlgmac-hw.c_xlgmac_vid_crc32_le.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	xlgmac_vid_crc32_le, @function
xlgmac_vid_crc32_le:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 24
	.cfi_def_cfa_offset 32
	mov	DWORD PTR 12[rsp], edi
	mov	edi, DWORD PTR VLAN_VID_MASK[rip]
	call	get_bitmask_order@PLT
	test	eax, eax
	jle	.L6
	mov	r9d, DWORD PTR CRC32_POLY_LE[rip]
	mov	r8d, eax
	xor	edx, edx
	xor	ecx, ecx
	mov	eax, -1
	.p2align 4,,10
	.p2align 3
.L5:
	test	dl, 7
	jne	.L3
	mov	ecx, edx
	sar	ecx, 3
	movsx	rcx, ecx
	movzx	ecx, BYTE PTR 12[rsp+rcx]
.L3:
	mov	edi, eax
	sar	eax
	xor	edi, ecx
	mov	esi, eax
	shr	cl
	xor	esi, r9d
	and	edi, 1
	cmovne	eax, esi
	add	edx, 1
	cmp	r8d, edx
	jne	.L5
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	eax, -1
	add	rsp, 24
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	xlgmac_vid_crc32_le, .-xlgmac_vid_crc32_le
	.comm	VLAN_VID_MASK,4,4
	.comm	CRC32_POLY_LE,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_dwc-xlgmac-hw.c_xlgmac_vid_crc32_le.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xlgmac_vid_crc32_le, %function
xlgmac_vid_crc32_le:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	str	lr, [sp, #-4]!
	ldr	r3, .L13
	sub	sp, sp, #12
	str	r0, [sp, #4]
	ldr	r0, [r3]
	bl	get_bitmask_order
	subs	ip, r0, #0
	ble	.L6
	mov	r3, #0
	mvn	r0, #0
	mov	r2, r3
	ldr	r1, .L13+4
	ldr	lr, [r1]
.L5:
	tst	r3, #7
	addeq	r2, sp, #8
	addeq	r2, r2, r3, asr #3
	ldrbeq	r2, [r2, #-4]	@ zero_extendqisi2
	add	r3, r3, #1
	eor	r1, r2, r0
	tst	r1, #1
	asr	r0, r0, #1
	eorne	r0, r0, lr
	cmp	ip, r3
	lsr	r2, r2, #1
	bne	.L5
	add	sp, sp, #12
	@ sp needed
	ldr	pc, [sp], #4
.L6:
	mvn	r0, #0
	add	sp, sp, #12
	@ sp needed
	ldr	pc, [sp], #4
.L14:
	.align	2
.L13:
	.word	VLAN_VID_MASK
	.word	CRC32_POLY_LE
	.size	xlgmac_vid_crc32_le, .-xlgmac_vid_crc32_le
	.comm	VLAN_VID_MASK,4,4
	.comm	CRC32_POLY_LE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
