	.file	"extr_dcn20_hwseq.c_dcn20_enable_power_gating_plane.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	dcn20_enable_power_gating_plane, @function
dcn20_enable_power_gating_plane:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	r12d, r12d
	test	esi, esi
	mov	edi, DWORD PTR DOMAIN0_PG_CONFIG[rip]
	sete	r12b
	mov	esi, DWORD PTR DOMAIN0_POWER_FORCEON[rip]
	mov	edx, r12d
	call	REG_UPDATE@PLT
	mov	esi, DWORD PTR DOMAIN2_POWER_FORCEON[rip]
	mov	edi, DWORD PTR DOMAIN2_PG_CONFIG[rip]
	mov	edx, r12d
	call	REG_UPDATE@PLT
	mov	esi, DWORD PTR DOMAIN4_POWER_FORCEON[rip]
	mov	edi, DWORD PTR DOMAIN4_PG_CONFIG[rip]
	mov	edx, r12d
	call	REG_UPDATE@PLT
	mov	edi, DWORD PTR DOMAIN6_PG_CONFIG[rip]
	mov	esi, DWORD PTR DOMAIN6_POWER_FORCEON[rip]
	mov	edx, r12d
	call	REG_UPDATE@PLT
	mov	edi, DWORD PTR DOMAIN8_PG_CONFIG[rip]
	call	REG@PLT
	test	rax, rax
	jne	.L29
	mov	edi, DWORD PTR DOMAIN10_PG_CONFIG[rip]
	call	REG@PLT
	test	rax, rax
	jne	.L30
.L3:
	mov	esi, DWORD PTR DOMAIN1_POWER_FORCEON[rip]
	mov	edi, DWORD PTR DOMAIN1_PG_CONFIG[rip]
	mov	edx, r12d
	call	REG_UPDATE@PLT
	mov	esi, DWORD PTR DOMAIN3_POWER_FORCEON[rip]
	mov	edi, DWORD PTR DOMAIN3_PG_CONFIG[rip]
	mov	edx, r12d
	call	REG_UPDATE@PLT
	mov	esi, DWORD PTR DOMAIN5_POWER_FORCEON[rip]
	mov	edi, DWORD PTR DOMAIN5_PG_CONFIG[rip]
	mov	edx, r12d
	call	REG_UPDATE@PLT
	mov	edi, DWORD PTR DOMAIN7_PG_CONFIG[rip]
	mov	esi, DWORD PTR DOMAIN7_POWER_FORCEON[rip]
	mov	edx, r12d
	call	REG_UPDATE@PLT
	mov	edi, DWORD PTR DOMAIN9_PG_CONFIG[rip]
	call	REG@PLT
	test	rax, rax
	jne	.L31
.L4:
	mov	edi, DWORD PTR DOMAIN11_PG_CONFIG[rip]
	call	REG@PLT
	test	rax, rax
	jne	.L32
.L5:
	mov	esi, DWORD PTR DOMAIN16_POWER_FORCEON[rip]
	mov	edi, DWORD PTR DOMAIN16_PG_CONFIG[rip]
	mov	edx, r12d
	call	REG_UPDATE@PLT
	mov	esi, DWORD PTR DOMAIN17_POWER_FORCEON[rip]
	mov	edi, DWORD PTR DOMAIN17_PG_CONFIG[rip]
	mov	edx, r12d
	call	REG_UPDATE@PLT
	mov	edi, DWORD PTR DOMAIN18_PG_CONFIG[rip]
	mov	esi, DWORD PTR DOMAIN18_POWER_FORCEON[rip]
	mov	edx, r12d
	call	REG_UPDATE@PLT
	mov	edi, DWORD PTR DOMAIN19_PG_CONFIG[rip]
	call	REG@PLT
	test	rax, rax
	jne	.L33
.L6:
	mov	edi, DWORD PTR DOMAIN20_PG_CONFIG[rip]
	call	REG@PLT
	test	rax, rax
	jne	.L34
.L7:
	mov	edi, DWORD PTR DOMAIN21_PG_CONFIG[rip]
	call	REG@PLT
	test	rax, rax
	jne	.L35
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L29:
	.cfi_restore_state
	mov	edi, DWORD PTR DOMAIN8_PG_CONFIG[rip]
	mov	esi, DWORD PTR DOMAIN8_POWER_FORCEON[rip]
	mov	edx, r12d
	call	REG_UPDATE@PLT
	mov	edi, DWORD PTR DOMAIN10_PG_CONFIG[rip]
	call	REG@PLT
	test	rax, rax
	je	.L3
