	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_txd_ring
_init_txd_ring:                         ## @init_txd_ring
	.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, %r13
	movq	(%rdi), %rax
	movq	8(%rdi), %rbx
	movq	_SMT_R1_RXD_COUNT@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %r15
	leaq	(%rbx,%r15,4), %r14
	movq	_QUEUE_A0@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %r12
	movq	_HWM_ASYNC_TXD_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	movl	$3, %edi
	callq	_DB_GEN
	movq	_HWM_ASYNC_TXD_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_init_descr_ring
	movl	(%rbx,%r15,4), %edi
	callq	_le32_to_cpu
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	leaq	(%rbx,%r15,4), %rax
	addq	$4, %rax
	movq	%rax, 16(%r12)
	movq	%rax, 24(%r12)
	movq	_HWM_ASYNC_TXD_COUNT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movl	%eax, (%r12)
	movq	$0, 8(%r12)
	movq	_B5_XA_DA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ADDR
	movl	%eax, %edi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_outpd
	movslq	(%rbx), %rbx
	leaq	(%r14,%rbx,4), %r12
	addq	$4, %r12
	leaq	(%r14,%rbx,4), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%r13), %rax
	movq	_QUEUE_S@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %r15
	movq	_HWM_SYNC_TXD_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	movl	$3, %edi
	callq	_DB_GEN
	movq	_HWM_SYNC_TXD_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_init_descr_ring
	movl	(%r14,%rbx,4), %edi
	callq	_le32_to_cpu
	movl	%eax, %r14d
	movq	%r12, 16(%r15)
	movq	%r12, 24(%r15)
	movq	_HWM_SYNC_TXD_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	$0, 8(%r15)
	movq	_B5_XS_DA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ADDR
	movl	%eax, %edi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_outpd                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SMT_R1_RXD_COUNT,4,2           ## @SMT_R1_RXD_COUNT
	.comm	_QUEUE_A0,8,3                   ## @QUEUE_A0
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Init async TxD ring, %d TxDs"

	.comm	_HWM_ASYNC_TXD_COUNT,4,2        ## @HWM_ASYNC_TXD_COUNT
	.comm	_B5_XA_DA,4,2                   ## @B5_XA_DA
	.comm	_QUEUE_S,8,3                    ## @QUEUE_S
L_.str.1:                               ## @.str.1
	.asciz	"Init sync TxD ring, %d TxDs"

	.comm	_HWM_SYNC_TXD_COUNT,4,2         ## @HWM_SYNC_TXD_COUNT
	.comm	_B5_XS_DA,4,2                   ## @B5_XS_DA
	.no_dead_strip	_init_txd_ring
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_txd_ring
_init_txd_ring:                         ; @init_txd_ring
	.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
Lloh0:
	adrp	x8, _SMT_R1_RXD_COUNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SMT_R1_RXD_COUNT@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	ldp	x10, x9, [x0]
	add	x20, x9, x8, lsl #2
Lloh3:
	adrp	x8, _QUEUE_A0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QUEUE_A0@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x22, [x10, x8, lsl #3]
Lloh6:
	adrp	x23, _HWM_ASYNC_TXD_COUNT@GOTPAGE
Lloh7:
	ldr	x23, [x23, _HWM_ASYNC_TXD_COUNT@GOTPAGEOFF]
	ldr	w2, [x23]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #3
	bl	_DB_GEN
	ldr	w2, [x23]
	mov	x0, x19
	mov	x1, x20
	bl	_init_descr_ring
	ldr	w0, [x20], #4
	bl	_le32_to_cpu
	mov	x21, x0
	stp	x20, x20, [x22, #16]
	ldr	w8, [x23]
	str	w8, [x22]
	str	xzr, [x22, #8]
Lloh10:
	adrp	x8, _B5_XA_DA@GOTPAGE
Lloh11:
	ldr	x8, [x8, _B5_XA_DA@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_ADDR
	mov	x1, x21
	bl	_outpd
	ldrsw	x8, [x23]
	add	x21, x20, x8, lsl #2
	sub	x20, x21, #4
	ldr	x8, [x19]
Lloh13:
	adrp	x9, _QUEUE_S@GOTPAGE
Lloh14:
	ldr	x9, [x9, _QUEUE_S@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	ldr	x22, [x8, x9, lsl #3]
Lloh16:
	adrp	x23, _HWM_SYNC_TXD_COUNT@GOTPAGE
Lloh17:
	ldr	x23, [x23, _HWM_SYNC_TXD_COUNT@GOTPAGEOFF]
	ldr	w2, [x23]
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #3
	bl	_DB_GEN
	ldr	w2, [x23]
	mov	x0, x19
	mov	x1, x20
	bl	_init_descr_ring
	ldur	w0, [x21, #-4]
	bl	_le32_to_cpu
	mov	x19, x0
	stp	x21, x21, [x22, #16]
	ldr	w8, [x23]
	str	w8, [x22]
	str	xzr, [x22, #8]
Lloh20:
	adrp	x8, _B5_XS_DA@GOTPAGE
Lloh21:
	ldr	x8, [x8, _B5_XS_DA@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	_ADDR
	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	_outpd
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SMT_R1_RXD_COUNT,4,2           ; @SMT_R1_RXD_COUNT
	.comm	_QUEUE_A0,8,3                   ; @QUEUE_A0
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Init async TxD ring, %d TxDs"

	.comm	_HWM_ASYNC_TXD_COUNT,4,2        ; @HWM_ASYNC_TXD_COUNT
	.comm	_B5_XA_DA,4,2                   ; @B5_XA_DA
	.comm	_QUEUE_S,8,3                    ; @QUEUE_S
l_.str.1:                               ; @.str.1
	.asciz	"Init sync TxD ring, %d TxDs"

	.comm	_HWM_SYNC_TXD_COUNT,4,2         ; @HWM_SYNC_TXD_COUNT
	.comm	_B5_XS_DA,4,2                   ; @B5_XS_DA
	.no_dead_strip	_init_txd_ring
.subsections_via_symbols
