	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_omapdss_display_init           ## -- Begin function omapdss_display_init
	.p2align	4, 0x90
_omapdss_display_init:                  ## @omapdss_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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_of_alias_get_id
	movl	%eax, %r14d
	testl	%eax, %eax
	jns	LBB0_2
## %bb.1:
	movq	_disp_num_counter@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leal	1(%r14), %ecx
	movl	%ecx, (%rax)
LBB0_2:
	movq	(%rbx), %rax
	movl	(%rax), %edi
	leaq	8(%rbx), %rdx
	leaq	L_.str.1(%rip), %rsi
	callq	_of_property_read_string
	cmpq	$0, 8(%rbx)
	jne	LBB0_4
## %bb.3:
	movq	(%rbx), %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movl	%r14d, %ecx
	callq	_devm_kasprintf
	movq	%rax, 8(%rbx)
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"display"

	.comm	_disp_num_counter,4,2           ## @disp_num_counter
L_.str.1:                               ## @.str.1
	.asciz	"label"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.2:                               ## @.str.2
	.asciz	"display%u"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_omapdss_display_init           ; -- Begin function omapdss_display_init
	.p2align	2
_omapdss_display_init:                  ; @omapdss_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	x8, [x0]
	ldr	w0, [x8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_of_alias_get_id
	mov	x20, x0
	tbz	w0, #31, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _disp_num_counter@GOTPAGE
Lloh3:
	ldr	x8, [x8, _disp_num_counter@GOTPAGEOFF]
	ldr	w20, [x8]
	add	w9, w20, #1
	str	w9, [x8]
LBB0_2:
	ldr	x8, [x19]
	ldr	w0, [x8]
	add	x2, x19, #8
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_of_property_read_string
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_4
; %bb.3:
	ldr	x0, [x19]
Lloh6:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x2, l_.str.2@PAGE
Lloh10:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x3, x20
	bl	_devm_kasprintf
	str	x0, [x19, #8]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"display"

	.comm	_disp_num_counter,4,2           ; @disp_num_counter
l_.str.1:                               ; @.str.1
	.asciz	"label"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.2:                               ; @.str.2
	.asciz	"display%u"

.subsections_via_symbols
