	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function vcos_generic_blockpool_delete
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_vcos_generic_blockpool_delete
	.p2align	4, 0x90
_vcos_generic_blockpool_delete:         ## @vcos_generic_blockpool_delete
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_VCOS_FUNCTION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rdx
	callq	_vcos_log_trace
	testq	%r14, %r14
	je	LBB0_9
## %bb.1:
	movq	%r14, %rdi
	callq	_ASSERT_POOL
	cmpq	$0, (%r14)
	je	LBB0_8
## %bb.2:
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%r15,%rbx)
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r13
	addq	$32, %rbx
	cmpq	(%r14), %r13
	jae	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r14), %r15
	leaq	(%r15,%rbx), %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_ASSERT_SUBPOOL
	movq	16(%r15,%rbx), %r12
	testq	%r12, %r12
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	24(%r15,%rbx), %edi
	movl	12(%r14), %edx
	movl	16(%r14), %esi
	callq	_VCOS_BLOCKPOOL_SIZE
	movq	%r12, %rdi
	movl	$190, %esi
	movl	%eax, %edx
	callq	_memset
	movq	_VCOS_BLOCKPOOL_SUBPOOL_FLAG_OWNS_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15,%rbx)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rdi
	callq	_vcos_free
	jmp	LBB0_6
LBB0_8:
	leaq	8(%r14), %rdi
	callq	_vcos_mutex_delete
	movq	%r14, %rdi
	movl	$190, %esi
	movl	$32, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memset                         ## TAILCALL
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: pool %p"

	.comm	_VCOS_FUNCTION,4,2              ## @VCOS_FUNCTION
	.comm	_VCOS_BLOCKPOOL_SUBPOOL_FLAG_OWNS_MEM,4,2 ## @VCOS_BLOCKPOOL_SUBPOOL_FLAG_OWNS_MEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vcos_generic_blockpool_delete  ; -- Begin function vcos_generic_blockpool_delete
	.p2align	2
_vcos_generic_blockpool_delete:         ; @vcos_generic_blockpool_delete
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
Lloh0:
	adrp	x8, _VCOS_FUNCTION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VCOS_FUNCTION@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x19
	bl	_vcos_log_trace
	cbz	x19, LBB0_9
; %bb.1:
	mov	x0, x19
	bl	_ASSERT_POOL
	ldr	x8, [x19]
	cbz	x8, LBB0_8
; %bb.2:
	mov	x22, #0
	mov	x23, #0
Lloh5:
	adrp	x24, _VCOS_BLOCKPOOL_SUBPOOL_FLAG_OWNS_MEM@GOTPAGE
Lloh6:
	ldr	x24, [x24, _VCOS_BLOCKPOOL_SUBPOOL_FLAG_OWNS_MEM@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x25, x22
	stp	xzr, xzr, [x8, #8]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x23, x23, #1
	ldr	x8, [x19]
	add	x22, x22, #32
	cmp	x23, x8
	b.hs	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x25, [x19, #24]
	add	x20, x25, x22
	mov	x0, x20
	bl	_ASSERT_SUBPOOL
	ldr	x21, [x20, #16]
	cbz	x21, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x20, #24]
	ldp	w2, w1, [x19, #12]
	bl	_VCOS_BLOCKPOOL_SIZE
	mov	x2, x0
	mov	x0, x21
	mov	w1, #190
	bl	_memset
	ldr	w8, [x20]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x20, #16]
	bl	_vcos_free
	b	LBB0_3
LBB0_8:
	add	x0, x19, #8
	bl	_vcos_mutex_delete
	mov	x0, x19
	mov	w1, #190
	mov	w2, #32
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_memset
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: pool %p"

	.comm	_VCOS_FUNCTION,4,2              ; @VCOS_FUNCTION
	.comm	_VCOS_BLOCKPOOL_SUBPOOL_FLAG_OWNS_MEM,4,2 ; @VCOS_BLOCKPOOL_SUBPOOL_FLAG_OWNS_MEM
.subsections_via_symbols
