	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bms_add_member                 ## -- Begin function bms_add_member
	.p2align	4, 0x90
_bms_add_member:                        ## @bms_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	%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
	movl	%esi, %r15d
	movq	%rdi, %r13
	testl	%esi, %esi
	js	LBB0_1
## %bb.2:
	testq	%r13, %r13
	je	LBB0_7
LBB0_3:
	movl	%r15d, %edi
	callq	_WORDNUM
	movl	%eax, %r14d
	movl	%r15d, %edi
	callq	_BITNUM
	movl	%eax, %r15d
	movslq	(%r13), %rbx
	cmpl	%ebx, %r14d
	jl	LBB0_6
## %bb.4:
	leal	1(%r14), %r12d
	movl	%r12d, %edi
	callq	_BITMAPSET_SIZE
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_repalloc
	movq	%rax, %r13
	movl	%r12d, (%rax)
	movq	8(%rax), %rax
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	$0, (%rax,%rbx,4)
	incq	%rbx
	movslq	(%r13), %rcx
	cmpq	%rcx, %rbx
	jl	LBB0_5
LBB0_6:
	movl	$1, %eax
	movl	%r15d, %ecx
	shll	%cl, %eax
	movq	8(%r13), %rcx
	movslq	%r14d, %rdx
	orl	%eax, (%rcx,%rdx,4)
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
	testq	%r13, %r13
	jne	LBB0_3
LBB0_7:
	movl	%r15d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bms_make_singleton             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"negative bitmapset member not allowed"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bms_add_member                 ; -- Begin function bms_add_member
	.p2align	2
_bms_add_member:                        ; @bms_add_member
	.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	x21, x1
	mov	x19, x0
	tbnz	w1, #31, LBB0_6
; %bb.1:
	cbz	x19, LBB0_7
LBB0_2:
	mov	x0, x21
	bl	_WORDNUM
	mov	x20, x0
	mov	x0, x21
	bl	_BITNUM
	mov	x21, x0
	ldrsw	x23, [x19]
	cmp	w20, w23
	b.lt	LBB0_5
; %bb.3:
	add	w22, w20, #1
	mov	x0, x22
	bl	_BITMAPSET_SIZE
	mov	x1, x0
	mov	x0, x19
	bl	_repalloc
	mov	x19, x0
	str	w22, [x0]
	ldr	x8, [x0, #8]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	str	wzr, [x8, x23, lsl #2]
	add	x23, x23, #1
	ldrsw	x9, [x19]
	cmp	x23, x9
	b.lt	LBB0_4
LBB0_5:
	mov	w8, #1
	lsl	w8, w8, w21
	ldr	x9, [x19, #8]
	sbfiz	x10, x20, #2, #32
	ldr	w11, [x9, x10]
	orr	w8, w11, w8
	str	w8, [x9, x10]
	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
	ret
LBB0_6:
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
	cbnz	x19, LBB0_2
LBB0_7:
	mov	x0, x21
	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	_bms_make_singleton
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"negative bitmapset member not allowed"

.subsections_via_symbols
