	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_changeset_property
_add_changeset_property:                ## @add_changeset_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rdx, %rbx
	movq	%rsi, %r13
	movq	%rdi, %r12
	xorl	%r14d, %r14d
	cmpq	$0, 8(%rsi)
	je	LBB0_6
## %bb.1:
	movq	8(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_of_prop_cmp
	testl	%eax, %eax
	je	LBB0_26
## %bb.2:
	movq	8(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_of_prop_cmp
	testl	%eax, %eax
	je	LBB0_26
## %bb.3:
	movq	8(%rbx), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_of_prop_cmp
	testl	%eax, %eax
	je	LBB0_26
## %bb.4:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	cmpq	$0, 8(%r13)
	je	LBB0_7
## %bb.5:
	movq	(%r13), %rdi
	movq	8(%rbx), %rsi
	xorl	%edx, %edx
	callq	_of_find_property
	movq	%rax, %r12
	testl	%r15d, %r15d
	jne	LBB0_8
LBB0_12:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	___of_prop_dup
	testq	%rax, %rax
	je	LBB0_24
## %bb.13:
	movq	%rax, %r15
	testq	%r12, %r12
	je	LBB0_17
## %bb.14:
	movq	8(%r12), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_of_prop_cmp
	testl	%eax, %eax
	je	LBB0_27
## %bb.15:
	movq	8(%r12), %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_of_prop_cmp
	testl	%eax, %eax
	je	LBB0_29
## %bb.16:
	movq	(%r13), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rdx
	callq	_of_changeset_update_property
	jmp	LBB0_20
LBB0_6:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
LBB0_7:
	xorl	%r12d, %r12d
	testl	%r15d, %r15d
	je	LBB0_12
LBB0_8:
	testq	%r12, %r12
	je	LBB0_10
## %bb.9:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_10:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_dup_and_fixup_symbol_prop
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_24
LBB0_17:
	cmpq	$0, 8(%r13)
	movq	(%r13), %rsi
	jne	LBB0_19
## %bb.18:
	movq	(%rsi), %rax
	movq	%rax, 16(%r15)
	movq	%r15, (%rsi)
LBB0_19:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rdx
	callq	_of_changeset_add_property
LBB0_20:
	movl	%eax, %r12d
	movq	(%r13), %rdi
	movq	_OF_OVERLAY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_of_node_check_flag
	testl	%eax, %eax
	jne	LBB0_22
## %bb.21:
	movq	(%r13), %rsi
	movq	8(%r15), %rdx
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_err
LBB0_22:
	testl	%r12d, %r12d
	je	LBB0_26
LBB0_23:
	movq	8(%r15), %rdi
	callq	_kfree
	movq	(%r15), %rdi
	callq	_kfree
	movq	%r15, %rdi
	callq	_kfree
	movl	%r12d, %r14d
	jmp	LBB0_26
LBB0_24:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_25:
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_26:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_of_prop_val_eq
	testl	%eax, %eax
	jne	LBB0_26
## %bb.28:
	movq	(%r13), %rsi
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_31
LBB0_29:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_of_prop_val_eq
	testl	%eax, %eax
	jne	LBB0_26
## %bb.30:
	movq	(%r13), %rsi
	leaq	L_.str.6(%rip), %rdi
LBB0_31:
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_pr_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
	testl	%r12d, %r12d
	jne	LBB0_23
	jmp	LBB0_26
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"name"

L_.str.1:                               ## @.str.1
	.asciz	"phandle"

L_.str.2:                               ## @.str.2
	.asciz	"linux,phandle"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.3:                               ## @.str.3
	.asciz	"#address-cells"

L_.str.4:                               ## @.str.4
	.asciz	"ERROR: changing value of #address-cells is not allowed in %pOF\n"

L_.str.5:                               ## @.str.5
	.asciz	"#size-cells"

L_.str.6:                               ## @.str.6
	.asciz	"ERROR: changing value of #size-cells is not allowed in %pOF\n"

	.comm	_OF_OVERLAY,4,2                 ## @OF_OVERLAY
L_.str.7:                               ## @.str.7
	.asciz	"WARNING: memory leak will occur if overlay removed, property: %pOF/%s\n"

	.no_dead_strip	_add_changeset_property
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_changeset_property
_add_changeset_property:                ; @add_changeset_property
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	x8, [x1, #8]
	cbz	x8, LBB0_11
; %bb.1:
	ldr	x0, [x20, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_of_prop_cmp
	cbz	w0, LBB0_27
; %bb.2:
	ldr	x0, [x20, #8]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_of_prop_cmp
	cbz	w0, LBB0_27
; %bb.3:
	ldr	x0, [x20, #8]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_of_prop_cmp
	cbz	w0, LBB0_27
; %bb.4:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_11
; %bb.5:
	ldr	x0, [x19]
	ldr	x1, [x20, #8]
	mov	x2, #0
	bl	_of_find_property
	mov	x23, x0
	cbnz	w22, LBB0_12
LBB0_6:
Lloh6:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	___of_prop_dup
	cbz	x0, LBB0_22
; %bb.7:
	mov	x20, x0
	cbz	x23, LBB0_15
; %bb.8:
	ldr	x0, [x23, #8]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_of_prop_cmp
	cbz	w0, LBB0_24
; %bb.9:
	ldr	x0, [x23, #8]
Lloh11:
	adrp	x1, l_.str.5@PAGE
Lloh12:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_of_prop_cmp
	cbz	w0, LBB0_26
; %bb.10:
	ldr	x1, [x19]
	mov	x0, x21
	mov	x2, x20
	bl	_of_changeset_update_property
	b	LBB0_18
LBB0_11:
	mov	x23, #0
	cbz	w22, LBB0_6
LBB0_12:
	cbz	x23, LBB0_14
; %bb.13:
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_23
LBB0_14:
	mov	x0, x21
	mov	x1, x20
	bl	_dup_and_fixup_symbol_prop
	mov	x20, x0
	cbz	x0, LBB0_22
LBB0_15:
	ldp	x1, x8, [x19]
	cbnz	x8, LBB0_17
; %bb.16:
	ldr	x8, [x1]
	str	x8, [x20, #16]
	str	x20, [x1]
LBB0_17:
	mov	x0, x21
	mov	x2, x20
	bl	_of_changeset_add_property
LBB0_18:
	mov	x21, x0
	ldr	x0, [x19]
Lloh15:
	adrp	x8, _OF_OVERLAY@GOTPAGE
Lloh16:
	ldr	x8, [x8, _OF_OVERLAY@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_of_node_check_flag
	cbnz	w0, LBB0_20
; %bb.19:
	ldr	x1, [x19]
	ldr	x8, [x20, #8]
	str	x8, [sp]
Lloh18:
	adrp	x0, l_.str.7@PAGE
Lloh19:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_pr_err
LBB0_20:
	cbz	w21, LBB0_28
LBB0_21:
	ldr	x0, [x20, #8]
	bl	_kfree
	ldr	x0, [x20]
	bl	_kfree
	mov	x0, x20
	bl	_kfree
	b	LBB0_28
LBB0_22:
Lloh20:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_23:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_28
LBB0_24:
	mov	x0, x23
	mov	x1, x20
	bl	_of_prop_val_eq
	cbnz	w0, LBB0_27
; %bb.25:
	ldr	x1, [x19]
Lloh22:
	adrp	x0, l_.str.4@PAGE
Lloh23:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_30
LBB0_26:
	mov	x0, x23
	mov	x1, x20
	bl	_of_prop_val_eq
	cbz	w0, LBB0_29
LBB0_27:
	mov	w21, #0
LBB0_28:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_29:
	ldr	x1, [x19]
Lloh24:
	adrp	x0, l_.str.6@PAGE
Lloh25:
	add	x0, x0, l_.str.6@PAGEOFF
LBB0_30:
	bl	_pr_err
Lloh26:
	adrp	x8, _EINVAL@GOTPAGE
Lloh27:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	neg	w21, w8
	cbnz	w21, LBB0_21
	b	LBB0_28
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"name"

l_.str.1:                               ; @.str.1
	.asciz	"phandle"

l_.str.2:                               ; @.str.2
	.asciz	"linux,phandle"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.3:                               ; @.str.3
	.asciz	"#address-cells"

l_.str.4:                               ; @.str.4
	.asciz	"ERROR: changing value of #address-cells is not allowed in %pOF\n"

l_.str.5:                               ; @.str.5
	.asciz	"#size-cells"

l_.str.6:                               ; @.str.6
	.asciz	"ERROR: changing value of #size-cells is not allowed in %pOF\n"

	.comm	_OF_OVERLAY,4,2                 ; @OF_OVERLAY
l_.str.7:                               ; @.str.7
	.asciz	"WARNING: memory leak will occur if overlay removed, property: %pOF/%s\n"

	.no_dead_strip	_add_changeset_property
.subsections_via_symbols
