	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtoverlay_create_prop_fragment ## -- Begin function dtoverlay_create_prop_fragment
	.p2align	4, 0x90
_dtoverlay_create_prop_fragment:        ## @dtoverlay_create_prop_fragment
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -84(%rbp)                 ## 4-byte Spill
	movq	%r8, %r15
	movq	%rcx, %r12
	movl	%edx, %r14d
	movl	%esi, %ecx
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rdx
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$20, %esi
	callq	_snprintf
	movl	(%r13), %edi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_fdt_add_subnode
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_5
## %bb.1:
	movl	(%r13), %edi
	leaq	L_.str.1(%rip), %rdx
	movl	%ebx, %esi
	movl	%r14d, %ecx
	callq	_fdt_setprop_u32
	testl	%eax, %eax
	js	LBB0_4
## %bb.2:
	movl	(%r13), %edi
	leaq	L_.str.2(%rip), %rdx
	movl	%ebx, %esi
	callq	_fdt_add_subnode
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_5
## %bb.3:
	movl	(%r13), %edi
	movl	%ebx, %esi
	movq	%r12, %rdx
	movq	%r15, %rcx
	movl	-84(%rbp), %r8d                 ## 4-byte Reload
	callq	_fdt_setprop
LBB0_4:
	movl	%eax, %ebx
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fragment-%u"

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

L_.str.2:                               ## @.str.2
	.asciz	"__overlay__"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtoverlay_create_prop_fragment ; -- Begin function dtoverlay_create_prop_fragment
	.p2align	2
_dtoverlay_create_prop_fragment:        ; @dtoverlay_create_prop_fragment
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x5
	mov	x20, x4
	mov	x21, x3
	mov	x24, x2
	mov	x3, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #4
	mov	w1, #20
	bl	_snprintf
	ldr	w0, [x22]
	add	x2, sp, #4
	mov	w1, #0
	bl	_fdt_add_subnode
	mov	x23, x0
	tbnz	w0, #31, LBB0_5
; %bb.1:
	ldr	w0, [x22]
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x1, x23
	mov	x3, x24
	bl	_fdt_setprop_u32
	tbnz	w0, #31, LBB0_4
; %bb.2:
	ldr	w0, [x22]
Lloh7:
	adrp	x2, l_.str.2@PAGE
Lloh8:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x1, x23
	bl	_fdt_add_subnode
	mov	x23, x0
	tbnz	w0, #31, LBB0_5
; %bb.3:
	ldr	w0, [x22]
	mov	x1, x23
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	bl	_fdt_setprop
LBB0_4:
	mov	x23, x0
LBB0_5:
	ldr	x8, [sp, #24]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	mov	x0, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fragment-%u"

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

l_.str.2:                               ; @.str.2
	.asciz	"__overlay__"

.subsections_via_symbols
