	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rv7xx_parse_pplib_non_clock_info
_rv7xx_parse_pplib_non_clock_info:      ## @rv7xx_parse_pplib_non_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	%rcx, %r12
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	16(%rdx), %edi
	callq	_le32_to_cpu
	movq	%rax, 32(%rbx)
	movl	12(%r15), %edi
	callq	_le16_to_cpu
	movl	%eax, (%rbx)
	movl	8(%r15), %edi
	callq	_le16_to_cpu
	movq	%rax, 24(%rbx)
	movq	_ATOM_PPLIB_NONCLOCKINFO_VER1@GOTPCREL(%rip), %rcx
	cmpq	%r12, (%rcx)
	jge	LBB0_2
## %bb.1:
	movl	4(%r15), %edi
	callq	_le32_to_cpu
	movq	%rax, 8(%rbx)
	movl	(%r15), %edi
	callq	_le32_to_cpu
	movq	%rax, %rcx
	movq	24(%rbx), %rax
	jmp	LBB0_3
LBB0_2:
	movq	$0, 8(%rbx)
	xorl	%ecx, %ecx
LBB0_3:
	movq	%rcx, 16(%rbx)
	movl	(%rbx), %edi
	movq	%rax, %rsi
	callq	_r600_is_uvd_state
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	cmpq	$0, 8(%rbx)
	je	LBB0_6
## %bb.5:
	cmpq	$0, 16(%rbx)
	jne	LBB0_7
LBB0_6:
	movq	_RV770_DEFAULT_VCLK_FREQ@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
	movq	_RV770_DEFAULT_DCLK_FREQ@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
LBB0_7:
	movl	(%rbx), %eax
	movq	_ATOM_PPLIB_CLASSIFICATION_BOOT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_9
## %bb.8:
	movq	%rbx, 8(%r14)
LBB0_9:
	movq	_ATOM_PPLIB_CLASSIFICATION_UVDSTATE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_11
## %bb.10:
	movq	%rbx, (%r14)
LBB0_11:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATOM_PPLIB_NONCLOCKINFO_VER1,8,3 ## @ATOM_PPLIB_NONCLOCKINFO_VER1
	.comm	_RV770_DEFAULT_VCLK_FREQ,8,3    ## @RV770_DEFAULT_VCLK_FREQ
	.comm	_RV770_DEFAULT_DCLK_FREQ,8,3    ## @RV770_DEFAULT_DCLK_FREQ
	.comm	_ATOM_PPLIB_CLASSIFICATION_BOOT,4,2 ## @ATOM_PPLIB_CLASSIFICATION_BOOT
	.comm	_ATOM_PPLIB_CLASSIFICATION_UVDSTATE,4,2 ## @ATOM_PPLIB_CLASSIFICATION_UVDSTATE
	.no_dead_strip	_rv7xx_parse_pplib_non_clock_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rv7xx_parse_pplib_non_clock_info
_rv7xx_parse_pplib_non_clock_info:      ; @rv7xx_parse_pplib_non_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, x3
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x2, #16]
	bl	_le32_to_cpu
	str	x0, [x19, #32]
	ldr	w0, [x21, #12]
	bl	_le16_to_cpu
	str	w0, [x19]
	ldr	w0, [x21, #8]
	bl	_le16_to_cpu
	str	x0, [x19, #24]
Lloh0:
	adrp	x8, _ATOM_PPLIB_NONCLOCKINFO_VER1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATOM_PPLIB_NONCLOCKINFO_VER1@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x22
	b.ge	LBB0_2
; %bb.1:
	ldr	w0, [x21, #4]
	bl	_le32_to_cpu
	str	x0, [x19, #8]
	ldr	w0, [x21]
	bl	_le32_to_cpu
	ldr	x1, [x19, #24]
	b	LBB0_3
LBB0_2:
	mov	x1, x0
	mov	x0, #0
	str	xzr, [x19, #8]
LBB0_3:
	str	x0, [x19, #16]
	ldr	w0, [x19]
	bl	_r600_is_uvd_state
	cbz	x0, LBB0_7
; %bb.4:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_6
; %bb.5:
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_7
LBB0_6:
Lloh3:
	adrp	x8, _RV770_DEFAULT_VCLK_FREQ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RV770_DEFAULT_VCLK_FREQ@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _RV770_DEFAULT_DCLK_FREQ@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RV770_DEFAULT_DCLK_FREQ@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	stp	x8, x9, [x19, #8]
LBB0_7:
	ldr	w8, [x19]
Lloh9:
	adrp	x9, _ATOM_PPLIB_CLASSIFICATION_BOOT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ATOM_PPLIB_CLASSIFICATION_BOOT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:
	str	x19, [x20, #8]
LBB0_9:
Lloh12:
	adrp	x9, _ATOM_PPLIB_CLASSIFICATION_UVDSTATE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ATOM_PPLIB_CLASSIFICATION_UVDSTATE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.10:
	str	x19, [x20]
LBB0_11:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_ATOM_PPLIB_NONCLOCKINFO_VER1,8,3 ; @ATOM_PPLIB_NONCLOCKINFO_VER1
	.comm	_RV770_DEFAULT_VCLK_FREQ,8,3    ; @RV770_DEFAULT_VCLK_FREQ
	.comm	_RV770_DEFAULT_DCLK_FREQ,8,3    ; @RV770_DEFAULT_DCLK_FREQ
	.comm	_ATOM_PPLIB_CLASSIFICATION_BOOT,4,2 ; @ATOM_PPLIB_CLASSIFICATION_BOOT
	.comm	_ATOM_PPLIB_CLASSIFICATION_UVDSTATE,4,2 ; @ATOM_PPLIB_CLASSIFICATION_UVDSTATE
	.no_dead_strip	_rv7xx_parse_pplib_non_clock_info
.subsections_via_symbols
