	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bms_singleton_member           ## -- Begin function bms_singleton_member
	.p2align	4, 0x90
_bms_singleton_member:                  ## @bms_singleton_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
	movq	%rdi, %r13
	testq	%rdi, %rdi
	jne	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
LBB0_2:
	movl	(%r13), %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	$-1, %r12d
	testl	%eax, %eax
	jle	LBB0_11
## %bb.3:
	xorl	%r14d, %r14d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_elog
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_BITS_PER_BITMAPWORD@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	imull	%r14d, %r15d
	movq	%rbx, %rdi
	callq	_bmw_rightmost_one_pos
	movq	%rax, %r12
	addl	%r15d, %r12d
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%r14
	cmpq	%r14, -48(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_10
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	movq	(%rax,%r14,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	testl	%r12d, %r12d
	jns	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_HAS_MULTIPLE_ONES
	testq	%rax, %rax
	jne	LBB0_7
	jmp	LBB0_8
LBB0_10:
	testl	%r12d, %r12d
	jns	LBB0_12
LBB0_11:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
LBB0_12:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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	"bitmapset is empty"

L_.str.1:                               ## @.str.1
	.asciz	"bitmapset has multiple members"

	.comm	_BITS_PER_BITMAPWORD,4,2        ## @BITS_PER_BITMAPWORD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bms_singleton_member           ; -- Begin function bms_singleton_member
	.p2align	2
_bms_singleton_member:                  ; @bms_singleton_member
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x23, _ERROR@GOTPAGE
Lloh1:
	ldr	x23, [x23, _ERROR@GOTPAGEOFF]
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x23]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_2:
	ldr	w24, [x19]
	cmp	w24, #1
	b.lt	LBB0_11
; %bb.3:
	mov	x25, #0
	mov	w20, #-1
Lloh4:
	adrp	x26, _BITS_PER_BITMAPWORD@GOTPAGE
Lloh5:
	ldr	x26, [x26, _BITS_PER_BITMAPWORD@GOTPAGEOFF]
Lloh6:
	adrp	x21, l_.str.1@PAGE
Lloh7:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x23]
	mov	x1, x21
	bl	_elog
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w20, [x26]
	mov	x0, x22
	bl	_bmw_rightmost_one_pos
	madd	w20, w20, w25, w0
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x25, x25, #1
	cmp	x24, x25
	b.eq	LBB0_10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x22, [x8, x25, lsl #3]
	cbz	x22, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	tbz	w20, #31, LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x22
	bl	_HAS_MULTIPLE_ONES
	cbnz	x0, LBB0_4
	b	LBB0_5
LBB0_10:
	tbz	w20, #31, LBB0_13
	b	LBB0_12
LBB0_11:
	mov	w20, #-1
LBB0_12:
	ldr	w0, [x23]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_13:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bitmapset is empty"

l_.str.1:                               ; @.str.1
	.asciz	"bitmapset has multiple members"

	.comm	_BITS_PER_BITMAPWORD,4,2        ; @BITS_PER_BITMAPWORD
.subsections_via_symbols
