	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bna_tx_mod_init                ## -- Begin function bna_tx_mod_init
	.p2align	4, 0x90
_bna_tx_mod_init:                       ## @bna_tx_mod_init
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	%rsi, 64(%rdi)
	movq	$0, 56(%rdi)
	movq	_BNA_MOD_RES_MEM_T_TX_ARRAY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rdx,%rax,8), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%rdi)
	movq	_BNA_MOD_RES_MEM_T_TXQ_ARRAY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rdx,%rax,8), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rdi)
	addq	$32, %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_INIT_LIST_HEAD
	leaq	48(%r13), %rdi
	callq	_INIT_LIST_HEAD
	leaq	20(%r13), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_INIT_LIST_HEAD
	cmpl	$0, (%r12)
	jle	LBB0_3
## %bb.1:
	movl	$4, %ebx
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	40(%r13), %rdi
	movl	%r15d, (%rdi,%r15,8)
	addq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_list_add_tail
	movq	24(%r13), %rdi
	addq	%r14, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_list_add_tail
	incq	%r15
	movslq	(%r12), %rax
	addq	$8, %rbx
	addq	$4, %r14
	cmpq	%rax, %r15
	jl	LBB0_2
LBB0_3:
	movq	_BFI_TX_PRIO_MAP_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r13)
	movq	$0, 8(%r13)
	movq	_BNA_STATUS_T_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r13)
	movl	$-1, (%r13)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNA_MOD_RES_MEM_T_TX_ARRAY,8,3 ## @BNA_MOD_RES_MEM_T_TX_ARRAY
	.comm	_BNA_MOD_RES_MEM_T_TXQ_ARRAY,8,3 ## @BNA_MOD_RES_MEM_T_TXQ_ARRAY
	.comm	_BFI_TX_PRIO_MAP_ALL,4,2        ## @BFI_TX_PRIO_MAP_ALL
	.comm	_BNA_STATUS_T_DISABLED,4,2      ## @BNA_STATUS_T_DISABLED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bna_tx_mod_init                ; -- Begin function bna_tx_mod_init
	.p2align	2
_bna_tx_mod_init:                       ; @bna_tx_mod_init
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
	stp	xzr, x1, [x0, #56]
Lloh0:
	adrp	x8, _BNA_MOD_RES_MEM_T_TX_ARRAY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNA_MOD_RES_MEM_T_TX_ARRAY@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x2, x8, lsl #3]
	ldr	x8, [x8]
	str	x8, [x0, #40]
Lloh3:
	adrp	x8, _BNA_MOD_RES_MEM_T_TXQ_ARRAY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BNA_MOD_RES_MEM_T_TXQ_ARRAY@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x8, [x2, x8, lsl #3]
	ldr	x8, [x8]
	str	x8, [x0, #24]
	add	x21, x0, #32
	mov	x0, x21
	bl	_INIT_LIST_HEAD
	add	x0, x19, #48
	bl	_INIT_LIST_HEAD
	add	x22, x19, #20
	mov	x0, x22
	bl	_INIT_LIST_HEAD
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x23, #0
	mov	x24, #0
	mov	x25, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #40]
	add	x0, x8, x24
	str	w25, [x0], #4
	mov	x1, x21
	bl	_list_add_tail
	ldr	x8, [x19, #24]
	add	x0, x8, x23
	mov	x1, x22
	bl	_list_add_tail
	add	x25, x25, #1
	ldrsw	x8, [x20]
	add	x24, x24, #8
	add	x23, x23, #4
	cmp	x25, x8
	b.lt	LBB0_2
LBB0_3:
Lloh6:
	adrp	x8, _BFI_TX_PRIO_MAP_ALL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BFI_TX_PRIO_MAP_ALL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	str	xzr, [x19, #8]
Lloh9:
	adrp	x8, _BNA_STATUS_T_DISABLED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BNA_STATUS_T_DISABLED@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	mov	w9, #-1
	stp	w9, w8, [x19]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_BNA_MOD_RES_MEM_T_TX_ARRAY,8,3 ; @BNA_MOD_RES_MEM_T_TX_ARRAY
	.comm	_BNA_MOD_RES_MEM_T_TXQ_ARRAY,8,3 ; @BNA_MOD_RES_MEM_T_TXQ_ARRAY
	.comm	_BFI_TX_PRIO_MAP_ALL,4,2        ; @BFI_TX_PRIO_MAP_ALL
	.comm	_BNA_STATUS_T_DISABLED,4,2      ; @BNA_STATUS_T_DISABLED
.subsections_via_symbols
