	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vega10_print_clock_levels
_vega10_print_clock_levels:             ## @vega10_print_clock_levels
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $esi killed $esi def $rsi
	xorl	%r12d, %r12d
	addl	$-128, %esi
	cmpl	$7, %esi
	ja	LBB0_35
## %bb.1:
	movq	%rdx, %r14
	movq	%rdi, %r15
	movq	16(%rdi), %r13
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	jmpq	*%rcx
LBB0_10:
	cmpl	$0, 60(%r13)
	jne	LBB0_35
## %bb.11:
	movq	_PPSMC_MSG_GetCurrentSocclkIndex@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_smum_send_msg_to_smc
	movq	%r15, %rdi
	callq	_smum_get_argument
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpl	$0, 104(%r13)
	jle	LBB0_35
## %bb.12:
	movl	%eax, %r14d
	leaq	L_.str(%rip), %r15
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movslq	%r12d, %r12
	leaq	(%rcx,%r12), %rdi
	movq	112(%r13), %rax
	movslq	(%rax,%rbx,4), %rax
	imulq	$1374389535, %rax, %rcx         ## imm = 0x51EB851F
	movq	%rcx, %rax
	shrq	$63, %rax
	sarq	$37, %rcx
	addl	%eax, %ecx
	cmpq	%rbx, %r14
	leaq	L_.str.2(%rip), %r8
	leaq	L_.str.1(%rip), %rax
	cmoveq	%rax, %r8
	movq	%r15, %rsi
	movl	%ebx, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_sprintf
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addl	%eax, %r12d
	incq	%rbx
	movslq	104(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_13
	jmp	LBB0_35
LBB0_2:
	cmpl	$0, 68(%r13)
	jne	LBB0_35
## %bb.3:
	movq	_PPSMC_MSG_GetCurrentGfxclkIndex@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_smum_send_msg_to_smc
	movq	%r15, %rdi
	callq	_smum_get_argument
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpl	$0, 136(%r13)
	jle	LBB0_35
## %bb.4:
	movl	%eax, %r14d
	leaq	L_.str(%rip), %r15
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%r12d, %r12
	leaq	(%rcx,%r12), %rdi
	movq	144(%r13), %rax
	movslq	(%rax,%rbx,4), %rax
	imulq	$1374389535, %rax, %rcx         ## imm = 0x51EB851F
	movq	%rcx, %rax
	shrq	$63, %rax
	sarq	$37, %rcx
	addl	%eax, %ecx
	cmpq	%rbx, %r14
	leaq	L_.str.2(%rip), %r8
	leaq	L_.str.1(%rip), %rax
	cmoveq	%rax, %r8
	movq	%r15, %rsi
	movl	%ebx, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_sprintf
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addl	%eax, %r12d
	incq	%rbx
	movslq	136(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_5
	jmp	LBB0_35
LBB0_18:
	movq	_PPSMC_MSG_GetCurrentLinkIndex@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_smum_send_msg_to_smc
	movq	%r15, %rdi
	callq	_smum_get_argument
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpl	$0, 72(%r13)
	jle	LBB0_35
## %bb.19:
	movl	%eax, %r15d
	leaq	L_.str.2(%rip), %r14
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_20 Depth=1
	leaq	L_.str.5(%rip), %rcx
LBB0_24:                                ##   in Loop: Header=BB0_20 Depth=1
	cmpq	%rbx, %r15
	movq	%r14, %r8
	leaq	L_.str.1(%rip), %rax
	cmoveq	%rax, %r8
	leaq	L_.str.3(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_sprintf
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addl	%eax, %r12d
	incq	%rbx
	movslq	72(%r13), %rax
	cmpq	%rax, %rbx
	jge	LBB0_35
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movslq	%r12d, %rdi
	addq	%rcx, %rdi
	movq	80(%r13), %rax
	movl	(%rax,%rbx,4), %eax
	leaq	L_.str.4(%rip), %rcx
	testl	%eax, %eax
	je	LBB0_24
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	cmpl	$1, %eax
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_20 Depth=1
	cmpl	$2, %eax
	movq	%r14, %rcx
	leaq	L_.str.6(%rip), %rax
	cmoveq	%rax, %rcx
	jmp	LBB0_24
LBB0_6:
	cmpl	$0, 64(%r13)
	jne	LBB0_35
## %bb.7:
	movq	_PPSMC_MSG_GetCurrentUclkIndex@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_smum_send_msg_to_smc
	movq	%r15, %rdi
	callq	_smum_get_argument
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpl	$0, 120(%r13)
	jle	LBB0_35
## %bb.8:
	movl	%eax, %r14d
	leaq	L_.str(%rip), %r15
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%r12d, %r12
	leaq	(%rcx,%r12), %rdi
	movq	128(%r13), %rax
	movslq	(%rax,%rbx,4), %rax
	imulq	$1374389535, %rax, %rcx         ## imm = 0x51EB851F
	movq	%rcx, %rax
	shrq	$63, %rax
	sarq	$37, %rcx
	addl	%eax, %ecx
	cmpq	%rbx, %r14
	leaq	L_.str.2(%rip), %r8
	leaq	L_.str.1(%rip), %rax
	cmoveq	%rax, %r8
	movq	%r15, %rsi
	movl	%ebx, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_sprintf
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addl	%eax, %r12d
	incq	%rbx
	movslq	120(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_9
	jmp	LBB0_35
LBB0_14:
	cmpl	$0, 56(%r13)
	jne	LBB0_35
## %bb.15:
	movq	_PPSMC_MSG_GetClockFreqMHz@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CLK_DCEFCLK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_smum_send_msg_to_smc_with_parameter
	movq	%r15, %rdi
	callq	_smum_get_argument
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpl	$0, 88(%r13)
	jle	LBB0_35
## %bb.16:
	movl	%eax, %r15d
	leaq	L_.str.2(%rip), %r14
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movslq	%r12d, %r12
	leaq	(%rcx,%r12), %rdi
	movq	96(%r13), %rax
	movslq	(%rax,%rbx,4), %rax
	imulq	$1374389535, %rax, %rcx         ## imm = 0x51EB851F
	movq	%rcx, %rax
	shrq	$63, %rax
	sarq	$37, %rcx
	addl	%eax, %ecx
	cmpl	%r15d, %ecx
	movq	%r14, %r8
	leaq	L_.str.1(%rip), %rax
	cmoveq	%rax, %r8
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_sprintf
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addl	%eax, %r12d
	incq	%rbx
	movslq	88(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_17
	jmp	LBB0_35
LBB0_25:
	cmpl	$0, 8(%r15)
	je	LBB0_35
## %bb.26:
	leaq	L_.str.7(%rip), %rsi
	leaq	L_.str.8(%rip), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_sprintf
	movl	%eax, %r12d
	cmpl	$0, 24(%r13)
	jle	LBB0_35
## %bb.27:
	leaq	L_.str.9(%rip), %r15
	xorl	%ebx, %ebx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movslq	%r12d, %r12
	leaq	(%rcx,%r12), %rdi
	movq	32(%r13), %rax
	movslq	(%rax,%rbx,8), %rcx
	imulq	$1374389535, %rcx, %rcx         ## imm = 0x51EB851F
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$37, %rcx
	addl	%edx, %ecx
	movl	4(%rax,%rbx,8), %r8d
	movq	%r15, %rsi
	movl	%ebx, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_sprintf
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addl	%eax, %r12d
	incq	%rbx
	movslq	24(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_28
	jmp	LBB0_35
LBB0_33:
	cmpl	$0, 8(%r15)
	je	LBB0_35
## %bb.34:
	leaq	L_.str.7(%rip), %rsi
	leaq	L_.str.11(%rip), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_sprintf
	movslq	%eax, %rbx
	leaq	(%r14,%rbx), %rdi
	movq	48(%r13), %rax
	movslq	(%rax), %rax
	imulq	$1374389535, %rax, %rdx         ## imm = 0x51EB851F
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	$37, %rdx
	addl	%eax, %edx
	movslq	(%r15), %rax
	imulq	$1374389535, %rax, %rcx         ## imm = 0x51EB851F
	movq	%rcx, %rax
	shrq	$63, %rax
	sarq	$37, %rcx
	addl	%eax, %ecx
	leaq	L_.str.12(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_sprintf
	addl	%eax, %ebx
	movslq	%ebx, %rbx
	leaq	(%r14,%rbx), %rdi
	movq	40(%r13), %rax
	movslq	(%rax), %rax
	imulq	$1374389535, %rax, %rdx         ## imm = 0x51EB851F
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	$37, %rdx
	addl	%eax, %edx
	movslq	4(%r15), %rax
	imulq	$1374389535, %rax, %rcx         ## imm = 0x51EB851F
	movq	%rcx, %rax
	shrq	$63, %rax
	sarq	$37, %rcx
	addl	%eax, %ecx
	leaq	L_.str.13(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_sprintf
	addl	%eax, %ebx
	movslq	%ebx, %r12
	addq	%r12, %r14
	movl	(%r13), %edx
	movl	4(%r13), %ecx
	leaq	L_.str.14(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_sprintf
	addl	%eax, %r12d
	jmp	LBB0_35
LBB0_29:
	cmpl	$0, 8(%r15)
	je	LBB0_35
## %bb.30:
	leaq	L_.str.7(%rip), %rsi
	leaq	L_.str.10(%rip), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_sprintf
	movl	%eax, %r12d
	cmpl	$0, 8(%r13)
	jle	LBB0_35
## %bb.31:
	leaq	L_.str.9(%rip), %r15
	xorl	%ebx, %ebx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_32:                                ## =>This Inner Loop Header: Depth=1
	movslq	%r12d, %r12
	leaq	(%rcx,%r12), %rdi
	movq	16(%r13), %rax
	movslq	(%rax,%rbx,8), %rcx
	imulq	$1374389535, %rcx, %rcx         ## imm = 0x51EB851F
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$37, %rcx
	addl	%edx, %ecx
	movl	4(%rax,%rbx,8), %r8d
	movq	%r15, %rsi
	movl	%ebx, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_sprintf
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addl	%eax, %r12d
	incq	%rbx
	movslq	8(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_32
LBB0_35:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_33, LBB0_33-LJTI0_0
.set L0_0_set_29, LBB0_29-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_2
	.long	L0_0_set_18
	.long	L0_0_set_6
	.long	L0_0_set_14
	.long	L0_0_set_25
	.long	L0_0_set_33
	.long	L0_0_set_29
	.end_data_region
                                        ## -- End function
	.comm	_PPSMC_MSG_GetCurrentGfxclkIndex,4,2 ## @PPSMC_MSG_GetCurrentGfxclkIndex
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d: %uMhz %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"*"

L_.str.2:                               ## @.str.2
	.space	1

	.comm	_PPSMC_MSG_GetCurrentUclkIndex,4,2 ## @PPSMC_MSG_GetCurrentUclkIndex
	.comm	_PPSMC_MSG_GetCurrentSocclkIndex,4,2 ## @PPSMC_MSG_GetCurrentSocclkIndex
	.comm	_PPSMC_MSG_GetClockFreqMHz,4,2  ## @PPSMC_MSG_GetClockFreqMHz
	.comm	_CLK_DCEFCLK,4,2                ## @CLK_DCEFCLK
	.comm	_PPSMC_MSG_GetCurrentLinkIndex,4,2 ## @PPSMC_MSG_GetCurrentLinkIndex
L_.str.3:                               ## @.str.3
	.asciz	"%d: %s %s\n"

L_.str.4:                               ## @.str.4
	.asciz	"2.5GT/s, x1"

L_.str.5:                               ## @.str.5
	.asciz	"5.0GT/s, x16"

L_.str.6:                               ## @.str.6
	.asciz	"8.0GT/s, x16"

L_.str.7:                               ## @.str.7
	.asciz	"%s:\n"

L_.str.8:                               ## @.str.8
	.asciz	"OD_SCLK"

L_.str.9:                               ## @.str.9
	.asciz	"%d: %10uMhz %10umV\n"

L_.str.10:                              ## @.str.10
	.asciz	"OD_MCLK"

L_.str.11:                              ## @.str.11
	.asciz	"OD_RANGE"

L_.str.12:                              ## @.str.12
	.asciz	"SCLK: %7uMHz %10uMHz\n"

L_.str.13:                              ## @.str.13
	.asciz	"MCLK: %7uMHz %10uMHz\n"

L_.str.14:                              ## @.str.14
	.asciz	"VDDC: %7umV %11umV\n"

	.no_dead_strip	_vega10_print_clock_levels
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vega10_print_clock_levels
_vega10_print_clock_levels:             ; @vega10_print_clock_levels
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	w8, w1, #128
	cmp	w8, #7
	b.hi	LBB0_31
; %bb.1:
	mov	x22, x2
	mov	x20, x0
	ldr	x23, [x0, #16]
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrh	w11, [x9, x8, lsl #1]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w8, [x23, #60]
	cbnz	w8, LBB0_31
; %bb.3:
Lloh2:
	adrp	x8, _PPSMC_MSG_GetCurrentSocclkIndex@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PPSMC_MSG_GetCurrentSocclkIndex@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_smum_send_msg_to_smc
	mov	x0, x20
	bl	_smum_get_argument
	ldr	w8, [x23, #104]
	cmp	w8, #1
	b.lt	LBB0_31
; %bb.4:
	mov	x27, x22
	mov	x22, #0
	mov	w20, #0
	mov	w24, w0
	mov	w25, #34079
	movk	w25, #20971, lsl #16
Lloh5:
	adrp	x26, l_.str.2@PAGE
Lloh6:
	add	x26, x26, l_.str.2@PAGEOFF
Lloh7:
	adrp	x19, l_.str.1@PAGE
Lloh8:
	add	x19, x19, l_.str.1@PAGEOFF
Lloh9:
	adrp	x21, l_.str@PAGE
Lloh10:
	add	x21, x21, l_.str@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x27, w20, sxtw
	ldr	x8, [x23, #112]
	ldrsw	x8, [x8, x22, lsl #2]
	mul	x8, x8, x25
	lsr	x9, x8, #63
	asr	x8, x8, #37
	add	w8, w8, w9
	cmp	x24, x22
	csel	x9, x19, x26, eq
	stp	x8, x9, [sp, #8]
	str	x22, [sp]
	mov	x1, x21
	bl	_sprintf
	add	w20, w0, w20
	add	x22, x22, #1
	ldrsw	x8, [x23, #104]
	cmp	x22, x8
	b.lt	LBB0_5
	b	LBB0_32
LBB0_6:
	ldr	w8, [x23, #68]
	cbnz	w8, LBB0_31
; %bb.7:
Lloh11:
	adrp	x8, _PPSMC_MSG_GetCurrentGfxclkIndex@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PPSMC_MSG_GetCurrentGfxclkIndex@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_smum_send_msg_to_smc
	mov	x0, x20
	bl	_smum_get_argument
	ldr	w8, [x23, #136]
	cmp	w8, #1
	b.lt	LBB0_31
; %bb.8:
	mov	x27, x22
	mov	x22, #0
	mov	w20, #0
	mov	w24, w0
	mov	w25, #34079
	movk	w25, #20971, lsl #16
Lloh14:
	adrp	x26, l_.str.2@PAGE
Lloh15:
	add	x26, x26, l_.str.2@PAGEOFF
Lloh16:
	adrp	x19, l_.str.1@PAGE
Lloh17:
	add	x19, x19, l_.str.1@PAGEOFF
Lloh18:
	adrp	x21, l_.str@PAGE
Lloh19:
	add	x21, x21, l_.str@PAGEOFF
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x27, w20, sxtw
	ldr	x8, [x23, #144]
	ldrsw	x8, [x8, x22, lsl #2]
	mul	x8, x8, x25
	lsr	x9, x8, #63
	asr	x8, x8, #37
	add	w8, w8, w9
	cmp	x24, x22
	csel	x9, x19, x26, eq
	stp	x8, x9, [sp, #8]
	str	x22, [sp]
	mov	x1, x21
	bl	_sprintf
	add	w20, w0, w20
	add	x22, x22, #1
	ldrsw	x8, [x23, #136]
	cmp	x22, x8
	b.lt	LBB0_9
	b	LBB0_32
LBB0_10:
Lloh20:
	adrp	x8, _PPSMC_MSG_GetCurrentLinkIndex@GOTPAGE
Lloh21:
	ldr	x8, [x8, _PPSMC_MSG_GetCurrentLinkIndex@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_smum_send_msg_to_smc
	mov	x0, x20
	bl	_smum_get_argument
	ldr	w8, [x23, #72]
	cmp	w8, #1
	b.lt	LBB0_31
; %bb.11:
	mov	x25, x22
	mov	x22, #0
	mov	w20, #0
	mov	w24, w0
Lloh23:
	adrp	x26, l_.str.5@PAGE
Lloh24:
	add	x26, x26, l_.str.5@PAGEOFF
Lloh25:
	adrp	x27, l_.str.2@PAGE
Lloh26:
	add	x27, x27, l_.str.2@PAGEOFF
Lloh27:
	adrp	x28, l_.str.6@PAGE
Lloh28:
	add	x28, x28, l_.str.6@PAGEOFF
Lloh29:
	adrp	x19, l_.str.1@PAGE
Lloh30:
	add	x19, x19, l_.str.1@PAGEOFF
Lloh31:
	adrp	x21, l_.str.3@PAGE
Lloh32:
	add	x21, x21, l_.str.3@PAGEOFF
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	add	x0, x25, w20, sxtw
	ldr	x8, [x23, #80]
	ldr	w8, [x8, x22, lsl #2]
	cmp	w8, #2
	csel	x9, x28, x27, eq
	cmp	w8, #1
	csel	x9, x26, x9, eq
	cmp	w8, #0
Lloh33:
	adrp	x8, l_.str.4@PAGE
Lloh34:
	add	x8, x8, l_.str.4@PAGEOFF
	csel	x8, x8, x9, eq
	cmp	x24, x22
	csel	x9, x19, x27, eq
	stp	x22, x8, [sp]
	str	x9, [sp, #16]
	mov	x1, x21
	bl	_sprintf
	add	w20, w0, w20
	add	x22, x22, #1
	ldrsw	x8, [x23, #72]
	cmp	x22, x8
	b.lt	LBB0_12
	b	LBB0_32
LBB0_13:
	ldr	w8, [x23, #64]
	cbnz	w8, LBB0_31
; %bb.14:
Lloh35:
	adrp	x8, _PPSMC_MSG_GetCurrentUclkIndex@GOTPAGE
Lloh36:
	ldr	x8, [x8, _PPSMC_MSG_GetCurrentUclkIndex@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_smum_send_msg_to_smc
	mov	x0, x20
	bl	_smum_get_argument
	ldr	w8, [x23, #120]
	cmp	w8, #1
	b.lt	LBB0_31
; %bb.15:
	mov	x27, x22
	mov	x22, #0
	mov	w20, #0
	mov	w24, w0
	mov	w25, #34079
	movk	w25, #20971, lsl #16
Lloh38:
	adrp	x26, l_.str.2@PAGE
Lloh39:
	add	x26, x26, l_.str.2@PAGEOFF
Lloh40:
	adrp	x19, l_.str.1@PAGE
Lloh41:
	add	x19, x19, l_.str.1@PAGEOFF
Lloh42:
	adrp	x21, l_.str@PAGE
Lloh43:
	add	x21, x21, l_.str@PAGEOFF
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	add	x0, x27, w20, sxtw
	ldr	x8, [x23, #128]
	ldrsw	x8, [x8, x22, lsl #2]
	mul	x8, x8, x25
	lsr	x9, x8, #63
	asr	x8, x8, #37
	add	w8, w8, w9
	cmp	x24, x22
	csel	x9, x19, x26, eq
	stp	x8, x9, [sp, #8]
	str	x22, [sp]
	mov	x1, x21
	bl	_sprintf
	add	w20, w0, w20
	add	x22, x22, #1
	ldrsw	x8, [x23, #120]
	cmp	x22, x8
	b.lt	LBB0_16
	b	LBB0_32
LBB0_17:
	ldr	w8, [x23, #56]
	cbnz	w8, LBB0_31
; %bb.18:
Lloh44:
	adrp	x8, _PPSMC_MSG_GetClockFreqMHz@GOTPAGE
Lloh45:
	ldr	x8, [x8, _PPSMC_MSG_GetClockFreqMHz@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
Lloh47:
	adrp	x8, _CLK_DCEFCLK@GOTPAGE
Lloh48:
	ldr	x8, [x8, _CLK_DCEFCLK@GOTPAGEOFF]
Lloh49:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_smum_send_msg_to_smc_with_parameter
	mov	x0, x20
	bl	_smum_get_argument
	ldr	w8, [x23, #88]
	cmp	w8, #1
	b.lt	LBB0_31
; %bb.19:
	mov	x21, x0
	mov	x24, #0
	mov	w20, #0
	mov	w25, #34079
	movk	w25, #20971, lsl #16
Lloh50:
	adrp	x26, l_.str.2@PAGE
Lloh51:
	add	x26, x26, l_.str.2@PAGEOFF
Lloh52:
	adrp	x19, l_.str.1@PAGE
Lloh53:
	add	x19, x19, l_.str.1@PAGEOFF
	mov	x27, x22
Lloh54:
	adrp	x22, l_.str@PAGE
Lloh55:
	add	x22, x22, l_.str@PAGEOFF
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	add	x0, x27, w20, sxtw
	ldr	x8, [x23, #96]
	ldrsw	x8, [x8, x24, lsl #2]
	mul	x8, x8, x25
	lsr	x9, x8, #63
	asr	x8, x8, #37
	add	w8, w8, w9
	cmp	w8, w21
	csel	x9, x19, x26, eq
	stp	x24, x8, [sp]
	str	x9, [sp, #16]
	mov	x1, x22
	bl	_sprintf
	add	w20, w0, w20
	add	x24, x24, #1
	ldrsw	x8, [x23, #88]
	cmp	x24, x8
	b.lt	LBB0_20
	b	LBB0_32
LBB0_21:
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_31
; %bb.22:
Lloh56:
	adrp	x8, l_.str.8@PAGE
Lloh57:
	add	x8, x8, l_.str.8@PAGEOFF
	str	x8, [sp]
Lloh58:
	adrp	x1, l_.str.7@PAGE
Lloh59:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x22
	bl	_sprintf
	mov	x20, x0
	ldr	w8, [x23, #24]
	cmp	w8, #1
	b.lt	LBB0_32
; %bb.23:
	mov	x19, x22
	mov	x22, #0
	mov	x24, #0
	mov	w25, #34079
	movk	w25, #20971, lsl #16
Lloh60:
	adrp	x21, l_.str.9@PAGE
Lloh61:
	add	x21, x21, l_.str.9@PAGEOFF
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	add	x0, x19, w20, sxtw
	ldr	x8, [x23, #32]
	add	x8, x8, x22
	ldp	w9, w8, [x8]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	mul	x9, x9, x25
	lsr	x10, x9, #32
	lsr	x9, x9, #63
	add	w9, w9, w10, asr #5
	stp	x9, x8, [sp, #8]
	str	x24, [sp]
	mov	x1, x21
	bl	_sprintf
	add	w20, w0, w20
	add	x24, x24, #1
	ldrsw	x8, [x23, #24]
	add	x22, x22, #8
	cmp	x24, x8
	b.lt	LBB0_24
	b	LBB0_32
LBB0_25:
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_31
; %bb.26:
Lloh62:
	adrp	x8, l_.str.11@PAGE
Lloh63:
	add	x8, x8, l_.str.11@PAGEOFF
	str	x8, [sp]
Lloh64:
	adrp	x1, l_.str.7@PAGE
Lloh65:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x22
	bl	_sprintf
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x19, w0
	add	x0, x22, x19
	ldr	x8, [x23, #48]
	ldrsw	x8, [x8]
	mov	w21, #34079
	movk	w21, #20971, lsl #16
	mul	x8, x8, x21
	lsr	x9, x8, #63
	asr	x8, x8, #37
	add	w8, w8, w9
	ldrsw	x9, [x20]
	mul	x9, x9, x21
	lsr	x10, x9, #63
	asr	x9, x9, #37
	add	w9, w9, w10
	stp	x8, x9, [sp]
Lloh66:
	adrp	x1, l_.str.12@PAGE
Lloh67:
	add	x1, x1, l_.str.12@PAGEOFF
	bl	_sprintf
	add	x19, x19, w0, sxtw
	add	x0, x22, x19
	ldr	x8, [x23, #40]
	ldrsw	x8, [x8]
	mul	x8, x8, x21
	lsr	x9, x8, #63
	asr	x8, x8, #37
	add	w8, w8, w9
	ldrsw	x9, [x20, #4]
	mul	x9, x9, x21
	lsr	x10, x9, #63
	asr	x9, x9, #37
	add	w9, w9, w10
	stp	x8, x9, [sp]
Lloh68:
	adrp	x1, l_.str.13@PAGE
Lloh69:
	add	x1, x1, l_.str.13@PAGEOFF
	bl	_sprintf
	add	w19, w0, w19
	add	x0, x22, w19, sxtw
	ldp	w8, w9, [x23]
	stp	x8, x9, [sp]
Lloh70:
	adrp	x1, l_.str.14@PAGE
Lloh71:
	add	x1, x1, l_.str.14@PAGEOFF
	bl	_sprintf
	add	w20, w0, w19
	b	LBB0_32
LBB0_27:
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_31
; %bb.28:
Lloh72:
	adrp	x8, l_.str.10@PAGE
Lloh73:
	add	x8, x8, l_.str.10@PAGEOFF
	str	x8, [sp]
Lloh74:
	adrp	x1, l_.str.7@PAGE
Lloh75:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x22
	bl	_sprintf
	mov	x20, x0
	ldr	w8, [x23, #8]
	cmp	w8, #1
	b.lt	LBB0_32
; %bb.29:
	mov	x19, x22
	mov	x22, #0
	mov	x24, #0
	mov	w25, #34079
	movk	w25, #20971, lsl #16
Lloh76:
	adrp	x21, l_.str.9@PAGE
Lloh77:
	add	x21, x21, l_.str.9@PAGEOFF
LBB0_30:                                ; =>This Inner Loop Header: Depth=1
	add	x0, x19, w20, sxtw
	ldr	x8, [x23, #16]
	add	x8, x8, x22
	ldp	w9, w8, [x8]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	mul	x9, x9, x25
	lsr	x10, x9, #63
	asr	x9, x9, #37
	add	w9, w9, w10
	stp	x9, x8, [sp, #8]
	str	x24, [sp]
	mov	x1, x21
	bl	_sprintf
	add	w20, w0, w20
	add	x24, x24, #1
	ldrsw	x8, [x23, #8]
	add	x22, x22, #8
	cmp	x24, x8
	b.lt	LBB0_30
	b	LBB0_32
LBB0_31:
	mov	w20, #0
LBB0_32:
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpAdd	Lloh76, Lloh77
	.cfi_endproc
	.section	__TEXT,__const
	.p2align	1
lJTI0_0:
	.short	(LBB0_2-LBB0_2)>>2
	.short	(LBB0_6-LBB0_2)>>2
	.short	(LBB0_10-LBB0_2)>>2
	.short	(LBB0_13-LBB0_2)>>2
	.short	(LBB0_17-LBB0_2)>>2
	.short	(LBB0_21-LBB0_2)>>2
	.short	(LBB0_25-LBB0_2)>>2
	.short	(LBB0_27-LBB0_2)>>2
                                        ; -- End function
	.comm	_PPSMC_MSG_GetCurrentGfxclkIndex,4,2 ; @PPSMC_MSG_GetCurrentGfxclkIndex
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d: %uMhz %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"*"

l_.str.2:                               ; @.str.2
	.space	1

	.comm	_PPSMC_MSG_GetCurrentUclkIndex,4,2 ; @PPSMC_MSG_GetCurrentUclkIndex
	.comm	_PPSMC_MSG_GetCurrentSocclkIndex,4,2 ; @PPSMC_MSG_GetCurrentSocclkIndex
	.comm	_PPSMC_MSG_GetClockFreqMHz,4,2  ; @PPSMC_MSG_GetClockFreqMHz
	.comm	_CLK_DCEFCLK,4,2                ; @CLK_DCEFCLK
	.comm	_PPSMC_MSG_GetCurrentLinkIndex,4,2 ; @PPSMC_MSG_GetCurrentLinkIndex
l_.str.3:                               ; @.str.3
	.asciz	"%d: %s %s\n"

l_.str.4:                               ; @.str.4
	.asciz	"2.5GT/s, x1"

l_.str.5:                               ; @.str.5
	.asciz	"5.0GT/s, x16"

l_.str.6:                               ; @.str.6
	.asciz	"8.0GT/s, x16"

l_.str.7:                               ; @.str.7
	.asciz	"%s:\n"

l_.str.8:                               ; @.str.8
	.asciz	"OD_SCLK"

l_.str.9:                               ; @.str.9
	.asciz	"%d: %10uMhz %10umV\n"

l_.str.10:                              ; @.str.10
	.asciz	"OD_MCLK"

l_.str.11:                              ; @.str.11
	.asciz	"OD_RANGE"

l_.str.12:                              ; @.str.12
	.asciz	"SCLK: %7uMHz %10uMHz\n"

l_.str.13:                              ; @.str.13
	.asciz	"MCLK: %7uMHz %10uMHz\n"

l_.str.14:                              ; @.str.14
	.asciz	"VDDC: %7umV %11umV\n"

	.no_dead_strip	_vega10_print_clock_levels
.subsections_via_symbols