.L30:
	mov	esi, DWORD PTR DOMAIN8_POWER_FORCEON[rip]
	mov	edi, DWORD PTR DOMAIN10_PG_CONFIG[rip]
	mov	edx, r12d
	call	REG_UPDATE@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L35:
	mov	esi, DWORD PTR DOMAIN21_POWER_FORCEON[rip]
	mov	edi, DWORD PTR DOMAIN21_PG_CONFIG[rip]
	mov	edx, r12d
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	REG_UPDATE@PLT
	.p2align 4,,10
	.p2align 3
.L34:
	.cfi_restore_state
	mov	esi, DWORD PTR DOMAIN20_POWER_FORCEON[rip]
	mov	edi, DWORD PTR DOMAIN20_PG_CONFIG[rip]
	mov	edx, r12d
	call	REG_UPDATE@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L33:
	mov	esi, DWORD PTR DOMAIN19_POWER_FORCEON[rip]
	mov	edi, DWORD PTR DOMAIN19_PG_CONFIG[rip]
	mov	edx, r12d
	call	REG_UPDATE@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L32:
	mov	esi, DWORD PTR DOMAIN9_POWER_FORCEON[rip]
	mov	edi, DWORD PTR DOMAIN11_PG_CONFIG[rip]
	mov	edx, r12d
	call	REG_UPDATE@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L31:
	mov	esi, DWORD PTR DOMAIN9_POWER_FORCEON[rip]
	mov	edi, DWORD PTR DOMAIN9_PG_CONFIG[rip]
	mov	edx, r12d
	call	REG_UPDATE@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	dcn20_enable_power_gating_plane, .-dcn20_enable_power_gating_plane
	.comm	DOMAIN9_POWER_FORCEON,4,4
	.comm	DOMAIN9_PG_CONFIG,4,4
	.comm	DOMAIN8_POWER_FORCEON,4,4
	.comm	DOMAIN8_PG_CONFIG,4,4
	.comm	DOMAIN7_POWER_FORCEON,4,4
	.comm	DOMAIN7_PG_CONFIG,4,4
	.comm	DOMAIN6_POWER_FORCEON,4,4
	.comm	DOMAIN6_PG_CONFIG,4,4
	.comm	DOMAIN5_POWER_FORCEON,4,4
	.comm	DOMAIN5_PG_CONFIG,4,4
	.comm	DOMAIN4_POWER_FORCEON,4,4
	.comm	DOMAIN4_PG_CONFIG,4,4
	.comm	DOMAIN3_POWER_FORCEON,4,4
	.comm	DOMAIN3_PG_CONFIG,4,4
	.comm	DOMAIN2_POWER_FORCEON,4,4
	.comm	DOMAIN2_PG_CONFIG,4,4
	.comm	DOMAIN21_POWER_FORCEON,4,4
	.comm	DOMAIN21_PG_CONFIG,4,4
	.comm	DOMAIN20_POWER_FORCEON,4,4
	.comm	DOMAIN20_PG_CONFIG,4,4
	.comm	DOMAIN1_POWER_FORCEON,4,4
	.comm	DOMAIN1_PG_CONFIG,4,4
	.comm	DOMAIN19_POWER_FORCEON,4,4
	.comm	DOMAIN19_PG_CONFIG,4,4
	.comm	DOMAIN18_POWER_FORCEON,4,4
	.comm	DOMAIN18_PG_CONFIG,4,4
	.comm	DOMAIN17_POWER_FORCEON,4,4
	.comm	DOMAIN17_PG_CONFIG,4,4
	.comm	DOMAIN16_POWER_FORCEON,4,4
	.comm	DOMAIN16_PG_CONFIG,4,4
	.comm	DOMAIN11_PG_CONFIG,4,4
	.comm	DOMAIN10_PG_CONFIG,4,4
	.comm	DOMAIN0_POWER_FORCEON,4,4
	.comm	DOMAIN0_PG_CONFIG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_dcn20_hwseq.c_dcn20_enable_power_gating_plane.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dcn20_enable_power_gating_plane, %function
