	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function drm_property_change_is_valid
LCPI0_0:
	.quad	1                               ## 0x1
	.quad	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_drm_property_change_is_valid:          ## @drm_property_change_is_valid
	.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	_DRM_MODE_PROP_IMMUTABLE@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_2:
	movzbl	%al, %eax
	popq	%rbp
	retq
LBB0_3:
	movq	_DRM_MODE_PROP_RANGE@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_6
## %bb.4:
	movq	8(%rdi), %rax
	cmpq	%rsi, (%rax)
	ja	LBB0_1
## %bb.10:
	cmpq	%rsi, 8(%rax)
	setae	%al
	jmp	LBB0_2
LBB0_6:
	movq	_DRM_MODE_PROP_BITMASK@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_11
## %bb.7:
	movl	16(%rdi), %r9d
	testl	%r9d, %r9d
	jle	LBB0_16
## %bb.8:
	movq	8(%rdi), %rcx
	cmpl	$4, %r9d
	jae	LBB0_17
## %bb.9:
	xorl	%edx, %edx
	xorl	%eax, %eax
	jmp	LBB0_24
LBB0_11:
	movq	_DRM_MODE_PROP_BLOB@GOTPCREL(%rip), %rdx
	movb	$1, %al
	testl	%ecx, (%rdx)
	jne	LBB0_2
## %bb.12:
	movl	16(%rdi), %r8d
	testl	%r8d, %r8d
	jle	LBB0_1
## %bb.13:
	movq	8(%rdi), %rdx
	decq	%r8
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rsi, (%rdx,%rdi,8)
	sete	%al
	je	LBB0_2
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	leaq	1(%rdi), %rcx
	cmpq	%rdi, %r8
	movq	%rcx, %rdi
	jne	LBB0_14
	jmp	LBB0_2
LBB0_16:
	movq	$-1, %rax
	jmp	LBB0_26
LBB0_17:
	movl	%r9d, %edx
	andl	$-4, %edx
	leaq	-4(%rdx), %rax
	movq	%rax, %r8
	shrq	$2, %r8
	incq	%r8
	testq	%rax, %rax
	je	LBB0_20
## %bb.18:
	movq	%r8, %rax
	andq	$-2, %rax
	pxor	%xmm0, %xmm0
	xorl	%edi, %edi
	movdqa	LCPI0_0(%rip), %xmm8            ## xmm8 = [1,1]
	pxor	%xmm1, %xmm1
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movdqu	(%rcx,%rdi,8), %xmm3
	movdqu	16(%rcx,%rdi,8), %xmm4
	movdqu	32(%rcx,%rdi,8), %xmm5
	movdqu	48(%rcx,%rdi,8), %xmm6
	movdqa	%xmm8, %xmm7
	psllq	%xmm3, %xmm7
	pshufd	$238, %xmm3, %xmm3              ## xmm3 = xmm3[2,3,2,3]
	movdqa	%xmm8, %xmm2
	psllq	%xmm3, %xmm2
	pblendw	$15, %xmm7, %xmm2               ## xmm2 = xmm7[0,1,2,3],xmm2[4,5,6,7]
	por	%xmm0, %xmm2
	movdqa	%xmm8, %xmm0
	psllq	%xmm4, %xmm0
	pshufd	$238, %xmm4, %xmm3              ## xmm3 = xmm4[2,3,2,3]
	movdqa	%xmm8, %xmm4
	psllq	%xmm3, %xmm4
	movdqa	%xmm8, %xmm3
	psllq	%xmm5, %xmm3
	pblendw	$15, %xmm0, %xmm4               ## xmm4 = xmm0[0,1,2,3],xmm4[4,5,6,7]
	pshufd	$238, %xmm5, %xmm5              ## xmm5 = xmm5[2,3,2,3]
	movdqa	%xmm8, %xmm0
	psllq	%xmm5, %xmm0
	por	%xmm1, %xmm4
	pblendw	$15, %xmm3, %xmm0               ## xmm0 = xmm3[0,1,2,3],xmm0[4,5,6,7]
	movdqa	%xmm8, %xmm3
	psllq	%xmm6, %xmm3
	por	%xmm2, %xmm0
	pshufd	$238, %xmm6, %xmm2              ## xmm2 = xmm6[2,3,2,3]
	movdqa	%xmm8, %xmm1
	psllq	%xmm2, %xmm1
	pblendw	$15, %xmm3, %xmm1               ## xmm1 = xmm3[0,1,2,3],xmm1[4,5,6,7]
	por	%xmm4, %xmm1
	addq	$8, %rdi
	addq	$-2, %rax
	jne	LBB0_19
	jmp	LBB0_21
LBB0_20:
	pxor	%xmm0, %xmm0
	xorl	%edi, %edi
	pxor	%xmm1, %xmm1
LBB0_21:
	testb	$1, %r8b
	je	LBB0_23
## %bb.22:
	movdqu	(%rcx,%rdi,8), %xmm2
	movdqu	16(%rcx,%rdi,8), %xmm3
	movdqa	LCPI0_0(%rip), %xmm4            ## xmm4 = [1,1]
	movdqa	%xmm4, %xmm5
	psllq	%xmm2, %xmm5
	pshufd	$238, %xmm2, %xmm2              ## xmm2 = xmm2[2,3,2,3]
	movdqa	%xmm4, %xmm6
	psllq	%xmm2, %xmm6
	pblendw	$15, %xmm5, %xmm6               ## xmm6 = xmm5[0,1,2,3],xmm6[4,5,6,7]
	por	%xmm6, %xmm0
	movdqa	%xmm4, %xmm2
	psllq	%xmm3, %xmm2
	pshufd	$238, %xmm3, %xmm3              ## xmm3 = xmm3[2,3,2,3]
	psllq	%xmm3, %xmm4
	pblendw	$15, %xmm2, %xmm4               ## xmm4 = xmm2[0,1,2,3],xmm4[4,5,6,7]
	por	%xmm4, %xmm1
