	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mwl8k_tx_poll
_mwl8k_tx_poll:                         ## @mwl8k_tx_poll
	.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, %r12
	movq	(%rdi), %r15
	leaq	16(%r15), %r14
	movq	%r14, %rdi
	callq	_spin_lock
	movq	%r15, %rdi
	callq	_mwl8k_tx_queues
	movl	$32, %r13d
	testl	%eax, %eax
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%r13d, %edx
	xorl	%ecx, %ecx
	callq	_mwl8k_txq_reclaim
	subl	%eax, %r13d
	incl	%ebx
	movq	%r15, %rdi
	callq	_mwl8k_tx_queues
	cmpl	%eax, %ebx
	jl	LBB0_2
LBB0_3:
	cmpl	$0, 32(%r15)
	jne	LBB0_6
## %bb.4:
	movq	24(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_complete
	movq	$0, 24(%r15)
LBB0_6:
	movq	%r14, %rdi
	callq	_spin_unlock
	testl	%r13d, %r13d
	je	LBB0_8
## %bb.7:
	movq	_MWL8K_A2H_INT_TX_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	notl	%edi
	movq	_MWL8K_HIU_A2H_INTERRUPT_STATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r15), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
LBB0_8:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tasklet_schedule               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MWL8K_A2H_INT_TX_DONE,4,2      ## @MWL8K_A2H_INT_TX_DONE
	.comm	_MWL8K_HIU_A2H_INTERRUPT_STATUS,8,3 ## @MWL8K_HIU_A2H_INTERRUPT_STATUS
	.no_dead_strip	_mwl8k_tx_poll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mwl8k_tx_poll
_mwl8k_tx_poll:                         ; @mwl8k_tx_poll
	.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	x22, x0
	ldr	x19, [x0]
	add	x20, x19, #16
	mov	x0, x20
	bl	_spin_lock
	mov	x0, x19
	bl	_mwl8k_tx_queues
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.1:
	mov	w23, #0
	mov	w21, #32
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x23
	mov	x2, x21
	mov	w3, #0
	bl	_mwl8k_txq_reclaim
	sub	w21, w21, w0
	add	w23, w23, #1
	mov	x0, x19
	bl	_mwl8k_tx_queues
	cmp	w23, w0
	b.lt	LBB0_2
; %bb.3:
	ldr	w8, [x19, #32]
	cbnz	w8, LBB0_7
	b	LBB0_5
LBB0_4:
	mov	w21, #32
	ldr	w8, [x19, #32]
	cbnz	w8, LBB0_7
LBB0_5:
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_7
; %bb.6:
	bl	_complete
	str	xzr, [x19, #24]
LBB0_7:
	mov	x0, x20
	bl	_spin_unlock
	cbz	w21, LBB0_9
; %bb.8:
Lloh0:
	adrp	x8, _MWL8K_A2H_INT_TX_DONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MWL8K_A2H_INT_TX_DONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mvn	w0, w8
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _MWL8K_HIU_A2H_INTERRUPT_STATUS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MWL8K_HIU_A2H_INTERRUPT_STATUS@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x1, x9, x8
	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	_writel
LBB0_9:
	mov	x0, 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	_tasklet_schedule
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MWL8K_A2H_INT_TX_DONE,4,2      ; @MWL8K_A2H_INT_TX_DONE
	.comm	_MWL8K_HIU_A2H_INTERRUPT_STATUS,8,3 ; @MWL8K_HIU_A2H_INTERRUPT_STATUS
	.no_dead_strip	_mwl8k_tx_poll
.subsections_via_symbols
