	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dce110_validate_surface_sets
_dce110_validate_surface_sets:          ## @dce110_validate_surface_sets
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movl	(%rdi), %r10d
	testl	%r10d, %r10d
	jle	LBB0_12
## %bb.1:
	movq	16(%rdi), %r11
	movq	_SURFACE_PIXEL_FORMAT_VIDEO_BEGIN@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	movq	_PIXEL_ENCODING_RGB@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	shlq	$3, %r10
	xorl	%esi, %esi
	xorl	%eax, %eax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	$8, %rsi
	cmpq	%rsi, %r10
	je	LBB0_12
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r11,%rsi,2), %ecx
	testl	%ecx, %ecx
	je	LBB0_11
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$2, %ecx
	jg	LBB0_13
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%ecx, %ecx
	jle	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r11,%rsi,2), %rdx
	movq	(%rdx), %rbx
	cmpq	%r9, (%rbx)
	jge	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$1, %ecx
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rdx), %rcx
	cmpq	%r9, (%rcx)
	jl	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$1920, 8(%rcx)                  ## imm = 0x780
	jg	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$1080, 12(%rcx)                 ## imm = 0x438
	jg	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rdi), %rcx
	movq	(%rcx,%rsi), %rcx
	cmpq	%r8, (%rcx)
	je	LBB0_11
	jmp	LBB0_13
LBB0_12:
	movl	$1, %eax
LBB0_13:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SURFACE_PIXEL_FORMAT_VIDEO_BEGIN,8,3 ## @SURFACE_PIXEL_FORMAT_VIDEO_BEGIN
	.comm	_PIXEL_ENCODING_RGB,8,3         ## @PIXEL_ENCODING_RGB
	.no_dead_strip	_dce110_validate_surface_sets
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dce110_validate_surface_sets
_dce110_validate_surface_sets:          ; @dce110_validate_surface_sets
	.cfi_startproc
; %bb.0:
	ldr	w12, [x0]
	cmp	w12, #1
	b.lt	LBB0_13
; %bb.1:
	mov	x8, #0
	ldr	x11, [x0, #16]
Lloh0:
	adrp	x9, _SURFACE_PIXEL_FORMAT_VIDEO_BEGIN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SURFACE_PIXEL_FORMAT_VIDEO_BEGIN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _PIXEL_ENCODING_RGB@GOTPAGE
Lloh4:
	ldr	x10, [x10, _PIXEL_ENCODING_RGB@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	add	x11, x11, #8
	lsl	x12, x12, #3
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #8
	add	x11, x11, #16
	cmp	x12, x8
	b.eq	LBB0_13
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w13, [x11, #-8]
	cbz	w13, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w13, #2
	b.gt	LBB0_12
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w13, #1
	b.lt	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x14, [x11]
	ldr	x15, [x14]
	ldr	x15, [x15]
	cmp	x15, x9
	b.ge	LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w13, #1
	b.eq	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x13, [x14, #8]
	ldr	x14, [x13]
	cmp	x14, x9
	b.lt	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w14, [x13, #8]
	cmp	w14, #1920
	b.gt	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w13, [x13, #12]
	cmp	w13, #1080
	b.gt	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x13, [x0, #8]
	ldr	x13, [x13, x8]
	ldr	x13, [x13]
	cmp	x13, x10
	b.eq	LBB0_2
LBB0_12:
	mov	w0, #0
	ret
LBB0_13:
	mov	w0, #1
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SURFACE_PIXEL_FORMAT_VIDEO_BEGIN,8,3 ; @SURFACE_PIXEL_FORMAT_VIDEO_BEGIN
	.comm	_PIXEL_ENCODING_RGB,8,3         ; @PIXEL_ENCODING_RGB
	.no_dead_strip	_dce110_validate_surface_sets
.subsections_via_symbols