LBB0_23:
	por	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	por	%xmm0, %xmm1
	movq	%xmm1, %rax
	cmpq	%r9, %rdx
	je	LBB0_25
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rcx,%rdx,8), %edi
	btsq	%rdi, %rax
	incq	%rdx
	cmpq	%rdx, %r9
	jne	LBB0_24
LBB0_25:
	notq	%rax
LBB0_26:
	testq	%rsi, %rax
	sete	%al
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_DRM_MODE_PROP_IMMUTABLE,4,2    ## @DRM_MODE_PROP_IMMUTABLE
	.comm	_DRM_MODE_PROP_RANGE,4,2        ## @DRM_MODE_PROP_RANGE
	.comm	_DRM_MODE_PROP_BITMASK,4,2      ## @DRM_MODE_PROP_BITMASK
	.comm	_DRM_MODE_PROP_BLOB,4,2         ## @DRM_MODE_PROP_BLOB
	.no_dead_strip	_drm_property_change_is_valid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function drm_property_change_is_valid
_drm_property_change_is_valid:          ; @drm_property_change_is_valid
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _DRM_MODE_PROP_IMMUTABLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DRM_MODE_PROP_IMMUTABLE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
LBB0_1:
	mov	w0, #0
	ret
LBB0_2:
Lloh3:
	adrp	x9, _DRM_MODE_PROP_RANGE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DRM_MODE_PROP_RANGE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.3:
	ldr	x8, [x0, #8]
	ldr	x9, [x8]
	cmp	x9, x1
	b.hi	LBB0_1
; %bb.4:
	ldr	x8, [x8, #8]
	cmp	x8, x1
	cset	w0, hs
	ret
LBB0_5:
Lloh6:
	adrp	x9, _DRM_MODE_PROP_BITMASK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DRM_MODE_PROP_BITMASK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.6:
	ldr	w8, [x0, #16]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.7:
	ldr	x9, [x0, #8]
	cmp	w8, #8
	b.hs	LBB0_12
; %bb.8:
	mov	x10, #0
	mov	x11, #0
	b	LBB0_15
LBB0_9:
Lloh9:
	adrp	x9, _DRM_MODE_PROP_BLOB@GOTPAGE
Lloh10:
	ldr	x9, [x9, _DRM_MODE_PROP_BLOB@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_19
; %bb.10:
	mov	w0, #1
	ret
LBB0_11:
	mov	x8, #-1
	b	LBB0_18
LBB0_12:
	and	x10, x8, #0xfffffff8
	add	x11, x9, #32
	movi.2d	v0, #0000000000000000
	mov	w12, #1
	dup.2d	v1, x12
	mov	x12, x10
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
	movi.2d	v4, #0000000000000000
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldp	q5, q6, [x11, #-32]
	ldp	q7, q16, [x11], #64
	ushl.2d	v5, v1, v5
	ushl.2d	v6, v1, v6
	ushl.2d	v7, v1, v7
	ushl.2d	v16, v1, v16
	orr.16b	v0, v5, v0
	orr.16b	v2, v6, v2
	orr.16b	v3, v7, v3
	orr.16b	v4, v16, v4
	subs	x12, x12, #8
	b.ne	LBB0_13
; %bb.14:
	orr.16b	v0, v2, v0
	orr.16b	v0, v3, v0
	orr.16b	v0, v4, v0
	ext.16b	v1, v0, v0, #8
	orr.8b	v0, v0, v1
	fmov	x11, d0
	cmp	x10, x8
	b.eq	LBB0_17
LBB0_15:
	add	x9, x9, x10, lsl #3
	sub	x8, x8, x10
	mov	w10, #1
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x9], #8
	lsl	x12, x10, x12
	orr	x11, x12, x11
	subs	x8, x8, #1
	b.ne	LBB0_16
LBB0_17:
	mvn	x8, x11
LBB0_18:
	tst	x8, x1
	cset	w0, eq
	ret
LBB0_19:
	ldr	w9, [x0, #16]
	cmp	w9, #1
	b.lt	LBB0_1
; %bb.20:
	ldr	x8, [x0, #8]
	sub	x9, x9, #1
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x8], #8
	cmp	x10, x1
	cset	w0, eq
	ccmp	x9, #0, #4, ne
	sub	x9, x9, #1
	b.ne	LBB0_21
; %bb.22:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_DRM_MODE_PROP_IMMUTABLE,4,2    ; @DRM_MODE_PROP_IMMUTABLE
	.comm	_DRM_MODE_PROP_RANGE,4,2        ; @DRM_MODE_PROP_RANGE
	.comm	_DRM_MODE_PROP_BITMASK,4,2      ; @DRM_MODE_PROP_BITMASK
	.comm	_DRM_MODE_PROP_BLOB,4,2         ; @DRM_MODE_PROP_BLOB
	.no_dead_strip	_drm_property_change_is_valid
.subsections_via_symbols
