	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hw_atl_b0_hw_rss_hash_set
_hw_atl_b0_hw_rss_hash_set:             ## @hw_atl_b0_hw_rss_hash_set
	.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	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rdi), %r12
	xorl	%ebx, %ebx
	movl	$9, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%r12)
	movl	$0, %eax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rax
	movl	(%rax,%r13,4), %edi
	callq	___swab32
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %esi
	movq	%r15, %rdi
	callq	_hw_atl_rpf_rss_key_wr_data_set
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_hw_atl_rpf_rss_key_addr_set
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_hw_atl_rpf_rss_key_wr_en_set
	movq	_hw_atl_rpf_rss_key_wr_en_get@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	movl	$1000, %r8d                     ## imm = 0x3E8
	movl	$10000, %r9d                    ## imm = 0x2710
	callq	_readx_poll_timeout_atomic
	testl	%eax, %eax
	js	LBB0_5
## %bb.1:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	%ebx
	addq	$-1, %r13
	jb	LBB0_2
## %bb.6:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_aq_hw_err_from_flags           ## TAILCALL
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hw_atl_rpf_rss_key_wr_en_get,4,2 ## @hw_atl_rpf_rss_key_wr_en_get
	.no_dead_strip	_hw_atl_b0_hw_rss_hash_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hw_atl_b0_hw_rss_hash_set
_hw_atl_b0_hw_rss_hash_set:             ; @hw_atl_b0_hw_rss_hash_set
	.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	x20, x1
	mov	x19, x0
	mov	w21, #0
	ldr	x22, [x0]
	mov	w23, #36
Lloh0:
	adrp	x24, _hw_atl_rpf_rss_key_wr_en_get@GOTPAGE
Lloh1:
	ldr	x24, [x24, _hw_atl_rpf_rss_key_wr_en_get@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	cbz	x8, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x20]
	ldr	w0, [x8, x23]
	bl	___swab32
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	w0, #0
LBB0_4:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	w1, w0
	mov	x0, x19
	bl	_hw_atl_rpf_rss_key_wr_data_set
	mov	x0, x19
	mov	x1, x21
	bl	_hw_atl_rpf_rss_key_addr_set
	mov	x0, x19
	mov	w1, #1
	bl	_hw_atl_rpf_rss_key_wr_en_set
	ldr	w0, [x24]
	mov	x1, x19
	mov	w3, #0
	mov	w4, #1000
	mov	w5, #10000
	bl	_readx_poll_timeout_atomic
	tbnz	w0, #31, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	add	w21, w21, #1
	sub	x23, x23, #4
	cmn	x23, #4
	b.ne	LBB0_1
; %bb.6:
	mov	x0, 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
	b	_aq_hw_err_from_flags
LBB0_7:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_hw_atl_rpf_rss_key_wr_en_get,4,2 ; @hw_atl_rpf_rss_key_wr_en_get
	.no_dead_strip	_hw_atl_b0_hw_rss_hash_set
.subsections_via_symbols
