	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function drm_property_flags_valid
_drm_property_flags_valid:              ## @drm_property_flags_valid
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_DRM_MODE_PROP_LEGACY_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_DRM_MODE_PROP_EXTENDED_TYPE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edx
	orl	%eax, %edx
	movq	_DRM_MODE_PROP_IMMUTABLE@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	movq	_DRM_MODE_PROP_ATOMIC@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	notl	%edx
	xorl	%ebx, %ebx
	testl	%edi, %edx
	jne	LBB0_5
## %bb.1:
	andl	%edi, %eax
	sete	%dl
	testl	%edi, %ecx
	setne	%cl
	xorb	%dl, %cl
	jne	LBB0_5
## %bb.2:
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %edi
	callq	_is_power_of_2
	testl	%eax, %eax
	je	LBB0_5
LBB0_4:
	movl	$1, %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DRM_MODE_PROP_LEGACY_TYPE,4,2  ## @DRM_MODE_PROP_LEGACY_TYPE
	.comm	_DRM_MODE_PROP_EXTENDED_TYPE,4,2 ## @DRM_MODE_PROP_EXTENDED_TYPE
	.comm	_DRM_MODE_PROP_IMMUTABLE,4,2    ## @DRM_MODE_PROP_IMMUTABLE
	.comm	_DRM_MODE_PROP_ATOMIC,4,2       ## @DRM_MODE_PROP_ATOMIC
	.no_dead_strip	_drm_property_flags_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_flags_valid
_drm_property_flags_valid:              ; @drm_property_flags_valid
	.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
Lloh0:
	adrp	x8, _DRM_MODE_PROP_LEGACY_TYPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DRM_MODE_PROP_LEGACY_TYPE@GOTPAGEOFF]
Lloh2:
	adrp	x9, _DRM_MODE_PROP_EXTENDED_TYPE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _DRM_MODE_PROP_EXTENDED_TYPE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	orr	w10, w9, w8
Lloh6:
	adrp	x11, _DRM_MODE_PROP_IMMUTABLE@GOTPAGE
Lloh7:
	ldr	x11, [x11, _DRM_MODE_PROP_IMMUTABLE@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	orr	w10, w10, w11
Lloh9:
	adrp	x11, _DRM_MODE_PROP_ATOMIC@GOTPAGE
Lloh10:
	ldr	x11, [x11, _DRM_MODE_PROP_ATOMIC@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	orr	w10, w10, w11
	bics	wzr, w0, w10
	b.ne	LBB0_2
; %bb.1:
	and	w8, w8, w0
	cmp	w8, #0
	cset	w10, eq
	tst	w9, w0
	cset	w9, ne
	eor	w9, w10, w9
	tbz	w9, #0, LBB0_3
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
	cbz	w8, LBB0_5
; %bb.4:
	mov	x0, x8
	bl	_is_power_of_2
	cbz	w0, LBB0_6
LBB0_5:
	mov	w0, #1
LBB0_6:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_DRM_MODE_PROP_LEGACY_TYPE,4,2  ; @DRM_MODE_PROP_LEGACY_TYPE
	.comm	_DRM_MODE_PROP_EXTENDED_TYPE,4,2 ; @DRM_MODE_PROP_EXTENDED_TYPE
	.comm	_DRM_MODE_PROP_IMMUTABLE,4,2    ; @DRM_MODE_PROP_IMMUTABLE
	.comm	_DRM_MODE_PROP_ATOMIC,4,2       ; @DRM_MODE_PROP_ATOMIC
	.no_dead_strip	_drm_property_flags_valid
.subsections_via_symbols
