	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rt61pci_rxdone_tasklet
_rt61pci_rxdone_tasklet:                ## @rt61pci_rxdone_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_rt2x00mmio_rxdone
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	addq	$4, %rbx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_tasklet_schedule               ## TAILCALL
LBB0_1:
	movq	_DEVICE_STATE_ENABLED_RADIO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	movq	_INT_MASK_CSR_RXDONE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_rt61pci_enable_interrupt       ## TAILCALL
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DEVICE_STATE_ENABLED_RADIO,4,2 ## @DEVICE_STATE_ENABLED_RADIO
	.comm	_INT_MASK_CSR_RXDONE,4,2        ## @INT_MASK_CSR_RXDONE
	.no_dead_strip	_rt61pci_rxdone_tasklet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rt61pci_rxdone_tasklet
_rt61pci_rxdone_tasklet:                ; @rt61pci_rxdone_tasklet
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_rt2x00mmio_rxdone
	cbz	x0, LBB0_2
; %bb.1:
	add	x0, x19, #4
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_tasklet_schedule
LBB0_2:
Lloh0:
	adrp	x8, _DEVICE_STATE_ENABLED_RADIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DEVICE_STATE_ENABLED_RADIO@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _INT_MASK_CSR_RXDONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INT_MASK_CSR_RXDONE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rt61pci_enable_interrupt
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_DEVICE_STATE_ENABLED_RADIO,4,2 ; @DEVICE_STATE_ENABLED_RADIO
	.comm	_INT_MASK_CSR_RXDONE,4,2        ; @INT_MASK_CSR_RXDONE
	.no_dead_strip	_rt61pci_rxdone_tasklet
.subsections_via_symbols
