	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rv730_program_memory_timing_parameters ## -- Begin function rv730_program_memory_timing_parameters
	.p2align	4, 0x90
_rv730_program_memory_timing_parameters: ## @rv730_program_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	%rdi, %r14
	movq	%rsi, %rdi
	callq	_rv770_get_ps
	movq	%rax, %r13
	movq	_MC_ARB_RFSH_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RREG32
	movq	_POWERMODE1_MASK@GOTPCREL(%rip), %rcx
	movq	_POWERMODE2_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r12d
	orl	(%rcx), %r12d
	movq	_POWERMODE3_MASK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r12d
	notl	%r12d
	andl	%eax, %r12d
	movl	4(%r13), %esi
	movq	%r14, %rdi
	callq	_rv770_calculate_memory_refresh_rate
	movl	%eax, %edi
	callq	_POWERMODE1
	movl	%eax, %r15d
	movl	12(%r13), %esi
	movq	%r14, %rdi
	callq	_rv770_calculate_memory_refresh_rate
	movl	%eax, %edi
	callq	_POWERMODE2
	movl	%eax, %ebx
	movl	20(%r13), %esi
	movq	%r14, %rdi
	callq	_rv770_calculate_memory_refresh_rate
	movl	%eax, %edi
	callq	_POWERMODE3
	orl	%r15d, %ebx
	orl	%eax, %ebx
	orl	%r12d, %ebx
	movq	_MC_ARB_RFSH_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_WREG32
	movq	_MC_ARB_DRAM_TIMING@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_RREG32
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_MC_ARB_DRAM_TIMING2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rax, %r15
	callq	_RREG32
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	16(%r13), %edx
	movl	20(%r13), %esi
	movq	%r14, %rdi
	callq	_radeon_atom_set_engine_dram_timings
	movl	(%r12), %edi
	callq	_RREG32
	movl	%eax, %ebx
	movl	(%r15), %edi
	callq	_RREG32
	movl	%eax, %r15d
	movq	_MC_ARB_DRAM_TIMING_3@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_WREG32
	movq	_MC_ARB_DRAM_TIMING2_3@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r15d, %esi
	callq	_WREG32
	movl	8(%r13), %edx
	movl	12(%r13), %esi
	movq	%r14, %rdi
	callq	_radeon_atom_set_engine_dram_timings
	movl	(%r12), %edi
	callq	_RREG32
	movl	%eax, %ebx
	movq	_MC_ARB_DRAM_TIMING2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RREG32
	movl	%eax, %r15d
	movq	_MC_ARB_DRAM_TIMING_2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_WREG32
	movq	_MC_ARB_DRAM_TIMING2_2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r15d, %esi
	callq	_WREG32
	movl	(%r13), %edx
	movl	4(%r13), %esi
	movq	%r14, %rdi
	callq	_radeon_atom_set_engine_dram_timings
	movq	%r12, %r15
	movl	(%r12), %edi
	callq	_RREG32
	movl	%eax, %ebx
	movq	_MC_ARB_DRAM_TIMING2@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_RREG32
	movl	%eax, %r14d
	movq	_MC_ARB_DRAM_TIMING_1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_WREG32
	movq	_MC_ARB_DRAM_TIMING2_1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r14d, %esi
	callq	_WREG32
	movl	(%r15), %edi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_WREG32
	movl	(%r12), %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WREG32                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MC_ARB_RFSH_RATE,4,2           ## @MC_ARB_RFSH_RATE
	.comm	_POWERMODE1_MASK,4,2            ## @POWERMODE1_MASK
	.comm	_POWERMODE2_MASK,4,2            ## @POWERMODE2_MASK
	.comm	_POWERMODE3_MASK,4,2            ## @POWERMODE3_MASK
	.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_DRAM_TIMING_3,4,2       ## @MC_ARB_DRAM_TIMING_3
	.comm	_MC_ARB_DRAM_TIMING2_3,4,2      ## @MC_ARB_DRAM_TIMING2_3
	.comm	_MC_ARB_DRAM_TIMING_2,4,2       ## @MC_ARB_DRAM_TIMING_2
	.comm	_MC_ARB_DRAM_TIMING2_2,4,2      ## @MC_ARB_DRAM_TIMING2_2
	.comm	_MC_ARB_DRAM_TIMING_1,4,2       ## @MC_ARB_DRAM_TIMING_1
	.comm	_MC_ARB_DRAM_TIMING2_1,4,2      ## @MC_ARB_DRAM_TIMING2_1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rv730_program_memory_timing_parameters ; -- Begin function rv730_program_memory_timing_parameters
	.p2align	2
_rv730_program_memory_timing_parameters: ; @rv730_program_memory_timing_parameters
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	mov	x0, x1
	bl	_rv770_get_ps
	mov	x20, x0
Lloh0:
	adrp	x23, _MC_ARB_RFSH_RATE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MC_ARB_RFSH_RATE@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_RREG32
