	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function skl_plane_format_mod_supported
_skl_plane_format_mod_supported:        ## @skl_plane_format_mod_supported
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edx, %r14d
	movl	%esi, %ebx
	callq	_to_intel_plane
	movq	%rax, %rcx
	xorl	%eax, %eax
	leal	-128(%r14), %edx
	cmpl	$26, %edx
	ja	LBB0_16
## %bb.1:
	movl	$67108890, %esi                 ## imm = 0x400001A
	btl	%edx, %esi
	jb	LBB0_4
## %bb.2:
	movl	$5, %esi
	btl	%edx, %esi
	jae	LBB0_16
## %bb.3:
	cmpl	$0, (%rcx)
	je	LBB0_16
LBB0_4:
	addl	$-133, %ebx
	cmpl	$26, %ebx
	ja	LBB0_15
## %bb.5:
	movl	$2085411, %eax                  ## imm = 0x1FD223
	btl	%ebx, %eax
	jb	LBB0_12
## %bb.6:
	movl	$88089820, %eax                 ## imm = 0x54024DC
	btl	%ebx, %eax
	jae	LBB0_7
LBB0_10:
	addl	$-131, %r14d
	cmpl	$23, %r14d
	ja	LBB0_15
## %bb.11:
	movl	$1, %eax
	movl	$8388611, %ecx                  ## imm = 0x800003
	btl	%r14d, %ecx
	jb	LBB0_16
	jmp	LBB0_15
LBB0_12:
	addl	$-129, %r14d
	cmpl	$25, %r14d
	ja	LBB0_15
## %bb.13:
	movl	$1, %eax
	movl	$33554445, %ecx                 ## imm = 0x200000D
	btl	%r14d, %ecx
	jb	LBB0_16
	jmp	LBB0_15
LBB0_7:
	movl	$41945344, %eax                 ## imm = 0x2800900
	btl	%ebx, %eax
	jae	LBB0_15
## %bb.8:
	movl	%r14d, %edi
	callq	_is_ccs_modifier
	movl	%eax, %ecx
	movl	$1, %eax
	cmpl	$129, %r14d
	je	LBB0_16
## %bb.9:
	testl	%ecx, %ecx
	je	LBB0_10
	jmp	LBB0_16
LBB0_15:
	xorl	%eax, %eax
LBB0_16:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_skl_plane_format_mod_supported
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function skl_plane_format_mod_supported
_skl_plane_format_mod_supported:        ; @skl_plane_format_mod_supported
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x20, x1
	bl	_to_intel_plane
	mov	x8, x0
	mov	w0, #0
	sub	w9, w19, #128
	cmp	w9, #26
	b.hi	LBB0_15
; %bb.1:
	mov	w10, #1
	lsl	w9, w10, w9
	mov	w10, #26
	movk	w10, #1024, lsl #16
	tst	w9, w10
	b.ne	LBB0_4
; %bb.2:
	mov	w10, #5
	tst	w9, w10
	b.eq	LBB0_15
; %bb.3:
	ldr	w8, [x8]
	cbz	w8, LBB0_14
LBB0_4:
	sub	w8, w20, #133
	cmp	w8, #26
	b.hi	LBB0_14
; %bb.5:
	mov	w9, #1
	lsl	w9, w9, w8
	mov	w10, #53795
	movk	w10, #31, lsl #16
	tst	w9, w10
	b.ne	LBB0_9
; %bb.6:
	mov	w10, #9436
	movk	w10, #1344, lsl #16
	tst	w9, w10
	b.eq	LBB0_11
LBB0_7:
	sub	w8, w19, #131
	cmp	w8, #23
	b.hi	LBB0_14
; %bb.8:
	mov	w0, #1
	lsl	w8, w0, w8
	mov	w9, #3
	movk	w9, #128, lsl #16
	tst	w8, w9
	b.ne	LBB0_15
	b	LBB0_14
LBB0_9:
	sub	w8, w19, #129
	cmp	w8, #25
	b.hi	LBB0_14
; %bb.10:
	mov	w0, #1
	lsl	w8, w0, w8
	mov	w9, #13
	movk	w9, #512, lsl #16
	tst	w8, w9
	b.ne	LBB0_15
	b	LBB0_14
LBB0_11:
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #2304
	movk	w9, #640, lsl #16
	tst	w8, w9
	b.eq	LBB0_14
; %bb.12:
	mov	x0, x19
	bl	_is_ccs_modifier
	mov	x8, x0
	mov	w0, #1
	cmp	w19, #129
	b.eq	LBB0_15
; %bb.13:
	cbz	w8, LBB0_7
	b	LBB0_15
LBB0_14:
	mov	w0, #0
LBB0_15:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_skl_plane_format_mod_supported
.subsections_via_symbols
