	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vop_plane_atomic_async_check
_vop_plane_atomic_async_check:          ## @vop_plane_atomic_async_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	%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	%rsi, %r15
	movq	%rdi, %r13
	callq	_to_vop_win
	movq	(%rax), %rbx
	movq	(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.3:
	movl	$1, %edi
	movl	$8, %esi
	callq	_FRAC_16_16
	movl	%eax, %r14d
	movq	(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.4:
	movl	$8, %edi
	movl	$1, %esi
	callq	_FRAC_16_16
	movl	%eax, %r12d
	jmp	LBB0_5
LBB0_1:
	movq	_DRM_PLANE_HELPER_NO_SCALING@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_2:
	movq	_DRM_PLANE_HELPER_NO_SCALING@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_5:
	movq	(%r15), %rsi
	cmpq	%r13, (%rsi)
	je	LBB0_6
LBB0_12:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.7:
	cmpl	$0, (%rdi)
	je	LBB0_12
## %bb.8:
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	%rax, %rdi
	callq	_drm_atomic_get_existing_crtc_state
	movq	%rax, %rsi
	movq	(%r13), %rdi
	jmp	LBB0_11
LBB0_10:
	movq	8(%r13), %rax
	movq	(%rax), %rsi
LBB0_11:
	movl	%r14d, %edx
	movl	%r12d, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_drm_atomic_helper_check_plane_state ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DRM_PLANE_HELPER_NO_SCALING,4,2 ## @DRM_PLANE_HELPER_NO_SCALING
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_vop_plane_atomic_async_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vop_plane_atomic_async_check
_vop_plane_atomic_async_check:          ; @vop_plane_atomic_async_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	x21, x1
	mov	x19, x0
	bl	_to_vop_win
	ldr	x22, [x0]
	ldr	x8, [x22]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.1:
	mov	w0, #1
	mov	w1, #8
	bl	_FRAC_16_16
	mov	x20, x0
	ldr	x8, [x22]
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.2:
	mov	w0, #8
	mov	w1, #1
	bl	_FRAC_16_16
	mov	x22, x0
	b	LBB0_5
LBB0_3:
Lloh0:
	adrp	x8, _DRM_PLANE_HELPER_NO_SCALING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DRM_PLANE_HELPER_NO_SCALING@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
LBB0_4:
Lloh3:
	adrp	x8, _DRM_PLANE_HELPER_NO_SCALING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DRM_PLANE_HELPER_NO_SCALING@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
LBB0_5:
	ldr	x1, [x21]
	ldr	x8, [x1]
	cmp	x8, x19
	b.eq	LBB0_7
LBB0_6:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	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_7:
	ldr	x0, [x19]
	cbz	x0, LBB0_6
; %bb.8:
	ldr	w8, [x0]
	cbz	w8, LBB0_6
; %bb.9:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_11
; %bb.10:
	mov	x0, x8
	bl	_drm_atomic_get_existing_crtc_state
	mov	x1, x0
	ldr	x0, [x19]
	b	LBB0_12
LBB0_11:
	ldr	x8, [x19, #8]
	ldr	x1, [x8]
LBB0_12:
	mov	x2, x20
	mov	x3, x22
	mov	w4, #1
	mov	w5, #1
	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
	b	_drm_atomic_helper_check_plane_state
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_DRM_PLANE_HELPER_NO_SCALING,4,2 ; @DRM_PLANE_HELPER_NO_SCALING
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_vop_plane_atomic_async_check
.subsections_via_symbols
