	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qede_set_rxfh
_qede_set_rxfh:                         ## @qede_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	%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, %r14
	movq	%rsi, %r13
	movq	%rdi, %r12
	callq	_netdev_priv
	movq	%rax, %r15
	cmpl	$2, 40(%rax)
	jl	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_DP_INFO
	jmp	LBB0_4
LBB0_2:
	movq	_ETH_RSS_HASH_NO_CHANGE@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	je	LBB0_6
## %bb.3:
	movq	_ETH_RSS_HASH_TOP@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	je	LBB0_6
LBB0_4:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
LBB0_5:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_20:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	testq	%r13, %r13
	jne	LBB0_8
## %bb.7:
	xorl	%ebx, %ebx
	testq	%r14, %r14
	je	LBB0_20
LBB0_8:
	testq	%r13, %r13
	je	LBB0_13
## %bb.9:
	movq	_QED_RSS_IND_TABLE_SIZE@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_12
## %bb.10:
	movq	32(%r15), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13,%rdx,4), %esi
	movl	%esi, (%rcx,%rdx,4)
	incq	%rdx
	movslq	(%rax), %rsi
	cmpq	%rsi, %rdx
	jl	LBB0_11
LBB0_12:
	movq	_QEDE_RSS_INDIR_INITED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 24(%r15)
LBB0_13:
	testq	%r14, %r14
	je	LBB0_15
## %bb.14:
	movq	%r15, %rbx
	addq	$28, %rbx
	movq	%r12, %rdi
	callq	_qede_get_rxfh_key_size
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_memcpy
	movq	_QEDE_RSS_KEY_INITED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 24(%r15)
LBB0_15:
	movq	%r15, %rdi
	callq	___qede_lock
	movq	(%r15), %rax
	movq	_QEDE_STATE_OPEN@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	jne	LBB0_19
## %bb.16:
	movl	$8, %edi
	callq	_vzalloc
	testq	%rax, %rax
	je	LBB0_17
## %bb.18:
	movq	%rax, %r14
	movq	%rax, %rsi
	addq	$4, %rsi
	movq	%r15, %rdi
	movq	%rax, %rdx
	callq	_qede_fill_rss_params
	movq	16(%r15), %rax
	movl	8(%r15), %edi
	movq	%r14, %rsi
	callq	*(%rax)
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_vfree
LBB0_19:
	movq	%r15, %rdi
	callq	___qede_unlock
	jmp	LBB0_20
LBB0_17:
	movq	%r15, %rdi
	callq	___qede_unlock
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RSS configuration is not supported for 100G devices\n"

	.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	_QED_RSS_IND_TABLE_SIZE,4,2     ## @QED_RSS_IND_TABLE_SIZE
	.comm	_QEDE_RSS_INDIR_INITED,4,2      ## @QEDE_RSS_INDIR_INITED
	.comm	_QEDE_RSS_KEY_INITED,4,2        ## @QEDE_RSS_KEY_INITED
	.comm	_QEDE_STATE_OPEN,8,3            ## @QEDE_STATE_OPEN
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_qede_set_rxfh
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qede_set_rxfh
_qede_set_rxfh:                         ; @qede_set_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	x23, x3
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
	bl	_netdev_priv
	mov	x19, x0
	ldr	w8, [x0, #40]
	cmp	w8, #2
	b.lt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_DP_INFO
	b	LBB0_15
LBB0_2:
Lloh2:
	adrp	x8, _ETH_RSS_HASH_NO_CHANGE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ETH_RSS_HASH_NO_CHANGE@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _ETH_RSS_HASH_TOP@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ETH_RSS_HASH_TOP@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x23
	ccmp	x9, x23, #4, ne
	b.ne	LBB0_15
; %bb.3:
	cbnz	x22, LBB0_5
; %bb.4:
	cbz	x20, LBB0_17
LBB0_5:
	cbz	x22, LBB0_10
; %bb.6:
Lloh8:
	adrp	x8, _QED_RSS_IND_TABLE_SIZE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _QED_RSS_IND_TABLE_SIZE@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_9
; %bb.7:
	mov	x9, #0
	ldr	x10, [x19, #32]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x11, x9, #2
	ldr	w12, [x22, x11]
	str	w12, [x10, x11]
	add	x9, x9, #1
	ldrsw	x11, [x8]
	cmp	x9, x11
	b.lt	LBB0_8
LBB0_9:
Lloh10:
	adrp	x8, _QEDE_RSS_INDIR_INITED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _QEDE_RSS_INDIR_INITED@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	ldr	w9, [x19, #24]
	orr	w8, w9, w8
	str	w8, [x19, #24]
LBB0_10:
	cbz	x20, LBB0_12
; %bb.11:
	add	x22, x19, #28
	mov	x0, x21
	bl	_qede_get_rxfh_key_size
	mov	x2, x0
	mov	x0, x22
	mov	x1, x20
	bl	_memcpy
Lloh13:
	adrp	x8, _QEDE_RSS_KEY_INITED@GOTPAGE
Lloh14:
	ldr	x8, [x8, _QEDE_RSS_KEY_INITED@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	ldr	w9, [x19, #24]
	orr	w8, w9, w8
	str	w8, [x19, #24]
LBB0_12:
	mov	x0, x19
	bl	___qede_lock
	ldr	x8, [x19]
Lloh16:
	adrp	x9, _QEDE_STATE_OPEN@GOTPAGE
Lloh17:
	ldr	x9, [x9, _QEDE_STATE_OPEN@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.13:
	mov	w0, #8
	bl	_vzalloc
	cbz	x0, LBB0_20
; %bb.14:
	mov	x21, x0
	add	x1, x0, #4
	mov	x0, x19
	mov	x2, x21
	bl	_qede_fill_rss_params
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	ldr	w0, [x19, #8]
	mov	x1, x21
	blr	x8
	mov	x20, x0
	mov	x0, x21
	bl	_vfree
	b	LBB0_19
LBB0_15:
Lloh19:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_16:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_17:
	mov	x0, x20
	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
LBB0_18:
	mov	w20, #0
LBB0_19:
	mov	x0, x19
	bl	___qede_unlock
	b	LBB0_17
LBB0_20:
	mov	x0, x19
	bl	___qede_unlock
Lloh21:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_16
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RSS configuration is not supported for 100G devices\n"

	.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	_QED_RSS_IND_TABLE_SIZE,4,2     ; @QED_RSS_IND_TABLE_SIZE
	.comm	_QEDE_RSS_INDIR_INITED,4,2      ; @QEDE_RSS_INDIR_INITED
	.comm	_QEDE_RSS_KEY_INITED,4,2        ; @QEDE_RSS_KEY_INITED
	.comm	_QEDE_STATE_OPEN,8,3            ; @QEDE_STATE_OPEN
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_qede_set_rxfh
.subsections_via_symbols
