	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fdt_cmd_mkprop
_fdt_cmd_mkprop:                        ## @fdt_cmd_mkprop
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	cmpl	$2, %edi
	jle	LBB0_4
## %bb.1:
	movq	16(%rsi), %rax
	movq	%rax, -24(%rbp)
	movq	$0, -8(%rbp)
	cmpl	$3, %edi
	je	LBB0_5
## %bb.2:
	leaq	-8(%rbp), %rcx
	movl	$3, %edx
	callq	_fdt_merge_strings
	testq	%rax, %rax
	jne	LBB0_10
	jmp	LBB0_6
LBB0_4:
	movq	$0, -24(%rbp)
LBB0_5:
	movq	$0, -8(%rbp)
LBB0_6:
	leaq	-24(%rbp), %rdi
	leaq	-32(%rbp), %rsi
	leaq	-12(%rbp), %rdx
	callq	_fdt_extract_nameloc
	testq	%rax, %rax
	jne	LBB0_10
## %bb.8:
	movl	-12(%rbp), %edi
	movq	-32(%rbp), %rsi
	movq	-8(%rbp), %rdx
	movl	$1, %ecx
	callq	_fdt_modprop
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	movq	_CMD_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_10:
	movq	_CMD_ERROR@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %eax
	addq	$32, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CMD_ERROR,4,2                  ## @CMD_ERROR
	.comm	_CMD_OK,4,2                     ## @CMD_OK
	.no_dead_strip	_fdt_cmd_mkprop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fdt_cmd_mkprop
_fdt_cmd_mkprop:                        ; @fdt_cmd_mkprop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	cmp	w0, #2
	b.le	LBB0_4
; %bb.1:
	ldr	x8, [x1, #16]
	str	x8, [sp, #16]
	str	xzr, [sp]
	cmp	w0, #3
	b.eq	LBB0_5
; %bb.2:
	mov	x3, sp
	mov	w2, #3
	bl	_fdt_merge_strings
	cbz	x0, LBB0_6
; %bb.3:
Lloh0:
	adrp	x19, _CMD_ERROR@GOTPAGE
Lloh1:
	ldr	x19, [x19, _CMD_ERROR@GOTPAGEOFF]
	b	LBB0_8
LBB0_4:
	str	xzr, [sp, #16]
LBB0_5:
	str	xzr, [sp]
LBB0_6:
	add	x0, sp, #16
	add	x1, sp, #8
	sub	x2, x29, #20
	bl	_fdt_extract_nameloc
Lloh2:
	adrp	x19, _CMD_ERROR@GOTPAGE
Lloh3:
	ldr	x19, [x19, _CMD_ERROR@GOTPAGEOFF]
	cbnz	x0, LBB0_8
; %bb.7:
	ldur	w0, [x29, #-20]
	ldp	x2, x1, [sp]
	mov	w3, #1
	bl	_fdt_modprop
Lloh4:
	adrp	x8, _CMD_OK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CMD_OK@GOTPAGEOFF]
	cmp	x0, #0
	csel	x19, x8, x19, eq
LBB0_8:
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CMD_ERROR,4,2                  ; @CMD_ERROR
	.comm	_CMD_OK,4,2                     ; @CMD_OK
	.no_dead_strip	_fdt_cmd_mkprop
.subsections_via_symbols
