	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ci_populate_memory_timing_parameters
_ci_populate_memory_timing_parameters:  ## @ci_populate_memory_timing_parameters
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_radeon_atom_set_engine_dram_timings
	movq	_MC_ARB_DRAM_TIMING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RREG32
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_MC_ARB_DRAM_TIMING2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RREG32
	movl	%eax, -44(%rbp)
	movq	_MC_ARB_BURST_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RREG32
	movq	_STATE0_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movslq	%eax, %r13
	leaq	-44(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r14d, %edx
	callq	_ci_register_patching_mc_arb
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_cpu_to_be32
	movq	%rax, 16(%r12)
	movl	-44(%rbp), %edi
	callq	_cpu_to_be32
	movq	%rax, 8(%r12)
	movq	%r13, (%r12)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MC_ARB_DRAM_TIMING,4,2         ## @MC_ARB_DRAM_TIMING
	.comm	_MC_ARB_DRAM_TIMING2,4,2        ## @MC_ARB_DRAM_TIMING2
	.comm	_MC_ARB_BURST_TIME,4,2          ## @MC_ARB_BURST_TIME
	.comm	_STATE0_MASK,4,2                ## @STATE0_MASK
	.no_dead_strip	_ci_populate_memory_timing_parameters
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ci_populate_memory_timing_parameters
_ci_populate_memory_timing_parameters:  ; @ci_populate_memory_timing_parameters
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	bl	_radeon_atom_set_engine_dram_timings
Lloh0:
	adrp	x8, _MC_ARB_DRAM_TIMING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MC_ARB_DRAM_TIMING@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_RREG32
	mov	x23, x0
Lloh3:
	adrp	x8, _MC_ARB_DRAM_TIMING2@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MC_ARB_DRAM_TIMING2@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_RREG32
	str	w0, [sp, #12]
Lloh6:
	adrp	x8, _MC_ARB_BURST_TIME@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MC_ARB_BURST_TIME@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_RREG32
Lloh9:
	adrp	x8, _STATE0_MASK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _STATE0_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	and	w8, w8, w0
	sxtw	x24, w8
	add	x3, sp, #12
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_ci_register_patching_mc_arb
	mov	x0, x23
	bl	_cpu_to_be32
	str	x0, [x19, #16]
	ldr	w0, [sp, #12]
	bl	_cpu_to_be32
	stp	x24, x0, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.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	_MC_ARB_DRAM_TIMING,4,2         ; @MC_ARB_DRAM_TIMING
	.comm	_MC_ARB_DRAM_TIMING2,4,2        ; @MC_ARB_DRAM_TIMING2
	.comm	_MC_ARB_BURST_TIME,4,2          ; @MC_ARB_BURST_TIME
	.comm	_STATE0_MASK,4,2                ; @STATE0_MASK
	.no_dead_strip	_ci_populate_memory_timing_parameters
.subsections_via_symbols
