	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_imx6_pl310_init                ## -- Begin function imx6_pl310_init
	.p2align	4, 0x90
_imx6_pl310_init:                       ## @imx6_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
	movq	_POWER_CTRL_ENABLE_STANDBY@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_pl310_write4
	movq	_PL310_TAG_RAM_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$4, %edx
	movl	$2, %ecx
	movl	$3, %r8d
	callq	_pl310_set_ram_latency
	movq	_PL310_DATA_RAM_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$4, %edx
	movl	$2, %ecx
	movl	$3, %r8d
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pl310_set_ram_latency          ## TAILCALL
	.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	_POWER_CTRL_ENABLE_STANDBY,4,2  ## @POWER_CTRL_ENABLE_STANDBY
	.comm	_PL310_TAG_RAM_CTRL,4,2         ## @PL310_TAG_RAM_CTRL
	.comm	_PL310_DATA_RAM_CTRL,4,2        ## @PL310_DATA_RAM_CTRL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_imx6_pl310_init                ; -- Begin function imx6_pl310_init
	.p2align	2
_imx6_pl310_init:                       ; @imx6_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]
Lloh5:
	adrp	x9, _POWER_CTRL_ENABLE_STANDBY@GOTPAGE
Lloh6:
	ldr	x9, [x9, _POWER_CTRL_ENABLE_STANDBY@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w8, w0
	orr	w2, w8, w9
	ldr	w1, [x20]
	mov	x0, x19
	bl	_pl310_write4
Lloh8:
	adrp	x8, _PL310_TAG_RAM_CTRL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PL310_TAG_RAM_CTRL@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #4
	mov	w3, #2
	mov	w4, #3
	bl	_pl310_set_ram_latency
Lloh11:
	adrp	x8, _PL310_DATA_RAM_CTRL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PL310_DATA_RAM_CTRL@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #4
	mov	w3, #2
	mov	w4, #3
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pl310_set_ram_latency
	.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	_POWER_CTRL_ENABLE_STANDBY,4,2  ; @POWER_CTRL_ENABLE_STANDBY
	.comm	_PL310_TAG_RAM_CTRL,4,2         ; @PL310_TAG_RAM_CTRL
	.comm	_PL310_DATA_RAM_CTRL,4,2        ; @PL310_DATA_RAM_CTRL
.subsections_via_symbols
