	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intset_add_member              ## -- Begin function intset_add_member
	.p2align	4, 0x90
_intset_add_member:                     ## @intset_add_member
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	cmpq	$0, 32(%rdi)
	je	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
LBB0_2:
	cmpq	%r14, (%rbx)
	jl	LBB0_5
## %bb.3:
	cmpq	$0, 8(%rbx)
	jle	LBB0_5
## %bb.4:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_elog
LBB0_5:
	movq	16(%rbx), %rax
	movq	_MAX_BUFFERED_VALUES@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jl	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	callq	_intset_flush_buffered_values
	movq	16(%rbx), %rax
	xorl	%edi, %edi
	cmpq	(%r15), %rax
	setl	%dil
	callq	_Assert
	movq	16(%rbx), %rax
LBB0_7:
	movq	24(%rbx), %rcx
	movq	%r14, (%rcx,%rax,8)
	movdqu	8(%rbx), %xmm0
	pcmpeqd	%xmm1, %xmm1
	psubq	%xmm1, %xmm0
	movdqu	%xmm0, 8(%rbx)
	movq	%r14, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot add new values to integer set while iteration is in progress"

L_.str.1:                               ## @.str.1
	.asciz	"cannot add value to integer set out of order"

	.comm	_MAX_BUFFERED_VALUES,8,3        ## @MAX_BUFFERED_VALUES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intset_add_member              ; -- Begin function intset_add_member
	.p2align	2
_intset_add_member:                     ; @intset_add_member
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x1
	mov	x20, x0
	ldr	x8, [x0, #32]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_2:
	ldr	x8, [x20]
	cmp	x8, x19
	b.lt	LBB0_5
; %bb.3:
	ldr	x8, [x20, #8]
	cmp	x8, #1
	b.lt	LBB0_5
; %bb.4:
Lloh5:
	adrp	x8, _ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_elog
LBB0_5:
	ldr	x8, [x20, #16]
Lloh10:
	adrp	x21, _MAX_BUFFERED_VALUES@GOTPAGE
Lloh11:
	ldr	x21, [x21, _MAX_BUFFERED_VALUES@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	b.lt	LBB0_7
; %bb.6:
	mov	x0, x20
	bl	_intset_flush_buffered_values
	ldr	x8, [x20, #16]
	ldr	x9, [x21]
	cmp	x8, x9
	cset	w0, lt
	bl	_Assert
	ldr	x8, [x20, #16]
LBB0_7:
	ldr	x9, [x20, #24]
	str	x19, [x9, x8, lsl #3]
	ldur	q0, [x20, #8]
	mov	w8, #1
	dup.2d	v1, x8
	add.2d	v0, v0, v1
	stur	q0, [x20, #8]
	str	x19, [x20]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot add new values to integer set while iteration is in progress"

l_.str.1:                               ; @.str.1
	.asciz	"cannot add value to integer set out of order"

	.comm	_MAX_BUFFERED_VALUES,8,3        ; @MAX_BUFFERED_VALUES
.subsections_via_symbols
