	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function exynos_drm_plane_check_size
LCPI0_0:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.space	4
	.space	4
LCPI0_1:
	.long	32768                           ## 0x8000
	.long	32768                           ## 0x8000
	.space	4
	.space	4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_exynos_drm_plane_check_size:           ## @exynos_drm_plane_check_size
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	movq	_EXYNOS_DRM_PLANE_CAP_SCALE@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	testl	%ecx, (%rdx)
	je	LBB0_1
LBB0_5:
	popq	%rbp
	retq
LBB0_1:
	movdqu	8(%rsi), %xmm0
	movdqu	24(%rsi), %xmm1
	pcmpeqq	%xmm0, %xmm1
	pshufd	$232, %xmm1, %xmm1              ## xmm1 = xmm1[0,2,2,3]
	pand	LCPI0_0(%rip), %xmm1
	movq	_EXYNOS_DRM_PLANE_CAP_DOUBLE@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_3
## %bb.2:
	movq	(%rsi), %xmm0                   ## xmm0 = mem[0],zero
	pcmpeqd	LCPI0_1(%rip), %xmm0
	blendvps	%xmm0, LCPI0_0(%rip), %xmm1
LBB0_3:
	pxor	%xmm0, %xmm0
	pcmpeqd	%xmm1, %xmm0
	pcmpeqd	%xmm1, %xmm1
	pxor	%xmm0, %xmm1
	pmovsxdq	%xmm1, %xmm0
	movmskpd	%xmm0, %ecx
	cmpb	$3, %cl
	je	LBB0_5
## %bb.4:
	movq	40(%rsi), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_DRM_DEV_DEBUG_KMS
	movq	_ENOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EXYNOS_DRM_PLANE_CAP_SCALE,4,2 ## @EXYNOS_DRM_PLANE_CAP_SCALE
	.comm	_EXYNOS_DRM_PLANE_CAP_DOUBLE,4,2 ## @EXYNOS_DRM_PLANE_CAP_DOUBLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"scaling mode is not supported"

	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
	.no_dead_strip	_exynos_drm_plane_check_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exynos_drm_plane_check_size
_exynos_drm_plane_check_size:           ; @exynos_drm_plane_check_size
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _EXYNOS_DRM_PLANE_CAP_SCALE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EXYNOS_DRM_PLANE_CAP_SCALE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_4
; %bb.1:
	ldur	q0, [x1, #24]
	ldur	q1, [x1, #8]
	cmeq.2d	v0, v0, v1
	xtn.2s	v0, v0
	movi.2s	v1, #1
	and.8b	v0, v0, v1
Lloh3:
	adrp	x9, _EXYNOS_DRM_PLANE_CAP_DOUBLE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EXYNOS_DRM_PLANE_CAP_DOUBLE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	ldr	d2, [x1]
	movi.2s	v3, #128, lsl #8
	cmeq.2s	v2, v2, v3
	bit.8b	v0, v1, v2
LBB0_3:
	cmtst.2s	v1, v0, v0
	cmeq.2s	v0, v0, #0
	dup.2s	v1, v1[1]
	bic.8b	v0, v1, v0
	fmov	w8, s0
	tbz	w8, #0, LBB0_5
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	x8, [x1, #40]
	ldr	x8, [x8]
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DRM_DEV_DEBUG_KMS
Lloh8:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EXYNOS_DRM_PLANE_CAP_SCALE,4,2 ; @EXYNOS_DRM_PLANE_CAP_SCALE
	.comm	_EXYNOS_DRM_PLANE_CAP_DOUBLE,4,2 ; @EXYNOS_DRM_PLANE_CAP_DOUBLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"scaling mode is not supported"

	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
	.no_dead_strip	_exynos_drm_plane_check_size
.subsections_via_symbols
