	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtoverlay_dup_property         ## -- Begin function dtoverlay_dup_property
	.p2align	4, 0x90
_dtoverlay_dup_property:                ## @dtoverlay_dup_property
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movl	$0, -44(%rbp)
	movl	(%rdi), %edi
	callq	_fdt_path_offset
	xorl	%r14d, %r14d
	testl	%eax, %eax
	js	LBB0_5
## %bb.1:
	movl	%eax, %r12d
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	(%r13), %edi
	leaq	-44(%rbp), %rcx
	movl	%eax, %esi
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdx
	callq	_fdt_getprop
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	%rax, %r15
	movl	(%r13), %edi
	movl	-44(%rbp), %r8d
	movl	%r12d, %esi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%rax, %rcx
	callq	_fdt_setprop_inplace
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	-44(%rbp), %edi
	callq	_malloc
	movq	%rax, %rbx
	movl	-44(%rbp), %edx
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_memcpy
	movl	(%r13), %edi
	movl	-44(%rbp), %r8d
	movl	%r12d, %esi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%rbx, %rcx
	callq	_fdt_setprop
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_free
	testl	%r14d, %r14d
	jne	LBB0_5
LBB0_4:
	leaq	L_.str(%rip), %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	callq	_dtoverlay_debug
	xorl	%r14d, %r14d
LBB0_5:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s:%s=%s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtoverlay_dup_property         ; -- Begin function dtoverlay_dup_property
	.p2align	2
_dtoverlay_dup_property:                ; @dtoverlay_dup_property
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	str	wzr, [sp, #12]
	ldr	w0, [x0]
	bl	_fdt_path_offset
	tbnz	w0, #31, LBB0_5
; %bb.1:
	mov	x23, x0
	ldr	w0, [x22]
	add	x3, sp, #12
	mov	x1, x23
	mov	x2, x19
	bl	_fdt_getprop
	cbz	x0, LBB0_5
; %bb.2:
	mov	x24, x0
	ldr	w0, [x22]
	ldr	w4, [sp, #12]
	mov	x1, x23
	mov	x2, x20
	mov	x3, x24
	bl	_fdt_setprop_inplace
	cbz	w0, LBB0_4
; %bb.3:
	ldr	w0, [sp, #12]
	bl	_malloc
	mov	x25, x0
	ldr	w2, [sp, #12]
	mov	x1, x24
	bl	_memcpy
	ldr	w0, [x22]
	ldr	w4, [sp, #12]
	mov	x1, x23
	mov	x2, x20
	mov	x3, x25
	bl	_fdt_setprop
	mov	x22, x0
	mov	x0, x25
	bl	_free
	cbnz	w22, LBB0_6
LBB0_4:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	bl	_dtoverlay_debug
LBB0_5:
	mov	w22, #0
LBB0_6:
	mov	x0, x22
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s:%s=%s"

.subsections_via_symbols
