	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fdt_stringlist_search          ## -- Begin function fdt_stringlist_search
	.p2align	4, 0x90
_fdt_stringlist_search:                 ## @fdt_stringlist_search
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	leaq	-44(%rbp), %rcx
	callq	_fdt_getprop
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_strlen
	movslq	-44(%rbp), %r13
	testq	%r13, %r13
	jle	LBB0_10
## %bb.3:
	movl	%eax, %r12d
	addq	%rbx, %r13
	xorl	%r15d, %r15d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movslq	-44(%rbp), %rdx
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	addq	%rdx, %rbx
	incl	%r15d
	cmpq	%r13, %rbx
	jae	LBB0_10
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %esi
	subl	%ebx, %esi
	movq	%rbx, %rdi
	callq	_strnlen
	cltq
	leal	1(%rax), %ecx
	movl	%ecx, -44(%rbp)
	leaq	(%rbx,%rax), %rcx
	incq	%rcx
	cmpq	%r13, %rcx
	ja	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	1(%rax), %rdx
	cmpl	%r12d, %eax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_8
	jmp	LBB0_12
LBB0_10:
	movq	_FDT_ERR_NOTFOUND@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_1:
	movl	-44(%rbp), %r15d
	jmp	LBB0_12
LBB0_5:
	movq	_FDT_ERR_BADVALUE@GOTPCREL(%rip), %rax
LBB0_11:
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_12:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FDT_ERR_BADVALUE,4,2           ## @FDT_ERR_BADVALUE
	.comm	_FDT_ERR_NOTFOUND,4,2           ## @FDT_ERR_NOTFOUND
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fdt_stringlist_search          ; -- Begin function fdt_stringlist_search
	.p2align	2
_fdt_stringlist_search:                 ; @fdt_stringlist_search
	.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, x3
	add	x3, sp, #12
	bl	_fdt_getprop
	cbz	x0, LBB0_9
; %bb.1:
	mov	x21, x0
	mov	x0, x19
	bl	_strlen
	ldrsw	x8, [sp, #12]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.2:
	mov	x22, x0
	mov	w20, #0
	add	x23, x21, x8
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldrsw	x2, [sp, #12]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w20, w20, #1
	add	x21, x21, x2
	cmp	x21, x23
	b.hs	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sub	w1, w23, w21
	mov	x0, x21
	bl	_strnlen
	add	w8, w0, #1
	str	w8, [sp, #12]
	sxtw	x2, w8
	add	x8, x21, x2
	cmp	x8, x23
	b.hi	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w0, w22
	b.ne	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	x1, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_memcmp
	cbnz	x0, LBB0_3
	b	LBB0_12
LBB0_8:
Lloh0:
	adrp	x8, _FDT_ERR_NOTFOUND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FDT_ERR_NOTFOUND@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:
	ldr	w20, [sp, #12]
	b	LBB0_12
LBB0_10:
Lloh2:
	adrp	x8, _FDT_ERR_BADVALUE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FDT_ERR_BADVALUE@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_12:
	mov	x0, x20
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_FDT_ERR_BADVALUE,4,2           ; @FDT_ERR_BADVALUE
	.comm	_FDT_ERR_NOTFOUND,4,2           ; @FDT_ERR_NOTFOUND
.subsections_via_symbols
