	.file	"extr_intel_ddi.c_intel_ddi_update_prepare.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	intel_ddi_update_prepare, @function
intel_ddi_update_prepare:
.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
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	test	rdx, rdx
	je	.L2
	mov	rsi, rdx
	mov	r13, rdi
	mov	rbp, rdx
	call	intel_atomic_get_new_crtc_state@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L3
	xor	edi, edi
	cmp	QWORD PTR 0[rbp], 0
	mov	r14d, DWORD PTR [rax]
	setne	dil
	call	WARN_ON@PLT
	mov	rdi, r12
	call	enc_to_dig_port@PLT
	mov	esi, r14d
	mov	edi, eax
	call	intel_tc_port_get_link@PLT
	cmp	QWORD PTR 8[rbx], 0
	jne	.L8
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdx, r12
	mov	rsi, rbp
	mov	rdi, r13
	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_update_active_dpll@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	xor	edi, edi
.L6:
	call	WARN_ON@PLT
	mov	rdi, r12
	call	enc_to_dig_port@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	esi, 1
	pop	rbp
	.cfi_def_cfa_offset 32
	mov	edi, eax
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	intel_tc_port_get_link@PLT
.L3:
	.cfi_restore_state
	xor	edi, edi
	cmp	QWORD PTR 0[rbp], 0
	setne	dil
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	intel_ddi_update_prepare, .-intel_ddi_update_prepare
	.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_ddi_update_prepare.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	intel_ddi_update_prepare, %function
intel_ddi_update_prepare:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	subs	r7, r2, #0
	mov	r4, r1
	beq	.L2
	mov	r1, r7
	mov	r6, r0
	bl	intel_atomic_get_new_crtc_state
	subs	r5, r0, #0
	ldr	r0, [r7]
	beq	.L3
	subs	r0, r0, #0
	movne	r0, #1
	ldr	r8, [r5]
	bl	WARN_ON
	mov	r0, r4
	bl	enc_to_dig_port
	mov	r1, r8
	bl	intel_tc_port_get_link
	ldr	r3, [r5, #4]
	cmp	r3, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r2, r4
	mov	r1, r7
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, lr}
	b	intel_update_active_dpll
.L2:
	mov	r0, r7
.L6:
	bl	WARN_ON
	mov	r0, r4
	bl	enc_to_dig_port
	pop	{r4, r5, r6, r7, r8, lr}
	mov	r1, #1
	b	intel_tc_port_get_link
.L3:
	subs	r0, r0, #0
	movne	r0, #1
	b	.L6
	.size	intel_ddi_update_prepare, .-intel_ddi_update_prepare
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
