	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enetc_get_rxfh
_enetc_get_rxfh:                        ## @enetc_get_rxfh
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r12
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	callq	_netdev_priv
	movq	%rax, %r15
	movq	(%rax), %r13
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	movq	_ETH_RSS_HASH_TOP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
LBB0_2:
	testq	%r12, %r12
	je	LBB0_7
## %bb.3:
	addq	$8, %r13
	cmpq	$0, (%r13)
	je	LBB0_7
## %bb.4:
	movq	_ENETC_RSSHASH_KEY_SIZE@GOTPCREL(%rip), %r14
	cmpl	$4, (%r14)
	jl	LBB0_7
## %bb.5:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_ENETC_PRSSK
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_enetc_port_rd
	movl	%eax, (%r12,%rbx,4)
	incq	%rbx
	movl	(%r14), %eax
	leal	3(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$2, %ecx
	movslq	%ecx, %rax
	cmpq	%rax, %rbx
	jl	LBB0_6
LBB0_7:
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.9:
	movq	(%r15), %rdi
	movl	(%rdi), %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_enetc_get_rss_table            ## TAILCALL
LBB0_8:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_RSS_HASH_TOP,4,2           ## @ETH_RSS_HASH_TOP
	.comm	_ENETC_RSSHASH_KEY_SIZE,4,2     ## @ENETC_RSSHASH_KEY_SIZE
	.no_dead_strip	_enetc_get_rxfh
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enetc_get_rxfh
_enetc_get_rxfh:                        ; @enetc_get_rxfh
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x3
	mov	x20, x2
	mov	x19, x1
	bl	_netdev_priv
	mov	x21, x0
	ldr	x8, [x0]
	cbz	x22, LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, _ETH_RSS_HASH_TOP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ETH_RSS_HASH_TOP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	str	w9, [x22]
LBB0_2:
	cbz	x20, LBB0_6
; %bb.3:
	add	x22, x8, #8
	ldr	x8, [x22]
Lloh3:
	adrp	x24, _ENETC_RSSHASH_KEY_SIZE@GOTPAGE
Lloh4:
	ldr	x24, [x24, _ENETC_RSSHASH_KEY_SIZE@GOTPAGEOFF]
	ldr	w9, [x24]
	cmp	x8, #0
	ccmp	w9, #4, #8, ne
	b.lt	LBB0_6
; %bb.4:
	mov	x23, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_ENETC_PRSSK
	mov	x1, x0
	mov	x0, x22
	bl	_enetc_port_rd
	str	w0, [x20, x23, lsl #2]
	add	x23, x23, #1
	ldr	w8, [x24]
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #2
	cmp	x23, w8, sxtw
	b.lt	LBB0_5
LBB0_6:
	cbz	x19, LBB0_8
; %bb.7:
	ldr	x0, [x21]
	ldr	w2, [x0]
	mov	x1, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_enetc_get_rss_table
LBB0_8:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_RSS_HASH_TOP,4,2           ; @ETH_RSS_HASH_TOP
	.comm	_ENETC_RSSHASH_KEY_SIZE,4,2     ; @ENETC_RSSHASH_KEY_SIZE
	.no_dead_strip	_enetc_get_rxfh
.subsections_via_symbols
