	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv_wdt_enable_armada_xp
_mv_wdt_enable_armada_xp:               ## @mv_wdt_enable_armada_xp
	.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	_BRIDGE_IRQ_CAUSE_ARMADAXP@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_read_cpu_ctrl
	movq	_IRQ_TIMER_WD_CLR_ARMADAXP@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	(%rbx), %edi
	movl	%eax, %esi
	callq	_write_cpu_ctrl
	xorl	%eax, %eax
	callq	_mv_wdt_enable_armada_38x_xp_helper
	xorl	%eax, %eax
	callq	_mv_get_timer_control
	movq	_CPU_TIMER2_EN@GOTPCREL(%rip), %rcx
	movq	_CPU_TIMER2_AUTO@GOTPCREL(%rip), %rdx
	movq	_CPU_TIMER_WD_25MHZ_EN@GOTPCREL(%rip), %rsi
	orl	(%rcx), %eax
	orl	(%rdx), %eax
	orl	(%rsi), %eax
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mv_set_timer_control           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BRIDGE_IRQ_CAUSE_ARMADAXP,4,2  ## @BRIDGE_IRQ_CAUSE_ARMADAXP
	.comm	_IRQ_TIMER_WD_CLR_ARMADAXP,4,2  ## @IRQ_TIMER_WD_CLR_ARMADAXP
	.comm	_CPU_TIMER2_EN,4,2              ## @CPU_TIMER2_EN
	.comm	_CPU_TIMER2_AUTO,4,2            ## @CPU_TIMER2_AUTO
	.comm	_CPU_TIMER_WD_25MHZ_EN,4,2      ## @CPU_TIMER_WD_25MHZ_EN
	.no_dead_strip	_mv_wdt_enable_armada_xp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mv_wdt_enable_armada_xp
_mv_wdt_enable_armada_xp:               ; @mv_wdt_enable_armada_xp
	.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
Lloh0:
	adrp	x19, _BRIDGE_IRQ_CAUSE_ARMADAXP@GOTPAGE
Lloh1:
	ldr	x19, [x19, _BRIDGE_IRQ_CAUSE_ARMADAXP@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_read_cpu_ctrl
Lloh2:
	adrp	x8, _IRQ_TIMER_WD_CLR_ARMADAXP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IRQ_TIMER_WD_CLR_ARMADAXP@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	and	w1, w8, w0
	ldr	w0, [x19]
	bl	_write_cpu_ctrl
	bl	_mv_wdt_enable_armada_38x_xp_helper
	bl	_mv_get_timer_control
Lloh5:
	adrp	x8, _CPU_TIMER2_EN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CPU_TIMER2_EN@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _CPU_TIMER2_AUTO@GOTPAGE
Lloh9:
	ldr	x9, [x9, _CPU_TIMER2_AUTO@GOTPAGEOFF]
Lloh10:
	adrp	x10, _CPU_TIMER_WD_25MHZ_EN@GOTPAGE
Lloh11:
	ldr	x10, [x10, _CPU_TIMER_WD_25MHZ_EN@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
Lloh13:
	ldr	w10, [x10]
	orr	w8, w8, w0
	orr	w8, w8, w9
	orr	w0, w8, w10
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mv_set_timer_control
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BRIDGE_IRQ_CAUSE_ARMADAXP,4,2  ; @BRIDGE_IRQ_CAUSE_ARMADAXP
	.comm	_IRQ_TIMER_WD_CLR_ARMADAXP,4,2  ; @IRQ_TIMER_WD_CLR_ARMADAXP
	.comm	_CPU_TIMER2_EN,4,2              ; @CPU_TIMER2_EN
	.comm	_CPU_TIMER2_AUTO,4,2            ; @CPU_TIMER2_AUTO
	.comm	_CPU_TIMER_WD_25MHZ_EN,4,2      ; @CPU_TIMER_WD_25MHZ_EN
	.no_dead_strip	_mv_wdt_enable_armada_xp
.subsections_via_symbols
