	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zone_dtor
_zone_dtor:                             ## @zone_dtor
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_UMA_ZFLAG_INTERNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_cache_drain
LBB0_2:
	movq	_uma_rwlock@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_rw_wlock
	movq	_uz_link@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_LIST_REMOVE
	movq	%r14, %rdi
	callq	_rw_wunlock
	movq	_M_WAITOK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_zone_reclaim
	movq	_UMA_ZONE_SECONDARY@GOTPCREL(%rip), %rax
	movq	_UMA_ZFLAG_CACHE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%ecx, (%rbx)
	jne	LBB0_4
## %bb.3:
	movq	32(%rbx), %r14
	movq	_uma_rwlock@GOTPCREL(%rip), %r15
	movq	%r15, %rdi
	callq	_rw_wlock
	movq	_uk_link@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_LIST_REMOVE
	movq	%r15, %rdi
	callq	_rw_wunlock
	movq	_kegs@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SKIP_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_zone_free_item
LBB0_4:
	movl	24(%rbx), %edi
	callq	_counter_u64_free
	movl	20(%rbx), %edi
	callq	_counter_u64_free
	movl	16(%rbx), %edi
	callq	_counter_u64_free
	leaq	4(%rbx), %rax
	cmpq	%rax, 8(%rbx)
	je	LBB0_6
## %bb.5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ZONE_LOCK_FINI                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_UMA_ZFLAG_INTERNAL,4,2         ## @UMA_ZFLAG_INTERNAL
	.comm	_uma_rwlock,4,2                 ## @uma_rwlock
	.comm	_uz_link,4,2                    ## @uz_link
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.comm	_UMA_ZONE_SECONDARY,4,2         ## @UMA_ZONE_SECONDARY
	.comm	_UMA_ZFLAG_CACHE,4,2            ## @UMA_ZFLAG_CACHE
	.comm	_uk_link,4,2                    ## @uk_link
	.comm	_kegs,4,2                       ## @kegs
	.comm	_SKIP_NONE,4,2                  ## @SKIP_NONE
	.no_dead_strip	_zone_dtor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zone_dtor
_zone_dtor:                             ; @zone_dtor
	.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
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _UMA_ZFLAG_INTERNAL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _UMA_ZFLAG_INTERNAL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_cache_drain
LBB0_2:
Lloh3:
	adrp	x20, _uma_rwlock@GOTPAGE
Lloh4:
	ldr	x20, [x20, _uma_rwlock@GOTPAGEOFF]
	mov	x0, x20
	bl	_rw_wlock
Lloh5:
	adrp	x8, _uz_link@GOTPAGE
Lloh6:
	ldr	x8, [x8, _uz_link@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_LIST_REMOVE
	mov	x0, x20
	bl	_rw_wunlock
Lloh8:
	adrp	x8, _M_WAITOK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _M_WAITOK@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #1
	bl	_zone_reclaim
	ldr	w8, [x19]
Lloh11:
	adrp	x9, _UMA_ZONE_SECONDARY@GOTPAGE
Lloh12:
	ldr	x9, [x9, _UMA_ZONE_SECONDARY@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
Lloh14:
	adrp	x10, _UMA_ZFLAG_CACHE@GOTPAGE
Lloh15:
	ldr	x10, [x10, _UMA_ZFLAG_CACHE@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.ne	LBB0_4
; %bb.3:
	ldr	x20, [x19, #32]
Lloh17:
	adrp	x21, _uma_rwlock@GOTPAGE
Lloh18:
	ldr	x21, [x21, _uma_rwlock@GOTPAGEOFF]
	mov	x0, x21
	bl	_rw_wlock
Lloh19:
	adrp	x8, _uk_link@GOTPAGE
Lloh20:
	ldr	x8, [x8, _uk_link@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_LIST_REMOVE
	mov	x0, x21
	bl	_rw_wunlock
Lloh22:
	adrp	x8, _kegs@GOTPAGE
Lloh23:
	ldr	x8, [x8, _kegs@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x8, _SKIP_NONE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _SKIP_NONE@GOTPAGEOFF]
Lloh27:
	ldr	w3, [x8]
	mov	x1, x20
	mov	x2, #0
	bl	_zone_free_item
LBB0_4:
	ldr	w0, [x19, #24]
	bl	_counter_u64_free
	ldr	w0, [x19, #20]
	bl	_counter_u64_free
	ldr	w0, [x19, #16]
	bl	_counter_u64_free
	ldr	x8, [x19, #8]
	add	x9, x19, #4
	cmp	x8, x9
	b.eq	LBB0_6
; %bb.5:
	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
LBB0_6:
	mov	x0, x19
	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
	b	_ZONE_LOCK_FINI
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_UMA_ZFLAG_INTERNAL,4,2         ; @UMA_ZFLAG_INTERNAL
	.comm	_uma_rwlock,4,2                 ; @uma_rwlock
	.comm	_uz_link,4,2                    ; @uz_link
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.comm	_UMA_ZONE_SECONDARY,4,2         ; @UMA_ZONE_SECONDARY
	.comm	_UMA_ZFLAG_CACHE,4,2            ; @UMA_ZFLAG_CACHE
	.comm	_uk_link,4,2                    ; @uk_link
	.comm	_kegs,4,2                       ; @kegs
	.comm	_SKIP_NONE,4,2                  ; @SKIP_NONE
	.no_dead_strip	_zone_dtor
.subsections_via_symbols
