	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_icc_node_destroy               ## -- Begin function icc_node_destroy
	.p2align	4, 0x90
_icc_node_destroy:                      ## @icc_node_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
	movl	%edi, %ebx
	movq	_icc_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_lock
	movl	%ebx, %edi
	callq	_node_find
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	4(%rbx), %esi
	movq	_icc_idr@GOTPCREL(%rip), %rdi
	callq	_idr_remove
	movq	%rbx, %rdi
	callq	_hlist_empty
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_WARN_ON
LBB0_2:
	movq	_icc_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_unlock
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_icc_lock,4,2                   ## @icc_lock
	.comm	_icc_idr,4,2                    ## @icc_idr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_icc_node_destroy               ; -- Begin function icc_node_destroy
	.p2align	2
_icc_node_destroy:                      ; @icc_node_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
Lloh0:
	adrp	x0, _icc_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _icc_lock@GOTPAGEOFF]
	bl	_mutex_lock
	mov	x0, x19
	bl	_node_find
	mov	x19, x0
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w1, [x19, #4]
Lloh2:
	adrp	x0, _icc_idr@GOTPAGE
Lloh3:
	ldr	x0, [x0, _icc_idr@GOTPAGEOFF]
	bl	_idr_remove
	mov	x0, x19
	bl	_hlist_empty
	cmp	w0, #0
	cset	w0, eq
	bl	_WARN_ON
LBB0_2:
Lloh4:
	adrp	x0, _icc_lock@GOTPAGE
Lloh5:
	ldr	x0, [x0, _icc_lock@GOTPAGEOFF]
	bl	_mutex_unlock
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_kfree
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_icc_lock,4,2                   ; @icc_lock
	.comm	_icc_idr,4,2                    ; @icc_idr
.subsections_via_symbols
