	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_atomctrl_get_memory_pll_dividers_ai ## -- Begin function atomctrl_get_memory_pll_dividers_ai
	.p2align	4, 0x90
_atomctrl_get_memory_pll_dividers_ai:   ## @atomctrl_get_memory_pll_dividers_ai
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	(%rdi), %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, -36(%rbp)
	movaps	%xmm0, -48(%rbp)
	movl	%esi, %edi
	callq	_cpu_to_le32
	movl	%eax, -44(%rbp)
	movl	(%rbx), %ebx
	movq	_COMMAND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ComputeMemoryClockParam@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetIndexIntoMasterTable
	leaq	-48(%rbp), %rdx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_amdgpu_atom_execute_table
	movl	%eax, %ebx
	movl	$10, %edi
	callq	_udelay
	testl	%ebx, %ebx
	jne	LBB0_2
## %bb.1:
	movl	-36(%rbp), %edi
	callq	_le16_to_cpu
	movq	%rax, 16(%r14)
	movl	-40(%rbp), %edi
	callq	_le16_to_cpu
	movq	%rax, 8(%r14)
	movl	-44(%rbp), %edi
	callq	_le32_to_cpu
	movl	%eax, 4(%r14)
	movl	-48(%rbp), %eax
	movl	%eax, (%r14)
LBB0_2:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_COMMAND,4,2                    ## @COMMAND
	.comm	_ComputeMemoryClockParam,4,2    ## @ComputeMemoryClockParam
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_atomctrl_get_memory_pll_dividers_ai ; -- Begin function atomctrl_get_memory_pll_dividers_ai
	.p2align	2
_atomctrl_get_memory_pll_dividers_ai:   ; @atomctrl_get_memory_pll_dividers_ai
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	ldr	x20, [x0]
	stp	xzr, xzr, [sp]
	str	wzr, [sp, #24]
	str	xzr, [sp, #16]
	mov	x0, x1
	bl	_cpu_to_le32
	str	w0, [sp, #4]
	ldr	w20, [x20]
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
	mov	x2, sp
	mov	x0, x20
	bl	_amdgpu_atom_execute_table
	mov	x20, x0
	mov	w0, #10
	bl	_udelay
	cbnz	w20, LBB0_2
; %bb.1:
	ldr	w0, [sp, #12]
	bl	_le16_to_cpu
	str	x0, [x19, #16]
	ldr	w0, [sp, #8]
	bl	_le16_to_cpu
	str	x0, [x19, #8]
	ldr	w0, [sp, #4]
	bl	_le32_to_cpu
	ldr	w8, [sp]
	stp	w8, w0, [x19]
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_COMMAND,4,2                    ; @COMMAND
	.comm	_ComputeMemoryClockParam,4,2    ; @ComputeMemoryClockParam
.subsections_via_symbols
