	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt7603_dma_init                ## -- Begin function mt7603_dma_init
	.p2align	4, 0x90
_mt7603_dma_init:                       ## @mt7603_dma_init
	.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, %r14
	callq	_mt76_dma_attach
	movq	_MT_WPDMA_GLO_CFG_TX_DMA_EN@GOTPCREL(%rip), %rax
	movq	_MT_WPDMA_GLO_CFG_RX_DMA_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_MT_WPDMA_GLO_CFG@GOTPCREL(%rip), %rax
	movq	_MT_WPDMA_GLO_CFG_DMA_BURST_SIZE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_MT_WPDMA_GLO_CFG_TX_WRITEBACK_DONE@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r14, %rdi
	callq	_mt76_clear
	movq	_MT_WPDMA_RST_IDX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$-1, %edx
	callq	_mt76_wr
	movq	%r14, %rdi
	callq	_mt7603_pse_client_reset
	leaq	_mt7603_dma_init.wmm_queue_map(%rip), %r15
	movq	%r15, %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_4
## %bb.1:
	xorl	%ebx, %ebx
	movq	_MT_TX_RING_SIZE@GOTPCREL(%rip), %r12
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rsi
	addq	%rbx, %rsi
	movl	(%rbx,%r15), %edx
	movl	(%r12), %ecx
	movq	%r14, %rdi
	callq	_mt7603_init_tx_queue
	testl	%eax, %eax
	jne	LBB0_12
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%r13
	movq	%r15, %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$4, %rbx
	cmpq	%rax, %r13
	jl	LBB0_3
LBB0_4:
	movq	_MT_TXQ_PSD@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	shlq	$2, %rsi
	addq	16(%r14), %rsi
	movq	_MT_TX_HW_QUEUE_MGMT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MT_TX_RING_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_mt7603_init_tx_queue
	testl	%eax, %eax
	jne	LBB0_12
## %bb.5:
	movq	_MT_TXQ_MCU@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	shlq	$2, %rsi
	addq	16(%r14), %rsi
	movq	_MT_TX_HW_QUEUE_MCU@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MT_MCU_RING_SIZE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	movq	%r14, %rdi
	callq	_mt7603_init_tx_queue
	testl	%eax, %eax
	jne	LBB0_12
## %bb.6:
	movq	_MT_TXQ_BEACON@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	shlq	$2, %rsi
	addq	16(%r14), %rsi
	movq	_MT_TX_HW_QUEUE_BCN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rbx), %ecx
	movq	%r14, %rdi
	callq	_mt7603_init_tx_queue
	testl	%eax, %eax
	jne	LBB0_12
## %bb.7:
	movq	_MT_TXQ_CAB@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	shlq	$2, %rsi
	addq	16(%r14), %rsi
	movq	_MT_TX_HW_QUEUE_BMC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rbx), %ecx
	movq	%r14, %rdi
	callq	_mt7603_init_tx_queue
	testl	%eax, %eax
	jne	LBB0_12
## %bb.8:
	movq	_MT_RXQ_MCU@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	shlq	$2, %rsi
	addq	8(%r14), %rsi
	movl	(%rbx), %ecx
	movq	_MT_RX_BUF_SIZE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r8d
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_mt7603_init_rx_queue
	testl	%eax, %eax
	jne	LBB0_12
## %bb.9:
	movq	_MT_RXQ_MAIN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	shlq	$2, %rsi
	addq	8(%r14), %rsi
	movq	_MT7603_RX_RING_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%rbx), %r8d
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_mt7603_init_rx_queue
	testl	%eax, %eax
	jne	LBB0_12
## %bb.10:
	movq	_MT_DELAY_INT_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_mt76_wr
	movq	%r14, %rdi
	callq	_mt76_init_queues
	testl	%eax, %eax
	jne	LBB0_12
## %bb.11:
	leaq	4(%r14), %rdi
	movq	_mt7603_poll_tx@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_NAPI_POLL_WEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rsi
	callq	_netif_tx_napi_add
	movq	%r14, %rdi
	callq	_napi_enable
	xorl	%eax, %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @mt7603_dma_init.wmm_queue_map
