	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mcde_display_init              ## -- Begin function mcde_display_init
	.p2align	4, 0x90
_mcde_display_init:                     ## @mcde_display_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	(%rdi), %rbx
	cmpq	$0, 8(%rbx)
	je	LBB0_2
## %bb.1:
	movq	_mcde_display_enable_vblank@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_mcde_display_funcs@GOTPCREL(%rip), %rcx
	movl	%eax, 4(%rcx)
	movq	_mcde_display_disable_vblank@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rcx)
LBB0_2:
	leaq	4(%rbx), %r14
	leaq	_mcde_display_init.formats(%rip), %r15
	movq	%r15, %rdi
	callq	_ARRAY_SIZE
	movl	(%rbx), %ecx
	movl	%ecx, (%rsp)
	movq	_mcde_display_funcs@GOTPCREL(%rip), %rdx
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r15, %rcx
	movl	%eax, %r8d
	xorl	%r9d, %r9d
	callq	_drm_simple_display_pipe_init
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @mcde_display_init.formats
_mcde_display_init.formats:
	.long	139                             ## 0x8b
	.long	141                             ## 0x8d
	.long	129                             ## 0x81
	.long	132                             ## 0x84
	.long	135                             ## 0x87
	.long	137                             ## 0x89
	.long	140                             ## 0x8c
	.long	142                             ## 0x8e
	.long	130                             ## 0x82
	.long	133                             ## 0x85
	.long	131                             ## 0x83
	.long	134                             ## 0x86
	.long	136                             ## 0x88
	.long	138                             ## 0x8a
	.long	128                             ## 0x80

	.comm	_mcde_display_enable_vblank,4,2 ## @mcde_display_enable_vblank
	.comm	_mcde_display_funcs,8,2         ## @mcde_display_funcs
	.comm	_mcde_display_disable_vblank,4,2 ## @mcde_display_disable_vblank
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mcde_display_init              ; -- Begin function mcde_display_init
	.p2align	2
_mcde_display_init:                     ; @mcde_display_init
	.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
	mov	x19, x0
	ldr	x20, [x0]
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _mcde_display_enable_vblank@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mcde_display_enable_vblank@GOTPAGEOFF]
Lloh2:
	adrp	x9, _mcde_display_funcs@GOTPAGE
Lloh3:
	ldr	x9, [x9, _mcde_display_funcs@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x10, _mcde_display_disable_vblank@GOTPAGE
Lloh6:
	ldr	x10, [x10, _mcde_display_disable_vblank@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	stp	w10, w8, [x9]
LBB0_2:
Lloh8:
	adrp	x21, _mcde_display_init.formats@PAGE
Lloh9:
	add	x21, x21, _mcde_display_init.formats@PAGEOFF
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x4, x0
	ldr	w6, [x20], #4
Lloh10:
	adrp	x2, _mcde_display_funcs@GOTPAGE
Lloh11:
	ldr	x2, [x2, _mcde_display_funcs@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, x20
	mov	x3, x21
	mov	x5, #0
	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
	b	_drm_simple_display_pipe_init
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @mcde_display_init.formats
_mcde_display_init.formats:
	.long	139                             ; 0x8b
	.long	141                             ; 0x8d
	.long	129                             ; 0x81
	.long	132                             ; 0x84
	.long	135                             ; 0x87
	.long	137                             ; 0x89
	.long	140                             ; 0x8c
	.long	142                             ; 0x8e
	.long	130                             ; 0x82
	.long	133                             ; 0x85
	.long	131                             ; 0x83
	.long	134                             ; 0x86
	.long	136                             ; 0x88
	.long	138                             ; 0x8a
	.long	128                             ; 0x80

	.comm	_mcde_display_enable_vblank,4,2 ; @mcde_display_enable_vblank
	.comm	_mcde_display_funcs,8,2         ; @mcde_display_funcs
	.comm	_mcde_display_disable_vblank,4,2 ; @mcde_display_disable_vblank
.subsections_via_symbols
