	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rt2500pci_txstatus_tasklet
_rt2500pci_txstatus_tasklet:            ## @rt2500pci_txstatus_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, %rbx
	movq	_QID_ATIM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_rt2500pci_txdone
	movq	_QID_AC_VO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_rt2500pci_txdone
	movq	_QID_AC_VI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_rt2500pci_txdone
	movq	_DEVICE_STATE_ENABLED_RADIO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%rbx), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_spin_lock_irq
	movq	_CSR8@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_rt2x00mmio_register_read
	movl	%eax, -28(%rbp)
	movq	_CSR8_TXDONE_TXRING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %r14
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_rt2x00_set_field32
	movq	_CSR8_TXDONE_ATIMRING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_rt2x00_set_field32
	movq	_CSR8_TXDONE_PRIORING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_rt2x00_set_field32
	movl	(%r15), %esi
	movl	-28(%rbp), %edx
	movq	%rbx, %rdi
	callq	_rt2x00mmio_register_write
	movq	%rbx, %rdi
	callq	_spin_unlock_irq
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QID_ATIM,4,2                   ## @QID_ATIM
	.comm	_QID_AC_VO,4,2                  ## @QID_AC_VO
	.comm	_QID_AC_VI,4,2                  ## @QID_AC_VI
	.comm	_DEVICE_STATE_ENABLED_RADIO,4,2 ## @DEVICE_STATE_ENABLED_RADIO
	.comm	_CSR8,4,2                       ## @CSR8
	.comm	_CSR8_TXDONE_TXRING,4,2         ## @CSR8_TXDONE_TXRING
	.comm	_CSR8_TXDONE_ATIMRING,4,2       ## @CSR8_TXDONE_ATIMRING
	.comm	_CSR8_TXDONE_PRIORING,4,2       ## @CSR8_TXDONE_PRIORING
	.no_dead_strip	_rt2500pci_txstatus_tasklet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rt2500pci_txstatus_tasklet
_rt2500pci_txstatus_tasklet:            ; @rt2500pci_txstatus_tasklet
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _QID_ATIM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QID_ATIM@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_rt2500pci_txdone
Lloh3:
	adrp	x8, _QID_AC_VO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QID_AC_VO@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rt2500pci_txdone
Lloh6:
	adrp	x8, _QID_AC_VI@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QID_AC_VI@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rt2500pci_txdone
Lloh9:
	adrp	x8, _DEVICE_STATE_ENABLED_RADIO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DEVICE_STATE_ENABLED_RADIO@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	add	x1, x19, #4
	bl	_test_bit
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_spin_lock_irq
Lloh12:
	adrp	x20, _CSR8@GOTPAGE
Lloh13:
	ldr	x20, [x20, _CSR8@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_rt2x00mmio_register_read
	str	w0, [sp, #12]
Lloh14:
	adrp	x8, _CSR8_TXDONE_TXRING@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CSR8_TXDONE_TXRING@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	w2, #0
	bl	_rt2x00_set_field32
Lloh17:
	adrp	x8, _CSR8_TXDONE_ATIMRING@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CSR8_TXDONE_ATIMRING@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	w2, #0
	bl	_rt2x00_set_field32
Lloh20:
	adrp	x8, _CSR8_TXDONE_PRIORING@GOTPAGE
Lloh21:
	ldr	x8, [x8, _CSR8_TXDONE_PRIORING@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	w2, #0
	bl	_rt2x00_set_field32
	ldr	w1, [x20]
	ldr	w2, [sp, #12]
	mov	x0, x19
	bl	_rt2x00mmio_register_write
	mov	x0, x19
	bl	_spin_unlock_irq
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_QID_ATIM,4,2                   ; @QID_ATIM
	.comm	_QID_AC_VO,4,2                  ; @QID_AC_VO
	.comm	_QID_AC_VI,4,2                  ; @QID_AC_VI
	.comm	_DEVICE_STATE_ENABLED_RADIO,4,2 ; @DEVICE_STATE_ENABLED_RADIO
	.comm	_CSR8,4,2                       ; @CSR8
	.comm	_CSR8_TXDONE_TXRING,4,2         ; @CSR8_TXDONE_TXRING
	.comm	_CSR8_TXDONE_ATIMRING,4,2       ; @CSR8_TXDONE_ATIMRING
	.comm	_CSR8_TXDONE_PRIORING,4,2       ; @CSR8_TXDONE_PRIORING
	.no_dead_strip	_rt2500pci_txstatus_tasklet
.subsections_via_symbols
