	.file	"extr_intel_display.c_intel_plane_disable_noatomic.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Disabling [PLANE:%d:%s] on [CRTC:%d:%s]\n"
	.text
	.p2align 4
	.type	intel_plane_disable_noatomic, @function
intel_plane_disable_noatomic:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR 8[rdi]
	call	to_intel_crtc_state@PLT
	mov	edi, DWORD PTR 16[rbp]
	mov	r12, rax
	call	to_intel_plane_state@PLT
	mov	ecx, DWORD PTR 4[r13]
	mov	r8d, DWORD PTR 0[r13]
	lea	rdi, .LC0[rip]
	mov	edx, DWORD PTR 8[rbp]
	mov	esi, DWORD PTR 12[rbp]
	mov	r14, rax
	call	DRM_DEBUG_KMS@PLT
	xor	edx, edx
	mov	rsi, r14
	mov	rdi, r12
	call	intel_set_plane_visible@PLT
	mov	rdi, r12
	call	fixup_active_planes@PLT
	mov	rax, QWORD PTR [r12]
	mov	rdx, QWORD PTR 0[rbp]
	mov	QWORD PTR [rax+rdx*8], 0
	mov	rax, QWORD PTR PLANE_PRIMARY[rip]
	cmp	QWORD PTR 0[rbp], rax
	je	.L5
.L2:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rsi, r12
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	intel_disable_plane@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	rdi, r13
	call	intel_pre_disable_primary_noatomic@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	intel_plane_disable_noatomic, .-intel_plane_disable_noatomic
	.comm	PLANE_PRIMARY,8,8
	.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.c_intel_plane_disable_noatomic.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Disabling [PLANE:%d:%s] on [CRTC:%d:%s]\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	intel_plane_disable_noatomic, %function
intel_plane_disable_noatomic:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r6, r0
	sub	sp, sp, #12
	ldr	r0, [r0, #8]
	mov	r4, r1
	bl	to_intel_crtc_state
	mov	r5, r0
	ldr	r0, [r4, #12]
	bl	to_intel_plane_state
	ldm	r6, {r2, r3}
	mov	r7, r0
	str	r2, [sp]
	ldr	r2, [r4, #4]
	ldr	r1, [r4, #8]
	ldr	r0, .L6
	bl	DRM_DEBUG_KMS
	mov	r1, r7
	mov	r2, #0
	mov	r0, r5
	bl	intel_set_plane_visible
	mov	r0, r5
	bl	fixup_active_planes
	mov	r0, #0
	ldr	r2, [r5]
	ldr	r1, [r4]
	ldr	r3, .L6+4
	str	r0, [r2, r1, lsl #2]
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L5
.L2:
	mov	r1, r5
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	intel_disable_plane
.L5:
	mov	r0, r6
	bl	intel_pre_disable_primary_noatomic
	b	.L2
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	PLANE_PRIMARY
	.size	intel_plane_disable_noatomic, .-intel_plane_disable_noatomic
	.comm	PLANE_PRIMARY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
