	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_extents_evict                  ## -- Begin function extents_evict
	.p2align	4, 0x90
_extents_evict:                         ## @extents_evict
	.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
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	leaq	-76(%rbp), %rsi
	callq	_tsdn_rtree_ctx
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_malloc_mutex_lock
	leaq	12(%r15), %r12
	leaq	8(%r15), %r13
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_extent_list_first
	testq	%rax, %rax
	je	LBB0_11
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %rbx
	movq	_ATOMIC_RELAXED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_atomic_load_zu
	cmpq	-72(%rbp), %rax                 ## 8-byte Folded Reload
	jbe	LBB0_11
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_eset_remove_locked
	cmpl	$0, 4(%r15)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%r15, %r8
	movq	%rbx, %r9
	callq	_extent_try_delayed_coalesce
	testq	%rax, %rax
	je	LBB0_1
LBB0_5:
	movq	%r15, %rdi
	callq	_eset_state_get
                                        ## kill: def $eax killed $eax def $rax
	leal	-129(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_9
## %bb.6:
	cmpl	$128, %eax
	je	LBB0_12
## %bb.7:
	cmpl	$131, %eax
	jne	LBB0_13
## %bb.8:
	xorl	%eax, %eax
	callq	_not_reached
LBB0_9:
	movq	%rbx, %rdi
	movl	$131, %esi
	callq	_extent_state_set
	jmp	LBB0_14
LBB0_11:
	xorl	%ebx, %ebx
LBB0_14:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_malloc_mutex_unlock
	movq	%rbx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_extent_deregister
	jmp	LBB0_14
LBB0_13:
	xorl	%eax, %eax
	callq	_not_reached
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_ATOMIC_RELAXED,4,2             ## @ATOMIC_RELAXED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_extents_evict                  ; -- Begin function extents_evict
	.p2align	2
_extents_evict:                         ; @extents_evict
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x4
	mov	x19, x3
	mov	x23, x2
	mov	x24, x1
	mov	x20, x0
	add	x1, sp, #12
	bl	_tsdn_rtree_ctx
	mov	x25, x0
	mov	x0, x20
	mov	x1, x19
	bl	_malloc_mutex_lock
	add	x26, x19, #12
	add	x27, x19, #8
Lloh0:
	adrp	x28, _ATOMIC_RELAXED@GOTPAGE
Lloh1:
	ldr	x28, [x28, _ATOMIC_RELAXED@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x26
	bl	_extent_list_first
	mov	x21, x0
	cbz	x0, LBB0_13
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w1, [x28]
	mov	x0, x27
	bl	_atomic_load_zu
	cmp	x0, x22
	b.ls	LBB0_10
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_eset_remove_locked
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x20
	mov	x1, x24
	mov	x2, x23
	mov	x3, x25
	mov	x4, x19
	mov	x5, x21
	bl	_extent_try_delayed_coalesce
	cbz	x0, LBB0_1
LBB0_5:
	mov	x0, x19
	bl	_eset_state_get
	sub	w8, w0, #129
	cmp	w8, #2
	b.lo	LBB0_9
; %bb.6:
	cmp	w0, #128
	b.eq	LBB0_11
; %bb.7:
	cmp	w0, #131
	b.ne	LBB0_12
; %bb.8:
	bl	_not_reached
LBB0_9:
	mov	x0, x21
	mov	w1, #131
	bl	_extent_state_set
	b	LBB0_13
LBB0_10:
	mov	x21, #0
	b	LBB0_13
LBB0_11:
	mov	x0, x20
	mov	x1, x21
	bl	_extent_deregister
	b	LBB0_13
LBB0_12:
	bl	_not_reached
LBB0_13:
	mov	x0, x20
	mov	x1, x19
	bl	_malloc_mutex_unlock
	mov	x0, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ATOMIC_RELAXED,4,2             ; @ATOMIC_RELAXED
.subsections_via_symbols
