	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dcn10_enable_power_gating_plane
_dcn10_enable_power_gating_plane:       ## @dcn10_enable_power_gating_plane
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	xorl	%ebx, %ebx
	testl	%esi, %esi
	sete	%bl
	movq	_DOMAIN0_PG_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DOMAIN0_POWER_FORCEON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edx
	callq	_REG_UPDATE
	movq	_DOMAIN2_PG_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DOMAIN2_POWER_FORCEON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edx
	callq	_REG_UPDATE
	movq	_DOMAIN4_PG_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DOMAIN4_POWER_FORCEON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edx
	callq	_REG_UPDATE
	movq	_DOMAIN6_PG_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DOMAIN6_POWER_FORCEON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edx
	callq	_REG_UPDATE
	movq	_DOMAIN1_PG_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DOMAIN1_POWER_FORCEON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edx
	callq	_REG_UPDATE
	movq	_DOMAIN3_PG_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DOMAIN3_POWER_FORCEON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edx
	callq	_REG_UPDATE
	movq	_DOMAIN5_PG_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DOMAIN5_POWER_FORCEON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edx
	callq	_REG_UPDATE
	movq	_DOMAIN7_PG_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DOMAIN7_POWER_FORCEON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_REG_UPDATE                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DOMAIN0_PG_CONFIG,4,2          ## @DOMAIN0_PG_CONFIG
	.comm	_DOMAIN0_POWER_FORCEON,4,2      ## @DOMAIN0_POWER_FORCEON
	.comm	_DOMAIN2_PG_CONFIG,4,2          ## @DOMAIN2_PG_CONFIG
	.comm	_DOMAIN2_POWER_FORCEON,4,2      ## @DOMAIN2_POWER_FORCEON
	.comm	_DOMAIN4_PG_CONFIG,4,2          ## @DOMAIN4_PG_CONFIG
	.comm	_DOMAIN4_POWER_FORCEON,4,2      ## @DOMAIN4_POWER_FORCEON
	.comm	_DOMAIN6_PG_CONFIG,4,2          ## @DOMAIN6_PG_CONFIG
	.comm	_DOMAIN6_POWER_FORCEON,4,2      ## @DOMAIN6_POWER_FORCEON
	.comm	_DOMAIN1_PG_CONFIG,4,2          ## @DOMAIN1_PG_CONFIG
	.comm	_DOMAIN1_POWER_FORCEON,4,2      ## @DOMAIN1_POWER_FORCEON
	.comm	_DOMAIN3_PG_CONFIG,4,2          ## @DOMAIN3_PG_CONFIG
	.comm	_DOMAIN3_POWER_FORCEON,4,2      ## @DOMAIN3_POWER_FORCEON
	.comm	_DOMAIN5_PG_CONFIG,4,2          ## @DOMAIN5_PG_CONFIG
	.comm	_DOMAIN5_POWER_FORCEON,4,2      ## @DOMAIN5_POWER_FORCEON
	.comm	_DOMAIN7_PG_CONFIG,4,2          ## @DOMAIN7_PG_CONFIG
	.comm	_DOMAIN7_POWER_FORCEON,4,2      ## @DOMAIN7_POWER_FORCEON
	.no_dead_strip	_dcn10_enable_power_gating_plane
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dcn10_enable_power_gating_plane
_dcn10_enable_power_gating_plane:       ; @dcn10_enable_power_gating_plane
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cmp	w1, #0
	cset	w19, eq
Lloh0:
	adrp	x8, _DOMAIN0_PG_CONFIG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DOMAIN0_PG_CONFIG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _DOMAIN0_POWER_FORCEON@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DOMAIN0_POWER_FORCEON@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_REG_UPDATE
Lloh6:
	adrp	x8, _DOMAIN2_PG_CONFIG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DOMAIN2_PG_CONFIG@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _DOMAIN2_POWER_FORCEON@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DOMAIN2_POWER_FORCEON@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_REG_UPDATE
Lloh12:
	adrp	x8, _DOMAIN4_PG_CONFIG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DOMAIN4_PG_CONFIG@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x8, _DOMAIN4_POWER_FORCEON@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DOMAIN4_POWER_FORCEON@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_REG_UPDATE
