	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function alloc_clear
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_alloc_clear
	.p2align	4, 0x90
_alloc_clear:                           ## @alloc_clear
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.1:
	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
	cmpq	$0, 32(%rdi)
	jne	LBB0_3
## %bb.2:
	leaq	40(%r14), %rdi
	callq	_lock_quick_destroy
	cmpq	$0, 32(%r14)
	je	LBB0_8
LBB0_3:
	movq	24(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.4:
	movq	%rbx, %rdi
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	callq	_alloc_special_next
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	callq	_alloc_special_next
	movq	%rax, %rbx
	movq	%rax, %rdi
	jmp	LBB0_6
LBB0_7:
	movq	32(%r14), %rdi
	callq	_lock_quick_lock
	movq	32(%r14), %rax
	movq	8(%rax), %rsi
	movq	%rbx, %rdi
	callq	_alloc_set_special_next
	movq	24(%r14), %rax
	movq	32(%r14), %rdi
	movq	%rax, 8(%rdi)
	movl	16(%r14), %eax
	addl	%eax, 4(%rdi)
	callq	_lock_quick_unlock
	jmp	LBB0_9
LBB0_8:
	movq	%r14, %rdi
	callq	_alloc_clear_special_list
LBB0_9:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%r14)
	movq	8(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rdi), %rbx
	callq	_free
	movq	%rbx, %rdi
	testq	%rbx, %rbx
	jne	LBB0_10
LBB0_11:
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
LBB0_12:
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_alloc_clear                    ; -- Begin function alloc_clear
	.p2align	2
_alloc_clear:                           ; @alloc_clear
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_11
; %bb.1:
	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, #32]
	cbnz	x8, LBB0_3
; %bb.2:
	add	x0, x19, #40
	bl	_lock_quick_destroy
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_7
LBB0_3:
	ldr	x20, [x19, #24]
	cbz	x20, LBB0_7
; %bb.4:
	mov	x0, x20
	bl	_alloc_special_next
	cbz	x0, LBB0_6
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_alloc_special_next
	mov	x20, x0
	bl	_alloc_special_next
	cbnz	x0, LBB0_5
LBB0_6:
	ldr	x0, [x19, #32]
	bl	_lock_quick_lock
	ldr	x8, [x19, #32]
	ldr	x1, [x8, #8]
	mov	x0, x20
	bl	_alloc_set_special_next
	ldp	x8, x0, [x19, #24]
	str	x8, [x0, #8]
	ldr	w8, [x19, #16]
	ldr	w9, [x0, #4]
	add	w8, w9, w8
	str	w8, [x0, #4]
	bl	_lock_quick_unlock
	b	LBB0_8
LBB0_7:
	mov	x0, x19
	bl	_alloc_clear_special_list
LBB0_8:
	stp	xzr, xzr, [x19, #16]
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_10
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x20, [x0]
	bl	_free
	mov	x0, x20
	cbnz	x20, LBB0_9
LBB0_10:
	stp	xzr, xzr, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
LBB0_11:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
