	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function store_key_value
_store_key_value:                       ## @store_key_value
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r14
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	(%rdi), %rdi
	callq	_fdt_path_offset
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	(%r13), %rdi
	movl	%ebx, %esi
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdx
	movq	%r14, %r15
	movq	%r14, %rcx
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %r8d
	callq	_fdt_setprop
	movq	_FDT_ERR_NOSPACE@GOTPCREL(%rip), %rcx
	movl	%eax, %edx
	addl	(%rcx), %edx
	jne	LBB0_4
## %bb.3:
	movq	(%r13), %rdi
	movl	%ebx, %esi
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdx
	movl	%r14d, %ecx
	callq	_realloc_property
	movq	%rax, (%r13)
	movq	%rax, %rdi
	movl	%ebx, %esi
	movq	%r12, %rdx
	movq	%r15, %rcx
	movl	%r14d, %r8d
	callq	_fdt_setprop
LBB0_4:
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movl	$-1, %r14d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	$-1, %esi
	movl	%eax, %edx
	jmp	LBB0_7
LBB0_1:
	movl	$-1, %r14d
	movq	%r15, %rdi
	movl	$-1, %esi
	movl	%ebx, %edx
LBB0_7:
	callq	_report_error
	jmp	LBB0_8
LBB0_5:
	xorl	%r14d, %r14d
LBB0_8:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FDT_ERR_NOSPACE,4,2            ## @FDT_ERR_NOSPACE
	.no_dead_strip	_store_key_value
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function store_key_value
_store_key_value:                       ; @store_key_value
	.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	x20, x4
	mov	x21, x3
	mov	x19, x2
	mov	x24, x1
	mov	x23, x0
	ldr	x0, [x0]
	bl	_fdt_path_offset
	mov	x22, x0
	tbnz	w0, #31, LBB0_5
; %bb.1:
	ldr	x0, [x23]
	mov	x1, x22
	mov	x2, x19
	mov	x3, x21
	mov	x4, x20
	bl	_fdt_setprop
	mov	x2, x0
Lloh0:
	adrp	x8, _FDT_ERR_NOSPACE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FDT_ERR_NOSPACE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_3
; %bb.2:
	ldr	x0, [x23]
	mov	x1, x22
	mov	x2, x19
	mov	x3, x20
	bl	_realloc_property
	str	x0, [x23]
	mov	x1, x22
	mov	x2, x19
	mov	x3, x21
	mov	x4, x20
	bl	_fdt_setprop
	mov	x2, x0
LBB0_3:
	cbz	w2, LBB0_7
; %bb.4:
	mov	w20, #-1
	mov	x0, x19
	mov	w1, #-1
	b	LBB0_6
LBB0_5:
	mov	w20, #-1
	mov	x0, x24
	mov	w1, #-1
	mov	x2, x22
LBB0_6:
	bl	_report_error
	b	LBB0_8
LBB0_7:
	mov	w20, #0
LBB0_8:
	mov	x0, x20
	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_NOSPACE,4,2            ; @FDT_ERR_NOSPACE
	.no_dead_strip	_store_key_value
.subsections_via_symbols
