	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __of_changeset_entry_apply
___of_changeset_entry_apply:            ## @__of_changeset_entry_apply
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	___of_changeset_entry_dump
	movq	_devtree_lock@GOTPCREL(%rip), %rdi
	callq	_raw_spin_lock_irqsave
	movl	(%rbx), %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_26
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_13:
	movq	8(%rbx), %rsi
	movq	16(%rbx), %rdi
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_19
## %bb.14:
	cmpq	%rsi, %rax
	je	LBB0_18
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rcx
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_19
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	cmpq	%rsi, %rax
	jne	LBB0_15
## %bb.17:
	addq	$8, %rcx
	movq	%rcx, %rdi
LBB0_18:
	movq	8(%rsi), %rax
	movq	%rax, (%rdi)
	movq	8(%rbx), %rsi
	movq	$0, 8(%rsi)
	movq	16(%rbx), %rdi
LBB0_19:
	leaq	-24(%rbp), %rdx
	callq	___of_update_property
	testl	%eax, %eax
	je	LBB0_23
## %bb.20:
	movl	%eax, %r14d
	movq	8(%rbx), %rax
	movq	16(%rbx), %rsi
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_21
LBB0_26:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_devtree_lock@GOTPCREL(%rip), %rdi
	callq	_raw_spin_unlock_irqrestore
	testl	%r14d, %r14d
	je	LBB0_24
## %bb.27:
	negl	%r14d
	jmp	LBB0_33
LBB0_11:
	movq	8(%rbx), %rsi
	movq	16(%rbx), %rdi
	callq	___of_remove_property
	testl	%eax, %eax
	je	LBB0_23
## %bb.12:
	movl	%eax, %r14d
	movq	8(%rbx), %rax
	movq	16(%rbx), %rsi
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_21
LBB0_2:
	movq	16(%rbx), %rdi
	callq	___of_detach_node
	jmp	LBB0_23
LBB0_22:
	movq	16(%rbx), %rdi
	callq	___of_attach_node
	jmp	LBB0_23
LBB0_3:
	movq	8(%rbx), %rsi
	movq	16(%rbx), %rdi
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:
	cmpq	%rsi, %rax
	je	LBB0_8
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rcx
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%rsi, %rax
	jne	LBB0_5
## %bb.7:
	addq	$8, %rcx
	movq	%rcx, %rdi
LBB0_8:
	movq	8(%rsi), %rax
	movq	%rax, (%rdi)
	movq	8(%rbx), %rsi
	movq	$0, 8(%rsi)
	movq	16(%rbx), %rdi
LBB0_9:
	callq	___of_add_property
	testl	%eax, %eax
	je	LBB0_23
## %bb.10:
	movl	%eax, %r14d
	movq	8(%rbx), %rax
	movq	16(%rbx), %rsi
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rdi
LBB0_21:
	callq	_pr_err
	movq	_devtree_lock@GOTPCREL(%rip), %rdi
	callq	_raw_spin_unlock_irqrestore
	jmp	LBB0_33
LBB0_23:
	movq	_devtree_lock@GOTPCREL(%rip), %rdi
	callq	_raw_spin_unlock_irqrestore
LBB0_24:
	movl	(%rbx), %eax
	xorl	%r14d, %r14d
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_33
## %bb.25:
	leaq	LJTI0_1(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_32:
	movq	16(%rbx), %rdi
	movq	8(%rbx), %rsi
	movl	4(%rbx), %edx
	callq	___of_update_property_sysfs
	jmp	LBB0_33
LBB0_31:
	movq	8(%rbx), %rsi
	movq	16(%rbx), %rdi
	callq	___of_remove_property_sysfs
	jmp	LBB0_33
LBB0_29:
	movq	16(%rbx), %rdi
	callq	___of_detach_node_sysfs
	jmp	LBB0_33
LBB0_28:
	movq	16(%rbx), %rdi
	callq	___of_attach_node_sysfs
	jmp	LBB0_33
LBB0_30:
	movq	8(%rbx), %rsi
	movq	16(%rbx), %rdi
	callq	___of_add_property_sysfs
LBB0_33:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_13
	.long	L0_0_set_11
	.long	L0_0_set_2
	.long	L0_0_set_22
	.long	L0_0_set_3
.set L0_1_set_32, LBB0_32-LJTI0_1
.set L0_1_set_31, LBB0_31-LJTI0_1
.set L0_1_set_29, LBB0_29-LJTI0_1
.set L0_1_set_28, LBB0_28-LJTI0_1
.set L0_1_set_30, LBB0_30-LJTI0_1
LJTI0_1:
	.long	L0_1_set_32
	.long	L0_1_set_31
	.long	L0_1_set_29
	.long	L0_1_set_28
	.long	L0_1_set_30
	.end_data_region
                                        ## -- End function
	.comm	_devtree_lock,4,2               ## @devtree_lock
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"changeset: add_property failed @%pOF/%s\n"

L_.str.1:                               ## @.str.1
	.asciz	"changeset: remove_property failed @%pOF/%s\n"

L_.str.2:                               ## @.str.2
	.asciz	"changeset: update_property failed @%pOF/%s\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	___of_changeset_entry_apply
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __of_changeset_entry_apply
___of_changeset_entry_apply:            ; @__of_changeset_entry_apply
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	___of_changeset_entry_dump
Lloh0:
	adrp	x0, _devtree_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _devtree_lock@GOTPAGEOFF]
	bl	_raw_spin_lock_irqsave
	ldr	w8, [x19]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_10
