	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pl111_display_init             ## -- Begin function pl111_display_init
	.p2align	4, 0x90
_pl111_display_init:                    ## @pl111_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	(%rdi), %r14
	callq	_pl111_init_clock_divider
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movq	8(%r14), %rax
	cmpl	$0, 8(%rax)
	jne	LBB0_3
## %bb.2:
	movq	_pl111_display_enable_vblank@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_pl111_display_funcs@GOTPCREL(%rip), %rdx
	movl	%ecx, 4(%rdx)
	movq	_pl111_display_disable_vblank@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rdx)
LBB0_3:
	movl	(%rax), %r8d
	movl	4(%rax), %ecx
	movl	(%r14), %eax
	addq	$16, %r14
	movl	%eax, (%rsp)
	movq	_pl111_display_funcs@GOTPCREL(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%r9d, %r9d
	callq	_drm_simple_display_pipe_init
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pl111_display_enable_vblank,4,2 ## @pl111_display_enable_vblank
	.comm	_pl111_display_funcs,8,2        ## @pl111_display_funcs
	.comm	_pl111_display_disable_vblank,4,2 ## @pl111_display_disable_vblank
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pl111_display_init             ; -- Begin function pl111_display_init
	.p2align	2
_pl111_display_init:                    ; @pl111_display_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x20, [x0]
	bl	_pl111_init_clock_divider
	cbz	w0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	x8, [x20, #8]
	ldr	w9, [x8, #8]
	cbnz	w9, LBB0_4
; %bb.3:
Lloh0:
	adrp	x9, _pl111_display_funcs@GOTPAGE
Lloh1:
	ldr	x9, [x9, _pl111_display_funcs@GOTPAGEOFF]
Lloh2:
	adrp	x10, _pl111_display_enable_vblank@GOTPAGE
Lloh3:
	ldr	x10, [x10, _pl111_display_enable_vblank@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
Lloh5:
	adrp	x11, _pl111_display_disable_vblank@GOTPAGE
Lloh6:
	ldr	x11, [x11, _pl111_display_disable_vblank@GOTPAGEOFF]
Lloh7:
	ldr	w11, [x11]
	stp	w11, w10, [x9]
LBB0_4:
	ldp	w4, w3, [x8]
	ldr	w6, [x20], #16
Lloh8:
	adrp	x2, _pl111_display_funcs@GOTPAGE
Lloh9:
	ldr	x2, [x2, _pl111_display_funcs@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, x20
	mov	x5, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_drm_simple_display_pipe_init
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_pl111_display_enable_vblank,4,2 ; @pl111_display_enable_vblank
	.comm	_pl111_display_funcs,8,2        ; @pl111_display_funcs
	.comm	_pl111_display_disable_vblank,4,2 ; @pl111_display_disable_vblank
.subsections_via_symbols
