	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kv_init_fps_limits
_kv_init_fps_limits:                    ## @kv_init_fps_limits
	.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	%rdi, %r14
	callq	_kv_get_pi
	cmpq	$0, 32(%rax)
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movl	$45, %edi
	callq	_cpu_to_be16
	leaq	24(%rbx), %r15
	movq	%rax, 24(%rbx)
	movq	16(%rbx), %r12
	movq	_SMU7_Fusion_DpmTable@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	_FpsHighT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_offsetof
	addq	%rax, %r12
	movl	(%rbx), %r8d
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	movl	$4, %ecx
	callq	_amdgpu_kv_copy_bytes_to_smc
	movl	$30, %edi
	callq	_cpu_to_be16
	movq	%rbx, %r15
	addq	$8, %r15
	movq	%rax, 8(%rbx)
	movq	16(%rbx), %r12
	movl	(%r13), %edi
	movq	_FpsLowT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_offsetof
	addq	%rax, %r12
	movl	(%rbx), %r8d
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	movl	$4, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_amdgpu_kv_copy_bytes_to_smc    ## TAILCALL
LBB0_1:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SMU7_Fusion_DpmTable,4,2       ## @SMU7_Fusion_DpmTable
	.comm	_FpsHighT,4,2                   ## @FpsHighT
	.comm	_FpsLowT,4,2                    ## @FpsLowT
	.no_dead_strip	_kv_init_fps_limits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kv_init_fps_limits
_kv_init_fps_limits:                    ; @kv_init_fps_limits
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x0
	bl	_kv_get_pi
	ldr	x8, [x0, #32]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x20, x0
	mov	w0, #45
	bl	_cpu_to_be16
	mov	x21, x20
	str	x0, [x21, #24]!
	ldr	x22, [x20, #16]
Lloh0:
	adrp	x23, _SMU7_Fusion_DpmTable@GOTPAGE
Lloh1:
	ldr	x23, [x23, _SMU7_Fusion_DpmTable@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh2:
	adrp	x8, _FpsHighT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FpsHighT@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_offsetof
	add	x1, x0, x22
	ldr	w4, [x20]
	mov	x0, x19
	mov	x2, x21
	mov	w3, #4
	bl	_amdgpu_kv_copy_bytes_to_smc
	mov	w0, #30
	bl	_cpu_to_be16
	mov	x21, x20
	str	x0, [x21, #8]!
	ldr	x22, [x20, #16]
	ldr	w0, [x23]
Lloh5:
	adrp	x8, _FpsLowT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FpsLowT@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_offsetof
	add	x1, x0, x22
	ldr	w4, [x20]
	mov	x0, x19
	mov	x2, x21
	mov	w3, #4
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_amdgpu_kv_copy_bytes_to_smc
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SMU7_Fusion_DpmTable,4,2       ; @SMU7_Fusion_DpmTable
	.comm	_FpsHighT,4,2                   ; @FpsHighT
	.comm	_FpsLowT,4,2                    ; @FpsLowT
	.no_dead_strip	_kv_init_fps_limits
.subsections_via_symbols
