	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hinic_set_rxfh
_hinic_set_rxfh:                        ## @hinic_set_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	callq	_netdev_priv
	movq	_HINIC_RSS_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_1
## %bb.3:
	movq	_ETH_RSS_HASH_NO_CHANGE@GOTPCREL(%rip), %rcx
	cmpq	%rbx, (%rcx)
	jne	LBB0_4
LBB0_11:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___set_rss_rxfh                 ## TAILCALL
LBB0_4:
	movq	_ETH_RSS_HASH_TOP@GOTPCREL(%rip), %rdx
	movq	_ETH_RSS_HASH_XOR@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rbx, (%rdx)
	je	LBB0_6
## %bb.5:
	cmpq	%rbx, %rcx
	je	LBB0_6
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	cmpq	%rbx, %rcx
	jne	LBB0_7
## %bb.8:
	movq	_HINIC_RSS_HASH_ENGINE_TYPE_XOR@GOTPCREL(%rip), %rcx
	jmp	LBB0_9
LBB0_7:
	movq	_HINIC_RSS_HASH_ENGINE_TYPE_TOEP@GOTPCREL(%rip), %rcx
LBB0_9:
	movl	(%rcx), %edx
	movl	%edx, 4(%rax)
	movl	8(%rax), %esi
	movq	%rax, %rdi
	callq	_hinic_rss_set_hash_engine
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	movq	_EFAULT@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_HINIC_RSS_ENABLE,4,2           ## @HINIC_RSS_ENABLE
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_ETH_RSS_HASH_NO_CHANGE,8,3     ## @ETH_RSS_HASH_NO_CHANGE
	.comm	_ETH_RSS_HASH_TOP,8,3           ## @ETH_RSS_HASH_TOP
	.comm	_ETH_RSS_HASH_XOR,8,3           ## @ETH_RSS_HASH_XOR
	.comm	_HINIC_RSS_HASH_ENGINE_TYPE_XOR,4,2 ## @HINIC_RSS_HASH_ENGINE_TYPE_XOR
	.comm	_HINIC_RSS_HASH_ENGINE_TYPE_TOEP,4,2 ## @HINIC_RSS_HASH_ENGINE_TYPE_TOEP
	.comm	_EFAULT,4,2                     ## @EFAULT
	.no_dead_strip	_hinic_set_rxfh
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hinic_set_rxfh
_hinic_set_rxfh:                        ; @hinic_set_rxfh
	.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
	mov	x22, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_netdev_priv
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _HINIC_RSS_ENABLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HINIC_RSS_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.1:
Lloh3:
	adrp	x8, _ETH_RSS_HASH_NO_CHANGE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_RSS_HASH_NO_CHANGE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, x22
	b.ne	LBB0_3
LBB0_2:
	mov	x0, x21
	mov	x1, x20
	mov	x2, 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
	b	___set_rss_rxfh
LBB0_3:
Lloh6:
	adrp	x8, _ETH_RSS_HASH_TOP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ETH_RSS_HASH_TOP@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x8]
Lloh9:
	adrp	x8, _ETH_RSS_HASH_XOR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ETH_RSS_HASH_XOR@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x9, x22
	ccmp	x8, x22, #4, ne
	b.ne	LBB0_6
; %bb.4:
Lloh12:
	adrp	x9, _HINIC_RSS_HASH_ENGINE_TYPE_XOR@GOTPAGE
Lloh13:
	ldr	x9, [x9, _HINIC_RSS_HASH_ENGINE_TYPE_XOR@GOTPAGEOFF]
Lloh14:
	adrp	x10, _HINIC_RSS_HASH_ENGINE_TYPE_TOEP@GOTPAGE
Lloh15:
	ldr	x10, [x10, _HINIC_RSS_HASH_ENGINE_TYPE_TOEP@GOTPAGEOFF]
	cmp	x8, x22
	csel	x8, x9, x10, eq
	ldr	w2, [x8]
	str	w2, [x0, #4]
	ldr	w1, [x0, #8]
	bl	_hinic_rss_set_hash_engine
	cbz	w0, LBB0_2
; %bb.5:
Lloh16:
	adrp	x8, _EFAULT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh18:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w0, w8
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_HINIC_RSS_ENABLE,4,2           ; @HINIC_RSS_ENABLE
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_ETH_RSS_HASH_NO_CHANGE,8,3     ; @ETH_RSS_HASH_NO_CHANGE
	.comm	_ETH_RSS_HASH_TOP,8,3           ; @ETH_RSS_HASH_TOP
	.comm	_ETH_RSS_HASH_XOR,8,3           ; @ETH_RSS_HASH_XOR
	.comm	_HINIC_RSS_HASH_ENGINE_TYPE_XOR,4,2 ; @HINIC_RSS_HASH_ENGINE_TYPE_XOR
	.comm	_HINIC_RSS_HASH_ENGINE_TYPE_TOEP,4,2 ; @HINIC_RSS_HASH_ENGINE_TYPE_TOEP
	.comm	_EFAULT,4,2                     ; @EFAULT
	.no_dead_strip	_hinic_set_rxfh
.subsections_via_symbols
