	.file	"extr_intel_psr.c_intel_psr_disable.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	intel_psr_disable
	.type	intel_psr_disable, @function
intel_psr_disable:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	dp_to_i915@PLT
	mov	edx, DWORD PTR [rbx]
	test	edx, edx
	jne	.L7
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rdi, rax
	mov	r12, rax
	call	CAN_PSR@PLT
	xor	edi, edi
	test	eax, eax
	sete	dil
	call	WARN_ON@PLT
	test	rax, rax
	jne	.L1
	lea	r13, 4[r12]
	mov	rdi, r13
	call	mutex_lock@PLT
	mov	rdi, rbp
	call	intel_psr_disable_locked@PLT
	mov	rdi, r13
	call	mutex_unlock@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rdi, r12
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	cancel_work_sync@PLT
	.cfi_endproc
.LFE0:
	.size	intel_psr_disable, .-intel_psr_disable
	.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_psr.c_intel_psr_disable.c"
	.text
	.align	2
	.global	intel_psr_disable
	.syntax unified
	.arm
	.fpu softvfp
	.type	intel_psr_disable, %function
intel_psr_disable:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	mov	r5, r0
	bl	dp_to_i915
	ldr	r3, [r4]
	cmp	r3, #0
	popeq	{r4, r5, r6, pc}
	mov	r4, r0
	bl	CAN_PSR
	clz	r0, r0
	lsr	r0, r0, #5
	bl	WARN_ON
	cmp	r0, #0
	popne	{r4, r5, r6, pc}
	add	r6, r4, #4
	mov	r0, r6
	bl	mutex_lock
	mov	r0, r5
	bl	intel_psr_disable_locked
	mov	r0, r6
	bl	mutex_unlock
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	cancel_work_sync
	.size	intel_psr_disable, .-intel_psr_disable
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