dcn20_enable_power_gating_plane:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	clz	r4, r1
	ldr	r3, .L35
	ldr	r1, .L35+4
	lsr	r4, r4, #5
	mov	r2, r4
	ldr	r1, [r1]
	ldr	r0, [r3]
	bl	REG_UPDATE
	ldr	r3, .L35+8
	ldr	r1, .L35+12
	mov	r2, r4
	ldr	r1, [r1]
	ldr	r0, [r3]
	bl	REG_UPDATE
	ldr	r3, .L35+16
	ldr	r1, .L35+20
	mov	r2, r4
	ldr	r1, [r1]
	ldr	r0, [r3]
	bl	REG_UPDATE
	ldr	r3, .L35+24
	ldr	r1, .L35+28
	ldr	r5, .L35+32
	mov	r2, r4
	ldr	r1, [r1]
	ldr	r0, [r3]
	bl	REG_UPDATE
	ldr	r0, [r5]
	bl	REG
	cmp	r0, #0
	bne	.L29
.L2:
	ldr	r5, .L35+36
	ldr	r0, [r5]
	bl	REG
	cmp	r0, #0
	bne	.L30
.L3:
	ldr	r3, .L35+40
	ldr	r2, .L35+44
	ldr	r0, [r3]
	ldr	r1, [r2]
	mov	r2, r4
	bl	REG_UPDATE
	ldr	r3, .L35+48
	ldr	r2, .L35+52
	ldr	r0, [r3]
	ldr	r1, [r2]
	mov	r2, r4
	bl	REG_UPDATE
	ldr	r3, .L35+56
	ldr	r2, .L35+60
	ldr	r0, [r3]
	ldr	r1, [r2]
	mov	r2, r4
	bl	REG_UPDATE
	ldr	r3, .L35+64
	ldr	r2, .L35+68
	ldr	r5, .L35+72
	ldr	r1, [r2]
	ldr	r0, [r3]
	mov	r2, r4
	bl	REG_UPDATE
	ldr	r0, [r5]
	bl	REG
	cmp	r0, #0
	bne	.L31
.L4:
	ldr	r5, .L35+76
	ldr	r0, [r5]
	bl	REG
	cmp	r0, #0
	bne	.L32
.L5:
	ldr	r3, .L35+80
	ldr	r2, .L35+84
	ldr	r0, [r3]
	ldr	r1, [r2]
	mov	r2, r4
	bl	REG_UPDATE
	ldr	r3, .L35+88
	ldr	r2, .L35+92
	ldr	r0, [r3]
	ldr	r1, [r2]
	mov	r2, r4
	bl	REG_UPDATE
	ldr	r3, .L35+96
	ldr	r2, .L35+100
	ldr	r5, .L35+104
	ldr	r1, [r2]
	ldr	r0, [r3]
	mov	r2, r4
	bl	REG_UPDATE
	ldr	r0, [r5]
	bl	REG
	cmp	r0, #0
	bne	.L33
.L6:
	ldr	r5, .L35+108
	ldr	r0, [r5]
	bl	REG
	cmp	r0, #0
	bne	.L34
.L7:
	ldr	r5, .L35+112
	ldr	r0, [r5]
	bl	REG
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	ldr	r3, .L35+116
	mov	r2, r4
	ldr	r0, [r5]
	ldr	r1, [r3]
	pop	{r4, r5, r6, lr}
	b	REG_UPDATE
.L34:
	ldr	r3, .L35+120
	mov	r2, r4
	ldr	r0, [r5]
	ldr	r1, [r3]
	bl	REG_UPDATE
	b	.L7
.L33:
	ldr	r3, .L35+124
	mov	r2, r4
	ldr	r0, [r5]
	ldr	r1, [r3]
	bl	REG_UPDATE
	b	.L6
.L32:
	ldr	r3, .L35+128
	mov	r2, r4
	ldr	r0, [r5]
	ldr	r1, [r3]
	bl	REG_UPDATE
	b	.L5
.L31:
	ldr	r3, .L35+128
	mov	r2, r4
	ldr	r0, [r5]
	ldr	r1, [r3]
	bl	REG_UPDATE
	b	.L4
.L30:
	ldr	r3, .L35+132
	mov	r2, r4
	ldr	r0, [r5]
	ldr	r1, [r3]
	bl	REG_UPDATE
	b	.L3
