	.file	"extr_intel_display_power.c_intel_pch_reset_handshake.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	intel_pch_reset_handshake, @function
intel_pch_reset_handshake:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	IS_IVYBRIDGE@PLT
	test	rax, rax
	je	.L2
	mov	r12d, DWORD PTR GEN7_MSG_CTL[rip]
	mov	ebx, DWORD PTR WAIT_FOR_PCH_FLR_ACK[rip]
	or	ebx, DWORD PTR WAIT_FOR_PCH_RESET_ACK[rip]
.L3:
	mov	edi, r12d
	call	I915_READ@PLT
	mov	edi, r12d
	mov	esi, eax
	mov	eax, ebx
	not	ebx
	and	ebx, esi
	or	eax, esi
	test	ebp, ebp
	cmove	eax, ebx
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	mov	esi, eax
	jmp	I915_WRITE@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	r12d, DWORD PTR HSW_NDE_RSTWRN_OPT[rip]
	mov	ebx, DWORD PTR RESET_PCH_HANDSHAKE_ENABLE[rip]
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	intel_pch_reset_handshake, .-intel_pch_reset_handshake
	.comm	WAIT_FOR_PCH_RESET_ACK,4,4
	.comm	WAIT_FOR_PCH_FLR_ACK,4,4
	.comm	RESET_PCH_HANDSHAKE_ENABLE,4,4
	.comm	HSW_NDE_RSTWRN_OPT,4,4
	.comm	GEN7_MSG_CTL,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_pch_reset_handshake.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	intel_pch_reset_handshake, %function
intel_pch_reset_handshake:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	bl	IS_IVYBRIDGE
	cmp	r0, #0
	beq	.L2
	ldr	r3, .L8
	ldr	r2, .L8+4
	ldr	r6, [r3]
	ldr	r3, .L8+8
	ldr	r1, [r2]
	ldr	r5, [r3]
	orr	r6, r1, r6
.L3:
	mov	r0, r5
	bl	I915_READ
	cmp	r4, #0
	orrne	r1, r6, r0
	biceq	r1, r0, r6
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	b	I915_WRITE
.L2:
	ldr	r2, .L8+12
	ldr	r3, .L8+16
	ldr	r5, [r2]
	ldr	r6, [r3]
	b	.L3
.L9:
	.align	2
.L8:
	.word	WAIT_FOR_PCH_RESET_ACK
	.word	WAIT_FOR_PCH_FLR_ACK
	.word	GEN7_MSG_CTL
	.word	HSW_NDE_RSTWRN_OPT
	.word	RESET_PCH_HANDSHAKE_ENABLE
	.size	intel_pch_reset_handshake, .-intel_pch_reset_handshake
	.comm	WAIT_FOR_PCH_RESET_ACK,4,4
	.comm	WAIT_FOR_PCH_FLR_ACK,4,4
	.comm	RESET_PCH_HANDSHAKE_ENABLE,4,4
	.comm	HSW_NDE_RSTWRN_OPT,4,4
	.comm	GEN7_MSG_CTL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
