	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function si_program_response_times
_si_program_response_times:             ## @si_program_response_times
	.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	%rdi, %r12
	movq	_SI_SMC_SOFT_REGISTER_mvdd_chg_time@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	_si_write_smc_soft_register
	movl	(%r12), %eax
	testl	%eax, %eax
	movl	$1000, %ebx                     ## imm = 0x3E8
	cmovnel	%eax, %ebx
	movq	%r12, %rdi
	callq	_amdgpu_asic_get_xclk
	imull	%eax, %ebx
	movslq	%ebx, %rcx
	imulq	$1374389535, %rcx, %rdx         ## imm = 0x51EB851F
	movq	%rdx, %rcx
	shrq	$63, %rcx
	sarq	$37, %rdx
	addl	%ecx, %edx
	imull	$150, %eax, %r14d
	imull	$1000, %eax, %r15d              ## imm = 0x3E8
	movq	_SI_SMC_SOFT_REGISTER_delay_vreg@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_si_write_smc_soft_register
	movq	_SI_SMC_SOFT_REGISTER_delay_acpi@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r14d, %edx
	callq	_si_write_smc_soft_register
	movq	_SI_SMC_SOFT_REGISTER_mclk_chg_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_si_write_smc_soft_register
	movq	_SI_SMC_SOFT_REGISTER_mc_block_delay@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$170, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_si_write_smc_soft_register     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SI_SMC_SOFT_REGISTER_mvdd_chg_time,4,2 ## @SI_SMC_SOFT_REGISTER_mvdd_chg_time
	.comm	_SI_SMC_SOFT_REGISTER_delay_vreg,4,2 ## @SI_SMC_SOFT_REGISTER_delay_vreg
	.comm	_SI_SMC_SOFT_REGISTER_delay_acpi,4,2 ## @SI_SMC_SOFT_REGISTER_delay_acpi
	.comm	_SI_SMC_SOFT_REGISTER_mclk_chg_timeout,4,2 ## @SI_SMC_SOFT_REGISTER_mclk_chg_timeout
	.comm	_SI_SMC_SOFT_REGISTER_mc_block_delay,4,2 ## @SI_SMC_SOFT_REGISTER_mc_block_delay
	.no_dead_strip	_si_program_response_times
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function si_program_response_times
_si_program_response_times:             ; @si_program_response_times
	.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	x19, x0
Lloh0:
	adrp	x8, _SI_SMC_SOFT_REGISTER_mvdd_chg_time@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SI_SMC_SOFT_REGISTER_mvdd_chg_time@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #1
	bl	_si_write_smc_soft_register
	ldr	w8, [x19]
	mov	w21, #1000
	cmp	w8, #0
	csel	w20, w21, w8, eq
	mov	x0, x19
	bl	_amdgpu_asic_get_xclk
	mul	w8, w20, w0
	mov	w9, #34079
	movk	w9, #20971, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #37
	add	w2, w8, w9
	mov	w8, #150
	mul	w20, w0, w8
	mul	w21, w0, w21
Lloh3:
	adrp	x8, _SI_SMC_SOFT_REGISTER_delay_vreg@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SI_SMC_SOFT_REGISTER_delay_vreg@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_si_write_smc_soft_register
Lloh6:
	adrp	x8, _SI_SMC_SOFT_REGISTER_delay_acpi@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SI_SMC_SOFT_REGISTER_delay_acpi@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_si_write_smc_soft_register
Lloh9:
	adrp	x8, _SI_SMC_SOFT_REGISTER_mclk_chg_timeout@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SI_SMC_SOFT_REGISTER_mclk_chg_timeout@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_si_write_smc_soft_register
Lloh12:
	adrp	x8, _SI_SMC_SOFT_REGISTER_mc_block_delay@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SI_SMC_SOFT_REGISTER_mc_block_delay@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #170
	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
	b	_si_write_smc_soft_register
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SI_SMC_SOFT_REGISTER_mvdd_chg_time,4,2 ; @SI_SMC_SOFT_REGISTER_mvdd_chg_time
	.comm	_SI_SMC_SOFT_REGISTER_delay_vreg,4,2 ; @SI_SMC_SOFT_REGISTER_delay_vreg
	.comm	_SI_SMC_SOFT_REGISTER_delay_acpi,4,2 ; @SI_SMC_SOFT_REGISTER_delay_acpi
	.comm	_SI_SMC_SOFT_REGISTER_mclk_chg_timeout,4,2 ; @SI_SMC_SOFT_REGISTER_mclk_chg_timeout
	.comm	_SI_SMC_SOFT_REGISTER_mc_block_delay,4,2 ; @SI_SMC_SOFT_REGISTER_mc_block_delay
	.no_dead_strip	_si_program_response_times
.subsections_via_symbols
