	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zone_timeout
_zone_timeout:                          ## @zone_timeout
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	_UMA_ZFLAG_CACHE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	jne	LBB0_9
## %bb.1:
	movq	16(%r12), %r14
	movq	%r14, %rdi
	callq	_KEG_LOCK
	movq	_UMA_ZONE_HASH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_8
## %bb.2:
	movl	4(%r14), %eax
	cltd
	idivl	8(%r14)
	cmpl	12(%r14), %eax
	jle	LBB0_8
## %bb.3:
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_KEG_UNLOCK
	movl	%r15d, %edi
	callq	_fls
	movl	$1, %esi
	movl	%eax, %ecx
	shll	%cl, %esi
	leaq	-40(%rbp), %rdi
	callq	_hash_alloc
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_KEG_LOCK
	testl	%r15d, %r15d
	je	LBB0_8
## %bb.4:
	leaq	12(%r14), %rbx
	leaq	-40(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_hash_expand
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	(%rbx), %eax
	movl	-40(%rbp), %ecx
	movl	%ecx, (%rbx)
	jmp	LBB0_7
LBB0_8:
	movq	%r14, %rdi
	callq	_KEG_UNLOCK
LBB0_9:
	movq	%r12, %rdi
	callq	_ZONE_LOCK
	movq	_vm_ndomains@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_12
## %bb.10:
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rdi
	addq	%r15, %rdi
	callq	_zone_domain_update_wss
	incq	%rbx
	movslq	(%r14), %rax
	addq	$4, %r15
	cmpq	%rax, %rbx
	jl	LBB0_11
LBB0_12:
	movq	%r12, %rdi
	callq	_ZONE_UNLOCK
LBB0_13:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	-40(%rbp), %eax
LBB0_7:
	movl	%eax, -48(%rbp)
	movq	%r14, %rdi
	callq	_KEG_UNLOCK
	leaq	-48(%rbp), %rdi
	callq	_hash_free
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_UMA_ZFLAG_CACHE,4,2            ## @UMA_ZFLAG_CACHE
	.comm	_UMA_ZONE_HASH,4,2              ## @UMA_ZONE_HASH
	.comm	_vm_ndomains,4,2                ## @vm_ndomains
	.no_dead_strip	_zone_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zone_timeout
_zone_timeout:                          ; @zone_timeout
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _UMA_ZFLAG_CACHE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _UMA_ZFLAG_CACHE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_7
; %bb.1:
	ldr	x20, [x19, #16]
	mov	x0, x20
	bl	_KEG_LOCK
	ldr	w8, [x20]
Lloh3:
	adrp	x9, _UMA_ZONE_HASH@GOTPAGE
Lloh4:
	ldr	x9, [x9, _UMA_ZONE_HASH@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.2:
	mov	x21, x20
	ldr	w8, [x21, #12]!
	ldp	w9, w10, [x21, #-8]
	sdiv	w22, w9, w10
	cmp	w22, w8
	b.le	LBB0_6
; %bb.3:
	mov	x0, x20
	bl	_KEG_UNLOCK
	mov	x0, x22
	bl	_fls
	mov	w8, #1
	lsl	w1, w8, w0
	add	x0, sp, #8
	bl	_hash_alloc
	mov	x22, x0
	mov	x0, x20
	bl	_KEG_LOCK
	cbz	w22, LBB0_6
; %bb.4:
	add	x1, sp, #8
	mov	x0, x21
	bl	_hash_expand
	cbz	x0, LBB0_12
; %bb.5:
	ldr	w8, [x21]
	ldr	w9, [sp, #8]
	str	w9, [x21]
	b	LBB0_13
LBB0_6:
	mov	x0, x20
	bl	_KEG_UNLOCK
LBB0_7:
	mov	x0, x19
	bl	_ZONE_LOCK
Lloh6:
	adrp	x20, _vm_ndomains@GOTPAGE
Lloh7:
	ldr	x20, [x20, _vm_ndomains@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.8:
	mov	x21, #0
	mov	x22, #0
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x0, x8, x21
	bl	_zone_domain_update_wss
	add	x22, x22, #1
	ldrsw	x8, [x20]
	add	x21, x21, #4
	cmp	x22, x8
	b.lt	LBB0_9
LBB0_10:
	mov	x0, x19
	bl	_ZONE_UNLOCK
LBB0_11:
	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
	add	sp, sp, #64
	ret
LBB0_12:
	ldr	w8, [sp, #8]
LBB0_13:
	str	w8, [sp]
	mov	x0, x20
	bl	_KEG_UNLOCK
	mov	x0, sp
	bl	_hash_free
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_UMA_ZFLAG_CACHE,4,2            ; @UMA_ZFLAG_CACHE
	.comm	_UMA_ZONE_HASH,4,2              ; @UMA_ZONE_HASH
	.comm	_vm_ndomains,4,2                ; @vm_ndomains
	.no_dead_strip	_zone_timeout
.subsections_via_symbols
