	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fdt_check_overlay_compatible
_fdt_check_overlay_compatible:          ## @fdt_check_overlay_compatible
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_fdt_path_offset
	movl	%eax, %r13d
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	leaq	L_.str.1(%rip), %rdx
	leaq	-48(%rbp), %rcx
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_fdt_get_property
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_14
## %bb.3:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	cmpl	$0, -48(%rbp)
	je	LBB0_14
## %bb.4:
	leaq	L_.str(%rip), %rsi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_fdt_path_offset
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_5
## %bb.6:
	leaq	L_.str.1(%rip), %rdx
	leaq	-52(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_fdt_get_property
	movl	-52(%rbp), %ecx
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movl	$1, %ebx
	testl	%ecx, %ecx
	je	LBB0_14
## %bb.9:
	leaq	L_.str.1(%rip), %rdx
	leaq	-44(%rbp), %r8
	movq	%r15, %rdi
	movl	%r13d, %esi
	xorl	%ecx, %ecx
	callq	_fdt_stringlist_get
	testq	%rax, %rax
	je	LBB0_14
## %bb.10:
	movl	$1, %r14d
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%rax, %rcx
	callq	_fdt_stringlist_search
	testq	%rax, %rax
	jns	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%r15, %rdi
	movl	%r13d, %esi
	leaq	L_.str.1(%rip), %rdx
	movl	%r14d, %ecx
	leaq	-44(%rbp), %r8
	callq	_fdt_stringlist_get
	incl	%r14d
	testq	%rax, %rax
	jne	LBB0_11
	jmp	LBB0_14
LBB0_1:
	movl	%r13d, %ebx
	jmp	LBB0_14
LBB0_5:
	movl	%r12d, %ebx
	jmp	LBB0_14
LBB0_7:
	movl	%ecx, %ebx
	jmp	LBB0_14
LBB0_12:
	xorl	%ebx, %ebx
LBB0_14:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/"

L_.str.1:                               ## @.str.1
	.asciz	"compatible"

	.no_dead_strip	_fdt_check_overlay_compatible
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fdt_check_overlay_compatible
_fdt_check_overlay_compatible:          ; @fdt_check_overlay_compatible
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_fdt_path_offset
	mov	x21, x0
	tbnz	w0, #31, LBB0_3
; %bb.1:
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x21
	bl	_fdt_get_property
	ldr	w8, [sp, #8]
	cmp	x0, #0
	ccmp	w8, #0, #4, ne
	b.ne	LBB0_4
LBB0_2:
	mov	w0, #0
	b	LBB0_13
LBB0_3:
	mov	x0, x21
	b	LBB0_13
LBB0_4:
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_fdt_path_offset
	mov	x22, x0
	tbnz	w0, #31, LBB0_11
; %bb.5:
Lloh6:
	adrp	x2, l_.str.1@PAGE
Lloh7:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x3, sp, #12
	mov	x0, x20
	mov	x1, x22
	bl	_fdt_get_property
	mov	x8, x0
	ldr	w0, [sp, #12]
	cbz	x8, LBB0_13
; %bb.6:
	cbz	w0, LBB0_12
; %bb.7:
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x4, sp, #4
	mov	x0, x19
	mov	x1, x21
	mov	w3, #0
	bl	_fdt_stringlist_get
	cbz	x0, LBB0_12
; %bb.8:
	mov	x3, x0
	mov	w23, #1
Lloh10:
	adrp	x24, l_.str.1@PAGE
Lloh11:
	add	x24, x24, l_.str.1@PAGEOFF
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x22
	mov	x2, x24
	bl	_fdt_stringlist_search
	tbz	x0, #63, LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x4, sp, #4
	mov	x0, x19
	mov	x1, x21
	mov	x2, x24
	mov	x3, x23
	bl	_fdt_stringlist_get
	mov	x3, x0
	add	w23, w23, #1
	mov	w0, #1
	cbnz	x3, LBB0_9
	b	LBB0_13
LBB0_11:
	mov	x0, x22
	b	LBB0_13
LBB0_12:
	mov	w0, #1
LBB0_13:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/"

l_.str.1:                               ; @.str.1
	.asciz	"compatible"

	.no_dead_strip	_fdt_check_overlay_compatible
.subsections_via_symbols