Lloh18:
	adrp	x8, _DOMAIN6_PG_CONFIG@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DOMAIN6_PG_CONFIG@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x8, _DOMAIN6_POWER_FORCEON@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DOMAIN6_POWER_FORCEON@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_REG_UPDATE
Lloh24:
	adrp	x8, _DOMAIN1_PG_CONFIG@GOTPAGE
Lloh25:
	ldr	x8, [x8, _DOMAIN1_PG_CONFIG@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
Lloh27:
	adrp	x8, _DOMAIN1_POWER_FORCEON@GOTPAGE
Lloh28:
	ldr	x8, [x8, _DOMAIN1_POWER_FORCEON@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_REG_UPDATE
Lloh30:
	adrp	x8, _DOMAIN3_PG_CONFIG@GOTPAGE
Lloh31:
	ldr	x8, [x8, _DOMAIN3_PG_CONFIG@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
Lloh33:
	adrp	x8, _DOMAIN3_POWER_FORCEON@GOTPAGE
Lloh34:
	ldr	x8, [x8, _DOMAIN3_POWER_FORCEON@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_REG_UPDATE
Lloh36:
	adrp	x8, _DOMAIN5_PG_CONFIG@GOTPAGE
Lloh37:
	ldr	x8, [x8, _DOMAIN5_PG_CONFIG@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
Lloh39:
	adrp	x8, _DOMAIN5_POWER_FORCEON@GOTPAGE
Lloh40:
	ldr	x8, [x8, _DOMAIN5_POWER_FORCEON@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_REG_UPDATE
Lloh42:
	adrp	x8, _DOMAIN7_PG_CONFIG@GOTPAGE
Lloh43:
	ldr	x8, [x8, _DOMAIN7_PG_CONFIG@GOTPAGEOFF]
Lloh44:
	ldr	w0, [x8]
Lloh45:
	adrp	x8, _DOMAIN7_POWER_FORCEON@GOTPAGE
Lloh46:
	ldr	x8, [x8, _DOMAIN7_POWER_FORCEON@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	mov	x2, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_REG_UPDATE
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.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	_DOMAIN0_PG_CONFIG,4,2          ; @DOMAIN0_PG_CONFIG
	.comm	_DOMAIN0_POWER_FORCEON,4,2      ; @DOMAIN0_POWER_FORCEON
	.comm	_DOMAIN2_PG_CONFIG,4,2          ; @DOMAIN2_PG_CONFIG
	.comm	_DOMAIN2_POWER_FORCEON,4,2      ; @DOMAIN2_POWER_FORCEON
	.comm	_DOMAIN4_PG_CONFIG,4,2          ; @DOMAIN4_PG_CONFIG
	.comm	_DOMAIN4_POWER_FORCEON,4,2      ; @DOMAIN4_POWER_FORCEON
	.comm	_DOMAIN6_PG_CONFIG,4,2          ; @DOMAIN6_PG_CONFIG
	.comm	_DOMAIN6_POWER_FORCEON,4,2      ; @DOMAIN6_POWER_FORCEON
	.comm	_DOMAIN1_PG_CONFIG,4,2          ; @DOMAIN1_PG_CONFIG
	.comm	_DOMAIN1_POWER_FORCEON,4,2      ; @DOMAIN1_POWER_FORCEON
	.comm	_DOMAIN3_PG_CONFIG,4,2          ; @DOMAIN3_PG_CONFIG
	.comm	_DOMAIN3_POWER_FORCEON,4,2      ; @DOMAIN3_POWER_FORCEON
	.comm	_DOMAIN5_PG_CONFIG,4,2          ; @DOMAIN5_PG_CONFIG
	.comm	_DOMAIN5_POWER_FORCEON,4,2      ; @DOMAIN5_POWER_FORCEON
	.comm	_DOMAIN7_PG_CONFIG,4,2          ; @DOMAIN7_PG_CONFIG
	.comm	_DOMAIN7_POWER_FORCEON,4,2      ; @DOMAIN7_POWER_FORCEON
	.no_dead_strip	_dcn10_enable_power_gating_plane
.subsections_via_symbols
