	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mtk_packet_engine_setup
_mtk_packet_engine_setup:               ## @mtk_packet_engine_setup
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_HIA_VERSION@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r14), %rdi
	callq	_readl
	movq	%rax, %rbx
	movq	%rax, -56(%rbp)
	movq	_HIA_OPTIONS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r14), %rdi
	callq	_readl
	movq	%rax, -40(%rbp)
	movq	_EIP97_OPTIONS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r14), %rdi
	callq	_readl
	movq	%rax, -48(%rbp)
	movq	_MTK_HIA_SIGNATURE@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	_EIP97_MST_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	_HIA_MST_CTRL@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	addq	(%r14), %rdi
	callq	_readl
	movq	_MTK_BURST_SIZE_MSK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movl	$5, %edi
	callq	_MTK_BURST_SIZE
	orl	%eax, %ebx
	movq	(%r15), %rsi
	addq	(%r14), %rsi
	movl	%ebx, %edi
	callq	_writel
	movq	%r14, %rdi
	callq	_mtk_dfe_dse_reset
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %ebx
	movl	8(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_8
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_8
LBB0_4:
	leaq	-56(%rbp), %rsi
	movq	%r14, %rdi
	callq	_mtk_dfe_dse_buf_setup
	movq	%r14, %rdi
	movl	$15, %esi
	callq	_mtk_desc_ring_link
	movq	_MTK_RING_MAX@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_7
## %bb.5:
	xorl	%ebx, %ebx
	leaq	-56(%rbp), %r15
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%r15, %rdx
	callq	_mtk_cmd_desc_ring_setup
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%r15, %rdx
	callq	_mtk_res_desc_ring_setup
	incl	%ebx
	cmpl	(%r12), %ebx
	jl	LBB0_6
LBB0_7:
	movq	_MTK_PE_TK_LOC_AVL@GOTPCREL(%rip), %rax
	movq	_MTK_PE_PROC_HELD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_MTK_PE_TK_TIMEOUT_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_PE_TOKEN_CTRL_STAT@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	callq	_writel
	movq	_MTK_AIC_G_CLR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_AIC_G_ACK@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	callq	_writel
	movq	_MTK_PE_INPUT_DMA_ERR@GOTPCREL(%rip), %rax
	movq	_MTK_PE_OUTPUT_DMA_ERR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_MTK_PE_PKT_PORC_ERR@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_MTK_PE_PKT_TIMEOUT@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_MTK_PE_FATAL_ERR@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_MTK_PE_INPUT_DMA_ERR_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_MTK_PE_OUTPUT_DMA_ERR_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_MTK_PE_PKT_PORC_ERR_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_MTK_PE_PKT_TIMEOUT_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_MTK_PE_FATAL_ERR_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_MTK_PE_INT_OUT_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_PE_INTERRUPT_CTRL_STAT@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	callq	_writel
	xorl	%ebx, %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HIA_VERSION,8,3                ## @HIA_VERSION
	.comm	_HIA_OPTIONS,8,3                ## @HIA_OPTIONS
	.comm	_EIP97_OPTIONS,8,3              ## @EIP97_OPTIONS
	.comm	_MTK_HIA_SIGNATURE,8,3          ## @MTK_HIA_SIGNATURE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EIP97_MST_CTRL,8,3             ## @EIP97_MST_CTRL
	.comm	_HIA_MST_CTRL,8,3               ## @HIA_MST_CTRL
	.comm	_MTK_BURST_SIZE_MSK,4,2         ## @MTK_BURST_SIZE_MSK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to reset DFE and DSE.\n"

	.comm	_MTK_RING_MAX,4,2               ## @MTK_RING_MAX
	.comm	_MTK_PE_TK_LOC_AVL,4,2          ## @MTK_PE_TK_LOC_AVL
	.comm	_MTK_PE_PROC_HELD,4,2           ## @MTK_PE_PROC_HELD
	.comm	_MTK_PE_TK_TIMEOUT_EN,4,2       ## @MTK_PE_TK_TIMEOUT_EN
	.comm	_PE_TOKEN_CTRL_STAT,8,3         ## @PE_TOKEN_CTRL_STAT
	.comm	_MTK_AIC_G_CLR,4,2              ## @MTK_AIC_G_CLR
	.comm	_AIC_G_ACK,8,3                  ## @AIC_G_ACK
	.comm	_MTK_PE_INPUT_DMA_ERR,4,2       ## @MTK_PE_INPUT_DMA_ERR
	.comm	_MTK_PE_OUTPUT_DMA_ERR,4,2      ## @MTK_PE_OUTPUT_DMA_ERR
	.comm	_MTK_PE_PKT_PORC_ERR,4,2        ## @MTK_PE_PKT_PORC_ERR
	.comm	_MTK_PE_PKT_TIMEOUT,4,2         ## @MTK_PE_PKT_TIMEOUT
	.comm	_MTK_PE_FATAL_ERR,4,2           ## @MTK_PE_FATAL_ERR
	.comm	_MTK_PE_INPUT_DMA_ERR_EN,4,2    ## @MTK_PE_INPUT_DMA_ERR_EN
	.comm	_MTK_PE_OUTPUT_DMA_ERR_EN,4,2   ## @MTK_PE_OUTPUT_DMA_ERR_EN
	.comm	_MTK_PE_PKT_PORC_ERR_EN,4,2     ## @MTK_PE_PKT_PORC_ERR_EN
	.comm	_MTK_PE_PKT_TIMEOUT_EN,4,2      ## @MTK_PE_PKT_TIMEOUT_EN
	.comm	_MTK_PE_FATAL_ERR_EN,4,2        ## @MTK_PE_FATAL_ERR_EN
	.comm	_MTK_PE_INT_OUT_EN,4,2          ## @MTK_PE_INT_OUT_EN
	.comm	_PE_INTERRUPT_CTRL_STAT,8,3     ## @PE_INTERRUPT_CTRL_STAT
	.no_dead_strip	_mtk_packet_engine_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mtk_packet_engine_setup
_mtk_packet_engine_setup:               ; @mtk_packet_engine_setup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _HIA_VERSION@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HIA_VERSION@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	mov	x20, x0
	str	x0, [sp, #8]
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _HIA_OPTIONS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HIA_OPTIONS@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	str	x0, [sp, #24]
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _EIP97_OPTIONS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _EIP97_OPTIONS@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	str	x0, [sp, #16]
Lloh9:
	adrp	x8, _MTK_HIA_SIGNATURE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MTK_HIA_SIGNATURE@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x19]
Lloh12:
	adrp	x9, _EIP97_MST_CTRL@GOTPAGE
Lloh13:
	ldr	x9, [x9, _EIP97_MST_CTRL@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	ldr	x8, [x19]
Lloh15:
	adrp	x20, _HIA_MST_CTRL@GOTPAGE
Lloh16:
	ldr	x20, [x20, _HIA_MST_CTRL@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x0, x9, x8
	bl	_readl
Lloh17:
	adrp	x8, _MTK_BURST_SIZE_MSK@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MTK_BURST_SIZE_MSK@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	bic	w21, w0, w8
	mov	w0, #5
	bl	_MTK_BURST_SIZE
	orr	w0, w21, w0
	ldr	x8, [x19]
	ldr	x9, [x20]
	add	x1, x9, x8
	bl	_writel
	mov	x0, x19
	bl	_mtk_dfe_dse_reset
	cbz	w0, LBB0_4
; %bb.2:
	mov	x20, x0
	ldr	w0, [x19, #8]
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	b	LBB0_8
LBB0_3:
Lloh22:
	adrp	x8, _EINVAL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_8
LBB0_4:
	add	x1, sp, #8
	mov	x0, x19
	bl	_mtk_dfe_dse_buf_setup
	mov	x0, x19
	mov	w1, #15
	bl	_mtk_desc_ring_link
Lloh25:
	adrp	x21, _MTK_RING_MAX@GOTPAGE
Lloh26:
	ldr	x21, [x21, _MTK_RING_MAX@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.5:
	mov	w20, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x20
	bl	_mtk_cmd_desc_ring_setup
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x20
	bl	_mtk_res_desc_ring_setup
	add	w20, w20, #1
	ldr	w8, [x21]
	cmp	w20, w8
	b.lt	LBB0_6
LBB0_7:
Lloh27:
	adrp	x8, _MTK_PE_TK_LOC_AVL@GOTPAGE
Lloh28:
	ldr	x8, [x8, _MTK_PE_TK_LOC_AVL@GOTPAGEOFF]
Lloh29:
	adrp	x9, _MTK_PE_PROC_HELD@GOTPAGE
Lloh30:
	ldr	x9, [x9, _MTK_PE_PROC_HELD@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
Lloh32:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh33:
	adrp	x9, _MTK_PE_TK_TIMEOUT_EN@GOTPAGE
Lloh34:
	ldr	x9, [x9, _MTK_PE_TK_TIMEOUT_EN@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	orr	w0, w8, w9
	ldr	x8, [x19]
Lloh36:
	adrp	x9, _PE_TOKEN_CTRL_STAT@GOTPAGE
Lloh37:
	ldr	x9, [x9, _PE_TOKEN_CTRL_STAT@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
Lloh39:
	adrp	x8, _MTK_AIC_G_CLR@GOTPAGE
Lloh40:
	ldr	x8, [x8, _MTK_AIC_G_CLR@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
	ldr	x8, [x19]
Lloh42:
	adrp	x9, _AIC_G_ACK@GOTPAGE
Lloh43:
	ldr	x9, [x9, _AIC_G_ACK@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
Lloh45:
	adrp	x8, _MTK_PE_INPUT_DMA_ERR@GOTPAGE
Lloh46:
	ldr	x8, [x8, _MTK_PE_INPUT_DMA_ERR@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
Lloh48:
	adrp	x9, _MTK_PE_OUTPUT_DMA_ERR@GOTPAGE
Lloh49:
	ldr	x9, [x9, _MTK_PE_OUTPUT_DMA_ERR@GOTPAGEOFF]
Lloh50:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh51:
	adrp	x9, _MTK_PE_PKT_PORC_ERR@GOTPAGE
Lloh52:
	ldr	x9, [x9, _MTK_PE_PKT_PORC_ERR@GOTPAGEOFF]
Lloh53:
	ldr	w9, [x9]
Lloh54:
	adrp	x10, _MTK_PE_PKT_TIMEOUT@GOTPAGE
Lloh55:
	ldr	x10, [x10, _MTK_PE_PKT_TIMEOUT@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh56:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh57:
	adrp	x9, _MTK_PE_FATAL_ERR@GOTPAGE
Lloh58:
	ldr	x9, [x9, _MTK_PE_FATAL_ERR@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh60:
	adrp	x9, _MTK_PE_INPUT_DMA_ERR_EN@GOTPAGE
Lloh61:
	ldr	x9, [x9, _MTK_PE_INPUT_DMA_ERR_EN@GOTPAGEOFF]
Lloh62:
	ldr	w9, [x9]
Lloh63:
	adrp	x10, _MTK_PE_OUTPUT_DMA_ERR_EN@GOTPAGE
Lloh64:
	ldr	x10, [x10, _MTK_PE_OUTPUT_DMA_ERR_EN@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh65:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh66:
	adrp	x9, _MTK_PE_PKT_PORC_ERR_EN@GOTPAGE
Lloh67:
	ldr	x9, [x9, _MTK_PE_PKT_PORC_ERR_EN@GOTPAGEOFF]
Lloh68:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh69:
	adrp	x9, _MTK_PE_PKT_TIMEOUT_EN@GOTPAGE
Lloh70:
	ldr	x9, [x9, _MTK_PE_PKT_TIMEOUT_EN@GOTPAGEOFF]
Lloh71:
	ldr	w9, [x9]
Lloh72:
	adrp	x10, _MTK_PE_FATAL_ERR_EN@GOTPAGE
Lloh73:
	ldr	x10, [x10, _MTK_PE_FATAL_ERR_EN@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh74:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh75:
	adrp	x9, _MTK_PE_INT_OUT_EN@GOTPAGE
Lloh76:
	ldr	x9, [x9, _MTK_PE_INT_OUT_EN@GOTPAGEOFF]
Lloh77:
	ldr	w9, [x9]
	orr	w0, w8, w9
	ldr	x8, [x19]
Lloh78:
	adrp	x9, _PE_INTERRUPT_CTRL_STAT@GOTPAGE
Lloh79:
	ldr	x9, [x9, _PE_INTERRUPT_CTRL_STAT@GOTPAGEOFF]
Lloh80:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	mov	w20, #0
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_HIA_VERSION,8,3                ; @HIA_VERSION
	.comm	_HIA_OPTIONS,8,3                ; @HIA_OPTIONS
	.comm	_EIP97_OPTIONS,8,3              ; @EIP97_OPTIONS
	.comm	_MTK_HIA_SIGNATURE,8,3          ; @MTK_HIA_SIGNATURE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EIP97_MST_CTRL,8,3             ; @EIP97_MST_CTRL
	.comm	_HIA_MST_CTRL,8,3               ; @HIA_MST_CTRL
	.comm	_MTK_BURST_SIZE_MSK,4,2         ; @MTK_BURST_SIZE_MSK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to reset DFE and DSE.\n"

	.comm	_MTK_RING_MAX,4,2               ; @MTK_RING_MAX
	.comm	_MTK_PE_TK_LOC_AVL,4,2          ; @MTK_PE_TK_LOC_AVL
	.comm	_MTK_PE_PROC_HELD,4,2           ; @MTK_PE_PROC_HELD
	.comm	_MTK_PE_TK_TIMEOUT_EN,4,2       ; @MTK_PE_TK_TIMEOUT_EN
	.comm	_PE_TOKEN_CTRL_STAT,8,3         ; @PE_TOKEN_CTRL_STAT
	.comm	_MTK_AIC_G_CLR,4,2              ; @MTK_AIC_G_CLR
	.comm	_AIC_G_ACK,8,3                  ; @AIC_G_ACK
	.comm	_MTK_PE_INPUT_DMA_ERR,4,2       ; @MTK_PE_INPUT_DMA_ERR
	.comm	_MTK_PE_OUTPUT_DMA_ERR,4,2      ; @MTK_PE_OUTPUT_DMA_ERR
	.comm	_MTK_PE_PKT_PORC_ERR,4,2        ; @MTK_PE_PKT_PORC_ERR
	.comm	_MTK_PE_PKT_TIMEOUT,4,2         ; @MTK_PE_PKT_TIMEOUT
	.comm	_MTK_PE_FATAL_ERR,4,2           ; @MTK_PE_FATAL_ERR
	.comm	_MTK_PE_INPUT_DMA_ERR_EN,4,2    ; @MTK_PE_INPUT_DMA_ERR_EN
	.comm	_MTK_PE_OUTPUT_DMA_ERR_EN,4,2   ; @MTK_PE_OUTPUT_DMA_ERR_EN
	.comm	_MTK_PE_PKT_PORC_ERR_EN,4,2     ; @MTK_PE_PKT_PORC_ERR_EN
	.comm	_MTK_PE_PKT_TIMEOUT_EN,4,2      ; @MTK_PE_PKT_TIMEOUT_EN
	.comm	_MTK_PE_FATAL_ERR_EN,4,2        ; @MTK_PE_FATAL_ERR_EN
	.comm	_MTK_PE_INT_OUT_EN,4,2          ; @MTK_PE_INT_OUT_EN
	.comm	_PE_INTERRUPT_CTRL_STAT,8,3     ; @PE_INTERRUPT_CTRL_STAT
	.no_dead_strip	_mtk_packet_engine_setup
.subsections_via_symbols
