	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_paths
_create_paths:                          ## @create_paths
	.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	%rsi, %rbx
	movq	%rdi, %r14
	decq	%rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	1(%rbx), %eax
	incq	%rbx
	cmpb	$47, %al
	je	LBB0_1
## %bb.2:
	testb	%al, %al
	je	LBB0_11
## %bb.3:
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	$47, %esi
	callq	_strchr
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_strlen
	movslq	%eax, %r12
	addq	%rbx, %r12
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r14), %rdi
	movq	%r12, %r13
	subq	%rbx, %r13
	movl	%r15d, %esi
	movq	%rbx, %rdx
	movl	%r13d, %ecx
	callq	_fdt_subnode_offset_namelen
	movl	%eax, %ecx
	movq	_FDT_ERR_NOTFOUND@GOTPCREL(%rip), %rdx
	addl	(%rdx), %ecx
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r14), %rdi
	movq	%rbx, %rsi
	callq	_realloc_node
	movq	%rax, (%r14)
	movq	%rax, %rdi
	movl	%r15d, %esi
	movq	%rbx, %rdx
	movl	%r13d, %ecx
	callq	_fdt_add_subnode_namelen
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	testl	%eax, %eax
	js	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	leaq	1(%r12), %rbx
	cmpb	$0, (%r12)
	movl	%eax, %r15d
	jne	LBB0_4
LBB0_11:
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_9:
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_report_error
	movl	$-1, %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FDT_ERR_NOTFOUND,4,2           ## @FDT_ERR_NOTFOUND
	.no_dead_strip	_create_paths
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_paths
_create_paths:                          ; @create_paths
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	sub	x20, x1, #1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x20, #1]!
	cmp	w8, #47
	b.eq	LBB0_1
; %bb.2:
	cbz	w8, LBB0_10
; %bb.3:
	mov	w21, #0
Lloh0:
	adrp	x24, _FDT_ERR_NOTFOUND@GOTPAGE
Lloh1:
	ldr	x24, [x24, _FDT_ERR_NOTFOUND@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	w1, #47
	bl	_strchr
	mov	x22, x0
	cbnz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_strlen
	add	x22, x20, w0, sxtw
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x19]
	sub	x23, x22, x20
	mov	x1, x21
	mov	x2, x20
	mov	x3, x23
	bl	_fdt_subnode_offset_namelen
	mov	x2, x0
	ldr	w8, [x24]
	cmn	w0, w8
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x19]
	mov	x1, x20
	bl	_realloc_node
	str	x0, [x19]
	mov	x1, x21
	mov	x2, x20
	mov	x3, x23
	bl	_fdt_add_subnode_namelen
	mov	x2, x0
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	tbnz	w2, #31, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x22], #1
	mov	x21, x2
	mov	x20, x22
	cbnz	w8, LBB0_4
LBB0_10:
	mov	w0, #0
	b	LBB0_12
LBB0_11:
	mov	x0, x20
	mov	x1, x23
	bl	_report_error
	mov	w0, #-1
LBB0_12:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_FDT_ERR_NOTFOUND,4,2           ; @FDT_ERR_NOTFOUND
	.no_dead_strip	_create_paths
.subsections_via_symbols
