	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __of_free_phandle_cache
___of_free_phandle_cache:               ## @__of_free_phandle_cache
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_phandle_cache@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	movq	_phandle_cache_mask@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	cmpq	$-1, %r15
	je	LBB0_6
## %bb.2:
	movl	(%rdi), %edi
	callq	_of_node_put
	testq	%r15, %r15
	je	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movl	4(%rax,%rbx,4), %edi
	incq	%rbx
	callq	_of_node_put
	cmpq	%rbx, %r15
	jne	LBB0_4
LBB0_5:
	movq	(%r14), %rdi
LBB0_6:
	callq	_kfree
	movq	$0, (%r14)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_phandle_cache_mask,8,3         ## @phandle_cache_mask
	.comm	_phandle_cache,8,3              ## @phandle_cache
	.no_dead_strip	___of_free_phandle_cache
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __of_free_phandle_cache
___of_free_phandle_cache:               ; @__of_free_phandle_cache
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x19, _phandle_cache@GOTPAGE
Lloh1:
	ldr	x19, [x19, _phandle_cache@GOTPAGEOFF]
	ldr	x0, [x19]
	cbz	x0, LBB0_7
; %bb.1:
Lloh2:
	adrp	x8, _phandle_cache_mask@GOTPAGE
Lloh3:
	ldr	x8, [x8, _phandle_cache_mask@GOTPAGEOFF]
Lloh4:
	ldr	x20, [x8]
	cmn	x20, #1
	b.eq	LBB0_6
; %bb.2:
	ldr	w0, [x0]
	bl	_of_node_put
	cbz	x20, LBB0_5
; %bb.3:
	mov	x8, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x21, x8, #1
	ldr	x9, [x19]
	add	x8, x9, x8, lsl #2
	ldr	w0, [x8, #4]
	bl	_of_node_put
	mov	x8, x21
	cmp	x20, x21
	b.ne	LBB0_4
LBB0_5:
	ldr	x0, [x19]
LBB0_6:
	bl	_kfree
	str	xzr, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_phandle_cache_mask,8,3         ; @phandle_cache_mask
	.comm	_phandle_cache,8,3              ; @phandle_cache
	.no_dead_strip	___of_free_phandle_cache
.subsections_via_symbols
