	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function omap_display_id
_omap_display_id:                       ## @omap_display_id
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpq	$0, 24(%rdi)
	je	LBB0_2
## %bb.1:
	callq	_omapdss_display_get
	movq	16(%rax), %rcx
	movq	(%rcx), %rbx
	movq	%rax, %rdi
	callq	_omapdss_device_put
	testq	%rbx, %rbx
	jne	LBB0_9
	jmp	LBB0_8
LBB0_2:
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rcx
	movq	8(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:
	movq	(%rcx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_9
	jmp	LBB0_8
LBB0_5:
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	(%rax), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
LBB0_9:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_of_alias_get_id                ## TAILCALL
LBB0_8:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"display"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_omap_display_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function omap_display_id
_omap_display_id:                       ; @omap_display_id
	.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
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_2
; %bb.1:
	bl	_omapdss_display_get
	ldr	x8, [x0, #16]
	ldr	x19, [x8]
	bl	_omapdss_device_put
	cbnz	x19, LBB0_7
	b	LBB0_8
LBB0_2:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x9, x8
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_3
; %bb.4:
	ldr	x19, [x9]
	cbnz	x19, LBB0_7
	b	LBB0_8
LBB0_5:
	ldr	x8, [x0]
	cbz	x8, LBB0_8
; %bb.6:
	ldr	x8, [x8]
	ldr	x19, [x8]
	cbz	x19, LBB0_8
LBB0_7:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_of_alias_get_id
LBB0_8:
Lloh2:
	adrp	x8, _ENODEV@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"display"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_omap_display_id
.subsections_via_symbols
