	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eset_remove_locked             ## -- Begin function eset_remove_locked
	.p2align	4, 0x90
_eset_remove_locked:                    ## @eset_remove_locked
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r13
	addq	$32, %rsi
	callq	_malloc_mutex_assert_owner
	movq	%r15, %rdi
	callq	_extent_state_get
	xorl	%edi, %edi
	cmpq	(%r13), %rax
	sete	%dil
	callq	_assert
	movq	%r15, %rdi
	callq	_extent_size_get
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_sz_psz_quantize_floor
	movq	%rax, %rdi
	callq	_sz_psz2ind
	movq	%rax, %r12
	movq	%rax, %rbx
	shlq	$2, %rbx
	movq	24(%r13), %rdi
	addq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_extent_heap_remove
	movq	_config_stats@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_eset_stats_sub
LBB0_2:
	addq	24(%r13), %rbx
	movq	%rbx, %rdi
	callq	_extent_heap_empty
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	16(%r13), %edi
	movq	_eset_bitmap_info@GOTPCREL(%rip), %rsi
	movq	%r12, %rdx
	callq	_bitmap_set
LBB0_4:
	leaq	12(%r13), %rdi
	movq	%r15, %rsi
	callq	_extent_list_remove
	movq	_LG_PAGE@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movq	%r14, %r12
	shrq	%cl, %r12
	addq	$8, %r13
	movq	_ATOMIC_RELAXED@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r13, %rdi
	callq	_atomic_load_zu
	movq	%rax, %rbx
	xorl	%edi, %edi
	cmpq	%r12, %rax
	setae	%dil
	callq	_assert
	movq	_LG_PAGE@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shrq	%cl, %r14
	subq	%r14, %rbx
	movl	(%r15), %edx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_atomic_store_zu                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_config_stats,8,3               ## @config_stats
	.comm	_eset_bitmap_info,4,2           ## @eset_bitmap_info
	.comm	_LG_PAGE,8,3                    ## @LG_PAGE
	.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	_eset_remove_locked             ; -- Begin function eset_remove_locked
	.p2align	2
_eset_remove_locked:                    ; @eset_remove_locked
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x19, x1
	add	x1, x1, #32
	bl	_malloc_mutex_assert_owner
	mov	x0, x20
	bl	_extent_state_get
	ldr	x8, [x19]
	cmp	x0, x8
	cset	w0, eq
	bl	_assert
	mov	x0, x20
	bl	_extent_size_get
	mov	x21, x0
	bl	_sz_psz_quantize_floor
	bl	_sz_psz2ind
	mov	x22, x0
	ldr	x8, [x19, #24]
	add	x0, x8, x0, lsl #2
	mov	x1, x20
	bl	_extent_heap_remove
Lloh0:
	adrp	x8, _config_stats@GOTPAGE
Lloh1:
	ldr	x8, [x8, _config_stats@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_eset_stats_sub
LBB0_2:
	ldr	x8, [x19, #24]
	add	x0, x8, x22, lsl #2
	bl	_extent_heap_empty
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w0, [x19, #16]
Lloh3:
	adrp	x1, _eset_bitmap_info@GOTPAGE
Lloh4:
	ldr	x1, [x1, _eset_bitmap_info@GOTPAGEOFF]
	mov	x2, x22
	bl	_bitmap_set
LBB0_4:
	add	x0, x19, #12
	mov	x1, x20
	bl	_extent_list_remove
Lloh5:
	adrp	x22, _LG_PAGE@GOTPAGE
Lloh6:
	ldr	x22, [x22, _LG_PAGE@GOTPAGEOFF]
	ldr	x8, [x22]
	lsr	x23, x21, x8
	add	x19, x19, #8
Lloh7:
	adrp	x24, _ATOMIC_RELAXED@GOTPAGE
Lloh8:
	ldr	x24, [x24, _ATOMIC_RELAXED@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x19
	bl	_atomic_load_zu
	mov	x20, x0
	cmp	x0, x23
	cset	w0, hs
	bl	_assert
	ldr	x8, [x22]
	lsr	x8, x21, x8
	sub	x1, x20, x8
	ldr	w2, [x24]
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_atomic_store_zu
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_config_stats,8,3               ; @config_stats
	.comm	_eset_bitmap_info,4,2           ; @eset_bitmap_info
	.comm	_LG_PAGE,8,3                    ; @LG_PAGE
	.comm	_ATOMIC_RELAXED,4,2             ; @ATOMIC_RELAXED
.subsections_via_symbols