_mt7603_dma_init.wmm_queue_map:
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	3                               ## 0x3
	.long	2                               ## 0x2
	.long	0                               ## 0x0
	.long	1                               ## 0x1

	.comm	_MT_WPDMA_GLO_CFG,4,2           ## @MT_WPDMA_GLO_CFG
	.comm	_MT_WPDMA_GLO_CFG_TX_DMA_EN,4,2 ## @MT_WPDMA_GLO_CFG_TX_DMA_EN
	.comm	_MT_WPDMA_GLO_CFG_RX_DMA_EN,4,2 ## @MT_WPDMA_GLO_CFG_RX_DMA_EN
	.comm	_MT_WPDMA_GLO_CFG_DMA_BURST_SIZE,4,2 ## @MT_WPDMA_GLO_CFG_DMA_BURST_SIZE
	.comm	_MT_WPDMA_GLO_CFG_TX_WRITEBACK_DONE,4,2 ## @MT_WPDMA_GLO_CFG_TX_WRITEBACK_DONE
	.comm	_MT_WPDMA_RST_IDX,4,2           ## @MT_WPDMA_RST_IDX
	.comm	_MT_TX_RING_SIZE,4,2            ## @MT_TX_RING_SIZE
	.comm	_MT_TXQ_PSD,8,3                 ## @MT_TXQ_PSD
	.comm	_MT_TX_HW_QUEUE_MGMT,4,2        ## @MT_TX_HW_QUEUE_MGMT
	.comm	_MT_TXQ_MCU,8,3                 ## @MT_TXQ_MCU
	.comm	_MT_TX_HW_QUEUE_MCU,4,2         ## @MT_TX_HW_QUEUE_MCU
	.comm	_MT_MCU_RING_SIZE,4,2           ## @MT_MCU_RING_SIZE
	.comm	_MT_TXQ_BEACON,8,3              ## @MT_TXQ_BEACON
	.comm	_MT_TX_HW_QUEUE_BCN,4,2         ## @MT_TX_HW_QUEUE_BCN
	.comm	_MT_TXQ_CAB,8,3                 ## @MT_TXQ_CAB
	.comm	_MT_TX_HW_QUEUE_BMC,4,2         ## @MT_TX_HW_QUEUE_BMC
	.comm	_MT_RXQ_MCU,8,3                 ## @MT_RXQ_MCU
	.comm	_MT_RX_BUF_SIZE,4,2             ## @MT_RX_BUF_SIZE
	.comm	_MT_RXQ_MAIN,8,3                ## @MT_RXQ_MAIN
	.comm	_MT7603_RX_RING_SIZE,4,2        ## @MT7603_RX_RING_SIZE
	.comm	_MT_DELAY_INT_CFG,4,2           ## @MT_DELAY_INT_CFG
	.comm	_mt7603_poll_tx,4,2             ## @mt7603_poll_tx
	.comm	_NAPI_POLL_WEIGHT,4,2           ## @NAPI_POLL_WEIGHT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt7603_dma_init                ; -- Begin function mt7603_dma_init
	.p2align	2
_mt7603_dma_init:                       ; @mt7603_dma_init
	.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	x19, x0
	bl	_mt76_dma_attach
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_EN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MT_WPDMA_GLO_CFG_TX_DMA_EN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _MT_WPDMA_GLO_CFG_RX_DMA_EN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MT_WPDMA_GLO_CFG_RX_DMA_EN@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _MT_WPDMA_GLO_CFG_DMA_BURST_SIZE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MT_WPDMA_GLO_CFG_DMA_BURST_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _MT_WPDMA_GLO_CFG_TX_WRITEBACK_DONE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _MT_WPDMA_GLO_CFG_TX_WRITEBACK_DONE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_mt76_clear
Lloh15:
	adrp	x8, _MT_WPDMA_RST_IDX@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MT_WPDMA_RST_IDX@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-1
	bl	_mt76_wr
	mov	x0, x19
	bl	_mt7603_pse_client_reset
Lloh18:
	adrp	x20, _mt7603_dma_init.wmm_queue_map@PAGE
Lloh19:
	add	x20, x20, _mt7603_dma_init.wmm_queue_map@PAGEOFF
	mov	x0, x20
	bl	_ARRAY_SIZE
Lloh20:
	adrp	x21, _MT_TX_RING_SIZE@GOTPAGE
Lloh21:
	ldr	x21, [x21, _MT_TX_RING_SIZE@GOTPAGEOFF]
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x22, #0
	mov	x23, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	add	x1, x8, x22
	ldr	w2, [x20, x22]
	ldr	w3, [x21]
	mov	x0, x19
	bl	_mt7603_init_tx_queue
	cbnz	w0, LBB0_12
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x23, x23, #1
	mov	x0, x20
	bl	_ARRAY_SIZE
	add	x22, x22, #4
	cmp	x23, w0, sxtw
	b.lt	LBB0_2
