	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fm10k_write_reta               ## -- Begin function fm10k_write_reta
	.p2align	4, 0x90
_fm10k_write_reta:                      ## @fm10k_write_reta
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	_FM10K_RETA_SIZE@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_8
## %bb.1:
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	16(%rdx), %rax
	movq	_RING_F_RSS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leaq	8(%rdx), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	$1, %ebx
	xorl	%r12d, %r12d
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	movq	_FM10K_RETA_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addl	$4, %ebx
	cmpq	%rax, %r12
	jge	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leal	-1(%rbx), %edi
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%edi, %eax
	movl	(%rsi,%rax,4), %edx
	shlq	$2, %rax
	movq	%rax, %rcx
	orq	$4, %rcx
	movl	(%rsi,%rcx), %r15d
	movq	%rax, %rcx
	orq	$8, %rcx
	movl	(%rsi,%rcx), %r14d
	orq	$12, %rax
	movl	(%rsi,%rax), %r13d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %esi
	callq	_ethtool_rxfh_indir_default
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	movl	%r13d, %esi
	callq	_ethtool_rxfh_indir_default
	movl	%eax, %r15d
	leal	1(%rbx), %edi
	movl	%r13d, %esi
	callq	_ethtool_rxfh_indir_default
	movl	%eax, %r14d
	leal	2(%rbx), %edi
	movl	%r13d, %esi
	callq	_ethtool_rxfh_indir_default
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, %r13d
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	shll	$8, %r15d
	orl	%edx, %r15d
	shll	$16, %r14d
	shll	$24, %r13d
	orl	%r14d, %r13d
	orl	%r15d, %r13d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	cmpl	%r13d, (%rax,%r12,4)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r13d, (%rax,%r12,4)
	xorl	%edi, %edi
	movl	%r12d, %esi
	callq	_FM10K_RETA
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	movl	%r13d, %edx
	callq	_fm10k_write_reg
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_7
LBB0_8:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RING_F_RSS,8,3                 ## @RING_F_RSS
	.comm	_FM10K_RETA_SIZE,4,2            ## @FM10K_RETA_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fm10k_write_reta               ; -- Begin function fm10k_write_reta
	.p2align	2
_fm10k_write_reta:                      ; @fm10k_write_reta
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x28, _FM10K_RETA_SIZE@GOTPAGE
Lloh1:
	ldr	x28, [x28, _FM10K_RETA_SIZE@GOTPAGEOFF]
	ldr	w8, [x28]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	x21, #0
Lloh2:
	adrp	x8, _RING_F_RSS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RING_F_RSS@GOTPAGEOFF]
	ldr	x9, [x0, #16]
Lloh4:
	ldr	x8, [x8]
	ldr	w22, [x9, x8, lsl #2]
	add	x23, x0, #8
	mov	w24, #1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x28]
	add	w24, w24, #4
	cmp	x21, x8
	b.ge	LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	w0, w24, #1
	cbz	x19, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	lsl	x8, x0, #2
	ldr	w25, [x19, x8]
	orr	x9, x8, #0x4
	ldr	w26, [x19, x9]
	orr	x9, x8, #0x8
	ldr	w27, [x19, x9]
	orr	x8, x8, #0xc
	ldr	w0, [x19, x8]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	x1, x22
	bl	_ethtool_rxfh_indir_default
	mov	x25, x0
	mov	x0, x24
	mov	x1, x22
	bl	_ethtool_rxfh_indir_default
	mov	x26, x0
	add	w0, w24, #1
	mov	x1, x22
	bl	_ethtool_rxfh_indir_default
	mov	x27, x0
	add	w0, w24, #2
	mov	x1, x22
	bl	_ethtool_rxfh_indir_default
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	orr	w8, w25, w26, lsl #8
	orr	w8, w8, w27, lsl #16
	orr	w25, w8, w0, lsl #24
	ldr	x8, [x20]
	ldr	w9, [x8, x21, lsl #2]
	cmp	w9, w25
	b.eq	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	str	w25, [x8, x21, lsl #2]
	mov	w0, #0
	mov	x1, x21
	bl	_FM10K_RETA
	mov	x1, x0
	mov	x0, x23
	mov	x2, x25
	bl	_fm10k_write_reg
	b	LBB0_2
LBB0_8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_RING_F_RSS,8,3                 ; @RING_F_RSS
	.comm	_FM10K_RETA_SIZE,4,2            ; @FM10K_RETA_SIZE
.subsections_via_symbols
