	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function omapdss_walk_device
_omapdss_walk_device:                   ## @omapdss_walk_device
	.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
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	leaq	-40(%rbp), %rdx
	movq	%r15, %rdi
	callq	_of_property_read_string
	testl	%eax, %eax
	js	LBB0_13
## %bb.1:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$32, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%r15, 24(%rax)
	movl	%ebx, (%rax)
	movq	-40(%rbp), %rcx
	movq	%rcx, 8(%rax)
	addq	$16, %rax
	movq	_omapdss_comp_list@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	callq	_list_add
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_of_get_child_by_name
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_of_get_child_by_name
	testq	%rax, %rax
	je	LBB0_13
LBB0_5:
	movq	%rax, %rdi
	callq	_of_node_put
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_of_graph_get_next_endpoint
	testq	%rax, %rax
	je	LBB0_13
## %bb.6:
	movq	%rax, %rbx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rdi
	callq	_of_node_put
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_of_graph_get_next_endpoint
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_13
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_of_graph_get_remote_port_parent
	testq	%rax, %rax
	je	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_of_device_is_available
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rdi
	callq	_omapdss_list_contains
	testq	%rax, %rax
	jne	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r14, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_omapdss_walk_device
	jmp	LBB0_12
LBB0_13:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"compatible"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_omapdss_comp_list,4,2          ## @omapdss_comp_list
L_.str.1:                               ## @.str.1
	.asciz	"ports"

L_.str.2:                               ## @.str.2
	.asciz	"port"

	.no_dead_strip	_omapdss_walk_device
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function omapdss_walk_device
_omapdss_walk_device:                   ; @omapdss_walk_device
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	mov	x0, x19
	bl	_of_property_read_string
	tbnz	w0, #31, LBB0_13
; %bb.1:
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #32
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.2:
	str	x19, [x0, #24]
	str	w21, [x0]
	ldr	x8, [sp, #8]
	str	x8, [x0, #8]
	add	x0, x0, #16
Lloh5:
	adrp	x1, _omapdss_comp_list@GOTPAGE
Lloh6:
	ldr	x1, [x1, _omapdss_comp_list@GOTPAGEOFF]
	bl	_list_add
LBB0_3:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_of_get_child_by_name
	cbnz	x0, LBB0_5
; %bb.4:
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_of_get_child_by_name
	cbz	x0, LBB0_13
LBB0_5:
	bl	_of_node_put
	mov	x0, x19
	mov	x1, #0
	bl	_of_graph_get_next_endpoint
	cbz	x0, LBB0_13
; %bb.6:
	mov	x21, x0
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x22
	bl	_of_node_put
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_of_graph_get_next_endpoint
	mov	x21, x0
	cbz	x0, LBB0_13
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_of_graph_get_remote_port_parent
	cbz	x0, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x22, x0
	bl	_of_device_is_available
	cbz	w0, LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x22
	bl	_omapdss_list_contains
	cbnz	x0, LBB0_7
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x20
	mov	x1, x22
	mov	w2, #0
	bl	_omapdss_walk_device
	b	LBB0_8
LBB0_13:
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"compatible"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_omapdss_comp_list,4,2          ; @omapdss_comp_list
l_.str.1:                               ; @.str.1
	.asciz	"ports"

l_.str.2:                               ; @.str.2
	.asciz	"port"

	.no_dead_strip	_omapdss_walk_device
.subsections_via_symbols
