	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_armada_drm_primary_plane_init  ## -- Begin function armada_drm_primary_plane_init
	.p2align	4, 0x90
_armada_drm_primary_plane_init:         ## @armada_drm_primary_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
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_armada_primary_plane_helper_funcs@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	_drm_plane_helper_add
	movq	_armada_primary_formats@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	movq	_DRM_PLANE_TYPE_PRIMARY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	subq	$8, %rsp
	movq	_armada_primary_plane_funcs@GOTPCREL(%rip), %rcx
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	movl	%ebx, %r8d
	movl	%eax, %r9d
	pushq	$0
	pushq	%r10
	pushq	$0
	callq	_drm_universal_plane_init
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_armada_primary_plane_helper_funcs,4,2 ## @armada_primary_plane_helper_funcs
	.comm	_armada_primary_plane_funcs,4,2 ## @armada_primary_plane_funcs
	.comm	_armada_primary_formats,4,2     ## @armada_primary_formats
	.comm	_DRM_PLANE_TYPE_PRIMARY,4,2     ## @DRM_PLANE_TYPE_PRIMARY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_armada_drm_primary_plane_init  ; -- Begin function armada_drm_primary_plane_init
	.p2align	2
_armada_drm_primary_plane_init:         ; @armada_drm_primary_plane_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x1, _armada_primary_plane_helper_funcs@GOTPAGE
Lloh1:
	ldr	x1, [x1, _armada_primary_plane_helper_funcs@GOTPAGEOFF]
	mov	x0, x19
	bl	_drm_plane_helper_add
Lloh2:
	adrp	x8, _armada_primary_formats@GOTPAGE
Lloh3:
	ldr	x8, [x8, _armada_primary_formats@GOTPAGEOFF]
Lloh4:
	ldr	w21, [x8]
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x5, x0
Lloh5:
	adrp	x8, _DRM_PLANE_TYPE_PRIMARY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DRM_PLANE_TYPE_PRIMARY@GOTPAGEOFF]
Lloh7:
	ldr	w7, [x8]
	str	xzr, [sp]
Lloh8:
	adrp	x3, _armada_primary_plane_funcs@GOTPAGE
Lloh9:
	ldr	x3, [x3, _armada_primary_plane_funcs@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	mov	x4, x21
	mov	x6, #0
	bl	_drm_universal_plane_init
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_armada_primary_plane_helper_funcs,4,2 ; @armada_primary_plane_helper_funcs
	.comm	_armada_primary_plane_funcs,4,2 ; @armada_primary_plane_funcs
	.comm	_armada_primary_formats,4,2     ; @armada_primary_formats
	.comm	_DRM_PLANE_TYPE_PRIMARY,4,2     ; @DRM_PLANE_TYPE_PRIMARY
.subsections_via_symbols