; %bb.1:
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldp	x1, x0, [x19, #8]
	ldr	x8, [x0]
	cbz	x8, LBB0_8
; %bb.3:
	cmp	x8, x1
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x9, x8
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x8, x1
	b.ne	LBB0_4
; %bb.6:
	add	x0, x9, #8
LBB0_7:
	ldr	x8, [x1, #8]
	str	x8, [x0]
	ldp	x1, x0, [x19, #8]
	str	xzr, [x1, #8]
LBB0_8:
	add	x2, sp, #8
	bl	___of_update_property
	cbz	w0, LBB0_25
; %bb.9:
	mov	x20, x0
	ldp	x8, x1, [x19, #8]
	ldr	w2, [x8]
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_24
LBB0_10:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x8]
Lloh9:
	adrp	x0, _devtree_lock@GOTPAGE
Lloh10:
	ldr	x0, [x0, _devtree_lock@GOTPAGEOFF]
	bl	_raw_spin_unlock_irqrestore
	cbz	w20, LBB0_26
; %bb.11:
	neg	w20, w20
	b	LBB0_34
LBB0_12:
	ldp	x1, x0, [x19, #8]
	bl	___of_remove_property
	cbz	w0, LBB0_25
; %bb.13:
	mov	x20, x0
	ldp	x8, x1, [x19, #8]
	ldr	w2, [x8]
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_24
LBB0_14:
	ldr	x0, [x19, #16]
	bl	___of_detach_node
	b	LBB0_25
LBB0_15:
	ldr	x0, [x19, #16]
	bl	___of_attach_node
	b	LBB0_25
LBB0_16:
	ldp	x1, x0, [x19, #8]
	ldr	x8, [x0]
	cbz	x8, LBB0_22
; %bb.17:
	cmp	x8, x1
	b.eq	LBB0_21
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	mov	x9, x8
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_22
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	cmp	x8, x1
	b.ne	LBB0_18
; %bb.20:
	add	x0, x9, #8
LBB0_21:
	ldr	x8, [x1, #8]
	str	x8, [x0]
	ldp	x1, x0, [x19, #8]
	str	xzr, [x1, #8]
LBB0_22:
	bl	___of_add_property
	cbz	w0, LBB0_25
; %bb.23:
	mov	x20, x0
	ldp	x8, x1, [x19, #8]
	ldr	w2, [x8]
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
LBB0_24:
	bl	_pr_err
Lloh15:
	adrp	x0, _devtree_lock@GOTPAGE
Lloh16:
	ldr	x0, [x0, _devtree_lock@GOTPAGEOFF]
	bl	_raw_spin_unlock_irqrestore
	b	LBB0_34
LBB0_25:
Lloh17:
	adrp	x0, _devtree_lock@GOTPAGE
Lloh18:
	ldr	x0, [x0, _devtree_lock@GOTPAGEOFF]
	bl	_raw_spin_unlock_irqrestore
LBB0_26:
	ldr	w8, [x19]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_33
; %bb.27:
Lloh19:
	adrp	x9, lJTI0_1@PAGE
Lloh20:
	add	x9, x9, lJTI0_1@PAGEOFF
	adr	x10, LBB0_28
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_28:
	ldp	x1, x0, [x19, #8]
	ldr	w2, [x19, #4]
	bl	___of_update_property_sysfs
	b	LBB0_33
LBB0_29:
	ldp	x1, x0, [x19, #8]
	bl	___of_remove_property_sysfs
	b	LBB0_33
LBB0_30:
	ldr	x0, [x19, #16]
	bl	___of_detach_node_sysfs
	b	LBB0_33
LBB0_31:
	ldr	x0, [x19, #16]
	bl	___of_attach_node_sysfs
	b	LBB0_33
LBB0_32:
	ldp	x1, x0, [x19, #8]
	bl	___of_add_property_sysfs
LBB0_33:
	mov	w20, #0
LBB0_34:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
lJTI0_1:
	.byte	(LBB0_28-LBB0_28)>>2
	.byte	(LBB0_29-LBB0_28)>>2
	.byte	(LBB0_30-LBB0_28)>>2
	.byte	(LBB0_31-LBB0_28)>>2
	.byte	(LBB0_32-LBB0_28)>>2
                                        ; -- End function
	.comm	_devtree_lock,4,2               ; @devtree_lock
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"changeset: add_property failed @%pOF/%s\n"

l_.str.1:                               ; @.str.1
	.asciz	"changeset: remove_property failed @%pOF/%s\n"

l_.str.2:                               ; @.str.2
	.asciz	"changeset: update_property failed @%pOF/%s\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	___of_changeset_entry_apply
.subsections_via_symbols
