	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtoverlay_create_node          ## -- Begin function dtoverlay_create_node
	.p2align	4, 0x90
_dtoverlay_create_node:                 ## @dtoverlay_create_node
	.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
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rsi, %r14
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	testl	%edx, %edx
	jne	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_strlen
	movl	%eax, %edx
LBB0_2:
	movslq	%edx, %rax
	leaq	(%r14,%rax), %r15
	testl	%eax, %eax
	jle	LBB0_4
## %bb.3:
	decl	%edx
	xorl	%eax, %eax
	cmpb	$47, (%r14,%rdx)
	sete	%al
	subq	%rax, %r15
LBB0_4:
	xorl	%eax, %eax
	cmpq	%r14, %r15
	jbe	LBB0_17
## %bb.5:
	xorl	%r12d, %r12d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	%eax, %r12d
	cmpq	%r15, %r14
	jae	LBB0_17
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	cmpb	$47, (%r14)
	jne	LBB0_18
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %r13
	incq	%r13
	cmpq	%r15, %r13
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rbx
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$47, (%rbx)
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	incq	%rbx
	cmpq	%r15, %rbx
	jne	LBB0_10
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rbx
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %r14
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rbx
	movq	%r15, %r14
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	subl	%r13d, %ebx
	movl	%r12d, %esi
	movq	%r13, %rdx
	movl	%ebx, %ecx
	callq	_fdt_subnode_offset_namelen
	testl	%eax, %eax
	jns	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movl	%r12d, %esi
	movq	%r13, %rdx
	movl	%ebx, %ecx
	callq	_fdt_add_subnode_namelen
	testl	%eax, %eax
	jns	LBB0_16
	jmp	LBB0_19
LBB0_17:
	cmpq	%r15, %r14
	je	LBB0_19
LBB0_18:
	movq	_FDT_ERR_BADPATH@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FDT_ERR_BADPATH,4,2            ## @FDT_ERR_BADPATH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtoverlay_create_node          ; -- Begin function dtoverlay_create_node
	.p2align	2
_dtoverlay_create_node:                 ; @dtoverlay_create_node
	.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, x1
	mov	x20, x0
	cbnz	w2, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_strlen
	mov	x2, x0
LBB0_2:
	add	x24, x19, w2, sxtw
	subs	w8, w2, #1
	b.lt	LBB0_4
; %bb.3:
	ldrb	w8, [x19, w8, uxtw]
	cmp	w8, #47
	cset	w8, eq
	sub	x24, x24, x8
LBB0_4:
	cmp	x24, x19
	b.ls	LBB0_15
; %bb.5:
	mov	w21, #0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x21, x0
	cmp	x19, x24
	b.hs	LBB0_16
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	ldrb	w8, [x19]
	cmp	w8, #47
	b.ne	LBB0_17
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x22, x19, #1
	cmp	x22, x24
	b.eq	LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x19, x22
LBB0_10:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x19]
	cmp	w8, #47
	b.eq	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	add	x19, x19, #1
	cmp	x19, x24
	b.ne	LBB0_10
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x19, x24
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x20]
	sub	w23, w19, w22
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
	bl	_fdt_subnode_offset_namelen
	tbz	w0, #31, LBB0_6
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x20]
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
	bl	_fdt_add_subnode_namelen
	tbz	w0, #31, LBB0_6
	b	LBB0_18
LBB0_15:
	mov	w0, #0
LBB0_16:
	cmp	x19, x24
	b.eq	LBB0_18
LBB0_17:
Lloh0:
	adrp	x8, _FDT_ERR_BADPATH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FDT_ERR_BADPATH@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_18:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FDT_ERR_BADPATH,4,2            ; @FDT_ERR_BADPATH
.subsections_via_symbols
