	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stmmac_vid_crc32_le
_stmmac_vid_crc32_le:                   ## @stmmac_vid_crc32_le
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	%edi, -4(%rbp)
	movq	_VLAN_VID_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_get_bitmask_order
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	movl	%eax, %r8d
	movl	$-1, %eax
	xorl	%esi, %esi
	xorl	%edx, %edx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movzbl	%sil, %esi
	movl	%eax, %edi
	xorl	%esi, %edi
	sarl	%eax
	shrb	%sil
	movl	%eax, %ecx
	xorl	$-306674912, %ecx               ## imm = 0xEDB88320
	testb	$1, %dil
	cmovnel	%ecx, %eax
	incl	%edx
	cmpl	%edx, %r8d
	je	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	testb	$7, %dl
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%edx, %esi
	shrq	$3, %rsi
	movzbl	-4(%rbp,%rsi), %esi
	jmp	LBB0_5
LBB0_1:
	movl	$-1, %eax
LBB0_6:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VLAN_VID_MASK,4,2              ## @VLAN_VID_MASK
	.no_dead_strip	_stmmac_vid_crc32_le
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stmmac_vid_crc32_le
_stmmac_vid_crc32_le:                   ; @stmmac_vid_crc32_le
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	stur	w0, [x29, #-4]
Lloh0:
	adrp	x8, _VLAN_VID_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VLAN_VID_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_get_bitmask_order
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.1:
	mov	w10, #0
	mov	w9, #0
	mov	w8, #-1
	sub	x11, x29, #4
	mov	w12, #33568
	movk	w12, #60856, lsl #16
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	eor	w13, w8, w10
	asr	w8, w8, #1
	ubfx	w10, w10, #1, #7
	eor	w14, w8, w12
	tst	w13, #0x1
	csel	w8, w8, w14, eq
	add	w9, w9, #1
	cmp	w0, w9
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	tst	w9, #0x7
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w10, w9
	lsr	x10, x10, #3
	ldrb	w10, [x11, x10]
	b	LBB0_2
LBB0_5:
	mov	w8, #-1
LBB0_6:
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VLAN_VID_MASK,4,2              ; @VLAN_VID_MASK
	.no_dead_strip	_stmmac_vid_crc32_le
.subsections_via_symbols
