	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_dpm_2_parameters
_init_dpm_2_parameters:                 ## @init_dpm_2_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	56(%rdi), %r14
	movq	120(%rsi), %rdi
	callq	_le16_to_cpu
	movq	%rax, 120(%r14)
	movq	112(%rbx), %rdi
	callq	_le16_to_cpu
	movq	%rax, 112(%r14)
	movq	104(%rbx), %rdi
	callq	_le16_to_cpu
	movq	%rax, 104(%r14)
	movq	96(%rbx), %rdi
	callq	_le16_to_cpu
	movq	%rax, 96(%r14)
	movq	88(%rbx), %rdi
	callq	_le16_to_cpu
	movq	%rax, 88(%r14)
	movq	80(%rbx), %rdi
	callq	_le16_to_cpu
	movq	%rax, 80(%r14)
	movq	72(%rbx), %rdi
	callq	_le16_to_cpu
	movq	%rax, 72(%r14)
	movq	64(%rbx), %rdi
	callq	_le16_to_cpu
	movq	%rax, 64(%r14)
	movq	56(%rbx), %rdi
	callq	_le16_to_cpu
	movq	%rax, 56(%r14)
	movq	48(%rbx), %rdi
	callq	_le16_to_cpu
	movq	%rax, 48(%r14)
	movq	40(%rbx), %rdi
	callq	_le16_to_cpu
	movq	%rax, 40(%r14)
	movq	32(%rbx), %rdi
	callq	_le16_to_cpu
	movq	%rax, 32(%r14)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r14)
	movups	%xmm0, 16(%r14)
	movq	24(%rbx), %rdi
	callq	_le16_to_cpu
	movq	%rax, 16(%r15)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%r15)
	movups	%xmm0, 40(%r15)
	movabsq	$26843547100000, %rcx           ## imm = 0x186A0016E360
	movq	%rcx, (%r15)
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	8(%r15), %edi
	movq	_PHM_PlatformCaps_PowerControl@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_phm_cap_set
LBB0_2:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.4:
	leaq	16(%r14), %r12
	callq	_le16_to_cpu
	leaq	(%rax,%rbx), %rdx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	$8, %ecx
	callq	_get_vddc_lookup_table
	jmp	LBB0_5
LBB0_3:
	xorl	%eax, %eax
LBB0_5:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	leaq	8(%r14), %r12
	callq	_le16_to_cpu
	leaq	(%rax,%rbx), %rdx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	$4, %ecx
	callq	_get_vddc_lookup_table
LBB0_7:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.9:
	callq	_le16_to_cpu
	addq	%rax, %rbx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movl	$4, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_get_vddc_lookup_table          ## TAILCALL
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PHM_PlatformCaps_PowerControl,4,2 ## @PHM_PlatformCaps_PowerControl
	.no_dead_strip	_init_dpm_2_parameters
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function init_dpm_2_parameters
lCPI0_0:
	.long	1500000                         ; 0x16e360
	.long	6250                            ; 0x186a
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_init_dpm_2_parameters:                 ; @init_dpm_2_parameters
	.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	x21, x1
	mov	x20, x0
	ldr	x19, [x0, #56]
	ldr	x0, [x1, #120]
	bl	_le16_to_cpu
	str	x0, [x19, #120]
	ldr	x0, [x21, #112]
	bl	_le16_to_cpu
	str	x0, [x19, #112]
	ldr	x0, [x21, #104]
	bl	_le16_to_cpu
	str	x0, [x19, #104]
	ldr	x0, [x21, #96]
	bl	_le16_to_cpu
	str	x0, [x19, #96]
	ldr	x0, [x21, #88]
	bl	_le16_to_cpu
	str	x0, [x19, #88]
	ldr	x0, [x21, #80]
	bl	_le16_to_cpu
	str	x0, [x19, #80]
	ldr	x0, [x21, #72]
	bl	_le16_to_cpu
	str	x0, [x19, #72]
	ldr	x0, [x21, #64]
	bl	_le16_to_cpu
	str	x0, [x19, #64]
	ldr	x0, [x21, #56]
	bl	_le16_to_cpu
	str	x0, [x19, #56]
	ldr	x0, [x21, #48]
	bl	_le16_to_cpu
	str	x0, [x19, #48]
	ldr	x0, [x21, #40]
	bl	_le16_to_cpu
	str	x0, [x19, #40]
	ldr	x0, [x21, #32]
	bl	_le16_to_cpu
	str	x0, [x19, #32]
	movi.2d	v0, #0000000000000000
	mov	x22, x19
	str	q0, [x22, #16]!
	str	q0, [x19]
	ldr	x0, [x21, #24]
	bl	_le16_to_cpu
	str	x0, [x20, #16]
	movi.2d	v0, #0000000000000000
	stur	q0, [x20, #24]
	stur	q0, [x20, #40]
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x20]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x20, #8]
Lloh2:
	adrp	x8, _PHM_PlatformCaps_PowerControl@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PHM_PlatformCaps_PowerControl@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_phm_cap_set
LBB0_2:
	ldr	x0, [x21, #16]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_le16_to_cpu
	add	x2, x0, x21
	mov	x0, x20
	mov	x1, x22
	mov	w3, #8
	bl	_get_vddc_lookup_table
LBB0_4:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_6
; %bb.5:
	add	x22, x19, #8
	mov	x0, x8
	bl	_le16_to_cpu
	add	x2, x0, x21
	mov	x0, x20
	mov	x1, x22
	mov	w3, #4
	bl	_get_vddc_lookup_table
LBB0_6:
	ldr	x8, [x21]
	cbz	x8, LBB0_8
; %bb.7:
	mov	x0, x8
	bl	_le16_to_cpu
	add	x2, x0, x21
	mov	x0, x20
	mov	x1, x19
	mov	w3, #4
	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	_get_vddc_lookup_table
LBB0_8:
	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
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_PHM_PlatformCaps_PowerControl,4,2 ; @PHM_PlatformCaps_PowerControl
	.no_dead_strip	_init_dpm_2_parameters
.subsections_via_symbols
