	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dcn10_validate_plane
_dcn10_validate_plane:                  ## @dcn10_validate_plane
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_SURFACE_PIXEL_FORMAT_VIDEO_BEGIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_4
## %bb.1:
	movq	(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	cmpq	%rax, 8(%rdi)
	jle	LBB0_4
## %bb.3:
	movq	_DC_FAIL_SURFACE_VALIDATE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	_DC_OK@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SURFACE_PIXEL_FORMAT_VIDEO_BEGIN,8,3 ## @SURFACE_PIXEL_FORMAT_VIDEO_BEGIN
	.comm	_DC_FAIL_SURFACE_VALIDATE,4,2   ## @DC_FAIL_SURFACE_VALIDATE
	.comm	_DC_OK,4,2                      ## @DC_OK
	.no_dead_strip	_dcn10_validate_plane
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dcn10_validate_plane
_dcn10_validate_plane:                  ; @dcn10_validate_plane
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SURFACE_PIXEL_FORMAT_VIDEO_BEGIN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SURFACE_PIXEL_FORMAT_VIDEO_BEGIN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_4
; %bb.1:
	ldr	x8, [x1]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	x9, [x0, #8]
	cmp	x9, x8
	b.le	LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _DC_FAIL_SURFACE_VALIDATE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DC_FAIL_SURFACE_VALIDATE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
LBB0_4:
Lloh6:
	adrp	x8, _DC_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DC_OK@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SURFACE_PIXEL_FORMAT_VIDEO_BEGIN,8,3 ; @SURFACE_PIXEL_FORMAT_VIDEO_BEGIN
	.comm	_DC_FAIL_SURFACE_VALIDATE,4,2   ; @DC_FAIL_SURFACE_VALIDATE
	.comm	_DC_OK,4,2                      ; @DC_OK
	.no_dead_strip	_dcn10_validate_plane
.subsections_via_symbols
