	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vega10_populate_gpio_parameters
_vega10_populate_gpio_parameters:       ## @vega10_populate_gpio_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
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r14
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -48(%rbp)
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movq	$0, -32(%rbp)
	leaq	-80(%rbp), %rsi
	callq	_pp_atomfwctrl_get_gpio_information
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_10
## %bb.1:
	movq	_PHM_PlatformCaps_RegulatorHot@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PP_CAP
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	cmpq	$0, 8(%r14)
	je	LBB0_4
## %bb.3:
	movaps	-48(%rbp), %xmm0
	movups	%xmm0, 48(%r14)
	movaps	-64(%rbp), %xmm0
	jmp	LBB0_5
LBB0_4:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 48(%r14)
LBB0_5:
	movups	%xmm0, 32(%r14)
	leaq	16(%r14), %r15
	movq	_PHM_PlatformCaps_AutomaticDCTransition@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PP_CAP
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	cmpq	$0, (%r14)
	je	LBB0_8
## %bb.7:
	movaps	-80(%rbp), %xmm0
	jmp	LBB0_9
LBB0_8:
	xorps	%xmm0, %xmm0
LBB0_9:
	movups	%xmm0, (%r15)
LBB0_10:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PHM_PlatformCaps_RegulatorHot,4,2 ## @PHM_PlatformCaps_RegulatorHot
	.comm	_PHM_PlatformCaps_AutomaticDCTransition,4,2 ## @PHM_PlatformCaps_AutomaticDCTransition
	.no_dead_strip	_vega10_populate_gpio_parameters
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vega10_populate_gpio_parameters
_vega10_populate_gpio_parameters:       ; @vega10_populate_gpio_parameters
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	ldr	x20, [x0]
	str	xzr, [sp, #48]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #16]
	str	q0, [sp]
	mov	x1, sp
	bl	_pp_atomfwctrl_get_gpio_information
	mov	x19, x0
	cbnz	w0, LBB0_9
; %bb.1:
Lloh0:
	adrp	x8, _PHM_PlatformCaps_RegulatorHot@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PHM_PlatformCaps_RegulatorHot@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_PP_CAP
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_4
; %bb.3:
	ldp	q1, q0, [sp, #16]
	stp	q1, q0, [x20, #32]
	b	LBB0_5
LBB0_4:
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x20, #32]
LBB0_5:
	add	x21, x20, #16
Lloh3:
	adrp	x8, _PHM_PlatformCaps_AutomaticDCTransition@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PHM_PlatformCaps_AutomaticDCTransition@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_PP_CAP
	cbz	x0, LBB0_8
; %bb.6:
	ldr	x8, [x20]
	cbz	x8, LBB0_8
; %bb.7:
	ldr	q0, [sp]
	str	q0, [x21]
	b	LBB0_9
LBB0_8:
	stp	xzr, xzr, [x21]
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PHM_PlatformCaps_RegulatorHot,4,2 ; @PHM_PlatformCaps_RegulatorHot
	.comm	_PHM_PlatformCaps_AutomaticDCTransition,4,2 ; @PHM_PlatformCaps_AutomaticDCTransition
	.no_dead_strip	_vega10_populate_gpio_parameters
.subsections_via_symbols
