	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __of_changeset_entry_destroy
___of_changeset_entry_destroy:          ## @__of_changeset_entry_destroy
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_OF_RECONFIG_ATTACH_NODE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.1:
	movq	16(%rbx), %rdi
	movq	_OF_OVERLAY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_of_node_check_flag
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	16(%rbx), %rdi
	callq	_kref_read
	movq	16(%rbx), %rdi
	cmpl	$2, %eax
	jl	LBB0_4
## %bb.3:
	callq	_kref_read
	movq	16(%rbx), %rdx
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_pr_err
	jmp	LBB0_5
LBB0_4:
	movq	_OF_OVERLAY_FREE_CSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_of_node_set_flag
LBB0_5:
	movq	16(%rbx), %rdi
	callq	_of_node_put
	leaq	8(%rbx), %rdi
	callq	_list_del
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OF_RECONFIG_ATTACH_NODE,8,3    ## @OF_RECONFIG_ATTACH_NODE
	.comm	_OF_OVERLAY,4,2                 ## @OF_OVERLAY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ERROR: memory leak, expected refcount 1 instead of %d, of_node_get()/of_node_put() unbalanced - destroy cset entry: attach overlay node %pOF\n"

	.comm	_OF_OVERLAY_FREE_CSET,4,2       ## @OF_OVERLAY_FREE_CSET
	.no_dead_strip	___of_changeset_entry_destroy
.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_destroy
___of_changeset_entry_destroy:          ; @__of_changeset_entry_destroy
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _OF_RECONFIG_ATTACH_NODE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _OF_RECONFIG_ATTACH_NODE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	ldr	x0, [x19, #16]
Lloh3:
	adrp	x8, _OF_OVERLAY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OF_OVERLAY@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_of_node_check_flag
	cbz	x0, LBB0_5
; %bb.2:
	ldr	x0, [x19, #16]
	bl	_kref_read
	mov	x8, x0
	ldr	x0, [x19, #16]
	cmp	w8, #2
	b.lt	LBB0_4
; %bb.3:
	bl	_kref_read
	mov	x1, x0
	ldr	x2, [x19, #16]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
	b	LBB0_5
LBB0_4:
Lloh8:
	adrp	x8, _OF_OVERLAY_FREE_CSET@GOTPAGE
Lloh9:
	ldr	x8, [x8, _OF_OVERLAY_FREE_CSET@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_of_node_set_flag
LBB0_5:
	ldr	x0, [x19, #16]
	bl	_of_node_put
	add	x0, x19, #8
	bl	_list_del
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_kfree
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_OF_RECONFIG_ATTACH_NODE,8,3    ; @OF_RECONFIG_ATTACH_NODE
	.comm	_OF_OVERLAY,4,2                 ; @OF_OVERLAY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ERROR: memory leak, expected refcount 1 instead of %d, of_node_get()/of_node_put() unbalanced - destroy cset entry: attach overlay node %pOF\n"

	.comm	_OF_OVERLAY_FREE_CSET,4,2       ; @OF_OVERLAY_FREE_CSET
	.no_dead_strip	___of_changeset_entry_destroy
.subsections_via_symbols
