	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fdt_stringlist_get             ## -- Begin function fdt_stringlist_get
	.p2align	4, 0x90
_fdt_stringlist_get:                    ## @fdt_stringlist_get
	.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
	movq	%r8, %r14
	movl	%ecx, %ebx
	leaq	-36(%rbp), %rcx
	callq	_fdt_getprop
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	movslq	-36(%rbp), %r12
	testq	%r12, %r12
	jle	LBB0_12
## %bb.5:
	movq	%rax, %r15
	addq	%rax, %r12
	incl	%ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %esi
	subl	%r15d, %esi
	movq	%r15, %rdi
	callq	_strnlen
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %ecx
	movl	%ecx, -36(%rbp)
	movslq	%eax, %rcx
	addq	%r15, %rcx
	incq	%rcx
	cmpq	%r12, %rcx
	ja	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	decl	%ebx
	je	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%rcx, %r15
	cmpq	%r12, %rcx
	jb	LBB0_7
LBB0_12:
	xorl	%r15d, %r15d
	testq	%r14, %r14
	je	LBB0_16
## %bb.13:
	movq	_FDT_ERR_NOTFOUND@GOTPCREL(%rip), %rcx
	jmp	LBB0_14
LBB0_1:
	testq	%r14, %r14
	je	LBB0_2
## %bb.3:
	movl	-36(%rbp), %eax
	xorl	%r15d, %r15d
	jmp	LBB0_15
LBB0_2:
	xorl	%r15d, %r15d
	jmp	LBB0_16
LBB0_8:
	xorl	%r15d, %r15d
	testq	%r14, %r14
	je	LBB0_16
## %bb.9:
	movq	_FDT_ERR_BADVALUE@GOTPCREL(%rip), %rcx
LBB0_14:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_15
LBB0_11:
	testq	%r14, %r14
	je	LBB0_16
LBB0_15:
	movl	%eax, (%r14)
LBB0_16:
	movq	%r15, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	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_get             ; -- Begin function fdt_stringlist_get
	.p2align	2
_fdt_stringlist_get:                    ; @fdt_stringlist_get
	.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	x19, x4
	mov	x21, x3
	add	x3, sp, #12
	bl	_fdt_getprop
	cbz	x0, LBB0_8
; %bb.1:
	ldrsw	x8, [sp, #12]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.2:
	mov	x20, x0
	add	x22, x0, x8
	add	w21, w21, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	w1, w22, w20
	mov	x0, x20
	bl	_strnlen
	add	w8, w0, #1
	str	w8, [sp, #12]
	add	x8, x20, w8, sxtw
	cmp	x8, x22
	b.hi	LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	subs	w21, w21, #1
	b.eq	LBB0_13
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x20, x8
	cmp	x8, x22
	b.lo	LBB0_3
LBB0_6:
	mov	x20, #0
	cbz	x19, LBB0_15
; %bb.7:
Lloh0:
	adrp	x8, _FDT_ERR_NOTFOUND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FDT_ERR_NOTFOUND@GOTPAGEOFF]
	b	LBB0_12
LBB0_8:
	mov	x20, #0
	cbz	x19, LBB0_15
; %bb.9:
	ldr	w0, [sp, #12]
	b	LBB0_14
LBB0_10:
	mov	x20, #0
	cbz	x19, LBB0_15
; %bb.11:
Lloh2:
	adrp	x8, _FDT_ERR_BADVALUE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FDT_ERR_BADVALUE@GOTPAGEOFF]
LBB0_12:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_14
LBB0_13:
	cbz	x19, LBB0_15
LBB0_14:
	str	w0, [x19]
LBB0_15:
	mov	x0, x20
	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 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
