	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_remove
_set_remove:                            ## @set_remove
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_get_value_handle
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_value_remove_from_set_bitmap
	decl	16(%r14)
	movq	8(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.1:
	cmpq	%rbx, (%rsi)
	jne	LBB0_7
## %bb.2:
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_7:
	movq	%rsi, %rcx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rcx), %rsi
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%rcx, %rax
	movq	%rsi, %rcx
	cmpq	%rbx, (%rsi)
	jne	LBB0_8
LBB0_4:
	leaq	8(%r14), %rcx
	leaq	8(%rax), %rdx
	testq	%rax, %rax
	cmoveq	%rcx, %rdx
	movq	8(%rsi), %rcx
	movq	%rcx, (%rdx)
	cmpq	(%r14), %rsi
	jne	LBB0_6
## %bb.5:
	movq	%rax, (%r14)
LBB0_6:
	movq	_value_set_node_pool@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pool_free                      ## TAILCALL
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_value_set_node_pool,4,2        ## @value_set_node_pool
	.no_dead_strip	_set_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_remove
_set_remove:                            ; @set_remove
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_get_value_handle
	mov	x1, x0
	mov	x0, x19
	bl	_value_remove_from_set_bitmap
	mov	x8, x19
	ldr	x1, [x8, #8]!
	ldr	w9, [x8, #8]
	sub	w9, w9, #1
	str	w9, [x8, #8]
	cbz	x1, LBB0_9
; %bb.1:
	ldr	x9, [x1]
	cmp	x9, x20
	b.ne	LBB0_3
; %bb.2:
	mov	x9, #0
	b	LBB0_6
LBB0_3:
	mov	x10, x1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x10, #8]
	cbz	x1, LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x11, [x1]
	mov	x9, x10
	mov	x10, x1
	cmp	x11, x20
	b.ne	LBB0_4
LBB0_6:
	ldr	x10, [x1, #8]
	add	x11, x9, #8
	cmp	x9, #0
	csel	x8, x8, x11, eq
	str	x10, [x8]
	ldr	x8, [x19]
	cmp	x1, x8
	b.ne	LBB0_8
; %bb.7:
	str	x9, [x19]
LBB0_8:
Lloh0:
	adrp	x8, _value_set_node_pool@GOTPAGE
Lloh1:
	ldr	x8, [x8, _value_set_node_pool@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pool_free
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_value_set_node_pool,4,2        ; @value_set_node_pool
	.no_dead_strip	_set_remove
.subsections_via_symbols
