	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt76x02_mac_start              ## -- Begin function mt76x02_mac_start
	.p2align	4, 0x90
_mt76x02_mac_start:                     ## @mt76x02_mac_start
	.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	_mt76x02_dma_enable
	movq	_MT_RX_FILTR_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movq	%rbx, %rdi
	callq	_mt76_wr
	movq	_MT_MAC_SYS_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MT_MAC_SYS_CTRL_ENABLE_TX@GOTPCREL(%rip), %rax
	movq	_MT_MAC_SYS_CTRL_ENABLE_RX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_mt76_wr
	movq	_MT_INT_RX_DONE_ALL@GOTPCREL(%rip), %rax
	movq	_MT_INT_TX_DONE_ALL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_MT_INT_TX_STAT@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mt76x02_irq_enable             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MT_RX_FILTR_CFG,4,2            ## @MT_RX_FILTR_CFG
	.comm	_MT_MAC_SYS_CTRL,4,2            ## @MT_MAC_SYS_CTRL
	.comm	_MT_MAC_SYS_CTRL_ENABLE_TX,4,2  ## @MT_MAC_SYS_CTRL_ENABLE_TX
	.comm	_MT_MAC_SYS_CTRL_ENABLE_RX,4,2  ## @MT_MAC_SYS_CTRL_ENABLE_RX
	.comm	_MT_INT_RX_DONE_ALL,4,2         ## @MT_INT_RX_DONE_ALL
	.comm	_MT_INT_TX_DONE_ALL,4,2         ## @MT_INT_TX_DONE_ALL
	.comm	_MT_INT_TX_STAT,4,2             ## @MT_INT_TX_STAT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt76x02_mac_start              ; -- Begin function mt76x02_mac_start
	.p2align	2
_mt76x02_mac_start:                     ; @mt76x02_mac_start
	.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	_mt76x02_dma_enable
Lloh0:
	adrp	x8, _MT_RX_FILTR_CFG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MT_RX_FILTR_CFG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x19]
	mov	x0, x19
	bl	_mt76_wr
Lloh3:
	adrp	x8, _MT_MAC_SYS_CTRL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MT_MAC_SYS_CTRL@GOTPAGEOFF]
Lloh5:
	adrp	x9, _MT_MAC_SYS_CTRL_ENABLE_TX@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MT_MAC_SYS_CTRL_ENABLE_TX@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	ldr	w8, [x9]
Lloh9:
	adrp	x9, _MT_MAC_SYS_CTRL_ENABLE_RX@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MT_MAC_SYS_CTRL_ENABLE_RX@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_mt76_wr
Lloh12:
	adrp	x8, _MT_INT_RX_DONE_ALL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MT_INT_RX_DONE_ALL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _MT_INT_TX_DONE_ALL@GOTPAGE
Lloh16:
	ldr	x9, [x9, _MT_INT_TX_DONE_ALL@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh18:
	adrp	x9, _MT_INT_TX_STAT@GOTPAGE
Lloh19:
	ldr	x9, [x9, _MT_INT_TX_STAT@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w1, w8, w9
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mt76x02_irq_enable
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MT_RX_FILTR_CFG,4,2            ; @MT_RX_FILTR_CFG
	.comm	_MT_MAC_SYS_CTRL,4,2            ; @MT_MAC_SYS_CTRL
	.comm	_MT_MAC_SYS_CTRL_ENABLE_TX,4,2  ; @MT_MAC_SYS_CTRL_ENABLE_TX
	.comm	_MT_MAC_SYS_CTRL_ENABLE_RX,4,2  ; @MT_MAC_SYS_CTRL_ENABLE_RX
	.comm	_MT_INT_RX_DONE_ALL,4,2         ; @MT_INT_RX_DONE_ALL
	.comm	_MT_INT_TX_DONE_ALL,4,2         ; @MT_INT_TX_DONE_ALL
	.comm	_MT_INT_TX_STAT,4,2             ; @MT_INT_TX_STAT
.subsections_via_symbols
