	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kv_dpm_print_power_state
_kv_dpm_print_power_state:              ## @kv_dpm_print_power_state
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_kv_get_ps
	movq	%rax, %r13
	movl	12(%rbx), %esi
	movl	16(%rbx), %edi
	callq	_amdgpu_dpm_print_class_info
	movl	8(%rbx), %edi
	callq	_amdgpu_dpm_print_cap_info
	movl	(%rbx), %edx
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	4(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
	cmpl	$0, (%r13)
	jle	LBB0_3
## %bb.1:
	leaq	L_.str.1(%rip), %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	movl	(%rax,%rbx,8), %esi
	movl	4(%rax,%rbx,8), %r14d
	movq	%r15, %rdi
	callq	_kv_convert_8bit_index_to_voltage
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%r14d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_printk
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	movq	%r15, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_amdgpu_dpm_print_ps_status     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\tuvd    vclk: %d dclk: %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"\t\tpower level %d    sclk: %u vddc: %u\n"

	.no_dead_strip	_kv_dpm_print_power_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kv_dpm_print_power_state
_kv_dpm_print_power_state:              ; @kv_dpm_print_power_state
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_kv_get_ps
	mov	x21, x0
	ldp	w1, w0, [x19, #12]
	bl	_amdgpu_dpm_print_class_info
	ldr	w0, [x19, #8]
	bl	_amdgpu_dpm_print_cap_info
	ldp	w2, w1, [x19]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printk
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x25, #0
	mov	x22, #0
Lloh2:
	adrp	x23, l_.str.1@PAGE
Lloh3:
	add	x23, x23, l_.str.1@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	add	x8, x8, x25
	ldp	w1, w24, [x8]
	mov	x0, x20
	bl	_kv_convert_8bit_index_to_voltage
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x23
	mov	x1, x22
	mov	x2, x24
	bl	_printk
	add	x22, x22, #1
	ldrsw	x8, [x21]
	add	x25, x25, #8
	cmp	x22, x8
	b.lt	LBB0_2
LBB0_3:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_amdgpu_dpm_print_ps_status
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\tuvd    vclk: %d dclk: %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"\t\tpower level %d    sclk: %u vddc: %u\n"

	.no_dead_strip	_kv_dpm_print_power_state
.subsections_via_symbols
