	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_clear_rss_lut
_i40e_clear_rss_lut:                    ## @i40e_clear_rss_lut
	.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	16(%rdi), %rax
	leaq	8(%rax), %r15
	movq	(%rdi), %rcx
	movq	_I40E_VSI_MAIN@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.1:
	movq	_I40E_PFQF_HLUT_MAX_INDEX@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	js	LBB0_8
## %bb.2:
	movq	$-1, %rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	incq	%rbx
	movq	%rbx, %rdi
	callq	_I40E_PFQF_HLUT
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_wr32
	cmpq	(%r14), %rbx
	jl	LBB0_3
	jmp	LBB0_8
LBB0_4:
	movq	_I40E_VSI_SRIOV@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_9
## %bb.5:
	movq	_I40E_VFQF_HLUT_MAX_INDEX@GOTPCREL(%rip), %r12
	cmpq	$0, (%r12)
	js	LBB0_8
## %bb.6:
	movl	8(%rdi), %r14d
	movq	$-1, %rbx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	incq	%rbx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_I40E_VFQF_HLUT1
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_i40e_write_rx_ctl
	cmpq	(%r12), %rbx
	jl	LBB0_7
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	(%rax), %rdi
	leaq	L_.str(%rip), %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_VSI_MAIN,8,3              ## @I40E_VSI_MAIN
	.comm	_I40E_PFQF_HLUT_MAX_INDEX,8,3   ## @I40E_PFQF_HLUT_MAX_INDEX
	.comm	_I40E_VSI_SRIOV,8,3             ## @I40E_VSI_SRIOV
	.comm	_I40E_VFQF_HLUT_MAX_INDEX,8,3   ## @I40E_VFQF_HLUT_MAX_INDEX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot set RSS LUT - invalid VSI type\n"

	.no_dead_strip	_i40e_clear_rss_lut
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_clear_rss_lut
_i40e_clear_rss_lut:                    ; @i40e_clear_rss_lut
	.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
	ldr	x8, [x0, #16]
	add	x19, x8, #8
	ldr	x9, [x0]
Lloh0:
	adrp	x10, _I40E_VSI_MAIN@GOTPAGE
Lloh1:
	ldr	x10, [x10, _I40E_VSI_MAIN@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.1:
Lloh3:
	adrp	x21, _I40E_PFQF_HLUT_MAX_INDEX@GOTPAGE
Lloh4:
	ldr	x21, [x21, _I40E_PFQF_HLUT_MAX_INDEX@GOTPAGEOFF]
	ldr	x8, [x21]
	tbnz	x8, #63, LBB0_8
; %bb.2:
	mov	x20, #-1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x20, x20, #1
	mov	x0, x20
	bl	_I40E_PFQF_HLUT
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_wr32
	ldr	x8, [x21]
	cmp	x20, x8
	b.lt	LBB0_3
	b	LBB0_8
LBB0_4:
Lloh5:
	adrp	x10, _I40E_VSI_SRIOV@GOTPAGE
Lloh6:
	ldr	x10, [x10, _I40E_VSI_SRIOV@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_9
; %bb.5:
Lloh8:
	adrp	x22, _I40E_VFQF_HLUT_MAX_INDEX@GOTPAGE
Lloh9:
	ldr	x22, [x22, _I40E_VFQF_HLUT_MAX_INDEX@GOTPAGEOFF]
	ldr	x8, [x22]
	tbnz	x8, #63, LBB0_8
; %bb.6:
	ldr	w20, [x0, #8]
	mov	x21, #-1
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	x21, x21, #1
	mov	x0, x21
	mov	x1, x20
	bl	_I40E_VFQF_HLUT1
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_i40e_write_rx_ctl
	ldr	x8, [x22]
	cmp	x21, x8
	b.lt	LBB0_7
LBB0_8:
	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
LBB0_9:
	ldr	x0, [x8]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	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	_dev_err
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_VSI_MAIN,8,3              ; @I40E_VSI_MAIN
	.comm	_I40E_PFQF_HLUT_MAX_INDEX,8,3   ; @I40E_PFQF_HLUT_MAX_INDEX
	.comm	_I40E_VSI_SRIOV,8,3             ; @I40E_VSI_SRIOV
	.comm	_I40E_VFQF_HLUT_MAX_INDEX,8,3   ; @I40E_VFQF_HLUT_MAX_INDEX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot set RSS LUT - invalid VSI type\n"

	.no_dead_strip	_i40e_clear_rss_lut
.subsections_via_symbols
