	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt7615_mac_init
_mt7615_mac_init:                       ## @mt7615_mac_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, %r15
	movq	_MT_CFG_CCR_MAC_D0_1X_GC_EN@GOTPCREL(%rip), %rax
	movq	_MT_CFG_CCR_MAC_D0_2X_GC_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_MT_CFG_CCR@GOTPCREL(%rip), %rax
	movq	_MT_CFG_CCR_MAC_D1_1X_GC_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_MT_CFG_CCR_MAC_D1_2X_GC_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	callq	_mt76_set
	movq	_MT_TMAC_TRCR0@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_MT_TMAC_TRCR_CCA_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MT_TMAC_TRCR_SEC_CCA_SEL@GOTPCREL(%rip), %r13
	movl	(%r13), %r12d
	orl	%edi, %r12d
	movl	$2, %esi
	callq	_FIELD_PREP
	movl	%eax, %ebx
	movl	(%r13), %edi
	xorl	%esi, %esi
	callq	_FIELD_PREP
	orl	%eax, %ebx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%r12d, %edx
	movl	%ebx, %ecx
	callq	_mt76_rmw
	movq	_MT_TMAC_TRCR1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_mt76_wr
	movq	_MT_AGG_ACR_PKT_TIME_EN@GOTPCREL(%rip), %rax
	movq	_MT_AGG_ACR_NO_BA_AR_RULE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	_MT_AGG_ACR_CFEND_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$73, %esi
	callq	_FIELD_PREP
	orl	%eax, %ebx
	movq	_MT_AGG_ACR_BAR_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$75, %esi
	callq	_FIELD_PREP
	orl	%eax, %ebx
	movq	_MT_AGG_ACR0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_mt76_wr
	movq	_MT_AGG_ACR1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_mt76_wr
	movq	_MT_TMAC_CTCR0@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_MT_TMAC_CTCR0_INS_DDLMT_REFTIME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$63, %ecx
	callq	_mt76_rmw_field
	movl	(%rbx), %esi
	movq	_MT_TMAC_CTCR0_INS_DDLMT_DENSITY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$3, %ecx
	callq	_mt76_rmw_field
	movl	(%rbx), %esi
	movq	_MT_TMAC_CTCR0_INS_DDLMT_VHT_SMPDU_EN@GOTPCREL(%rip), %rax
	movq	_MT_TMAC_CTCR0_INS_DDLMT_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	%r15, %rdi
	movl	%ecx, %edx
	callq	_mt76_rmw
	movq	%r15, %rdi
	movl	$2347, %esi                     ## imm = 0x92B
	callq	_mt7615_mcu_set_rts_thresh
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_mt7615_mac_set_scs
	movq	_MT_AGG_SCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MT_AGG_SCR_NLNAV_MID_PTEC_DIS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movl	%ecx, %edx
	callq	_mt76_rmw
	movq	%r15, %rdi
	callq	_mt7615_mcu_init_mac
	movq	_MT_DMA_DCR0@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_MT_DMA_DCR0_RX_VEC_DROP@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_MT_DMA_DCR0_MAX_RX_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$3072, %esi                     ## imm = 0xC00
	callq	_FIELD_PREP
	orl	%eax, %ebx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_mt76_wr
	movq	_MT_AGG_ARUCR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%edi, %edi
	callq	_MT_AGG_ARxCR_LIMIT
	movl	%eax, %edi
	movl	$7, %esi
	callq	_FIELD_PREP
	movl	%eax, %ebx
	movl	$1, %edi
	callq	_MT_AGG_ARxCR_LIMIT
	movl	%eax, %edi
	movl	$2, %esi
	callq	_FIELD_PREP
	orl	%eax, %ebx
	movl	$2, %edi
	callq	_MT_AGG_ARxCR_LIMIT
	movl	%eax, %edi
	movl	$2, %esi
	callq	_FIELD_PREP
	movl	%eax, %r12d
	movl	$3, %edi
	callq	_MT_AGG_ARxCR_LIMIT
	movl	%eax, %edi
	movl	$2, %esi
	callq	_FIELD_PREP
	orl	%eax, %r12d
	orl	%ebx, %r12d
	movl	$4, %edi
	callq	_MT_AGG_ARxCR_LIMIT
	movl	%eax, %edi
	movl	$1, %esi
	callq	_FIELD_PREP
	movl	%eax, %ebx
	movl	$5, %edi
	callq	_MT_AGG_ARxCR_LIMIT
	movl	%eax, %edi
	movl	$1, %esi
	callq	_FIELD_PREP
	orl	%eax, %ebx
	movl	$6, %edi
	callq	_MT_AGG_ARxCR_LIMIT
	movl	%eax, %edi
	movl	$1, %esi
	callq	_FIELD_PREP
	orl	%eax, %ebx
	orl	%r12d, %ebx
	movl	$7, %edi
	callq	_MT_AGG_ARxCR_LIMIT
	movl	%eax, %edi
	movl	$1, %esi
	callq	_FIELD_PREP
	orl	%eax, %ebx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_mt76_wr
	movq	_MT_AGG_ARDCR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%edi, %edi
	callq	_MT_AGG_ARxCR_LIMIT
	movq	_MT7615_RATE_RETRY@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	decl	%esi
	movl	%eax, %edi
	callq	_FIELD_PREP
	movl	%eax, %ebx
	movl	$1, %edi
	callq	_MT_AGG_ARxCR_LIMIT
	movl	(%r13), %esi
	decl	%esi
	movl	%eax, %edi
	callq	_FIELD_PREP
	orl	%eax, %ebx
	movl	$2, %edi
	callq	_MT_AGG_ARxCR_LIMIT
	movl	(%r13), %esi
	decl	%esi
	movl	%eax, %edi
	callq	_FIELD_PREP
	movl	%eax, %r12d
	movl	$3, %edi
	callq	_MT_AGG_ARxCR_LIMIT
	movl	(%r13), %esi
	decl	%esi
	movl	%eax, %edi
	callq	_FIELD_PREP
	orl	%eax, %r12d
	orl	%ebx, %r12d
	movl	$4, %edi
	callq	_MT_AGG_ARxCR_LIMIT
	movl	(%r13), %esi
	decl	%esi
	movl	%eax, %edi
	callq	_FIELD_PREP
	movl	%eax, %ebx
	movl	$5, %edi
	callq	_MT_AGG_ARxCR_LIMIT
	movl	(%r13), %esi
	decl	%esi
	movl	%eax, %edi
	callq	_FIELD_PREP
	orl	%eax, %ebx
	movl	$6, %edi
	callq	_MT_AGG_ARxCR_LIMIT
	movl	(%r13), %esi
	decl	%esi
	movl	%eax, %edi
	callq	_FIELD_PREP
	orl	%eax, %ebx
	orl	%r12d, %ebx
	movl	$7, %edi
	callq	_MT_AGG_ARxCR_LIMIT
	movl	(%r13), %esi
	decl	%esi
	movl	%eax, %edi
	callq	_FIELD_PREP
	orl	%eax, %ebx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_mt76_wr
	movq	_MT_AGG_ARCR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_MT_AGG_ARCR_RTS_RATE_THR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$2, %esi
	callq	_FIELD_PREP
	movl	%eax, %r12d
	movq	_MT_AGG_ARCR_RATE_DOWN_RATIO_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movq	_MT_AGG_ARCR_RATE_DOWN_RATIO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_FIELD_PREP
	movl	%eax, %ebx
	movq	_MT_AGG_ARCR_RATE_UP_EXTRA_TH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$4, %esi
	callq	_FIELD_PREP
	orl	%eax, %ebx
	orl	%r12d, %ebx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mt76_wr                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MT_CFG_CCR,4,2                 ## @MT_CFG_CCR
	.comm	_MT_CFG_CCR_MAC_D0_1X_GC_EN,4,2 ## @MT_CFG_CCR_MAC_D0_1X_GC_EN
	.comm	_MT_CFG_CCR_MAC_D0_2X_GC_EN,4,2 ## @MT_CFG_CCR_MAC_D0_2X_GC_EN
	.comm	_MT_CFG_CCR_MAC_D1_1X_GC_EN,4,2 ## @MT_CFG_CCR_MAC_D1_1X_GC_EN
	.comm	_MT_CFG_CCR_MAC_D1_2X_GC_EN,4,2 ## @MT_CFG_CCR_MAC_D1_2X_GC_EN
	.comm	_MT_TMAC_TRCR0,4,2              ## @MT_TMAC_TRCR0
	.comm	_MT_TMAC_TRCR_CCA_SEL,4,2       ## @MT_TMAC_TRCR_CCA_SEL
	.comm	_MT_TMAC_TRCR_SEC_CCA_SEL,4,2   ## @MT_TMAC_TRCR_SEC_CCA_SEL
	.comm	_MT_TMAC_TRCR1,4,2              ## @MT_TMAC_TRCR1
	.comm	_MT_AGG_ACR_PKT_TIME_EN,4,2     ## @MT_AGG_ACR_PKT_TIME_EN
	.comm	_MT_AGG_ACR_NO_BA_AR_RULE,4,2   ## @MT_AGG_ACR_NO_BA_AR_RULE
	.comm	_MT_AGG_ACR_CFEND_RATE,4,2      ## @MT_AGG_ACR_CFEND_RATE
	.comm	_MT_AGG_ACR_BAR_RATE,4,2        ## @MT_AGG_ACR_BAR_RATE
	.comm	_MT_AGG_ACR0,4,2                ## @MT_AGG_ACR0
	.comm	_MT_AGG_ACR1,4,2                ## @MT_AGG_ACR1
	.comm	_MT_TMAC_CTCR0,4,2              ## @MT_TMAC_CTCR0
	.comm	_MT_TMAC_CTCR0_INS_DDLMT_REFTIME,4,2 ## @MT_TMAC_CTCR0_INS_DDLMT_REFTIME
	.comm	_MT_TMAC_CTCR0_INS_DDLMT_DENSITY,4,2 ## @MT_TMAC_CTCR0_INS_DDLMT_DENSITY
	.comm	_MT_TMAC_CTCR0_INS_DDLMT_VHT_SMPDU_EN,4,2 ## @MT_TMAC_CTCR0_INS_DDLMT_VHT_SMPDU_EN
	.comm	_MT_TMAC_CTCR0_INS_DDLMT_EN,4,2 ## @MT_TMAC_CTCR0_INS_DDLMT_EN
	.comm	_MT_AGG_SCR,4,2                 ## @MT_AGG_SCR
	.comm	_MT_AGG_SCR_NLNAV_MID_PTEC_DIS,4,2 ## @MT_AGG_SCR_NLNAV_MID_PTEC_DIS
	.comm	_MT_DMA_DCR0,4,2                ## @MT_DMA_DCR0
	.comm	_MT_DMA_DCR0_RX_VEC_DROP,4,2    ## @MT_DMA_DCR0_RX_VEC_DROP
	.comm	_MT_DMA_DCR0_MAX_RX_LEN,4,2     ## @MT_DMA_DCR0_MAX_RX_LEN
	.comm	_MT_AGG_ARUCR,4,2               ## @MT_AGG_ARUCR
	.comm	_MT_AGG_ARDCR,4,2               ## @MT_AGG_ARDCR
	.comm	_MT7615_RATE_RETRY,4,2          ## @MT7615_RATE_RETRY
	.comm	_MT_AGG_ARCR,4,2                ## @MT_AGG_ARCR
	.comm	_MT_AGG_ARCR_RTS_RATE_THR,4,2   ## @MT_AGG_ARCR_RTS_RATE_THR
	.comm	_MT_AGG_ARCR_RATE_DOWN_RATIO_EN,4,2 ## @MT_AGG_ARCR_RATE_DOWN_RATIO_EN
	.comm	_MT_AGG_ARCR_RATE_DOWN_RATIO,4,2 ## @MT_AGG_ARCR_RATE_DOWN_RATIO
	.comm	_MT_AGG_ARCR_RATE_UP_EXTRA_TH,4,2 ## @MT_AGG_ARCR_RATE_UP_EXTRA_TH
	.no_dead_strip	_mt7615_mac_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt7615_mac_init
