	.file	"extr_intel_ddi.c_intel_disable_ddi_dp.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	intel_disable_ddi_dp, @function
intel_disable_ddi_dp:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdx
	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
	call	enc_to_intel_dp@PLT
	cmp	QWORD PTR 0[rbp], 0
	mov	DWORD PTR [rax], 0
	mov	r12, rax
	jne	.L5
.L2:
	mov	rsi, rbp
	mov	rdi, r12
	call	intel_edp_drrs_disable@PLT
	mov	rsi, rbp
	mov	rdi, r12
	call	intel_psr_disable@PLT
	mov	rdi, r13
	call	intel_edp_backlight_off@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rsi, rbp
	mov	rdi, r12
	pop	rbp
	.cfi_def_cfa_offset 32
	xor	edx, edx
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	intel_dp_sink_set_decompression_state@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	rdx, r13
	mov	rsi, rbp
	mov	rdi, r14
	call	intel_audio_codec_disable@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	intel_disable_ddi_dp, .-intel_disable_ddi_dp
	.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_ddi.c_intel_disable_ddi_dp.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	intel_disable_ddi_dp, %function
intel_disable_ddi_dp:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r1
	mov	r6, r2
	mov	r7, r0
	bl	enc_to_intel_dp
	mov	r2, #0
	ldr	r3, [r4]
	mov	r5, r0
	cmp	r3, r2
	str	r2, [r0]
	bne	.L8
.L2:
	mov	r1, r4
	mov	r0, r5
	bl	intel_edp_drrs_disable
	mov	r1, r4
	mov	r0, r5
	bl	intel_psr_disable
	mov	r0, r6
	bl	intel_edp_backlight_off
	mov	r1, r4
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	mov	r2, #0
	b	intel_dp_sink_set_decompression_state
.L8:
	mov	r0, r7
	mov	r2, r6
	mov	r1, r4
	bl	intel_audio_codec_disable
	b	.L2
	.size	intel_disable_ddi_dp, .-intel_disable_ddi_dp
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
