	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mv_a38x_platform_pl310_init    ## -- Begin function mv_a38x_platform_pl310_init
	.p2align	4, 0x90
_mv_a38x_platform_pl310_init:           ## @mv_a38x_platform_pl310_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	_PL310_POWER_CTRL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_pl310_read4
	movq	_POWER_CTRL_ENABLE_GATING@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_pl310_write4
	movq	_PREFETCH_CTRL_DL@GOTPCREL(%rip), %rax
	movq	_PREFETCH_CTRL_DATA_PREFETCH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_PL310_PREFETCH_CTRL@GOTPCREL(%rip), %rax
	movq	_PREFETCH_CTRL_INCR_DL@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_PREFETCH_CTRL_DL_ON_WRAP@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_pl310_write4
	movl	$1, (%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PL310_POWER_CTRL,4,2           ## @PL310_POWER_CTRL
	.comm	_POWER_CTRL_ENABLE_GATING,4,2   ## @POWER_CTRL_ENABLE_GATING
	.comm	_PL310_PREFETCH_CTRL,4,2        ## @PL310_PREFETCH_CTRL
	.comm	_PREFETCH_CTRL_DL,4,2           ## @PREFETCH_CTRL_DL
	.comm	_PREFETCH_CTRL_DATA_PREFETCH,4,2 ## @PREFETCH_CTRL_DATA_PREFETCH
	.comm	_PREFETCH_CTRL_INCR_DL,4,2      ## @PREFETCH_CTRL_INCR_DL
	.comm	_PREFETCH_CTRL_DL_ON_WRAP,4,2   ## @PREFETCH_CTRL_DL_ON_WRAP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mv_a38x_platform_pl310_init    ; -- Begin function mv_a38x_platform_pl310_init
	.p2align	2
_mv_a38x_platform_pl310_init:           ; @mv_a38x_platform_pl310_init
	.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, x1
Lloh0:
	adrp	x20, _PL310_POWER_CTRL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _PL310_POWER_CTRL@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_pl310_read4
Lloh2:
	adrp	x8, _POWER_CTRL_ENABLE_GATING@GOTPAGE
Lloh3:
	ldr	x8, [x8, _POWER_CTRL_ENABLE_GATING@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	orr	w2, w8, w0
	ldr	w1, [x20]
	mov	x0, x19
	bl	_pl310_write4
Lloh5:
	adrp	x8, _PL310_PREFETCH_CTRL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PL310_PREFETCH_CTRL@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _PREFETCH_CTRL_DL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PREFETCH_CTRL_DL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _PREFETCH_CTRL_DATA_PREFETCH@GOTPAGE
Lloh12:
	ldr	x9, [x9, _PREFETCH_CTRL_DATA_PREFETCH@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh14:
	adrp	x9, _PREFETCH_CTRL_INCR_DL@GOTPAGE
Lloh15:
	ldr	x9, [x9, _PREFETCH_CTRL_INCR_DL@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh17:
	adrp	x9, _PREFETCH_CTRL_DL_ON_WRAP@GOTPAGE
Lloh18:
	ldr	x9, [x9, _PREFETCH_CTRL_DL_ON_WRAP@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_pl310_write4
	mov	w8, #1
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.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	_PL310_POWER_CTRL,4,2           ; @PL310_POWER_CTRL
	.comm	_POWER_CTRL_ENABLE_GATING,4,2   ; @POWER_CTRL_ENABLE_GATING
	.comm	_PL310_PREFETCH_CTRL,4,2        ; @PL310_PREFETCH_CTRL
	.comm	_PREFETCH_CTRL_DL,4,2           ; @PREFETCH_CTRL_DL
	.comm	_PREFETCH_CTRL_DATA_PREFETCH,4,2 ; @PREFETCH_CTRL_DATA_PREFETCH
	.comm	_PREFETCH_CTRL_INCR_DL,4,2      ; @PREFETCH_CTRL_INCR_DL
	.comm	_PREFETCH_CTRL_DL_ON_WRAP,4,2   ; @PREFETCH_CTRL_DL_ON_WRAP
.subsections_via_symbols