_mt7615_mac_init:                       ; @mt7615_mac_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
Lloh0:
	adrp	x8, _MT_CFG_CCR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MT_CFG_CCR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _MT_CFG_CCR_MAC_D0_1X_GC_EN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MT_CFG_CCR_MAC_D0_1X_GC_EN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _MT_CFG_CCR_MAC_D0_2X_GC_EN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MT_CFG_CCR_MAC_D0_2X_GC_EN@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _MT_CFG_CCR_MAC_D1_1X_GC_EN@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MT_CFG_CCR_MAC_D1_1X_GC_EN@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _MT_CFG_CCR_MAC_D1_2X_GC_EN@GOTPAGE
Lloh13:
	ldr	x9, [x9, _MT_CFG_CCR_MAC_D1_2X_GC_EN@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w2, w8, w9
	bl	_mt76_set
Lloh15:
	adrp	x8, _MT_TMAC_TRCR0@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MT_TMAC_TRCR0@GOTPAGEOFF]
Lloh17:
	adrp	x9, _MT_TMAC_TRCR_CCA_SEL@GOTPAGE
Lloh18:
	ldr	x9, [x9, _MT_TMAC_TRCR_CCA_SEL@GOTPAGEOFF]
Lloh19:
	ldr	w20, [x8]
Lloh20:
	ldr	w0, [x9]
