	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_ddr                       ## -- Begin function init_ddr
	.p2align	4, 0x90
_init_ddr:                              ## @init_ddr
	.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
	movl	%edi, %ebx
	movq	_SYS_CTRL_CLK_DDRPHY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_enable_clock
	movq	_SYS_CTRL_CLK_DDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_enable_clock
	movq	_SYS_CTRL_CLK_DDRCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_enable_clock
	movq	_SYS_CTRL_RST_DDR_PHY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_reset_block
	movq	_SYS_CTRL_RST_DDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_reset_block
	sarl	%ebx
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ddr_setup                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SYS_CTRL_CLK_DDRPHY,4,2        ## @SYS_CTRL_CLK_DDRPHY
	.comm	_SYS_CTRL_CLK_DDR,4,2           ## @SYS_CTRL_CLK_DDR
	.comm	_SYS_CTRL_CLK_DDRCK,4,2         ## @SYS_CTRL_CLK_DDRCK
	.comm	_SYS_CTRL_RST_DDR_PHY,4,2       ## @SYS_CTRL_RST_DDR_PHY
	.comm	_SYS_CTRL_RST_DDR,4,2           ## @SYS_CTRL_RST_DDR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_ddr                       ; -- Begin function init_ddr
	.p2align	2
_init_ddr:                              ; @init_ddr
	.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	x8, _SYS_CTRL_CLK_DDRPHY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SYS_CTRL_CLK_DDRPHY@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_enable_clock
Lloh3:
	adrp	x8, _SYS_CTRL_CLK_DDR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SYS_CTRL_CLK_DDR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_enable_clock
Lloh6:
	adrp	x8, _SYS_CTRL_CLK_DDRCK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SYS_CTRL_CLK_DDRCK@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_enable_clock
Lloh9:
	adrp	x8, _SYS_CTRL_RST_DDR_PHY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SYS_CTRL_RST_DDR_PHY@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_reset_block
Lloh12:
	adrp	x8, _SYS_CTRL_RST_DDR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SYS_CTRL_RST_DDR@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_reset_block
	asr	w0, w19, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ddr_setup
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SYS_CTRL_CLK_DDRPHY,4,2        ; @SYS_CTRL_CLK_DDRPHY
	.comm	_SYS_CTRL_CLK_DDR,4,2           ; @SYS_CTRL_CLK_DDR
	.comm	_SYS_CTRL_CLK_DDRCK,4,2         ; @SYS_CTRL_CLK_DDRCK
	.comm	_SYS_CTRL_RST_DDR_PHY,4,2       ; @SYS_CTRL_RST_DDR_PHY
	.comm	_SYS_CTRL_RST_DDR,4,2           ; @SYS_CTRL_RST_DDR
.subsections_via_symbols
