	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bna_bfi_tx_enet_start
_bna_bfi_tx_enet_start:                 ## @bna_bfi_tx_enet_start
	.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, %r15
	leaq	40(%rdi), %r14
	movq	_BFI_MC_ENET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BFI_ENET_H2I_TX_CFG_SET_REQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	28(%rdi), %r8d
	movq	40(%rdi), %rdi
	xorl	%r12d, %r12d
	xorl	%ecx, %ecx
	callq	_bfi_msgq_mhdr_set
	movl	$120, %edi
	callq	_bfi_msgq_num_cmd_entries
	movl	%eax, %edi
	callq	_htons
	movq	%rax, 40(%r15)
	movl	(%r15), %eax
	movl	%eax, 32(%r15)
	leaq	24(%r15), %rdi
	callq	_bfa_q_first
	movl	$20, %ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %r13
	movq	144(%r15), %rdi
	addq	%rbx, %rdi
	leaq	52(%rax), %rsi
	callq	_bfi_enet_datapath_q_init
	movl	48(%r13), %eax
	movq	144(%r15), %rcx
	movl	%eax, -4(%rcx,%rbx)
	movl	44(%r13), %eax
	movl	%eax, -8(%rcx,%rbx)
	movl	40(%r13), %eax
	movl	%eax, -12(%rcx,%rbx)
	movl	32(%r13), %edi
	callq	_htons
	movq	144(%r15), %rcx
	movq	%rax, -20(%rcx,%rbx)
	incq	%r12
	movq	%r13, %rdi
	callq	_bfa_q_next
	movslq	(%r15), %rcx
	addq	$24, %rbx
	cmpq	%rcx, %r12
	jl	LBB0_1
## %bb.2:
	movq	_BNA_STATUS_T_ENABLED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 136(%r15)
	movq	%rax, 128(%r15)
	movq	_BNA_STATUS_T_DISABLED@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	movq	%rcx, 120(%r15)
	movq	%rax, 112(%r15)
	movq	(%r13), %rdx
	movq	_BNA_INTR_T_MSIX@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	cmoveq	%rax, %rcx
	movq	%rcx, 104(%r15)
	movl	24(%r13), %edi
	callq	_htonl
	movq	%rax, 96(%r15)
	movl	16(%r13), %edi
	callq	_htonl
	movq	%rax, 88(%r15)
	movq	8(%r13), %rax
	movq	%rax, 80(%r15)
	movq	_BFI_ENET_TX_VLAN_WI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%r15)
	movl	16(%r15), %edi
	callq	_htons
	movq	%rax, 64(%r15)
	movq	(%rbx), %rax
	movq	%rax, 56(%r15)
	movq	%rax, 48(%r15)
	leaq	4(%r15), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	$120, %ecx
	movq	%r14, %r8
	callq	_bfa_msgq_cmd_set
	movq	8(%r15), %rdi
	movq	%rbx, %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_TX_CFG_SET_REQ,4,2 ## @BFI_ENET_H2I_TX_CFG_SET_REQ
	.comm	_BNA_STATUS_T_ENABLED,8,3       ## @BNA_STATUS_T_ENABLED
	.comm	_BNA_STATUS_T_DISABLED,8,3      ## @BNA_STATUS_T_DISABLED
	.comm	_BNA_INTR_T_MSIX,8,3            ## @BNA_INTR_T_MSIX
	.comm	_BFI_ENET_TX_VLAN_WI,4,2        ## @BFI_ENET_TX_VLAN_WI
	.no_dead_strip	_bna_bfi_tx_enet_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bna_bfi_tx_enet_start
_bna_bfi_tx_enet_start:                 ; @bna_bfi_tx_enet_start
	.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	x0, [x20, #40]!
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_TX_CFG_SET_REQ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BFI_ENET_H2I_TX_CFG_SET_REQ@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	ldr	w4, [x19, #28]
	mov	w3, #0
	bl	_bfi_msgq_mhdr_set
	mov	w0, #120
	bl	_bfi_msgq_num_cmd_entries
	bl	_htons
	str	x0, [x20]
	ldr	w8, [x19]
	str	w8, [x19, #32]
	add	x0, x19, #24
	bl	_bfa_q_first
	mov	x22, #0
	mov	x23, #0
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x21, x0
	ldr	x8, [x19, #144]
	add	x8, x8, x22
	add	x0, x8, #20
	add	x1, x21, #52
	bl	_bfi_enet_datapath_q_init
	ldr	w8, [x21, #48]
	ldr	x9, [x19, #144]
	add	x9, x9, x22
	str	w8, [x9, #16]
	ldr	d0, [x21, #40]
	str	d0, [x9, #8]
	ldr	w0, [x21, #32]
	bl	_htons
	ldr	x8, [x19, #144]
	str	x0, [x8, x22]
	add	x23, x23, #1
	mov	x0, x21
	bl	_bfa_q_next
	ldrsw	x8, [x19]
	add	x22, x22, #24
	cmp	x23, x8
	b.lt	LBB0_1
; %bb.2:
Lloh6:
	adrp	x8, _BNA_STATUS_T_ENABLED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BNA_STATUS_T_ENABLED@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	str	x8, [x19, #136]
Lloh9:
	adrp	x22, _BNA_STATUS_T_DISABLED@GOTPAGE
Lloh10:
	ldr	x22, [x22, _BNA_STATUS_T_DISABLED@GOTPAGEOFF]
	ldr	x9, [x22]
	stp	x9, x8, [x19, #120]
	ldr	x10, [x21]
Lloh11:
	adrp	x11, _BNA_INTR_T_MSIX@GOTPAGE
Lloh12:
	ldr	x11, [x11, _BNA_INTR_T_MSIX@GOTPAGEOFF]
Lloh13:
	ldr	x11, [x11]
	cmp	x10, x11
	csel	x9, x8, x9, eq
	stp	x9, x8, [x19, #104]
	ldr	w0, [x21, #24]
	bl	_htonl
	str	x0, [x19, #96]
	ldr	w0, [x21, #16]
	bl	_htonl
	ldr	x8, [x21, #8]
	stp	x8, x0, [x19, #80]
Lloh14:
	adrp	x8, _BFI_ENET_TX_VLAN_WI@GOTPAGE
Lloh15:
	ldr	x8, [x8, _BFI_ENET_TX_VLAN_WI@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x19, #72]
	ldr	w0, [x19, #16]
	bl	_htons
	ldr	x8, [x22]
	stp	x8, x0, [x19, #56]
	str	x8, [x19, #48]
	add	x21, x19, #4
	mov	x0, x21
	mov	x1, #0
	mov	x2, #0
	mov	w3, #120
	mov	x4, x20
	bl	_bfa_msgq_cmd_set
	ldr	x0, [x19, #8]
	mov	x1, x21
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_BFI_MC_ENET,4,2                ; @BFI_MC_ENET
	.comm	_BFI_ENET_H2I_TX_CFG_SET_REQ,4,2 ; @BFI_ENET_H2I_TX_CFG_SET_REQ
	.comm	_BNA_STATUS_T_ENABLED,8,3       ; @BNA_STATUS_T_ENABLED
	.comm	_BNA_STATUS_T_DISABLED,8,3      ; @BNA_STATUS_T_DISABLED
	.comm	_BNA_INTR_T_MSIX,8,3            ; @BNA_INTR_T_MSIX
	.comm	_BFI_ENET_TX_VLAN_WI,4,2        ; @BFI_ENET_TX_VLAN_WI
	.no_dead_strip	_bna_bfi_tx_enet_start
.subsections_via_symbols