Lloh21:
	adrp	x23, _MT_TMAC_TRCR_SEC_CCA_SEL@GOTPAGE
Lloh22:
	ldr	x23, [x23, _MT_TMAC_TRCR_SEC_CCA_SEL@GOTPAGEOFF]
	ldr	w8, [x23]
	orr	w21, w8, w0
	mov	w1, #2
	bl	_FIELD_PREP
	mov	x22, x0
	ldr	w0, [x23]
	mov	w1, #0
	bl	_FIELD_PREP
	orr	w3, w0, w22
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_mt76_rmw
	mov	x2, x0
Lloh23:
	adrp	x8, _MT_TMAC_TRCR1@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MT_TMAC_TRCR1@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_mt76_wr
Lloh26:
	adrp	x8, _MT_AGG_ACR_PKT_TIME_EN@GOTPAGE
Lloh27:
	ldr	x8, [x8, _MT_AGG_ACR_PKT_TIME_EN@GOTPAGEOFF]
Lloh28:
	adrp	x9, _MT_AGG_ACR_NO_BA_AR_RULE@GOTPAGE
Lloh29:
	ldr	x9, [x9, _MT_AGG_ACR_NO_BA_AR_RULE@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
Lloh31:
	ldr	w9, [x9]
	orr	w20, w9, w8
Lloh32:
	adrp	x8, _MT_AGG_ACR_CFEND_RATE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _MT_AGG_ACR_CFEND_RATE@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	mov	w1, #73
	bl	_FIELD_PREP
	orr	w20, w20, w0
Lloh35:
	adrp	x8, _MT_AGG_ACR_BAR_RATE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _MT_AGG_ACR_BAR_RATE@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	mov	w1, #75
	bl	_FIELD_PREP
	orr	w20, w20, w0
Lloh38:
	adrp	x8, _MT_AGG_ACR0@GOTPAGE
Lloh39:
	ldr	x8, [x8, _MT_AGG_ACR0@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_mt76_wr
Lloh41:
	adrp	x8, _MT_AGG_ACR1@GOTPAGE
Lloh42:
	ldr	x8, [x8, _MT_AGG_ACR1@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_mt76_wr
Lloh44:
	adrp	x20, _MT_TMAC_CTCR0@GOTPAGE
Lloh45:
	ldr	x20, [x20, _MT_TMAC_CTCR0@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh46:
	adrp	x8, _MT_TMAC_CTCR0_INS_DDLMT_REFTIME@GOTPAGE
Lloh47:
	ldr	x8, [x8, _MT_TMAC_CTCR0_INS_DDLMT_REFTIME@GOTPAGEOFF]
Lloh48:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #63
	bl	_mt76_rmw_field
	ldr	w1, [x20]
Lloh49:
	adrp	x8, _MT_TMAC_CTCR0_INS_DDLMT_DENSITY@GOTPAGE
Lloh50:
	ldr	x8, [x8, _MT_TMAC_CTCR0_INS_DDLMT_DENSITY@GOTPAGEOFF]
Lloh51:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #3
	bl	_mt76_rmw_field
Lloh52:
	adrp	x8, _MT_TMAC_CTCR0_INS_DDLMT_VHT_SMPDU_EN@GOTPAGE
Lloh53:
	ldr	x8, [x8, _MT_TMAC_CTCR0_INS_DDLMT_VHT_SMPDU_EN@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh54:
	ldr	w8, [x8]
Lloh55:
	adrp	x9, _MT_TMAC_CTCR0_INS_DDLMT_EN@GOTPAGE
Lloh56:
	ldr	x9, [x9, _MT_TMAC_CTCR0_INS_DDLMT_EN@GOTPAGEOFF]
Lloh57:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	mov	x3, x2
	bl	_mt76_rmw
	mov	x0, x19
	mov	w1, #2347
	bl	_mt7615_mcu_set_rts_thresh
	mov	x0, x19
	mov	w1, #0
	bl	_mt7615_mac_set_scs
Lloh58:
	adrp	x8, _MT_AGG_SCR@GOTPAGE
Lloh59:
	ldr	x8, [x8, _MT_AGG_SCR@GOTPAGEOFF]
Lloh60:
	ldr	w1, [x8]
Lloh61:
	adrp	x8, _MT_AGG_SCR_NLNAV_MID_PTEC_DIS@GOTPAGE
Lloh62:
	ldr	x8, [x8, _MT_AGG_SCR_NLNAV_MID_PTEC_DIS@GOTPAGEOFF]
Lloh63:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x2
	bl	_mt76_rmw
	mov	x0, x19
	bl	_mt7615_mcu_init_mac
Lloh64:
	adrp	x8, _MT_DMA_DCR0@GOTPAGE
Lloh65:
	ldr	x8, [x8, _MT_DMA_DCR0@GOTPAGEOFF]
Lloh66:
	ldr	w20, [x8]
Lloh67:
	adrp	x8, _MT_DMA_DCR0_RX_VEC_DROP@GOTPAGE
Lloh68:
	ldr	x8, [x8, _MT_DMA_DCR0_RX_VEC_DROP@GOTPAGEOFF]
Lloh69:
	ldr	w21, [x8]
Lloh70:
	adrp	x8, _MT_DMA_DCR0_MAX_RX_LEN@GOTPAGE
Lloh71:
	ldr	x8, [x8, _MT_DMA_DCR0_MAX_RX_LEN@GOTPAGEOFF]
Lloh72:
	ldr	w0, [x8]
	mov	w1, #3072
	bl	_FIELD_PREP
	orr	w2, w0, w21
	mov	x0, x19
	mov	x1, x20
	bl	_mt76_wr
Lloh73:
	adrp	x8, _MT_AGG_ARUCR@GOTPAGE
Lloh74:
	ldr	x8, [x8, _MT_AGG_ARUCR@GOTPAGEOFF]
Lloh75:
	ldr	w20, [x8]
	mov	w0, #0
	bl	_MT_AGG_ARxCR_LIMIT
	mov	w1, #7
	bl	_FIELD_PREP
	mov	x21, x0
	mov	w0, #1
	bl	_MT_AGG_ARxCR_LIMIT
	mov	w1, #2
	bl	_FIELD_PREP
	orr	w21, w0, w21
	mov	w0, #2
	bl	_MT_AGG_ARxCR_LIMIT
	mov	w1, #2
	bl	_FIELD_PREP
	orr	w21, w21, w0
	mov	w0, #3
	bl	_MT_AGG_ARxCR_LIMIT
	mov	w1, #2
	bl	_FIELD_PREP
	orr	w21, w21, w0
	mov	w0, #4
	bl	_MT_AGG_ARxCR_LIMIT
	mov	w1, #1
	bl	_FIELD_PREP
	orr	w21, w21, w0
	mov	w0, #5
	bl	_MT_AGG_ARxCR_LIMIT
	mov	w1, #1
	bl	_FIELD_PREP
	orr	w21, w21, w0
	mov	w0, #6
	bl	_MT_AGG_ARxCR_LIMIT
	mov	w1, #1
	bl	_FIELD_PREP
	orr	w21, w21, w0
	mov	w0, #7
	bl	_MT_AGG_ARxCR_LIMIT
	mov	w1, #1
	bl	_FIELD_PREP
	orr	w2, w21, w0
	mov	x0, x19
	mov	x1, x20
	bl	_mt76_wr
Lloh76:
	adrp	x8, _MT_AGG_ARDCR@GOTPAGE
Lloh77:
	ldr	x8, [x8, _MT_AGG_ARDCR@GOTPAGEOFF]
Lloh78:
	ldr	w20, [x8]
	mov	w0, #0
	bl	_MT_AGG_ARxCR_LIMIT
Lloh79:
	adrp	x22, _MT7615_RATE_RETRY@GOTPAGE
Lloh80:
	ldr	x22, [x22, _MT7615_RATE_RETRY@GOTPAGEOFF]
	ldr	w8, [x22]
	sub	w1, w8, #1
	bl	_FIELD_PREP
	mov	x21, x0
	mov	w0, #1
	bl	_MT_AGG_ARxCR_LIMIT
	ldr	w8, [x22]
	sub	w1, w8, #1
	bl	_FIELD_PREP
	orr	w21, w0, w21
	mov	w0, #2
	bl	_MT_AGG_ARxCR_LIMIT
	ldr	w8, [x22]
	sub	w1, w8, #1
	bl	_FIELD_PREP
	orr	w21, w21, w0
	mov	w0, #3
	bl	_MT_AGG_ARxCR_LIMIT
	ldr	w8, [x22]
	sub	w1, w8, #1
	bl	_FIELD_PREP
	orr	w21, w21, w0
	mov	w0, #4
	bl	_MT_AGG_ARxCR_LIMIT
	ldr	w8, [x22]
	sub	w1, w8, #1
	bl	_FIELD_PREP
	orr	w21, w21, w0
	mov	w0, #5
	bl	_MT_AGG_ARxCR_LIMIT
	ldr	w8, [x22]
	sub	w1, w8, #1
	bl	_FIELD_PREP
	orr	w21, w21, w0
	mov	w0, #6
	bl	_MT_AGG_ARxCR_LIMIT
	ldr	w8, [x22]
	sub	w1, w8, #1
	bl	_FIELD_PREP
	orr	w21, w21, w0
	mov	w0, #7
	bl	_MT_AGG_ARxCR_LIMIT
	ldr	w8, [x22]
	sub	w1, w8, #1
	bl	_FIELD_PREP
	orr	w2, w21, w0
	mov	x0, x19
	mov	x1, x20
	bl	_mt76_wr
Lloh81:
	adrp	x8, _MT_AGG_ARCR@GOTPAGE
Lloh82:
	ldr	x8, [x8, _MT_AGG_ARCR@GOTPAGEOFF]
Lloh83:
	ldr	w20, [x8]
Lloh84:
	adrp	x8, _MT_AGG_ARCR_RTS_RATE_THR@GOTPAGE
Lloh85:
	ldr	x8, [x8, _MT_AGG_ARCR_RTS_RATE_THR@GOTPAGEOFF]
Lloh86:
	ldr	w0, [x8]
	mov	w1, #2
	bl	_FIELD_PREP
Lloh87:
	adrp	x8, _MT_AGG_ARCR_RATE_DOWN_RATIO_EN@GOTPAGE
Lloh88:
	ldr	x8, [x8, _MT_AGG_ARCR_RATE_DOWN_RATIO_EN@GOTPAGEOFF]
Lloh89:
	ldr	w8, [x8]
	orr	w21, w8, w0
Lloh90:
	adrp	x8, _MT_AGG_ARCR_RATE_DOWN_RATIO@GOTPAGE
Lloh91:
	ldr	x8, [x8, _MT_AGG_ARCR_RATE_DOWN_RATIO@GOTPAGEOFF]
Lloh92:
	ldr	w0, [x8]
	mov	w1, #1
	bl	_FIELD_PREP
	orr	w21, w21, w0
Lloh93:
	adrp	x8, _MT_AGG_ARCR_RATE_UP_EXTRA_TH@GOTPAGE
Lloh94:
	ldr	x8, [x8, _MT_AGG_ARCR_RATE_UP_EXTRA_TH@GOTPAGEOFF]
Lloh95:
	ldr	w0, [x8]
	mov	w1, #4
	bl	_FIELD_PREP
	orr	w2, w21, w0
	mov	x0, x19
	mov	x1, x20
	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
	b	_mt76_wr
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGot	Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh30
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh19
	.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
	.cfi_endproc
                                        ; -- End function
	.comm	_MT_CFG_CCR,4,2                 ; @MT_CFG_CCR
	.comm	_MT_CFG_CCR_MAC_D0_1X_GC_EN,4,2 ; @MT_CFG_CCR_MAC_D0_1X_GC_EN
	.comm	_MT_CFG_CCR_MAC_D0_2X_GC_EN,4,2 ; @MT_CFG_CCR_MAC_D0_2X_GC_EN
	.comm	_MT_CFG_CCR_MAC_D1_1X_GC_EN,4,2 ; @MT_CFG_CCR_MAC_D1_1X_GC_EN
	.comm	_MT_CFG_CCR_MAC_D1_2X_GC_EN,4,2 ; @MT_CFG_CCR_MAC_D1_2X_GC_EN
	.comm	_MT_TMAC_TRCR0,4,2              ; @MT_TMAC_TRCR0
	.comm	_MT_TMAC_TRCR_CCA_SEL,4,2       ; @MT_TMAC_TRCR_CCA_SEL
	.comm	_MT_TMAC_TRCR_SEC_CCA_SEL,4,2   ; @MT_TMAC_TRCR_SEC_CCA_SEL
	.comm	_MT_TMAC_TRCR1,4,2              ; @MT_TMAC_TRCR1
	.comm	_MT_AGG_ACR_PKT_TIME_EN,4,2     ; @MT_AGG_ACR_PKT_TIME_EN
	.comm	_MT_AGG_ACR_NO_BA_AR_RULE,4,2   ; @MT_AGG_ACR_NO_BA_AR_RULE
	.comm	_MT_AGG_ACR_CFEND_RATE,4,2      ; @MT_AGG_ACR_CFEND_RATE
	.comm	_MT_AGG_ACR_BAR_RATE,4,2        ; @MT_AGG_ACR_BAR_RATE
	.comm	_MT_AGG_ACR0,4,2                ; @MT_AGG_ACR0
	.comm	_MT_AGG_ACR1,4,2                ; @MT_AGG_ACR1
	.comm	_MT_TMAC_CTCR0,4,2              ; @MT_TMAC_CTCR0
	.comm	_MT_TMAC_CTCR0_INS_DDLMT_REFTIME,4,2 ; @MT_TMAC_CTCR0_INS_DDLMT_REFTIME
	.comm	_MT_TMAC_CTCR0_INS_DDLMT_DENSITY,4,2 ; @MT_TMAC_CTCR0_INS_DDLMT_DENSITY
	.comm	_MT_TMAC_CTCR0_INS_DDLMT_VHT_SMPDU_EN,4,2 ; @MT_TMAC_CTCR0_INS_DDLMT_VHT_SMPDU_EN
	.comm	_MT_TMAC_CTCR0_INS_DDLMT_EN,4,2 ; @MT_TMAC_CTCR0_INS_DDLMT_EN
	.comm	_MT_AGG_SCR,4,2                 ; @MT_AGG_SCR
	.comm	_MT_AGG_SCR_NLNAV_MID_PTEC_DIS,4,2 ; @MT_AGG_SCR_NLNAV_MID_PTEC_DIS
	.comm	_MT_DMA_DCR0,4,2                ; @MT_DMA_DCR0
	.comm	_MT_DMA_DCR0_RX_VEC_DROP,4,2    ; @MT_DMA_DCR0_RX_VEC_DROP
	.comm	_MT_DMA_DCR0_MAX_RX_LEN,4,2     ; @MT_DMA_DCR0_MAX_RX_LEN
	.comm	_MT_AGG_ARUCR,4,2               ; @MT_AGG_ARUCR
	.comm	_MT_AGG_ARDCR,4,2               ; @MT_AGG_ARDCR
	.comm	_MT7615_RATE_RETRY,4,2          ; @MT7615_RATE_RETRY
	.comm	_MT_AGG_ARCR,4,2                ; @MT_AGG_ARCR
	.comm	_MT_AGG_ARCR_RTS_RATE_THR,4,2   ; @MT_AGG_ARCR_RTS_RATE_THR
	.comm	_MT_AGG_ARCR_RATE_DOWN_RATIO_EN,4,2 ; @MT_AGG_ARCR_RATE_DOWN_RATIO_EN
	.comm	_MT_AGG_ARCR_RATE_DOWN_RATIO,4,2 ; @MT_AGG_ARCR_RATE_DOWN_RATIO
	.comm	_MT_AGG_ARCR_RATE_UP_EXTRA_TH,4,2 ; @MT_AGG_ARCR_RATE_UP_EXTRA_TH
	.no_dead_strip	_mt7615_mac_init
.subsections_via_symbols
