	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qede_fill_rss_params           ## -- Begin function qede_fill_rss_params
	.p2align	4, 0x90
_qede_fill_rss_params:                  ## @qede_fill_rss_params
	.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	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	callq	_QEDE_RSS_COUNT
	cmpl	$2, %eax
	jge	LBB0_1
## %bb.4:
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	jmp	LBB0_25
LBB0_1:
	movq	_QED_RSS_IND_TABLE_SIZE@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	jle	LBB0_2
## %bb.3:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %r14d
	movq	%r12, %rdi
	callq	_QEDE_RSS_COUNT
	cmpl	%eax, %r14d
	jge	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	movslq	(%r13), %rcx
	cmpq	%rcx, %rbx
	jl	LBB0_6
LBB0_7:
	cmpl	%eax, %r14d
	setge	%sil
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_8
LBB0_2:
	xorl	%esi, %esi
LBB0_8:
	movl	8(%r12), %eax
	movq	_QEDE_RSS_INDIR_INITED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	(%r13), %ecx
	testl	%eax, %edx
	je	LBB0_10
## %bb.9:
	testb	%sil, %sil
	je	LBB0_15
LBB0_10:
	testl	%ecx, %ecx
	jle	LBB0_14
## %bb.11:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_QEDE_RSS_COUNT
	movslq	%eax, %rsi
	movl	%ebx, %edi
	callq	_ethtool_rxfh_indir_default
	movq	(%r12), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	movslq	(%r13), %rcx
	cmpq	%rcx, %rbx
	jl	LBB0_12
## %bb.13:
	movq	_QEDE_RSS_INDIR_INITED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	8(%r12), %eax
LBB0_14:
	orl	%edx, %eax
	movl	%eax, 8(%r12)
LBB0_15:
	testl	%ecx, %ecx
	jle	LBB0_19
## %bb.16:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movslq	(%rax,%rbx,4), %rsi
	movq	%r12, %rdi
	callq	_QEDE_RX_QUEUE_IDX
	movq	24(%r12), %rcx
	movq	(%rcx,%rax,8), %rax
	movl	(%rax), %eax
	movq	8(%r15), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_17
## %bb.18:
	movl	8(%r12), %eax
LBB0_19:
	movq	_QEDE_RSS_KEY_INITED@GOTPCREL(%rip), %rbx
	testl	%eax, (%rbx)
	jne	LBB0_21
## %bb.20:
	movl	16(%r12), %edi
	movl	$4, %esi
	callq	_netdev_rss_key_fill
	movl	(%rbx), %eax
	orl	%eax, 8(%r12)
LBB0_21:
	movl	4(%r15), %edi
	movl	16(%r12), %esi
	movl	$4, %edx
	callq	_memcpy
	movl	8(%r12), %eax
	movq	_QEDE_RSS_CAPS_INITED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_23
## %bb.22:
	movl	12(%r12), %edx
	jmp	LBB0_24
LBB0_23:
	movq	_QED_RSS_IPV4@GOTPCREL(%rip), %rsi
	movq	_QED_RSS_IPV6@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rsi), %edx
	movq	_QED_RSS_IPV4_TCP@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	movq	_QED_RSS_IPV6_TCP@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	movl	%edx, 12(%r12)
	orl	%eax, %ecx
	movl	%ecx, 8(%r12)
LBB0_24:
	movl	%edx, (%r15)
	movl	$1, %ebx
LBB0_25:
	movl	%ebx, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.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_RSS_CAPS_INITED,4,2       ## @QEDE_RSS_CAPS_INITED
	.comm	_QED_RSS_IPV4,4,2               ## @QED_RSS_IPV4
	.comm	_QED_RSS_IPV6,4,2               ## @QED_RSS_IPV6
	.comm	_QED_RSS_IPV4_TCP,4,2           ## @QED_RSS_IPV4_TCP
	.comm	_QED_RSS_IPV6_TCP,4,2           ## @QED_RSS_IPV6_TCP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qede_fill_rss_params           ; -- Begin function qede_fill_rss_params
	.p2align	2
_qede_fill_rss_params:                  ; @qede_fill_rss_params
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_QEDE_RSS_COUNT
	cmp	w0, #2
	b.ge	LBB0_2
; %bb.1:
	mov	x0, x20
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	mov	w8, #0
	b	LBB0_24
LBB0_2:
Lloh0:
	adrp	x23, _QED_RSS_IND_TABLE_SIZE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _QED_RSS_IND_TABLE_SIZE@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.3:
	mov	x22, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	w24, [x8, x22, lsl #2]
	mov	x0, x21
	bl	_QEDE_RSS_COUNT
	cmp	w24, w0
	b.ge	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x23]
	cmp	x22, x8
	b.lt	LBB0_4