.L29:
	ldr	r3, .L35+132
	mov	r2, r4
	ldr	r0, [r5]
	ldr	r1, [r3]
	bl	REG_UPDATE
	b	.L2
.L36:
	.align	2
.L35:
	.word	DOMAIN0_PG_CONFIG
	.word	DOMAIN0_POWER_FORCEON
	.word	DOMAIN2_PG_CONFIG
	.word	DOMAIN2_POWER_FORCEON
	.word	DOMAIN4_PG_CONFIG
	.word	DOMAIN4_POWER_FORCEON
	.word	DOMAIN6_PG_CONFIG
	.word	DOMAIN6_POWER_FORCEON
	.word	DOMAIN8_PG_CONFIG
	.word	DOMAIN10_PG_CONFIG
	.word	DOMAIN1_PG_CONFIG
	.word	DOMAIN1_POWER_FORCEON
	.word	DOMAIN3_PG_CONFIG
	.word	DOMAIN3_POWER_FORCEON
	.word	DOMAIN5_PG_CONFIG
	.word	DOMAIN5_POWER_FORCEON
	.word	DOMAIN7_PG_CONFIG
	.word	DOMAIN7_POWER_FORCEON
	.word	DOMAIN9_PG_CONFIG
	.word	DOMAIN11_PG_CONFIG
	.word	DOMAIN16_PG_CONFIG
	.word	DOMAIN16_POWER_FORCEON
	.word	DOMAIN17_PG_CONFIG
	.word	DOMAIN17_POWER_FORCEON
	.word	DOMAIN18_PG_CONFIG
	.word	DOMAIN18_POWER_FORCEON
	.word	DOMAIN19_PG_CONFIG
	.word	DOMAIN20_PG_CONFIG
	.word	DOMAIN21_PG_CONFIG
	.word	DOMAIN21_POWER_FORCEON
	.word	DOMAIN20_POWER_FORCEON
	.word	DOMAIN19_POWER_FORCEON
	.word	DOMAIN9_POWER_FORCEON
	.word	DOMAIN8_POWER_FORCEON
	.size	dcn20_enable_power_gating_plane, .-dcn20_enable_power_gating_plane
	.comm	DOMAIN9_POWER_FORCEON,4,4
	.comm	DOMAIN9_PG_CONFIG,4,4
	.comm	DOMAIN8_POWER_FORCEON,4,4
	.comm	DOMAIN8_PG_CONFIG,4,4
	.comm	DOMAIN7_POWER_FORCEON,4,4
	.comm	DOMAIN7_PG_CONFIG,4,4
	.comm	DOMAIN6_POWER_FORCEON,4,4
	.comm	DOMAIN6_PG_CONFIG,4,4
	.comm	DOMAIN5_POWER_FORCEON,4,4
	.comm	DOMAIN5_PG_CONFIG,4,4
	.comm	DOMAIN4_POWER_FORCEON,4,4
	.comm	DOMAIN4_PG_CONFIG,4,4
	.comm	DOMAIN3_POWER_FORCEON,4,4
	.comm	DOMAIN3_PG_CONFIG,4,4
	.comm	DOMAIN2_POWER_FORCEON,4,4
	.comm	DOMAIN2_PG_CONFIG,4,4
	.comm	DOMAIN21_POWER_FORCEON,4,4
	.comm	DOMAIN21_PG_CONFIG,4,4
	.comm	DOMAIN20_POWER_FORCEON,4,4
	.comm	DOMAIN20_PG_CONFIG,4,4
	.comm	DOMAIN1_POWER_FORCEON,4,4
	.comm	DOMAIN1_PG_CONFIG,4,4
	.comm	DOMAIN19_POWER_FORCEON,4,4
	.comm	DOMAIN19_PG_CONFIG,4,4
	.comm	DOMAIN18_POWER_FORCEON,4,4
	.comm	DOMAIN18_PG_CONFIG,4,4
	.comm	DOMAIN17_POWER_FORCEON,4,4
	.comm	DOMAIN17_PG_CONFIG,4,4
	.comm	DOMAIN16_POWER_FORCEON,4,4
	.comm	DOMAIN16_PG_CONFIG,4,4
	.comm	DOMAIN11_PG_CONFIG,4,4
	.comm	DOMAIN10_PG_CONFIG,4,4
	.comm	DOMAIN0_POWER_FORCEON,4,4
	.comm	DOMAIN0_PG_CONFIG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
