	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function drm_atomic_crtc_check
_drm_atomic_crtc_check:                 ## @drm_atomic_crtc_check
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	32(%rsi), %r15
	cmpq	$0, (%rsi)
	je	LBB0_3
## %bb.1:
	cmpq	$0, 24(%rbx)
	je	LBB0_2
LBB0_3:
	movl	8(%r15), %edi
	movq	_DRIVER_ATOMIC@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_drm_core_check_feature
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:
	cmpq	$0, 24(%rbx)
	je	LBB0_5
## %bb.6:
	xorl	%edi, %edi
	cmpq	$0, 16(%rbx)
	sete	%dil
	jmp	LBB0_7
LBB0_2:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_18
LBB0_5:
	xorl	%edi, %edi
LBB0_7:
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_18
LBB0_9:
	movl	8(%r15), %edi
	movl	(%r12), %esi
	callq	_drm_core_check_feature
	testq	%rax, %rax
	je	LBB0_14
## %bb.10:
	xorl	%edi, %edi
	cmpq	$0, 24(%rbx)
	jne	LBB0_12
## %bb.11:
	xorl	%edi, %edi
	cmpq	$0, 16(%rbx)
	setne	%dil
LBB0_12:
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	leaq	L_.str.2(%rip), %rdi
LBB0_18:
	movl	(%r15), %edx
	movl	4(%r15), %esi
	callq	_DRM_DEBUG_ATOMIC
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_19:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	xorl	%eax, %eax
	cmpq	$0, 8(%rbx)
	je	LBB0_19
## %bb.15:
	cmpq	$0, (%rbx)
	jne	LBB0_19
## %bb.16:
	cmpq	$0, (%r14)
	jne	LBB0_19
## %bb.17:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[CRTC:%d:%s] active without enabled\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_DRIVER_ATOMIC,4,2              ## @DRIVER_ATOMIC
L_.str.1:                               ## @.str.1
	.asciz	"[CRTC:%d:%s] enabled without mode blob\n"

L_.str.2:                               ## @.str.2
	.asciz	"[CRTC:%d:%s] disabled with mode blob\n"

L_.str.3:                               ## @.str.3
	.asciz	"[CRTC:%d:%s] requesting event but off\n"

	.no_dead_strip	_drm_atomic_crtc_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function drm_atomic_crtc_check
_drm_atomic_crtc_check:                 ; @drm_atomic_crtc_check
	.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	x20, x1
	mov	x19, x0
	ldr	x21, [x1, #32]
	ldr	x8, [x1]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_6
LBB0_2:
	ldr	w0, [x21, #8]
Lloh0:
	adrp	x22, _DRIVER_ATOMIC@GOTPAGE
Lloh1:
	ldr	x22, [x22, _DRIVER_ATOMIC@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_drm_core_check_feature
	cbz	x0, LBB0_8
; %bb.3:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_7
; %bb.4:
	ldr	x8, [x20, #16]
	cmp	x8, #0
	cset	w0, eq
	bl	_WARN_ON
	cbz	x0, LBB0_8
LBB0_5:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_12
LBB0_6:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_12
LBB0_7:
	mov	w0, #0
	bl	_WARN_ON
	cbnz	x0, LBB0_5
LBB0_8:
	ldr	w0, [x21, #8]
	ldr	w1, [x22]
	bl	_drm_core_check_feature
	cbz	x0, LBB0_14
; %bb.9:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_13
; %bb.10:
	mov	w0, #0
	bl	_WARN_ON
	cbz	x0, LBB0_14
LBB0_11:
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_12:
	ldp	w2, w1, [x21]
	bl	_DRM_DEBUG_ATOMIC
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_18
LBB0_13:
	ldr	x8, [x20, #16]
	cmp	x8, #0
	cset	w0, ne
	bl	_WARN_ON
	cbnz	x0, LBB0_11
LBB0_14:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_17
; %bb.15:
	ldr	x8, [x20]
	cbnz	x8, LBB0_17
; %bb.16:
	ldr	x8, [x19]
	cbz	x8, LBB0_19
LBB0_17:
	mov	w0, #0
LBB0_18:
	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
LBB0_19:
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_12
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[CRTC:%d:%s] active without enabled\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_DRIVER_ATOMIC,4,2              ; @DRIVER_ATOMIC
l_.str.1:                               ; @.str.1
	.asciz	"[CRTC:%d:%s] enabled without mode blob\n"

l_.str.2:                               ; @.str.2
	.asciz	"[CRTC:%d:%s] disabled with mode blob\n"

l_.str.3:                               ; @.str.3
	.asciz	"[CRTC:%d:%s] requesting event but off\n"

	.no_dead_strip	_drm_atomic_crtc_check
.subsections_via_symbols
