	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_connector_needs_modeset
_intel_connector_needs_modeset:         ## @intel_connector_needs_modeset
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rdi, %r14
	movq	(%rsi), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	callq	_to_intel_crtc
	movq	%rax, %r15
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.2:
	callq	_to_intel_crtc
	movb	$1, %cl
	cmpq	%r15, %rax
	jne	LBB0_11
## %bb.3:
	testq	%r15, %r15
	je	LBB0_10
## %bb.4:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_intel_atomic_get_new_crtc_state
	movl	%eax, %edi
	callq	_needs_modeset
	jmp	LBB0_7
LBB0_5:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.6:
	callq	_to_intel_crtc
LBB0_7:
	testq	%rax, %rax
	setne	%cl
	jmp	LBB0_11
LBB0_8:
	movb	$1, %cl
	testq	%r15, %r15
	jne	LBB0_11
LBB0_10:
	xorl	%ecx, %ecx
LBB0_11:
	movzbl	%cl, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_intel_connector_needs_modeset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_connector_needs_modeset
_intel_connector_needs_modeset:         ; @intel_connector_needs_modeset
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x2
	mov	x19, x0
	ldr	x0, [x1]
	cbz	x0, LBB0_5
; %bb.1:
	bl	_to_intel_crtc
	mov	x20, x0
	ldr	x0, [x21]
	cbz	x0, LBB0_8
; %bb.2:
	bl	_to_intel_crtc
	cmp	x0, x20
	b.ne	LBB0_9
; %bb.3:
	cbz	x20, LBB0_10
; %bb.4:
	mov	x0, x19
	mov	x1, x20
	bl	_intel_atomic_get_new_crtc_state
	bl	_needs_modeset
	b	LBB0_7
LBB0_5:
	ldr	x0, [x21]
	cbz	x0, LBB0_10
; %bb.6:
	bl	_to_intel_crtc
LBB0_7:
	cmp	x0, #0
	cset	w0, ne
	b	LBB0_11
LBB0_8:
	cbz	x20, LBB0_10
LBB0_9:
	mov	w0, #1
	b	LBB0_11
LBB0_10:
	mov	w0, #0
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_intel_connector_needs_modeset
.subsections_via_symbols
