	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_ddi_update_prepare
_intel_ddi_update_prepare:              ## @intel_ddi_update_prepare
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	testq	%rdx, %rdx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rsi
	callq	_intel_atomic_get_new_crtc_state
	movq	%rax, %r12
	testq	%rax, %rax
	sete	%r15b
	je	LBB0_3
## %bb.4:
	movl	(%r12), %r13d
	jmp	LBB0_5
LBB0_1:
	xorl	%r12d, %r12d
	movb	$1, %r15b
	movl	$1, %r13d
	xorl	%edi, %edi
	jmp	LBB0_6
LBB0_3:
	movl	$1, %r13d
LBB0_5:
	xorl	%edi, %edi
	cmpq	$0, (%rbx)
	setne	%dil
LBB0_6:
	callq	_WARN_ON
	movq	%r14, %rdi
	callq	_enc_to_dig_port
	movl	%eax, %edi
	movl	%r13d, %esi
	callq	_intel_tc_port_get_link
	testb	%r15b, %r15b
	jne	LBB0_8
## %bb.7:
	cmpq	$0, 8(%r12)
	je	LBB0_8
## %bb.9:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_intel_update_active_dpll       ## TAILCALL
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_intel_ddi_update_prepare
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_ddi_update_prepare
_intel_ddi_update_prepare:              ; @intel_ddi_update_prepare
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	cbz	x2, LBB0_3
; %bb.1:
	mov	x0, x21
	mov	x1, x20
	bl	_intel_atomic_get_new_crtc_state
	mov	x22, x0
	cmp	x0, #0
	cset	w24, eq
	cbz	x0, LBB0_4
; %bb.2:
	ldr	w23, [x22]
	b	LBB0_5
LBB0_3:
	mov	x22, #0
	mov	w0, #0
	mov	w23, #1
	mov	w24, #1
	b	LBB0_6
LBB0_4:
	mov	w23, #1
LBB0_5:
	ldr	x8, [x20]
	cmp	x8, #0
	cset	w0, ne
LBB0_6:
	bl	_WARN_ON
	mov	x0, x19
	bl	_enc_to_dig_port
	mov	x1, x23
	bl	_intel_tc_port_get_link
	tbnz	w24, #0, LBB0_9
; %bb.7:
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_9
; %bb.8:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_intel_update_active_dpll
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_intel_ddi_update_prepare
.subsections_via_symbols
