	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt7601u_tx_tasklet
_mt7601u_tx_tasklet:                    ## @mt7601u_tx_tasklet
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	-32(%rbp), %rdi
	callq	___skb_queue_head_init
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	_MT7601U_STATE_MORE_STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%r14), %rbx
	movq	%rbx, %rsi
	callq	_set_bit
	movq	_MT7601U_STATE_READING_STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_and_set_bit
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	12(%r14), %ebx
	leaq	8(%r14), %r15
	movl	$10, %edi
	callq	_msecs_to_jiffies
	movl	%ebx, %edi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_queue_delayed_work
LBB0_2:
	leaq	4(%r14), %rdi
	leaq	-32(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_skb_queue_splice_init
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	%rbx, %rdi
	callq	_skb_queue_empty
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	leaq	-32(%rbp), %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	___skb_dequeue
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_mt7601u_tx_status
	movq	%rbx, %rdi
	callq	_skb_queue_empty
	testl	%eax, %eax
	je	LBB0_4
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MT7601U_STATE_MORE_STATS,4,2   ## @MT7601U_STATE_MORE_STATS
	.comm	_MT7601U_STATE_READING_STATS,4,2 ## @MT7601U_STATE_READING_STATS
	.no_dead_strip	_mt7601u_tx_tasklet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt7601u_tx_tasklet
_mt7601u_tx_tasklet:                    ; @mt7601u_tx_tasklet
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	add	x0, sp, #8
	bl	___skb_queue_head_init
	mov	x0, x19
	bl	_spin_lock_irqsave
Lloh0:
	adrp	x8, _MT7601U_STATE_MORE_STATS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MT7601U_STATE_MORE_STATS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x20, x19, #16
	mov	x1, x20
	bl	_set_bit
Lloh3:
	adrp	x8, _MT7601U_STATE_READING_STATS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MT7601U_STATE_READING_STATS@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_and_set_bit
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w20, [x19, #12]
	add	x21, x19, #8
	mov	w0, #10
	bl	_msecs_to_jiffies
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_queue_delayed_work
LBB0_2:
	add	x0, x19, #4
	add	x1, sp, #8
	bl	_skb_queue_splice_init
	mov	x0, x19
	bl	_spin_unlock_irqrestore
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	bl	_skb_queue_empty
	cbnz	w0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #8
	bl	___skb_dequeue
	mov	x1, x0
	mov	x0, x19
	bl	_mt7601u_tx_status
	b	LBB0_3
LBB0_5:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MT7601U_STATE_MORE_STATS,4,2   ; @MT7601U_STATE_MORE_STATS
	.comm	_MT7601U_STATE_READING_STATS,4,2 ; @MT7601U_STATE_READING_STATS
	.no_dead_strip	_mt7601u_tx_tasklet
.subsections_via_symbols
