	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bna_bfi_rss_cfg
_bna_bfi_rss_cfg:                       ## @bna_bfi_rss_cfg
	.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	%rdi, %r12
	leaq	32(%rdi), %r14
	movq	_BFI_MC_ENET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BFI_ENET_H2I_RSS_CFG_REQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	8(%rdi), %rax
	movl	8(%rax), %r8d
	movl	32(%rdi), %edi
	xorl	%ecx, %ecx
	callq	_bfi_msgq_mhdr_set
	movl	$24, %edi
	callq	_bfi_msgq_num_cmd_entries
	movl	%eax, %edi
	callq	_htons
	movl	%eax, 32(%r12)
	movq	24(%r12), %rax
	movq	%rax, 48(%r12)
	movq	_BFI_ENET_RSS_KEY_LEN@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_3
## %bb.1:
	movq	16(%r12), %r13
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13,%rbx,4), %edi
	callq	_htonl
	movq	40(%r12), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	$24, %ecx
	movq	%r14, %r8
	callq	_bfa_msgq_cmd_set
	movq	8(%r12), %rax
	movq	(%rax), %rdi
	movq	%r12, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bfa_msgq_cmd_post              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BFI_MC_ENET,4,2                ## @BFI_MC_ENET
	.comm	_BFI_ENET_H2I_RSS_CFG_REQ,4,2   ## @BFI_ENET_H2I_RSS_CFG_REQ
	.comm	_BFI_ENET_RSS_KEY_LEN,4,2       ## @BFI_ENET_RSS_KEY_LEN
	.no_dead_strip	_bna_bfi_rss_cfg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bna_bfi_rss_cfg
_bna_bfi_rss_cfg:                       ; @bna_bfi_rss_cfg
	.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, x0
	mov	x20, x0
	ldr	w0, [x20, #32]!
Lloh0:
	adrp	x8, _BFI_MC_ENET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BFI_MC_ENET@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _BFI_ENET_H2I_RSS_CFG_REQ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BFI_ENET_H2I_RSS_CFG_REQ@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	ldur	x8, [x20, #-24]
	ldr	w4, [x8, #8]
	mov	w3, #0
	bl	_bfi_msgq_mhdr_set
	mov	w0, #24
	bl	_bfi_msgq_num_cmd_entries
	bl	_htons
	str	w0, [x20]
	ldur	d0, [x20, #-8]
	str	d0, [x20, #16]
Lloh6:
	adrp	x21, _BFI_ENET_RSS_KEY_LEN@GOTPAGE
Lloh7:
	ldr	x21, [x21, _BFI_ENET_RSS_KEY_LEN@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x22, #0
	ldr	x23, [x19, #16]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x24, x22, #2
	ldr	w0, [x23, x24]
	bl	_htonl
	ldr	x8, [x19, #40]
	str	w0, [x8, x24]
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.lt	LBB0_2
LBB0_3:
	mov	x0, x19
	mov	x1, #0
	mov	x2, #0
	mov	w3, #24
	mov	x4, x20
	bl	_bfa_msgq_cmd_set
	ldr	x8, [x19, #8]
	ldr	x0, [x8]
	mov	x1, 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	_bfa_msgq_cmd_post
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BFI_MC_ENET,4,2                ; @BFI_MC_ENET
	.comm	_BFI_ENET_H2I_RSS_CFG_REQ,4,2   ; @BFI_ENET_H2I_RSS_CFG_REQ
	.comm	_BFI_ENET_RSS_KEY_LEN,4,2       ; @BFI_ENET_RSS_KEY_LEN
	.no_dead_strip	_bna_bfi_rss_cfg
.subsections_via_symbols
