	.file	"extr_intel_display_power.c_intel_display_power_resume.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	intel_display_power_resume
	.type	intel_display_power_resume, @function
intel_display_power_resume:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	call	INTEL_GEN@PLT
	mov	rdi, rbp
	cmp	eax, 10
	jle	.L2
	call	bxt_disable_dc9@PLT
	mov	esi, 1
	mov	rdi, rbp
	call	icl_display_core_init@PLT
	cmp	QWORD PTR 8[rbp], 0
	je	.L1
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR DC_STATE_EN_UPTO_DC6[rip], eax
	jne	.L16
	test	DWORD PTR DC_STATE_EN_UPTO_DC5[rip], eax
	je	.L1
.L8:
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	gen9_enable_dc5@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	call	IS_GEN9_LP@PLT
	mov	rdi, rbp
	test	rax, rax
	je	.L7
	call	bxt_disable_dc9@PLT
	mov	esi, 1
	mov	rdi, rbp
	call	bxt_display_core_init@PLT
	cmp	QWORD PTR 8[rbp], 0
	je	.L1
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR DC_STATE_EN_UPTO_DC5[rip], eax
	jne	.L8
.L1:
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	call	IS_HASWELL@PLT
	test	rax, rax
	je	.L9
.L10:
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	hsw_disable_pc8@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rdi, rbp
	call	IS_BROADWELL@PLT
	test	rax, rax
	jne	.L10
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	skl_enable_dc6@PLT
	.cfi_endproc
.LFE0:
	.size	intel_display_power_resume, .-intel_display_power_resume
	.comm	DC_STATE_EN_UPTO_DC6,4,4
	.comm	DC_STATE_EN_UPTO_DC5,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_intel_display_power.c_intel_display_power_resume.c"
	.text
	.align	2
	.global	intel_display_power_resume
	.syntax unified
	.arm
	.fpu softvfp
	.type	intel_display_power_resume, %function
intel_display_power_resume:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	bl	INTEL_GEN
	cmp	r0, #10
	mov	r0, r4
	ble	.L2
	bl	bxt_disable_dc9
	mov	r1, #1
	mov	r0, r4
	bl	icl_display_core_init
	ldr	r3, [r4, #4]
	cmp	r3, #0
	popeq	{r4, pc}
	ldr	r2, .L20
	ldr	r3, [r4]
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L19
	ldr	r2, .L20+4
	ldr	r2, [r2]
	tst	r3, r2
	popeq	{r4, pc}
.L8:
	mov	r0, r4
	pop	{r4, lr}
	b	gen9_enable_dc5
.L2:
	bl	IS_GEN9_LP
	cmp	r0, #0
	mov	r0, r4
	beq	.L7
	bl	bxt_disable_dc9
	mov	r1, #1
	mov	r0, r4
	bl	bxt_display_core_init
	ldr	r3, [r4, #4]
	cmp	r3, #0
	popeq	{r4, pc}
	ldr	r3, .L20+4
	ldr	r2, [r4]
	ldr	r3, [r3]
	tst	r2, r3
	popeq	{r4, pc}
	b	.L8
.L7:
	bl	IS_HASWELL
	cmp	r0, #0
	beq	.L9
.L10:
	mov	r0, r4
	pop	{r4, lr}
	b	hsw_disable_pc8
.L9:
	mov	r0, r4
	bl	IS_BROADWELL
	cmp	r0, #0
	popeq	{r4, pc}
	b	.L10
.L19:
	mov	r0, r4
	pop	{r4, lr}
	b	skl_enable_dc6
.L21:
	.align	2
.L20:
	.word	DC_STATE_EN_UPTO_DC6
	.word	DC_STATE_EN_UPTO_DC5
	.size	intel_display_power_resume, .-intel_display_power_resume
	.comm	DC_STATE_EN_UPTO_DC6,4,4
	.comm	DC_STATE_EN_UPTO_DC5,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
