	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function si_program_ulv_memory_timing_parameters
_si_program_ulv_memory_timing_parameters: ## @si_program_ulv_memory_timing_parameters
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_si_get_pi
	movq	%rax, %r14
	movl	$0, -32(%rbp)
	leaq	20(%rax), %rsi
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_si_populate_memory_timing_parameters
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_SI_SMC_SOFT_REGISTER_ulv_volt_change_delay@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%r14), %edx
	movq	%rbx, %rdi
	callq	_si_write_smc_soft_register
	movq	8(%r14), %r15
	movq	_SMC_SIslands_MCArbDramTimingRegisters@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_data@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_offsetof
	addq	%r15, %rax
	movq	_SISLANDS_ULV_STATE_ARB_INDEX@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	leaq	(%rax,%rcx,4), %rsi
	movl	(%r14), %r8d
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$4, %ecx
	callq	_si_copy_bytes_to_smc
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SI_SMC_SOFT_REGISTER_ulv_volt_change_delay,4,2 ## @SI_SMC_SOFT_REGISTER_ulv_volt_change_delay
	.comm	_SMC_SIslands_MCArbDramTimingRegisters,4,2 ## @SMC_SIslands_MCArbDramTimingRegisters
	.comm	_data,4,2                       ## @data
	.comm	_SISLANDS_ULV_STATE_ARB_INDEX,4,2 ## @SISLANDS_ULV_STATE_ARB_INDEX
	.no_dead_strip	_si_program_ulv_memory_timing_parameters
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function si_program_ulv_memory_timing_parameters
_si_program_ulv_memory_timing_parameters: ; @si_program_ulv_memory_timing_parameters
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	bl	_si_get_pi
	mov	x20, x0
	str	wzr, [sp, #8]
	add	x1, x0, #20
	add	x2, sp, #8
	mov	x0, x19
	bl	_si_populate_memory_timing_parameters
	cbnz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _SI_SMC_SOFT_REGISTER_ulv_volt_change_delay@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SI_SMC_SOFT_REGISTER_ulv_volt_change_delay@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x20, #16]
	mov	x0, x19
	bl	_si_write_smc_soft_register
	ldr	x21, [x20, #8]
Lloh3:
	adrp	x8, _SMC_SIslands_MCArbDramTimingRegisters@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SMC_SIslands_MCArbDramTimingRegisters@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _data@GOTPAGE
Lloh7:
	ldr	x8, [x8, _data@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_offsetof
	add	x8, x0, x21
Lloh9:
	adrp	x9, _SISLANDS_ULV_STATE_ARB_INDEX@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SISLANDS_ULV_STATE_ARB_INDEX@GOTPAGEOFF]
Lloh11:
	ldrsw	x9, [x9]
	add	x1, x8, x9, lsl #2
	ldr	w4, [x20]
	add	x2, sp, #8
	mov	x0, x19
	mov	w3, #4
	bl	_si_copy_bytes_to_smc
LBB0_2:
	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
	add	sp, sp, #64
	ret
	.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_ulv_volt_change_delay,4,2 ; @SI_SMC_SOFT_REGISTER_ulv_volt_change_delay
	.comm	_SMC_SIslands_MCArbDramTimingRegisters,4,2 ; @SMC_SIslands_MCArbDramTimingRegisters
	.comm	_data,4,2                       ; @data
	.comm	_SISLANDS_ULV_STATE_ARB_INDEX,4,2 ; @SISLANDS_ULV_STATE_ARB_INDEX
	.no_dead_strip	_si_program_ulv_memory_timing_parameters
.subsections_via_symbols
