	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function am79c961_mc_hash
_am79c961_mc_hash:                      ## @am79c961_mc_hash
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rax
	movq	(%rdi), %rdi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdi
	jne	LBB0_3
## %bb.1:
	movq	%rsi, %rbx
	movq	8(%rax), %rsi
	testb	$1, (%rsi)
	je	LBB0_3
## %bb.2:
	callq	_ether_crc_le
	movl	%eax, %edx
	sarl	$30, %edx
	shrl	$26, %eax
	andb	$15, %al
	movl	$1, %esi
	movl	%eax, %ecx
	shll	%cl, %esi
	movslq	%edx, %rax
	orw	%si, (%rbx,%rax,2)
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,8,3                   ## @ETH_ALEN
	.no_dead_strip	_am79c961_mc_hash
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function am79c961_mc_hash
_am79c961_mc_hash:                      ; @am79c961_mc_hash
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x8, x0
	ldr	x0, [x0]
Lloh0:
	adrp	x9, _ETH_ALEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ETH_ALEN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x0, x9
	b.ne	LBB0_3
; %bb.1:
	mov	x19, x1
	ldr	x1, [x8, #8]
	ldrb	w8, [x1]
	tbz	w8, #0, LBB0_3
; %bb.2:
	bl	_ether_crc_le
	asr	w8, w0, #30
	ubfx	w9, w0, #26, #4
	mov	w10, #1
	lsl	w9, w10, w9
	sbfiz	x8, x8, #1, #32
	ldrh	w10, [x19, x8]
	orr	w9, w10, w9
	strh	w9, [x19, x8]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,8,3                   ; @ETH_ALEN
	.no_dead_strip	_am79c961_mc_hash
.subsections_via_symbols
