	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enetc_mac_addr_hash_idx
_enetc_mac_addr_hash_idx:               ## @enetc_mac_addr_hash_idx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_ether_addr_to_u64
	movl	%eax, %edi
	callq	___swab64
	movl	%eax, %r14d
	xorl	%edi, %edi
	callq	_BIT_ULL
	movl	%eax, %ebx
	movl	$6, %edi
	callq	_BIT_ULL
	orl	%eax, %ebx
	movl	$12, %edi
	callq	_BIT_ULL
	movl	%eax, %r15d
	movl	$18, %edi
	callq	_BIT_ULL
	orl	%eax, %r15d
	orl	%ebx, %r15d
	movl	$24, %edi
	callq	_BIT_ULL
	movl	%eax, %r12d
	movl	$30, %edi
	callq	_BIT_ULL
	orl	%eax, %r12d
	movl	$36, %edi
	callq	_BIT_ULL
	orl	%eax, %r12d
	orl	%r15d, %r12d
	movl	$42, %edi
	callq	_BIT_ULL
	orl	%eax, %r12d
	sarl	$16, %r14d
	movl	%r12d, %edi
	andl	%r14d, %edi
	callq	_hweight64
	movl	%eax, %r15d
	andl	$1, %r15d
	leal	(%r12,%r12), %edi
	andl	%r14d, %edi
	callq	_hweight64
                                        ## kill: def $eax killed $eax def $rax
	andl	$1, %eax
	leal	(%r15,%rax,2), %ebx
	leal	(,%r12,4), %edi
	andl	%r14d, %edi
	callq	_hweight64
                                        ## kill: def $eax killed $eax def $rax
	andl	$1, %eax
	leal	(%rbx,%rax,4), %ebx
	leal	(,%r12,8), %edi
	andl	%r14d, %edi
	callq	_hweight64
                                        ## kill: def $eax killed $eax def $rax
	andl	$1, %eax
	leal	(%rbx,%rax,8), %r15d
	movl	%r12d, %edi
	shll	$4, %edi
	andl	%r14d, %edi
	callq	_hweight64
	movl	%eax, %ebx
	shll	$4, %ebx
	andl	$16, %ebx
	orl	%r15d, %ebx
	shll	$5, %r12d
	andl	%r14d, %r12d
	movl	%r12d, %edi
	callq	_hweight64
	shll	$5, %eax
	andl	$32, %eax
	orl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_enetc_mac_addr_hash_idx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enetc_mac_addr_hash_idx
_enetc_mac_addr_hash_idx:               ; @enetc_mac_addr_hash_idx
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	bl	_ether_addr_to_u64
	bl	___swab64
	mov	x19, x0
	mov	w0, #0
	bl	_BIT_ULL
	mov	x20, x0
	mov	w0, #6
	bl	_BIT_ULL
	orr	w20, w0, w20
	mov	w0, #12
	bl	_BIT_ULL
	orr	w20, w0, w20
	mov	w0, #18
	bl	_BIT_ULL
	orr	w20, w0, w20
	mov	w0, #24
	bl	_BIT_ULL
	orr	w20, w0, w20
	mov	w0, #30
	bl	_BIT_ULL
	orr	w20, w0, w20
	mov	w0, #36
	bl	_BIT_ULL
	orr	w20, w0, w20
	mov	w0, #42
	bl	_BIT_ULL
	orr	w20, w0, w20
	asr	w21, w19, #16
	and	w0, w20, w21
	bl	_hweight64
	and	w19, w0, #0x1
	and	w0, w21, w20, lsl #1
	bl	_hweight64
	bfi	w19, w0, #1, #1
	and	w0, w21, w20, lsl #2
	bl	_hweight64
	bfi	w19, w0, #2, #1
	and	w0, w21, w20, lsl #3
	bl	_hweight64
	bfi	w19, w0, #3, #1
	and	w0, w21, w20, lsl #4
	bl	_hweight64
	bfi	w19, w0, #4, #1
	and	w0, w21, w20, lsl #5
	bl	_hweight64
	bfi	w19, w0, #5, #1
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_enetc_mac_addr_hash_idx
.subsections_via_symbols
