	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function d71_format_mod_supported
_d71_format_mod_supported:              ## @d71_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_AFBC_FORMAT_MOD_BLOCK_SIZE_MASK@GOTPCREL(%rip), %rax
	andq	(%rax), %rdx
	movq	_AFBC_FORMAT_MOD_BLOCK_SIZE_32x8@GOTPCREL(%rip), %rax
	movl	$1, %ebx
	cmpq	(%rax), %rdx
	jne	LBB0_3
## %bb.1:
	movl	%ecx, %edi
	callq	_drm_rotation_90_or_270
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG_ATOMIC
	xorl	%ebx, %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AFBC_FORMAT_MOD_BLOCK_SIZE_MASK,8,3 ## @AFBC_FORMAT_MOD_BLOCK_SIZE_MASK
	.comm	_AFBC_FORMAT_MOD_BLOCK_SIZE_32x8,8,3 ## @AFBC_FORMAT_MOD_BLOCK_SIZE_32x8
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"D71 doesn't support ROT90 for WB-AFBC.\n"

	.no_dead_strip	_d71_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 d71_format_mod_supported
_d71_format_mod_supported:              ; @d71_format_mod_supported
	.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, _AFBC_FORMAT_MOD_BLOCK_SIZE_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AFBC_FORMAT_MOD_BLOCK_SIZE_MASK@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	and	x8, x8, x2
Lloh3:
	adrp	x9, _AFBC_FORMAT_MOD_BLOCK_SIZE_32x8@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AFBC_FORMAT_MOD_BLOCK_SIZE_32x8@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x3
	bl	_drm_rotation_90_or_270
	cbz	x0, LBB0_3
; %bb.2:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_ATOMIC
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_AFBC_FORMAT_MOD_BLOCK_SIZE_MASK,8,3 ; @AFBC_FORMAT_MOD_BLOCK_SIZE_MASK
	.comm	_AFBC_FORMAT_MOD_BLOCK_SIZE_32x8,8,3 ; @AFBC_FORMAT_MOD_BLOCK_SIZE_32x8
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"D71 doesn't support ROT90 for WB-AFBC.\n"

	.no_dead_strip	_d71_format_mod_supported
.subsections_via_symbols