LBB0_6:
	cmp	w24, w0
	cset	w11, ge
	b	LBB0_8
LBB0_7:
	mov	w11, #0
LBB0_8:
Lloh2:
	adrp	x24, _QEDE_RSS_INDIR_INITED@GOTPAGE
Lloh3:
	ldr	x24, [x24, _QEDE_RSS_INDIR_INITED@GOTPAGEOFF]
	ldr	w8, [x21, #8]
	ldr	w10, [x24]
	and	w12, w10, w8
	ldr	w9, [x23]
	cmp	w12, #0
	ccmp	w11, #0, #0, ne
	b.eq	LBB0_14
; %bb.9:
	cmp	w9, #1
	b.lt	LBB0_13
; %bb.10:
	mov	x22, #0
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_QEDE_RSS_COUNT
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x1, w0
	mov	x0, x22
	bl	_ethtool_rxfh_indir_default
	ldr	x8, [x21]
	str	w0, [x8, x22, lsl #2]
	add	x22, x22, #1
	ldrsw	x9, [x23]
	cmp	x22, x9
	b.lt	LBB0_11
; %bb.12:
	ldr	w10, [x24]
	ldr	w8, [x21, #8]
LBB0_13:
	orr	w8, w8, w10
	str	w8, [x21, #8]
LBB0_14:
	cmp	w9, #1
	b.lt	LBB0_18
; %bb.15:
	mov	x22, #0
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	lsl	x24, x22, #2
	ldrsw	x1, [x8, x24]
	mov	x0, x21
	bl	_QEDE_RX_QUEUE_IDX
	ldr	x8, [x21, #24]
	ldr	x8, [x8, x0, lsl #3]
	ldr	w8, [x8]
	ldr	x9, [x20, #8]
	str	w8, [x9, x24]
	add	x22, x22, #1
	ldrsw	x8, [x23]
	cmp	x22, x8
	b.lt	LBB0_16
; %bb.17:
	ldr	w8, [x21, #8]
LBB0_18:
Lloh4:
	adrp	x22, _QEDE_RSS_KEY_INITED@GOTPAGE
Lloh5:
	ldr	x22, [x22, _QEDE_RSS_KEY_INITED@GOTPAGEOFF]
	ldr	w9, [x22]
	tst	w9, w8
	b.ne	LBB0_20
; %bb.19:
	ldr	w0, [x21, #16]
	mov	w1, #4
	bl	_netdev_rss_key_fill
	ldr	w8, [x22]
	ldr	w9, [x21, #8]
	orr	w8, w9, w8
	str	w8, [x21, #8]
LBB0_20:
	ldr	w0, [x20, #4]
	ldr	w1, [x21, #16]
	mov	w2, #4
	bl	_memcpy
	ldr	w8, [x21, #8]
Lloh6:
	adrp	x9, _QEDE_RSS_CAPS_INITED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _QEDE_RSS_CAPS_INITED@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_22
; %bb.21:
	ldr	w10, [x21, #12]
	b	LBB0_23
LBB0_22:
Lloh9:
	adrp	x10, _QED_RSS_IPV4@GOTPAGE
Lloh10:
	ldr	x10, [x10, _QED_RSS_IPV4@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
Lloh12:
	adrp	x11, _QED_RSS_IPV6@GOTPAGE
Lloh13:
	ldr	x11, [x11, _QED_RSS_IPV6@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	orr	w10, w11, w10
Lloh15:
	adrp	x11, _QED_RSS_IPV4_TCP@GOTPAGE
Lloh16:
	ldr	x11, [x11, _QED_RSS_IPV4_TCP@GOTPAGEOFF]
Lloh17:
	ldr	w11, [x11]
Lloh18:
	adrp	x12, _QED_RSS_IPV6_TCP@GOTPAGE
Lloh19:
	ldr	x12, [x12, _QED_RSS_IPV6_TCP@GOTPAGEOFF]
	orr	w10, w10, w11
Lloh20:
	ldr	w11, [x12]
	orr	w10, w10, w11
	orr	w8, w9, w8
	stp	w8, w10, [x21, #8]
LBB0_23:
	str	w10, [x20]
	mov	w8, #1
LBB0_24:
	str	w8, [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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.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_RSS_CAPS_INITED,4,2       ; @QEDE_RSS_CAPS_INITED
	.comm	_QED_RSS_IPV4,4,2               ; @QED_RSS_IPV4
	.comm	_QED_RSS_IPV6,4,2               ; @QED_RSS_IPV6
	.comm	_QED_RSS_IPV4_TCP,4,2           ; @QED_RSS_IPV4_TCP
	.comm	_QED_RSS_IPV6_TCP,4,2           ; @QED_RSS_IPV6_TCP
.subsections_via_symbols
