	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_heap_pool_clear                ## -- Begin function heap_pool_clear
	.p2align	4, 0x90
_heap_pool_clear:                       ## @heap_pool_clear
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	40(%rdi), %r15
	movq	%r15, %rdi
	callq	_list_head
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_list_remove
	movq	%rbx, %rdi
	callq	_heap_free
	movq	%r15, %rdi
	callq	_list_head
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_3
LBB0_4:
	movq	%r14, %rdi
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	cmpq	$0, (%r14)
	je	LBB0_8
## %bb.6:
	xorl	%ebx, %ebx
	movq	_ARENA_FREE_FILLER@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%r14), %rax
	movl	(%rax,%rbx,4), %r15d
	movl	(%r13), %r12d
	movq	%rbx, %rdi
	callq	_block_size
	movl	%r15d, %edi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_memset
	incq	%rbx
	cmpq	(%r14), %rbx
	jb	LBB0_7
LBB0_8:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%r14)
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
LBB0_9:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARENA_FREE_FILLER,4,2          ## @ARENA_FREE_FILLER
	.comm	_FALSE,4,2                      ## @FALSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_heap_pool_clear                ; -- Begin function heap_pool_clear
	.p2align	2
_heap_pool_clear:                       ; @heap_pool_clear
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_9
; %bb.1:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	add	x20, x0, #40
	mov	x0, x20
	bl	_list_head
	cbz	x0, LBB0_4
; %bb.2:
	mov	x21, x0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_list_remove
	mov	x0, x21
	bl	_heap_free
	mov	x0, x20
	bl	_list_head
	mov	x21, x0
	cbnz	x0, LBB0_3
LBB0_4:
	mov	x0, x19
	bl	_WARN_ON
	cbz	x0, LBB0_8
; %bb.5:
	ldr	x8, [x19]
	cbz	x8, LBB0_8
; %bb.6:
	mov	x20, #0
Lloh0:
	adrp	x23, _ARENA_FREE_FILLER@GOTPAGE
Lloh1:
	ldr	x23, [x23, _ARENA_FREE_FILLER@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #32]
	ldr	w21, [x8, x20, lsl #2]
	ldr	w22, [x23]
	mov	x0, x20
	bl	_block_size
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_memset
	add	x20, x20, #1
	ldr	x8, [x19]
	cmp	x20, x8
	b.lo	LBB0_7
LBB0_8:
	stp	xzr, xzr, [x19, #16]
Lloh2:
	adrp	x8, _FALSE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
LBB0_9:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	.cfi_same_value w23
	.cfi_same_value w24
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ARENA_FREE_FILLER,4,2          ; @ARENA_FREE_FILLER
	.comm	_FALSE,4,2                      ; @FALSE
.subsections_via_symbols
