	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function check_for_freed_segments_locked
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_check_for_freed_segments_locked:       ## @check_for_freed_segments_locked
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_DSA_AREA_LOCK
	movl	%eax, %edi
	callq	_LWLockHeldByMe
	movl	%eax, %edi
	callq	_Assert
	movq	24(%r15), %rax
	movq	(%rax), %r14
	xorl	%edi, %edi
	cmpq	%r14, (%r15)
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movl	8(%r15), %eax
	testl	%eax, %eax
	js	LBB0_7
## %bb.2:
	movq	16(%r15), %rcx
	movq	$-1, %r12
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movslq	%eax, %rdx
	incq	%r12
	addq	$24, %rbx
	cmpq	%rdx, %r12
	jge	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rcx,%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, (%rdx)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%rcx,%rbx), %rdi
	callq	_dsm_detach
	movq	16(%r15), %rcx
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rcx,%rbx)
	movq	$0, 16(%rcx,%rbx)
	movl	8(%r15), %eax
	jmp	LBB0_6
LBB0_7:
	movq	%r14, (%r15)
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_check_for_freed_segments_locked
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_for_freed_segments_locked
_check_for_freed_segments_locked:       ; @check_for_freed_segments_locked
	.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
	mov	x19, x0
	bl	_DSA_AREA_LOCK
	bl	_LWLockHeldByMe
	bl	_Assert
	ldr	x8, [x19, #24]
	ldr	x20, [x8]
	ldr	x8, [x19]
	cmp	x8, x20
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_8
; %bb.1:
	ldr	w9, [x19, #8]
	tbnz	w9, #31, LBB0_7
; %bb.2:
	mov	x21, #0
	ldr	x8, [x19, #16]
	mov	x22, #-1
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x22, #1
	add	x21, x21, #24
	cmp	x22, w9, sxtw
	b.ge	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x10, x8, x21
	ldr	x10, [x10, #8]
	cbz	x10, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x10, [x10]
	cbz	x10, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x8, x21
	ldr	x0, [x8, #16]
	bl	_dsm_detach
	ldr	x8, [x19, #16]
	add	x9, x8, x21
	stp	xzr, xzr, [x9, #8]
	str	xzr, [x9]
	ldr	w9, [x19, #8]
	b	LBB0_3
LBB0_7:
	str	x20, [x19]
LBB0_8:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_check_for_freed_segments_locked
.subsections_via_symbols
