	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wait_for_wpdma
_wait_for_wpdma:                        ## @wait_for_wpdma
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MT_WPDMA_GLO_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MT_WPDMA_GLO_CFG_TX_DMA_BUSY@GOTPCREL(%rip), %rax
	movq	_MT_WPDMA_GLO_CFG_RX_DMA_BUSY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	xorl	%ecx, %ecx
	movl	$1000, %r8d                     ## imm = 0x3E8
	popq	%rbp
	jmp	_mt76_poll                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MT_WPDMA_GLO_CFG,4,2           ## @MT_WPDMA_GLO_CFG
	.comm	_MT_WPDMA_GLO_CFG_TX_DMA_BUSY,4,2 ## @MT_WPDMA_GLO_CFG_TX_DMA_BUSY
	.comm	_MT_WPDMA_GLO_CFG_RX_DMA_BUSY,4,2 ## @MT_WPDMA_GLO_CFG_RX_DMA_BUSY
	.no_dead_strip	_wait_for_wpdma
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wait_for_wpdma
_wait_for_wpdma:                        ; @wait_for_wpdma
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _MT_WPDMA_GLO_CFG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MT_WPDMA_GLO_CFG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _MT_WPDMA_GLO_CFG_TX_DMA_BUSY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MT_WPDMA_GLO_CFG_TX_DMA_BUSY@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _MT_WPDMA_GLO_CFG_RX_DMA_BUSY@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MT_WPDMA_GLO_CFG_RX_DMA_BUSY@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	w3, #0
	mov	w4, #1000
	b	_mt76_poll
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MT_WPDMA_GLO_CFG,4,2           ; @MT_WPDMA_GLO_CFG
	.comm	_MT_WPDMA_GLO_CFG_TX_DMA_BUSY,4,2 ; @MT_WPDMA_GLO_CFG_TX_DMA_BUSY
	.comm	_MT_WPDMA_GLO_CFG_RX_DMA_BUSY,4,2 ; @MT_WPDMA_GLO_CFG_RX_DMA_BUSY
	.no_dead_strip	_wait_for_wpdma
.subsections_via_symbols
