	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radeon_atombios_get_ppll_ss_info ## -- Begin function radeon_atombios_get_ppll_ss_info
	.p2align	4, 0x90
_radeon_atombios_get_ppll_ss_info:      ## @radeon_atombios_get_ppll_ss_info
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PPLL_SS_Info@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetIndexIntoMasterTable
	movl	%eax, %r13d
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	(%r12), %rdi
	leaq	-44(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	leaq	-52(%rbp), %r8
	leaq	-48(%rbp), %r9
	movl	%r13d, %esi
	callq	_atom_parse_data_header
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movslq	-44(%rbp), %rcx
	movabsq	$17179869180, %rax              ## imm = 0x3FFFFFFFC
	addq	%rcx, %rax
	shrq	$2, %rax
	testl	%eax, %eax
	jle	LBB0_7
## %bb.2:
	movslq	-48(%rbp), %rcx
	movq	(%r12), %rdx
	movslq	(%rdx), %rdx
	movq	(%rcx,%rdx), %rbx
	addq	$24, %rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%r15d, -24(%rbx)
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	$112, %rbx
	decl	%eax
	jne	LBB0_3
## %bb.6:
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_4:
	movl	(%rbx), %edi
	callq	_le16_to_cpu
	movl	%eax, 20(%r14)
	movl	-4(%rbx), %eax
	movl	%eax, 16(%r14)
	movups	-20(%rbx), %xmm0
	movups	%xmm0, (%r14)
	movl	$1, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DATA,4,2                       ## @DATA
	.comm	_PPLL_SS_Info,4,2               ## @PPLL_SS_Info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_radeon_atombios_get_ppll_ss_info ; -- Begin function radeon_atombios_get_ppll_ss_info
	.p2align	2
_radeon_atombios_get_ppll_ss_info:      ; @radeon_atombios_get_ppll_ss_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DATA@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _PPLL_SS_Info@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PPLL_SS_Info@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_GetIndexIntoMasterTable
	mov	x22, x0
	mov	x0, x19
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	ldr	x0, [x21]
	add	x2, sp, #8
	add	x3, sp, #4
	mov	x4, sp
	add	x5, sp, #12
	mov	x1, x22
	bl	_atom_parse_data_header
	cbz	x0, LBB0_7
; %bb.1:
	ldrsw	x8, [sp, #8]
	mov	x9, #17179869180
	add	x8, x8, x9
	lsr	x8, x8, #2
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.2:
	ldrsw	x9, [sp, #12]
	ldr	x10, [x21]
	ldrsw	x10, [x10]
	ldr	x9, [x9, x10]
	add	x21, x9, #24
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w9, [x21, #-24]
	cmp	w9, w20
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #112
	subs	w8, w8, #1
	b.ne	LBB0_3
LBB0_5:
	mov	w0, #0
	b	LBB0_7
LBB0_6:
	ldr	w0, [x21]
	bl	_le16_to_cpu
	str	w0, [x19, #20]
	ldur	w8, [x21, #-4]
	str	w8, [x19, #16]
	ldur	q0, [x21, #-20]
	str	q0, [x19]
	mov	w0, #1
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DATA,4,2                       ; @DATA
	.comm	_PPLL_SS_Info,4,2               ; @PPLL_SS_Info
.subsections_via_symbols
