	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpu_plane_format_mod_supported
_dpu_plane_format_mod_supported:        ## @dpu_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_DRM_FORMAT_MOD_LINEAR@GOTPCREL(%rip), %rax
	cmpq	%rdx, (%rax)
	jne	LBB0_1
LBB0_7:
	movl	$1, %r14d
	jmp	LBB0_8
LBB0_1:
	movq	_DRM_FORMAT_MOD_QCOM_COMPRESSED@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	cmpq	%rdx, (%rax)
	jne	LBB0_8
## %bb.2:
	movq	%rsi, %r12
	movq	_qcom_compressed_supported_formats@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_8
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	cmpq	%r12, (%rdi,%rbx,8)
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_4
## %bb.6:
	xorl	%r14d, %r14d
LBB0_8:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DRM_FORMAT_MOD_LINEAR,8,3      ## @DRM_FORMAT_MOD_LINEAR
	.comm	_DRM_FORMAT_MOD_QCOM_COMPRESSED,8,3 ## @DRM_FORMAT_MOD_QCOM_COMPRESSED
	.comm	_qcom_compressed_supported_formats,8,3 ## @qcom_compressed_supported_formats
	.no_dead_strip	_dpu_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 dpu_plane_format_mod_supported
_dpu_plane_format_mod_supported:        ; @dpu_plane_format_mod_supported
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x8, _DRM_FORMAT_MOD_LINEAR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DRM_FORMAT_MOD_LINEAR@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x2
	b.ne	LBB0_2
LBB0_1:
	mov	w0, #1
	b	LBB0_8
LBB0_2:
Lloh3:
	adrp	x8, _DRM_FORMAT_MOD_QCOM_COMPRESSED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DRM_FORMAT_MOD_QCOM_COMPRESSED@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, x2
	b.ne	LBB0_7
; %bb.3:
	mov	x19, x1
Lloh6:
	adrp	x20, _qcom_compressed_supported_formats@GOTPAGE
Lloh7:
	ldr	x20, [x20, _qcom_compressed_supported_formats@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_7
; %bb.4:
	mov	x21, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20]
	ldr	x8, [x0, x21, lsl #3]
	cmp	x8, x19
	b.eq	LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x21, #1
	bl	_ARRAY_SIZE
	cmp	x21, w0, sxtw
	b.lt	LBB0_5
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_DRM_FORMAT_MOD_LINEAR,8,3      ; @DRM_FORMAT_MOD_LINEAR
	.comm	_DRM_FORMAT_MOD_QCOM_COMPRESSED,8,3 ; @DRM_FORMAT_MOD_QCOM_COMPRESSED
	.comm	_qcom_compressed_supported_formats,8,3 ; @qcom_compressed_supported_formats
	.no_dead_strip	_dpu_plane_format_mod_supported
.subsections_via_symbols
