	.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, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PPLL_SS_Info@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetIndexIntoMasterTable
	movl	%eax, %r13d
	xorl	%r12d, %r12d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	(%r15), %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), %rax
	movabsq	$17179869180, %rcx              ## imm = 0x3FFFFFFFC
	addq	%rax, %rcx
	shrq	$2, %rcx
	testl	%ecx, %ecx
	jle	LBB0_7
## %bb.2:
	movq	%rbx, %r13
	movslq	-48(%rbp), %r12
	movq	(%r15), %rax
	movslq	(%rax), %r15
	movq	(%r12,%r15), %rax
	movl	%ecx, %edx
	leaq	(%rdx,%rdx,8), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	addq	%rdx, %rcx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%r14d, (%rax,%rbx)
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	$28, %rbx
	cmpq	%rbx, %rcx
	jne	LBB0_3
## %bb.6:
	xorl	%r12d, %r12d
	jmp	LBB0_7
LBB0_4:
	movl	24(%rax,%rbx), %edi
	callq	_le16_to_cpu
	movl	%eax, 20(%r13)
	movq	(%r15,%r12), %rax
	movl	20(%rax,%rbx), %ecx
	movl	%ecx, 16(%r13)
	movups	4(%rax,%rbx), %xmm0
	movups	%xmm0, (%r13)
	movl	$1, %r12d
LBB0_7:
	movl	%r12d, %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, #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	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	x9, x8, x9
	lsr	x8, x9, #2
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.2:
	mov	x22, #0
	ldrsw	x23, [sp, #12]
	ldr	x8, [x21]
	ldrsw	x21, [x8]
	ldr	x8, [x23, x21]
	ubfx	x9, x9, #2, #32
	mov	w10, #28
	mul	x9, x9, x10
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x8, x22]
	cmp	w10, w20
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #28
	cmp	x9, x22
	b.ne	LBB0_3
LBB0_5:
	mov	w0, #0
	b	LBB0_7
LBB0_6:
	add	x8, x8, x22
	ldr	w0, [x8, #24]
	bl	_le16_to_cpu
	str	w0, [x19, #20]
	ldr	x8, [x21, x23]
	add	x8, x8, x22
	ldr	w9, [x8, #20]
	str	w9, [x19, #16]
	ldur	q0, [x8, #4]
	str	q0, [x19]
	mov	w0, #1
LBB0_7:
	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	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
