	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mtk_dfe_dse_reset
_mtk_dfe_dse_reset:                     ## @mtk_dfe_dse_reset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_MTK_DFSE_THR_CTRL_RESET@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_DFE_THR_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	callq	_writel
	movq	_DFE_PRIO_0@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	_DFE_PRIO_1@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	_DFE_PRIO_2@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	_DFE_PRIO_3@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	xorl	%edi, %edi
	callq	_writel
	movl	(%r14), %edi
	movq	_DSE_THR_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	callq	_writel
	movq	_DSE_PRIO_0@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	_DSE_PRIO_1@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	_DSE_PRIO_2@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	_DSE_PRIO_3@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	xorl	%edi, %edi
	callq	_writel
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mtk_dfe_dse_state_check        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MTK_DFSE_THR_CTRL_RESET,4,2    ## @MTK_DFSE_THR_CTRL_RESET
	.comm	_DFE_THR_CTRL,8,3               ## @DFE_THR_CTRL
	.comm	_DFE_PRIO_0,8,3                 ## @DFE_PRIO_0
	.comm	_DFE_PRIO_1,8,3                 ## @DFE_PRIO_1
	.comm	_DFE_PRIO_2,8,3                 ## @DFE_PRIO_2
	.comm	_DFE_PRIO_3,8,3                 ## @DFE_PRIO_3
	.comm	_DSE_THR_CTRL,8,3               ## @DSE_THR_CTRL
	.comm	_DSE_PRIO_0,8,3                 ## @DSE_PRIO_0
	.comm	_DSE_PRIO_1,8,3                 ## @DSE_PRIO_1
	.comm	_DSE_PRIO_2,8,3                 ## @DSE_PRIO_2
	.comm	_DSE_PRIO_3,8,3                 ## @DSE_PRIO_3
	.no_dead_strip	_mtk_dfe_dse_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mtk_dfe_dse_reset
_mtk_dfe_dse_reset:                     ; @mtk_dfe_dse_reset
	.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
Lloh0:
	adrp	x20, _MTK_DFSE_THR_CTRL_RESET@GOTPAGE
Lloh1:
	ldr	x20, [x20, _MTK_DFSE_THR_CTRL_RESET@GOTPAGEOFF]
	ldr	w0, [x20]
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _DFE_THR_CTRL@GOTPAGE
Lloh3:
	ldr	x9, [x9, _DFE_THR_CTRL@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19]
Lloh5:
	adrp	x9, _DFE_PRIO_0@GOTPAGE
Lloh6:
	ldr	x9, [x9, _DFE_PRIO_0@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	ldr	x8, [x19]
Lloh8:
	adrp	x9, _DFE_PRIO_1@GOTPAGE
Lloh9:
	ldr	x9, [x9, _DFE_PRIO_1@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	ldr	x8, [x19]
Lloh11:
	adrp	x9, _DFE_PRIO_2@GOTPAGE
Lloh12:
	ldr	x9, [x9, _DFE_PRIO_2@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	ldr	x8, [x19]
Lloh14:
	adrp	x9, _DFE_PRIO_3@GOTPAGE
Lloh15:
	ldr	x9, [x9, _DFE_PRIO_3@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	ldr	w0, [x20]
	ldr	x8, [x19]
Lloh17:
	adrp	x9, _DSE_THR_CTRL@GOTPAGE
Lloh18:
	ldr	x9, [x9, _DSE_THR_CTRL@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19]
Lloh20:
	adrp	x9, _DSE_PRIO_0@GOTPAGE
Lloh21:
	ldr	x9, [x9, _DSE_PRIO_0@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	ldr	x8, [x19]
Lloh23:
	adrp	x9, _DSE_PRIO_1@GOTPAGE
Lloh24:
	ldr	x9, [x9, _DSE_PRIO_1@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	ldr	x8, [x19]
Lloh26:
	adrp	x9, _DSE_PRIO_2@GOTPAGE
Lloh27:
	ldr	x9, [x9, _DSE_PRIO_2@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	ldr	x8, [x19]
Lloh29:
	adrp	x9, _DSE_PRIO_3@GOTPAGE
Lloh30:
	ldr	x9, [x9, _DSE_PRIO_3@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mtk_dfe_dse_state_check
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MTK_DFSE_THR_CTRL_RESET,4,2    ; @MTK_DFSE_THR_CTRL_RESET
	.comm	_DFE_THR_CTRL,8,3               ; @DFE_THR_CTRL
	.comm	_DFE_PRIO_0,8,3                 ; @DFE_PRIO_0
	.comm	_DFE_PRIO_1,8,3                 ; @DFE_PRIO_1
	.comm	_DFE_PRIO_2,8,3                 ; @DFE_PRIO_2
	.comm	_DFE_PRIO_3,8,3                 ; @DFE_PRIO_3
	.comm	_DSE_THR_CTRL,8,3               ; @DSE_THR_CTRL
	.comm	_DSE_PRIO_0,8,3                 ; @DSE_PRIO_0
	.comm	_DSE_PRIO_1,8,3                 ; @DSE_PRIO_1
	.comm	_DSE_PRIO_2,8,3                 ; @DSE_PRIO_2
	.comm	_DSE_PRIO_3,8,3                 ; @DSE_PRIO_3
	.no_dead_strip	_mtk_dfe_dse_reset
.subsections_via_symbols
