	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fdt_appendprop                 ## -- Begin function fdt_appendprop
	.p2align	4, 0x90
_fdt_appendprop:                        ## @fdt_appendprop
	.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
	movl	%r8d, %r15d
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r13
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_FDT_RW_CHECK_HEADER
	leaq	-44(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movq	%r13, %rdx
	callq	_fdt_get_property_w
	movq	%rax, -56(%rbp)
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %r12
	movl	-44(%rbp), %edi
	leal	(%rdi,%r15), %r13d
	movq	(%rax), %r14
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_FDT_TAGALIGN
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movl	%eax, %r15d
	movl	%r13d, %edi
	callq	_FDT_TAGALIGN
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	__fdt_splice_struct
	testl	%eax, %eax
	jne	LBB0_6
## %bb.2:
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movl	%r13d, %edi
	callq	_cpu_to_fdt32
	movl	%eax, 8(%r12)
	movslq	-44(%rbp), %rdi
	addq	(%r12), %rdi
	jmp	LBB0_5
LBB0_3:
	leaq	-56(%rbp), %r8
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movq	%r13, %rdx
	movl	%r15d, %ecx
	callq	__fdt_add_property
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	movq	-56(%rbp), %rax
	movq	(%rax), %rdi
LBB0_5:
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	%r15d, %edx
	callq	_memcpy
	xorl	%eax, %eax
LBB0_6:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fdt_appendprop                 ; -- Begin function fdt_appendprop
	.p2align	2
_fdt_appendprop:                        ; @fdt_appendprop
	.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, x4
	mov	x20, x3
	mov	x23, x2
	mov	x24, x1
	mov	x21, x0
	bl	_FDT_RW_CHECK_HEADER
	add	x3, sp, #4
	mov	x0, x21
	mov	x1, x24
	mov	x2, x23
	bl	_fdt_get_property_w
	str	x0, [sp, #8]
	cbz	x0, LBB0_3
; %bb.1:
	mov	x22, x0
	ldr	w0, [sp, #4]
	add	w23, w0, w19
	ldr	x24, [x22]
	bl	_FDT_TAGALIGN
	mov	x25, x0
	mov	x0, x23
	bl	_FDT_TAGALIGN
	mov	x3, x0
	mov	x0, x21
	mov	x1, x24
	mov	x2, x25
	bl	__fdt_splice_struct
	cbnz	w0, LBB0_6
; %bb.2:
	mov	x0, x23
	bl	_cpu_to_fdt32
	str	w0, [x22, #8]
	ldr	x8, [x22]
	ldrsw	x9, [sp, #4]
	add	x0, x8, x9
	b	LBB0_5
LBB0_3:
	add	x4, sp, #8
	mov	x0, x21
	mov	x1, x24
	mov	x2, x23
	mov	x3, x19
	bl	__fdt_add_property
	cbnz	w0, LBB0_6
; %bb.4:
	ldr	x8, [sp, #8]
	ldr	x0, [x8]
LBB0_5:
	mov	x1, x20
	mov	x2, x19
	bl	_memcpy
	mov	w0, #0
LBB0_6:
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
