	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function em28xx_hash_mem
_em28xx_hash_mem:                       ## @em28xx_hash_mem
	.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
	.cfi_offset %rbx, -24
	movl	%edx, %ecx
	xorl	%r9d, %r9d
	movl	$2654404609, %r8d               ## imm = 0x9E370001
	xorl	%ebx, %ebx
	xorl	%r11d, %r11d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movzbl	(%rdi), %r10d
	incq	%rdi
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	shlq	$8, %rbx
	movzbl	%r10b, %eax
	orq	%rax, %rbx
	leal	1(%r11), %eax
	movq	%rbx, %rdx
	xorq	%r9, %rdx
	imulq	%r8, %rdx
	testb	$3, %al
	cmoveq	%rdx, %r9
	incl	%r11d
	je	LBB0_5
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%esi, %r11d
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$-1, %r11d
	movl	%esi, %r10d
	jmp	LBB0_4
LBB0_5:
	addl	$32, %ecx
	negl	%ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shrq	%cl, %r9
	movl	%r9d, %eax
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_em28xx_hash_mem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function em28xx_hash_mem
_em28xx_hash_mem:                       ; @em28xx_hash_mem
	.cfi_startproc
; %bb.0:
	mov	x8, #0
	mov	x11, #0
	mov	w9, #0
	mov	w10, #1
	movk	w10, #40503, lsl #16
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w12, [x0], #1
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	bfi	x12, x11, #8, #56
	adds	w11, w9, #1
	eor	x13, x12, x8
	mul	x13, x13, x10
	tst	w11, #0x3
	csel	x8, x13, x8, eq
	mov	x11, x12
	adds	w9, w9, #1
	b.hs	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w9, w1
	b.ne	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w9, #-1
	mov	x12, x1
	b	LBB0_2
LBB0_5:
	mov	w9, #32
	sub	w9, w9, w2
	lsr	x8, x8, x9
	and	x0, x8, #0xffffffff
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_em28xx_hash_mem
.subsections_via_symbols
