	.file	"extr_intel_pm.c_ilk_compute_pri_wm.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ilk_compute_pri_wm, @function
ilk_compute_pri_wm:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	r12d, DWORD PTR U32_MAX[rip]
	test	edx, edx
	jne	.L12
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	rbp, rdi
	mov	r15, rsi
	mov	ebx, edx
	mov	r13d, ecx
	call	intel_wm_plane_visible@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L1
	mov	rax, QWORD PTR 8[r15]
	mov	edi, DWORD PTR 4[rbp]
	mov	edx, ebx
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	mov	r14d, DWORD PTR [rax]
	mov	esi, r14d
	call	ilk_wm_method1@PLT
	mov	r12d, eax
	test	r13d, r13d
	je	.L1
	mov	rdi, r15
	call	drm_rect_width@PLT
	mov	edi, DWORD PTR 4[rbp]
	mov	esi, DWORD PTR 0[rbp]
	mov	r8d, ebx
	mov	ecx, r14d
	mov	edx, eax
	call	ilk_wm_method2@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 56
	mov	edi, r12d
	pop	rbx
	.cfi_def_cfa_offset 48
	mov	esi, eax
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	min@PLT
	.cfi_endproc
.LFE0:
	.size	ilk_compute_pri_wm, .-ilk_compute_pri_wm
	.comm	U32_MAX,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_pm.c_ilk_compute_pri_wm.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ilk_compute_pri_wm, %function
ilk_compute_pri_wm:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	subs	r5, r2, #0
	sub	sp, sp, #12
	bne	.L2
	ldr	r3, .L12
	ldr	r4, [r3]
.L1:
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L2:
	mov	r7, r3
	mov	r8, r0
	mov	r9, r1
	bl	intel_wm_plane_visible
	subs	r4, r0, #0
	beq	.L1
	ldr	r3, [r9, #4]
	mov	r2, r5
	ldr	r3, [r3]
	ldr	r0, [r8, #4]
	ldr	r3, [r3]
	ldr	r6, [r3]
	mov	r1, r6
	bl	ilk_wm_method1
	cmp	r7, #0
	mov	r4, r0
	beq	.L1
	mov	r0, r9
	ldr	r7, [r8, #4]
	ldr	r8, [r8]
	bl	drm_rect_width
	mov	r1, r8
	mov	r2, r0
	mov	r3, r6
	mov	r0, r7
	str	r5, [sp]
	bl	ilk_wm_method2
	mov	r1, r0
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, lr}
	b	min
.L13:
	.align	2
.L12:
	.word	U32_MAX
	.size	ilk_compute_pri_wm, .-ilk_compute_pri_wm
	.comm	U32_MAX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
