	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_plane_init                 ## -- Begin function drm_plane_init
	.p2align	4, 0x90
_drm_plane_init:                        ## @drm_plane_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$0, 16(%rbp)
	jne	LBB0_1
## %bb.2:
	movq	_DRM_PLANE_TYPE_OVERLAY@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_DRM_PLANE_TYPE_PRIMARY@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	subq	$8, %rsp
	pushq	$0
	pushq	%rax
	pushq	$0
	callq	_drm_universal_plane_init
	addq	$32, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DRM_PLANE_TYPE_PRIMARY,4,2     ## @DRM_PLANE_TYPE_PRIMARY
	.comm	_DRM_PLANE_TYPE_OVERLAY,4,2     ## @DRM_PLANE_TYPE_OVERLAY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_drm_plane_init                 ; -- Begin function drm_plane_init
	.p2align	2
_drm_plane_init:                        ; @drm_plane_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _DRM_PLANE_TYPE_PRIMARY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DRM_PLANE_TYPE_PRIMARY@GOTPAGEOFF]
Lloh2:
	adrp	x9, _DRM_PLANE_TYPE_OVERLAY@GOTPAGE
Lloh3:
	ldr	x9, [x9, _DRM_PLANE_TYPE_OVERLAY@GOTPAGEOFF]
	cmp	w6, #0
	csel	x8, x9, x8, eq
	ldr	w7, [x8]
	str	xzr, [sp]
	mov	x6, #0
	bl	_drm_universal_plane_init
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DRM_PLANE_TYPE_PRIMARY,4,2     ; @DRM_PLANE_TYPE_PRIMARY
	.comm	_DRM_PLANE_TYPE_OVERLAY,4,2     ; @DRM_PLANE_TYPE_OVERLAY
.subsections_via_symbols
