	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wil_tx_sring_handler           ## -- Begin function wil_tx_sring_handler
	.p2align	4, 0x90
_wil_tx_sring_handler:                  ## @wil_tx_sring_handler
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r12
	callq	_wil_to_dev
	movq	%rax, %r15
	leaq	-128(%rbp), %rsi
	leaq	-120(%rbp), %rdx
	movq	%r13, %rdi
	callq	_wil_get_next_tx_status_msg
	movq	-128(%rbp), %rax
	xorl	%r14d, %r14d
	movl	$0, %ebx
	cmpq	(%r13), %rax
	jne	LBB0_36
## %bb.1:
	movq	%r15, -184(%rbp)                ## 8-byte Spill
	movq	_WIL_EDMA_TX_SRING_UPDATE_HW_TAIL@GOTPCREL(%rip), %r15
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	xorl	%ebx, %ebx
                                        ## implicit-def: $rax
                                        ## kill: killed $rax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_wil_sring_advance_swhead
	movq	%r13, %rdi
	leaq	-128(%rbp), %rsi
	leaq	-120(%rbp), %rdx
	callq	_wil_get_next_tx_status_msg
	movq	-128(%rbp), %rax
	cmpq	(%r13), %rax
	jne	LBB0_33
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_16 Depth 2
	movl	-120(%rbp), %eax
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	-116(%rbp), %r14d
	xorl	%edi, %edi
	movq	_WIL6210_MAX_TX_RINGS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	setae	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_wil_err
	jmp	LBB0_30
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_wil_err
	jmp	LBB0_30
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	40(%r12), %rbx
	leaq	(%r14,%r14,2), %r15
	xorl	%edi, %edi
	cmpq	$0, 8(%rbx,%r15,8)
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_wil_err
	jmp	LBB0_29
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	32(%r12), %rax
	movq	%r14, %rbx
	shlq	$4, %rbx
	xorl	%edi, %edi
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	cmpl	$0, 12(%rax,%rbx)
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	%r14d, %edx
	callq	_wil_info
	jmp	LBB0_29
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	24(%r12), %rax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rbx), %rcx
	movq	(%rax,%rcx,8), %r14
	xorl	%edi, %edi
	testq	%r14, %r14
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	movq	%r14, -152(%rbp)                ## 8-byte Spill
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	addq	%rbx, %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	leaq	L_.str.4(%rip), %rsi
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_wil_dbg_txrx
	jmp	LBB0_29
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, -168(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	callq	_vif_to_ndev
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	movq	(%r12), %rax
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rax,%rdx,8), %rax
	movslq	(%rax), %rax
	leaq	(%rax,%rax,2), %rcx
	cmpl	8(%r12), %eax
	movq	%r13, -144(%rbp)                ## 8-byte Spill
	movq	%rcx, -176(%rbp)                ## 8-byte Spill
	jge	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	(,%rcx,4), %rax
	addq	16(%r12), %rax
	jmp	LBB0_15
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r15,8), %r14
	movq	%r12, -96(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	leaq	L_.str.5(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	movl	-52(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_wil_dbg_txrx
	movq	%r14, %rdi
	callq	_wil_ring_used_tx
	movl	%eax, -132(%rbp)                ## 4-byte Spill
	movq	(%r14), %rax
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_16 Depth=2
	xorl	%esi, %esi
	cmpq	$0, -112(%rbp)
	sete	%sil
	movq	%rbx, %rdi
	callq	_wil_consume_skb
LBB0_25:                                ##   in Loop: Header=BB0_16 Depth=2
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	xorl	%eax, %eax
	callq	_wmb
	movq	%r14, %rdi
	callq	_wil_ring_next_tail
	movq	%rax, (%r14)
	decl	%r15d
	je	LBB0_26
LBB0_16:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%r14), %rcx
	leaq	(%rcx,%rax,8), %r12
	movq	(%rcx,%rax,8), %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	8(%r14), %rcx
	movl	(%rcx,%rax,4), %edi
	movl	%edi, -104(%rbp)
	callq	_le16_to_cpu
	movl	%eax, %ebx
	movq	(%r14), %rsi
	leaq	-120(%rbp), %r13
	movq	%r13, %rdi
	movl	%eax, %edx
	callq	_trace_wil6210_tx_status
	movl	(%r14), %ecx
	movq	-112(%rbp), %r9
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.6(%rip), %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movl	%ebx, %r8d
	xorl	%eax, %eax
	callq	_wil_dbg_txrx
	movq	_DUMP_PREFIX_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$0, (%rsp)
	leaq	L_.str.7(%rip), %rdi
	movl	$32, %edx
	movl	$4, %ecx
	movq	%r13, %r8
	movl	$16, %r9d
	callq	_wil_hex_dump_txrx
	movq	-184(%rbp), %rdi                ## 8-byte Reload
	leaq	-104(%rbp), %rsi
	movq	%r12, %r13
	movq	%r12, %rdx
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	callq	_wil_tx_desc_unmap_edma
	testq	%rbx, %rbx
	je	LBB0_25
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=2
	xorl	%edi, %edi
	cmpq	$0, -112(%rbp)
	sete	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=2
	movq	-160(%rbp), %rcx                ## 8-byte Reload
	incl	8(%rcx)
	movl	8(%rbx), %eax
	addl	%eax, 4(%rcx)
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_22
## %bb.19:                              ##   in Loop: Header=BB0_16 Depth=2
	incl	8(%rcx)
	addl	%eax, 4(%rcx)
	movq	-176(%rbp), %rax                ## 8-byte Reload
	leaq	(,%rax,4), %rdx
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	addq	16(%rdi), %rdx
	movq	%rbx, %rsi
	callq	_wil_tx_latency_calc
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_16 Depth=2
	movq	-160(%rbp), %rax                ## 8-byte Reload
	incl	(%rax)
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_16 Depth=2
	incl	(%rax)
LBB0_22:                                ##   in Loop: Header=BB0_16 Depth=2
	movq	(%rbx), %r12
	movq	_ETH_P_PAE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_be16
	cmpq	%rax, %r12
	jne	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_16 Depth=2
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_wil_tx_complete_handle_eapol
	jmp	LBB0_24
LBB0_26:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	addl	%eax, -48(%rbp)                 ## 4-byte Folded Spill
	movq	%r14, %rdi
	callq	_wil_ring_used_tx
	movl	%eax, %r14d
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movl	12(%r12), %edi
	movl	%eax, %esi
	movl	-132(%rbp), %ebx                ## 4-byte Reload
	movl	%ebx, %edx
	callq	_wil_val_in_range
	testq	%rax, %rax
	je	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.8(%rip), %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movl	%ebx, %ecx
	movl	%r14d, %r8d
	xorl	%eax, %eax
	callq	_wil_dbg_txrx
	xorl	%eax, %eax
	callq	_get_cycles
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	-168(%rbp), %rdx                ## 8-byte Reload
	movl	%eax, 8(%rcx,%rdx)
LBB0_28:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-144(%rbp), %r13                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movq	_WIL_EDMA_TX_SRING_UPDATE_HW_TAIL@GOTPCREL(%rip), %r15
LBB0_30:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%ebx
	movl	%ebx, %eax
	xorl	%edx, %edx
	divl	(%r15)
	testl	%edx, %edx
	jne	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%r13), %edx
	movl	16(%r13), %esi
	movq	%r12, %rdi
	callq	_wil_w
	jmp	LBB0_32
LBB0_33:
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	testl	%r14d, %r14d
	je	LBB0_34
## %bb.35:
	movq	%r12, %rdi
	movq	-152(%rbp), %rsi                ## 8-byte Reload
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_wil_update_net_queues
	jmp	LBB0_36
LBB0_34:
	xorl	%r14d, %r14d
LBB0_36:
	movq	_WIL_EDMA_TX_SRING_UPDATE_HW_TAIL@GOTPCREL(%rip), %rcx
	movl	%ebx, %eax
	xorl	%edx, %edx
	divl	(%rcx)
	testl	%edx, %edx
	je	LBB0_38
## %bb.37:
	movl	8(%r13), %eax
	movl	16(%r13), %esi
	decl	%eax
	cltd
	idivl	12(%r13)
	movq	%r12, %rdi
	callq	_wil_w
LBB0_38:
	movl	%r14d, %eax
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid num_descs 0\n"

	.comm	_WIL6210_MAX_TX_RINGS,4,2       ## @WIL6210_MAX_TX_RINGS
L_.str.1:                               ## @.str.1
	.asciz	"invalid ring id %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"Tx irq[%d]: ring not initialized\n"

L_.str.3:                               ## @.str.3
	.asciz	"Tx irq[%d]: ring disabled\n"

L_.str.4:                               ## @.str.4
	.asciz	"invalid MID %d for ring %d\n"

L_.str.5:                               ## @.str.5
	.asciz	"tx_status: completed desc_ring (%d), num_descs (%d)\n"

L_.str.6:                               ## @.str.6
	.asciz	"TxC[%2d][%3d] : %d bytes, status 0x%02x\n"

L_.str.7:                               ## @.str.7
	.asciz	"TxS "

	.comm	_DUMP_PREFIX_NONE,4,2           ## @DUMP_PREFIX_NONE
	.comm	_ETH_P_PAE,4,2                  ## @ETH_P_PAE
L_.str.8:                               ## @.str.8
	.asciz	"Ring[%2d] idle %d -> %d\n"

	.comm	_WIL_EDMA_TX_SRING_UPDATE_HW_TAIL,4,2 ## @WIL_EDMA_TX_SRING_UPDATE_HW_TAIL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wil_tx_sring_handler           ; -- Begin function wil_tx_sring_handler
	.p2align	2
_wil_tx_sring_handler:                  ; @wil_tx_sring_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x19, x0
	bl	_wil_to_dev
	mov	x21, x0
	sub	x1, x29, #88
	add	x2, sp, #104
	mov	x0, x20
	bl	_wil_get_next_tx_status_msg
	ldur	x8, [x29, #-88]
	ldr	x9, [x20]
Lloh0:
	adrp	x28, _WIL_EDMA_TX_SRING_UPDATE_HW_TAIL@GOTPAGE
Lloh1:
	ldr	x28, [x28, _WIL_EDMA_TX_SRING_UPDATE_HW_TAIL@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_34
; %bb.1:
	str	x21, [sp, #80]                  ; 8-byte Folded Spill
	str	wzr, [sp, #36]                  ; 4-byte Folded Spill
	mov	w22, #0
Lloh2:
	adrp	x26, l_.str@PAGE
Lloh3:
	add	x26, x26, l_.str@PAGEOFF
Lloh4:
	adrp	x21, _WIL6210_MAX_TX_RINGS@GOTPAGE
Lloh5:
	ldr	x21, [x21, _WIL6210_MAX_TX_RINGS@GOTPAGEOFF]
                                        ; implicit-def: $x8
                                        ; kill: killed $x8
Lloh6:
	adrp	x27, l_.str.1@PAGE
Lloh7:
	add	x27, x27, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_wil_sring_advance_swhead
	sub	x1, x29, #88
	add	x2, sp, #104
	mov	x0, x20
	bl	_wil_get_next_tx_status_msg
	ldur	x8, [x29, #-88]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_35
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_23 Depth 2
	ldr	w25, [sp, #104]
	cbz	w25, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w24, [sp, #108]
	ldr	w8, [x21]
	cmp	w24, w8
	cset	w0, hs
	bl	_unlikely
	cbz	x0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x24, [sp]
	mov	x0, x19
	mov	x1, x27
	bl	_wil_err
	b	LBB0_13
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	x1, x26
	bl	_wil_err
	b	LBB0_13
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x28, x27
	ldr	x21, [x19, #40]
	mov	w8, #24
	madd	x23, x24, x8, x21
	mov	x27, x23
	ldr	x8, [x27, #8]!
	cmp	x8, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x24, [sp]
	mov	x0, x19
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wil_err
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	x27, [sp, #88]                  ; 8-byte Folded Spill
	ldr	x27, [x19, #32]
	add	x26, x27, x24, lsl #4
	ldr	w8, [x26, #12]
	cmp	w8, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x24
	bl	_wil_info
Lloh12:
	adrp	x26, l_.str@PAGE
Lloh13:
	add	x26, x26, l_.str@PAGEOFF
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh14:
	adrp	x21, _WIL6210_MAX_TX_RINGS@GOTPAGE
Lloh15:
	ldr	x21, [x21, _WIL6210_MAX_TX_RINGS@GOTPAGEOFF]
	mov	x27, x28
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh16:
	adrp	x28, _WIL_EDMA_TX_SRING_UPDATE_HW_TAIL@GOTPAGE
Lloh17:
	ldr	x28, [x28, _WIL_EDMA_TX_SRING_UPDATE_HW_TAIL@GOTPAGEOFF]
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w22, w22, #1
	ldr	w8, [x28]
	udiv	w9, w22, w8
	msub	w8, w9, w8, w22
	cbnz	w8, LBB0_2
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x20, #16]
	ldr	w2, [x20, #8]
	mov	x0, x19
	bl	_wil_w
	b	LBB0_2
LBB0_15:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x27, [sp, #24]                  ; 8-byte Folded Spill
	ldr	x8, [x19, #24]
	ldr	x9, [x26]
	ldr	x27, [x8, x9, lsl #3]
	cmp	x27, #0
	cset	w0, eq
	bl	_unlikely
	str	x27, [sp, #48]                  ; 8-byte Folded Spill
	cbz	x0, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w2, [x26]
	mov	x0, x19
Lloh18:
	adrp	x1, l_.str.4@PAGE
Lloh19:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x3, x24
	bl	_wil_dbg_txrx
Lloh20:
	adrp	x26, l_.str@PAGE
Lloh21:
	add	x26, x26, l_.str@PAGEOFF
Lloh22:
	adrp	x21, _WIL6210_MAX_TX_RINGS@GOTPAGE
Lloh23:
	ldr	x21, [x21, _WIL6210_MAX_TX_RINGS@GOTPAGEOFF]
Lloh24:
	adrp	x27, l_.str.1@PAGE
Lloh25:
	add	x27, x27, l_.str.1@PAGEOFF
	b	LBB0_12
LBB0_17:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x27
	bl	_vif_to_ndev
	str	x0, [sp, #64]                   ; 8-byte Folded Spill
	ldr	x8, [x19]
	ldr	x8, [x8, x24, lsl #3]
	ldrsw	x10, [x8]
	ldr	w8, [x19, #8]
	cmp	w10, w8
	str	x10, [sp, #40]                  ; 8-byte Folded Spill
	b.ge	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #16]
	mov	w9, #12
	madd	x8, x10, x9, x8
	str	x8, [sp, #56]                   ; 8-byte Folded Spill
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_3 Depth=1
	str	xzr, [sp, #56]                  ; 8-byte Folded Spill
LBB0_20:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
Lloh26:
	adrp	x1, l_.str.5@PAGE
Lloh27:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x2, x24
	mov	x3, x25
	bl	_wil_dbg_txrx
	mov	x0, x23
	bl	_wil_ring_used_tx
	str	w0, [sp, #20]                   ; 4-byte Folded Spill
	mov	w8, #24
	madd	x8, x24, x8, x21
	add	x8, x8, #16
	str	x8, [sp, #72]                   ; 8-byte Folded Spill
	ldr	x0, [x23]
	mov	x21, x25
	b	LBB0_23
LBB0_21:                                ;   in Loop: Header=BB0_23 Depth=2
	ldr	x8, [sp, #112]
	cmp	x8, #0
	cset	w1, eq
	mov	x0, x27
	bl	_wil_consume_skb
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=2
	mov	x0, x26
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	bl	_wmb
	mov	x0, x23
	bl	_wil_ring_next_tail
	str	x0, [x23]
	subs	w21, w21, #1
	b.eq	LBB0_31
LBB0_23:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
	add	x26, x8, x0, lsl #3
	ldr	x27, [x26]
	ldr	x8, [sp, #88]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
	ldr	w0, [x8, x0, lsl #2]
	str	w0, [sp, #96]
	bl	_le16_to_cpu
	mov	x28, x0
	ldr	x1, [x23]
	add	x0, sp, #104
	mov	x2, x28
	bl	_trace_wil6210_tx_status
	ldr	w3, [x23]
	ldr	x8, [sp, #112]
	stp	x28, x8, [sp]
	mov	x0, x19
Lloh28:
	adrp	x1, l_.str.6@PAGE
Lloh29:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x2, x24
	bl	_wil_dbg_txrx
Lloh30:
	adrp	x8, _DUMP_PREFIX_NONE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _DUMP_PREFIX_NONE@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	add	x4, sp, #104
Lloh33:
	adrp	x0, l_.str.7@PAGE
Lloh34:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	w2, #32
	mov	w3, #4
	mov	w5, #16
	mov	w6, #0
	bl	_wil_hex_dump_txrx
	add	x1, sp, #96
	ldr	x0, [sp, #80]                   ; 8-byte Folded Reload
	mov	x2, x26
	bl	_wil_tx_desc_unmap_edma
	cbz	x27, LBB0_22
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=2
	ldr	x8, [sp, #112]
	cmp	x8, #0
	cset	w0, eq
	bl	_likely
	cbz	x0, LBB0_27
; %bb.25:                               ;   in Loop: Header=BB0_23 Depth=2
	add	x8, x27, #8
	ldr	x9, [sp, #64]                   ; 8-byte Folded Reload
	ldur	d1, [x9, #4]
	movi.2s	v0, #1
	ld1.s	{ v0 }[0], [x8]
	add.2s	v1, v1, v0
	stur	d1, [x9, #4]
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	cbz	x8, LBB0_29
; %bb.26:                               ;   in Loop: Header=BB0_23 Depth=2
	ldur	d1, [x8, #4]
	add.2s	v0, v1, v0
	stur	d0, [x8, #4]
	ldr	x8, [x19, #16]
	mov	w9, #12
	ldr	x10, [sp, #40]                  ; 8-byte Folded Reload
	madd	x2, x10, x9, x8
	mov	x0, x19
	mov	x1, x27
	bl	_wil_tx_latency_calc
	b	LBB0_29
LBB0_27:                                ;   in Loop: Header=BB0_23 Depth=2
	ldr	x9, [sp, #64]                   ; 8-byte Folded Reload
	ldr	w8, [x9]
	add	w8, w8, #1
	str	w8, [x9]
	ldr	x9, [sp, #56]                   ; 8-byte Folded Reload
	cbz	x9, LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_23 Depth=2
	ldr	w8, [x9]
	add	w8, w8, #1
	str	w8, [x9]
LBB0_29:                                ;   in Loop: Header=BB0_23 Depth=2
	ldr	x28, [x27]
Lloh35:
	adrp	x8, _ETH_P_PAE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ETH_P_PAE@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	bl	_cpu_to_be16
	cmp	x28, x0
	b.ne	LBB0_21
; %bb.30:                               ;   in Loop: Header=BB0_23 Depth=2
	ldr	x0, [sp, #48]                   ; 8-byte Folded Reload
	mov	x1, x27
	bl	_wil_tx_complete_handle_eapol
	b	LBB0_21
LBB0_31:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	add	w8, w8, w25
	str	w8, [sp, #36]                   ; 4-byte Folded Spill
	mov	x0, x23
	bl	_wil_ring_used_tx
	mov	x21, x0
	ldr	w0, [x19, #12]
	mov	x1, x21
	ldr	w23, [sp, #20]                  ; 4-byte Folded Reload
	mov	x2, x23
	bl	_wil_val_in_range
	cbz	x0, LBB0_33
; %bb.32:                               ;   in Loop: Header=BB0_3 Depth=1
	str	x21, [sp]
	mov	x0, x19
Lloh38:
	adrp	x1, l_.str.8@PAGE
Lloh39:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x2, x24
	mov	x3, x23
	bl	_wil_dbg_txrx
	bl	_get_cycles
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	add	x8, x8, x24, lsl #4
	str	w0, [x8, #8]
LBB0_33:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh40:
	adrp	x28, _WIL_EDMA_TX_SRING_UPDATE_HW_TAIL@GOTPAGE
Lloh41:
	ldr	x28, [x28, _WIL_EDMA_TX_SRING_UPDATE_HW_TAIL@GOTPAGEOFF]
Lloh42:
	adrp	x26, l_.str@PAGE
Lloh43:
	add	x26, x26, l_.str@PAGEOFF
Lloh44:
	adrp	x21, _WIL6210_MAX_TX_RINGS@GOTPAGE
Lloh45:
	ldr	x21, [x21, _WIL6210_MAX_TX_RINGS@GOTPAGEOFF]
Lloh46:
	adrp	x27, l_.str.1@PAGE
Lloh47:
	add	x27, x27, l_.str.1@PAGEOFF
	b	LBB0_13
LBB0_34:
	mov	w21, #0
	mov	w22, #0
	b	LBB0_37
LBB0_35:
	ldr	w21, [sp, #36]                  ; 4-byte Folded Reload
	cbz	w21, LBB0_37
; %bb.36:
	mov	x0, x19
	ldr	x1, [sp, #48]                   ; 8-byte Folded Reload
	mov	x2, #0
	mov	w3, #0
	bl	_wil_update_net_queues
LBB0_37:
	ldr	w8, [x28]
	udiv	w9, w22, w8
	msub	w8, w9, w8, w22
	cbz	w8, LBB0_39
; %bb.38:
	ldp	w9, w1, [x20, #12]
	ldr	w8, [x20, #8]
	sub	w8, w8, #1
	sdiv	w10, w8, w9
	msub	w2, w10, w9, w8
	mov	x0, x19
	bl	_wil_w
LBB0_39:
	mov	x0, x21
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid num_descs 0\n"

	.comm	_WIL6210_MAX_TX_RINGS,4,2       ; @WIL6210_MAX_TX_RINGS
l_.str.1:                               ; @.str.1
	.asciz	"invalid ring id %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"Tx irq[%d]: ring not initialized\n"

l_.str.3:                               ; @.str.3
	.asciz	"Tx irq[%d]: ring disabled\n"

l_.str.4:                               ; @.str.4
	.asciz	"invalid MID %d for ring %d\n"

l_.str.5:                               ; @.str.5
	.asciz	"tx_status: completed desc_ring (%d), num_descs (%d)\n"

l_.str.6:                               ; @.str.6
	.asciz	"TxC[%2d][%3d] : %d bytes, status 0x%02x\n"

l_.str.7:                               ; @.str.7
	.asciz	"TxS "

	.comm	_DUMP_PREFIX_NONE,4,2           ; @DUMP_PREFIX_NONE
	.comm	_ETH_P_PAE,4,2                  ; @ETH_P_PAE
l_.str.8:                               ; @.str.8
	.asciz	"Ring[%2d] idle %d -> %d\n"

	.comm	_WIL_EDMA_TX_SRING_UPDATE_HW_TAIL,4,2 ; @WIL_EDMA_TX_SRING_UPDATE_HW_TAIL
.subsections_via_symbols
