	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_meson_overlay_create           ## -- Begin function meson_overlay_create
	.p2align	4, 0x90
_meson_overlay_create:                  ## @meson_overlay_create
	.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	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG_DRIVER
	movq	8(%r14), %rax
	movl	(%rax), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$16, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r14, 8(%rax)
	movq	8(%r14), %r15
	movq	_supported_drm_formats@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%r12d, %edi
	callq	_ARRAY_SIZE
	movq	_DRM_PLANE_TYPE_OVERLAY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	subq	$8, %rsp
	leaq	L_.str.1(%rip), %r11
	movq	_meson_overlay_funcs@GOTPCREL(%rip), %rcx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$255, %edx
	movl	%r12d, %r8d
	movl	%eax, %r9d
	pushq	%r11
	pushq	%r10
	pushq	$0
	callq	_drm_universal_plane_init
	addq	$32, %rsp
	movq	_meson_overlay_helper_funcs@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_drm_plane_helper_add
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_drm_plane_create_zpos_immutable_property
	movq	%rbx, (%r14)
	leaq	L_.str(%rip), %rdi
	callq	_DRM_DEBUG_DRIVER
	jmp	LBB0_3
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_3:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_meson_overlay_funcs,4,2        ## @meson_overlay_funcs
	.comm	_supported_drm_formats,4,2      ## @supported_drm_formats
	.comm	_DRM_PLANE_TYPE_OVERLAY,4,2     ## @DRM_PLANE_TYPE_OVERLAY
L_.str.1:                               ## @.str.1
	.asciz	"meson_overlay_plane"

	.comm	_meson_overlay_helper_funcs,4,2 ## @meson_overlay_helper_funcs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_meson_overlay_create           ; -- Begin function meson_overlay_create
	.p2align	2
_meson_overlay_create:                  ; @meson_overlay_create
	.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, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_DRIVER
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	w1, #16
	bl	_devm_kzalloc
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
	str	x19, [x0, #8]
	ldr	x21, [x19, #8]
Lloh5:
	adrp	x8, _supported_drm_formats@GOTPAGE
Lloh6:
	ldr	x8, [x8, _supported_drm_formats@GOTPAGEOFF]
Lloh7:
	ldr	w22, [x8]
	mov	x0, x22
	bl	_ARRAY_SIZE
	mov	x5, x0
Lloh8:
	adrp	x8, _DRM_PLANE_TYPE_OVERLAY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DRM_PLANE_TYPE_OVERLAY@GOTPAGEOFF]
Lloh10:
	ldr	w7, [x8]
Lloh11:
	adrp	x8, l_.str.1@PAGE
Lloh12:
	add	x8, x8, l_.str.1@PAGEOFF
	str	x8, [sp]
Lloh13:
	adrp	x3, _meson_overlay_funcs@GOTPAGE
Lloh14:
	ldr	x3, [x3, _meson_overlay_funcs@GOTPAGEOFF]
	mov	x0, x21
	mov	x1, x20
	mov	w2, #255
	mov	x4, x22
	mov	x6, #0
	bl	_drm_universal_plane_init
Lloh15:
	adrp	x1, _meson_overlay_helper_funcs@GOTPAGE
Lloh16:
	ldr	x1, [x1, _meson_overlay_helper_funcs@GOTPAGEOFF]
	mov	x0, x20
	bl	_drm_plane_helper_add
	mov	x0, x20
	mov	w1, #0
	bl	_drm_plane_create_zpos_immutable_property
	str	x20, [x19]
Lloh17:
	adrp	x0, l_.str@PAGE
Lloh18:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_DRIVER
	mov	w0, #0
	b	LBB0_3
LBB0_2:
Lloh19:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	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 AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_meson_overlay_funcs,4,2        ; @meson_overlay_funcs
	.comm	_supported_drm_formats,4,2      ; @supported_drm_formats
	.comm	_DRM_PLANE_TYPE_OVERLAY,4,2     ; @DRM_PLANE_TYPE_OVERLAY
l_.str.1:                               ; @.str.1
	.asciz	"meson_overlay_plane"

	.comm	_meson_overlay_helper_funcs,4,2 ; @meson_overlay_helper_funcs
.subsections_via_symbols