LBB0_4:
	ldr	x8, [x19, #16]
Lloh22:
	adrp	x9, _MT_TXQ_PSD@GOTPAGE
Lloh23:
	ldr	x9, [x9, _MT_TXQ_PSD@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	add	x1, x8, x9, lsl #2
Lloh25:
	adrp	x8, _MT_TX_HW_QUEUE_MGMT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MT_TX_HW_QUEUE_MGMT@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
	ldr	w3, [x21]
	mov	x0, x19
	bl	_mt7603_init_tx_queue
	cbnz	w0, LBB0_12
; %bb.5:
	ldr	x8, [x19, #16]
Lloh28:
	adrp	x9, _MT_TXQ_MCU@GOTPAGE
Lloh29:
	ldr	x9, [x9, _MT_TXQ_MCU@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	add	x1, x8, x9, lsl #2
Lloh31:
	adrp	x8, _MT_TX_HW_QUEUE_MCU@GOTPAGE
Lloh32:
	ldr	x8, [x8, _MT_TX_HW_QUEUE_MCU@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x8]
Lloh34:
	adrp	x20, _MT_MCU_RING_SIZE@GOTPAGE
Lloh35:
	ldr	x20, [x20, _MT_MCU_RING_SIZE@GOTPAGEOFF]
	ldr	w3, [x20]
	mov	x0, x19
	bl	_mt7603_init_tx_queue
	cbnz	w0, LBB0_12
; %bb.6:
	ldr	x8, [x19, #16]
Lloh36:
	adrp	x9, _MT_TXQ_BEACON@GOTPAGE
Lloh37:
	ldr	x9, [x9, _MT_TXQ_BEACON@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	add	x1, x8, x9, lsl #2
Lloh39:
	adrp	x8, _MT_TX_HW_QUEUE_BCN@GOTPAGE
Lloh40:
	ldr	x8, [x8, _MT_TX_HW_QUEUE_BCN@GOTPAGEOFF]
Lloh41:
	ldr	w2, [x8]
	ldr	w3, [x20]
	mov	x0, x19
	bl	_mt7603_init_tx_queue
	cbnz	w0, LBB0_12
; %bb.7:
	ldr	x8, [x19, #16]
Lloh42:
	adrp	x9, _MT_TXQ_CAB@GOTPAGE
Lloh43:
	ldr	x9, [x9, _MT_TXQ_CAB@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x9]
	add	x1, x8, x9, lsl #2
Lloh45:
	adrp	x8, _MT_TX_HW_QUEUE_BMC@GOTPAGE
Lloh46:
	ldr	x8, [x8, _MT_TX_HW_QUEUE_BMC@GOTPAGEOFF]
Lloh47:
	ldr	w2, [x8]
	ldr	w3, [x20]
	mov	x0, x19
	bl	_mt7603_init_tx_queue
	cbnz	w0, LBB0_12
; %bb.8:
	ldr	x8, [x19, #8]
Lloh48:
	adrp	x9, _MT_RXQ_MCU@GOTPAGE
Lloh49:
	ldr	x9, [x9, _MT_RXQ_MCU@GOTPAGEOFF]
Lloh50:
	ldr	x9, [x9]
	add	x1, x8, x9, lsl #2
	ldr	w3, [x20]
Lloh51:
	adrp	x20, _MT_RX_BUF_SIZE@GOTPAGE
Lloh52:
	ldr	x20, [x20, _MT_RX_BUF_SIZE@GOTPAGEOFF]
	ldr	w4, [x20]
	mov	x0, x19
	mov	w2, #1
	bl	_mt7603_init_rx_queue
	cbnz	w0, LBB0_12
; %bb.9:
	ldr	x8, [x19, #8]
Lloh53:
	adrp	x9, _MT_RXQ_MAIN@GOTPAGE
Lloh54:
	ldr	x9, [x9, _MT_RXQ_MAIN@GOTPAGEOFF]
Lloh55:
	ldr	x9, [x9]
	add	x1, x8, x9, lsl #2
Lloh56:
	adrp	x8, _MT7603_RX_RING_SIZE@GOTPAGE
Lloh57:
	ldr	x8, [x8, _MT7603_RX_RING_SIZE@GOTPAGEOFF]
Lloh58:
	ldr	w3, [x8]
	ldr	w4, [x20]
	mov	x0, x19
	mov	w2, #0
	bl	_mt7603_init_rx_queue
	cbnz	w0, LBB0_12
; %bb.10:
Lloh59:
	adrp	x8, _MT_DELAY_INT_CFG@GOTPAGE
Lloh60:
	ldr	x8, [x8, _MT_DELAY_INT_CFG@GOTPAGEOFF]
Lloh61:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_mt76_wr
	mov	x0, x19
	bl	_mt76_init_queues
	cbnz	w0, LBB0_12
; %bb.11:
	add	x0, x19, #4
Lloh62:
	adrp	x8, _mt7603_poll_tx@GOTPAGE
Lloh63:
	ldr	x8, [x8, _mt7603_poll_tx@GOTPAGEOFF]
Lloh64:
	ldr	w2, [x8]
Lloh65:
	adrp	x8, _NAPI_POLL_WEIGHT@GOTPAGE
Lloh66:
	ldr	x8, [x8, _NAPI_POLL_WEIGHT@GOTPAGEOFF]
Lloh67:
	ldr	w3, [x8]
	mov	x1, x19
	bl	_netif_tx_napi_add
	mov	x0, x19
	bl	_napi_enable
	mov	w0, #0
LBB0_12:
	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
	ret
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @mt7603_dma_init.wmm_queue_map
_mt7603_dma_init.wmm_queue_map:
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	3                               ; 0x3
	.long	2                               ; 0x2
	.long	0                               ; 0x0
	.long	1                               ; 0x1

	.comm	_MT_WPDMA_GLO_CFG,4,2           ; @MT_WPDMA_GLO_CFG
	.comm	_MT_WPDMA_GLO_CFG_TX_DMA_EN,4,2 ; @MT_WPDMA_GLO_CFG_TX_DMA_EN
	.comm	_MT_WPDMA_GLO_CFG_RX_DMA_EN,4,2 ; @MT_WPDMA_GLO_CFG_RX_DMA_EN
	.comm	_MT_WPDMA_GLO_CFG_DMA_BURST_SIZE,4,2 ; @MT_WPDMA_GLO_CFG_DMA_BURST_SIZE
	.comm	_MT_WPDMA_GLO_CFG_TX_WRITEBACK_DONE,4,2 ; @MT_WPDMA_GLO_CFG_TX_WRITEBACK_DONE
	.comm	_MT_WPDMA_RST_IDX,4,2           ; @MT_WPDMA_RST_IDX
	.comm	_MT_TX_RING_SIZE,4,2            ; @MT_TX_RING_SIZE
	.comm	_MT_TXQ_PSD,8,3                 ; @MT_TXQ_PSD
	.comm	_MT_TX_HW_QUEUE_MGMT,4,2        ; @MT_TX_HW_QUEUE_MGMT
	.comm	_MT_TXQ_MCU,8,3                 ; @MT_TXQ_MCU
	.comm	_MT_TX_HW_QUEUE_MCU,4,2         ; @MT_TX_HW_QUEUE_MCU
	.comm	_MT_MCU_RING_SIZE,4,2           ; @MT_MCU_RING_SIZE
	.comm	_MT_TXQ_BEACON,8,3              ; @MT_TXQ_BEACON
	.comm	_MT_TX_HW_QUEUE_BCN,4,2         ; @MT_TX_HW_QUEUE_BCN
	.comm	_MT_TXQ_CAB,8,3                 ; @MT_TXQ_CAB
	.comm	_MT_TX_HW_QUEUE_BMC,4,2         ; @MT_TX_HW_QUEUE_BMC
	.comm	_MT_RXQ_MCU,8,3                 ; @MT_RXQ_MCU
	.comm	_MT_RX_BUF_SIZE,4,2             ; @MT_RX_BUF_SIZE
	.comm	_MT_RXQ_MAIN,8,3                ; @MT_RXQ_MAIN
	.comm	_MT7603_RX_RING_SIZE,4,2        ; @MT7603_RX_RING_SIZE
	.comm	_MT_DELAY_INT_CFG,4,2           ; @MT_DELAY_INT_CFG
	.comm	_mt7603_poll_tx,4,2             ; @mt7603_poll_tx
	.comm	_NAPI_POLL_WEIGHT,4,2           ; @NAPI_POLL_WEIGHT
.subsections_via_symbols
