	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_if_clone_detach                ## -- Begin function if_clone_detach
	.p2align	4, 0x90
_if_clone_detach:                       ## @if_clone_detach
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_IF_CLONERS_LOCK
	movq	_ifc_list@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_LIST_REMOVE
	movq	_V_if_cloners_count@GOTPCREL(%rip), %rax
	decl	(%rax)
	xorl	%eax, %eax
	callq	_IF_CLONERS_UNLOCK
	movq	(%r14), %rax
	movq	_SIMPLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	$0, 16(%r14)
LBB0_2:
	leaq	8(%r14), %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_LIST_EMPTY
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_LIST_FIRST
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_if_clone_destroyif
	jmp	LBB0_4
LBB0_5:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_IF_CLONE_REMREF                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ifc_list,4,2                   ## @ifc_list
	.comm	_V_if_cloners_count,4,2         ## @V_if_cloners_count
	.comm	_SIMPLE,8,3                     ## @SIMPLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_if_clone_detach                ; -- Begin function if_clone_detach
	.p2align	2
_if_clone_detach:                       ; @if_clone_detach
	.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
	bl	_IF_CLONERS_LOCK
Lloh0:
	adrp	x8, _ifc_list@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ifc_list@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_LIST_REMOVE
Lloh3:
	adrp	x8, _V_if_cloners_count@GOTPAGE
Lloh4:
	ldr	x8, [x8, _V_if_cloners_count@GOTPAGEOFF]
	ldr	w9, [x8]
	sub	w9, w9, #1
	str	w9, [x8]
	bl	_IF_CLONERS_UNLOCK
	ldr	x8, [x19]
Lloh5:
	adrp	x9, _SIMPLE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SIMPLE@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	str	xzr, [x19, #16]
LBB0_2:
	add	x20, x19, #8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_LIST_EMPTY
	cbnz	w0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_LIST_FIRST
	mov	x1, x0
	mov	x0, x19
	bl	_if_clone_destroyif
	b	LBB0_3
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_IF_CLONE_REMREF
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ifc_list,4,2                   ; @ifc_list
	.comm	_V_if_cloners_count,4,2         ; @V_if_cloners_count
	.comm	_SIMPLE,8,3                     ; @SIMPLE
.subsections_via_symbols
