	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fdt_modprop
_fdt_modprop:                           ## @fdt_modprop
	.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	$408, %rsp                      ## imm = 0x198
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movq	%rdx, %r13
	movq	%rsi, %r15
	movl	%edi, %r12d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_fdtp@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movl	%r12d, %esi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	callq	_fdt_get_property
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	cmpb	$1, %bl
	jne	LBB0_6
## %bb.2:
	movq	_command_errbuf@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_3
LBB0_4:
	testb	%bl, %bl
	je	LBB0_5
LBB0_6:
	movq	%r14, %rbx
	movsbl	(%r13), %eax
	xorl	%r14d, %r14d
	cmpl	$38, %eax
	je	LBB0_16
## %bb.7:
	cmpl	$91, %eax
	je	LBB0_9
## %bb.8:
	cmpl	$60, %eax
	jne	LBB0_10
LBB0_9:
	leaq	-448(%rbp), %rsi
	movq	%r13, %rdi
	movq	%rsi, %r13
	movl	$100, %edx
	movl	$4, %ecx
	callq	_fdt_strtovect
                                        ## kill: def $eax killed $eax def $rax
	movl	(%rbx), %edi
	leal	(,%rax,4), %r8d
	movl	%r12d, %esi
	movq	%r15, %rdx
	movq	%r13, %rcx
	callq	_fdt_setprop
	jmp	LBB0_11
LBB0_5:
	movq	_command_errbuf@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_3:
	callq	_sprintf
	movq	_CMD_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_16
LBB0_10:
	movl	(%rbx), %edi
	movl	%r12d, %esi
	movq	%r15, %rdx
	movq	%r13, %rcx
	callq	_fdt_setprop_string
LBB0_11:
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_16
## %bb.12:
	movq	_FDT_ERR_NOSPACE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_command_errbuf@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	addl	%ebx, %eax
	jne	LBB0_14
## %bb.13:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_15
LBB0_14:
	leaq	L_.str.3(%rip), %rsi
LBB0_15:
	callq	_sprintf
	movl	%ebx, %r14d
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_18
## %bb.17:
	movl	%r14d, %eax
	addq	$408, %rsp                      ## imm = 0x198
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_fdtp,4,2                       ## @fdtp
	.comm	_command_errbuf,4,2             ## @command_errbuf
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"property already exists!"

	.comm	_CMD_ERROR,4,2                  ## @CMD_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"property does not exist!"

	.comm	_FDT_ERR_NOSPACE,4,2            ## @FDT_ERR_NOSPACE
L_.str.2:                               ## @.str.2
	.asciz	"Device tree blob is too small!\n"

L_.str.3:                               ## @.str.3
	.asciz	"Could not add/modify property!\n"

	.no_dead_strip	_fdt_modprop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fdt_modprop
_fdt_modprop:                           ; @fdt_modprop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #480
	.cfi_def_cfa_offset 480
	stp	x24, x23, [sp, #416]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #432]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #448]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #464]            ; 16-byte Folded Spill
	add	x29, sp, #464
	.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	x22, x3
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x23, _fdtp@GOTPAGE
Lloh4:
	ldr	x23, [x23, _fdtp@GOTPAGEOFF]
	ldr	w0, [x23]
	mov	x1, x20
	mov	x2, x19
	mov	x3, #0
	bl	_fdt_get_property
	cbz	x0, LBB0_3
; %bb.1:
	cmp	w22, #1
	b.ne	LBB0_4
; %bb.2:
Lloh5:
	adrp	x8, _command_errbuf@GOTPAGE
Lloh6:
	ldr	x8, [x8, _command_errbuf@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_9
LBB0_3:
	cbz	w22, LBB0_8
LBB0_4:
	ldrsb	w8, [x21]
	cmp	w8, #38
	b.eq	LBB0_10
; %bb.5:
	cmp	w8, #91
	b.eq	LBB0_7
; %bb.6:
	cmp	w8, #60
	b.ne	LBB0_11
LBB0_7:
	add	x1, sp, #8
	mov	x0, x21
	mov	w2, #100
	mov	w3, #4
	bl	_fdt_strtovect
	ldr	w8, [x23]
	lsl	w4, w0, #2
	add	x3, sp, #8
	mov	x0, x8
	mov	x1, x20
	mov	x2, x19
	bl	_fdt_setprop
	mov	x19, x0
	cbnz	w0, LBB0_12
	b	LBB0_16
LBB0_8:
Lloh10:
	adrp	x8, _command_errbuf@GOTPAGE
Lloh11:
	ldr	x8, [x8, _command_errbuf@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_9:
	bl	_sprintf
Lloh15:
	adrp	x8, _CMD_ERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CMD_ERROR@GOTPAGEOFF]
Lloh17:
	ldr	w19, [x8]
	b	LBB0_16
LBB0_10:
	mov	w19, #0
	b	LBB0_16
LBB0_11:
	ldr	w0, [x23]
	mov	x1, x20
	mov	x2, x19
	mov	x3, x21
	bl	_fdt_setprop_string
	mov	x19, x0
	cbz	w0, LBB0_16
LBB0_12:
Lloh18:
	adrp	x8, _FDT_ERR_NOSPACE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _FDT_ERR_NOSPACE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _command_errbuf@GOTPAGE
Lloh22:
	ldr	x9, [x9, _command_errbuf@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x9]
	cmn	w19, w8
	b.ne	LBB0_14
; %bb.13:
Lloh24:
	adrp	x1, l_.str.2@PAGE
Lloh25:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_15
LBB0_14:
Lloh26:
	adrp	x1, l_.str.3@PAGE
Lloh27:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_15:
	bl	_sprintf
LBB0_16:
	ldur	x8, [x29, #-56]
Lloh28:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh29:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.17:
	mov	x0, x19
	ldp	x29, x30, [sp, #464]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #448]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #432]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #416]            ; 16-byte Folded Reload
	add	sp, sp, #480
	ret
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_fdtp,4,2                       ; @fdtp
	.comm	_command_errbuf,4,2             ; @command_errbuf
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"property already exists!"

	.comm	_CMD_ERROR,4,2                  ; @CMD_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"property does not exist!"

	.comm	_FDT_ERR_NOSPACE,4,2            ; @FDT_ERR_NOSPACE
l_.str.2:                               ; @.str.2
	.asciz	"Device tree blob is too small!\n"

l_.str.3:                               ; @.str.3
	.asciz	"Could not add/modify property!\n"

	.no_dead_strip	_fdt_modprop
.subsections_via_symbols
