	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_atomctrl_get_memory_pll_dividers_si ## -- Begin function atomctrl_get_memory_pll_dividers_si
	.p2align	4, 0x90
_atomctrl_get_memory_pll_dividers_si:   ## @atomctrl_get_memory_pll_dividers_si
	.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	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movq	%rdx, %r14
	movq	(%rdi), %r15
	movq	%rsi, %rdi
	callq	_cpu_to_le32
	movl	%eax, -32(%rbp)
	xorl	%eax, %eax
	testl	%ebx, %ebx
	setne	%al
	movq	%rax, -40(%rbp)
	movl	(%r15), %ebx
	movq	_COMMAND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ComputeMemoryClockParam@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetIndexIntoMasterTable
	leaq	-80(%rbp), %rdx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_amdgpu_atom_execute_table
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	-44(%rbp), %edi
	callq	_le16_to_cpu
	movq	%rax, 64(%r14)
	movl	-48(%rbp), %edi
	callq	_le16_to_cpu
	movq	%rax, 56(%r14)
	movq	-56(%rbp), %rax
	movq	%rax, 48(%r14)
	movl	-80(%rbp), %eax
	movq	_MPLL_CNTL_FLAG_VCO_MODE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	movslq	%ecx, %rcx
	movq	%rcx, 40(%r14)
	movq	_MPLL_CNTL_FLAG_BYPASS_DQ_PLL@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	setne	%dl
	movq	%rdx, 32(%r14)
	movq	_MPLL_CNTL_FLAG_QDR_ENABLE@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	setne	%dl
	movq	%rdx, 24(%r14)
	movq	_MPLL_CNTL_FLAG_AD_HALF_RATE@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	andl	(%rcx), %eax
	setne	%dl
	movq	%rdx, 16(%r14)
	movups	-72(%rbp), %xmm0
	movups	%xmm0, (%r14)
LBB0_2:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_COMMAND,4,2                    ## @COMMAND
	.comm	_ComputeMemoryClockParam,4,2    ## @ComputeMemoryClockParam
	.comm	_MPLL_CNTL_FLAG_VCO_MODE_MASK,4,2 ## @MPLL_CNTL_FLAG_VCO_MODE_MASK
	.comm	_MPLL_CNTL_FLAG_BYPASS_DQ_PLL,4,2 ## @MPLL_CNTL_FLAG_BYPASS_DQ_PLL
	.comm	_MPLL_CNTL_FLAG_QDR_ENABLE,4,2  ## @MPLL_CNTL_FLAG_QDR_ENABLE
	.comm	_MPLL_CNTL_FLAG_AD_HALF_RATE,4,2 ## @MPLL_CNTL_FLAG_AD_HALF_RATE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_atomctrl_get_memory_pll_dividers_si ; -- Begin function atomctrl_get_memory_pll_dividers_si
	.p2align	2
_atomctrl_get_memory_pll_dividers_si:   ; @atomctrl_get_memory_pll_dividers_si
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x20, x3
	mov	x19, x2
	ldr	x21, [x0]
	mov	x0, x1
	bl	_cpu_to_le32
	str	w0, [sp, #56]
	cmp	w20, #0
	cset	w8, ne
	str	x8, [sp, #48]
	ldr	w20, [x21]
Lloh0:
	adrp	x8, _COMMAND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _COMMAND@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _ComputeMemoryClockParam@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ComputeMemoryClockParam@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_GetIndexIntoMasterTable
	mov	x1, x0
	add	x2, sp, #8
	mov	x0, x20
	bl	_amdgpu_atom_execute_table
	mov	x20, x0
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w0, [sp, #44]
	bl	_le16_to_cpu
	str	x0, [x19, #64]
	ldr	w0, [sp, #40]
	bl	_le16_to_cpu
	ldr	x8, [sp, #32]
	stp	x8, x0, [x19, #48]
	ldr	w8, [sp, #8]
Lloh6:
	adrp	x9, _MPLL_CNTL_FLAG_BYPASS_DQ_PLL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MPLL_CNTL_FLAG_BYPASS_DQ_PLL@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w9, ne
Lloh9:
	adrp	x10, _MPLL_CNTL_FLAG_QDR_ENABLE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _MPLL_CNTL_FLAG_QDR_ENABLE@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	tst	w10, w8
	cset	w10, ne
Lloh12:
	adrp	x11, _MPLL_CNTL_FLAG_AD_HALF_RATE@GOTPAGE
Lloh13:
	ldr	x11, [x11, _MPLL_CNTL_FLAG_AD_HALF_RATE@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	tst	w11, w8
Lloh15:
	adrp	x11, _MPLL_CNTL_FLAG_VCO_MODE_MASK@GOTPAGE
Lloh16:
	ldr	x11, [x11, _MPLL_CNTL_FLAG_VCO_MODE_MASK@GOTPAGEOFF]
Lloh17:
	ldr	w11, [x11]
	and	w8, w11, w8
	sxtw	x8, w8
	stp	x9, x8, [x19, #32]
	cset	w8, ne
	stp	x8, x10, [x19, #16]
	ldp	x9, x8, [sp, #16]
	stp	x9, x8, [x19]
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_COMMAND,4,2                    ; @COMMAND
	.comm	_ComputeMemoryClockParam,4,2    ; @ComputeMemoryClockParam
	.comm	_MPLL_CNTL_FLAG_VCO_MODE_MASK,4,2 ; @MPLL_CNTL_FLAG_VCO_MODE_MASK
	.comm	_MPLL_CNTL_FLAG_BYPASS_DQ_PLL,4,2 ; @MPLL_CNTL_FLAG_BYPASS_DQ_PLL
	.comm	_MPLL_CNTL_FLAG_QDR_ENABLE,4,2  ; @MPLL_CNTL_FLAG_QDR_ENABLE
	.comm	_MPLL_CNTL_FLAG_AD_HALF_RATE,4,2 ; @MPLL_CNTL_FLAG_AD_HALF_RATE
.subsections_via_symbols
