	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hinic_get_rxfh
_hinic_get_rxfh:                        ## @hinic_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %r14
	movq	%rsi, %r15
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	$0, -40(%rbp)
	movq	_HINIC_RSS_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_1
## %bb.3:
	testq	%r12, %r12
	je	LBB0_10
## %bb.4:
	movl	4(%rbx), %esi
	leaq	-40(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_hinic_rss_get_hash_engine
	testl	%eax, %eax
	jne	LBB0_5
## %bb.6:
	cmpq	$0, -40(%rbp)
	jne	LBB0_7
## %bb.8:
	movq	_ETH_RSS_HASH_XOR@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_7:
	movq	_ETH_RSS_HASH_TOP@GOTPCREL(%rip), %rax
LBB0_9:
	movq	(%rax), %rax
	movq	%rax, (%r12)
LBB0_10:
	testq	%r15, %r15
	je	LBB0_12
## %bb.11:
	movl	4(%rbx), %esi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_hinic_rss_get_indir_tbl
	testl	%eax, %eax
	je	LBB0_12
LBB0_5:
	movq	_EFAULT@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_15:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	testq	%r14, %r14
	je	LBB0_13
## %bb.14:
	movl	4(%rbx), %esi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_hinic_rss_get_template_tbl
	jmp	LBB0_15
LBB0_13:
	xorl	%eax, %eax
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_HINIC_RSS_ENABLE,4,2           ## @HINIC_RSS_ENABLE
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_EFAULT,4,2                     ## @EFAULT
	.comm	_ETH_RSS_HASH_TOP,8,3           ## @ETH_RSS_HASH_TOP
	.comm	_ETH_RSS_HASH_XOR,8,3           ## @ETH_RSS_HASH_XOR
	.no_dead_strip	_hinic_get_rxfh
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hinic_get_rxfh
_hinic_get_rxfh:                        ; @hinic_get_rxfh
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x22, x3
	mov	x19, x2
	mov	x21, x1
	bl	_netdev_priv
	str	xzr, [sp, #8]
	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_7
; %bb.1:
	mov	x20, x0
	cbz	x22, LBB0_4
; %bb.2:
	ldr	w1, [x20, #4]
	add	x2, sp, #8
	mov	x0, x20
	bl	_hinic_rss_get_hash_engine
	cbnz	w0, LBB0_6
; %bb.3:
	ldr	x8, [sp, #8]
Lloh3:
	adrp	x9, _ETH_RSS_HASH_TOP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ETH_RSS_HASH_TOP@GOTPAGEOFF]
Lloh5:
	adrp	x10, _ETH_RSS_HASH_XOR@GOTPAGE
Lloh6:
	ldr	x10, [x10, _ETH_RSS_HASH_XOR@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x10, x9, eq
	ldr	x8, [x8]
	str	x8, [x22]
LBB0_4:
	cbz	x21, LBB0_10
; %bb.5:
	ldr	w1, [x20, #4]
	mov	x0, x20
	mov	x2, x21
	bl	_hinic_rss_get_indir_tbl
	cbz	w0, LBB0_10
LBB0_6:
Lloh7:
	adrp	x8, _EFAULT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh9:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	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
	add	sp, sp, #64
	ret
LBB0_10:
	cbz	x19, LBB0_12
; %bb.11:
	ldr	w1, [x20, #4]
	mov	x0, x20
	mov	x2, x19
	bl	_hinic_rss_get_template_tbl
	b	LBB0_9
LBB0_12:
	mov	w0, #0
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_HINIC_RSS_ENABLE,4,2           ; @HINIC_RSS_ENABLE
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_EFAULT,4,2                     ; @EFAULT
	.comm	_ETH_RSS_HASH_TOP,8,3           ; @ETH_RSS_HASH_TOP
	.comm	_ETH_RSS_HASH_XOR,8,3           ; @ETH_RSS_HASH_XOR
	.no_dead_strip	_hinic_get_rxfh
.subsections_via_symbols
