	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rs780_parse_pplib_clock_info
_rs780_parse_pplib_clock_info:          ## @rs780_parse_pplib_clock_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_rs780_get_ps
	movq	%rax, %rbx
	movl	20(%r12), %edi
	callq	_le16_to_cpu
	movl	(%r12), %ecx
	shll	$16, %ecx
	orl	%eax, %ecx
	movl	%ecx, (%rbx)
	movl	16(%r12), %edi
	callq	_le16_to_cpu
	movl	4(%r12), %ecx
	shll	$16, %ecx
	orl	%eax, %ecx
	movl	%ecx, 4(%rbx)
	movl	12(%r12), %edi
	callq	_le16_to_cpu
	cmpl	$128, %eax
	je	LBB0_7
## %bb.1:
	cmpl	$130, %eax
	je	LBB0_5
## %bb.2:
	cmpl	$131, %eax
	jne	LBB0_3
## %bb.6:
	movq	_RS780_VDDC_LEVEL_HIGH@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_7:
	movq	_RS780_VDDC_LEVEL_LOW@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	movq	_RS780_VDDC_LEVEL_HIGH@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_8
LBB0_5:
	movq	_RS780_VDDC_LEVEL_LOW@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movq	_RS780_VDDC_LEVEL_UNKNOWN@GOTPCREL(%rip), %rax
LBB0_4:
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
LBB0_8:
	movq	%rax, 8(%rbx)
	movl	8(%r12), %edi
	callq	_le32_to_cpu
	movl	%eax, 24(%rbx)
	movq	_ATOM_PPLIB_CLASSIFICATION_BOOT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_10
## %bb.9:
	movl	(%r14), %eax
	movl	%eax, (%rbx)
	movl	%eax, 4(%rbx)
	movq	_RS780_VDDC_LEVEL_HIGH@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	movq	%rax, 8(%rbx)
LBB0_10:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RS780_VDDC_LEVEL_UNKNOWN,8,3   ## @RS780_VDDC_LEVEL_UNKNOWN
	.comm	_RS780_VDDC_LEVEL_LOW,8,3       ## @RS780_VDDC_LEVEL_LOW
	.comm	_RS780_VDDC_LEVEL_HIGH,8,3      ## @RS780_VDDC_LEVEL_HIGH
	.comm	_ATOM_PPLIB_CLASSIFICATION_BOOT,4,2 ## @ATOM_PPLIB_CLASSIFICATION_BOOT
	.no_dead_strip	_rs780_parse_pplib_clock_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rs780_parse_pplib_clock_info
_rs780_parse_pplib_clock_info:          ; @rs780_parse_pplib_clock_info
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x22, x2
	mov	x21, x1
	mov	x20, x0
	mov	x0, x1
	bl	_rs780_get_ps
	mov	x19, x0
	ldr	w0, [x22, #20]
	bl	_le16_to_cpu
	ldr	w8, [x22]
	orr	w8, w0, w8, lsl #16
	str	w8, [x19]
	ldr	w0, [x22, #16]
	bl	_le16_to_cpu
	ldr	w8, [x22, #4]
	orr	w8, w0, w8, lsl #16
	str	w8, [x19, #4]
	ldr	w0, [x22, #12]
	bl	_le16_to_cpu
	cmp	w0, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w0, #130
	b.eq	LBB0_5
; %bb.2:
	cmp	w0, #131
	b.ne	LBB0_6
; %bb.3:
Lloh0:
	adrp	x8, _RS780_VDDC_LEVEL_HIGH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RS780_VDDC_LEVEL_HIGH@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
Lloh2:
	adrp	x8, _RS780_VDDC_LEVEL_LOW@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RS780_VDDC_LEVEL_LOW@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	str	x8, [x19, #16]
Lloh5:
	adrp	x8, _RS780_VDDC_LEVEL_HIGH@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RS780_VDDC_LEVEL_HIGH@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	b	LBB0_8
LBB0_5:
Lloh8:
	adrp	x8, _RS780_VDDC_LEVEL_LOW@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RS780_VDDC_LEVEL_LOW@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh10:
	adrp	x8, _RS780_VDDC_LEVEL_UNKNOWN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RS780_VDDC_LEVEL_UNKNOWN@GOTPAGEOFF]
LBB0_7:
	ldr	x8, [x8]
	str	x8, [x19, #16]
LBB0_8:
	str	x8, [x19, #8]
	ldr	w0, [x22, #8]
	bl	_le32_to_cpu
	str	w0, [x19, #24]
	ldr	w8, [x21]
Lloh12:
	adrp	x9, _ATOM_PPLIB_CLASSIFICATION_BOOT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ATOM_PPLIB_CLASSIFICATION_BOOT@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.9:
	ldr	w8, [x20]
	stp	w8, w8, [x19]
Lloh15:
	adrp	x8, _RS780_VDDC_LEVEL_HIGH@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RS780_VDDC_LEVEL_HIGH@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	stp	x8, x8, [x19, #8]
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_RS780_VDDC_LEVEL_UNKNOWN,8,3   ; @RS780_VDDC_LEVEL_UNKNOWN
	.comm	_RS780_VDDC_LEVEL_LOW,8,3       ; @RS780_VDDC_LEVEL_LOW
	.comm	_RS780_VDDC_LEVEL_HIGH,8,3      ; @RS780_VDDC_LEVEL_HIGH
	.comm	_ATOM_PPLIB_CLASSIFICATION_BOOT,4,2 ; @ATOM_PPLIB_CLASSIFICATION_BOOT
	.no_dead_strip	_rs780_parse_pplib_clock_info
.subsections_via_symbols