Lloh2:
	adrp	x8, _POWERMODE1_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _POWERMODE1_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _POWERMODE2_MASK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _POWERMODE2_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh8:
	adrp	x9, _POWERMODE3_MASK@GOTPAGE
Lloh9:
	ldr	x9, [x9, _POWERMODE3_MASK@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w8, w9
	bic	w24, w0, w8
	ldr	w1, [x20, #4]
	mov	x0, x19
	bl	_rv770_calculate_memory_refresh_rate
	bl	_POWERMODE1
	mov	x21, x0
	ldr	w1, [x20, #12]
	mov	x0, x19
	bl	_rv770_calculate_memory_refresh_rate
	bl	_POWERMODE2
	mov	x22, x0
	ldr	w1, [x20, #20]
	mov	x0, x19
	bl	_rv770_calculate_memory_refresh_rate
	bl	_POWERMODE3
	orr	w8, w21, w24
	orr	w8, w8, w22
	orr	w1, w8, w0
	ldr	w0, [x23]
	bl	_WREG32
Lloh11:
	adrp	x25, _MC_ARB_DRAM_TIMING@GOTPAGE
Lloh12:
	ldr	x25, [x25, _MC_ARB_DRAM_TIMING@GOTPAGEOFF]
	ldr	w0, [x25]
	bl	_RREG32
	mov	x21, x0
Lloh13:
	adrp	x26, _MC_ARB_DRAM_TIMING2@GOTPAGE
Lloh14:
	ldr	x26, [x26, _MC_ARB_DRAM_TIMING2@GOTPAGEOFF]
	ldr	w0, [x26]
	bl	_RREG32
	mov	x22, x0
	ldp	w2, w1, [x20, #16]
	mov	x0, x19
	bl	_radeon_atom_set_engine_dram_timings
	ldr	w0, [x25]
	bl	_RREG32
	mov	x23, x0
	ldr	w0, [x26]
	bl	_RREG32
	mov	x24, x0
Lloh15:
	adrp	x8, _MC_ARB_DRAM_TIMING_3@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MC_ARB_DRAM_TIMING_3@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_WREG32
Lloh18:
	adrp	x8, _MC_ARB_DRAM_TIMING2_3@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MC_ARB_DRAM_TIMING2_3@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	mov	x1, x24
	bl	_WREG32
	ldp	w2, w1, [x20, #8]
	mov	x0, x19
	bl	_radeon_atom_set_engine_dram_timings
	ldr	w0, [x25]
	bl	_RREG32
	mov	x23, x0
	ldr	w0, [x26]
	bl	_RREG32
	mov	x24, x0
Lloh21:
	adrp	x8, _MC_ARB_DRAM_TIMING_2@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MC_ARB_DRAM_TIMING_2@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_WREG32
Lloh24:
	adrp	x8, _MC_ARB_DRAM_TIMING2_2@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MC_ARB_DRAM_TIMING2_2@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	mov	x1, x24
	bl	_WREG32
	ldp	w2, w1, [x20]
	mov	x0, x19
	bl	_radeon_atom_set_engine_dram_timings
	ldr	w0, [x25]
	bl	_RREG32
	mov	x19, x0
	ldr	w0, [x26]
	bl	_RREG32
	mov	x20, x0
Lloh27:
	adrp	x8, _MC_ARB_DRAM_TIMING_1@GOTPAGE
Lloh28:
	ldr	x8, [x8, _MC_ARB_DRAM_TIMING_1@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_WREG32
Lloh30:
	adrp	x8, _MC_ARB_DRAM_TIMING2_1@GOTPAGE
Lloh31:
	ldr	x8, [x8, _MC_ARB_DRAM_TIMING2_1@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_WREG32
	ldr	w0, [x25]
	mov	x1, x21
	bl	_WREG32
	ldr	w0, [x26]
	mov	x1, x22
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_WREG32
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MC_ARB_RFSH_RATE,4,2           ; @MC_ARB_RFSH_RATE
	.comm	_POWERMODE1_MASK,4,2            ; @POWERMODE1_MASK
	.comm	_POWERMODE2_MASK,4,2            ; @POWERMODE2_MASK
	.comm	_POWERMODE3_MASK,4,2            ; @POWERMODE3_MASK
	.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_DRAM_TIMING_3,4,2       ; @MC_ARB_DRAM_TIMING_3
	.comm	_MC_ARB_DRAM_TIMING2_3,4,2      ; @MC_ARB_DRAM_TIMING2_3
	.comm	_MC_ARB_DRAM_TIMING_2,4,2       ; @MC_ARB_DRAM_TIMING_2
	.comm	_MC_ARB_DRAM_TIMING2_2,4,2      ; @MC_ARB_DRAM_TIMING2_2
	.comm	_MC_ARB_DRAM_TIMING_1,4,2       ; @MC_ARB_DRAM_TIMING_1
	.comm	_MC_ARB_DRAM_TIMING2_1,4,2      ; @MC_ARB_DRAM_TIMING2_1
.subsections_via_symbols
