	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arena_maybe_decay
_arena_maybe_decay:                     ## @arena_maybe_decay
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r15d
	movq	%rcx, %rbx
	movq	%rdx, %r14
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	leaq	4(%rdx), %rsi
	callq	_malloc_mutex_assert_owner
	movq	%r14, %rdi
	callq	_arena_decay_ms_read
	testq	%rax, %rax
	jle	LBB0_1
## %bb.3:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	leaq	-44(%rbp), %r12
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_nstime_init
	movq	%r12, %rdi
	callq	_nstime_update
	xorl	%eax, %eax
	callq	_nstime_monotonic
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	leaq	-44(%rbp), %rsi
	movq	%r14, %rdi
	callq	_nstime_compare
	xorl	%ebx, %ebx
	testq	%rax, %rax
	setg	%bl
LBB0_5:
	movl	%ebx, %edi
	callq	_unlikely
	leaq	-44(%rbp), %rsi
	movq	%r14, %rdi
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	callq	_nstime_copy
	movq	%r14, %rdi
	callq	_arena_decay_deadline_init
	jmp	LBB0_8
LBB0_1:
	xorl	%r12d, %r12d
	testq	%rax, %rax
	jne	LBB0_13
## %bb.2:
	movq	%rbx, %rdi
	callq	_eset_npages_get
                                        ## kill: def $eax killed $eax def $rax
	xorl	%r12d, %r12d
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	movq	%rbx, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%r15
	pushq	%rax
	callq	_arena_decay_to_limit
	jmp	LBB0_12
LBB0_7:
	callq	_nstime_compare
	xorl	%edi, %edi
	testq	%rax, %rax
	setle	%dil
	callq	_assert
LBB0_8:
	leaq	-44(%rbp), %rsi
	movq	%r14, %rdi
	callq	_arena_decay_deadline_reached
	movl	%eax, %r12d
	testl	%eax, %eax
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_10
## %bb.9:
	leaq	-44(%rbp), %r8
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	movq	%rbx, %rcx
	movl	%r15d, %r9d
	callq	_arena_decay_epoch_advance
	jmp	LBB0_13
LBB0_10:
	testl	%r15d, %r15d
	je	LBB0_13
## %bb.11:
	movq	%rbx, %rdi
	callq	_eset_npages_get
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_arena_decay_backlog_npages_limit
	subq	$8, %rsp
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	movq	%rbx, %rcx
	movl	%r15d, %r8d
	movl	%eax, %r9d
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	callq	_arena_decay_try_purge
LBB0_12:
	addq	$16, %rsp
LBB0_13:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_arena_maybe_decay
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arena_maybe_decay
_arena_maybe_decay:                     ; @arena_maybe_decay
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	add	x1, x2, #4
	bl	_malloc_mutex_assert_owner
	mov	x0, x21
	bl	_arena_decay_ms_read
	cmp	x0, #0
	b.le	LBB0_5
; %bb.1:
	add	x0, sp, #12
	mov	w1, #0
	bl	_nstime_init
	add	x0, sp, #12
	bl	_nstime_update
	bl	_nstime_monotonic
	mov	x8, x0
	mov	w0, #0
	cbnz	w8, LBB0_3
; %bb.2:
	add	x1, sp, #12
	mov	x0, x21
	bl	_nstime_compare
	cmp	x0, #0
	cset	w0, gt
LBB0_3:
	bl	_unlikely
	add	x1, sp, #12
	cbz	x0, LBB0_8
; %bb.4:
	mov	x0, x21
	bl	_nstime_copy
	mov	x0, x21
	bl	_arena_decay_deadline_init
	b	LBB0_9
LBB0_5:
	cbnz	x0, LBB0_7
; %bb.6:
	mov	x0, x20
	bl	_eset_npages_get
	mov	x6, x0
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	w4, #0
	mov	w5, #0
	mov	x7, x19
	bl	_arena_decay_to_limit
LBB0_7:
	mov	w24, #0
	b	LBB0_13
LBB0_8:
	mov	x0, x21
	bl	_nstime_compare
	cmp	x0, #1
	cset	w0, lt
	bl	_assert
LBB0_9:
	add	x1, sp, #12
	mov	x0, x21
	bl	_arena_decay_deadline_reached
	mov	x24, x0
	cbz	w0, LBB0_11
; %bb.10:
	add	x4, sp, #12
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x5, x19
	bl	_arena_decay_epoch_advance
	b	LBB0_13
LBB0_11:
	cbz	w19, LBB0_13
; %bb.12:
	mov	x0, x20
	bl	_eset_npages_get
	mov	x25, x0
	mov	x0, x21
	bl	_arena_decay_backlog_npages_limit
	mov	x5, x0
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x25
	mov	x6, x19
	bl	_arena_decay_try_purge
LBB0_13:
	mov	x0, x24
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_arena_maybe_decay
.subsections_via_symbols
